PageSourceSearch

https://dariedu.ru/main.437354dadedae75a.js

js dariedu.ru collected 2026-10-04 00:00:13 UTC 292,400 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdariedu_2_front=self.webpackChunkdariedu_2_front||[]).push([[179],{9771:(U,y,i)=>{i.d(y,{KM:()=>Et,Ky:()=>ht,m0:()=>Ft});var p,e=i(7582),n=i(6814),t=i(5879),d=i(6607),r=i(2355),l=i(2080),_=i(87),u=i(4708),f=i(1791),m=i(5619),E=i(2572),L=i(6232),w=i(7715),k=i(1687),O=i(812),K=i(7398),M=i(4664),S=i(940),F=i(8180),Y=i(9397),rt=i(6306),z=i(3681),ot=i(222),v=i(7418),W=i(7700),j=i(6543),$=i(1088),nt=i(6724),it=i(8196),st=i(1792),gt=i(6834),Pt=i(7996),xt=i(9469),vt=i(512),bt=i(6154),yt=i(5986),X=i(1736),G=i(3478),J=i(902);const P=["methodEl"],o=function(Q){return{"is-active":Q}};function a(Q,N){if(1&Q){const c=t.EpF();t.TgZ(0,"button",66),t.NdJ("click",function(){const Z=t.CHM(c).ngIf,H=t.oxw();return t.KtG(H.changeMethod(Z))}),t.ALo(1,"async"),t.TgZ(2,"picture",47),t._UZ(3,"source",67)(4,"img",68),t.qZA()()}if(2&Q){const c=t.oxw();let D;t.Q6J("ngClass",t.VKq(3,o,"card"===(null==(D=t.lcZ(1,1,c.currentMethod))?null:D.methodId)))}}function s(Q,N){1&Q&&(t.TgZ(0,"button",69),t.O4$(),t.TgZ(1,"svg",70),t._UZ(2,"use",71),t.qZA()())}function h(Q,N){if(1&Q){const c=t.EpF();t.TgZ(0,"button",72),t.NdJ("click",function(){const Z=t.CHM(c).ngIf,H=t.oxw();return t.KtG(H.changeMethod(Z))}),t.ALo(1,"async"),t.O4$(),t.TgZ(2,"svg",73),t._UZ(3,"use",74),t.qZA()()}if(2&Q){const c=t.oxw();let D;t.Q6J("ngClass",t.VKq(3,o,"yoo_money"===(null==(D=t.lcZ(1,1,c.currentMethod))?null:D.methodId)))}}function C(Q,N){if(1&Q){const c=t.EpF();t.TgZ(0,"button",75),t.NdJ("click",function(){const Z=t.CHM(c).ngIf,H=t.oxw();return t.KtG(H.changeMethod(Z))}),t.ALo(1,"async"),t.TgZ(2,"picture",47),t._UZ(3,"source",76)(4,"img",77),t.qZA()()}if(2&Q){const c=t.oxw();let D;t.Q6J("ngClass",t.VKq(3,o,"sberpay"===(null==(D=t.lcZ(1,1,c.currentMethod))?null:D.methodId)))}}function b(Q,N){if(1&Q){const c=t.EpF();t.TgZ(0,"button",78),t.NdJ("click",function(){const Z=t.CHM(c).ngIf,H=t.oxw();return t.KtG(H.changeMethod(Z))}),t.ALo(1,"async"),t.ALo(2,"async"),t.TgZ(3,"picture",47),t._UZ(4,"img",79),t.qZA()()}if(2&Q){const c=t.oxw();let D;t.Q6J("ngClass",t.VKq(5,o,"sbp"===(null==(D=t.lcZ(1,1,c.currentMethod))?null:D.methodId)&&"cloudpayments"===(null==(D=t.lcZ(2,3,c.currentMethod))?null:D.providerId)))}}function B(Q,N){if(1&Q){const c=t.EpF();t.TgZ(0,"button",80),t.NdJ("click",function(){const Z=t.CHM(c).ngIf,H=t.oxw();return t.KtG(H.changeMethod(Z))}),t.ALo(1,"async"),t.TgZ(2,"picture",47),t._UZ(3,"img",81),t.qZA()()}if(2&Q){const c=t.oxw();let D;t.Q6J("ngClass",t.VKq(3,o,"dolyame"===(null==(D=t.lcZ(1,1,c.currentMethod))?null:D.providerId)))}}function I(Q,N){1&Q&&(t.ynx(0),t._uU(1,"\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c"),t.BQk())}function R(Q,N){if(1&Q&&(t.TgZ(0,"ui-custom-input",82),t.ynx(1,30),t._uU(2,"\u041d\u043e\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u044b"),t.BQk(),t.ynx(3,83),t.ALo(4,"firstKey"),t.YNc(5,I,2,0,"ng-container",84),t.BQk(),t.qZA()),2&Q){const c=N.ngIf;t.ekj("is-invalid",c.touched&&!c.valid),t.xp6(3),t.Q6J("uiErrors",t.lcZ(4,4,c.errors)),t.xp6(2),t.Q6J("uiError","required")}}function et(Q,N){1&Q&&(t.ynx(0),t._uU(1,"\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c"),t.BQk())}function ut(Q,N){if(1&Q&&(t.TgZ(0,"ui-custom-input",85),t.ynx(1,30),t._uU(2,"\u0418\u043c\u044f \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430"),t.BQk(),t.ynx(3,83),t.ALo(4,"firstKey"),t.YNc(5,et,2,0,"ng-container",84),t.BQk(),t.qZA()),2&Q){const c=N.ngIf;t.ekj("is-invalid",c.touched&&!c.valid),t.xp6(3),t.Q6J("uiErrors",t.lcZ(4,4,c.errors)),t.xp6(2),t.Q6J("uiError","required")}}function pt(Q,N){1&Q&&(t.ynx(0),t._uU(1,"\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c"),t.BQk())}function At(Q,N){if(1&Q&&(t.TgZ(0,"ui-custom-input",86),t.ynx(1,30),t._uU(2,"\u0421\u0440\u043e\u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f"),t.BQk(),t.ynx(3,83),t.ALo(4,"firstKey"),t.YNc(5,pt,2,0,"ng-container",84),t.BQk(),t.qZA()),2&Q){const c=N.ngIf;t.ekj("is-invalid",c.touched&&!c.valid),t.Q6J("dropSpecialCharacters",!1),t.xp6(3),t.Q6J("uiErrors",t.lcZ(4,5,c.errors)),t.xp6(2),t.Q6J("uiError","required")}}function at(Q,N){1&Q&&(t.ynx(0),t._uU(1,"\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c"),t.BQk())}
1function Tt(Q,N){if(1&Q&&(t.TgZ(0,"ui-custom-input",87),t.ynx(1,30),t._uU(2,"CVV-\u043a\u043e\u0434"),t.BQk(),t.ynx(3,83),t.ALo(4,"firstKey"),t.YNc(5,at,2,0,"ng-container",84),t.BQk(),t.qZA()),2&Q){const c=N.ngIf;t.ekj("is-invalid",c.touched&&!c.valid),t.xp6(3),t.Q6J("uiErrors",t.lcZ(4,4,c.errors)),t.xp6(2),t.Q6J("uiError","required")}}function Dt(Q,N){1&Q&&(t.TgZ(0,"p",39),t._uU(1,"\u041d\u0430\xa0\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0448\u0430\u0433\u0435 \u0432\u044b\xa0\u0431\u0443\u0434\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u043d\u0430\xa0\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0421\u0411\u041f. \u041e\u0442\u0441\u043a\u0430\u043d\u0438\u0440\u0443\u0439\u0442\u0435 QR-\u043a\u043e\u0434 \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043f\u043b\u0430\u0442\u0435\u0436."),t.qZA())}function tt(Q,N){1&Q&&(t.TgZ(0,"p",39),t._uU(1,"\u0427\u0442\u043e\u0431\u044b \u043e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443, \u043e\u0434\u043e\u0431\u0440\u0438\u0442\u0435 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0443 \u0441\u0447\u0435\u0442\u0430 \u0432\xa0\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0431\u0430\u043d\u043a\u0430 \u043f\u043e\u0441\u043b\u0435 \u043e\u043f\u043b\u0430\u0442\u044b."),t.qZA())}function Zt(Q,N){1&Q&&(t.TgZ(0,"p",44),t._uU(1," \u0412\u044b \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u0435\u0442\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443 \u043d\u0430 \u0435\u0436\u0435\u043c\u0435\u0441\u044f\u0447\u043d\u043e\u0435 \u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0432\u0430\u043c\u0438 \u0441\u0443\u043c\u043c\u044b. \u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u0432 \u043b\u0438\u0447\u043d\u043e\u043c \u043a\u0430\u0431\u0438\u043d\u0435\u0442\u0435 \u0438\u043b\u0438 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u043e\u0447\u0442\u0443 "),t.TgZ(2,"a",88),t._uU(3,"[email protected]"),t.qZA()())}function Mt(Q,N){1&Q&&(t.TgZ(0,"div",95),t._uU(1,"\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u043be"),t.qZA())}function Bt(Q,N){if(1&Q&&(t.TgZ(0,"mat-checkbox",89),t._uU(1," \u0421\u043e\u0432\u0435\u0440\u0448\u0430\u044f \u043f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435, "),t._UZ(2,"br",90),t._uU(3,"\u044f \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e \u0443\u0441\u043b\u043e\u0432\u0438\u044f "),t.TgZ(4,"a",91),t._uU(5,"\u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0430-\u043e\u0444\u0435\u0440\u0442\u044b"),t.qZA(),t._uU(6," \u0438 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044e "),t.TgZ(7,"a",92),t._uU(8," \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u043d\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445"),t.qZA(),t._uU(9," \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 "),t.TgZ(10,"a",93),t._uU(11,"\u041f\u043e\u043b\u0438\u0442\u0438\u043a\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445"),t.qZA(),t._uU(12,".* "),t.YNc(13,Mt,2,0,"div",94),t.qZA()),2&Q){const c=N.ngIf;t.ekj("is-invalid",c.touched&&!c.valid),t.xp6(13),t.Q6J("ngIf",c.touched&&!c.valid)}}var ht=(()=>((ht=ht||{}).CARTLESS="cartless",ht.CART="cart",ht.MIXED="mixed",ht))();class Et{constructor(N){this.email=N.email||"",this.type=N.type||_.St.TypeEnum.Subscription,this.price=N.price??0,this.source=N.source,this.donationType=N.donationType}}let Ft=((p=class{constructor(N,c,D,x,Z,H,q,ft,Lt,Ot,Ct,kt){this.layout=N,this.billingApi=c,this.orderAPI=D,this.cartApi=x,this.cart=Z,this.route=H,this.router=q,this.dialog=ft,this.storage=Lt,this.breakpointObserver=Ot,this.platform=Ct,this.document=kt,this.isDesktop=!0,this._formHeight=new m.X(0),this.formHeight=this._formHeight.asObservable(),this.errorPopupMessage=new m.X(""),this.isLoading=new m.X(!1),this.billingMethods=this.route.queryParamMap.pipe((0,K.U)(lt=>lt.get("source")),(0,M.w)(lt=>this.billingApi.getPaymentMethodsList(void 0,lt??void 0).pipe((0,K.U)(mt=>mt.items))),(0,S.d)(1)),this._currentMethod=new m.X(null),this.currentMethod=this._currentMethod.asObservable(),this.donationType=this.route.queryParamMap.pipe((0,K.U)(lt=>lt.has("donationType")?lt.get("donationType"):ht.CARTLESS)),this.price=this.route.queryParamMap.pipe((0,K.U)(lt=>lt.has("price")?Number(lt.get("price")):0)),this.totalAmount=(0,E.a)([this.price,this.cart.totalPrice,this.donationType]).pipe((0,K.U)(([lt,mt,It])=>It===ht.CARTLESS?lt:It===ht.CART?mt:lt+mt)),this.type=this.route.queryParamMap.pipe((0,K.U)(lt=>lt.has("type")?lt.get("type"):"onetime")),this.hasCards=this.billingMethods.pipe((0,K.U)(lt=>lt?.find(mt=>"cloudpayments"===mt.providerId&&"card"===mt.methodId))),this.hasYandexPay=this.billingMethods.pipe((0,K.U)(lt=>!1)),this.hasSberPay=this.billingMethods.pipe((0,K.U)(lt=>lt?.find(mt=>"sber"===mt.providerId&&"sberpay"===mt.methodId))),this.hasYandexMoney=this.billingMethods.pipe((0,K.U)(lt=>lt?.find(mt=>"yandex_kassa"===mt.providerId&&"yoo_money"===mt.methodId))),this.hasSBP=this.billingMethods.pipe((0,K.U)(lt=>lt?.find(mt=>"sbp"===mt.methodId))),this.hasDolyame=this.billingMethods.pipe((0,K.U)(lt=>lt?.find(mt=>"dolyame"===mt.providerId))),this.paymentForm=new d.cw({cardNumber:new r.t("",[d.kI.required]),ownerName:new r.t("",[d.kI.required]),expirationDate:new r.t("",[d.kI.required]),cvvCode:new r.t("",[d.kI.required]),isPolicyAccepted:new r.t(!1,[d.kI.requiredTrue])})}changeMethod(N){this._currentMethod?.next(N)}setNewCart(){this.cartApi.getCart().pipe((0,F.q)(1),(0,f.t)(this),(0,M.w)(N=>this.storage.setItem("cartId",N.id).pipe((0,Y.b)(()=>this.cart.update({cart:N}))))).subscribe()}notifyPaymentCompleted(N){this.document.defaultView?.parent?.postMessage({event:"payment",result:N==_.iF.Canceled?"failure":"success"})}registerOrder(N){(0,l.X)(N),this.closePopup(),this.paymentForm.markAllAsTouched(),this.currentMethod.pipe((0,F.q)(1),(0,M.w)(c=>{if(!c)throw new Error("\u041d\u0435 \u0432\u044b\u0431\u0440\u0430\u043d \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u043f\u043b\u0430\u0442\u044b.");if("cloudpayments"===c.providerId&&"card"===c.methodId&&!this.paymentForm.valid||!this.checkPolicyAccepted())return L.E;const D=(x,Z,H,q,ft,Lt,Ot)=>
1{if((!this.cart.getValue().cart||0===this.cart.getValue().cart?.items.length)&&x===ht.CART)throw new Error("\u041f\u043e\u0445\u043e\u0436\u0435, \u0447\u0442\u043e \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0435 \u043d\u0435\u0442 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432.");this.isLoading.next(!0);const Ct=x===ht.CARTLESS?void 0:this.cart.getValue().cart?.id;return this.orderAPI.createOrder({source:Z||"cart",paymentProvider:ft.providerId,paymentMethod:ft.methodId,cryptogram:Ot,email:H||"",type:q||_.St.TypeEnum.Onetime,cartId:Ct,items:x!==ht.CART?[{title:"\u041f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b",price:Lt,quantity:1}]:[],roistatVisit:typeof roistat<"u"?roistat.visit:void 0})};if("sberpay"===c.methodId&&"sber"===c.providerId||"qrcode"===c.methodId&&"sber"===c.providerId||"yoo_money"===c.methodId&&"yandex_kassa"===c.providerId||"dolyame"===c.providerId||"sbp"===c.methodId)return this.route.queryParamMap.pipe((0,M.w)(x=>D(x.get("donationType"),x.get("source")||"",x.get("email")||"",x.get("type"),c,x.get("price"))));if("card"===c.methodId&&"cloudpayments"===c.providerId){const x=new cp.Checkout({publicId:c.providerKey}),Z=this.paymentForm.value;return(0,w.D)(x.createPaymentCryptogram({cvv:Z.cvvCode,cardNumber:Z.cardNumber,expDateMonth:Z.expirationDate.split("/")[0],expDateYear:Z.expirationDate.split("/")[1],name:Z.ownerName})).pipe((0,M.w)(H=>this.route.queryParamMap.pipe((0,M.w)(q=>D(q.get("donationType"),q.get("source")||"",q.get("email")||"",q.get("type"),c,q.get("price"),H)))),(0,rt.K)(H=>{if(H[Object.keys(H)[0]])switch(H[Object.keys(H)[0]]){case"CardNumber_Empty":throw new Error("\u041f\u0443\u0441\u0442\u043e\u0439 \u043d\u043e\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u044b");case"CardNumber_Invalid":throw new Error("\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u044b");case"Cvv_Empty":throw new Error("\u041f\u0443\u0441\u0442\u043e\u0439 CVV");case"Cvv_Invalid":throw new Error("\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 CVV");case"ExpDateMonthYear_Empty":throw new Error("\u041f\u0443\u0441\u0442\u043e\u0439 \u0433\u043e\u0434 \u0438 \u043c\u0435\u0441\u044f\u0446");case"ExpDateMonthYear_Invalid":throw new Error("\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0433\u043e\u0434 \u0438 \u043c\u0435\u0441\u044f\u0446");case"ExpDateMonth_Empty":throw new Error("\u041f\u0443\u0441\u0442\u043e\u0439 \u043c\u0435\u0441\u044f\u0446");case"ExpDateMonth_Invalid":throw new Error("\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u043c\u0435\u0441\u044f\u0446");case"ExpDateYear_Empty":throw new Error("\u041f\u0443\u0441\u0442\u043e\u0439 \u0433\u043e\u0434");case"ExpDateYear_Invalid":throw new Error("\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0433\u043e\u0434");case"Name_Empty":throw new Error("\u041f\u0443\u0441\u0442\u043e\u0435 \u0438\u043c\u044f");case"Name_Invalid":throw new Error("\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0435 \u0438\u043c\u044f");case"Name_TooLong":throw new Error("\u0421\u043b\u0438\u0448\u043a\u043e\u043c \u0434\u043b\u0438\u043d\u043d\u043e\u0435 \u0438\u043c\u044f");case"Name_TooShort":throw new Error("\u0421\u043b\u0438\u0448\u043a\u043e\u043c \u043a\u043e\u0440\u043e\u0442\u043a\u043e\u0435 \u0438\u043c\u044f")}throw H}))}throw new Error("Payment provider not detected.")}),(0,f.t)(this),(0,rt.K)(c=>(c instanceof Error?this.errorPopupMessage.next(c.message||"\u041d\u0435\u043f\u0440\u0435\u0434\u0432\u0438\u0434\u0435\u043d\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430."):this.errorPopupMessage.next(c.error?.error||c.error?.detail||"\u041d\u0435\u043f\u0440\u0435\u0434\u0432\u0438\u0434\u0435\u043d\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430."),this.isLoading.next(!1),L.E))).subscribe(({data:c})=>{if(this.setNewCart(),!c)return;const D=this._currentMethod.value;if(("yandex_kassa"===D?.providerId||"dolyame"===D?.providerId)&&c.checkoutUrl)return void(location.href=c.checkoutUrl);if(!this.isDesktop&&"sbp"===D?.methodId&&c.checkoutUrl)return void(location.href=c.checkoutUrl);const x=this.dialog.open(u.d,{data:{checkoutUrl:c.checkoutUrl}}
1);this.isLoading.next(!1),"sbp"===D?.methodId&&(0,k.F)(2500).pipe((0,M.w)(()=>this.orderAPI.getOrderById(c.id,c.createdAt)),(0,Y.b)(H=>{H.data&&H.data?.status!==_.iF.New&&this.notifyPaymentCompleted(H.data.status)}),(0,O.o)(()=>0===x.getState()),(0,f.t)(this)).subscribe(),x.afterClosed().pipe((0,F.q)(1),(0,f.t)(this)).subscribe(Z=>{Z&&this.router.navigate([Z.result],{relativeTo:this.route,queryParams:{o:c.id,c:c.createdAt}})})})}closePopup(){this.errorPopupMessage.next("")}ngOnInit(){this.layout.scrollToTop(),this.billingMethods.pipe((0,F.q)(1)).subscribe(N=>this._currentMethod?.next(N[0]))}ngAfterViewInit(){(0,n.NF)(this.platform)&&(this.breakpointObserver.observe("(min-width: 1200px)").pipe((0,K.U)(N=>N.matches)).subscribe(N=>{this.isDesktop=N}),(0,k.F)(200).pipe((0,Y.b)(()=>{const N=this.methodsElList.find(c=>c.nativeElement.classList.contains("is-active"))?.nativeElement.offsetHeight;this._formHeight.next(N||0)}),(0,f.t)(this)).subscribe())}checkPolicyAccepted(){return this.paymentForm.controls.isPolicyAccepted?.valid??!1}}).\u0275fac=function(N){return new(N||p)(t.Y36(z.P),t.Y36(_.Qp),t.Y36(_.ow),t.Y36(_.EK),t.Y36(ot.I),t.Y36(v.gz),t.Y36(v.F0),t.Y36(W.uw),t.Y36(j.V),t.Y36($.Yg),t.Y36(t.Lbi),t.Y36(n.K0))},p.\u0275cmp=t.Xpm({type:p,selectors:[["app-order-page"]],viewQuery:function(N,c){if(1&N&&t.Gf(P,5),2&N){let D;t.iGM(D=t.CRH())&&(c.methodsElList=D)}},hostAttrs:[1,"page"],decls:195,vars:128,consts:[["data-main","basket-payment"],[1,"visually-hidden"],[1,"basket-payment"],[1,"container"],[1,"basket-payment__wrapper"],["data-tabs","parent",1,"payment"],[1,"payment__controls-wrapper"],["data-tabs","controls",1,"payment__controls"],[1,"payment__title-wrapper"],[1,"payment__title"],["uiButton","","class","btn--icon payment__control","type","button","data-tabs","control","aria-label","\u041b\u043e\u0433\u043e\u0442\u0438\u043f visa mastercard mir",3,"ngClass","click",4,"ngIf"],["class","btn btn--icon payment__control","type","button","data-tabs","control","aria-label","\u041b\u043e\u0433\u043e\u0442\u0438\u043f Yandex pay",4,"ngIf"],["class","btn btn--icon payment__control","type","button","data-tabs","control","aria-label","\u041b\u043e\u0433\u043e\u0442\u0438\u043f yoomoney",3,"ngClass","click",4,"ngIf"],["class","btn btn--icon payment__control","type","button","data-tabs","control","aria-label","\u041b\u043e\u0433\u043e\u0442\u0438\u043f sber pay",3,"ngClass","click",4,"ngIf"],["class","btn btn--icon payment__control","type","button","data-tabs","control","aria-label","\u041b\u043e\u0433\u043e\u0442\u0438\u043f \u0421\u0411\u041f",3,"ngClass","click",4,"ngIf"],["class","btn btn--icon payment__control","type","button","data-tabs","control","aria-label","\u041b\u043e\u0433\u043e\u0442\u0438\u043f \u0414\u043e\u043b\u044f\u043c\u0438",3,"ngClass","click",4,"ngIf"],[1,"payment__content"],[3,"formGroup","submit"],[1,"payment__form"],[1,"payment__form-content"],["data-tabs","element",1,"payment__element",3,"ngClass"],["methodEl",""],[1,"payment__icons-wrapper"],["width","59","height","16","aria-hidden","true",1,"payment__icon"],[0,"xlink","href","#icon-mir"],["width","49","height","16","aria-hidden","true",1,"payment__icon"],[0,"xlink","href","#icon-visa"],["width","29","height","18","aria-hidden","true",1,"payment__icon"],[0,"xlink","href","#icon-mastercard"],["disabled","","type","text","name","donation-amount",1,"payment__input",3,"value"],["uiLabel",""],["class","payment__input","type","text","name","card-number","formControlName","cardNumber","mask","0000 0000 0000 0000||0000 0000 0000 0000 000",3,"is-invalid",4,"ngIf"],["class","payment__input","type","text","name","owner-name","formControlName","ownerName",3,"is-invalid",4,"ngIf"],[1,"payment__columns"],["class","payment__input","type","text","name","expiration-date","formControlName","expirationDate","mask","M0/00","maxlength","5",3,"is-invalid","dropSpecialCharacters",4,"ngIf"],["class","payment__input","type","password","name","cvv-code","formControlName","cvvCode","mask","000",3,"is-invalid",4,"ngIf"],[1,"custom-input","payment__input"],[1,"custom-input__label"],["type","text","name","donation-amount","disabled","",3,"value"],[1,"payment__card-text"],["class","payment__card-text",4,"ngIf"],["href","https://dolyame.ru",1,"btn","btn--link","btn--green"],["type","submit","uiButton","","size","large",1,"payment__payment-button",3,"inProgress","disabled"],["class","payment__agreement",4,"ngIf"],[1,"payment__agreement"],["formControlName","isPol
1icyAccepted",3,"is-invalid",4,"ngIf"],[1,"payment__footer"],[1,"payment__icon"],["type","image/webp","srcset","assets/img/content/widget/payment-pci-dss-compliant.webp"],["src","assets/img/content/widget/payment-pci-dss-compliant.png","width","50","height","20","alt","\u041b\u043e\u0433\u043e\u0442\u0438\u043f PCI DSS","loading","lazy"],["type","image/webp","srcset","assets/img/content/widget/payment-mastercard-securecode.webp"],["src","assets/img/content/widget/payment-mastercard-securecode.png","width","48","height","24","alt","\u041b\u043e\u0433\u043e\u0442\u0438\u043f MasterCard SecureCode","loading","lazy"],["type","image/webp","srcset","assets/img/content/widget/payment-verified-by-visa.webp"],["src","assets/img/content/widget/payment-verified-by-visa.png","width","36","height","18","alt","\u041b\u043e\u0433\u043e\u0442\u0438\u043f Verified by Visa","loading","lazy"],[1,"payment__text"],[1,"subscrible-block"],[1,"subscrible-block__text-wrapper"],[1,"subscrible-block__text"],["href","mailto:[email protected]",1,"btn","btn--link","btn--green"],[1,"basket-payment__footer"],[1,"basket-payment__copiright"],[1,"basket-payment__footer-links"],[1,"basket-payment__footer-item"],["routerLink","/offer","target","_blank","rel","nofollow noopener noreferrer",1,"btn","btn--link","btn--grey"],["routerLink","/privacy","target","_blank","rel","nofollow noopener noreferrer",1,"btn","btn--link","btn--grey"],[1,"alert-message--error",3,"opened","close"],["uiButton","","type","button","data-tabs","control","aria-label","\u041b\u043e\u0433\u043e\u0442\u0438\u043f visa mastercard mir",1,"btn--icon","payment__control",3,"ngClass","click"],["type","image/webp","srcset","assets/img/content/widget/payment-visa-mastercard-mir.webp"],["src","assets/img/content/widget/payment-visa-mastercard-mir.png","width","46","height","46","alt","\u041b\u043e\u0433\u043e\u0442\u0438\u043f\u044b Visa, MasterCard, Mir","loading","lazy"],["type","button","data-tabs","control","aria-label","\u041b\u043e\u0433\u043e\u0442\u0438\u043f Yandex pay",1,"btn","btn--icon","payment__control"],["width","51","height","21","aria-hidden","true",1,"payment__icon"],[0,"xlink","href","#icon-yandex-pay"],["type","button","data-tabs","control","aria-label","\u041b\u043e\u0433\u043e\u0442\u0438\u043f yoomoney",1,"btn","btn--icon","payment__control",3,"ngClass","click"],["width","43","height","51","aria-hidden","true",1,"payment__icon"],[0,"xlink","href","#icon-yoomoney"],["type","button","data-tabs","control","aria-label","\u041b\u043e\u0433\u043e\u0442\u0438\u043f sber pay",1,"btn","btn--icon","payment__control",3,"ngClass","click"],["type","image/webp","srcset","assets/img/content/widget/payment-sber-pay.webp"],["src","assets/img/content/widget/payment-sber-pay.png","width","61","height","30","alt","\u041b\u043e\u0433\u043e\u0442\u0438\u043f Sber pay","loading","lazy"],["type","button","data-tabs","control","aria-label","\u041b\u043e\u0433\u043e\u0442\u0438\u043f \u0421\u0411\u041f",1,"btn","btn--icon","payment__control",3,"ngClass","click"],["src","assets/img/content/widget/payment-sbp.svg","width","61","height","30","alt","\u041b\u043e\u0433\u043e\u0442\u0438\u043f \u0421\u0411\u041f","loading","lazy"],["type","button","data-tabs","control","aria-label","\u041b\u043e\u0433\u043e\u0442\u0438\u043f \u0414\u043e\u043b\u044f\u043c\u0438",1,"btn","btn--icon","payment__control",3,"ngClass","click"],["src","assets/img/content/widget/payment-dolyame-rounded.svg","width","32","height","32","alt","\u041b\u043e\u0433\u043e\u0442\u0438\u043f \u0414\u043e\u043b\u044f\u043c\u0438","loading","lazy"],["type","text","name","card-number","formControlName","cardNumber","mask","0000 0000 0000 0000||0000 0000 0000 0000 000",1,"payment__input"],[3,"uiErrors"],[4,"uiError"],["type","text","name","owner-name","formControlName","ownerName",1,"payment__input"],["type","text","name","expiration-date","formControlName","expirationDate","mask","M0/00","maxlength","5",1,"payment__input",3,"dropSpecialCharacters"],["type","password","name","cvv-code","formControlName","cvvCode","mask","000",1,"payment__input"],["href","mailto:[email protected]"],["formControlName","isPol
1icyAccepted"],[1,"only-mobile"],["routerLink","/offer","target","_blank","aria-label","\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0414\u043e\u0433\u043e\u0432\u043e\u0440 \u043e\u0444\u0435\u0440\u0442\u044b",1,"btn","btn--link","btn--green"],["routerLink","/data-consent","target","_blank","aria-label","\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0421\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u043d\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445",1,"btn","btn--link","btn--green"],["routerLink","/privacy","target","_blank","aria-label","\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0443 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445",1,"btn","btn--link","btn--green"],["class","error",4,"ngIf"],[1,"error"]],template:function(N,c){if(1&N&&(t._UZ(0,"ui-header-widget"),t.TgZ(1,"main",0)(2,"h1",1),t._uU(3,"\u041e\u043f\u043b\u0430\u0442\u0430"),t.qZA(),t.TgZ(4,"section",2)(5,"div",3)(6,"div",4)(7,"div",5)(8,"div",6)(9,"div",7)(10,"div",8)(11,"p",9),t._uU(12,"\u0421\u043f\u043e\u0441\u043e\u0431 \u043e\u043f\u043b\u0430\u0442\u044b"),t.qZA()(),t.YNc(13,a,5,5,"button",10),t.ALo(14,"async"),t.YNc(15,s,3,0,"button",11),t.ALo(16,"async"),t.YNc(17,h,4,5,"button",12),t.ALo(18,"async"),t.ALo(19,"async"),t.YNc(20,C,5,5,"button",13),t.ALo(21,"async"),t.ALo(22,"async"),t.YNc(23,b,5,7,"button",14),t.ALo(24,"async"),t.YNc(25,B,4,5,"button",15),t.ALo(26,"async"),t.ALo(27,"async"),t.qZA()(),t.TgZ(28,"div",16)(29,"form",17),t.NdJ("submit",function(x){return c.registerOrder(x)}),t.TgZ(30,"div",18)(31,"div",19),t.ALo(32,"async"),t.TgZ(33,"div",20,21),t.ALo(35,"async"),t.TgZ(36,"div",22),t.O4$(),t.TgZ(37,"svg",23),t._UZ(38,"use",24),t.qZA(),t.TgZ(39,"svg",25),t._UZ(40,"use",26),t.qZA(),t.TgZ(41,"svg",27),t._UZ(42,"use",28),t.qZA()(),t.kcU(),t.TgZ(43,"ui-custom-input",29),t.ALo(44,"money"),t.ALo(45,"humanizeMoney"),t.ALo(46,"async"),t.ALo(47,"async"),t.ynx(48,30),t._uU(49,"\u0421\u0443\u043c\u043c\u0430 \u043f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044f"),t.BQk(),t.qZA(),t.YNc(50,R,6,6,"ui-custom-input",31),t.YNc(51,ut,6,6,"ui-custom-input",32),t.TgZ(52,"div",33),t.YNc(53,At,6,7,"ui-custom-input",34),t.YNc(54,Tt,6,6,"ui-custom-input",35),t.qZA()(),t.TgZ(55,"div",20,21),t.ALo(57,"async"),t.TgZ(58,"div",22),t.O4$(),t.TgZ(59,"svg",23),t._UZ(60,"use",24),t.qZA(),t.TgZ(61,"svg",25),t._UZ(62,"use",26),t.qZA(),t.TgZ(63,"svg",27),t._UZ(64,"use",28),t.qZA()(),t.kcU(),t.TgZ(65,"div",36)(66,"label")(67,"span",37),t._uU(68,"\u0421\u0443\u043c\u043c\u0430 \u043f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044f"),t.qZA(),t._UZ(69,"input",38),t.ALo(70,"money"),t.ALo(71,"humanizeMoney"),t.ALo(72,"async"),t.ALo(73,"async"),t.qZA()(),t.TgZ(74,"p",39),t._uU(75,"\u041d\u0430\xa0\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0448\u0430\u0433\u0435 \u0432\u044b\xa0\u0431\u0443\u0434\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u043d\u0430\xa0\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u042eMoney. \u0412\u043e\u0439\u0434\u0438\u0442\u0435 \u043f\u043e\u0434 \u0441\u0432\u043e\u0438\u043c \u043b\u043e\u0433\u0438\u043d\u043e\u043c, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043a\u0430\u0440\u0442\u0443 \u0438\xa0\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043f\u043b\u0430\u0442\u0435\u0436."),t.qZA()(),t.TgZ(76,"div",20,21),t.ALo(78,"async"),t.TgZ(79,"div",22),t.O4$(),t.TgZ(80,"svg",23),t._UZ(81,"use",24),t.qZA(),t.TgZ(82,"svg",25),t._UZ(83,"use",26),t.qZA(),t.TgZ(84,"svg",27),t._UZ(85,"use",28),t.qZA()(),t.kcU(),t.TgZ(86,"div",36)(87,"label")(88,"span",37),t._uU(89,"\u0421\u0443\u043c\u043c\u0430 \u043f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044f"),t.qZA(),t._UZ(90,"input",38),t.ALo(91,"money"),t.ALo(92,"humanizeMoney"),t.ALo(93,"async"),t.ALo(94,"async"),t.qZA()(),t.TgZ(95,"p",39),t._uU(96,"\u041d\u0430\xa0\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0448\u0430\u0433\u0435 \u0432\u044b\xa0\u0431\u0443\u0434\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u043d\u0430\xa0\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 SberPay. \u0412\u043e\u0439\u0434\u0438\u0442\u0435 \u043f\u043e\u0434 \u0441\u0432\u043e\u0438\u043c \u043b\u043e\u0433\u0438\u043d\u043e\u043c, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043a\u0430\u0440\u0442\u0443 \u0438\xa0\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043f\u043b\u0430\u0442\u0435\u0436."),t.qZA()(),t.TgZ(97,"div",20,21),t.ALo(99,"async"),t.TgZ(100,"div",22),t.O4$(),t.TgZ(101,"svg",23),t._UZ(102,"use",24),t.qZA(),t.TgZ(103,"svg",25),t._UZ(104,"use",26),t.qZA(),t.TgZ(105,"svg",27),t._UZ(106,"use",28),t.qZA()(),t.kcU(),t.TgZ(107,"div",36)(108,"label")(109,"span",37),t._uU(110,"\u0421\u0443\u043c\u043c\u0430 \u043f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044f"),t.qZA(),t._UZ(111,"input",38),t.ALo(112,"money"),t.ALo(113,"humanizeMoney"),t.ALo(114,"async"),t.ALo(115,"async"),t.qZA()(),t.YNc(116,Dt,2,0,"p",40),t.ALo(117,"async"),t.YNc(118,tt,2,0,"p",40),t.ALo(119,"async"),t.qZA(),t.TgZ(120,"div",20,21),t.ALo(122,"async"),t.TgZ(123,"div",22),t.O4$(),t.TgZ(124,"svg",23),t._UZ(125,"use",24),t.qZA(),t.TgZ(126,"svg",25),t._UZ(127,"use",26),t.qZA(),t.TgZ(128,"svg",27),t._UZ(129,"use",28),t.qZA()(),t.kcU(),t.TgZ(130,"div",36)(131,"label")(132,"span",37),t._uU(133,"\u0421\u0443\u043c\u043c\u0430 \u043f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044f"),t.qZA(),t._UZ(134,"input",38),t.ALo(135,"money"),t.ALo(136,"humanizeMoney"),t.ALo(137,"async"),t.ALo(138,"async"),t.qZA()(),t.TgZ(139,"p",39),t._uU(140,"\u041d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0448\u0430\u0433\u0435 \u0432\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0414\u043e\u043b\u044f\u043c\u0438. \u
10421\u0443\u043c\u043c\u0430 \u043f\u043e\u043a\u0443\u043f\u043a\u0438 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0430 \u043d\u0430 4 \u043f\u043b\u0430\u0442\u0435\u0436\u0430. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043b\u0430\u0442\u0438\u0442\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0430\u0441\u0442\u044c, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0435 2 \u043d\u0435\u0434\u0435\u043b\u0438. "),t.TgZ(141,"a",41),t._uU(142,"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435."),t.qZA()()()(),t.TgZ(143,"button",42),t.ALo(144,"async"),t.ALo(145,"async"),t._uU(146),t.ALo(147,"async"),t.qZA()(),t.YNc(148,Zt,4,0,"p",43),t.ALo(149,"async"),t.TgZ(150,"p",44),t.YNc(151,Bt,14,3,"mat-checkbox",45),t.qZA()()(),t.TgZ(152,"div",46)(153,"div",22)(154,"div",47)(155,"picture"),t._UZ(156,"source",48)(157,"img",49),t.qZA()(),t.TgZ(158,"div",47)(159,"picture"),t._UZ(160,"source",50)(161,"img",51),t.qZA()(),t.TgZ(162,"div",47)(163,"picture"),t._UZ(164,"source",52)(165,"img",53),t.qZA()()(),t.TgZ(166,"p",54),t._uU(167,"\u041f\u043b\u0430\u0442\u0435\u0436 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u0435\u043d. \u0421\u0430\u0439\u0442 dariedu.ru \u0432\u0435\u0440\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d \u043f\u043e\xa0\u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u043e\u043c\u0443 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0443 PCI \u0438\xa0\u043d\u0435\xa0\u0445\u0440\u0430\u043d\u0438\u0442 \u0432\u0430\u0448\u0443\xa0\u043f\u043b\u0430\u0442\u0435\u0436\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e."),t.qZA(),t.TgZ(168,"div",55)(169,"div",56)(170,"p",57),t._uU(171,"\u0412\u043e\u0437\u043d\u0438\u043a\u043b\u0438 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438?"),t._UZ(172,"br"),t._uU(173,"\u041d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u043d\u0430\u043c \u043d\u0430 "),t.TgZ(174,"a",58),t._uU(175,"[email protected]"),t.qZA()()()()()()(),t.TgZ(176,"div",59)(177,"div",60)(178,"p"),t._uU(179,"\xa9\xa0\u0411\u043b\u0430\u0433\u043e\u0442\u0432\u043e\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u043e\u043d\u0434 \xab\u0414\u0430\u0440\u0438 \u0435\u0434\u0443\xbb, 2021 \u041e\u0413\u0420\u041d\xa01167700076169, \u0418\u041d\u041d\xa07713426066"),t.qZA()(),t.TgZ(180,"div",61)(181,"p",62)(182,"a",63),t._uU(183," \u041e\u0444\u0435\u0440\u0442\u0430 "),t.qZA()(),t.TgZ(184,"p",62)(185,"a",64),t._uU(186," \u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 "),t.qZA()()()()()()(),t._UZ(187,"ui-footer-widget"),t.TgZ(188,"ui-simple-popup",65),t.NdJ("close",function(){return c.closePopup()}),t.ALo(189,"async"),t.TgZ(190,"h2"),t._uU(191,"\u041f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430"),t.qZA(),t.TgZ(192,"p"),t._uU(193),t.ALo(194,"async"),t.qZA()()),2&N){let D,x,Z,H,q;t.xp6(13),t.Q6J("ngIf",t.lcZ(14,32,c.hasCards)),t.xp6(2),t.Q6J("ngIf",t.lcZ(16,34,c.hasYandexPay)),t.xp6(2),t.Q6J("ngIf","onetime"===t.lcZ(18,36,c.type)&&t.lcZ(19,38,c.hasYandexMoney)),t.xp6(3),t.Q6J("ngIf","onetime"===t.lcZ(21,40,c.type)&&t.lcZ(22,42,c.hasSberPay)),t.xp6(3),t.Q6J("ngIf",t.lcZ(24,44,c.hasSBP)),t.xp6(2),t.Q6J("ngIf","onetime"===t.lcZ(26,46,c.type)&&t.lcZ(27,48,c.hasDolyame)),t.xp6(4),t.Q6J("formGroup",c.paymentForm),t.xp6(2),t.Udp("height",t.lcZ(32,50,c.formHeight),"px"),t.xp6(2),t.Q6J("ngClass",t.VKq(118,o,"card"===(null==(D=t.lcZ(35,52,c.currentMethod))?null:D.methodId))),t.xp6(10),t.Q6J("value",t.lcZ(44,54,t.lcZ(45,56,t.lcZ(46,58,c.totalAmount)))+("subscription"===t.lcZ(47,60,c.type)?" \u0432 \u043c\u0435\u0441\u044f\u0446":"")),t.xp6(7),t.Q6J("ngIf",c.paymentForm.get("cardNumber")),t.xp6(1),t.Q6J("ngIf",c.paymentForm.get("ownerName")),t.xp6(2),t.Q6J("ngIf",c.paymentForm.get("expirationDate")),t.xp6(1),t.Q6J("ngIf",c.paymentForm.get("cvvCode")),t.xp6(1),t.Q6J("ngClass",t.VKq(120,o,"yandex_kassa"===(null==(x=t.lcZ(57,62,c.currentMethod))?null:x.providerId))),t.xp6(14),t.Q6J("value",t.lcZ(70,64,t.lcZ(71,66,t.lcZ(72,68,c.totalAmount)))+("subscription"===t.lcZ(73,70,c.type)?" \u0432 \u043c\u0435\u0441\u044f\u0446":"")),t.xp6(7),t.Q6J("ngClass",t.VKq(122,o,"sber"
1===(null==(Z=t.lcZ(78,72,c.currentMethod))?null:Z.providerId))),t.xp6(14),t.Q6J("value",t.lcZ(91,74,t.lcZ(92,76,t.lcZ(93,78,c.totalAmount)))+("subscription"===t.lcZ(94,80,c.type)?" \u0432 \u043c\u0435\u0441\u044f\u0446":"")),t.xp6(7),t.Q6J("ngClass",t.VKq(124,o,"sbp"===(null==(H=t.lcZ(99,82,c.currentMethod))?null:H.methodId))),t.xp6(14),t.Q6J("value",t.lcZ(112,84,t.lcZ(113,86,t.lcZ(114,88,c.totalAmount)))+("subscription"===t.lcZ(115,90,c.type)?" \u0432 \u043c\u0435\u0441\u044f\u0446":"")),t.xp6(5),t.Q6J("ngIf","subscription"!=t.lcZ(117,92,c.type)),t.xp6(2),t.Q6J("ngIf","subscription"===t.lcZ(119,94,c.type)),t.xp6(2),t.Q6J("ngClass",t.VKq(126,o,"dolyame"===(null==(q=t.lcZ(122,96,c.currentMethod))?null:q.providerId))),t.xp6(14),t.Q6J("value",t.lcZ(135,98,t.lcZ(136,100,t.lcZ(137,102,c.totalAmount)))+("subscription"===t.lcZ(138,104,c.type)?" \u0432 \u043c\u0435\u0441\u044f\u0446":"")),t.xp6(9),t.Q6J("inProgress",t.lcZ(144,106,c.isLoading))("disabled",t.lcZ(145,108,c.isLoading)),t.xp6(3),t.hij(" ","subscription"===t.lcZ(147,110,c.type)?"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443":"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c"," "),t.xp6(2),t.Q6J("ngIf","subscription"===t.lcZ(149,112,c.type)),t.xp6(3),t.Q6J("ngIf",c.paymentForm.get("isPolicyAccepted")),t.xp6(37),t.Q6J("opened",!!t.lcZ(189,114,c.errorPopupMessage)),t.xp6(5),t.Oqu(t.lcZ(194,116,c.errorPopupMessage))}},dependencies:[n.mk,n.O5,v.rH,nt.u,it.O,st.Z,gt.O,Pt.q,xt.$,vt.u,d._Y,d.JJ,d.JL,d.nD,d.sg,d.u,bt.r,yt.oG,n.Ov,X.H,G.T,J.L],encapsulation:2,changeDetection:0}),p);Ft=(0,e.gn)([(0,f.c)()],Ft)},2355:(U,y,i)=>{i.d(y,{t:()=>n});var e=i(6607);class n extends e.NI{constructor(d,r,l){"object"==typeof r&&null!==r&&(r.nonNullable=!0),("function"==typeof r||Array.isArray(r))&&(r={validators:r,nonNullable:!0}),null==r&&(r={nonNullable:!0}),super(d,r,l)}}},5562:(U,y,i)=>{i.d(y,{O:()=>d});var e=i(5619),n=i(7398),t=i(940);class d extends e.X{select(l){return this.asObservable().pipe((0,n.U)(l),(0,t.d)(1))}update(l){if("function"==typeof l){const _=l(this.value);this.next({...this.value,..._})}"object"==typeof l&&null!==l&&this.next({...this.value,...l})}}},3167:(U,y,i)=>{i.d(y,{b:()=>n});var e=i(5879);let n=(()=>{class t{}return t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({}),t})()},0:(U,y,i)=>{i.d(y,{N:()=>n});var e=i(5879);let n=(()=>{class t{constructor(r,l){this.templateRef=r,this.viewContainer=l,this.context={$implicit:null,init:null},this.viewRef=this.viewContainer.createEmbeddedView(this.templateRef,this.context)}set init(r){this.setValue(r)}set initOf(r){this.setValue(r)}ngOnDestroy(){this.viewContainer.clear(),this.viewRef&&(this.viewRef.destroy(),this.viewRef=null)}setValue(r){this.context.$implicit=this.context.init=r,this.viewRef&&this.viewRef.markForCheck()}}return t.\u0275fac=function(r){return new(r||t)(e.Y36(e.Rgc),e.Y36(e.s_b))},t.\u0275dir=e.lG2({type:t,selectors:[["","init",""]],inputs:{init:"init",initOf:"initOf"}}),t})()},5369:(U,y,i)=>{i.d(y,{L:()=>n});var e=i(5879);let n=(()=>{class t{}return t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({}),t})()},5611:(U,y,i)=>{i.d(y,{X:()=>d});var e=i(6814),n=i(5879),t=i(2708);let d=(()=>{class r{constructor(_,u){this.elRef=_,this.platformId=u}ngOnDestroy(){this.scrollbar?.destroy()}ngAfterViewInit(){this.initPerfectScroll()}initPerfectScroll(){(0,e.NF)(this.platformId)&&(this.scrollbar=new t.Z(this.elRef.nativeElement,{wheelPropagation:!0,minScrollbarLength:16}))}update(){this.scrollbar?.update()}scrollToTop(){this.elRef.nativeElement?.scrollTop&&this.elRef.nativeElement.scrollTo({top:0})}}return r.\u0275fac=function(_){return new(_||r)(n.Y36(n.SBq),n.Y36(n.Lbi))},r.\u0275dir=n.lG2({type:r,selectors:[["","perfectScroll",""]],hostAttrs:[1,"perfect-scrollbar-wrapper"],exportAs:["PerfectScrollDirective"]}),r})()},553:(U,y,i)=>{i.d(y,{N:()=>e});const e={production:!0,googleMaps:"AIzaSyDil8taIcJiTrKMiPQpCVGD7cyDORzzdlM",publicUrl:"https://dariedu.ru"}},1962:(U,y,i)=>
1{function e(n){return null===n||typeof n>"u"?null:"string"==typeof n?parseInt(n,10)/100:n/100}i.d(y,{I:()=>e})},2080:(U,y,i)=>{function e(n,t=!0){n.preventDefault(),t&&n.stopPropagation()}i.d(y,{X:()=>e})},4805:(U,y,i)=>{function t(d,r){return r?.id?`${r.id}`:`${d}`}i.d(y,{xn:()=>t})},2822:(U,y,i)=>{var e=i(6593),n=i(5879),t=i(2277),d=i(8374),r=i(6814),l=i(9862),_=i(8512),u=i(3680),f=i(7700),m=i(349),E=i(7418),L=i(553),w=i(87),k=i(972),O=i(8534),K=i(7582),M=i(1791),S=i(2572),F=i(5619),Y=i(2096),rt=i(940),z=i(2181),ot=i(7398),v=i(9397),W=i(4664),j=i(836),$=i(3620),nt=i(6306),it=i(3681),st=i(222),gt=i(6543),Pt=i(9155),xt=i(1792),vt=i(459),bt=i(6154);const yt=function(g){return{"cookie-banner--visible":g}};let X=(()=>{class g{constructor(A,V){this.cookies=A,this.platformId=V,this.cookieName="cookies_accepted",this.visible=!1}ngOnInit(){(0,r.NF)(this.platformId)&&(this.visible=!this.cookies.check(this.cookieName))}accept(){this.cookies.set(this.cookieName,"1",365,"/"),this.visible=!1}}return g.\u0275fac=function(A){return new(A||g)(n.Y36(vt.N),n.Y36(n.Lbi))},g.\u0275cmp=n.Xpm({type:g,selectors:[["app-cookie-popup"]],decls:8,vars:3,consts:[[1,"cookie-banner",3,"ngClass"],[1,"cookie-banner__text"],["routerLink","/privacy","target","_blank","aria-label","\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0443 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438",1,"btn","btn--link","btn--green"],["size","small","uiButton","",1,"cookie-banner__btn",3,"click"]],template:function(A,V){1&A&&(n.TgZ(0,"div",0)(1,"div",1),n._uU(2," \u041c\u044b \u0445\u043e\u0442\u0438\u043c, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0448 \u0441\u0430\u0439\u0442 \u0431\u044b\u043b \u0434\u043b\u044f \u0432\u0430\u0441 \u0443\u0434\u043e\u0431\u043d\u044b\u043c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c cookies. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u2014 \u0432 "),n.TgZ(3,"a",2),n._uU(4,"\u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0435 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438"),n.qZA(),n._uU(5,". "),n.qZA(),n.TgZ(6,"a",3),n.NdJ("click",function(){return V.accept()}),n._uU(7,"\u041f\u0440\u0438\u043d\u044f\u0442\u044c"),n.qZA()()),2&A&&n.Q6J("ngClass",n.VKq(1,yt,V.visible))},dependencies:[r.mk,bt.r],styles:[".cookie-banner{position:fixed;left:16px;right:16px;bottom:80px;z-index:1000;padding:16px;display:none;background-color:#fff;border-radius:30px;box-shadow:0 32px 32px #3c3b8914,0 2px 12px #12122914}.cookie-banner--visible{display:block}@media (min-width: 768px){.cookie-banner{left:40px;bottom:40px;padding:24px;right:unset;max-width:600px}}.cookie-banner__text{line-height:20px;font-size:15px;margin-bottom:16px}.cookie-banner__btn{width:100%}\n"],encapsulation:2,changeDetection:0}),g})();var G;let J=((G=class{constructor(T,A,V,ct,dt,_t,ae,se,ce){this.router=T,this.route=A,this.layout=V,this.cart=ct,this.cartApi=dt,this.storage=_t,this.openGraph=ae,this.platform=se,this.document=ce,this.og=(0,S.a)({type:this.openGraph.type,title:this.openGraph.title,description:this.openGraph.description,url:this.openGraph.url,image:this.openGraph.image,imageType:this.openGraph.imageType}).pipe((0,rt.d)(1)),this._appPopup=new F.X(null),this.appPopup=this._appPopup.asObservable(),this.wrapperClass=new F.X(""),this.isFooterDisplayed=new F.X(!0),this.router.events.pipe((0,z.h)(wt=>wt instanceof E.m2),(0,ot.U)(()=>{let wt=this.route.firstChild;for(;wt;){if(!wt.firstChild)return wt.snapshot.data&&wt.snapshot.data.title?wt.snapshot.data.title:null;wt=wt.firstChild}return null})).subscribe(wt=>this.layout.setTitle(wt||"\u0411\u043b\u0430\u0433\u043e\u0442\u0432\u043e\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u043e\u043d\u0434 \u0414\u0430\u0440\u0438\u0435\u0434\u0443"))}ngOnInit(){this.registerRoistat(),this.registerYandexMetrika(),this.registerVkPixel(),this.og.pipe((0,M.t)(this)).subscribe(({type:T,title:A,description:V,url:ct,image:dt,imageType:_t})=>{this.openGraph.clearTags(),this.openGraph.registerTag("type",T),this.openGraph.registerTag("title",A),this.openGraph.registerTag("description",V),this.openGraph.registerTag("url",ct),this.openGraph.registerTag("image",dt),this.openGraph.registerTag("image:type",_t)}),this.setCart().pipe((0,v.b)(T=>this.cart.update({cart:T})),(0,W.w)(T=>this.cart.select(A=>
1A.cart).pipe((0,j.T)(1),(0,$.b)(400),(0,W.w)(A=>A?this.cartApi.updateCart(A.id,{items:A.items}).pipe((0,nt.K)(()=>(this._appPopup.next("cart"),(0,Y.of)(null)))):(0,Y.of)(null)))),(0,M.t)(this)).subscribe(),this.router.events.pipe((0,M.t)(this)).subscribe(T=>{T instanceof E.m2&&this.wrapperClass.next("wrapper__"+(T.url.slice(1)?T.url.slice(1).split("?")[0]:"index"))})}closePopup(){this._appPopup.next(null)}setCart(){return this.storage.getItem("cartId").pipe((0,W.w)(T=>T?this.cartApi.getCartById(T).pipe((0,ot.U)(({cart:A})=>A),(0,nt.K)(()=>this.cartApi.getCart())):this.cartApi.getCart()),(0,v.b)(T=>this.storage.setItem("cartId",T.id).subscribe()))}registerYandexMetrika(){if(!L.N.production||(0,r.PM)(this.platform))return;const T=this.document.createElement("script");T.innerHTML="(function(m,e,t,r,i,k,a){\n        m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};\n        m[i].l=1*new Date();\n        for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}\n        k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)\n    })(window, document,'script','https://mc.yandex.ru/metrika/tag.js', 'ym');\n\n    ym(50727811, 'init', {webvisor:true, clickmap:true, referrer: document.referrer, url: location.href, accurateTrackBounce:true, trackLinks:true});",this.document.body.appendChild(T)}registerVkPixel(){if(!L.N.production||(0,r.PM)(this.platform))return;const T=this.document.createElement("script");T.innerHTML='var _tmr = window._tmr || (window._tmr = []);\n_tmr.push({id: "3284865", type: "pageView", start: (new Date()).getTime()});\n(function (d, w, id) {\n  if (d.getElementById(id)) return;\n  var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true; ts.id = id;\n  ts.src = "https://top-fwz1.mail.ru/js/code.js";\n  var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);};\n  if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); }\n})(document, window, "tmr-code");',this.document.body.appendChild(T)}registerRoistat(){if(!L.N.production||(0,r.PM)(this.platform))return;const T=this.document.createElement("script");T.innerHTML='(function(w, d, s, h, id) {\n    w.roistatProjectId = id; w.roistatHost = h;\n    var p = d.location.protocol == "https:" ? "https://" : "http://";\n    var u = /^.*roistat_visit=[^;]+(.*)?$/.test(d.cookie) ? "/dist/module.js" : "/api/site/1.0/"+id+"/init?referrer="+encodeURIComponent(d.location.href);\n    var js = d.createElement(s); js.charset="UTF-8"; js.async = 1; js.src = p+h+u; var js2 = d.getElementsByTagName(s)[0]; js2.parentNode.insertBefore(js, js2);\n})(window, document, \'script\', \'cloud.roistat.com\', \'fa0f41dcc1440c6d98c32e6bdbbfea7b\');',this.document.body.appendChild(T)}}).\u0275fac=function(T){return new(T||G)(n.Y36(E.F0),n.Y36(E.gz),n.Y36(it.P),n.Y36(st.I),n.Y36(w.EK),n.Y36(gt.V),n.Y36(Pt.t),n.Y36(n.Lbi),n.Y36(r.K0))},G.\u0275cmp=n.Xpm({type:G,selectors:[["app-root"]],hostVars:2,hostBindings:function(T,A){2&T&&n.Tol("wrapper "+A.wrapperClass.value)},decls:165,vars:3,consts:[[1,"visually-hidden"],["xmlns","http://www.w3.org/2000/svg"],["id","paint0_linear_938_11528","x1","15.9528","y1","76.7995","x2","4.46962","y2","43.605","gradientUnits","userSpaceOnUse"],["offset","0.14","stop-color","#F1E813"],["offset","0.3","stop-color","#E6E418"],["offset","0.58","stop-color","#C9DA26"],["offset","0.89","stop-color","#A2CC39"],["id","paint1_linear_938_11528","x1","16.8292","y1","15.6158","x2","46.4074","y2","4.34428","gradientUnits","userSpaceOnUse"],["offset","0.06","stop-color","#0FA7DF"],["offset","0.54","stop-color","#0098F8"],["offset","0.92","stop-color","#0290EA"],["id","paint2_linear_938_11528","x1","43.0297","y1","85.0879","x2","76.477","y2","77.532","gradientUnits","userSpaceOnUse"],["offset","0.12","stop-color","#A2CC39"],["offset","0.28","stop-color","#86C239"],["offset","0.87","stop-color","#219F38"],["id","paint3_linear_938_11528","x1","43.799","y1","3.95431","x2","72.3948","y2","12.7786","gradientUnits","userSpaceOnUse"],["offset","0.06","stop-color","#0290EA"],["offset","0.79","stop-color","#0C89CA"],["id","paint4_linear_938_11528","x1","14.8983","y1","75.1801","x2","46.0238","y2","86.8125","gradientUnits","userSpaceOnUse"],["offset","0.13","stop-color","#F1E813"],["offset","0.3","stop-color","#EAE616"],["offset","0.53","stop-color","#D8DF1F"],["offset","0.8","stop-color","#BAD52D"],["offset","0.98","stop-color","#A2CC39"],["id","paint5_linear_938_11528","x1","4.41665","y1","47.2012","x2","16.9109","y2","14.7","gradientUnits","userSpaceOnUse"],["offset","0.07","stop-color","#A2CC39"],["offset","0.26","stop-color","#81C45E"],["offset","0.92","stop-color","#0FA7DF"],["id","paint0_linear_1656_15529","x1","58.9993","y1","4.16117","x2","41.7903","y2","4.16117","gradientUnits","userSpaceOnUse"],["offset","0","stop-color","#1F5CD7"],["offset","1","stop-color","#02AEFF"],["id","clip0_2901_9868"],["width","32","height","32","fill","white"],["id","icon-calendar","viewBox","0 0 32 32"],["data-name","Layer 2"],["d","M24 29H8a5 5 0 0 1-5-5V10a5 5 0 0 1 5-5h16a5 5 0 0 1 5 5v14a5 5 0 0 1-5 5ZM8 7a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h16a3 3 0 0 0 3-3V10a3 3 0 0 0-3-3Z"],["d","M24 25h-4a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1Zm-3-2h2v-2h-2ZM28 13H4a1 1 0 0 1 0-2h24a1 1 0 0 1 0 2ZM11 9a1 1 0 0 1-1-1V4a1 1 0 0 1 2 0v4a1 1 0 0 1-1 1ZM21 9a1 1 0 0 1-1-1V4a1 1 0 0 1 2 0v4a1 1 0 0 1-1 1Z"],["d","M0 0h32v32H0z",2,"fill","none"],["id","icon-arrow-right","viewBox","0 0 16 16"],["d","M14 8.25L2 8.25","stroke","white","stroke-width","1.8","stroke-linecap","round","stroke-linejoin","round","fill","none"],["d","M8 3L14 8.25005L8 13.5001","stroke","white","stroke-width","1.8","stroke-linecap","round","stroke-linejoin","round","fill","none"],["id","icon-arrow","viewBox","0 0 10 18"],["d","M9.00003 17L1.00001 9L9.00003 0.999999","stroke","black","stroke-width","1.6","stroke-linecap","round","stroke-linejoin","round","fill","none"],["id","icon-burger","viewBox","0 0 40 40"],["d","M4 15H36","stroke","#070707","stroke-width","2","stroke-linecap","round","fill","none"],["d","M4 25H36","stroke","#070707","stroke-width","2","stroke-linecap","round","fill","none"],["id","icon-cart","viewBox","0 0 40 40"],["d","M6.61515 17.4813C6.30244 16.2199 7.25686 15 8.55638 15H31.4436C32.7431 15 33.6976 16.2199 33.3849 17.4813L30.4099 29.4813C30.1887 30.3735 29.3878 31 28.4686 31H11.5314C10.6122 31 9.81134 30.3735 9.59015 29.4813L6.61515 17.4813Z","fill","currentColor"],["d","M15 12V10C15 8.89543 15.8954 8 17 8H23C24.1046 8 25 8.89543 25 10V12","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","fill","none"],["id","icon-check","viewBox","0 0 14 12"],["fill-rule","evenodd","clip-rule","evenodd","d","M5.14976 7.95585L11.5477 0.540099C11.7642 0.289201 12.1431 0.261285 12.394 0.477749L13.6054 1.52293C13.8563 1.73939 13.8842 2.11827 13.6678 2.36916L6.01639 11.2377C5.63922 11.6749 4.97123 11.7027 4.55902 11.2984L0.447747 7.26614C0.21117 7.03411 0.207485 6.65423 0.439515 6.41765L1.55986 5.27536C1.79189 5.03878 2.17177 5.0351 2.40834 5.26713L5.14976 7.95585Z","fill","#38AB78"],["id","icon-close","viewBox","0 0 40 40"],["d","M8.68652 8.6875L31.3139 31.3149","stroke","currentColor","stroke-width","2","stroke-linecap","round","fill","none"],["d","M8.68652 31.3149L31.3139 8.68752","stroke","currentColor","stroke-width","2","stroke-linecap","round","fill","none"],["id","icon-download","viewBox","0 0 32 32"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.5625 0H25.4375C27.1765 0.00481055 28.8429 0.69776 30.0726 1.92743C31.3022 3.15709 31.9952 4.8235 32 6.5625V25.4375C31.9952 27.1765 31.3022 28.8429 30.0726 30.0726C28.8429 31.3022 27.1765 31.9952 25.4375 32H6.5625C4.8235 31.9952 3.15709 31.3022 1.92743 30.0726C0.69776 28.8429 0.00481055 27.1765 0 25.4375L0 6.5625C0.00481055 4.8235 0.69776 3.15709 1.92743 1.92743C3.15709 0.69776 4.8235 0.00481055 6.5625 0ZM18.9896 12.8438C19.1794 12.6649 19.4318 12.5675 19.6925 12.5725C19.9533 12.5775 20.2017 12.6844 20.3846 12.8703C20.5675 13.0563 20.6703 13.3065 20.6709 13.5673C20.6715 13.8281 20.57 14.0788 20.388 14.2656L16.6016 18.0052C16.4147 18.188 16.1637 18.2903 15.9023 18.2903C15.641 18.2903 15.39 18.188 15.2031 18.0052L11.4714 14.3229C11.3706 14.2331 11.2891 14.1237 11.2319 14.0014C11.1747 13.8792 11.1428 13.7466 11.1384 13.6116C11.1339 13.4767 11.1568 13.3423 11.2058 13.2165C11.2549 13.0907 11.3289 12.9762 11.4235 12.8798C11.518 12.7835 11.6312 12.7073 11.756 12.656C11.8809 12.6047 12.0149 12.5793 12.1499 12.5813C12.2849 12.5832 12.418 12.6126 12.5413 12.6676C12.6646 12.7225 12.7755 12.802 12.8672 12.901L14.9219 14.9375L14.9427 7.76823C14.9448 7.5037 15.0519 7.25084 15.2404 7.
106525C15.4289 6.87967 15.6834 6.77657 15.9479 6.77865C16.2124 6.78072 16.4653 6.88779 16.6509 7.0763C16.8365 7.26481 16.9396 7.51933 16.9375 7.78385L16.9271 14.8932L19.0104 12.8438H18.9896ZM8.07292 22L8.08594 18.0938C8.08836 17.8292 8.19576 17.5765 8.38451 17.3912C8.57327 17.2058 8.82792 17.1031 9.09245 17.1055C9.35697 17.1079 9.60971 17.2153 9.79504 17.404C9.98038 17.5928 10.0831 17.8475 10.0807 18.112V20.9531C14.0425 20.9531 18.0017 20.9531 21.9583 20.9531V18.0885C21.9608 17.824 22.0682 17.5713 22.2569 17.3859C22.4457 17.2006 22.7003 17.0978 22.9648 17.1003C23.2294 17.1027 23.4821 17.2101 23.6674 17.3988C23.8528 17.5876 23.9555 17.8422 23.9531 18.1068L23.9401 21.9896C23.9306 22.2523 23.8177 22.5007 23.6261 22.6806C23.4344 22.8606 23.1795 22.9576 22.9167 22.9505C18.2882 22.9505 13.6632 22.9505 9.04167 22.9505C8.79005 22.9436 8.55036 22.8417 8.37069 22.6654C8.19102 22.4891 8.08465 22.2514 8.07292 22Z","fill","#38AB78"],["id","icon-downloads","viewBox","0 0 57 48"],["d","M29 27L29 16","stroke","white","stroke-width","1.8","stroke-linecap","round","stroke-linejoin","round"],["d","M34 23L29 28L24 23","stroke","white","stroke-width","1.8","stroke-linecap","round","stroke-linejoin","round"],["d","M23 33L35 33","stroke","white","stroke-width","1.8","stroke-linecap","round","stroke-linejoin","round"],["id","icon-link-help-2","viewBox","0 0 107 99"],["x","23.2178","y","12.2483","width","22.0854","height","16.4765","rx","6.33272","transform","rotate(-15 23.2178 12.2483)","stroke","#070707","stroke-width","4.74954","stroke-linecap","round","stroke-linejoin","round"],["x","2.36719","y","25.4565","width","69.201","height","47.1156","rx","11.0823","transform","rotate(-15 2.36719 25.4565)","fill","#6DB997"],["d","M65.0009 17.1831L65.1289 17.5791C66.5168 21.8749 64.0366 26.4598 59.6816 27.649L20.3051 38.4013C16.1274 39.5421 11.8084 37.114 10.612 32.9518L10.2783 31.7908","stroke","#070707","stroke-width","3.16636","stroke-linecap","round","stroke-linejoin","round"],["d","M33.4561 34.2549L48.2663 30.2865L49.3941 34.4954C49.8467 36.1845 48.8443 37.9207 47.1552 38.3733L38.4618 40.7027C36.7727 41.1553 35.0364 40.1529 34.5838 38.4638L33.4561 34.2549Z","fill","#070707"],["x","37.4697","y","49.0227","width","65.5606","height","44.637","rx","9.49908","transform","rotate(4.03802 37.4697 49.0227)","fill","#D5D5D5"],["x","41.8574","y","66.113","width","15.344","height","11.1593","rx","4.74954","transform","rotate(4.03802 41.8574 66.113)","fill","#070707"],["fill-rule","evenodd","clip-rule","evenodd","d","M99.0437 19.5705C97.7455 23.7079 100.047 28.1145 104.184 29.4134L103.596 31.2873C103.596 31.2873 103.596 31.2873 103.596 31.2873C99.458 29.9886 95.0509 32.2901 93.7521 36.4278L91.879 35.8399L91.879 35.8398C93.1777 31.702 90.8762 27.2948 86.7384 25.9961L87.3262 24.123C91.4641 25.4217 95.8712 23.1202 97.17 18.9824L99.0437 19.5705Z","fill","#070707"],["id","icon-link-help-3","viewBox","0 0 92 92"],["d","M81.999 18.1182C84.1602 20.9124 85.9898 23.9482 87.4508 27.1644L46.0077 57.7153L28.6875 46.8577V33.7955L46.0077 44.6531L81.999 18.1182Z","fill","#21A038"],["d","M11.0118 45.945C11.0118 45.3589 11.0261 44.7766 11.0547 44.1977L0.558142 43.6833C0.522416 44.4336 0.500989 45.1911 0.500989 45.9556C0.496523 51.9288 1.67139 57.8439 3.95821 63.3617C6.24502 68.8798 9.59877 73.8919 13.8271 78.1106L21.2725 70.6685C18.0177 67.4268 15.4357 63.5737 13.6748 59.3308C11.9139 55.0879 11.0089 50.5387 11.0118 45.945Z","fill","url(#paint0_linear_938_11528)"],["d","M46.0002 10.9391C46.586 10.9391 47.1682 10.9605 47.747 10.9891L48.2722 0.488682C47.5197 0.452954 46.7622 0.435092 46.0002 0.435092C40.0243 0.427805 34.1062 1.60101 28.5852 3.88733C23.0642 6.17366 18.0492 9.52809 13.8281 13.758L21.2736 21.2037C24.5154 17.9477 28.3688 15.3647 32.6123 13.6031C36.8558 11.8415 41.4054 10.9362 46.0002 10.9391Z","fill","url(#paint1_linear_938_11528)"],["d","M45.9983 80.922C45.4125 80.922 44.83 80.922 44.2479 80.8756L43.7227 91.3724C44.4776 91.4105 45.2363 91.4297 45.9983 91.4297C51.9717 91.4358 57.887 90.2619 63.405 87.9749C68.9231 85.6879 73.9348 82.333 78.1526 78.1032L70.7215 70.6611C67.4791 73.9154 63.6261 76.4969 59.3834 78.2578C55.1408 80.0188 50.592 80.9243 45.9983 80.922Z","fill","url(#paint2_linear_938_11528)"],["d","M65.721 17.0485L74.5669 10.5282C66.4816 3.98096 56.3891 0.416884 45.9854 0.435128V10.9427C53.0303 10.9339 59.9117 13.063 65.721 17.0485Z","fill","url(#paint3_linear_938_11528)"],["d","M91.4927 45.9
1182C91.4984 43.1848 91.2593 40.456 90.7781 37.7651L80.9855 44.9821C80.9855 45.2931 80.9855 45.6039 80.9855 45.9182C80.988 50.8068 79.9632 55.6414 77.978 60.1085C75.9924 64.5756 73.0903 68.5757 69.46 71.8494L76.5232 79.6561C81.2429 75.3951 85.0144 70.19 87.5932 64.3781C90.1722 58.566 91.5006 52.2767 91.4927 45.9182Z","fill","#21A038"],["d","M45.9985 80.9252C41.1097 80.9269 36.275 79.9018 31.8074 77.9164C27.34 75.931 23.3393 73.0292 20.0644 69.3994L12.2617 76.4592C16.522 81.1798 21.7268 84.952 27.5388 87.5316C33.3507 90.1109 39.6398 91.4401 45.9985 91.4326V80.9252Z","fill","url(#paint4_linear_938_11528)"],["d","M22.5373 19.9982L15.4777 12.1917C10.7566 16.4517 6.98371 21.6566 4.40362 27.4687C1.82356 33.2807 0.493942 39.5703 0.501005 45.9293H11.0118C11.0096 41.041 12.0345 36.2064 14.0199 31.7393C16.0054 27.2723 18.9072 23.2722 22.5373 19.9982Z","fill","url(#paint5_linear_938_11528)"],["id","icon-link-help","viewBox","0 0 113 106"],["x","3.5293","y","31.127","width","41.3036","height","76.1535","rx","10.6597","transform","rotate(-21.5008 3.5293 31.127)","stroke","#6DB997","stroke-width","4.56845"],["d","M13.5791 27.168L31.9071 19.9481L32.5586 21.6019C33.4833 23.9494 32.33 26.6021 29.9824 27.5268L20.1555 31.3979C17.808 32.3226 15.1553 31.1693 14.2306 28.8217L13.5791 27.168Z","fill","#6DB997"],["x","43.4072","y","39.927","width","60.6647","height","41.3036","rx","9.13689","transform","rotate(-5.33745 43.4072 39.927)","fill","#D5D5D5"],["x","49.9893","y","54.8682","width","14.1981","height","10.3259","rx","4.56845","transform","rotate(-5.33745 49.9893 54.8682)","fill","#070707"],["fill-rule","evenodd","clip-rule","evenodd","d","M76.9303 14.6026L76.9307 14.6026L76.9407 16.759C76.9406 16.759 76.9406 16.759 76.9406 16.759C72.1771 16.781 68.3334 20.6603 68.3552 25.4237L66.1982 25.4336L66.1982 25.4335C66.1762 20.6702 62.2973 16.8266 57.5341 16.8481L57.5242 14.6919C62.2876 14.6699 66.1313 10.7905 66.1094 6.02709L68.2654 6.01714L68.2654 6.01722C68.2874 10.7808 72.1668 14.6245 76.9303 14.6026Z","fill","#070707"],["id","icon-login","viewBox","0 0 24 24"],["d","M13.6012 12L4.80005 12","stroke","currentColor","stroke-width","1.4","stroke-linecap","round","stroke-linejoin","round","fill","none"],["d","M11.2 8.80005L14.4 12L11.2 15.2","stroke","currentColor","stroke-width","1.4","stroke-linecap","round","stroke-linejoin","round","fill","none"],["d","M8 6.8V6C8 4.89543 8.89543 4 10 4H17.2C18.3046 4 19.2 4.89543 19.2 6V18C19.2 19.1046 18.3046 20 17.2 20H10C8.89543 20 8 19.1046 8 18V17.6","stroke","currentColor","stroke-width","1.4","stroke-linecap","round","fill","none"],["id","icon-mastercard","viewBox","0 0 29 18"],["d","M18.4131 1.92529H10.5652V16.0748H18.4131V1.92529Z","fill","#FF5A00"],["d","M11.0869 9C11.0869 6.12524 12.4335 3.57379 14.5 1.92524C12.9792 0.725243 11.0607 0 8.96817 0C4.01101 0 0 4.02524 0 9C0 13.9748 4.01101 18 8.96817 18C11.0607 18 12.9792 17.2748 14.5 16.0748C12.4306 14.4495 11.0869 11.8748 11.0869 9Z","fill","#EB001B"],["d","M29 9C29 13.9748 24.989 18 20.0318 18C17.9393 18 16.0208 17.2748 14.5 16.0748C16.5926 14.4233 17.9131 11.8748 17.9131 9C17.9131 6.12524 16.5665 3.57379 14.5 1.92524C16.0179 0.725243 17.9363 0 20.0289 0C24.989 0 29 4.05146 29 9Z","fill","#F79E1B"],["id","icon-minus","viewBox","0 0 16 16"],["y","7","width","16","height","2","fill","currentColor"],["id","icon-mir","viewBox","0 0 59 16"],["fill-rule","evenodd","clip-rule","evenodd","d","M5.45592 0.00273032C5.98302 -0.000404622 7.54953 -0.140671 8.21307 2.08575C8.66004 3.58549 9.37203 6.04213 10.3491 9.45568H10.747C11.7947 5.85688 12.5145 3.40023 12.9062 2.08575C13.5767 -0.163863 15.2528 0.00277441 15.9233 0.00277441L21.096 0.00278082V16H15.8238V6.57256H15.4703L12.5313 16H8.56469L5.62571 6.56557H5.27217V16H0V0.00278082L5.45592 0.00273032ZM28.6667 0.00278082V9.43721H29.0873L32.6623 1.67935C33.3563 0.135509 34.8354 0.00278082 34.8354 0.00278082H39.9373V16H34.555V6.56557H34.1344L30.6295 14.3234C29.9355 15.8603 28.3864 16 28.3864 16H23.2845V0.00278082H28.6667ZM58.5408 7.60476C57.7901 9.71989 55.4323 11.2347 52.822 11.2347H47.1776V16H42.0594V7.60476H58.5408Z","fill","#0F754E"],["fill-rule","evenodd","clip-rule","evenodd","d","M53.0682 0.00292969H41.7903C42.0587 3.56445 45.1437 6.61335 48.3374 6.61335H58.8958C59.505 3.6533 57.4075 0.00292969 53.0682 0.00292969Z","fill","url(#paint0_linear_1656_15529)"],["id","icon-telegram","viewBox","0 0 32 32"],["d","M0 15.36C0 8.1192 0 4.49884 2.24942 2.24942C4.49884 0 8.1192 0 15.36 0H16.64C23.8808 0 27.5011 0 29.7506 2.24942C32 4.49884 32 8.1192 32 15.36V16.64C32 23.8808 32 27.5011 29.7506 29.7506C27.5011 32 23.8808 32 16.64 32H15.36C8.1192 32 4.49884 32 2.24942 29.7506C0 27.5011 0 23.8808 0 16.64V15.36Z","fill","#2AABEE"],["fill-rule","evenodd","clip-rule","evenodd","d","M7.30615 14.7785C12.4064 12.5564 15.8074 11.0914 17.5091 10.3836C22.3677 8.36276 23.3773 8.01172 24.0354 8.00012C24.1801 7.99757 24.5037 8.03344 24.7133 8.20353C24.8903 8.34715 24.939 8.54116 24.9623 8.67733C24.9856 8.81349 25.0146 9.12369 24.9916 9.3
16606C24.7283 12.1325 23.589 18.8459 23.0094 21.9443C22.7642 23.2554 22.2813 23.695 21.8138 23.738C20.7978 23.8315 20.0263 23.0666 19.0422 22.4215C17.5024 21.4122 16.6325 20.7838 15.1378 19.7989C13.4105 18.6606 14.5303 18.035 15.5147 17.0125C15.7723 16.7449 20.2488 12.6732 20.3354 12.3039C20.3463 12.2577 20.3563 12.0855 20.254 11.9946C20.1517 11.9036 20.0007 11.9347 19.8918 11.9595C19.7373 11.9945 17.2775 13.6204 12.5121 16.8371C11.8139 17.3166 11.1815 17.5502 10.6148 17.538C9.99014 17.5245 8.78851 17.1848 7.89523 16.8944C6.79958 16.5382 5.92878 16.3499 6.0046 15.7451C6.0441 15.43 6.47795 15.1078 7.30615 14.7785Z","fill","white"],["id","icon-telegram_white","viewBox","0 0 24 32"],["id","icon-odnoklassniki","viewBox","0 0 32 32"],["clip-path","url(#clip0_2901_9868)"],["d","M0 15.36C0 8.1192 0 4.49884 2.24942 2.24942C4.49884 0 8.1192 0 15.36 0H16.64C23.8808 0 27.5011 0 29.7506 2.24942C32 4.49884 32 8.1192 32 15.36V16.64C32 23.8808 32 27.5011 29.7506 29.7506C27.5011 32 23.8808 32 16.64 32H15.36C8.1192 32 4.49884 32 2.24942 29.7506C0 27.5011 0 23.8808 0 16.64V15.36Z","fill","#F7931E"],["d","M15.9816 4.78271C12.8102 4.78271 10.2393 7.36689 10.2393 10.5545C10.2393 13.7422 12.8102 16.3266 15.9816 16.3266C19.1531 16.3266 21.724 13.7422 21.724 10.5545C21.724 7.36689 19.1531 4.78271 15.9816 4.78271ZM15.9816 12.9406C14.6706 12.9406 13.6079 11.8723 13.6079 10.5546C13.6079 9.23691 14.6706 8.16867 15.9816 8.16867C17.2926 8.16867 18.3554 9.23691 18.3554 10.5546C18.3554 11.8723 17.2926 12.9406 15.9816 12.9406Z","fill","white"],["d","M18.0092 20.919C20.3081 20.4483 21.6857 19.354 21.7586 19.2953C22.4313 18.753 22.5393 17.7653 21.9998 17.0891C21.4604 16.4129 20.4778 16.3043 19.805 16.8465C19.7908 16.8581 18.3214 17.991 15.9039 17.9926C13.4864 17.991 11.986 16.8581 11.9718 16.8465C11.2989 16.3043 10.3163 16.4129 9.77694 17.0891C9.23745 17.7653 9.34551 18.753 10.0182 19.2953C10.0921 19.3548 11.5266 20.4776 13.8899 20.9373L10.5962 24.3971C9.99758 25.0211 10.0156 26.0146 10.6363 26.6162C10.9393 26.9099 11.3298 27.0558 11.72 27.0558C12.1291 27.0558 12.5378 26.8952 12.8441 26.5758L15.904 23.2995L19.2729 26.597C19.8833 27.2095 20.8717 27.2085 21.481 26.5953C22.0902 25.9819 22.0895 24.9882 21.4793 24.3758L18.0092 20.919Z","fill","white"],["id","icon-arrow-downloads","viewBox","0 0 16 21"],["d","M8 13.5L8 2.5","stroke","currentColor","stroke-width","1.8","stroke-linecap","round","stroke-linejoin","round"],["d","M13.6364 10.1364C13.9879 9.78493 13.9879 9.21508 13.6364 8.86361C13.2849 8.51213 12.7151 8.51213 12.3636 8.86361L13.6364 10.1364ZM8 14.5L7.36361 15.1364C7.71508 15.4879 8.28493 15.4879 8.6364 15.1364L8 14.5ZM3.6364 8.8636C3.28492 8.51213 2.71508 8.51213 2.3636 8.8636C2.01213 9.21508 2.01213 9.78492 2.3636 10.1364L3.6364 8.8636ZM12.3636 8.86361L7.36361 13.8636L8.6364 15.1364L13.6364 10.1364L12.3636 8.86361ZM8.6364 13.8636L3.6364 8.8636L2.3636 10.1364L7.36361 15.1364L8.6364 13.8636Z","fill","currentColor"],["d","M2 19.5L14 19.5","stroke","currentColor","stroke-width","1.8","stroke-linecap","round","stroke-linejoin","round"],["id","icon-plus","viewBox","0 0 16 16"],["x","7","y","16","width","16","height","2","transform","rotate(-90 7 16)","fill","currentColor"],["id","icon-star","viewBox","0 0 20 20"],["fill-rule","evenodd","clip-rule","evenodd","d","M8.78563 0.0244179L10.9697 0.0305262C10.9565 4.85206 14.854 8.77159 19.6755 8.78564L19.6694 10.9688C19.6691 10.9688 19.6689 10.9688 19.6687 10.9688C14.8466 10.9553 10.9266 14.8534 10.9131 19.6755C10.9131 19.6756 10.9131 19.6757 10.9131 19.6757L8.73094 19.6696C8.74439 14.8475 4.84625 10.9276 0.024164 10.9141L0.0302682 8.73144C4.85226 8.74479 8.77214 4.84669 8.78563 0.024663L8.78563 0.0244179Z","fill","white"],["id","icon-stars","viewBox","0 0 49 39"],["fill-rule","evenodd","clip-rule","evenodd","d","M37.3334 14.0493C37.3606 19.9402 42.1581 24.6937 48.049 24.6666L48.0613 27.3333C42.1703 27.3605 37.4168 32.1581 37.4439 38.0491L34.7771 38.0614L34.7771 38.0611C34.7499 32.1702 29.9524 27.4167 24.0615 27.4438L24.0492 24.777L24.0497 24.777C29.9406 24.7499 34.694 19.9524 34.667 14.0616L37.3334 14.0493Z","fill","#070707"],["fill-rule","evenodd","clip-rule","evenodd","d","M12.0244 5.33301L12.0245 5.33301L12.0306 6.66643C9.08519 6.68005 6.70846 9.07883 6.72203 12.0243L5.38888 12.0304L5.38888 12.0304C5.37529 9.08489 2.97648 6.70812 0.030996 6.72171L0.0307648 6.72171L0.0246113 5.38829L0.0246709 5.38829C2.97011 5.3747 5.34684 2.97598 5.33334 0.0305635L6.66648 0.0244112C6.68011 2.96987 9.07891 5.3466 12.0244 5.33301Z","fill","#070707"],["id","icon-visa","viewBox","0 0 49 16"],["d","M21.2333 15.7692H17.2639L19.7466 0.280762H23.7158L21.2333 15.7692Z","fill","#00579F"],["d","M35.6225 0.659404C34.8396 0.346017 33.5978 0 32.0623 0C28.1425 0 25.3821 2.10895 25.3652 5.12412C25.3327 7.3487 27.3415 8.58429 28.844 9.32604C30.3797 10.084 30.9017 10.5787 30.9017 11.2543C30.8861 12.2919 29.6608 12.7702 28.518 12.7702C26.9332 12.7702 26.0841 12.5236 24.7937 11.9464L24.271 11.6989L23.7156 15.1757C24.6465 15.6036 26.3617 15.9834 28.1425 16C32.3074 16 35.0189 13.9237 35.051 10.7105C35.0669 8.94739 34.0061 7.59639 31.7192 6.49242C30.3309 5.78374 29.4806 5.30589 29.4806 4.58078C29.4969 3.9216 30.1998 3.24643 31.7669 3.24643C33.0573 3.21336 34.0054 3.52631 34.7237 3.83948L35.0827 4.00394L35.6225 0.659404Z","fill","#00579F"],["d","M40.8981 10.2822C41.225 9.3924 42.4828 5.94865 42.4828 5.94865C42.4663 5.98172 42.809 5.04244 43.005 4.46582L43.2824 5.80039C43.2824 5.80039 44.0341 9.50781 44.1973 10.2822C43.577 10.2822 41.6821 10.2822 40.8981 10.2822ZM45.7977 0.280762H42.7274C41.7806 0.280762 41.0613 0.560641 40.6528 1.56584L34.7568 15.769H38.9217C38.9217 15.769 39.6074 13.8573 39.7548 13.4456C40.2117 13.4456 44.2633 13.4456 44.8511 13.4456C44.9651 13.9894 45.3247 15.769 45.3247 15.769H49L45.7977 0.280762Z","fill","#00579F"],["d","M13.9486 0.280762L10.0613 10.8424L9.63656 8.70036C8.91788 6.22875 6.66395 3.5434 4.14868 2.20816L7.7093 15.7528H11.9068L18.1459 0.280762H13.9486Z","fill","#00579F"],["d","M6.45162 0.280762H0.0653342L0 0.59371C4.9817 1.87901 8.28099 4.97
1718 9.63652 8.70102L8.24821 1.58271C8.01965 0.593491 7.31725 0.313392 6.45162 0.280762Z","fill","#FAA61A"],["id","icon-vk","viewBox","0 0 32 32"],["d","M0 15.36C0 8.1192 0 4.49884 2.24942 2.24942C4.49884 0 8.1192 0 15.36 0H16.64C23.8808 0 27.5011 0 29.7506 2.24942C32 4.49884 32 8.1192 32 15.36V16.64C32 23.8808 32 27.5011 29.7506 29.7506C27.5011 32 23.8808 32 16.64 32H15.36C8.1192 32 4.49884 32 2.24942 29.7506C0 27.5011 0 23.8808 0 16.64V15.36Z","fill","#0077FF"],["d","M16.6773 23.0851C9.52858 23.0851 5.45115 18.4192 5.28125 10.6553H8.86213C8.97975 16.3538 11.6196 18.7676 13.7106 19.2653V10.6553H17.0825V15.57C19.1474 15.3584 21.3166 13.1188 22.0484 10.6553H25.4203C24.8583 13.6912 22.5059 15.9308 20.8331 16.8515C22.5059 17.598 25.1852 19.5515 26.2045 23.0851H22.4929C21.6956 20.7211 19.7094 18.892 17.0825 18.6432V23.0851H16.6773Z","fill","white"],["id","icon-yandex-pay","viewBox","0 0 51 21"],["d","M20.5374 10.5002C20.5374 13.0993 19.5007 15.592 17.6553 17.4298C15.81 19.2677 13.3071 20.3002 10.6974 20.3002C8.08768 20.3002 5.58484 19.2677 3.73949 17.4298C1.89413 15.592 0.857422 13.0993 0.857422 10.5002C0.857422 7.90107 1.89413 5.4084 3.73949 3.57055C5.58484 1.73269 8.08768 0.700195 10.6974 0.700195C13.3071 0.700195 15.81 1.73269 17.6553 3.57055C19.5007 5.4084 20.5374 7.90107 20.5374 10.5002Z","fill","#FB3F1D"],["d","M25.7676 4.60938V16.3251H27.7803V12.1994H28.691C31.2719 12.1994 33.1928 10.9836 33.1928 8.40439C33.1928 5.82522 31.389 4.60938 29.019 4.60938H25.7676ZM27.7803 6.22604H29.019C30.6476 6.22604 31.1075 7.32255 31.1075 8.40439C31.1075 9.48623 30.6476 10.5827 29.019 10.5827H27.7803V6.22604Z","fill","black"],["d","M20.452 10.4671C20.452 13.0421 19.4249 15.5116 17.5967 17.3323C15.7685 19.1531 13.289 20.176 10.7035 20.176C8.11807 20.176 5.63852 19.1531 3.81033 17.3323C1.98214 15.5116 0.955078 13.0421 0.955078 10.4671C0.955078 7.8922 1.98214 5.42272 3.81033 3.60196C5.63852 1.7812 8.11807 0.758301 10.7035 0.758301C13.289 0.758301 15.7685 1.7812 17.5967 3.60196C19.4249 5.42272 20.452 7.8922 20.452 10.4671Z","fill","#FB3F1D"],["d","M14.0822 16.2858H12.0477V6.22206H11.1399C9.47552 6.22206 8.60122 7.05901 8.60122 8.29834C8.60122 9.70465 9.20644 10.3579 10.4504 11.1953L11.476 11.8819L8.51698 16.2858H6.31445L8.97089 12.3507C7.44107 11.2621 6.58353 10.2072 6.58353 8.41564C6.58353 6.17156 8.1473 4.64795 11.1231 4.64795H14.0822V16.2858Z","fill","white"],["d","M36.204 4.60938L33.123 16.3251H34.805L35.4584 13.8002H39.1064L39.7491 16.3251H41.8279L38.7469 4.60938H36.204ZM37.2974 6.69178L38.6952 12.1836H35.8766L37.2974 6.69178Z","fill","black"],["d","M41.1738 4.60938L44.6525 11.3242V16.3251H46.6652V11.3242L50.1439 4.60938H48.2137L45.783 9.54886L43.3521 4.60938H41.1738Z","fill","black"],["id","icon-yoomoney","viewBox","0 0 43 31"],["d","M12.533 5.07959V26.4783H7.29249L0.554688 5.07959H12.533Z","fill","#8B3FFD"],["d","M27.4107 0.799805C19.1756 0.799805 12.625 7.40549 12.625 15.4998C12.625 23.6871 19.2692 30.1998 27.4107 30.1998C35.5522 30.1998 42.1964 23.5941 42.1964 15.4998C42.1964 7.40549 35.5522 0.799805 27.4107 0.799805ZM27.4107 20.9891C24.4161 20.9891 21.8895 18.477 21.8895 15.4998C21.8895 12.5226 24.4161 10.0106 27.4107 10.0106C30.4053 10.0106 32.9319 12.5226 32.9319 15.4998C32.8385 18.477 30.4053 20.9891 27.4107 20.9891Z","fill","#8B3FFD"],["id","icon-zen","viewBox","0 0 32 32"],["d","M19.0857 19.0857C16.5714 21.68 16.3886 24.9143 16.1714 32C22.7771 32 27.3371 31.9771 29.6914 29.6914C31.9771 27.3371 32 22.56 32 16.1714C24.9143 16.4 21.68 16.5714 19.0857 19.0857V19.0857ZM0 16.1714C0 22.56 0.0228571 27.3371 2.30857 29.6914C4.66286 31.9771 9.22286 32 15.8286 32C15.6 24.9143 15.4286 21.68 12.9143 19.0857C10.32 16.5714 7.08571 16.3886 0 16.1714V16.1714ZM15.8286 0C9.23429 0 4.66286 0.0228571 2.30857 2.30857C0.0228571 4.66286 0 9.44 0 15.8286C7.08571 15.6 10.32 15.4286 12.9143 12.9143C15.4286 10.32 15.6114 7.08571 15.8286 0V0ZM19.0857 12.9143C16.5714 10.32 16.3886 7.08571 16.1714 0C22.7771 0 27.3371 0.0228571 29.6914 2.30857C31.9771 4.66286 32 9.44 32 15.8286C24.9143 15.6 21.68 15.4286 19.0857 12.9143","fill","#2C3036"],["d","M32 16.1714V15.8286C24.9143 15.6 21.68 15.4286 19.0857 12.9143C16.5714 10.32 16.3886 7.08571 16.1714 0H15.8286C15.6 7.08571 15.4286 10.32 12.9143 12.9143C10.32 15.4286 7.08571 15.6114 0 15.8286V16.1714C7.08571 16.4 10.32 16.5714 12.9143 19.0857C15.4286 21.68 15.6114 24.9143 15.8286 32H16.1714C16.4 24.9143 16.5714 21.68 19.0857 19.0857C21.68 16.5
1714 24.9143 16.3886 32 16.1714","fill","white"],["id","icons-close","viewBox","0 0 26 26"],["d","M1.68652 1.6875L24.3139 24.3149","stroke","white","stroke-width","2","stroke-linecap","round"],["d","M1.68652 24.3145L24.3139 1.68704","stroke","white","stroke-width","2","stroke-linecap","round"],["id","icon-phone","viewBox","0 0 19 18"],["fill-rule","evenodd","clip-rule","evenodd","d","M1.5 0C0.947 0 0.5 0.447 0.5 1C0.5 10.388 8.112 18 17.5 18C18.053 18 18.5 17.553 18.5 17V13.5C18.5 12.948 18.053 12.501 17.5 12.501C16.252 12.501 15.052 12.3 13.928 11.932C13.828 11.9 13.723 11.884 13.619 11.884C13.364 11.884 13.108 11.982 12.913 12.177L10.712 14.38C7.88 12.94 5.565 10.625 4.123 7.794L6.323 5.587C6.598 5.313 6.679 4.918 6.568 4.572C6.2 3.447 5.999 2.247 5.999 1C5.999 0.447 5.552 0 5 0H1.5Z","fill","currentColor"],["id","icon-mail","viewBox","0 0 24 18"],["fill-rule","evenodd","clip-rule","evenodd","d","M2.93482 0H21.0701C22.689 0 24.005 1.30179 24 2.89723V15.1077C24 16.7031 22.684 18 21.0652 18H2.93482C1.31595 18 0 16.7031 0 15.1077V2.89233C0 1.2969 1.31595 0 2.93482 0ZM21.0026 3.56042L15.133 8.83904L21.0274 14.4513C21.2956 14.7053 21.3055 15.1335 21.0523 15.4024C20.9182 15.5419 20.7444 15.6116 20.5656 15.6116C20.4017 15.6116 20.2329 15.5518 20.1038 15.4273L14.1348 9.74038L12.4613 11.2443C12.3372 11.3588 12.1733 11.4186 12.0144 11.4186C11.8555 11.4186 11.6966 11.3638 11.5675 11.2493L9.93869 9.79018L3.93497 15.4224C3.80585 15.5419 3.64198 15.6016 3.47811 15.6016C3.29934 15.6016 3.12057 15.5269 2.98649 15.3875C2.73323 15.1136 2.74813 14.6903 3.01628 14.4364L8.93062 8.88385L2.99145 3.56042C2.71337 3.31143 2.68854 2.88815 2.93683 2.60928C3.18512 2.33041 3.60722 2.30551 3.88531 2.5545L10.3111 8.32113C10.3509 8.35101 10.3856 8.38089 10.4204 8.41575C10.4204 8.42073 10.4253 8.42571 10.4303 8.43069L12.0094 9.84496L20.1038 2.55948C20.3819 2.31049 20.804 2.33539 21.0523 2.60928C21.3006 2.88815 21.2757 3.31143 21.0026 3.56042Z","fill","currentColor"],["id","icon-profile","version","1.1","viewBox","0 0 24 24",0,"xml","space","preserve","xmlns","http://www.w3.org/2000/svg",2,"enable-background","new 0 0 24 24"],["type","text/css"],["cx","12","cy","12","r","11.3",1,"icon-profile-st1"],["d","M12,14.9c-3.5,0-6.5,2-8,5c2,2.1,4.9,3.3,8,3.3s6-1.3,8-3.3C18.5,17,15.5,14.9,12,14.9z",1,"icon-profile-st1"],["cx","12","cy","8.7","r","3.6",1,"icon-profile-st1"],["id","icon-warning","viewBox","0 0 52 52",0,"xml","space","preserve","xmlns","http://www.w3.org/2000/svg"],["fill","currentColor","d","M49.4656715,41.2599487l-20.25-34.4099731C28.5256691,5.6900024,27.3256569,5,25.9956398,5   c-1.3200073,0-2.5299683,0.6900024-3.2099609,1.8499756l-20.25,34.4099731   c-0.710022,1.2000122-0.7200317,2.6400146-0.0300293,3.8500366C3.1856432,46.289978,4.3956652,47,5.7456408,47h40.5100098   c1.3499756,0,2.5599976-0.710022,3.2299805-1.8900146C50.1856422,43.8999634,50.1756325,42.4599609,49.4656715,41.2599487z    M23.9363747,19.8552856h3.3808594v3.1870117l-0.7246094,8.9189453H24.660984l-0.7246094-8.9189453V19.8552856z    M26.9065895,37.1985474c-0.3540039,0.3623047-0.7768555,0.5439453-1.2675781,0.5439453   c-0.4912109,0-0.9140625-0.1816406-1.2680664-0.5439453c-0.3544922-0.3623047-0.53125-0.7939453-0.53125-1.296875   c0-0.5019531,0.1767578-0.9345703,0.53125-1.296875c0.3540039-0.3623047,0.7768555-0.5439453,1.2680664-0.5439453   c0.4907227,0,0.9135742,0.1816406,1.2675781,0.5439453s0.53125,0.7949219,0.53125,1.296875   C27.4378395,36.4046021,27.2605934,36.8362427,26.9065895,37.1985474z"],["name","top"],["appearance","error",3,"opened","close"]],template:function(T,A){1&T&&(n.TgZ(0,"div",0),n.O4$(),n.TgZ(1,"svg",1)(2,"defs")(3,"linearGradient",2),n._UZ(4,"stop",3)(5,"stop",4)(6,"stop",5)(7,"stop",6),n.qZA(),n.TgZ(8,"linearGradient",7),n._UZ(9,"stop",8)(10,"stop",9)(11,"stop",10),n.qZA(),n.TgZ(12,"linearGradient",11),n._UZ(13,"stop",12)(14,"stop",13)(15,"stop",14),n.qZA(),n.TgZ(16,"linearGradient",15),n._UZ(17,"stop",16)(18,"stop",17),n.qZA(),n.TgZ(19,"linearGradient",18),n._UZ(20,"stop",19)(21,"stop",20)(22,"stop",21)(23,"stop",22)(24,"stop",23),n.qZA(),n.TgZ(25,"linearGradient",24),n._UZ(26,"stop",25)(27,"stop",26)(28,"stop",27),n.qZA(),n.TgZ(29,"linearGradient",28),n._UZ(30,"stop",29)(31,"stop",30),n.qZA(),n.TgZ(32,"clipPath",31),n._UZ(33,"rect",32),n.qZA()(),n.TgZ(34,"symbol",33)(35,"g",34),n._UZ(36,"path",35)(37,"path",36),n.qZA(),n._UZ(38,"path",37),n.qZA(),n.TgZ(39,"symbol",38),n._UZ(40,"path",39)(41,"path",40),n.qZA(),n.TgZ(42,"symbol",41),n._UZ(43,"path",42),n.qZA(),n.TgZ(44,"symbol",43),n._UZ(45,"path",44)(46,"path",45),n.qZA(),n.TgZ(47,"symbol",46),n._UZ(48,"path",47)(49,"path",48),n.qZA(),n.TgZ(50,"symbol",49),n._UZ(51,"path",50),n.qZA(),n.TgZ(52,"symbol",51),n._UZ(53,"path",52)(54,"path",53),n.qZA(),n.TgZ(55,"symbol",54),n._UZ(56,"path",55),n.qZA(),n.TgZ(57,"symbol",56),n._UZ(58,"path",57)(59,"path",58)(60,"path",59),n.qZA(),n.TgZ(61,"symbol",60),n._UZ(62,"rect",61)(63,"rect",62)(64,"path",63)(65,"path",64)(66,"rect",65)(67,"rect",66)(68,"path",67),n.qZA(),n.TgZ(69,"symbol",68),n._UZ(70,"path",69)(71,"path",70)(72,"path",71)(73,"path",72)(74,"path",73)(75,"path",74)(76,"path",75)(77,"path",76),n.qZA(),n.TgZ(78,"symbol",77),n._UZ(79,"rect",78)(80,"path",79)(81,"rect",80)(82,"rect",81)(83,"path",82),n.qZA(),n.TgZ(84,"symbol",83),n._UZ(85,"path",84)(86,"path",85)(87,"path",86),n.qZA(),n.TgZ(88,"symbol",87),n._UZ(89,"path",88)(90,"path",89)(91,"path",90),n.qZA(),n.TgZ(92,"symbol",91),n._UZ(93,"rect",92),n.qZA(),n.TgZ(94,"symbol",93),n._UZ(95,"path",94)(96,"path",95),n.qZA(),n.TgZ(97,"symbol",96),n._UZ(98,"path",97)(99,"path",98),n.qZA(),n.TgZ(100,"symbol",99),n._UZ(101,"path",98),n.qZA(),n.TgZ(102,"symbol",100)(103,"g",101),n._UZ(104,"path",102)(105,"path",103)(106,"path",104),n.qZA()(),n.TgZ(107,"symbol",105),n._UZ(108,"path",106)(109,"path",107)(110,"path",108),n.qZA(),n.TgZ(111,"symbol",109),n._UZ(112,"rect",92)(113,"rect",110),n.qZA(),n.TgZ(114,"symbol",111),n._UZ(115,"path",112),n.qZA(),n.TgZ(116,"symbol",113),n._UZ(117,"path",114)(118,"path",115),n.qZA(),n.TgZ(119,"symbol",116),n._UZ(120,"path",117)(121,"path",118)(122,"path",119)(123,"path",120)(124,"path",121),n.qZA(),n.TgZ(125,"symbol",122),n._UZ(126,"path",123)(127,"path",124),n.qZA(),n.TgZ(128,"symbol",125),n._UZ(129,"path",126)(130,"path",127)(131,"path",128)(132,"path",129)(133,"path",130)(134,"path",131),n.qZA(),n.TgZ(135,"symbol",132),n._UZ(136,"path",133)(137,"path",134),n.qZA(),n.TgZ(138,"symbol",135),n._UZ(139,"path",136)(140,"path",137),n.qZA(),n.TgZ(141,"symbol",138),n._UZ(142,"path",139)(143,"path",140),n.qZA(),n.TgZ(144,"symbol",141),n._UZ(145,"path",142),n.qZA(),n.TgZ(146,"symbol",143),n._UZ(147,"path",144),n.qZA(),n.TgZ(148,"symbol",145)(149,"style",146),n._uU(150," .icon-profile-st1 {fill: none;stroke: #000000;stroke-width: 1.5;stroke-linecap: round;stroke-linejoin: round;stroke-miterlimit: 10;}\n"),n.qZA(),n._UZ(151,"circle",147)(152,"path",148)(153,"circle",149),n.qZA(),n.TgZ(154,"symbol",150),n._UZ(155,"path",151),n.qZA()()(),n.kcU(),n._UZ(156,"a",152)(157,"router-outlet"),n.TgZ(158,"ui-simple-popup",153),n.NdJ("
1close",function(){return A.closePopup()}),n.ALo(159,"async"),n.TgZ(160,"h2"),n._uU(161,"\u0427\u0442\u043e-\u0442\u043e \u043d\u0435 \u0442\u0430\u043a..."),n.qZA(),n.TgZ(162,"p"),n._uU(163,"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043a\u043e\u0440\u0437\u0438\u043d\u0443."),n.qZA()(),n._UZ(164,"app-cookie-popup")),2&T&&(n.xp6(158),n.Q6J("opened","cart"===n.lcZ(159,1,A.appPopup)))},dependencies:[E.lC,xt.Z,X,r.Ov],encapsulation:2,changeDetection:0}),G);J=(0,K.gn)([(0,M.c)()],J);var p=i(5046);let P=(()=>{class g{constructor(A,V){this.securityApi=A,this.current=V}resolve(){return this.securityApi.getLogin().pipe((0,nt.K)(()=>(0,Y.of)({user:void 0})),(0,v.b)(({user:A})=>this.current.update({user:A})))}}return g.\u0275fac=function(A){return new(A||g)(n.LFG(w.Eh),n.LFG(p.E))},g.\u0275prov=n.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),a=(()=>{class g{constructor(A,V,ct,dt,_t){this.layout=A,this.route=V,this.router=ct,this.document=dt,this.platformId=_t}ngOnInit(){this.layout.scrollToTop(),(0,r.NF)(this.platformId)&&(this.document.defaultView?.parent?.postMessage({event:"payment",result:"failure"}),this.router.navigate(["/order/failure"]))}}return g.\u0275fac=function(A){return new(A||g)(n.Y36(it.P),n.Y36(E.gz),n.Y36(E.F0),n.Y36(r.K0),n.Y36(n.Lbi))},g.\u0275cmp=n.Xpm({type:g,selectors:[["app-checkout-failure"]],hostAttrs:[1,"page"],decls:0,vars:0,template:function(A,V){},encapsulation:2,changeDetection:0}),g})(),s=(()=>{class g{constructor(A,V,ct,dt,_t){this.layout=A,this.route=V,this.router=ct,this.document=dt,this.platformId=_t}ngOnInit(){this.layout.scrollToTop(),(0,r.NF)(this.platformId)&&(this.document.defaultView?.parent?.postMessage({event:"payment",result:"success"}),this.router.navigate(["/order/success"]))}}return g.\u0275fac=function(A){return new(A||g)(n.Y36(it.P),n.Y36(E.gz),n.Y36(E.F0),n.Y36(r.K0),n.Y36(n.Lbi))},g.\u0275cmp=n.Xpm({type:g,selectors:[["app-checkout-success"]],hostAttrs:[1,"page"],decls:0,vars:0,template:function(A,V){},encapsulation:2,changeDetection:0}),g})();var Et,h=i(4805),C=i(8619),b=i(8180),B=i(95),I=i(6180),R=i(6724),et=i(8196),ut=i(8150),pt=i(433),At=i(6302),at=i(7756),Tt=i(4873),Dt=i(5451),tt=i(9472),Zt=i(5950),Mt=i(7555),Bt=i(8549),ht=i(5579);const Ft=["mainCatalog"];function Q(g,T){if(1&g){const A=n.EpF();n.ynx(0),n.TgZ(1,"ui-block-error",45),n.NdJ("retry",function(){n.CHM(A);const ct=n.oxw(2);return n.KtG(ct.refreshProducts())}),n.ALo(2,"async"),n.qZA(),n.BQk()}if(2&g){const A=n.oxw(2);n.xp6(1),n.Q6J("inProgress",n.lcZ(2,1,A.isProductsLoading))}}function N(g,T){1&g&&(n.TgZ(0,"li",55),n._UZ(1,"ui-product-card-skeleton-widget"),n.qZA())}function c(g,T){if(1&g&&(n.ynx(0),n.TgZ(1,"ul",53),n.YNc(2,N,2,0,"li",54),n.qZA(),n.BQk()),2&g){const A=n.oxw(5);n.xp6(2),n.Q6J("ngForOf",A.skeletonArray)}}function D(g,T){if(1&g){const A=n.EpF();n.TgZ(0,"li",55)(1,"ui-product-card-widget",58),n.NdJ("increaseQuantity",function(){const dt=n.CHM(A).$implicit,_t=n.oxw(7);return n.KtG(_t.changeCartItems(dt,!0))})("decreaseQuantity",function(){const dt=n.CHM(A).$implicit,_t=n.oxw(7);return n.KtG(_t.changeCartItems(dt,!1))})("openComposition",function(ct){n.CHM(A);const dt=n.oxw(7);return n.KtG(dt.openItemCompositionDialog(ct))}),n.ALo(2,"async"),n.ALo(3,"checkCart"),n.qZA()()}if(2&g){const A=T.$implicit,V=n.oxw(7);n.xp6(1),n.Q6J("product",A)("cartProduct",n.lcZ(2,2,n.xi3(3,4,V.cartProducts,A.id)))}}function x(g,T){if(1&g&&(n.TgZ(0,"ul",53),n.YNc(1,D,4,7,"li",57),n.qZA()),2&g){const A=T.ngIf,V=n.oxw(6);n.xp6(1),n.Q6J("ngForOf",A)("ngForTrackBy",V.trackProduct)}}function Z(g,T){if(1&g&&(n.YNc(0,x,2,2,"ul",56),n.ALo(1,"async")),2&g){const A=n.oxw(2).$implicit,V=n.oxw(3);let ct;n.Q6J("ngIf",null==(ct=n.lcZ(1,1,V.productsGroups))?null:ct[A.id])}}function H(g,T){if(1&g&&(n.YNc(0,c,3,1,"ng-container",51),n.ALo(1,"async"),n.YNc(2,Z,2,3,"ng-template",null,52,n.W1O)),2&g){const A=n.MAs(3),V=n.oxw(4);n.Q6J("ngIf",n.lcZ(1,2,V.isProductsLoading))("ngIfElse",A)}}function q(g,T){if(1&g&&n.YNc(0,H,4,4,"ng-template",50),2&g){const A=T.$implicit;n.Q6J("uiTab",A.alias)("label",A.name)}}function ft(g,T){if(1&g){const A=n.EpF();n.ynx(0),n.TgZ(1,"div",46)(2,"h2",47),n._uU(3," \u0417\u0434\u0435\u0441\u044c \u0432\u044b\xa0\u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u044b \u0434\u043b\u044f \u043b\u044e\u0434\u0435\u0439, \u043e\u043a\u0430\u0437\u0430\u0432\u0448\u0438\u0445\u0441\u044f \u0432\xa0\u0441\u043b\u043e\u0436\u043d\u043e\u0439 \u0436\u0438\u0437\u043d\u0435\u043d\u043d\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438. "),n.qZA(),n.TgZ(4,"ui-tabs",48),n.NdJ("tabChanged",function(ct){n.CHM(A);const dt=n.oxw(2);return n.KtG(dt.changeProductsGroup(ct))}),n.ALo(5,"async"),n.YNc(6,q,1,2,null,49),n.ALo(7,"async"),n.qZA()(),n.BQk()}if(2&g){const A=n.oxw(2);n.xp6(4),n.Q6J("selectedTab",n.lcZ(5,3,A.selectedGroupAlias)),n.xp6(2),n.Q6J("ngForOf",n.lcZ(7,5,A.groups))("ngForTrackBy",A.trackGroup)}}function Lt(g,T){if(1&g&&(n.TgZ(0,"section",42,43)(2,"div",15),n.YNc(3,Q,3,3,"ng-container",44),n.YNc(4,ft,8,7,"ng-container",44),n.qZA()()),2&g){const A=T.ngIf;n.xp6(3),n.Q6J("ngIf","failed"===A),n.xp6(1),n.Q6J("ngIf","init"===A||"content"===A)}}function Ot(g,T){if(1&g&&n._UZ(0,"source",63),2&g){const A=n.oxw().$implicit;n.Q6J("type",A.type)("srcset",A.srcset)}}function Ct(g,T){if(1&g&&n._UZ(0,"img",64),2&g){const A=n.oxw().$implicit;n.Q6J("src",A.src,n.LSH)("srcset",A.srcset)}}function kt(g,T){if(1&g&&(n.ynx(0),n.YNc(1,Ot,1,2,"source",61),n.YNc(2,Ct,1,2,"
1img",62),n.BQk()),2&g){const A=T.$implicit;n.xp6(1),n.Q6J("ngIf","img"!==A.type),n.xp6(1),n.Q6J("ngIf","img"===A.type)}}function lt(g,T){if(1&g){const A=n.EpF();n.TgZ(0,"picture",60),n.NdJ("click",function(){n.CHM(A);const ct=n.oxw().index,dt=n.oxw();return n.KtG(dt.openModal(ct))}),n.YNc(1,kt,3,2,"ng-container",22),n.qZA()}if(2&g){const A=n.oxw().$implicit;n.xp6(1),n.Q6J("ngForOf",A.preview)}}function mt(g,T){1&g&&n.YNc(0,lt,2,1,"ng-template",59)}B.ZP.use([B.tl]);let It=((Et=class{constructor(T,A,V,ct,dt){this.dialog=T,this.productsApi=A,this.currentCart=V,this.layout=ct,this.route=dt,this.trackGroup=h.xn,this.trackProduct=h.xn,this.isProductsLoading=new F.X(!1),this.productsScene=new F.X("init"),this.productsGroups=new F.X({}),this.selectedGroupAlias=new F.X(""),this.cartProducts=this.currentCart.pipe((0,ot.U)(({cart:_t})=>_t?.items)),this.skeletonArray=Array(6),this.groups=this.productsApi.getProductGroupsList().pipe((0,ot.U)(({items:_t})=>_t),(0,v.b)(_t=>this.selectedGroupAlias.next(_t[0]?.alias)),(0,rt.d)(1)),this.swiperConfig={loop:!0,slidesPerView:"auto",spaceBetween:16,slideToClickedSlide:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{clickable:!0,el:".swiper-pagination"}},this.modalSwiperConfig=new F.X({loop:!0,slidesPerView:"auto",centeredSlides:!0,preloadImages:!0,spaceBetween:16,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},watchSlidesProgress:!0}),this.isSliderModelOpen=new F.X(!1),this.sliderPictures=[{preview:[{type:"image/webp",srcset:"/assets/img/content/main-slider/img-slider-main-1.webp, /assets/img/content/main-slider/[email protected] 2x"},{type:"img",src:"/assets/img/content/main-slider/img-slider-main-1.jpg",srcset:"/assets/img/content/main-slider/[email protected] 2x"}],detail:[{type:"image/webp",srcset:"/assets/img/content/main-slider/img-slider-main-1-desktop.webp, /assets/img/content/main-slider/[email protected] 2x"},{type:"img",src:"/assets/img/content/main-slider/img-slider-main-1-desktop.jpg",srcset:"/assets/img/content/main-slider/[email protected] 2x"}]},{preview:[{type:"image/webp",srcset:"/assets/img/content/main-slider/img-slider-main-2.webp, /assets/img/content/main-slider/[email protected] 2x"},{type:"img",src:"/assets/img/content/main-slider/img-slider-main-2.jpg",srcset:"/assets/img/content/main-slider/[email protected] 2x"}],detail:[{type:"image/webp",srcset:"/assets/img/content/main-slider/img-slider-main-2-desktop.webp, /assets/img/content/main-slider/[email protected] 2x"},{type:"img",src:"/assets/img/content/main-slider/img-slider-main-2-desktop.jpg",srcset:"/assets/img/content/main-slider/[email protected] 2x"}]},{preview:[{type:"image/webp",srcset:"/assets/img/content/main-slider/img-slider-main-3.webp, /assets/img/content/main-slider/[email protected] 2x"},{type:"img",src:"/assets/img/content/main-slider/img-slider-main-3.jpg",srcset:"/assets/img/content/main-slider/[email protected] 2x"}],detail:[{type:"image/webp",srcset:"/assets/img/content/main-slider/img-slider-main-3-desktop.webp, /assets/img/content/main-slider/[email protected] 2x"},{type:"img",src:"/assets/img/content/main-slider/img-slider-main-3-desktop.jpg",srcset:"/assets/img/content/main-slider/[email protected] 2x"}]},{preview:[{type:"image/webp",srcset:"/assets/img/content/main-slider/img-slider-main-4.webp, /assets/img/content/main-slider/[email protected] 2x"},{type:"img",src:"/assets/img/content/main-slider/img-slider-main-4.jpg",srcset:"/assets/img/content/main-slider/[email protected] 2x"}],detail:[{type:"image/webp",srcset:"/assets/img/content/main-slider/img-slider-main-4-desktop.webp, /assets/img/content/main-slider/[email protected] 2x"},{type:"img",src:"/assets/img/content/main-slider/img-slider-main-4-desktop.jpg",srcset:"/assets/img/content/main-slider/[email protected] 2x"}]},{preview:[{type:"image/webp",srcset:"/assets/img/content/main-slider/img-slider-main-2.webp, /assets/img/content/main-slider/[email protected] 2x"},{type:"img",src:"/assets/img/content/main-slider/img-slider-main-2.jpg",srcset:"/assets/img/content/main-slider/[email protected] 2x"}],detail:[{type:"image/webp",srcset:"/assets/img/content/main-slider/img-slider-main-2-desktop.webp, /assets/img/content/main-slider/[email protected] 2x"},{type:"img",src:"/assets/img/content/main-slider/img-slider-main-2-desktop.jpg",srcset:"/assets/img/content/main-slider/[email protected] 2x"}]},{preview:[{type:"image/webp",srcset:"/assets/img/content/main-slider/img-slider-main-3.webp, /assets/img/content/main-slider/[email protected] 2x"},{type:"img",src:"/assets/img/content/main-slider/img-slider-main-3.jpg",srcset:"/assets/img/content/main-slider/[email protected] 2x"}],detail:[{type:"image/webp",srcset:"/assets/img/content/main-slider/img-slider-main-3-desktop.webp, /assets/img/content/main-slider/[email protected] 2x"},{type:"img",src:"/assets/img/content/main-slider/img-slider-main-3-desktop.jpg",srcset:"/assets/img/content/main-slider/[email protected] 2x"}]}],this.cart=this.currentCart.select(_t=>_t.cart)}ngOnInit(){this.layout.scrollToTop(),this.refreshProducts(),(0,S.a)([this.groups.pipe((0,z.h)(T=>T&&T.length>0),(0,b.q)(1)),this.route.fragment.pipe((0,z.h)(T=>!!T),(0,b.q)(1))]).subscribe(([T,A])=>{null!==A&&T.some(ct=>ct.alias===A)&&(this.changeProductsGroup(A),this.mainCatalog&&this.mainCatalog.nativeElement.scrollIntoView({behavior:"smooth",block:"start"}))})}getProducts(){return this.isProductsLoading.next(!0),this.groups.pipe((0,W.w)(T=>(0,S.a)(T?.reduce((A,V)=>(A[V.id]=this.productsApi.getProductsList([V.id],0,12).pipe((0,ot.U)(({items:ct})=>ct),(0,v.b)(()=>this.productsScene.next("content")),(0,nt.K)(ct=>(this.productsScene.next("failed"),(0,Y.of)([])))),A),{})||[])),(0,v.b)(()=>this.isProductsLoading.next(!1)))}refreshProducts(){this.getProducts().pipe((0,b.q)(1),(0,M.t)(this)).subscribe(T=>this.productsGroups.next(T))}openModal(T){this.modalSwiperConfig.next({...this.modalSwiperConfig.value,initialSlide:T}),this.isSliderModelOpen.next(!0)}changeProductsGroup(T){this.selectedGroupAlias.next(T)}changeCartItems(T,A){A?this.currentCart.addItem(T):this.currentCart.removeItem(T)}openItemCompositionDialog(T){this.dialog.open(C.G,{data:{items:T}})}}).\u0275fac=function(T){return new(T||Et)(n.Y36(f.uw),n.Y36(w.b0),n.Y36(st.I),n.Y36(it.P),n.Y36(E.gz))},Et.\u0275cmp=n.Xpm({type:Et,selectors:[["app-index-page"]],viewQuery:function(T,A){if(1&T&&n.Gf(Ft,5),2&T){let V;n.iGM(V=n.CRH())&&(A.mainCatalog=V.first)}},hostAttrs:[1,"page"],decls:65,vars:8,consts:[["uiLayout",""],[1,"intro"],[1,"intro__wrapper"],[1,"intro__block"],[1,"intro__img-bg"],["type","image/webp","media","(min-width: 1024px)","srcset","/assets/img/content/intro-bg-desktop.webp, /assets/img/content/[email protected] 2x"],["type","image/webp","srcset","/assets/img/content/intro-bg.webp, /assets/img/content/[email protected] 2x"],["media","(min-width: 1024px)","srcset","/assets/img/content/intro-bg-desktop.jpg 1x,/assets/img/content/[email protected] 2x"],["src","/assets/img/content/intro-bg.jpg","srcset","/assets/img/content/[email protected] 2x","width","375","height","510","alt","\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0438\u043d\u0442\u0440\u043e","loading","lazy"],[1,"intro__block-text"],[1,"intro__block-text-wrapper"],[1,"intro__text"],["class","main-catalog",4,"ngIf"],[1,"donation"],[1,"help-slider-main"],[1,"container"],[1,"help-slider-main__block"],[1,"help-slider-main__text"],[1,"help-slider-main__swiper"],[1,"image-gallery"],[1,"image-gallery__wrapper",3,"config"],["carousel",""],[4,"ngFor","ngForOf"],[1,"swiper-button-next","btn","btn--swiper",3,"click"],["width","16","height","8","aria-hidden","true"],[0,"xlink","href","#icon-arrow"],[1,"swiper-button-prev","btn","btn--swiper",3,"click"],[1,"swiper-pagination","swiper-pagination-bullets","swiper-pagination-horizontal"],[3,"swiperConfig","isSliderModelOpen","sliderModalPictures"],[1,"about-fund"],[1,"about-fund__wrapper"],[1,"text-image-block"],[1,"text-image-block__picture"],["type","image/webp","srcset","/assets/img/content/image-1.webp, /assets/img/content/[email protected] 2x"],["src","/assets/img/content/image-1.jpg","srcset","/assets/img/content/[email protected] 2x","width","343","height","228","alt","\u0424\u043e\u043d\u043e\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430","loading","lazy"],[1,"text-image-block__title"],[1,"text-image-block__text-wrapper"],[1,"text-image-block__text"],[1,"mobile-only"],[1,"about-fund__button"],["uiButton","","size","medium","color","white","routerLink","/about"],[1,"subscribe"],[1,"main-catalog"],["mainCatalog",""],[4,"ngIf"],[3,"inProgress","retry"],[1,"main-catalog__wrapper"],[1,"main-catalog__title"],[1,"main-catalog__tabs",3,"selectedTab","tabChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"uiTab","label"],[4,"ngIf","ngIfElse"],["productsList",""],[1,"main-catalog__list"],["class","main-catalog__item",4,"ngFor","ngForOf"],[1,"main-catalog__item"],["class","main-catalog__list",4,"ngIf"],["class","main-catalog__item",4,"ngFor","ngForOf","ngForTrackBy"],[3,"product","cartProduct","increaseQuantity","decreaseQuantity","openComposition"],["swiperSlide","","class","image-gallery__element"],[3,"click"],[3,"type","srcset",4,"ngIf"],["width","236","height","160","alt","\u0421\u043b\u0430\u0439\u0434\u0435\u0440 \u0444\u043e\u0442\u043e","loading","lazy",3,"src","srcset",4,"ngIf"],[3,"type","srcset"],["width","236","height","160","alt","\u0421\u043b\u0430\u0439\u0434\u0435\u0440 \u0444\u043e\u0442\u043e","loading","lazy",3,"src","srcset"]],template:function(T,A){if(1&T){const V=n.EpF();n._UZ(0,"ui-header-widget"),n.TgZ(1,"main",0)(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"picture"),n._UZ(7,"source",5)(8,"source",6)(9,"source",7)(10,"img",8),n.qZA()(),n.TgZ(11,"div",9)(12,"div",10)(13,"div",11)(14,"h1"),n._uU(15,"\u0414\u0430\u0440\u0438 \u0435\u0434\u0443 \u2013"),n.qZA(),n.TgZ(16,"p"),n._uU(17,"\u0431\u043b\u0430\u0433\u043e\u0442\u0432\u043e\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 c\u0431\u043e\u0440 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u0434\u043b\u044f \u043d\u0443\u0436\u0434\u0430\u044e\u0449\u0438\u0445\u0441\u044f"),n.qZA()()()()()()(),n.YNc(18,Lt,5,2,"section",12),n.ALo(19,"async"),n._UZ(20,"ui-donation-form",13),n.TgZ(21,"section",14)(22,"div",15)(23,"div",16)(24,"div",17)(25,"h3"),n._uU(26,"\u041f\u043e\u043c\u043e\u0449\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0442 \u0441\u0435\u043c\u044c\u0438 \u0441\xa0\u0434\u0435\u0442\u044c\u043c\u0438-\u0438\u043d\u0432\u0430\u043b\u0438\u0434\u0430\u043c\u0438, \u043c\u043d\u043e\u0433\u043e\u0434\u0435\u0442\u043d\u044b\u0435 \u0441\u0435\u043c\u044c\u0438, \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u0438-\u043e\u0434\u0438\u043d\u043e\u0447\u043a\u0438, \u0441\u0438\u0440\u043e\u0442\u044b, \u043f\u043e\u0436\u0438\u043b\u044b\u0435 \u043b\u044e\u0434\u0438, \u0438\u043d\u0432\u0430\u043b\u0438\u0434\u044b, \u0431\u0435\u0437\u0434\u043e\u043c\u043d\u044b\u0435."),n.qZA()(),n.TgZ(27,"div",18)(28,"div",19)(29,"swiper",20,21),n.YNc(31,mt,1,0,null,22),n.qZA(),n.TgZ(32,"div",23),n.NdJ("
1click",function(){n.CHM(V);const dt=n.MAs(30);return n.KtG(dt.swiperRef.slideNext())}),n.O4$(),n.TgZ(33,"svg",24),n._UZ(34,"use",25),n.qZA()(),n.kcU(),n.TgZ(35,"div",26),n.NdJ("click",function(){n.CHM(V);const dt=n.MAs(30);return n.KtG(dt.swiperRef.slidePrev())}),n.O4$(),n.TgZ(36,"svg",24),n._UZ(37,"use",25),n.qZA()(),n.kcU(),n._UZ(38,"div",27),n.qZA()()()(),n._UZ(39,"ui-modal-slider",28),n.qZA(),n.TgZ(40,"section",29)(41,"div",15)(42,"div",30)(43,"div",31)(44,"div",32)(45,"picture"),n._UZ(46,"source",33)(47,"img",34),n.qZA()(),n.TgZ(48,"h2",35),n._uU(49,"\u041e \u0444\u043e\u043d\u0434\u0435"),n.qZA(),n.TgZ(50,"div",36)(51,"div",37)(52,"p"),n._uU(53,"\u0421\xa0\u043e\u043a\u0442\u044f\u0431\u0440\u044f 2016 \u0433\u043e\u0434\u0430 \u0431\u043b\u0430\u0433\u043e\u0442\u0432\u043e\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0414\u0430\u0440\u0438 \u0435\u0434\u0443 \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432\u0443\u044e \u043f\u043e\u043c\u043e\u0449\u044c \u043b\u044e\u0434\u044f\u043c, \u043e\u043a\u0430\u0437\u0430\u0432\u0448\u0438\u043c\u0441\u044f \u0432\xa0\u0441\u043b\u043e\u0436\u043d\u043e\u0439 \u0436\u0438\u0437\u043d\u0435\u043d\u043d\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438."),n.qZA()(),n.TgZ(54,"div",37)(55,"p"),n._uU(56,"\u041c\u044b\xa0\u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u044b, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439, "),n._UZ(57,"br",38),n._uU(58,"\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0439 \u0438\xa0\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442. \u0422\u0430\u043a\u0430\u044f \u043f\u043e\u043c\u043e\u0449\u044c \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u044b\u043b\u0430 \u0438\xa0\u0431\u0443\u0434\u0435\u0442 \u043d\u0443\u0436\u043d\u0430 \u043b\u044e\u0434\u044f\u043c."),n.qZA()()()(),n._UZ(59,"ui-about-fund-stats"),n.TgZ(60,"div",39)(61,"a",40),n._uU(62,"\u0423\u0437\u043d\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435"),n.qZA()()()()(),n._UZ(63,"ui-newsletter-subscription-form",41),n.qZA(),n._UZ(64,"ui-footer-widget")}2&T&&(n.xp6(18),n.Q6J("ngIf",n.lcZ(19,6,A.productsScene)),n.xp6(11),n.Q6J("config",A.swiperConfig),n.xp6(2),n.Q6J("ngForOf",A.sliderPictures),n.xp6(8),n.Q6J("swiperConfig",A.modalSwiperConfig)("isSliderModelOpen",A.isSliderModelOpen)("sliderModalPictures",A.sliderPictures))},dependencies:[r.sg,r.O5,E.rH,I.$,R.u,et.O,ut.E,pt.N,At.nF,At.YC,at.E,Tt.p,Dt.Z,tt.Y,Zt.N,Mt.n,Bt.w,bt.r,r.Ov,ht.A],encapsulation:2,changeDetection:0}),Et);It=(0,K.gn)([(0,M.c)()],It);const Kt=new n.OlP("RESPONSE");let Wt=(()=>{class g{constructor(A,V){this.layout=A,this.response=V,this.platformId=(0,n.f3M)(n.Lbi),(0,r.PM)(this.platformId)&&this.response?.status(404)}ngOnInit(){this.layout.scrollToTop()}}return g.\u0275fac=function(A){return new(A||g)(n.Y36(it.P),n.Y36(Kt,8))},g.\u0275cmp=n.Xpm({type:g,selectors:[["app-not-found"]],hostAttrs:[1,"page"],decls:14,vars:0,consts:[["data-main",""],[1,"page-404"],[1,"container"],[1,"page-404__wrapper"],[1,"page-404__title"],["routerLink","/",1,"btn","page-404__button"]],template:function(A,V){1&A&&(n._UZ(0,"ui-header-widget"),n.TgZ(1,"main",0)(2,"section",1)(3,"div",2)(4,"div",3)(5,"h1",4),n._uU(6,"\u041e\u0448\u0438\u0431\u043a\u0430 404"),n.qZA(),n.TgZ(7,"p"),n._uU(8,"\u041a\xa0\u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430, \u043d\u0430\xa0\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u044b\xa0\u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u043f\u043e\u043f\u0430\u0441\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 (\u0438\u043b\u0438 \u0435\u0449\u0435) \u043d\u0435\xa0\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442."),n.qZA(),n.TgZ(9,"p"),n._uU(10,"\u0412\u044b\xa0\u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043d\u0430\xa0\u0433\u043b\u0430\u0432\u043d\u0443\u044e."),n.qZA(),n.TgZ(11,"a",5),n._uU(12,"\u041d\u0430 \u0433\u043b\u0430\u0432\u043d\u0443\u044e "),n.qZA()()()()(),n._UZ(13,"ui-footer-widget"))},dependencies:[R.u,et.O,E.rH],encapsulation:2,changeDetection:0}),g})();function Ut(g){return()=>{const T=(0,n.f3M)(E.F0);return(0,n.f3M)(w.Eh).getLogin().pipe((0,nt.K)(()=>(0,Y.of)({user:void 0,lastUsername:void 0,error:void 0})),(0,ot.U)(({user:A})=>!A||(T.navigate(g),!1)))}}const jt=[{path:"",resolve:{current:P},children:[{path:"",pathMatch:"full",component:It,data:{title:"\u0411\u043b\u0430\u0433\u043e\u0442\u0432\u043e\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u043e\u043d\u0434 \u0414\u0430\u0440\u0438\u0435\u0434\u0443"}},{path:"login",canActivate:[Ut(["/"])],loadChildren:()=>i.e(567).then(i.bind(i,9567)).then(g=>g.LoginPageModule)},{path:"registration",canActivate:[Ut(["/"])],loadChildren:()=>Promise.all([i.e(324),i.e(233)]).then(i.bind(i,6233)).then(g=>g.RegistrationPageModule)},{path:"cabinet",canActivate:[function o(g){return()=>{const T=(0,n.f3M)(E.F0);return(0,n.f3M)(w.Eh).getLogin().pipe((0,nt.K)(()=>(0,Y.of)({user:void 0,lastUsername:void 0,error:void 0})),(0,ot.U)(({user:A})=>!!A||(T.navigate(g),!1)))}}(["/"])],loadChildren:()=>Promise.all([i.e(277),i.e(324),i.e(345)]).then(i.bind(i,2345)).then(g=>g.CabinetPageModule)},{path:"checkout",children:[{path:"success",component:s,data:{title:"\u041f\u043b\u0430\u0442\u0451\u0436 \u043f\u0440\u043e\u0448\u0451\u043b \u0443\u0441\u043f\u0435\u0448\u043d\u043e"}},{path:"failure",component:a,data:{title:"\u041f\u043b\u0430\u0442\u0451\u0436 \u043d\u0435 \u043f\u0440\u043e\u0448\u0451\u043b"}}]},{path:"help",loadChildren:()=>i.e(507).then(i.bind(i,2507)).then(g=>g.HelpPageModule)},{path:"documents",loadChildren:()=>i.e(335).then(i.bind(i,335)).then(g=>g.DocumentsPageModule)},{path:"about",loadChildren:()=>Promise.all([i.e(277),i.e(114),i.e(995),i.e(592),i.e(282)]).then(i.bind(i,3282)).then(g=>g.AboutPageModule)},{path:"faq",loadChildren:()=>Promise.all([i.e(277),i.e(114),i.e(235)]).then(i.bind(i,9235)).then(g=>g.FaqPageModule)},{path:"boxes",loadChildren:()=>Promise.all([i.e(277),i.e(114),i.e(995),i.e(592),i.e(606)]).then(i.bind(i,5606)).then(g=>g.BoxesPageModule)},{path:"partners",loadChildren:()=>Promise.all([i.e(592),i.e(50)]).then(i.bind(i,1050)).then(g=>g.PartnersPageModule)},{path:"become-a-partner",loadChildren:()=>Promise.all([i.e(277),i.e(114),i.e(12)]).then(i.bind(i,7012)).then(g=>g.BecomeAPartnerPageModule)},{path:"for-press",loadChildren:()=>i.e(923).then(i.bind(i,6923)).then(g=>g.PressPageModule)},{path:"payment-products",redirectTo:"payment"},{path:"payment",loadChildren:()=>Promise.all([i.e(995),i.e(592),i.e(556)]).then(i.bind(i,5556)).then(g=>g.PaymentPageModule)},{path:"contacts",loadChildren:()=>i.e(713).then(i.bind(i,9713)).then(g=>g.ContactsPageModule)},{path:"reports",loadChildren:()=>Promise.all([i.e(592),i.e(525)]).then(i.bind(i,5525)).then(g=>g.ReportsPageModule)},{path:"offer",loadChildren:()=>i.e(198).then(i.bind(i,7198)).then(g=>g.OfferPageModule)},{path:"privacy",loadChildren:()=>i.e(552).then(i.bind(i,1552)).then(g=>g.PrivacyPageModule)},{path:"data-consent",loadChildren:()=>i.e(463).then(i.bind(i,6463)).then(g=>g.DataConsentPageModule)},{path:"payment-security",loadChildren:()=>i.e(445).then(i.bind(i,1445)).then(g=>g.PaymentSecurityPageModule)},{path:"volunteers",loadChildren:()=>i.e(434).then(i.bind(i,8434)).then(g=>g.VolunteersPageModule)},{path:"need-help",loadChildren:()=>Promise.all([i.e(277),i.e(114),i.e(424)]).then(i.bind(i,5424)).then(g=>g.NeedHelpPageModule)},{path:"blog",children:[{path:"",pathMatch:"full",redirectTo:"/news"},{path:":id",redirectTo:"/news/:id"}]},{path:"news",loadChildren:()=>i.e(423).then(i.bind(i,2423)).then(g=>g.NewsPageModule)},{path:"cart",loadChildren:()=>Promise.all([i.e(592),i.e(737)]).then(i.bind(i,8737)).then(g=>g.CartPageModule)},{path:"order",loadChildren:()=>i.e(296).then(i.bind(i,7296)).then(g=>g.OrderPageModule)},{path:"partnerorder",loadChildren:()=>i.e(769).then(i.bind(i,9769)).then(g=>g.PartnerOrderPageModule)},{path:"targeted-help",loadChildren:()=>Promise.all([i.e(995),i.e(592),i.e(264)]).then(i.bind(i,8264)).then(g=>g.TargetedHelpPageModule)},{path:"subscription",loadChildren:()=>Promise.all([i.e(592),i.e(494)]).then(i.bind(i,5494)).then(g=>g.SubscriptionLandingModule)},{path:"",loadChildren:()=>Promise.all([i.e(592),i.e(642)]).then(i.bind(i,3642)).then(g=>g.LandingPageModule)},{path:"**",pathMatch:"full",component:Wt,data:{title:"\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430"}}]}];let Jt=(()=>{class g{}return g.\u0275fac=function(A){return new(A||g)},g.\u0275mod=n.oAB({type:g}),g.\u0275inj=n.cJS({imports:[E.Bz.forRoot(jt,{onSameUrlNavigation:"reload",initialNavigation:"enabledBlocking",scrollPositionRestoration:"disabled"}),E.Bz]}),g})(),Qt=(()=>{class g{}return g.\u0275fac=function(A){return new(A||g)},g.\u0275mod=n.oAB({type:g}),g.\u0275inj=n.cJS({imports:[r.ez]}),g})(),Yt=(()=>{class g{}return g.\u0275fac=function(A){return new(A||g)},g.\u0275mod=n.oAB({type:g}),g.\u0275inj=n.cJS({imports:[r.ez]}),g})(),Gt=(()=>{class g{}return g.\u0275fac=function(A){return new(A||g)},g.\u0275mod=n.oAB({type:g}),g.\u0275inj=n.cJS({imports:[Yt,Qt]}),g})();var zt=i(4909),$t=i(5901),Vt=i(69),St=i(868),Xt=i(3666),Ht=i(6522),qt=i(2881),te=i(5674),ee=i(5462),ne=i(3481);let ie=(()=>{class g{}return g.\u0275fac=function(A){return new(A||g)},g.\u0275mod=n.oAB({type:g}),g.\u0275inj=n.cJS({imports:[r.ez,E.Bz,zt.D,Ht.x,Xt.s,te.I,At.kz,$t.u,ee.i,qt.a,Vt.c,f.Is,ne.P,St.h]}),g})(),oe=(()=>{class g{}return g.\u0275fac=function(A){return new(A||g)},g.\u0275mod=n.oAB({type:g}
1),g.\u0275inj=n.cJS({imports:[r.ez,Ht.x]}),g})(),ue=(()=>{class g{}return g.\u0275fac=function(A){return new(A||g)},g.\u0275mod=n.oAB({type:g}),g.\u0275inj=n.cJS({providers:[vt.N],imports:[r.ez,St.h]}),g})();(0,r.qS)(_.Z,"ru");let Rt=[];typeof process<"u"||(Rt=[{provide:n.qLn,useValue:t.v$({showDialog:!1})},{provide:t.aN,deps:[E.F0]},{provide:n.ip1,useFactory:()=>()=>{},deps:[t.aN],multi:!0}]);let re=(()=>{class g{}return g.\u0275fac=function(A){return new(A||g)},g.\u0275mod=n.oAB({type:g,bootstrap:[J]}),g.\u0275inj=n.cJS({providers:[{provide:n.soG,useValue:"ru"},{provide:w.VK,deps:[n.Lbi],useFactory:T=>new w.VK({basePath:(0,r.NF)(T)?location.origin:L.N.publicUrl})},{provide:u.Ad,useValue:"ru-Ru"},{provide:u.sG,useValue:{parse:{dateInput:"dd.LL.yyyy"},display:{dateInput:"dd.LL.yyyy",monthLabel:"MMMM",monthYearLabel:"LLL yyyy",dateA11yLabel:"d MMMM yyyy",monthYearA11yLabel:"LLLL yyyy"}}},{provide:f.Bq,useValue:{maxWidth:"90vw"}},(0,O.np)(),...Rt],imports:[e.b2.withServerTransition({appId:"serverApp"}),m.PW,l.JF,Jt,w.au,ie,Gt,oe,f.Is,k.e,ue]}),g})();function Nt(){e.q6().bootstrapModule(re).catch(g=>console.error(g))}L.N.production&&(0,n.G48)(),t.S1({dsn:"https://[email protected]/2",environment:L.N.production?"prod":"staging",integrations:[new d.gE({tracePropagationTargets:["http://dariedu2.lc/api","https://dariedu.ru/api"],routingInstrumentation:t.$q})],ignoreErrors:["jQuery is not defined","Can't find variable: jQuery"],tracesSampleRate:1}),"complete"===document.readyState?Nt():document.addEventListener("DOMContentLoaded",Nt)},5579:(U,y,i)=>{i.d(y,{A:()=>t});var e=i(7398),n=i(5879);let t=(()=>{class d{transform(l,_){if(l)return l.pipe((0,e.U)(u=>u&&u.find(f=>f.productId===_)))}}return d.\u0275fac=function(l){return new(l||d)},d.\u0275pipe=n.Yjl({name:"checkCart",type:d,pure:!0}),d})()},443:(U,y,i)=>{i.d(y,{E:()=>n});var e=i(5879);let n=(()=>{class t{transform(r,l=5){if(!r)return"";const _=r.split(",");return _.length>5?_.slice(0,l).join(",").concat("... "):r}}return t.\u0275fac=function(r){return new(r||t)},t.\u0275pipe=e.Yjl({name:"cutDescription",type:t,pure:!0}),t})()},1736:(U,y,i)=>{i.d(y,{H:()=>n});var e=i(5879);let n=(()=>{class t{transform(r){if(!(typeof r>"u"||null===r)&&"object"==typeof r)return Object.keys(r).shift()}}return t.\u0275fac=function(r){return new(r||t)},t.\u0275pipe=e.Yjl({name:"firstKey",type:t,pure:!0}),t})()},3478:(U,y,i)=>{i.d(y,{T:()=>t});var e=i(1962),n=i(5879);let t=(()=>{class d{transform(l){return(0,e.I)(l)}}return d.\u0275fac=function(l){return new(l||d)},d.\u0275pipe=n.Yjl({name:"humanizeMoney",type:d,pure:!0}),d})()},4909:(U,y,i)=>{i.d(y,{D:()=>e.D});var e=i(6556)},902:(U,y,i)=>{i.d(y,{L:()=>n});var e=i(5879);let n=(()=>{class t{transform(r,l=!1,_="RUB"){if(null===r||typeof r>"u")return"";r="string"==typeof r?parseFloat(r):r;const u=l||r%1!=0;return r.toLocaleString("ru",{style:"currency",currency:_,minimumFractionDigits:u?2:0,maximumFractionDigits:u?2:0})}}return t.\u0275fac=function(r){return new(r||t)},t.\u0275pipe=e.Yjl({name:"money",type:t,pure:!0}),t})()},2610:(U,y,i)=>{i.d(y,{$:()=>n});var e=i(5879);let n=(()=>{class t{transform(r,l=!1){if(typeof r>"u"||null===r)return"";r="string"==typeof r?parseFloat(r):r;const _=l||r%1!=0;return r?.toLocaleString("ru",{style:"decimal",minimumFractionDigits:_?2:0,maximumFractionDigits:_?2:0})}}return t.\u0275fac=function(r){return new(r||t)},t.\u0275pipe=e.Yjl({name:"number",type:t,pure:!0}),t})()},9718:(U,y,i)=>{i.d(y,{M:()=>t});var e=i(5879);const n={"ru-full":d=>new Date(d).toLocaleString("ru-RU",{day:"numeric",month:"long",year:"numeric"}).slice(0,-3),"date-time":d=>d.slice(0,10)};let t=(()=>{class d{transform(l,_="ru-full"){if(l)return n[_](l.toString())}}return d.\u0275fac=function(l){return new(l||d)},d.\u0275pipe=e.Yjl({name:"parseDate",type:d,pure:!0}),d})()},9784:(U,y,i)=>{i.d(y,{p:()=>n});var e=i(5879);let n=(()=>{class t{transform(r,l,_=100){const u=Math.round(r/l*100);return Math.min(100,u)}}return t.\u0275fac=function(r){return new(r||t)},t.\u0275pipe=e.Yjl({name:"percents",type:t,pure:!0}),t})()},6556:(U,y,i)=>{i.d(y,{D:()=>K}),i(5579),i(443);var t=i(5879);i(1736),i(3478),i(902),i(2610),i(9718),i(9784),i(1722),i(4583);let K=(()=>{class M{}return M.\u0275fac=function(F){return new(F||M)},M.\u0275mod=t.oAB({type:M}),M.\u0275inj=t.cJS({}),M}
1)()},1722:(U,y,i)=>{i.d(y,{O:()=>d});var e=i(2096),n=i(8645),t=i(5879);let d=(()=>{class r{transform(_){if(!_)return(0,e.of)(null);const u=new n.x,f=new FileReader;return f.readAsDataURL(_),f.onload=function(){u.next(f.result)},f.onerror=function(m){u.error(m)},u.asObservable()}}return r.\u0275fac=function(_){return new(_||r)},r.\u0275pipe=t.Yjl({name:"readFile",type:r,pure:!0}),r})()},4583:(U,y,i)=>{i.d(y,{A:()=>t});var e=i(5879),n=i(6593);let t=(()=>{class d{constructor(l){this.sanitizer=l}transform(l){return l?this.sanitizer.bypassSecurityTrustHtml(l):""}}return d.\u0275fac=function(l){return new(l||d)(e.Y36(n.H7,16))},d.\u0275pipe=e.Yjl({name:"sanitizeHtml",type:d,pure:!0}),d})()},222:(U,y,i)=>{i.d(y,{I:()=>d});var e=i(5562),n=i(7398),t=i(5879);let d=(()=>{class r extends e.O{constructor(){super({cart:null}),this.cartItemsAmount=this.select(_=>_.cart?.items.reduce((u,f)=>u+(f?f.quantity:0),0)),this.totalPrice=this.select(_=>_.cart?.items).pipe((0,n.U)(_=>_&&_.length?_.reduce((u,f)=>u+f.price*f.quantity,0):0))}addItem(_){this.update(u=>{if(!u.cart)return u;const f=u.cart?.items.findIndex(m=>m.productId===_.id);return-1===f?u.cart.items.push({productId:_.id,title:_.name,price:_.price,quantity:1}):++u.cart.items[f].quantity,u})}removeItem(_){this.update(u=>{if(!u.cart)return u;const f=u.cart?.items.findIndex(m=>m.productId===_.id);return f>-1&&(--u.cart.items[f].quantity,u.cart.items[f].quantity<=0&&u.cart.items.splice(f,1)),u})}}return r.\u0275fac=function(_){return new(_||r)},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})()},5046:(U,y,i)=>{i.d(y,{E:()=>u});var e=i(5562),n=i(2096),t=i(6306),d=i(9397),r=i(4664),l=i(5879),_=i(87);let u=(()=>{class f extends e.O{constructor(E){super({user:void 0}),this.securityApi=E,this.user=this.select(L=>L.user)}refresh(){return this.securityApi.getLogin().pipe((0,t.K)(()=>(0,n.of)({user:void 0,lastUsername:void 0,error:void 0})),(0,d.b)(E=>this.update({user:E.user})))}logout(){return this.securityApi.getLogout().pipe((0,r.w)(()=>this.refresh()))}}return f.\u0275fac=function(E){return new(E||f)(l.LFG(_.Eh))},f.\u0275prov=l.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})()},2373:(U,y,i)=>{i.d(y,{E:()=>e.E});var e=i(5046)},87:(U,y,i)=>{i.d(y,{gl:()=>l,au:()=>J,Qp:()=>u,gz:()=>f,xZ:()=>m,EK:()=>E,VK:()=>r,St:()=>gt,ri:()=>w,XY:()=>k,TJ:()=>O,mZ:()=>K,ow:()=>M,iF:()=>xt,WJ:()=>F,H_:()=>Y,b0:()=>rt,X7:()=>z,Uk:()=>ot,H:()=>v,Eh:()=>j,HA:()=>$,yh:()=>vt,sT:()=>nt,rs:()=>bt,zB:()=>yt,FW:()=>G});var e=i(9862),n=i(5879);const t=new n.OlP("basePath");class r{constructor(P={}){this.apiKeys=P.apiKeys,this.username=P.username,this.password=P.password,this.accessToken=P.accessToken,this.basePath=P.basePath,this.withCredentials=P.withCredentials}selectHeaderContentType(P){if(0==P.length)return;let o=P.find(a=>this.isJsonMime(a));return void 0===o?P[0]:o}selectHeaderAccept(P){if(0==P.length)return;let o=P.find(a=>this.isJsonMime(a));return void 0===o?P[0]:o}isJsonMime(P){const o=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!=P&&(o.test(P)||"application/json-patch+json"===P.toLowerCase())}}let l=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}getAboutInfo(o="body",a=!1){let s=this.defaultHeaders;const C=this.configuration.selectHeaderAccept(["application/json"]);return null!=C&&(s=s.set("Accept",C)),this.httpClient.request("get",`${this.basePath}/api/v1/about`,{withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:a})}getBoxList(o="body",a=!1){let s=this.defaultHeaders;const C=this.configuration.selectHeaderAccept(["application/json"]);return null!=C&&(s=s.set("Accept",C)),this.httpClient.request("get",`${this.basePath}/api/v1/about/boxes`,{withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:a})}getDocuments(o="body",a=!1){let s=this.defaultHeaders;const C=this.configuration.selectHeaderAccept(["application/json"]);return null!=C&&(s=s.set("Accept",C)),this.httpClient.request("get",`${this.basePath}/api/v1/about/documents`,{withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:a})}getTeamMembers(o="body",a=!1){let s=this.defaultHeaders;const C=this.configuration.selectHeaderAccept(["application/json"]);return null!=C&&(s=s.set("Accept",C)),this.httpClient.request("get",`${this.basePath}/api/v1/about/team-members`,{withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:a})}}
1return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})();class _ extends e.mL{encodeKey(P){return(P=super.encodeKey(P)).replace(/\+/gi,"%2B")}encodeValue(P){return(P=super.encodeValue(P)).replace(/\+/gi,"%2B")}}let u=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}getPaymentMethodsList(o,a,s="body",h=!1){let C=new e.LE({encoder:new _});null!=o&&(C=C.set("isSubscription",o)),null!=a&&(C=C.set("source",a));let b=this.defaultHeaders;const I=this.configuration.selectHeaderAccept(["application/json"]);return null!=I&&(b=b.set("Accept",I)),this.httpClient.request("get",`${this.basePath}/api/v1/billing/methods`,{params:C,withCredentials:this.configuration.withCredentials,headers:b,observe:s,reportProgress:h})}}return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),f=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}getBlogGroupsList(o="body",a=!1){let s=this.defaultHeaders;const C=this.configuration.selectHeaderAccept(["application/json"]);return null!=C&&(s=s.set("Accept",C)),this.httpClient.request("get",`${this.basePath}/api/v1/blog/groups`,{withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:a})}getBlogPostById(o,a="body",s=!1){if(null==o)throw new Error("Required parameter postId was null or undefined when calling getBlogPostById.");let h=this.defaultHeaders;const b=this.configuration.selectHeaderAccept(["application/json"]);return null!=b&&(h=h.set("Accept",b)),this.httpClient.request("get",`${this.basePath}/api/v1/blog/post/${encodeURIComponent(String(o))}`,{withCredentials:this.configuration.withCredentials,headers:h,observe:a,reportProgress:s})}getBlogPostsList(o,a,s,h,C="body",b=!1){let B=new e.LE({encoder:new _});null!=o&&(B=B.set("group",o)),null!=a&&(B=B.set("year",a)),null!=s&&(B=B.set("page",s)),null!=h&&(B=B.set("perPage",h));let I=this.defaultHeaders;const et=this.configuration.selectHeaderAccept(["application/json"]);return null!=et&&(I=I.set("Accept",et)),this.httpClient.request("get",`${this.basePath}/api/v1/blog/posts`,{params:B,withCredentials:this.configuration.withCredentials,headers:I,observe:C,reportProgress:b})}}return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),m=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}postChangePassword(o,a="body",s=!1){let h=this.defaultHeaders;if(this.configuration.accessToken){const R="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+R)}const b=this.configuration.selectHeaderAccept(["application/json"]);null!=b&&(h=h.set("Accept",b));const I=this.configuration.selectHeaderContentType(["application/json"]);return null!=I&&(h=h.set("Content-Type",I)),this.httpClient.request("post",`${this.basePath}/api/v1/cabinet/change-password`,{body:o,withCredentials:this.configuration.withCredentials,headers:h,observe:a,reportProgress:s})}postProfileForm(o,a,s,h,C,b,B,I,R,et="body",ut=!1){let pt=this.defaultHeaders;if(this.configuration.accessToken){const Bt="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;pt=pt.set("Authorization","Bearer "+Bt)}const at=this.configuration.selectHeaderAccept(["application/json"]);null!=at&&(pt=pt.set("Accept",at));let tt,Zt=!1;return Zt=this.canConsumeForm(["multipart/form-data"]),tt=Zt?new FormData:new e.LE({encoder:new _}),void 0!==o&&(tt=tt.append("type",o)||tt),void 0!==a&&(tt=tt.append("firstName",a)||tt),void 0!==s&&(tt=tt.append("lastName",s)||tt),void 0!==h&&(tt=tt.append("legalName",h)||tt),void 0!==C&&(tt=tt.append("phone",C)||tt),void 0!==b&&(tt=tt.append("gender",b)||tt),void 0!==B&&(tt=tt.append("birthday",B)||tt),void 0!==I&&(tt=tt.append("avatar",I)||tt),void 0!==R&&(tt=tt.append("removeAvatar",R)||tt),this.httpClient.request("post",`${this.basePath}/api/v1/cabinet/profile`,{body:tt,withCredentials:this.configuration.withCredentials,headers:pt,observe:et,reportProgress:ut})}}
1return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),E=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}getCart(o="body",a=!1){let s=this.defaultHeaders;const C=this.configuration.selectHeaderAccept(["application/json"]);return null!=C&&(s=s.set("Accept",C)),this.httpClient.request("get",`${this.basePath}/api/v1/cart`,{withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:a})}getCartById(o,a="body",s=!1){if(null==o)throw new Error("Required parameter cartId was null or undefined when calling getCartById.");let h=this.defaultHeaders;const b=this.configuration.selectHeaderAccept(["application/json"]);return null!=b&&(h=h.set("Accept",b)),this.httpClient.request("get",`${this.basePath}/api/v1/cart/${encodeURIComponent(String(o))}`,{withCredentials:this.configuration.withCredentials,headers:h,observe:a,reportProgress:s})}updateCart(o,a,s="body",h=!1){if(null==o)throw new Error("Required parameter cartId was null or undefined when calling updateCart.");let C=this.defaultHeaders;const B=this.configuration.selectHeaderAccept(["application/json"]);null!=B&&(C=C.set("Accept",B));const R=this.configuration.selectHeaderContentType(["application/json"]);return null!=R&&(C=C.set("Content-Type",R)),this.httpClient.request("put",`${this.basePath}/api/v1/cart/${encodeURIComponent(String(o))}`,{body:a,withCredentials:this.configuration.withCredentials,headers:C,observe:s,reportProgress:h})}}return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),L=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}apiDocJsonGet(o="body",a=!1){let s=this.defaultHeaders;const C=this.configuration.selectHeaderAccept([]);return null!=C&&(s=s.set("Accept",C)),this.httpClient.request("get",`${this.basePath}/api/doc.json`,{withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:a})}apiV1Get(o="body",a=!1){let s=this.defaultHeaders;const C=this.configuration.selectHeaderAccept([]);return null!=C&&(s=s.set("Accept",C)),this.httpClient.request("get",`${this.basePath}/api/v1`,{withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:a})}}return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),w=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}createFeedbackForm(o,a,s,h,C,b,B="body",I=!1){let R=this.defaultHeaders;const ut=this.configuration.selectHeaderAccept(["application/json"]);let at;return null!=ut&&(R=R.set("Accept",ut)),this.canConsumeForm(["multipart/form-data"]),at=new e.LE({encoder:new _}),void 0!==o&&(at=at.append("groupId",o)||at),void 0!==a&&(at=at.append("name",a)||at),void 0!==s&&(at=at.append("email",s)||at),void 0!==h&&(at=at.append("phone",h)||at),void 0!==C&&(at=at.append("message",C)||at),b&&b.forEach(tt=>{at=at.append("files[]",tt)||at}),this.httpClient.request("post",`${this.basePath}/api/v1/feedback`,{body:at,withCredentials:this.configuration.withCredentials,headers:R,observe:B,reportProgress:I})}getFeedbackGroupsList(o="body",a=!1){let s=this.defaultHeaders;const C=this.configuration.selectHeaderAccept(["application/json"]);return null!=C&&(s=s.set("Accept",C)),this.httpClient.request("get",`${this.basePath}/api/v1/feedback/groups`,{withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:a})}}
1return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),k=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}getLanding(o,a="body",s=!1){if(null==o)throw new Error("Required parameter landingId was null or undefined when calling getLanding.");let h=this.defaultHeaders;const b=this.configuration.selectHeaderAccept(["application/json"]);return null!=b&&(h=h.set("Accept",b)),this.httpClient.request("get",`${this.basePath}/api/v1/landing/${encodeURIComponent(String(o))}`,{withCredentials:this.configuration.withCredentials,headers:h,observe:a,reportProgress:s})}}return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),O=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}createNeedHelp(o,a="body",s=!1){let h=this.defaultHeaders;const b=this.configuration.selectHeaderAccept(["application/json"]);null!=b&&(h=h.set("Accept",b));const I=this.configuration.selectHeaderContentType(["application/json"]);return null!=I&&(h=h.set("Content-Type",I)),this.httpClient.request("post",`${this.basePath}/api/v1/need-help`,{body:o,withCredentials:this.configuration.withCredentials,headers:h,observe:a,reportProgress:s})}getNeedHelpGroupsList(o="body",a=!1){let s=this.defaultHeaders;const C=this.configuration.selectHeaderAccept(["application/json"]);return null!=C&&(s=s.set("Accept",C)),this.httpClient.request("get",`${this.basePath}/api/v1/need-help/groups`,{withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:a})}getNeedHelpList(o,a,s,h,C="body",b=!1){let B=new e.LE({encoder:new _});null!=o&&(B=B.set("status",o)),null!=a&&(B=B.set("region",a)),null!=s&&(B=B.set("page",s)),null!=h&&(B=B.set("perPage",h));let I=this.defaultHeaders;const et=this.configuration.selectHeaderAccept(["application/json"]);return null!=et&&(I=I.set("Accept",et)),this.httpClient.request("get",`${this.basePath}/api/v1/need-help`,{params:B,withCredentials:this.configuration.withCredentials,headers:I,observe:C,reportProgress:b})}getNeedHelpStat(o="body",a=!1){let s=this.defaultHeaders;const C=this.configuration.selectHeaderAccept(["application/json"]);return null!=C&&(s=s.set("Accept",C)),this.httpClient.request("get",`${this.basePath}/api/v1/need-help/stat`,{withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:a})}}return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),K=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}createNewsletterSubscriber(o,a="body",s=!1){let h=this.defaultHeaders;const b=this.configuration.selectHeaderAccept(["application/json"]);null!=b&&(h=h.set("Accept",b));const I=this.configuration.selectHeaderContentType(["application/json"]);return null!=I&&(h=h.set("Content-Type",I)),this.httpClient.request("post",`${this.basePath}/api/v1/newsletter-subscriber`,{body:o,withCredentials:this.configuration.withCredentials,headers:h,observe:a,reportProgress:s})}}return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),M=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}captureOrder(o,a,s="body",h=!1){let C=new e.LE({encoder:new _});null!=o&&(C=C.set("p",o)),null!=a&&(C=C.set("status",a));let b=this.defaultHeaders;const I=this.configuration.selectHeaderAccept([]);return null!=I&&(b=b.set("Accept",I)),this.httpClient.request("get",`${this.basePath}/api/v1/order/capture`,{params:C,withCredentials:this.configuration.withCredentials,headers:b,observe:s,reportProgress:h})}createOrder(o,a="body",s=!1){let h=this.defaultHeaders;const b=this.configuration.selectHeaderAccept(["application/json"]);null!=b&&(h=h.set("Accept",b));const I=this.configuration.selectHeaderContentType(["application/json"]);return null!=I&&(h=h.set("Content-Type",I)),this.httpClient.request("post",`${this.basePath}/api/v1/order`,{body:o,withCredentials:this.configuration.withCredentials,headers:h,observe:a,reportProgress:s})}getOrderById(o,a,s="body",h=!1){if(null==o)throw new Error("Required parameter orderId was null or undefined when calling getOrderById.");let C=new e.LE({encoder:new _});null!=a&&(C=C.set("time",a));let b=this.defaultHeaders;const I=this.configuration.selectHeaderAccept(["application/json"]);return null!=I&&(b=b.set("Accept",I)),this.httpClient.request("get",`${this.basePath}/api/v1/order/${encodeURIComponent(String(o))}`,{params:C,withCredentials:this.configuration.withCredentials,headers:b,observe:s,reportProgress:h})}getOrdersList(o,a,s,h="body",C=!1){let b=new e.LE({encoder:new _});null!=o&&(b=b.set("status",o)),null!=a&&(b=b.set("page",a)),null!=s&&(b=b.set("perPage",s));let B=this.defaultHeaders;if(this.configuration.accessToken){const ut="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;B=B.set("Authorization","Bearer "+ut)}const R=this.configuration.selectHeaderAccept(["application/json"]);return null!=R&&(B=B.set("Accept",R)),this.httpClient.request("get",`${this.basePath}/api/v1/orders`,{params:b,withCredentials:this.configuration.withCredentials,headers:B,observe:h,reportProgress:C})}}
1return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),S=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}postPostApiV1Upload(o="body",a=!1){let s=this.defaultHeaders;const C=this.configuration.selectHeaderAccept([]);return null!=C&&(s=s.set("Accept",C)),this.httpClient.request("post",`${this.basePath}/api/v1/upload`,{withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:a})}}return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),F=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}getPageByKey(o,a="body",s=!1){if(null==o)throw new Error("Required parameter key was null or undefined when calling getPageByKey.");let h=this.defaultHeaders;const b=this.configuration.selectHeaderAccept(["application/json"]);return null!=b&&(h=h.set("Accept",b)),this.httpClient.request("get",`${this.basePath}/api/v1/page-content/${encodeURIComponent(String(o))}`,{withCredentials:this.configuration.withCredentials,headers:h,observe:a,reportProgress:s})}}return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),Y=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}getPartnerGroupsList(o="body",a=!1){let s=this.defaultHeaders;const C=this.configuration.selectHeaderAccept(["application/json"]);return null!=C&&(s=s.set("Accept",C)),this.httpClient.request("get",`${this.basePath}/api/v1/partner/groups`,{withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:a})}getPartnersList(o,a="body",s=!1){let h=new e.LE({encoder:new _});null!=o&&(h=h.set("group",o));let C=this.defaultHeaders;const B=this.configuration.selectHeaderAccept(["application/json"]);return null!=B&&(C=C.set("Accept",B)),this.httpClient.request("get",`${this.basePath}/api/v1/partners`,{params:h,withCredentials:this.configuration.withCredentials,headers:C,observe:a,reportProgress:s})}}return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),rt=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}getProductGroupsList(o,a,s,h="body",C=!1){let b=new e.LE({encoder:new _});o&&o.forEach(ut=>{b=b.append("groupsId[]",ut)}),null!=a&&(b=b.set("page",a)),null!=s&&(b=b.set("perPage",s));let B=this.defaultHeaders;const R=this.configuration.selectHeaderAccept(["application/json"]);return null!=R&&(B=B.set("Accept",R)),this.httpClient.request("get",`${this.basePath}/api/v1/product/groups`,{params:b,withCredentials:this.configuration.withCredentials,headers:B,observe:h,reportProgress:C})}getProductsList(o,a,s,h="body",C=!1){let b=new e.LE({encoder:new _});o&&o.forEach(ut=>{b=b.append("groupsId[]",ut)}),null!=a&&(b=b.set("page",a)),null!=s&&(b=b.set("perPage",s));let B=this.defaultHeaders;const R=this.configuration.selectHeaderAccept(["application/json"]);return null!=R&&(B=B.set("Accept",R)),this.httpClient.request("get",`${this.basePath}/api/v1/products`,{params:b,withCredentials:this.configuration.withCredentials,headers:B,observe:h,reportProgress:C})}}
1return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),z=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}getQuestionGroupsList(o="body",a=!1){let s=this.defaultHeaders;const C=this.configuration.selectHeaderAccept(["application/json"]);return null!=C&&(s=s.set("Accept",C)),this.httpClient.request("get",`${this.basePath}/api/v1/question/groups`,{withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:a})}getQuestionsList(o,a="body",s=!1){let h=new e.LE({encoder:new _});null!=o&&(h=h.set("group",o));let C=this.defaultHeaders;const B=this.configuration.selectHeaderAccept(["application/json"]);return null!=B&&(C=C.set("Accept",B)),this.httpClient.request("get",`${this.basePath}/api/v1/questions`,{params:h,withCredentials:this.configuration.withCredentials,headers:C,observe:a,reportProgress:s})}}return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),ot=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}getRegionsList(o,a="body",s=!1){let h=new e.LE({encoder:new _});null!=o&&(h=h.set("sort",o));let C=this.defaultHeaders;const B=this.configuration.selectHeaderAccept(["application/json"]);return null!=B&&(C=C.set("Accept",B)),this.httpClient.request("get",`${this.basePath}/api/v1/regions`,{params:h,withCredentials:this.configuration.withCredentials,headers:C,observe:a,reportProgress:s})}}return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),v=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}getReportById(o,a="body",s=!1){if(null==o)throw new Error("Required parameter reportId was null or undefined when calling getReportById.");let h=this.defaultHeaders;const b=this.configuration.selectHeaderAccept(["application/json"]);return null!=b&&(h=h.set("Accept",b)),this.httpClient.request("get",`${this.basePath}/api/v1/report/${encodeURIComponent(String(o))}`,{withCredentials:this.configuration.withCredentials,headers:h,observe:a,reportProgress:s})}getReportsList(o,a,s,h="body",C=!1){let b=new e.LE({encoder:new _});null!=o&&(b=b.set("period",o)),null!=a&&(b=b.set("page",a)),null!=s&&(b=b.set("perPage",s));let B=this.defaultHeaders;const R=this.configuration.selectHeaderAccept(["application/json"]);return null!=R&&(B=B.set("Accept",R)),this.httpClient.request("get",`${this.basePath}/api/v1/reports`,{params:b,withCredentials:this.configuration.withCredentials,headers:B,observe:h,reportProgress:C})}getYearReportsList(o="body",a=!1){let s=this.defaultHeaders;const C=this.configuration.selectHeaderAccept(["application/json"]);return null!=C&&(s=s.set("Accept",C)),this.httpClient.request("get",`${this.basePath}/api/v1/reports/year`,{withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:a})}}return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),W=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}getIndex(o,a,s,h,C,b,B="body",I=!1){if(null==o)throw new Error("Required parameter action was null or undefined when calling getIndex.");if(null==a)throw new Error("Required parameter user was null or undefined when calling getIndex.");if(null==s)throw new Error("Required parameter token was null or undefined when calling getIndex.");let R=new e.LE({encoder:new _});null!=o&&(R=R.set("action",o)),null!=a&&(R=R.set("user",a)),null!=s&&(R=R.set("token",s)),null!=h&&(R=R.set("date",h)),null!=C&&(R=R.set("limit",C)),null!=b&&(R=R.set("offset",b));let et=this.defaultHeaders;const pt=this.configuration.selectHeaderAccept(["application/json"]);return null!=pt&&(et=et.set("Accept",pt)),this.httpClient.request("get",`${this.basePath}/api/v1/roistat`,{params:R,withCredentials:this.configuration.withCredentials,headers:et,observe:B,reportProgress:I})}}
1return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),j=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}getLogin(o="body",a=!1){let s=this.defaultHeaders;const C=this.configuration.selectHeaderAccept(["application/json"]);return null!=C&&(s=s.set("Accept",C)),this.httpClient.request("get",`${this.basePath}/api/v1/security/login`,{withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:a})}getLogout(o="body",a=!1){let s=this.defaultHeaders;if(this.configuration.accessToken){const B="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;s=s.set("Authorization","Bearer "+B)}const C=this.configuration.selectHeaderAccept([]);return null!=C&&(s=s.set("Accept",C)),this.httpClient.request("get",`${this.basePath}/api/v1/security/logout`,{withCredentials:this.configuration.withCredentials,headers:s,observe:o,reportProgress:a})}postLoginForm(o,a,s="body",h=!1){let C=this.defaultHeaders;const B=this.configuration.selectHeaderAccept(["application/json"]);let et;return null!=B&&(C=C.set("Accept",B)),this.canConsumeForm(["application/x-www-form-urlencoded"]),et=new e.LE({encoder:new _}),void 0!==o&&(et=et.append("username",o)||et),void 0!==a&&(et=et.append("password",a)||et),this.httpClient.request("post",`${this.basePath}/api/v1/security/login`,{body:et,withCredentials:this.configuration.withCredentials,headers:C,observe:s,reportProgress:h})}postLostPass(o,a="body",s=!1){let h=this.defaultHeaders;const b=this.configuration.selectHeaderAccept(["application/json"]);null!=b&&(h=h.set("Accept",b));const I=this.configuration.selectHeaderContentType(["application/json"]);return null!=I&&(h=h.set("Content-Type",I)),this.httpClient.request("post",`${this.basePath}/api/v1/security/lost-pass`,{body:o,withCredentials:this.configuration.withCredentials,headers:h,observe:a,reportProgress:s})}postNewPass(o,a="body",s=!1){let h=this.defaultHeaders;const b=this.configuration.selectHeaderAccept(["application/json"]);null!=b&&(h=h.set("Accept",b));const I=this.configuration.selectHeaderContentType(["application/json"]);return null!=I&&(h=h.set("Content-Type",I)),this.httpClient.request("post",`${this.basePath}/api/v1/security/new-pass`,{body:o,withCredentials:this.configuration.withCredentials,headers:h,observe:a,reportProgress:s})}postRegistration(o,a="body",s=!1){let h=this.defaultHeaders;const b=this.configuration.selectHeaderAccept(["application/json"]);null!=b&&(h=h.set("Accept",b));const I=this.configuration.selectHeaderContentType(["application/json"]);return null!=I&&(h=h.set("Content-Type",I)),this.httpClient.request("post",`${this.basePath}/api/v1/security/registration`,{body:o,withCredentials:this.configuration.withCredentials,headers:h,observe:a,reportProgress:s})}}return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),$=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}getSubscriptionsList(o,a,s,h="body",C=!1){let b=new e.LE({encoder:new _});null!=o&&(b=b.set("status",o)),null!=a&&(b=b.set("page",a)),null!=s&&(b=b.set("perPage",s));let B=this.defaultHeaders;if(this.configuration.accessToken){const ut="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;B=B.set("Authorization","Bearer "+ut)}const R=this.configuration.selectHeaderAccept(["application/json"]);return null!=R&&(B=B.set("Accept",R)),this.httpClient.request("get",`${this.basePath}/api/v1/subscriptions`,{params:b,withCredentials:this.configuration.withCredentials,headers:B,observe:h,reportProgress:C})}unsubscribe(o,a="body",s=!1){let h=this.defaultHeaders;if(this.configuration.accessToken){const R="function"==typeof this.configuration.accessToken?this.configuration.accessToken():this.configuration.accessToken;h=h.set("Authorization","Bearer "+R)}const b=this.configuration.selectHeaderAccept(["application/json"]);null!=b&&(h=h.set("Accept",b));const I=this.configuration.selectHeaderContentType(["application/json"]);return null!=I&&(h=h.set("Content-Type",I)),this.httpClient.request("post",`${this.basePath}/api/v1/subscriptions/unsubscribe`,{body:o,withCredentials:this.configuration.withCredentials,headers:h,observe:a,reportProgress:s})}}
1return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})(),nt=(()=>{class p{constructor(o,a,s){this.httpClient=o,this.basePath="/",this.defaultHeaders=new e.WM,this.configuration=new r,a&&(this.basePath=a),s&&(this.configuration=s,this.basePath=a||s.basePath||this.basePath)}canConsumeForm(o){for(const s of o)if("multipart/form-data"===s)return!0;return!1}getTargetedHelpById(o,a="body",s=!1){if(null==o)throw new Error("Required parameter targetId was null or undefined when calling getTargetedHelpById.");let h=this.defaultHeaders;const b=this.configuration.selectHeaderAccept(["application/json"]);return null!=b&&(h=h.set("Accept",b)),this.httpClient.request("get",`${this.basePath}/api/v1/targeted-help/${encodeURIComponent(String(o))}`,{withCredentials:this.configuration.withCredentials,headers:h,observe:a,reportProgress:s})}getTargetedHelpList(o,a,s,h,C,b="body",B=!1){let I=new e.LE({encoder:new _});null!=o&&(I=I.set("status",o)),null!=a&&(I=I.set("region",a)),null!=s&&(I=I.set("sort",s)),null!=h&&(I=I.set("page",h)),null!=C&&(I=I.set("perPage",C));let R=this.defaultHeaders;const ut=this.configuration.selectHeaderAccept(["application/json"]);return null!=ut&&(R=R.set("Accept",ut)),this.httpClient.request("get",`${this.basePath}/api/v1/targeted-help`,{params:I,withCredentials:this.configuration.withCredentials,headers:R,observe:b,reportProgress:B})}}return p.\u0275fac=function(o){return new(o||p)(n.LFG(e.eN),n.LFG(t,8),n.LFG(r,8))},p.\u0275prov=n.Yz7({token:p,factory:p.\u0275fac}),p})();var gt=(()=>((gt=gt||{}).TypeEnum={Onetime:"onetime",Subscription:"subscription"},gt))();const xt={New:"new",WaitForCapture:"wait-for-capture",Paid:"paid",Canceled:"canceled",Refund:"refund"},vt={Active:"active",Canceled:"canceled",Unsubscribed:"unsubscribed"},bt={Active:"active",Closed:"closed",Canceled:"canceled"},yt={Male:"male",Female:"female"},G={Person:"person",Legal:"legal"};let J=(()=>{class p{static forRoot(o){return{ngModule:p,providers:[{provide:r,useFactory:o}]}}constructor(o,a){if(o)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!a)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}}return p.\u0275fac=function(o){return new(o||p)(n.LFG(p,12),n.LFG(e.eN,8))},p.\u0275mod=n.oAB({type:p}),p.\u0275inj=n.cJS({providers:[l,u,f,m,E,L,w,k,O,K,M,S,F,Y,rt,z,ot,v,W,j,$,nt]}),p})()},6543:(U,y,i)=>{i.d(y,{V:()=>u});var e=i(6814),n=i(5879),t=i(9422),d=i(9629),r=i(2096),l=i(7715),_=i(8180);let u=(()=>{class f{constructor(E){this.platformId=E,this.storage=(0,e.NF)(this.platformId)?t.createInstance({driver:[t.INDEXEDDB,t.LOCALSTORAGE,d._driver],name:"dariedu",version:1,storeName:"common"}):void 0}getItem(E){return this.storage?(0,l.D)(this.storage.getItem(E)).pipe((0,_.q)(1)):(0,r.of)(null)}setItem(E,L){return this.storage?(0,l.D)(this.storage.setItem(E,L)).pipe((0,_.q)(1)):(0,r.of)(L)}removeItem(E){return this.storage?(0,l.D)(this.storage.removeItem(E)).pipe((0,_.q)(1)):(0,r.of)()}clear(){return this.storage?(0,l.D)(this.storage.clear()).pipe((0,_.q)(1)):(0,r.of)()}length(){return this.storage?(0,l.D)(this.storage.length()).pipe((0,_.q)(1)):(0,r.of)(0)}key(E){return this.storage?(0,l.D)(this.storage.key(E)).pipe((0,_.q)(1)):(0,r.of)("")}keys(){return this.storage?(0,l.D)(this.storage.keys()).pipe((0,_.q)(1)):(0,r.of)([])}}return f.\u0275fac=function(E){return new(E||f)(n.LFG(n.Lbi))},f.\u0275prov=n.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})()},3681:(U,y,i)=>{i.d(y,{P:()=>d});var e=i(6814),n=i(5879),t=i(6593);let d=(()=>{class r{constructor(_,u,f){this.title=_,this.document=u,this.platform=f}setTitle(_){this.title.setTitle(_.replace(/&nbsp;/gi," ").replace(/&([mn])dash;/gi,"-").replace(/<[^>]+>/gi,""))}scrollToTop(){(0,e.NF)(this.platform)&&this.document.defaultView?.scrollTo({top:0,left:0})}}return r.\u0275fac=function(_){return new(_||r)(n.LFG(t.Dx),n.LFG(e.K0),n.LFG(n.Lbi))},r.\u0275prov=n.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})()},9155:(U,y,i)=>{i.d(y,{t:()=>u});var e=i(6814),n=i(7418),t=i(5562),d=i(2181),r=i(7398),l=i(940),_=i(5879);let u=(()=>{class f{constructor(E,L){this.router=E,this.document=L,this.state=new t.O({type:"website",title:"\u0411\u043b\u0430\u0433\u043e\u0442\u0432\u043e\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u043e\u043d\u0434 \xab\u0414\u0430\u0440\u0438 \u0435\u0434\u0443\xbb: \u041f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432\u0430\u044f \u043f\u043e\u043c\u043e\u0449\u044c \u043b\u044e\u0434\u044f\u043c, \u043e\u043a\u0430\u0437\u0430\u0432\u0448\u0438\u043c\u0441\u044f \u0432 \u0441\u043b\u043e\u0436\u043d\u043e\u0439 \u0436\u0438\u0437\u043d\u0435\u043d\u043d\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438.",description:"\u0417\u0434\u0435\u0441\u044c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043c\u043e\u0447\u044c \u043b\u044e\u0434\u044f\u043c, \u043d\u0443\u0436\u0434\u0430\u044e\u0449\u0438\u043c\u0441\u044f \u0432 \u0441\u0430\u043c\u043e\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u043c \u2014 \u0435\u0434\u0435. \u0422\u0430\u043a\u0436\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443 \u043d\u0430 \u0435\u0436\u0435\u043c\u0435\u0441\u044f\u0447\u043d\u043e\u0435 \u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0432\u0430\u043c\u0438 \u0441\u0443\u043c\u043c\u044b. \u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u0444\u043e\u043d\u0434 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e.",image:"/img/seoimg.jpg?v=f4f94fe9-b7dc-4460-aa05-3f57d79b5716",imageType:"image/jpg"}),this.type=this.state.select(w=>w.type),this.url=this.router.events.pipe((0,d.h)(w=>w instanceof n.m2),(0,r.U)(w=>this.document.location.origin+w.url),(0,l.d)(1)),this.title=this.state.select(w=>w.title),this.description=this.state.select(w=>w.description),this.image=this.state.select(w=>this.document.location.origin+w.image),this.imageType=this.state.select(w=>w.imageType)}clearTags(){const E=this.document.head?.querySelectorAll("meta");Array.from(E).filter(L=>
1/^og:/.test(L.getAttribute("property")||"")).forEach(L=>L.remove())}registerTag(E,L){const w=this.document.createElement("meta");w.setAttribute("property",`og:${E}`),w.setAttribute("content",L),this.document.head?.appendChild(w)}registerPageTags(E){this.state.update(E)}restoreTags(){this.state.update({type:"website",title:"\u0411\u043b\u0430\u0433\u043e\u0442\u0432\u043e\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u043e\u043d\u0434 \u0414\u0430\u0440\u0438\u0435\u0434\u0443",description:"",image:"/img/seoimg.jpg",imageType:"image/jpg"})}}return f.\u0275fac=function(E){return new(E||f)(_.LFG(n.F0),_.LFG(e.K0))},f.\u0275prov=_.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})()},7756:(U,y,i)=>{i.d(y,{E:()=>m});var e=i(940),n=i(5879),t=i(87),d=i(6814);const r=function(){return{one:"\u0433\u043e\u0440\u043e\u0434\u0435",few:"\u0433\u043e\u0440\u043e\u0434\u0430",many:"\u0433\u043e\u0440\u043e\u0434\u043e\u0432",other:"\u0433\u043e\u0440\u043e\u0434\u0430"}},l=function(){return{one:"\u0431\u043e\u043a\u0441",few:"\u0431\u043e\u043a\u0441\u0430",many:"\u0431\u043e\u043a\u0441\u043e\u0432",other:"\u0431\u043e\u043a\u0441\u0430"}},_=function(){return{one:"\u0442\u043e\u043d\u043d\u0430",few:"\u0442\u043e\u043d\u043d\u044b",many:"\u0442\u043e\u043d\u043d",other:"\u0442\u043e\u043d\u043d\u044b"}},u=function(){return{one:"\u0441\u0435\u043c\u044c\u044f",few:"\u0441\u0435\u043c\u044c\u0438",many:"\u0441\u0435\u043c\u0435\u0439",other:"\u0441\u0435\u043c\u044c\u0438"}};function f(E,L){if(1&E&&(n.TgZ(0,"ul",1)(1,"li",2)(2,"p",3),n._uU(3),n.ALo(4,"number"),n.qZA(),n.TgZ(5,"p",4),n._uU(6),n.ALo(7,"i18nPlural"),n.qZA()(),n.TgZ(8,"li",2)(9,"p",3),n._uU(10),n.ALo(11,"number"),n.qZA(),n.TgZ(12,"p",4),n._uU(13),n.ALo(14,"i18nPlural"),n.qZA()(),n.TgZ(15,"li",2)(16,"p",3),n._uU(17),n.ALo(18,"number"),n.qZA(),n.TgZ(19,"p",4),n._uU(20),n.ALo(21,"i18nPlural"),n.qZA()(),n.TgZ(22,"li",2)(23,"p",3),n._uU(24),n.ALo(25,"number"),n.qZA(),n.TgZ(26,"p",4),n._uU(27),n.ALo(28,"i18nPlural"),n.qZA()()()),2&E){const w=L.ngIf;n.xp6(3),n.Oqu(n.lcZ(4,8,null==w?null:w.numberOfCities)),n.xp6(3),n.Oqu(n.xi3(7,10,null==w?null:w.numberOfCities,n.DdM(28,r))),n.xp6(4),n.Oqu(n.lcZ(11,13,null==w?null:w.numberOfBoxes)),n.xp6(3),n.Oqu(n.xi3(14,15,null==w?null:w.numberOfBoxes,n.DdM(29,l))),n.xp6(4),n.Oqu(n.lcZ(18,18,null==w?null:w.tonsOfProductsTransferred)),n.xp6(3),n.hij("",n.xi3(21,20,null==w?null:w.tonsOfProductsTransferred,n.DdM(30,_))," \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043e"),n.xp6(4),n.Oqu(n.lcZ(25,23,null==w?null:w.familiesReceivedHelp)),n.xp6(3),n.hij("",n.xi3(28,25,null==w?null:w.familiesReceivedHelp,n.DdM(31,u))," \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043f\u043e\u043c\u043e\u0449\u044c")}}let m=(()=>{class E{constructor(w){this.aboutApi=w,this.fundInfo=this.aboutApi.getAboutInfo().pipe((0,e.d)(1))}}return E.\u0275fac=function(w){return new(w||E)(n.Y36(t.gl))},E.\u0275cmp=n.Xpm({type:E,selectors:[["ui-about-fund-stats"]],decls:2,vars:3,consts:[["class","small-cards about-fund__small-cards small-cards--col-2-2-4",4,"ngIf"],[1,"small-cards","about-fund__small-cards","small-cards--col-2-2-4"],[1,"small-cards__item"],[1,"small-cards__value"],[1,"small-cards__text"]],template:function(w,k){1&w&&(n.YNc(0,f,29,32,"ul",0),n.ALo(1,"async")),2&w&&n.Q6J("ngIf",n.lcZ(1,1,k.fundInfo))},dependencies:[d.O5,d.Ov,d.JJ,d.Gx],encapsulation:2,changeDetection:0}),E})()},5901:(U,y,i)=>{i.d(y,{u:()=>t});var e=i(6814),n=i(5879);let t=(()=>{class d{}return d.\u0275fac=function(l){return new(l||d)},d.\u0275mod=n.oAB({type:d}),d.\u0275inj=n.cJS({imports:[e.ez]}),d})()},5950:(U,y,i)=>{i.d(y,{N:()=>l});var e=i(2495),n=i(5879),t=i(6814),d=i(7500);function r(_,u){1&_&&n._UZ(0,"ui-spinner",7)}let l=(()=>{class _{constructor(){this._inProgress=!1,this.retry=new n.vpe}set inProgress(f){this._inProgress=(0,e.Ig)(f)}get inProgress(){return this._inProgress}ngOnDestroy(){this.retry.complete()}}return _.\u0275fac=function(f){return new(f||_)},_.\u0275cmp=n.Xpm({type:_,selectors:[["ui-block-error"]],hostAttrs:[1,"ui-block-error"],inputs:{inProgress:"inProgress"},outputs:{retry:"retry"},decls:9,vars:4,consts:[["viewBox","0 0 24 20","aria-hidden","true",1,"ui-block-error__icon"],[0,"xlink","href","#icon-warning"],[1,"ui-block-error__label"],[1,"ui-block-error__actions"],[1,"btn",3,"disabled","click"],[1,"_label"],["diameter","20",4,"ngIf"],["diameter","20"]],template:function(f,m){1&f&&(n.O4$(),n.TgZ(0,"svg",0),n._UZ(1,"use",1),n.qZA(),n.kcU(),n.TgZ(2,"div",2),n._uU(3,"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435"),n.qZA(),n.TgZ(4,"div",3)(5,"button",4),n.NdJ("
1click",function(){return m.retry.emit()}),n.TgZ(6,"span",5),n._uU(7,"\u041f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0435\u0449\u0451 \u0440\u0430\u0437"),n.qZA(),n.YNc(8,r,1,0,"ui-spinner",6),n.qZA()()),2&f&&(n.xp6(5),n.ekj("mat-button-in-progress",m.inProgress),n.Q6J("disabled",m.inProgress),n.xp6(3),n.Q6J("ngIf",m.inProgress))},dependencies:[t.O5,d.O],styles:[".ui-block-error{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.ui-block-error__icon{color:#eb5757;width:7em;height:7em;text-shadow:1px 1px 2px #969696}.ui-block-error__label{font-size:2em;font-weight:500;text-align:center;margin:3rem 0}.ui-block-error__actions{margin-top:1rem}.ui-block-error__retry-btn{min-width:12rem}\n"],encapsulation:2,changeDetection:0}),_})()},69:(U,y,i)=>{i.d(y,{c:()=>d});var e=i(6814),n=i(3289),t=i(5879);let d=(()=>{class r{}return r.\u0275fac=function(_){return new(_||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({imports:[e.ez,n.F]}),r})()},6154:(U,y,i)=>{i.d(y,{r:()=>u});var e=i(2495),n=i(5879),t=i(6814),d=i(7500);const r=["uiButton",""];function l(f,m){1&f&&n._UZ(0,"ui-spinner",2)}const _=["*"];let u=(()=>{class f{constructor(){this.size="default",this.color="green",this._inProgress=!1,this._disabled=!1}set inProgress(E){this._inProgress=(0,e.Ig)(E)}get inProgress(){return this._inProgress}set disabled(E){this._disabled=(0,e.Ig)(E)}get disabled(){return this._disabled}}return f.\u0275fac=function(E){return new(E||f)},f.\u0275cmp=n.Xpm({type:f,selectors:[["button","uiButton",""],["a","uiButton",""]],hostAttrs:[1,"ui-button","btn"],hostVars:15,hostBindings:function(E,L){2&E&&(n.Ikx("disabled",L.inProgress||L.disabled),n.ekj("_in-progress",L.inProgress)("_disabled",L.inProgress||L.disabled)("btn--small","small"===L.size)("btn--m
1iddle","medium"===L.size)("btn--large","large"===L.size)("btn--wide","wide"===L.size)("btn--white","white"===L.color))},inputs:{size:"size",color:"color",inProgress:"inProgress",disabled:"disabled"},attrs:r,ngContentSelectors:_,decls:3,vars:1,consts:[[1,"ui-button__label"],["diameter","25","class","ui-button__spinner",4,"ngIf"],["diameter","25",1,"ui-button__spinner"]],template:function(E,L){1&E&&(n.F$t(),n.TgZ(0,"div",0),n.Hsn(1),n.qZA(),n.YNc(2,l,1,0,"ui-spinner",1)),2&E&&(n.xp6(2),n.Q6J("ngIf",L.inProgress))},dependencies:[t.O5,d.O],styles:['.ui-button{position:relative}.ui-button._in-progress .ui-button__label{visibility:hidden}.ui-button__spinner{position:absolute}.btn-icon{display:inline-flex}.btn-icon:not([disabled]){cursor:pointer}.btn{display:inline-flex;justify-content:center;align-items:center;margin:0;padding:15px 19px;font-size:20px;line-height:26px;text-align:center;letter-spacing:.01em;background-color:#38ab78;color:#fff;border:none;border-radius:16px;cursor:pointer;-webkit-user-select:none;user-select:none;transition:.3s ease}.btn--small{font-size:1.1rem;padding:8px 15px}.btn--large{padding:19px 10px}.btn--middle{justify-content:center;align-items:center;border-radius:16px;padding:14px 31px;font-size:20px;line-height:26px;letter-spacing:.01em}.btn--wide{width:100%}.btn--white{color:#070707;background-color:#fff;border:2px solid #c1c1c1}.btn--green{color:#38ab78}.btn--grey{color:#8b8b8b}.btn--icon{display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:transparent;padding:0;margin:0}.btn--link{display:inline;padding:0;line-height:inherit;font-size:inherit;letter-spacing:inherit;background-color:transparent}.btn--text{background-color:transparent;font-size:15px;line-height:20px;text-align:center;color:#38ab78;padding:0;margin:0;letter-spacing:0}@media (hover: hover),screen and (min-width: 0\\fffd){.btn--text:hover,.btn--text:focus{color:#57bb8f;background-color:transparent}.btn--text:active{color:#279363;background-color:transparent}}.btn__close{position:relative;align-self:center;justify-self:center;width:40px;height:40px;border-radius:12px;background-color:transparent;border:1px solid #dddddd;transition:.3s ease}.btn__close:before,.btn__close:after{position:absolute;content:"";top:50%;left:50%;width:20px;height:2px;background-color:#8b8b8b;transform:translate(-50%,-50%) rotate(45deg);transition:.3s ease}.btn__close:after{transform:translate(-50%,-50%) rotate(-45deg)}.btn--swiper{width:32px;height:32px;background:#ffffff;border:1px solid #dddddd;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0;padding:0;top:50%;transform:translateY(-50%)}.btn--swiper svg{width:16px;height:16px;fill:transparent}.btn:disabled,.btn.is-disabled{opacity:.5;pointer-events:none}@media (hover: hover),screen and (min-width: 0\\fffd){.btn:hover{background-color:#57bb8f}.btn:active{background-color:#279363}.btn--icon:hover{border-color:#070707;background-color:#fff}.btn--icon:focus-visible{border-color:#070707}.btn__close:hover{background-color:transparent}.btn__close:hover:before,.btn__close:hover:after{background-color:#c1c1c1}.btn__close:active:before,.btn__close:active:after{background-color:#8b8b8b}.btn__close:focus-visible{outline:none;border-color:#38ab78}.btn--link:hover,.btn--link:active{background-color:transparent}.btn--link:focus-visible{outline:1px solid #38ab78;outline-offset:1px}.btn--green:hover{color:#57bb8f}.btn--green:active{color:#279363}.btn--grey:hover,.btn--grey:active{color:#070707}.btn--white:hover{outline:none;border:2px solid #dddddd;background-color:#fff}.btn--white:active{border:2px solid #8b8b8b;background-color:#fff}.btn--swiper:hover{background-color:#fff;border:1px solid #ebebeb}.btn--swiper:active{border:1px solid #070707;background-color:#fff}}\n'],encapsulation:2,changeDetection:0}),f})()},868:(U,y,i)=>{i.d(y,{h:()=>d});var e=i(6814),n=i(3289),t=i(5879);let d=(()=>{class r{}return r.\u0275fac=function(_){return new(_||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({imports:[e.ez,n.F]}),r})()},6337:(U,y,i)=>{i.d(y,{J:()=>t});var e=i(6814),n=i(5879);let t=(()=>{class d{}return d.\u0275fac=function(l){return new(l||d)},d.\u0275mod=n.oAB({type:d}),d.\u0275inj=n.cJS({imports:[e.ez]}),d})()},512:(U,y,i)=>{i.d(y,{u:()=>n});var e=i(5879);let n=(()=>{class t{constructor(r){this.templateRef=r}}return t.\u0275fac=function(r){return new(r||t)(e.Y36(e.Rgc))},t.\u0275dir=e.lG2({type:t,selectors:[["","uiError",""]],inputs:{id:["uiError","id"]}}),t})()},9469:(U,y,i)=>{i.d(y,{$:()=>t});var e=i(512),n=i(5879);let t=(()=>{class d{set errors(l){this._errors=l,this.refreshActiveError()}set error(l){this._error=l,this.refreshActiveError()}get error(){return this._error}constructor(l){this.vcr=l}refreshActiveError(){const l=this._errors?.find(_=>_.id===this.error);this.vcr.clear(),l&&this.vcr.createEmbeddedView(l.templateRef)}}return d.\u0275fac=function(l){return new(l||d)(n.Y36(n.s_b))},d.\u0275dir=n.lG2({type:d,selectors:[["","uiErrors",""]],contentQueries:function(l,_,u){if(1&l&&n.Suo(u,e.u,4),2&l){let f;n.iGM(f=n.CRH())&&(_.errors=f)}},inputs:{error:["uiErrors","error"]}}),d})()},7996:(U,y,i)=>{i.d(y,{q:()=>n});var e=i(5879);let n=(()=>{class t{}return t.\u0275fac=function(r){return new(r||t)},t.\u0275dir=e.lG2({type:t,selectors:[["","uiLabel",""]]}),t})()},9258:(U,y,i)=>{i.d(y,{M:()=>n});var e=i(5879);let n=(()=>{class t{}return t.\u0275fac=function(r){return new(r||t)},t.\u0275dir=e.lG2({type:t,selectors:[["","uiSuffix",""]]}),t})()},6834:(U,y,i)=>{i.d(y,{O:()=>rt});var e=i(2495),n=i(6814),t=i(5879),d=i(6607),r=i(7996),l=i(9258),_=i(9469),u=i(5803),m=i(2420),E=i(6982),L=i(8534);function w(z,ot){1&z&&(t.TgZ(0,"span",6),t.Hsn(1),t.qZA())}function k(z,ot){if(1&z){const v=t.EpF();t.TgZ(0,"input",7),t.NdJ("input",function(j){t.CHM(v);const $=t.oxw();return t.KtG($.writeFromEvent(j.target))})("focus",function(j){t.CHM(v);const $=t.oxw();return t.KtG($.focus.emit(j))})("blur",function(j){t.CHM(v);const $=t.oxw();return $.onTouchedCallback(),t.KtG($.blur.emit(j))}),t.qZA()}if(2&z){const v=t.oxw();t.Q6J("type",v.type)("name",v.name)("value",v.value)("placeholder",v.placeholder)("disabled",v.disabledBool)("min",v.min)("max",v.max),t.uIk("maxlength",v.maxlength)}}function O(z,ot){if(1&z){const v=t.EpF();
1t.TgZ(0,"input",8),t.NdJ("input",function(j){t.CHM(v);const $=t.oxw();return t.KtG($.writeFromEvent(j.target))})("focus",function(j){t.CHM(v);const $=t.oxw();return t.KtG($.focus.emit(j))})("blur",function(j){t.CHM(v);const $=t.oxw();return $.onTouchedCallback(),t.KtG($.blur.emit(j))}),t.qZA()}if(2&z){const v=t.oxw();t.Q6J("type",v.type)("name",v.name)("value",v.value)("placeholder",v.placeholder)("disabled",v.disabledBool)("min",v.min)("max",v.max)("mask",v.mask)("prefix",v.prefix||"")("showMaskTyped",v.showMaskBool)("dropSpecialCharacters",v.dropSpecialCharacters||!1),t.uIk("maxlength",v.maxlength)}}function K(z,ot){if(1&z){const v=t.EpF();t.TgZ(0,"input",9),t.NdJ("input",function(j){t.CHM(v);const $=t.oxw();return t.KtG($.writeFromEvent(j.target))})("focus",function(j){t.CHM(v);const $=t.oxw();return t.KtG($.focus.emit(j))})("blur",function(j){t.CHM(v);const $=t.oxw();return $.onTouchedCallback(),t.KtG($.blur.emit(j))})("dateChange",function(j){t.CHM(v);const $=t.oxw();return t.KtG($.writeFromDatepicker(j))}),t.qZA()}if(2&z){const v=t.oxw();t.Q6J("type",v.type)("name",v.name)("value",v.value)("placeholder",v.placeholder)("disabled",v.disabledBool)("min",v.min)("max",v.max)("matDatepicker",v.datepicker),t.uIk("maxlength",v.maxlength)}}function M(z,ot){1&z&&(t.TgZ(0,"div",10),t.Hsn(1,1),t.qZA())}function S(z,ot){1&z&&(t.TgZ(0,"div",11),t.Hsn(1,2),t.qZA())}const F=[[["","uiLabel",""]],[["","uiSuffix",""]],[["","uiErrors",""]]],Y=["[uiLabel]","[uiSuffix]","[uiErrors]"];let rt=(()=>{class z{constructor(v,W){this.changes=v,this.platform=W,this.type="text",this.placeholder="",this._showMask=!1,this._disabled=!1,this.focus=new t.vpe,this.blur=new t.vpe,this.onTouchedCallback=m.Z,this.onChangeCallback=m.Z}set mask(v){this._mask=v}get mask(){if((0,n.NF)(this.platform))return this._mask}set showMask(v){this._showMask=(0,e.Ig)(v)}get showMaskBool(){return this._showMask}set disabled(v){this._disabled=(0,e.Ig)(v)}get disabledBool(){return this._disabled}setDisabledState(v){this._disabled=v}set value(v){this._value=v,this.onChangeCallback(this.value),this.changes.markForCheck()}get value(){return this._value}writeValue(v){this.value=v}writeFromEvent(v){this.writeValue(v.value)}writeFromDatepicker(v){this.writeValue(u.asString(u.ISO8601_WITH_TZ_OFFSET_FORMAT,v.value))}registerOnChange(v){this.onChangeCallback=v}registerOnTouched(v){this.onTouchedCallback=v}}return z.\u0275fac=function(v){return new(v||z)(t.Y36(t.sBO),t.Y36(t.Lbi))},z.\u0275cmp=t.Xpm({type:z,selectors:[["ui-custom-input"]],contentQueries:function(v,W,j){if(1&v&&(t.Suo(j,r.q,5),t.Suo(j,l.M,5),t.Suo(j,_.$,5)),2&v){let $;t.iGM($=t.CRH())&&(W.label=$.first),t.iGM($=t.CRH())&&(W.suffix=$.first),t.iGM($=t.CRH())&&(W.errors=$.first)}},hostAttrs:[1,"custom-input"],inputs:{type:"type",name:"name",placeholder:"placeholder",min:"min",max:"max",maxlength:"maxlength",datepicker:"datepicker",mask:"mask",showMask:"showMask",prefix:"prefix",dropSpecialCharacters:"dropSpecialCharacters",disabled:"disabled",value:"value"},outputs:{focus:"focus",blur:"blur"},features:[t._Bn([{provide:d.JU,useExisting:(0,t.Gpc)(()=>z),multi:!0}])],ngContentSelectors:Y,decls:7,vars:6,consts:[["class","custom-input__label",4,"ngIf"],[3,"type","name","value","placeholder","disabled","min","max","input","focus","blur",4,"ngIf"],[3,"type","name","value","placeholder","disabled","min","max","mask","prefix","showMaskTyped","dropSpecialCharacters","input","focus","blur",4,"ngIf"],[3,"type","name","value","placeholder","disabled","min","max","matDatepicker","input","focus","blur","dateChange",4,"ngIf"],["class","custom-input__suffix",4,"ngIf"],["class","custom-input__error",4,"ngIf"],[1,"custom-input__label"],[3,"type","name","value","placeholder","disabled","min","max","input","focus","blur"],[3,"type","name","value","placeholder","disabled","min","max","mask","prefix","showMaskTyped","dropSpecialCharacters","input","focus","blur"],[3,"type","name","value","placeholder","disabled","min","max","matDatepicker","input","focus","blur","dateChange"],[1,"custom-input__suffix"],[1,"custom-input__error"]],template:function(v,W){1&v&&(t.F$t(F),t.TgZ(0,"label"),t.YNc(1,w,2,0,"span",0),t.YNc(2,k,1,8,"input",1),t.YNc(3,O,1,12,"input",2),t.YNc(4,K,1,9,"input",3),t.YNc(5,M,2,0,"div",4),t.qZA(),t.YNc(6,S,2,0,"div",5)),2&v&&(t.xp6(1),t.Q6J("ngIf",!!W.label),t.xp6(1),t.Q6J("ngIf",!W.mask&&!W.datepicker),t.xp6(1),t.Q6J("ngIf",W.mask&&!W.datepicker),t.xp6(1),t.Q6J("ngIf",!W.mask&&W.datepicker),t.xp6(1),t.Q6J("ngIf",!!W.suffix),t.xp6(1),t.Q6J("ngIf",!!W.errors))},dependencies:[n.O5,E.hl,L.Z6],encapsulation:2,changeDetection:0}),z})()},8839:(U,y,i)=>{i.d(y,{u:()=>u});var e=i(6814),n=i(6607),t=i(3680),d=i(6982),r=i(6337),l=i(8534),_=i(5879);let u=(()=>{class f{}return f.\u0275fac=function(E){return new(E||f)},f.\u0275mod=_.oAB({type:f}),f.\u0275inj=_.cJS({providers:[(0,l.e$)()],imports:[e.ez,r.J,d.FA,t.XK,r.J,n.UX,d.FA]}),f})()},8150:(U,y,i)=>{i.d(y,{E:()=>p});var rt,e=i(7582),n=i(6607),t=i(2355),d=i(7647),r=i(1791),l=i(9771),_=i(87),u=i(5879),f=i(7418),m=i(2373),E=i(7700),L=i(6814),w=i(6834),k=i(7996),O=i(9469),K=i(512),M=i(7555),S=i(8549),F=i(6154),Y=i(1736);function z(P,o){1&P&&(u.ynx(0),u._uU(1,"\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c"),u.BQk())}function ot(P,o){1&P&&(u.ynx(0),u._uU(1,"\u0421\u0443\u043c\u043c\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 1 \u20bd"),u.BQk())}function v(P,o){1&P&&(u.ynx(0),u._uU(1,"\u0421\u0443\u043c\u043c\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0435 10000000 \u20bd"),u.BQk())}function W(P,o){1&P&&(u.ynx(0),u._uU(1,"\u0421\u0443\u043c\u043c\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0446\u0435\u043b\u044b\u043c \u0447\u0438\u0441\u043b\u043e\u043c"),u.BQk())}function j(P,o){if(1&P&&(u.TgZ(0,"ui-custom-input",15),u.ynx(1,16),u._uU(2,"\u20bd \u0432 \u043c\u0435\u0441\u044f\u0446"),u.BQk(),u.ynx(3,17),u.ALo(4,"firstKey"),u.YNc(5,z,2,0,"ng-container",18),u.YNc(6,ot,2,0,"ng-container",18),u.YNc(7,v,2,0,"ng-container",18),u.YNc(8,W,2,0,"ng-container",18),u.BQk(),u.qZA()),2&P){const a=o.ngIf;u.ekj("is-invalid",a.touched&&!a.valid),u.xp6(3),u.Q6J("uiErrors",u.lcZ(4,7,a.errors)),u.xp6(2),u.Q6J("uiError","required"),u.xp6(1),u.Q6J("uiError","min"),u.xp6(1),u.Q6J("uiError","max"),u.xp6(1),u.Q6J("uiError","pattern")}}function $(P,o){1&P&&(u.ynx(0),u._uU(1,"\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c"),u.BQk())}function nt(P,o){1&P&&(u.ynx(0),u._uU(1,"\u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u044b\u0439 email"),u.BQk())}function it(P,o){if(1&P&&(u.TgZ(0,"ui-custom-input",19),u.ynx(1,17),u.ALo(2,"firstKey"),u.YNc(3,$,2,0,"ng-container",18),u.YNc(4,nt,2,0,"ng-container",18),u.BQk(),u.qZA()),2&P){const a=o.ngIf;u.ekj("is-invalid",a.touched&&!a.valid),u.xp6(1),u.Q6J("uiErrors",u.lcZ(2,5,a.errors)),u.xp6(2),u.Q6J("uiError","required"),u.xp6(1),u.Q6J("uiError","email")}}function st(P,o){if(1&P){const a=u.EpF();u.TgZ(0,"div",8)(1,"form",9),u.NdJ("ngSubmit",function(){u.CHM(a);const h=u.oxw();return u.KtG(h.submit())}),u.YNc(2,j,9,9,"ui-custom-input",10),u.YNc(3,it,5,7,"ui-custom-input",11),u.TgZ(4,"button",12),u._uU(5,"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443"),u.qZA(),u.TgZ(6,"div",13)(7,"p"),u._uU(8,"\u0412\u044b \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u0435\u0442\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443 \u043d\u0430 \u0435\u0436\u0435\u043c\u0435\u0441\u044f\u0447\u043d\u043e\u0435 \u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0432\u0430\u043c\u0438 \u0441\u0443\u043c\u043c\u044b. \u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u0432 \u043b\u0438\u0447\u043d\u043e\u043c \u043a\u0430\u0431\u0438\u043d\u0435\u0442\u0435 \u0438\u043b\u0438 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u043e\u0447\u0442\u0443 "),u.TgZ(9,"a",7),u._uU(10,"[email protected]"),u.qZA()(),u.TgZ(11,"button",14),u.NdJ("click",function(){u.CHM(a);const h=u.oxw();return u.KtG(h.openRecurrentPaymentInfoDialog())}),u._uU(12," \u041f\u043e\u0447\u0435\u043c\u0443 \u0442\u0430\u043a \u0432\u0430\u0436\u043d\u044b \u0440\u0435\u043a\u0443\u0440\u0440\u0435\u043d\u0442\u043d\u044b\u0435 \u043f\u043b\u0430\u0442\u0435\u0436\u0438? "),u.qZA()()()()}if(2&P){const a=u.oxw();u.xp6(1),u.Q6J("formGroup",a.form),u.xp6(1),u.Q6J("ngIf",a.form.get("sum")),u.xp6(1),u.Q6J("ngIf",a.form.get("email"))}}function gt(P,o){1&P&&(u.ynx(0),u._uU(1,"\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c"),u.BQk())}function Pt(P,o){1&P&&(u.ynx(0),u._uU(1,"\u0421\u0443\u043c\u043c\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 1 \u20bd"),u.BQk())}function xt(P,o){1&P&&(u.ynx(0),u._uU(1,"\u0421\u0443\u043c\u043c\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0435 10000000 \u20bd"),u.BQk())}function vt(P,o){1&P&&(u.ynx(0),u._uU(1,"\u0421\u0443\u043c\u043c\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0446\u0435\u043b\u044b\u043c \u0447\u0438\u0441\u043b\u043e\u043c"),u.BQk())}function bt(P,o){if(1&P&&(u.TgZ(0,"ui-custom-input",15),u.ynx(1,16),u._uU(2,"\u20bd"),u.BQk(),u.ynx(3,17),u.ALo(4,"firstKey"),u.YNc(5,gt,2,0,"ng-container",18),u.YNc(6,Pt,2,0,"ng-container",18),u.YNc(7,xt,2,0,"ng-container",18),u.YNc(8,vt,2,0,"ng-container",18),u.BQk(),u.qZA()),2&P){const a=o.ngIf;u.ekj("is-invalid",a.touched&&!a.valid),u.xp6(3),u.Q6J("uiErrors",u.lcZ(4,7,a.errors)),u.xp6(2),u.Q6J("uiError","required"),u.xp6(1),u.Q6J("uiError","min"),u.xp6(1),u.Q6J("uiError","max"),u.xp6(1),u.Q6J("uiError","pattern")}}function yt(P,o){1&P&&(u.ynx(0),u._uU(1,"\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c"),u.BQk())}function X(P,o){1&P&&(u.ynx(0),u._uU(1,"\u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u044b\u0439 email"),u.BQk())}function G(P,o){if(1&P&&(u.TgZ(0,"ui-custom-input",19),u.ynx(1,17),u.ALo(2,"firstKey"),u.YNc(3,yt,2,0,"ng-container",18),u.YNc(4,X,2,0,"ng-container",18),u.BQk(),u.qZA()),2&P){const a=o.ngIf;u.ekj("is-invalid",a.touched&&!a.valid),u.xp6(1),u.Q6J("uiErrors",u.lcZ(2,5,a.errors)),u.xp6(2),u.Q6J("uiError","required"),u.xp6(1),u.Q6J("uiError","email")}}function J(P,o){if(1&P){const a=u.EpF();u.TgZ(0,"div",8)(1,"form",9),u.NdJ("ngSubmit",function(){u.CHM(a);const h=u.oxw();return u.KtG(h.submit())}),u.YNc(2,bt,9,9,"ui-custom-input",10),u.YNc(3,G,5,7,"ui-custom-input",11),u.TgZ(4,"button",12),u._uU(5,"\u0421\u043e\u0432\u0435\u0440\u0448\u0438\u0442\u044c \u043f\u043b\u0430\u0442\u0435\u0436"),u.qZA(),u.TgZ(6,"div",13)(7,"button",14),u.NdJ("click",function(){u.CHM(a);const h=u.oxw();return u.KtG(h.openRecurrentPaymentInfoDialog())}),u.TgZ(8,"p"),u._uU(9," \u041f\u043e\u0447\u0435\u043c\u0443 \u0442\u0430\u043a \u0432\u0430\u0436\u043d\u044b \u0440\u0435\u043a\u0443\u0440\u0440\u0435\u043d\u0442\u043d\u044b\u0435 \u043f\u043b\u0430\u0442\u0435\u0436\u0438? "),u.qZA()()()()()}if(2&P){const a=u.oxw();u.xp6(1),u.Q6J("formGroup",a.form),u.xp6(1),u.Q6J("ngIf",a.form.get("sum")),u.xp6(1),u.Q6J("ngIf",a.form.get("email"))}}let p=((rt=class{constructor(o,a,s){this.router=o,this.current=a,this.dialog=s,this.source="donation-form",this.form=new n.cw({type:new t.t(_.St.TypeEnum.Subscription,[n.
1kI.required]),sum:new t.t(null,[n.kI.required,n.kI.min(1),n.kI.max(9999999),n.kI.pattern(/^\d+$/)]),email:new t.t("",[n.kI.required,n.kI.email])}),this.current.value.user?.email&&this.form.patchValue({email:this.current.value.user.email})}submit(){if(this.form.markAllAsTouched(),!this.form.valid)return;const o=this.form.getRawValue(),a=new l.KM({email:o.email,type:o.type,price:o.sum?100*o.sum:null,source:this.source,donationType:l.Ky.CARTLESS});this.router.navigate(["order"],{queryParams:a})}openRecurrentPaymentInfoDialog(){this.dialog.open(d.r,{panelClass:"modal--simple-dialog",backdropClass:"mat-dialog-custom-overlay",data:{title:"\u041f\u043e\u0447\u0435\u043c\u0443 \u0442\u0430\u043a \u0432\u0430\u0436\u043d\u0430 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 \u043d\u0430\xa0\u0440\u0435\u043a\u0443\u0440\u0440\u0435\u043d\u0442\u043d\u044b\u0435 \u043f\u043b\u0430\u0442\u0435\u0436\u0438?",text:"\u041e\u0444\u043e\u0440\u043c\u043b\u044f\u044f \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0435\u0436\u0435\u043c\u0435\u0441\u044f\u0447\u043d\u043e\u0435 \u043f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435, \u0432\u044b \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442\u0435 \u0431\u043e\u043b\u044c\u0448\u0435\u043c\u0443 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u043b\u044e\u0434\u0435\u0439 \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u0444\u043e\u043d\u0434\u0430. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438 \u0432 \u043b\u044e\u0431\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432 \u043b\u0438\u0447\u043d\u043e\u043c \u043a\u0430\u0431\u0438\u043d\u0435\u0442\u0435."}})}}).\u0275fac=function(o){return new(o||rt)(u.Y36(f.F0),u.Y36(m.E),u.Y36(E.uw))},rt.\u0275cmp=u.Xpm({type:rt,selectors:[["ui-donation-form"]],inputs:{source:"source"},decls:14,vars:1,consts:[[1,"container"],[1,"donation-block"],[1,"donation-block__title"],[1,"donation-block__tabs",3,"selectedTab","tabChanged"],["uiTab","subscription","label","\u0415\u0436\u0435\u043c\u0435\u0441\u044f\u0447\u043d\u043e"],["uiTab","onetime","label","\u0420\u0430\u0437\u043e\u0432\u043e"],[1,"donation-block__connection"],["href","mailto:[email protected]"],[1,"donation-block__form"],[3,"formGroup","ngSubmit"],["type","text","name","donation-sum","placeholder","300","formControlName","sum","class","donation-block__input","data-type","number",3,"is-invalid",4,"ngIf"],["type","email","name","email","placeholder","E-mail \u0434\u043b\u044f \u0447\u0435\u043a\u0430","formControlName","email","class","donation-block__input",3,"is-invalid",4,"ngIf"],["type","submit","uiButton","",1,"donation-block__form-btn"],[1,"donation-block__form-connection"],["type","button","data-open-modal","payment-subscription",1,"btn","btn--text",3,"click"],["type","text","name","donation-sum","placeholder","300","formControlName","sum","data-type","number",1,"donation-block__input"],["uiLabel",""],[3,"uiErrors"],[4,"uiError"],["type","email","name","email","placeholder","E-mail \u0434\u043b\u044f \u0447\u0435\u043a\u0430","formControlName","email",1,"donation-block__input"]],template:function(o,a){1&o&&(u.TgZ(0,"div",0)(1,"div",1)(2,"h2",2),u._uU(3,"\u0414\u0435\u043d\u0435\u0436\u043d\u043e\u0435 \u043f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435"),u.qZA(),u.TgZ(4,"ui-tabs",3),u.NdJ("tabChanged",function(h){return a.form.patchValue({type:h})}),u.YNc(5,st,13,3,"ng-template",4),u.YNc(6,J,10,3,"ng-template",5),u.qZA(),u.TgZ(7,"div",6)(8,"p"),u._uU(9,"\u0412\u043e\u0437\u043d\u0438\u043a\u043b\u0438 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438?"),u.qZA(),u.TgZ(10,"p"),u._uU(11,"\u041d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u043d\u0430 "),u.TgZ(12,"a",7),u._uU(13,"[email protected]"),u.qZA()()()()()),2&o&&(u.xp6(4),u.Q6J("selectedTab",a.form.value.type))},dependencies:[L.O5,w.O,k.q,O.$,K.u,n._Y,n.JJ,n.JL,n.sg,n.u,M.n,S.w,F.r,Y.H],styles:["ui-donation-form{display:block}\n"],encapsulation:2,changeDetection:0}),rt);p=(0,e.gn)([(0,r.c)()],p)},3666:(U,y,i)=>{i.d(y,{s:()=>m});var e=i(6814),n=i(7418),t=i(4909),d=i(868),r=i(8839),l=i(7700),_=i(5879);let u=(()=>{class E{}return E.\u0275fac=function(w){return new(w||E)},E.\u0275mod=_.oAB({type:E}),E.\u0275inj=_.cJS({imports:[e.ez,l.Is]}),E})();var f=i(3481);let m=(()=>{class E{}return E.\u0275fac=function(w){return new(w||E)},E.\u0275mod=_.oAB({type:E}),E.\u0275inj=_.cJS({imports:[e.ez,n.Bz,t.D,r.u,u,f.P,d.h]}),E})()},4708:(U,y,i)=>{i.d(y,{d:()=>r});var e=i(6814),n=i(7700),t=i(5879),d=i(6593);let r=(()=>{class l{constructor(u,f,m,E){this.sanitizer=u,this.dialogRef=f,this.data=m,this.document=E,this.window=this.document?.defaultView,this.checkoutUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.data.checkoutUrl||"")}ngOnInit(){this.window?.addEventListener("message",u=>this.onMessageReceived(u))}ngOnDestroy(){this.window?.removeEventListener("message",u=>this.onMessageReceived(u))}onMessageReceived(u){if(!u.data?.event||!u.data?.result)return;const{result:m}=u.data;this.dialogRef.close({result:m})}}return l.\u0275fac=function(u){return new(u||l)(t.Y36(d.H7),t.Y36(n.so),t.Y36(n.WI),t.Y36(e.K0))},l.\u0275cmp=t.Xpm({type:l,selectors:[["app-donation-popup-checkout-dialog"]],decls:7,vars:1,consts:[["mat-dialog-title",""],["mat-dialog-content","",2,"margin","0 -1rem -2rem"],[1,"checkout-dialog__frame",3,"src"],["type","button","aria-label","\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u043f\u043e\u043f\u0430\u043f","mat-dialog-close","",1,"mat-dialog-close"],["width","40","height","40","aria-hidden","true"],[0,"xlink","href","#icon-close"]],template:function(u,f){1&u&&(t.TgZ(0,"h2",0),t._uU(1,"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u043f\u043b\u0430\u0442\u0435\u0436\u0430"),t.qZA(),t.TgZ(2,"div",1),t._UZ(3,"iframe",2),t.qZA(),t.TgZ(4,"button",3),t.O4$(),t.TgZ(5,"svg",4),t._UZ(6,"use",5),t.qZA()()),2&u&&(t.xp6(3),t.Q6J("src",f.checkoutUrl,t.uOi))},dependencies:[n.ZT,n.uh,n.xY],styles:[".checkout-dialog__frame{border:0;width:45vw;height:60vh;min-width:24rem;min-height:24rem;max-width:50rem;max-height:50rem}\n"],encapsulation:2,changeDetection:0}),l})()},8196:(U,y,i)=>{i.d(y,{O:()=>f});var e=i(5879),n=i(6814),t=i(7418);let d=(()=>{class m{onClick(){if(!this.target)return;const L=this.document.querySelector(this.target);if(!L)return;const w=L.getBoundingClientRect();this.document.defaultView?.scrollTo({top:w.x||0})}constructor(L){this.document=L}}return m.\u0275fac=function(L){return new(L||m)(e.Y36(n.K0))},m.\u0275dir=e.lG2({type:m,selectors:[["","scrollTo",""]],hostBindings:function(L,w){1&L&&e.NdJ("click",function(O){return w.onClick(O)})},inputs:{target:["scrollTo","target"]}}),m})();const r=["*"];let l=(()=>{class m{}return m.\u0275fac=function(L){return new(L||m)},m.\u0275cmp=e.Xpm({type:m,selectors:[["ui-footer-link-widget"]],hostAttrs:[1,"footer__list-item"],inputs:{link:"link",label:"label",scroll:"scroll"},ngContentSelectors:r,decls:3,vars:3,consts:[[1,"footer__link",3,"routerLink","scrollTo"]],template:function(L,w){1&L&&(e.F$t(),e.TgZ(0,"a",0)(1,"p"),e.Hsn(2),e.qZA()()),2&L&&(e.Q6J("routerLink",w.link)("scrollTo",w.scroll),e.uIk("aria-label",w.label))},dependencies:[t.rH,d],encapsulation:2,changeDetection:0}),m})();function _(m,E){1&m&&(e.TgZ(0,"ul",21)(1,"ui-footer-link-widget",22),e._uU(2,"\u041f\u0440\u043e\u0434\u0443\u043a\u0442\u044b \u0438 \u043d\u0430\u0431\u043e\u0440\u044b"),e.qZA(),e.TgZ(3,"ui-footer-link-widget",23),e._uU(4,"\u0412\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043f\u043e\u043c\u043e\u0449\u0438"),e.qZA(),e.TgZ(5,"ui-footer-link-widget",24),e._uU(6,"\u041e\u0442\u0447\u0435\u0442\u044b"),e.qZA(),e.TgZ(7,"ui-footer-link-widget",25),e._uU(8,"\u0412\u0430\u043c \u043d\u0443\u0436\u043d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c?"),e.qZA(),e.TgZ(9,"ui-footer-link-widget",26),e._uU(10,"\u041e \u0444\u043e\u043d\u0434\u0435"),e.qZA(),e.TgZ(11,"ui-footer-link-widget",27),e._uU(12,"\u0411\u043e\u043a\u0441\u044b \xab\u0414\u0430\u0440\u0438 \u0435\u0434\u0443\xbb"),e.qZA(),e.TgZ(13,"a",28)(14,"p"),e._uU(15,"\u0412\u0430\u043a\u0430\u043d\u0441\u0438\u0438"),e.qZA()()())}function u(m,E){1&m&&(e.TgZ(0,"ul",21)(1,"ui-footer-link-widget",29),e._uU(2,"\u041d\u0430\u0448\u0438 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u044b"),e.qZA(),e.TgZ(3,"ui-footer-link-widget",30),e._uU(4,"\u0414\u043b\u044f \u0421\u041c\u0418"),e.qZA(),e.TgZ(5,"ui-footer-link-widget",31),e._uU(6,"\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b"),e.qZA(),e.TgZ(7,"ui-footer-link-widget",32),e._uU(8,"\u0412\u043e\u043f\u0440\u043e\u0441\u044b \u0438 \u043e\u0442\u0432\u0435\u0442\u044b"),e.qZA(),e.TgZ(9,"ui-footer-link-widget",33),e._uU(10,"\u0411\u043b\u043e\u0433"),e.qZA(),e.TgZ(11,"ui-footer-link-widget",34),e._uU(12,"\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u044b"),e.qZA()())}let f=(()=>{class m{constructor(){this.appearance="default",this.year=(new Date).getFullYear()}}return m.\u0275fac=function(L){return new(L||m)},m.\u0275cmp=e.Xpm({type:m,selectors:[["ui-footer-widget"]],hostAttrs:[1,"footer"],hostVars:4,hostBindings:function(L,w){2&L&&e.ekj("footer--appearance-default","default"===w.appearance)("footer--appearance-light","light"===w.appearance)},inputs:{appearance:"appearance"},decls:39,vars:3,consts:[[1,"container"],[1,"footer__links"],["class","footer__list-column",4,"ngIf"],[1,"footer__links-row"],[1,"footer__social-icons"],[1,"footer__icons-item"],["href","https://vk.com/dariedu","target","_blank","rel","nofollow noopener noreferrer","aria-label","\u0421\u0441\u044b\u043b\u043a\u0430 \u0412\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u0435",1,"footer__icon"],["width","32","height","32","aria-hidden","true"],[0,"xlink","href","#icon-vk"],["href","https://zen.yandex.ru/dariedu","target","_blank","rel","nofollow noopener noreferrer","aria-label","\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0417\u0435\u043d",1,"footer__icon"],[0,"xlink","href","#icon-zen"],["href","https://ok.ru/dariedu","target","_blank","rel","nofollow noopener noreferrer","aria-label","\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u041e\u0434\u043d\u043e\u043a\u043b\u0430\u0441\u0441\u043d\u0438\u043a\u0438",1,"footer__icon"],[0,"xlink","href","#icon-odnoklassniki"],["href","https://t.me/dariedu","target","_blank","rel","nofollow noopener noreferrer","aria-label","\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c",1,"footer__icon"],[0,"xlink","href","#icon-telegram"],[1,"footer__c
1opyright"],[1,"footer__document-links"],[1,"footer__document-item"],["routerLink","/offer","target","_blank","aria-label","\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u041e\u0444\u0435\u0440\u0442\u0430",1,"footer__document-link"],["routerLink","/privacy","target","_blank","aria-label","\u0421\u0441\u044b\u043b\u043a\u0430 \u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438",1,"footer__document-link"],["routerLink","/data-consent","target","_blank","aria-label","\u0421\u0441\u044b\u043b\u043a\u0430 \u0421\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u043d\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445",1,"footer__document-link"],[1,"footer__list-column"],["link","/","scroll","a[name=top]","label","\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u041f\u0440\u043e\u0434\u0443\u043a\u0442\u044b \u0438 \u043d\u0430\u0431\u043e\u0440\u044b"],["link","/help","label","\u0412\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043f\u043e\u043c\u043e\u0449\u0438"],["link","/reports","label","\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u041e\u0442\u0447\u0435\u0442\u044b"],["link","/need-help","label","\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0412\u0430\u043c \u043d\u0443\u0436\u043d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c?"],["link","/about","label","\u0421\u0441\u044b\u043b\u043a\u0430 \u041e \u0444\u043e\u043d\u0434\u0435"],["link","/boxes","label","\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0411\u043e\u043a\u0441\u044b \xab\u0414\u0430\u0440\u0438 \u0435\u0434\u0443\xbb"],["href","https://vacancies.dariedu.ru","aria-label","\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438","target","_blank",1,"footer__link"],["link","/partners","label","\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u041d\u0430\u0448\u0438 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u044b"],["link","/for-press","label","\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0414\u043b\u044f \u0421\u041c\u0418"],["link","/documents","label","\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b"],["link","/faq","label","\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0412\u043e\u043f\u0440\u043e\u0441\u044b \u0438 \u043e\u0442\u0432\u0435\u0442\u044b"],["link","/news","label","\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0411\u043b\u043e\u0433"],["link","/contacts","label","\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u041a\u043e\u043d\u0442\u0430\u043a\u0442\u044b"]],template:function(L,w){1&L&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,_,16,0,"ul",2),e.YNc(3,u,13,0,"ul",2),e.TgZ(4,"div",3)(5,"ul",4)(6,"li",5)(7,"a",6),e.O4$(),e.TgZ(8,"svg",7),e._UZ(9,"use",8),e.qZA()()(),e.kcU(),e.TgZ(10,"li",5)(11,"a",9),e.O4$(),e.TgZ(12,"svg",7),e._UZ(13,"use",10),e.qZA()()(),e.kcU(),e.TgZ(14,"li",5)(15,"a",11),e.O4$(),e.TgZ(16,"svg",7),e._UZ(17,"use",12),e.qZA()()(),e.kcU(),e.TgZ(18,"li",5)(19,"a",13),e.O4$(),e.TgZ(20,"svg",7),e._UZ(21,"use",14),e.qZA()()()(),e.kcU(),e.TgZ(22,"div",15),e._uU(23),e._UZ(24,"br"),e._uU(25," \u041e\u0413\u0420\u041d\xa01167700076169, \u0418\u041d\u041d\xa07713426066 "),e.qZA(),e.TgZ(26,"ul",16)(27,"li",17)(28,"a",18)(29,"p"),e._uU(30,"\u041e\u0444\u0435\u0440\u0442\u0430"),e.qZA()()(),e.TgZ(31,"li",17)(32,"a",19)(33,"p"),e._uU(34,"\u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438"),e.qZA()()(),e.TgZ(35,"li",17)(36,"a",20)(37,"p"),e._uU(38,"\u0421\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u043d\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445"),e.qZA()()()()()()()),2&L&&(e.xp6(2),e.Q6J("ngIf","default"===w.appearance),e.xp6(1),e.Q6J("ngIf","default"===w.appearance),e.xp6(20
1),e.hij(" \xa9\xa0\u0411\u043b\u0430\u0433\u043e\u0442\u0432\u043e\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439\xa0\u0444\u043e\u043d\u0434 \xab\u0414\u0430\u0440\u0438\xa0\u0435\u0434\u0443\xbb,\xa0",w.year,""))},dependencies:[n.O5,t.rH,l],styles:['.footer{background-color:transparent;padding:56px 0 96px}@media (min-width: 1024px){.footer{padding:32px 0}}.footer--appearance-light .footer__links{grid-template-columns:1fr}.footer--appearance-light .footer__links-row{flex-direction:column;flex-wrap:nowrap}@media (min-width: 1024px){.footer--appearance-light .footer__links-row{flex-direction:row}}.footer--appearance-light .footer__copyright{order:1;margin:0 1rem}.footer--appearance-light .footer__document-links{order:2;margin:1rem}@media (min-width: 1024px){.footer--appearance-light .footer__document-links{margin:0 1rem}}.footer--appearance-light .footer__social-icons{order:3;margin:0 1rem;justify-content:flex-end}.footer__links{display:grid;grid-template-columns:1fr 1fr;gap:24px 16px;padding:0;max-width:1024px;font-size:16px;line-height:20px;letter-spacing:-.01em}@media (min-width: 1024px){.footer__links{grid-template-columns:1fr 1fr 2fr;margin:0 auto;gap:8px;padding:24px 16px 48px}}@media (min-width: 1280px){.footer__links{padding:24px 16px}}.footer__list-column{display:flex;flex-direction:column;align-items:flex-start;padding:0;margin:0;list-style:none}.footer__list-item{display:flex}.footer__list-item:not(:last-child){margin:0 0 16px}.footer__link{color:#070707;-webkit-user-select:none;user-select:none;transition:.3s ease}.footer__link p{margin:0}.footer__link:hover:not(.is-disabled){color:#8b8b8b}.footer__link:active:not(.is-disabled){color:#070707}.footer__link.is-disabled,.footer__link[tabindex="-1"]{opacity:.5;pointer-events:none}.footer__links-row{display:flex;flex-wrap:wrap;align-content:flex-start;grid-column:1/-1}@media (min-width: 1024px){.footer__links-row{grid-column:3/-1;padding:0 84px}}.footer__social-icons{width:100%;padding:0;margin:3px 0 -3px;order:1;display:flex;gap:16px;list-style:none}@media (min-width: 1024px){.footer__social-icons{margin:0}}.footer__icons-item{display:flex}.footer__icon{display:inline-flex;-webkit-user-select:none;user-select:none;transition:.3s ease}.footer__icon:hover:not(.is-disabled){opacity:.7}.footer__icon:active:not(.is-disabled){opacity:1}.footer__icon.is-disabled{opacity:.5;pointer-events:none}.footer__document-links{order:3;display:flex;justify-content:space-between;flex-wrap:wrap;width:100%;margin:24px 0 0;padding:0;list-style:none}.footer__document-links p{margin:0;letter-spacing:0}@media (min-width: 1024px){.footer__document-links{order:2;justify-content:flex-start;margin:30px 0 0}}@media (min-width: 1024px){.footer__document-item:not(:last-child){margin:0 20px 0 0}}@media (min-width: 1280px){.footer__document-item:not(:last-child){margin:0 40px 0 0}}.footer__document-link{display:inline-flex;font-size:14px;line-height:18px;color:#8b8b8b;-webkit-user-select:none;user-select:none;transition:.3s ease}.footer__document-link:hover:not(.is-disabled){color:#070707}.footer__document-link:active:not(.is-disabled){color:#8b8b8b}.footer__document-link.is-disabled{opacity:.5;pointer-events:none}.footer__copyright{width:100%;order:2;grid-row:-1;margin:24px 0 0;font-size:14px;line-height:20px;color:#8b8b8b}.footer__copyright p{margin:0;padding:0 20px 0 0;letter-spacing:0}@media (min-width: 1024px){.footer__copyright p{line-height:18px;padding:0}}@media (min-width: 1024px){.footer__copyright{order:3;margin:24px 0 0}}[data-main=basket-success]~.footer{margin-top:-17px}\n'],encapsulation:2,changeDetection:0}),m})()},2111:(U,y,i)=>{i.d(y,{I:()=>r});var e=i(6814),n=i(7418),t=i(5879);let d=(()=>{class l{}return l.\u0275fac=function(u){return new(u||l)},l.\u0275mod=t.oAB({type:l}),l.\u0275inj=t.cJS({}),l})(),r=(()=>{class l{}return l.\u0275fac=function(u){return new(u||l)},l.\u0275mod=t.oAB({type:l}),l.\u0275inj=t.cJS({imports:[e.ez,n.Bz,d]}),l})()},6724:(U,y,i)=>{i.d(y,{u:()=>yt});var e=i(7582),n=i(5562),t=i(5879);let d=(()=>{class X extends n.O{constructor(){super({menuOpened:!1,popuoOpened:!1})}}return X.\u0275fac=function(J){return new(J||X)},X.\u0275prov=t.Yz7({token:X,factory:X.\u0275fac}),X})();var O,r=i(1791),l=i(9384),_=i(7398),u=i(2373),f=i(222),m=i(6814),E=i(7418),L=i(1792),w=i(3651),k=i(1483);const K=["mainNavNumber"],M=["mainNavCartGroup"],S=["mainNavCartFirst"],F=["mainNavCartSecond"],Y=["mainNavLineFirst"],rt=["mainNavLineSecond"],z=["mainNavLineThird"],ot=["mainNavLineForth"],v=["mainNavLineFifth"];let W=((O=class{constructor(G,J){this.cart=G,this.platform=J,this.incrementCartTimeline=w.p8.timeline({paused:!0}),this.emptyCartTimeline=w.p8.timeline({paused:!0}),this.cartItemsAmount=this.cart.cartItemsAmount}ngAfterViewInit(){(0,m.NF)(this.platform)&&(this.incrementCartTimeline.add("start").to(this.number.nativeElement,.1,{transform:"translateX(-50%) rotate(-5deg)",ease:k.sm.easeInOut},"start").to(this.cartFirst.nativeElement,.1,{attr:{fill:"#206B4A",stroke:"#206B4A",ease:k.EA.easeInOut}},"start").to(this.cartSecond.nativeElement,.1,{attr:{stroke:"#206B4A"},ease:k.EA.easeInOut},"start").to(this.cartGroup.nativeElement,.1,{scale:"1.15",rotate:"-5deg",transformOrigin:"center center",ease:k.sm.easeInOut},"start").to(this.lineFirst.nativeElement,.1,{rotate:"135deg",transformOrigin:"right",attr:{opacity:"1"},ease:k.EA.easeInOut},"start").to(this.lineSecond.nativeElement,.1,{rotate:"180deg",transformOrigin:"right",attr:{opacity:"1"},ease:k.EA.easeInOut},"start").to(this.lineThird.nativeElement,.1,{rotate:"-15deg",transformOrigin:"left",attr:{opacity:"1"},ease:k.EA.easeInOut},"start").to(this.lineFourth.nativeElement,.1,{rotate:"45deg",transformOrigin:"left",attr:{opacity:"1"},ease:k.EA.easeInOut},"start").to(this.lineFifth.nativeElement,.1,{rotate:"-45deg",transformOrigin:"left",attr:{opacity:"1"},ease:k.EA.easeInOut},"start").to(this.number.nativeElement,.1,{transform:"translateX(-25%) rotate(-15deg)",ease:k.sm.easeInOut},"start+=0.1").to(this.cartFirst.nativeElement,.1,{attr:{fill:"#32825E",stroke:"#32825E",ease:k.EA.easeInOut}},"start+=0.1").to(this.cartSecond.nativeElement,.1,{attr:{stroke:"#32825E"},ease:k.EA.easeInOut},"start+=0.1").to(this.cartGroup.nativeElement,.1,{scale:"1.25",rotate:"-15deg",transformOrigin:"center center",ease:k.sm.easeInOut},"start+=0.1").to(this.lineFirst.nativeElement,.1,{attr:{width:"8",fill:"#32825E"},ease:k.EA.easeInOut},"start+=0.1").to(this.lineSecond.nativeElement,.1,{attr:{width:"8",fill:"#32825E"},ease:k.EA.easeInOut},"start+=0.1").to(this.lineThird.nativeElement,.1,{attr:{width:"8",fill:"#32825E"},ease:k.EA.easeInOut},"start+=0.1").to(this.lineFourth.nativeElement,.1,{attr:{width:"8",fill:"#32825E"},ease:k.EA.easeInOut},"start+=0.1").to(this.lineFifth.nativeElement,.1,{attr:{width:"8",fill:"#32825E"},ease:k.EA.easeInOut},"start+=0.1").to(this.number.nativeElement,.1,{transform:"translateX(-50%) rotate(-5deg)",ease:k.sm.easeInOut},"start+=0.2").to(this.cartFirst.nativeElement,.1,{attr:{fill:"#279363",stroke:"#279363",ease:k.EA.easeInOut}},"start+=0.2").to(this.cartSecond.nativeElement,.1,{attr:{stroke:"#279363"},ease:k.EA.easeInOut},"start+=0.2").to(this.cartGroup.nativeElement,.1,{scale:"1.15",rotate:"-5deg",transformOrigin:"center center",ease:k.sm.easeInOut},"start+=0.2").to(this.lineFirst.nativeElement,.1,{transformOrigin:"left",attr:{x:"15.5",y:"44",width:"2",fill:"#279363"},ease:k.EA.easeInOut},"start+=0.2").to(this.lineSecond.nativeElement,.1,{transformOrigin:"left",attr:{x:"13.5",y:"36.5",width:"2",fill:"#279363"},ease:k.EA.easeInOut},"start+=0.2").to(this.lineThird.nativeElement,.1,{transformOrigin:"right",attr:{x:"57",y:"27.5",width:"2",fill:"#279363"},ease:k.EA.easeInOut},"start+=0.2").to(this.lineFourth.nativeElement,.1,{transformOrigin:"right",attr:{x:"55.5",y:"48",width:"2",fill:"#279363"},ease:k.EA.easeInOut},"start+=0.2").to(this.lineFifth.nativeElement,.1,{transformOrigin:"right",attr:{x:"55.5",y:"12.5",width:"2",fill:"#279363"},ease:k.EA.easeInOut},"start+=0.2").to(this.number.nativeElement,.1,{transform:"translateX(-50%) rotate(0deg)",ease:k.sm.easeInOut},"start+=0.3").to(this.cartFirst.nativeElement,.1,{attr:{fill:"currentColor",stroke:"currentColor",ease:k.EA.easeInOut}},"start+=0.3").to(this.cartSecond.nativeElement,.1,{attr:{stroke:"currentColor"},ease:k.EA.easeInOut},"start+=0.3").to(this.cartGroup.nativeElement,.1,{scale:"1",rotate:"0deg",transformOrigin:"center center",ease:k.sm.easeInOut},"start+=0.3").to(this.lineFirst.nativeElement,.1,{attr:{x:"9.5",y:"46",fill:"#38AB78",opacity:"0"},ease:k.EA.easeInOut},"start+=0.3").to(this.lineSecond.nativeElement,.1,{attr:{x:"7.5",y:"36.5",fill:"#38AB78",opacity:"0"},ease:k.EA.easeInOut},"start+=0.3").to(this.lineThird.nativeElement,.1,{attr:{x:"51",y:"28.5",fill:"#38AB78",opacity:"0"},ease:k.EA.easeInOut},"start+=0.3").to(this.lineFourth.nativeElement,.1,{attr:{x:"49.5",y:"46",fill:"#38AB78",opacity:"0"},ease:k.EA.easeInOut},"start+=0.3").to(this.lineFifth.nativeElement,.1,{attr:{x:"49.5",y:"13.5",fill:"#38AB78",opacity:"0"},ease:k.EA.easeInOut},"start+=0.3"),this.emptyCartTimeline.add("start").to(this.cartFirst.nativeElement,.1,{attr:{fill:"currentColor",stroke:"currentColor",ease:k.EA.easeInOut}},"start").to(this.cartSecond.nativeElement,.1,{attr:{stroke:"currentColor"},ease:k.EA.easeInOut},"start"),this.emptyCartTimeline.restart(),this.cartItemsAmount.pipe((0,r.t)(this),(0,l.G)()).subscribe(([G,J])=>{J>G&&this.incrementCartTimeline.restart(),0===J&&this.emptyCartTimeline.restart()}))}}).\u0275fac=function(G){return new(G||O)(t.Y36(f.I),t.Y36(t.Lbi))},O.\u0275cmp=t.Xpm({type:O,selectors:[["ui-navbar-cart-icon"]],viewQuery:function(G,J){if(1&G&&(t.Gf(K,5),t.Gf(M,5),t.Gf(S,5),t.Gf(F,5),t.Gf(Y,5),t.Gf(rt,5),t.Gf(z,5),t.Gf(ot,5),t.Gf(v,5)),2&G){let p;t.iGM(p=t.CRH())&&(J.number=p.first),t.iGM(p=t.CRH())&&(J.cartGroup=p.first),t.iGM(p=t.CRH())&&(J.cartFirst=p.first),t.iGM(p=t.CRH())&&(J.cartSecond=p.first),t.iGM(p=t.CRH())&&(J.lineFirst=p.first),t.iGM(p=t.CRH())&&(J.lineSecond=p.first),t.iGM(p=t.CRH())&&(J.lineThird=p.first),t.iGM(p=t.CRH())&&(J.lineFourth=p.first),t.iGM(p=t.CRH())&&(J.lineFifth=p.first)}},decls:21,vars:3,consts:[["data-cart-number","",1,"main-nav__number"],["mainNavNumber",""],["width","62","height","62","viewBox","0 0 62 62","fill","none","xmlns","http://www.w3.org/2000/svg",1,"main-nav__cart-icon"],[1,"main-nav__cart-group"],["mainNavCartGroup",""],["d","M19.5564 26.5H42.4436C43.4183 26.5 44.1341 27.4149 43.8995 28.3609L40.9245 40.3609C40.7587 41.0301 40.158 41.5 39.4686 41.5H22.5314C21.842 41.5 21.2413 41.0301 21.0755 40.3609L18.1005 28.3609C17.8659 27.4149 18.5817 26.5 19.5564 26.5Z",1,"main-nav__cart-first"],["mainNavCartFirst",""],["d","M26 23V21C26 19.8954 26.8954 19 28 19H34C35.1046 19 36 19.8954 36 21V23","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"main-nav__cart-second"],["mainNavCartSecond",""],["x","9.5","y","45","width","2","height","2","rx","1","fill","none","opacity","0",1,"main-nav__line-first"],["mainNavLineFirst",""],["x","7.5","y","36.5","width","2","height","2","rx","1","fill","none","opacity","0",1,"main-nav__line-second"],["mainNavLineSecond",""],["x","51","y","28.5","width","2","height","2","rx","1","fill","none","opacity","0",1,"main-nav__line-third"],["mainNavLineThird",""],["x","49.5","y","46","width","2","height","2","rx","1","fill","none","opacity","0",1,"main-nav__line-fourth"],["mainNavLineForth",""],["x","49.5","y","13.5","width","2","height","2","rx","1","fill","none","opacity","0",1,"main-nav__line-fifth"],["mainNavLineFifth",""]],template:function(G,J){1&G&&(t.TgZ(0,"span",0,1),t._uU(2),t.ALo(3,"async"),t.qZA(),t.O4$(),t.TgZ(4,"svg",2)(5,"g",3,4),t._UZ(7,"path",5,6)(9,"path",7,8),t.qZA(),t._UZ(11,"rect",9,10)(13,"rect",11,12)(15,"rect",13,14)(17,"rect",15,16)(19,"rect",17,18),t.qZA()),2&G&&(t.xp6(2),t.Oqu(t.lcZ(3,1,J.cartItemsAmount)))},dependencies:[m.Ov],encapsulation:2,changeDetection:0}),O);var j;function $(X,G){1&X&&t._UZ(0,"ul",14)}function nt(X,G){1&X&&(t.TgZ(0,"ul",14)(1,"li",15)(2,"a",16),t._uU(3,"\u041f\u043e\u043c\u043e\u0447\u044c"),t.qZA()(),t.TgZ(4,"li",15)(5,"a",17),t._uU(6,"\u041e\u0442\u0447\u0435\u0442\u044b"),t.qZA()(),t.TgZ(7,"li",15)(8,"a",18),t._uU(9,"\u041c\u043d\u0435 \u043d\u0443\u0436\u043d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c"),t.qZA()(),t.TgZ(10,"li",15)(11,"a",19),t._uU(12,"\u041e \u0444\u043e\u043d\u0434\u0435"),t.qZA()(),t.TgZ(13,"li",15)(14,"a",20),t._uU(15,"\u0410\u0434\u0440\u0435\u0441\u043d\u0430\u044f \u043f\u043e\u043c\u043e\u0449\u044c"),t.qZA()()())}function it(X,G){1&X&&(t.TgZ(0,"ul",21)(1,"li",22)(2,"a",23),t._uU(3,"\u0411\u043e\u043a\u0441\u044b \xab\u0414\u0430\u0440\u0438 \u0435\u0434\u0443\xbb"),t.qZA()(),t.TgZ(4,"li",22)(5,"a",24),t._uU(6,"\u041d\u0430\u0448\u0438 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u044b"),t.qZA()(),t.TgZ(7,"li",22)(8,"a",25),t._uU(9,"\u0421\u0442\u0430\u0442\u044c \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u043e\u043c"),t.qZA()(),t.TgZ(10,"li",22)(11,"a",26),t._uU(12,"\u0414\u043b\u044f \u0421\u041c\u0418"),t.qZA()(),t.TgZ(13,"li",22)(14,"a",27),t._uU(15,"\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u044b"),t.qZA()(),t.TgZ(16,"li",22)(17,"a",28),t._uU(18,"\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b"),t.qZA()(),t.TgZ(19,"li",22)(20,"a",29),t._uU(21,"\u0412\u043e\u043f\u0440\u043e\u0441\u044b \u0438 \u043e\u0442\u0432\u0435\u0442\u044b"),t.qZA()(),t.TgZ(22,"li",22)(23,"a",30),t._uU(24,"\u0411\u043b\u043e\u0433"),t.qZA()(),t.TgZ(25,"li",22)(26,"a",31),t._uU(27,"\u0421\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u0443\u0445\u043d\u0438"),t.qZA()()())}function st(X,G){1&X&&(t.TgZ(0,"a",35),t.O4$(),t.TgZ(1,"svg",36),t._UZ(2,"path",37)(3,"path",38)(4,"path",39),t.qZA(),t._uU(5," \u0412\u043e\u0439\u0442\u0438 "),t.kcU(),t.TgZ(6,"span"),t._uU(7,"\u0432 \u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u0430\u0431\u0438\u043d\u0435\u0442"),t.qZA()())}function gt(X,G){if(1&X&&(t.TgZ(0,"a",40),t.O4$(),t.TgZ(1,"svg",41),t._UZ(2,"use",42),t.qZA(),t._uU(3),t.qZA()),2&X){const J=G.ngIf;t.xp6(3),t.hij(" ",J.firstName," ")}}function Pt(X,G){if(1&X){const J=t.EpF();t.TgZ(0,"a",43),t.NdJ("click",function(){t.CHM(J);const P=t.oxw(2);return t.KtG(P.logout())}),t.O4$(),t.TgZ(1,"svg",36),t._UZ(2,"path",37)(3,"path",38)(4,"path",39),t.qZA(),t._uU(5," \u0412\u044b\u0439\u0442\u0438 "),t.qZA()}}function xt(X,G){if(1&X&&(t.ynx(0),t.YNc(1,st,8,0,"a",32),t.ALo(2,"async"),t.YNc(3,gt,4,1,"a",33),t.ALo(4,"async"),t.YNc(5,Pt,6,0,"a",34),t.ALo(6,"async"),t.BQk()),2&X){const J=t.oxw();
1t.xp6(1),t.Q6J("ngIf",!t.lcZ(2,3,J.user)),t.xp6(2),t.Q6J("ngIf",t.lcZ(4,5,J.user)),t.xp6(2),t.Q6J("ngIf",t.lcZ(6,7,J.user))}}W=(0,e.gn)([(0,r.c)()],W);const vt=function(X){return{"main-nav__cart--green":X}},bt=function(X){return{source:X}};let yt=((j=class{constructor(G,J,p){this.current=G,this.cart=J,this.store=p,this.appearance="default",this.user=this.current.user,this.isMenuOpened=this.store.select(P=>P.menuOpened),this.isPopupOpen=this.store.select(P=>P.popuoOpened),this.cartItemsAmount=this.cart.cartItemsAmount}logout(){this.current.logout().subscribe()}ngOnInit(){this.cartItemsAmount.pipe((0,l.G)(),(0,_.U)(([G,J])=>J>G),(0,r.t)(this)).subscribe(G=>{this.store.update({popuoOpened:G}),G&&setTimeout(()=>this.closePopup(),5e3)})}toggleMenu(){this.store.update({menuOpened:!this.store.value.menuOpened})}closePopup(){this.store.update({popuoOpened:!1})}}).\u0275fac=function(G){return new(G||j)(t.Y36(u.E),t.Y36(f.I),t.Y36(d))},j.\u0275cmp=t.Xpm({type:j,selectors:[["ui-header-widget"]],hostAttrs:[1,"header"],hostVars:4,hostBindings:function(G,J){2&G&&t.ekj("header--appearance-default","default"===J.appearance)("header--appearance-light","light"===J.appearance)},inputs:{appearance:"appearance",cartSource:"cartSource"},features:[t._Bn([d])],decls:26,vars:27,consts:[[1,"container"],["routerLink","/",1,"header__logo"],["src","/assets/img/logo-white.svg",1,"header__logo-img"],["data-menu-nav","",1,"main-nav"],["routerLink","/cart","aria-label","\u041a\u043e\u0440\u0437\u0438\u043d\u0430",1,"main-nav__cart",3,"ngClass","queryParams"],["aria-label","\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043c\u0435\u043d\u044e","aria-pressed","false","data-menu-toggle","",1,"main-nav__toggle","btn-reset",3,"click"],[1,"main-nav__wrapper"],["class","main-nav__list",4,"ngIf"],["class","main-nav__additional-list",4,"ngIf"],[1,"main-nav__user-area"],["routerLink","/cart","aria-label","\u041a\u043e\u0440\u0437\u0438\u043d\u0430","data-cart","",1,"main-nav__cart","main-nav__cart--desktop",3,"ngClass","queryParams"],[4,"ngIf"],["appearance","success",1,"alert-message--cart",3,"opened","close"],[1,"alert-message__text"],[1,"main-nav__list"],[1,"main-nav__item"],["routerLink","/help",1,"main-nav__link"],["routerLink","/reports",1,"main-nav__link"],["routerLink","/need-help",1,"main-nav__link"],["routerLink","/about",1,"main-nav__link"],["routerLink","/targeted-help",1,"main-nav__link"],[1,"main-nav__additional-list"],[1,"main-nav__additional-item"],["routerLink","/boxes",1,"main-nav__additional-link"],["routerLink","/partners",1,"main-nav__additional-link"],["routerLink","/become-a-partner",1,"main-nav__additional-link"],["routerLink","/for-press",1,"main-nav__additional-link"],["routerLink","/contacts",1,"main-nav__additional-link"],["routerLink","/documents",1,"main-nav__additional-link"],["routerLink","/faq",1,"main-nav__additional-link"],["routerLink","/news",1,"main-nav__additional-link"],["routerLink","#",1,"main-nav__additional-link"],["class","main-nav__button btn-reset","routerLink","/login",4,"ngIf"],["class","main-nav__button btn-reset","routerLink","/cabinet",4,"ngIf"],["class","main-nav__button btn-reset",3,"click",4,"ngIf"],["routerLink","/login",1,"main-nav__button","btn-reset"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M13.6012 12L4.80005 12","stroke","currentColor","stroke-width","1.4","stroke-linecap","round","stroke-linejoin","round","fill","none",1,"main-nav__path"],["d","M11.2 8.80005L14.4 12L11.2 15.2","stroke","currentColor","stroke-width","1.4","stroke-linecap","round","stroke-linejoin","round","fill","none",1,"main-nav__path"],["d","M8 6.8V6C8 4.89543 8.89543 4 10 4H17.2C18.3046 4 19.2 4.89543 19.2 6V18C19.2 19.1046 18.3046 20 17.2 20H10C8.89543 20 8 19.1046 8 18V17.6","stroke","currentColor","stroke-width","1.4","stroke-linecap","round","fill","none"],["routerLink","/cabinet",1,"main-nav__button","btn-reset"],["viewBox","0 0 24 20","aria-hidden","true"],[0,"xlink","href","#icon-profile"],[1,"main-nav__button","btn-reset",3,"click"]],template:function(G,J){1&G&&(t.TgZ(0,"div",0)(1,"a",1),t._UZ(2,"img",2),t._uU(3," \u0434\u0430\u0440\u0438 \u0435\u0434\u0443 "),t.qZA(),t.TgZ(4,"nav",3),t.ALo(5,"async"),t.TgZ(6,"a",4),t.ALo(7,"async"),t._UZ(8,"ui-navbar-cart-icon"),t.qZA(),t.TgZ(9,"button",5),t.NdJ("click",function(){return J.toggleMenu()}),t.qZA(),t.TgZ(10,"div",6),t.YNc(11,$,1,0,"ul",7),t.YNc(12,nt,16,0,"ul",7),t.YNc(13,it,28,0,"ul",8),t.TgZ(14,"div",9)(15,"a",10),t.ALo(16,"async"),t._UZ(17,"ui-navbar-cart-icon"),t.qZA(),t.YNc(18,xt,7,9,"ng-container",11),t.qZA()()()(),t.TgZ(19,"ui-simple-popup",12),t.NdJ("close",function(){return J.closePopup()}),t.ALo(20,"async"),t.TgZ(21,"div",13)(22,"h2"),t._uU(23,"\u0422\u043e\u0432\u0430\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443!"),t.qZA(),t.TgZ(24,"p"),t._uU(25,"\u0421\u043f\u0430\u0441\u0438\u0431\u043e, \u0447\u0442\u043e \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442\u0435!"),t.qZA()()()),2&G&&(t.xp6(4),t.ekj("is-active",t.lcZ(5,11,J.isMenuOpened)),t.xp6(2),t.Q6J("ngClass",t.VKq(19,vt,t.lcZ(7,13,J.cartItemsAmount)))("queryParams",t.VKq(21,bt,J.cartSource)),t.xp6(5),t.Q6J("ngIf","light"===J.appearance),t.xp6(1),t.Q6J("ngIf","default"===J.appearance),t.xp6(1),t.Q6J("ngIf","default"===J.appearance),t.xp6(2),t.Q6J("ngClass",t.VKq(23,vt,t.lcZ(16,15,J.cartItemsAmount)))("queryParams",t.VKq(25,bt,J.cartSource)),t.xp6(3),t.Q6J("ngIf","default"===J.appearance),t.xp6(1),t.Q6J("opened",t.lcZ(20,17,J.isPopupOpen)))},dependencies:[m.mk,m.O5,E.rH,L.Z,W,m.Ov],styles:['.header{z-index:11;position:fixed;top:0;width:100%;padding:12px 0 11px;border-bottom:1px solid #dddddd;background-color:#fff;overflow-x:hidden}@media (min-width: 1440px){.header--appearance-light{background:transparent;border-bottom:0}}.header--appearance-light .main-nav__toggle{display:none}@media (min-width: 1024px){.header{padding:21px 0 19px;overflow-x:visible}}.header .container{display:flex;justify-content:space-between}@media (min-width: 1024px){.header .container{padding:0 24px}}.header__logo{display:flex;width:11rem;flex-shrink:0;margin-top:2px;margin-right:16px;font-size:28px;letter-spacing:-.02em;color:#070707}@media (min-width: 1024px){.header__logo{margin-top:0}}.header__logo-img{width:34px;height:38px;padding:2px;margin-right:.5rem;background:url(/assets/img/logo-bg.svg) center center no-repeat}.main-nav{display:flex}@media (min-width: 1024px){.main-nav{width:100%}}.main-nav.is-active .main-nav__toggle:before{top:20px;transform:rotate(-45deg) translateY(-50%)}.main-nav.is-active .main-nav__toggle:after{top:18px;transform:rotate(45deg) translateY(50%)}.main-nav.is-active .main-nav__wrapper{transform:translate(0)}.main-nav__user-area{display:flex;justify-content:flex-start;gap:24px}@media (min-width: 1024px){.main-nav__user-area{justify-content:flex-end}}.main-nav__cart{z-index:11;position:relative;display:flex;width:40px;height:40px;margin-right:16px;cursor:pointer;-webkit-user-select:none;user-select:none}@media (min-width: 1024px){.main-nav__cart{display:none}}.main-nav__cart--desktop{display:none}@media (min-width: 1024px){.main-nav__cart--desktop{display:flex;margin-right:0}}@media (hover: hover),screen and (min-width: 0\\fffd){.main-nav__cart:hover .main-nav__cart-icon{color:#8b8b8b}.main-nav__cart:active .main-nav__cart-icon{color:#070707}}.main-nav__cart--green .main-nav__cart-icon{color:#38ab78}@media (hover: hover),screen and (min-width: 0\\fffd){.main-nav__cart--green:hover .main-nav__cart-icon{color:#57bb8f}.main-nav__cart--green:active .main-nav__cart-icon{color:#279363}}.main-nav__number{z-index:1;position:absolute;top:16.5px;left:50%;font-size:12px;line-height:12px;letter-spacing:-.01em;color:#fff;transform:translate(-50%);transform-origin:center center;height:16px}.main-nav__cart-icon{position:absolute;top:50%;left:50%;color:#070707;transition:color .3s ease;transform:translate(-50%,-50%);pointer-events:none}.main-nav__toggle{order:1;z-index:11;position:relative;display:flex;width:40px;height:40px;cursor:pointer;-webkit-user-select:none;user-select:none}.main-nav__toggle:before,.main-nav__toggle:after{content:"";position:absolute;
1left:3px;width:34px;height:2px;background-color:#070707;transition:transform .3s ease}.main-nav__toggle:before{top:14px}.main-nav__toggle:after{top:24px}@media (min-width: 1024px){.main-nav__toggle{display:none}}.main-nav__toggle svg{width:40px;height:40px}.main-nav__wrapper{z-index:10;position:fixed;left:0;top:0;width:100%;height:100%;padding:149px 16px 114px;overflow-y:scroll;background-color:#fff;transform:translate(100%);transition:transform .3s ease}@media (min-width: 1024px){.main-nav__wrapper{position:relative;display:flex;justify-content:space-between;align-items:center;width:100%;padding:0;overflow-y:visible;clip-path:none;background-color:#fff0;transform:translate(0);transition:none}}.main-nav__wrapper>a{margin:0 .5rem}.main-nav__list{margin:0 0 48px;padding:0;list-style:none}@media (min-width: 1024px){.main-nav__list{display:flex;margin:0 auto}}.main-nav__item{margin-bottom:24px}@media (min-width: 1024px){.main-nav__item{margin-right:26px;margin-bottom:0}}.main-nav__item:last-child{margin-bottom:0}@media (min-width: 1024px){.main-nav__item:last-child{margin-right:0}}.main-nav__link{font-size:24px;line-height:32px;letter-spacing:-.02em;color:#070707;transition:color .3s ease}@media (min-width: 1024px){.main-nav__link{font-size:16px;line-height:20px}}.main-nav__link:active{color:#8b8b8b}@media (hover: hover),screen and (min-width: 0\\fffd){.main-nav__link:hover{color:#8b8b8b}.main-nav__link:active{color:#070707}}.main-nav__additional-list{max-width:343px;margin:0 0 35px;padding:0;list-style:none;column-count:2}@media (min-width: 1024px){.main-nav__additional-list{display:none}}.main-nav__additional-item{padding-bottom:12px;page-break-inside:avoid;break-inside:avoid}.main-nav__additional-link{font-size:16px;line-height:20px;letter-spacing:-.01em;color:#8b8b8b;transition:color .3s ease}.main-nav__additional-link:active{color:#070707}@media (hover: hover),screen and (min-width: 0\\fffd){.main-nav__additional-link:hover,.main-nav__additional-link:active{color:#070707}}.main-nav__button{display:inline-flex;align-items:center;font-size:16px;line-height:20px;letter-spacing:-.01em;color:#070707;cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .3s ease}@media (min-width: 1024px){.main-nav__button{display:inline-flex}}.main-nav__button svg{width:24px;height:24px;margin-right:8px;color:#070707;transition:color .3s ease}.main-nav__button span{margin-left:3px;letter-spacing:-.01em}@media (min-width: 1024px){.main-nav__button span{display:none}}@media (hover: hover),screen and (min-width: 0\\fffd){.main-nav__button:hover{color:#8b8b8b}.main-nav__button:hover svg{color:#8b8b8b}.main-nav__button:hover .main-nav__path{transform:translate(2px)}.main-nav__button:active{color:#070707}.main-nav__button:active svg{color:#070707}.main-nav__button:active .main-nav__path{transform:translate(2px)}}.main-nav__path{transition:transform .3s ease}\n'],encapsulation:2,changeDetection:0}),j);yt=(0,e.gn)([(0,r.c)()],yt)},7395:(U,y,i)=>{i.d(y,{k:()=>l});var e=i(6814),n=i(7418),t=i(3167),d=i(972),r=i(5879);let l=(()=>{class _{}return _.\u0275fac=function(f){return new(f||_)},_.\u0275mod=r.oAB({type:_}),_.\u0275inj=r.cJS({imports:[e.ez,n.Bz,t.b,d.e]}),_})()},6522:(U,y,i)=>{i.d(y,{x:()=>ot});var e=i(6814),n=i(2111),t=i(7395),d=i(7418),r=i(3167),l=i(5369),_=i(4909),u=i(868),f=i(4506),m=i(7700),E=i(5879);let L=(()=>{class v{}return v.\u0275fac=function(j){return new(j||v)},v.\u0275mod=E.oAB({type:v}),v.\u0275inj=E.cJS({imports:[e.ez,m.Is]}),v})(),w=(()=>{class v{}return v.\u0275fac=function(j){return new(j||v)},v.\u0275mod=E.oAB({type:v}),v.\u0275inj=E.cJS({imports:[e.ez]}),v})();var k=i(8839),O=i(3289);let K=(()=>{class v{}return v.\u0275fac=function(j){return new(j||v)},v.\u0275mod=E.oAB({type:v}),v.\u0275inj=E.cJS({imports:[e.ez,d.Bz,_.D,O.F,k.u,u.h]}),v})();var M=i(6607),S=i(6556);let F=(()=>{class v{}return v.\u0275fac=function(j){return new(j||v)},v.\u0275mod=E.oAB({type:v}),v.\u0275inj=E.cJS({imports:[e.ez,d.Bz,M.UX,r.b,S.D,u.h]}),v})();var Y=i(6302);let rt=(()=>{class v{}return v.\u0275fac=function(j){return new(j||v)},v.\u0275mod=E.oAB({type:v}),v.\u0275inj=E.cJS({imports:[e.ez,Y.kz]}),v})(),z=(()=>{class v{}return v.\u0275fac=function(j){return new(j||v)},v.\u0275mod=E.oAB({type:v}),v.\u0275inj=E.cJS({imports:[e.ez,d.Bz,_.D,r.b,l.L,F,K,L,rt,w,u.h,f.E]}),v})(),ot=(()=>{class v{}return v.\u0275fac=function(j){return new(j||v)},v.\u0275mod=E.oAB({type:v}),v.\u0275inj=E.cJS({imports:[e.ez,z,t.k,n.I]}),v})()},6180:(U,y,i)=>{i.d(y,{$:()=>N});var e=i(5879),n=i(7582),t=i(6814),d=i(2181);function r(c){return""!==c&&null!==c&&typeof c<"u"}var _=i(5611),u=i(87),f=i(6607),m=i(2355);class E extends f.cw{constructor(D){super({type:new m.t(D?.type||u.St.TypeEnum.Onetime,[f.kI.required]),sum:new m.t(null,[f.kI.min(1),f.kI.max(9999999),f.k
1I.pattern(/^\d+$/)]),email:new m.t(D?.email||"",[f.kI.required,f.kI.email]),items:new f.Oe([new m.t(0),new m.t(0),new m.t(0),new m.t(0)])}),this.sumOrItemsRequired=x=>null,this.get("sum")?.addValidators([this.sumOrItemsRequired])}}var L=i(5562),w=(()=>((w=w||{}).CARD="card",w.YPAY="ypay",w.SBERPAY="sberpay",w.QRCODE="qrcode",w.YOOMONEY="yoomoney",w.SBP="sbp",w))();let k=(()=>{class c extends L.O{constructor(){super({buttonHidden:!1,opened:!1,scene:"products",orderInProgress:!1,paymentMethods:[],selectedMethodType:w.CARD})}changeScene(x){this.update({scene:x})}}return c.\u0275fac=function(x){return new(x||c)},c.\u0275prov=e.Yz7({token:c,factory:c.\u0275fac}),c})();var O=i(1791),K=i(5619),M=i(1687),S=i(7398),F=i(940),Y=i(8180),rt=i(4708),z=i(9771),ot=i(7418);const v=c=>!!c&&(["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(c.platform)||c.userAgent.includes("Mac")&&"ontouchend"in document);let W=(()=>{class c{constructor(x,Z){this.platform=x,this.document=Z,this._iosChecker=v,this._lockClass=this._iosChecker(this.document?.defaultView?.navigator)?"scroll-lock-ios":"scroll-lock",this._scrollTop=null,this._fixedBlockElements=this.document.querySelectorAll("[data-fix-block]")}_getScrollbarWidth(){return window.innerWidth-this.document.documentElement.clientWidth}_getBodyScrollTop(){return self.pageYOffset||this.document.documentElement&&this.document.documentElement.scrollTop||this.document.body&&this.document.body.scrollTop}disableScrolling(){(0,t.NF)(this.platform)&&(this._scrollTop=this.document.body.dataset.scroll=this.document.body.dataset.scroll?this.document.body.dataset.scroll:this._getBodyScrollTop(),this._getScrollbarWidth()&&(this.document.body.style.paddingRight=`${this._getScrollbarWidth()}px`,this._fixedBlockElements.forEach(x=>{x.style.paddingRight=`${this._getScrollbarWidth()}px`})),this.document.body.style.top=`-${this._scrollTop}px`,this.document.body.classList.add(this._lockClass))}enableScrolling(){(0,t.NF)(this.platform)&&(this.document.body.classList.remove(this._lockClass),this.document.body.style.paddingRight="",this.document.body.style.top="",this._fixedBlockElements.forEach(x=>{x.style.paddingRight=""}),this.document.body.removeAttribute("data-scroll"),this._scrollTop=null)}}return c.\u0275fac=function(x){return new(x||c)(e.LFG(e.Lbi),e.LFG(t.K0))},c.\u0275prov=e.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();var j=i(7700),$=i(2373),nt=i(222),it=i(0),st=i(2080),gt=i(4805),Pt=i(8619),xt=i(6154),vt=i(5579),bt=i(3478),yt=i(902),X=i(4583);function G(c,D){if(1&c&&e._UZ(0,"img",26),2&c){const x=e.oxw(2).$implicit;e.Q6J("src",x.picture.url,e.LSH)("alt",x.name)}}function J(c,D){if(1&c){const x=e.EpF();e.TgZ(0,"a",27),e.NdJ("click",function(H){e.CHM(x);const q=e.oxw(2).$implicit,ft=e.oxw();return e.KtG(ft.openItemsDialog(H,q.items))}),e._uU(1,"\u0421\u043e\u0441\u0442\u0430\u0432"),e.qZA()}}function p(c,D){if(1&c){const x=e.EpF();e.TgZ(0,"li",8),e.NdJ("click",function(){e.CHM(x);const H=e.oxw().$implicit,q=e.oxw();return e.KtG(q.addToCart.emit(H))}),e.TgZ(1,"div",9)(2,"div",10)(3,"div",11)(4,"picture"),e.YNc(5,G,1,2,"img",12),e.qZA()(),e.TgZ(6,"div",13),e._UZ(7,"h3",14),e.ALo(8,"sanitizeHtml"),e.YNc(9,J,2,0,"a",15),e.qZA(),e.TgZ(10,"p",16),e._uU(11),e.ALo(12,"money"),e.ALo(13,"humanizeMoney"),e.qZA()(),e.TgZ(14,"div",17)(15,"div",18)(16,"button",19),e.NdJ("click",function(H){e.CHM(x);const q=e.oxw().$implicit,ft=e.oxw();return ft.prevent(H),e.KtG(ft.decreaseCartQuantity.emit(q))}),e.O4$(),e.TgZ(17,"svg",20),e._UZ(18,"use",21),e.qZA()(),e.kcU(),e.TgZ(19,"p",22)(20,"span",23),e._uU(21),e.qZA(),e._uU(22,"\xa0\u0448\u0442. "),e.qZA(),e.TgZ(23,"button",24),e.NdJ("click",function(H){e.CHM(x);const q=e.oxw().$implicit,ft=e.oxw();return ft.prevent(H),e.KtG(ft.increaseCartQuantity.emit(q))}),e.O4$(),e.TgZ(24,"svg",20),e._UZ(25,"use",25),e.qZA()()()()()()}if(2&c){const x=D.init,Z=e.oxw().$implicit;e.ekj("is-active",x>0),e.xp6(5),e.Q6J("ngIf",Z.picture),e.xp6(2),e.Q6J("innerHTML",e.lcZ(8,7,Z.name),e.oJD),e.xp6(2),e.Q6J("ngIf",!1),e.xp6(2),e.Oqu(e.lcZ(12,9,e.lcZ(13,11,Z.price))),e.xp6(10),e.Oqu(x)}}function P(c,D){if(1&c&&(e.ynx(0),e.YNc(1,p,26,13,"li",7),e.ALo(2,"async"),e.ALo(3,"checkCart"),e.BQk()),2&c){const x=D.$implicit,Z=e.oxw();let H;e.xp6(1),e.Q6J("init",null==(H=e.lcZ(2,1,e.xi3(3,3,Z.cartProducts,x.id)))?null:H.quantity)}}function o(c,D){1&c&&(e.ynx(0),e._uU(1,"\u0421\u0443\u043c\u043c\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 1 \u20bd"),e.BQk())}function a(c,D){1&c&&(e.ynx(0),e._uU(1,"\u0421\u0443\u043c\u043c\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0446\u0435\u043b\u044b\u043c \u0447\u0438\u0441\u043b\u043e\u043c"),e.BQk())}function s(c,D){1&c&&(e.ynx(0),e._uU(1,"\u0421\u0443\u043c\u043c\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0435 10000000 \u20bd"),e.BQk())}function h(c,D){1&c&&(e.TgZ(0,"span",33),e._uU(1,"\u20bd"),e.qZA())}function C(c,D){1&c&&(e.TgZ(0,"span",33),e._uU(1,"\u20bd/\u043c\u0435\u0441"),e.qZA())}function b(c,D){if(1&c&&(e.TgZ(0,"p",28)(1,"label")(2,"span",29),e._uU(3,"\u0414\u0440\u0443\u0433\u0430\u044f \u0441\u0443\u043c\u043c\u0430"),e.qZA(),e._uU(4,"\xa0\u2014\xa0\n"),e._UZ(5,"input",30),e.qZA(),e.TgZ(6,"span",31),e.YNc(7,o,2,0,"ng-container",6),e.YNc(8,a,2,0,"ng-container",6),e.YNc(9,s,2,0,"ng-container",6),e.qZA(),e.YNc(10,h,2,0,"span",32),e.YNc(11,C,2,0,"span",32),e.qZA()),2&c){const x=D.ngIf,Z=e.oxw();e.ekj("is-invalid",x.touched&&x.invalid),e.xp6(7),e.Q6J("ngIf",!(null!=x.errors&&x.errors.pattern)&&(null==x.errors?null:x.errors.min)),e.xp6(1),e.Q6J("ngIf",null==x.errors?null:x.errors.pattern),e.xp6(1),e.Q6J("ngIf",null==x.errors?null:x.errors.max),e.xp6(1),e.Q6J("ngIf","onetime"===Z.appearance),e.xp6(1),e.Q6J("ngIf","subscribe"===Z.appearance)}}function B(c,D){if(1&c&&(e.TgZ(0,"p",34)(1,"label")(2,"span",35),e._uU(3,"Email"),e.qZA(),e._UZ(4,"input",36),e.qZA(),e.TgZ(5,"span",31),e._uU(6,"\u042d\u0442\u043e \u043f\u043e\u043b\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043e \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439"),e.qZA()()),2&c){const x=D.ngIf;e.ekj("is-invalid",x.touched&&x.invalid)}}function I(c,D){1&c&&(e.ynx(0),e._uU(1,"\u041f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u0442\u044c"),e.BQk())}function R(c,D){1&c&&(e.ynx(0),e._uU(1,"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443"),e.BQk())}let et=(()=>
1{class c{constructor(x){this.dialog=x,this.prevent=st.X,this.trackProduct=gt.xn,this.products=null,this.submit=new e.vpe,this.addToCart=new e.vpe,this.increaseCartQuantity=new e.vpe,this.decreaseCartQuantity=new e.vpe}openItemsDialog(x,Z){(0,st.X)(x),this.dialog.open(Pt.G,{data:{items:Z}})}}return c.\u0275fac=function(x){return new(x||c)(e.Y36(j.uw))},c.\u0275cmp=e.Xpm({type:c,selectors:[["ui-donation-popup-products"]],inputs:{appearance:"appearance",form:"form",products:"products",cartProducts:"cartProducts"},outputs:{submit:"submit",addToCart:"addToCart",increaseCartQuantity:"increaseCartQuantity",decreaseCartQuantity:"decreaseCartQuantity"},decls:8,vars:8,consts:[["method","post",3,"id","formGroup","ngSubmit"],[1,"widget__list"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","widget__price",3,"is-invalid",4,"ngIf"],["class","widget__email",3,"is-invalid",4,"ngIf"],["uiButton","","type","submit",1,"widget__submit-button"],[4,"ngIf"],["class","widget__item","data-quantity","wrapper",3,"is-active","click",4,"init"],["data-quantity","wrapper",1,"widget__item",3,"click"],["data-quantity","button",1,"donation-card"],[1,"donation-card__wrapper"],[1,"donation-card__image-wrapper"],["width","65","height","65","loading","lazy",3,"src","alt",4,"ngIf"],[1,"donation-card__details"],[1,"donation-card__title",3,"innerHTML"],["class","donation-card__button btn-reset","data-open-modal","product-composition",3,"click",4,"ngIf"],[1,"donation-card__price"],[1,"quantity","donation-card__quantity"],[1,"quantity__wrapper"],["aria-label","\u0423\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430","data-quantity","minus",1,"quantity__count","btn-reset",3,"click"],["width","16","height","16","aria-hidden","true"],[0,"xlink","href","#icon-minus"],[1,"quantity__number"],["data-quantity","number"],["aria-label","\u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430","data-quantity","plus",1,"quantity__count","btn-reset",3,"click"],[0,"xlink","href","#icon-plus"],["width","65","height","65","loading","lazy",3,"src","alt"],["data-open-modal","product-composition",1,"donation-card__button","btn-reset",3,"click"],[1,"widget__price"],[1,"widget__label"],["type","text","name","price","formControlName","sum","placeholder","300","data-type","number"],[1,"widget__error"],["class","widget__currency",4,"ngIf"],[1,"widget__currency"],[1,"widget__email"],[1,"visually-hidden"],["type","email","name","email","formControlName","email","placeholder","\u0412\u0430\u0448 e-mail \u0434\u043b\u044f \u0447\u0435\u043a\u0430"]],template:function(x,Z){1&x&&(e.TgZ(0,"form",0),e.NdJ("ngSubmit",function(q){return Z.prevent(q),Z.submit.emit()}),e.TgZ(1,"ul",1),e.YNc(2,P,4,6,"ng-container",2),e.qZA(),e.YNc(3,b,12,7,"p",3),e.YNc(4,B,7,2,"p",4),e.TgZ(5,"button",5),e.YNc(6,I,2,0,"ng-container",6),e.YNc(7,R,2,0,"ng-container",6),e.qZA()()),2&x&&(e.MGl("id","donation-popup-products-form-",Z.appearance,""),e.Q6J("formGroup",Z.form),e.xp6(2),e.Q6J("ngForOf",Z.products)("ngForTrackBy",Z.trackProduct),e.xp6(1),e.Q6J("ngIf",Z.form.get("sum")),e.xp6(1),e.Q6J("ngIf",Z.form.get("email")),e.xp6(2),e.Q6J("ngIf","onetime"===Z.appearance),e.xp6(1),e.Q6J("ngIf","subscribe"===Z.appearance))},dependencies:[t.sg,t.O5,f._Y,f.Fj,f.JJ,f.JL,f.sg,f.u,it.N,xt.r,t.Ov,vt.A,bt.T,yt.L,X.A],encapsulation:2,changeDetection:0}),c})();var ut;const pt=["group"],At=function(c){return{display:c}};function at(c,D){if(1&c){const x=e.EpF();e.TgZ(0,"section",8),e.ALo(1,"async"),e.TgZ(2,"div",9)(3,"h2",10),e._uU(4,"\u0412\u0438\u0434\u0436\u0435\u0442"),e.qZA(),e.TgZ(5,"div",11)(6,"div",12)(7,"button",13),e.NdJ("click",function(){e.CHM(x);const H=e.oxw();return e.KtG(H.form.patchValue({type:H.orderType.Onetime}))}),e._uU(8," \u0420\u0430\u0437\u043e\u0432\u043e "),e.qZA(),e.TgZ(9,"button",14),e.NdJ("click",function(){e.CHM(x);const H=e.oxw();return e.KtG(H.form.patchValue({type:H.orderType.Subscription}))}),e._uU(10," \u0415\u0436\u0435\u043c\u0435\u0441\u044f\u0447\u043d\u043e "),e.qZA()(),e.TgZ(11,"div",15),e.ALo(12,"async"),e.TgZ(13,"div",16,17)(15,"ui-donation-popup-products",18),e.NdJ("addToCart",function(H){e.CHM(x);const q=e.oxw();return e.KtG(q.addToCart(H))})("increaseCartQuantity",function(H){e.CHM(x);const q=e.oxw();return e.KtG(q.increaseCart(H))})("decreaseCartQuantity",function(H){e.CHM(x);const q=e.oxw();return e.KtG(q.decreaseCart(H))})("submit",function(){e.CHM(x);const H=e.oxw();return e.KtG(H.gotoPayment())}),e.ALo(16,"async"),e.qZA()(),e.TgZ(17,"div",16,17)(19,"ui-donation-popup-products",19),e.NdJ("addToCart",function(H){e.CHM(x);const q=e.oxw();return e.KtG(q.addToCart(H))})("increaseCartQuantity",function(H){e.CHM(x);const q=e.oxw();return e.KtG(q.increaseCart(H))})("decreaseCartQuantity",function(H){e.CHM(x);const q=e.oxw();return e.KtG(q.decreaseCart(H))})("submit",function(){e.CHM(x);const H=e.oxw();return e.KtG(H.gotoPayment())}),e.ALo(20,"async"),e.qZA()()()()()()}if(2&c){const x=D.ngIf,Z=e.oxw();e.ekj("is-active",e.lcZ(1,21,Z.opened)),e.xp6(2),e.ekj("widget__wrapper--success","success"===x||"failure"===x),e.xp6(3),e.Q6J("ngStyle",e.VKq(29,At,"products"===x?"block":"none")),e.xp6(2),e.ekj("is-active",Z.form.value.type===Z.orderType.Onetime),e.xp6(2),e.ekj("is-active",Z.form.value.type===Z.orderType.Subscription),e.xp6(2),e.Udp("height",e.lcZ(12,23,Z.containerHeight),"px"),e.xp6(2),e.ekj("is-active",Z.form.value.type===Z.orderType.Onetime),e.xp6(2),e.Q6J("form",Z.form)("products",e.lcZ(16,25,Z.items))("cartProducts",Z.cartProducts),e.xp6(2),e.ekj("is-active",Z.form.value.type===Z.orderType.Subscription),e.xp6(2),e.Q6J("form",Z.form)("products",e.lcZ(20,27,Z.items))("cartProducts",Z.cartProducts)}}function Tt(c,D){if(1&c){const x=e.EpF();e.ynx(0),e.TgZ(1,"button",7),e.NdJ("click",function(){e.CHM(x);const H=e.oxw();return e.KtG(H.toggleState())}),e.ALo(2,"async"),e._uU(3,"\u041f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u0442\u044c "),e.qZA(),e.BQk()}if(2&c){const x=e.oxw();e.xp6(1),e.uIk("aria-label",e.lcZ(2,1,x.opened)?"\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u0432\u0438\u0434\u0436\u0435\u0442 \u043f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044f":"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0432\u0438\u0434\u0436\u0435\u0442 \u043f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044f")}}function Dt(c,D){1&c&&(e.TgZ(0,"button",25),e._uU(1,"\u041f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u0442\u044c "),e.qZA())}function tt(c,D){1&c&&(e.TgZ(0,"button",26),e._uU(1,"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443 "),e.qZA())}function Zt(c,D){if(1&c&&(e.ynx(0),e.YNc(1,Dt,2,0,"button",23),e.YNc(2,tt,2,0,"button",24),e.BQk()),2&c){const x=e.oxw(3);e.xp6(1),e.Q6J("ngIf",x.form.value.type===x.orderType.Onetime),e.xp6(1),e.Q6J("ngIf",x.form.value.type===x.orderType.Subscription)}}function Mt(c,D){if(1&c){const x=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){e.CHM(x);const H=e.oxw(3);return e.KtG(H.toggleState())}),e._uU(1,"\u0417\u0430\u043a\u0440\u044b\u0442\u044c "),e.qZA()}}function Bt(c,D){if(1&c&&(e.ynx(0),e.YNc(1,Zt,3,2,"ng-container",21),e.YNc(2,Mt,2,0,"button",22),e.BQk()),2&c){const x=D.init;e.xp6(1),e.Q6J("ngIf","products"===x),e.xp6(1),e.Q6J("ngIf","products"!==x&&"payment"!==x)}}function ht(c,D){if(1&c&&(e.YNc(0,Bt,3,2,"ng-container",20),e.ALo(1,"async")),2&c){const x=e.oxw();e.Q6J("init",e.lcZ(1,1,x.scene))}}let Et=((ut=class{constructor(D,x,Z,H,q,ft,Lt,Ot){this.router=D,this.scrollLock=x,this.dialog=Z,this.productsApi=H,this.store=q,this.current=ft,this.cart=Lt,this.platform=Ot,this.orderType=u.St.TypeEnum,this.opened=this.store.select(Ct=>Ct.opened),this.scene=this.store.select(Ct=>Ct.scene),this.buttonHidden=this.store.select(Ct=>
1Ct.buttonHidden),this.cartProducts=this.cart.pipe((0,S.U)(Ct=>Ct.cart?.items)),this.items=this.productsApi.getProductsList(["1edd6c31-c71d-64a1-9558-dddfdc4822e2","1edd63de-7e26-68a6-973b-d1f6526033f8"]).pipe((0,S.U)(({items:Ct})=>Ct),(0,F.d)(1)),this.form=new E({type:u.St.TypeEnum.Subscription,email:this.current.value.user?.email}),this._containerHeight=new K.X(0),this.containerHeight=this._containerHeight.asObservable(),this.donationType=z.Ky.CARTLESS}ngOnInit(){this.opened.pipe((0,O.t)(this)).subscribe(D=>{D?this.scrollLock.disableScrolling():this.scrollLock.enableScrolling()}),(0,t.NF)(this.platform)&&(0,M.F)(100).pipe((0,O.t)(this)).subscribe(()=>this.recalculateContainerHeight())}ngOnDestroy(){this.store.update({opened:!1})}toggleState(){this.store.value.buttonHidden||(this.store.update({opened:!this.store.value.opened}),this.store.value.opened||this.reset())}toggleButtonVisibility(){this.store.value.opened?this.toggleState():this.store.update({buttonHidden:!this.store.value.buttonHidden})}reset(){this.scrollEl&&this.scrollEl.scrollToTop(),this.store.changeScene("products"),this.form.reset()}addToCart(D){this.cart.addItem(D),this.resetAnotherSum()}increaseCart(D){this.cart.addItem(D),this.resetAnotherSum()}decreaseCart(D){this.cart.removeItem(D),this.resetAnotherSum()}resetAnotherSum(){const D=this.form.get("sum");D&&(D.reset(),D.updateValueAndValidity())}gotoPayment(){this.form.markAllAsTouched(),this.form.valid&&(this.scrollEl&&this.scrollEl.scrollToTop(),this.store.update({opened:!1}),this.cart.totalPrice.pipe((0,Y.q)(1),(0,O.t)(this)).subscribe(D=>{const x=this.form.value;D>0&&(this.donationType=x.sum?z.Ky.MIXED:z.Ky.CART);const Z=new z.KM({email:x.email,type:x.type,price:this.donationType!==z.Ky.CART?100*(x.sum??0):D,source:"donation-popup",donationType:this.donationType});this.router.navigate(["/order"],{queryParams:Z})}))}checkout(D,x,Z){"yandex_kassa"===D&&Z?location.href=Z:Z&&this.openCheckoutDialog(Z)}openCheckoutDialog(D){this.dialog.open(rt.d,{data:{checkoutUrl:D}}).afterClosed().pipe((0,Y.q)(1),(0,O.t)(this),function l(){return c=>c.pipe((0,d.h)(r))}()).subscribe(({result:Z})=>{this.scrollEl&&this.scrollEl.scrollToTop(),this.store.changeScene(Z)})}get activeTab(){return this.groupsEl?.find(D=>D.nativeElement.classList.contains("is-active"))}recalculateContainerHeight(){const D=this.activeTab;if(!D)return;const x=D.nativeElement.offsetHeight;x!==this._containerHeight.value&&this._containerHeight.next(x)}}).\u0275fac=function(D){return new(D||ut)(e.Y36(ot.F0),e.Y36(W),e.Y36(j.uw),e.Y36(u.b0),e.Y36(k),e.Y36($.E),e.Y36(nt.I),e.Y36(e.Lbi))},ut.\u0275cmp=e.Xpm({type:ut,selectors:[["ui-donation-popup"]],viewQuery:function(D,x){if(1&D&&(e.Gf(_.X,5),e.Gf(pt,5)),2&D){let Z;e.iGM(Z=e.CRH())&&(x.scrollEl=Z.first),e.iGM(Z=e.CRH())&&(x.groupsEl=Z)}},features:[e._Bn([k])],decls:17,vars:21,consts:[["class","widget","data-fix-block","","data-widget-menu","",3,"is-active",4,"ngIf"],[1,"widget-buttons"],[1,"widget-buttons__wrapper","_only-touch"],["aria-label","\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u0432\u0438\u0434\u0436\u0435\u0442 \u043f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044f",1,"widget-buttons__close-button","btn-reset",3,"click"],[4,"ngIf","ngIfElse"],["actionsTpl",""],[1,"widget-buttons__wrapper","_only-desktop"],["uiButton","",1,"widget-buttons__button","btn-reset",3,"click"],["data-fix-block","","data-widget-menu","",1,"widget"],["perfectScroll","",1,"widget__wrapper"],[1,"visually-hidden"],["data-tabs","parent",1,"widget__tabs",3,"ngStyle"],["data-tabs","controls",1,"widget__controls"],["type","button","data-tabs","control","data-index","0",1,"widget__control","btn-reset",3,"click"],["type","button","data-tabs","control","data-index","1",1,"widget__control","widget__control--min-size","btn-reset",3,"click"],["data-tabs","content",1,"widget__content"],["data-tabs","element",1,"widget__element"],["group",""],["appearance","onetime",3,"form","products","cartProducts","addToCart","increaseCartQuantity","decreaseCartQuantity","submit"],["appearance","subscribe",3,"form","products","cartProducts","addToCart","increaseCartQuantity","decreaseCartQuantity","submit"],[4,"init"],[4,"ngIf"],["uiButton","","class","widget-buttons__button btn-reset",3,"click",4,"ngIf"],["uiButton","","class","widget-buttons__button btn-reset","form","donation-popup-products-form-onetime",4,"ngIf"],["uiButton","","class","widget-buttons__button btn-reset","form","donation-popup-products-form-subscribe",4,"ngIf"],["uiButton","","form","donation-popup-products-form-onetime",1,"widget-buttons__button","btn-reset"],["uiButton","","form","donation-popup-products-form-subscribe",1,"widget-buttons__button","btn-reset"]],template:function(D,x){if(1&D&&(e.YNc(0,at,21,31,"section",0),e.ALo(1,"async"),e.TgZ(2,"div",1),e.ALo(3,"async"),e.ALo(4,"async"),e.TgZ(5,"div",2)(6,"button",3),e.NdJ("click",function(){return x.toggleButtonVisibility()}),e.qZA(),e.YNc(7,Tt,4,3,"ng-container",4),e.ALo(8,"async"),e.YNc(9,ht,2,3,"ng-template",null,5,e.W1O),e.qZA(),e.TgZ(11,"div",6)(12,"button",3),e.NdJ("click",function(){return x.toggleButtonVisibility()}),e.qZA(),e.TgZ(13,"button",7),e.NdJ("click",function(){return x.toggleState()}),e.ALo(14,"async"),e._uU(15),e.ALo(16,"async"),e.qZA()()()),2&D){const Z=e.MAs(10);e.Q6J("ngIf",e.lcZ(1,9,x.scene)),e.xp6(2),e.ekj("is-active",e.lcZ(3,11,x.opened))("is-closed",e.lcZ(4,13,x.buttonHidden
1)),e.xp6(5),e.Q6J("ngIf",!e.lcZ(8,15,x.opened))("ngIfElse",Z),e.xp6(6),e.uIk("aria-label",e.lcZ(14,17,x.opened)?"\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u0432\u0438\u0434\u0436\u0435\u0442 \u043f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044f":"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0432\u0438\u0434\u0436\u0435\u0442 \u043f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044f"),e.xp6(2),e.hij("",e.lcZ(16,19,x.opened)?"\u0417\u0430\u043a\u0440\u044b\u0442\u044c":"\u041f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u0442\u044c"," ")}},dependencies:[t.O5,t.PC,it.N,_.X,et,xt.r,t.Ov],styles:[".widget{z-index:11;position:fixed;bottom:0;width:100%;height:100%;overflow:hidden;transition:transform .3s ease;transform:scaleY(0);transform-origin:bottom}@media (min-width: 1024px){.widget{right:0;top:54px;bottom:104px;width:unset;height:unset;max-height:545px;margin-top:auto;border-radius:30px;transition:transform .3s ease;transform:translate(100%)}}.widget.is-active{transform:scaleY(1)}@media (min-width: 1024px){.widget.is-active{right:32px;transform:translate(0)}}.widget.is-active .quantity__wrapper{padding:0}.widget__wrapper{height:100%;padding:16px 16px 90px;background-color:#32825e;overflow-y:scroll}@media (min-width: 1024px){.widget__wrapper{width:333px;padding:16px;border-radius:30px}}.widget__wrapper--success{background-color:#fff}.widget__wrapper .ps__thumb-x,.widget__wrapper .ps__thumb-y{border-radius:0;background-color:#fff}.widget__tabs{width:100%}.widget__controls{display:flex;width:100%;margin-bottom:16px;padding:5px;border-radius:16px;background-color:#206b4a}.widget__control{display:flex;justify-content:center;align-items:center;width:100%;margin-right:6px;padding:6px 12px 8px;font-size:20px;line-height:26px;text-align:center;letter-spacing:.01em;border-radius:14px;color:#fff;cursor:pointer;-webkit-user-select:none;user-select:none;transition:.3s ease}.widget__control:last-child{margin-right:0}.widget__control--min-size{min-width:174px}.widget__control.is-active{background-color:#fff;color:#070707;cursor:default;pointer-events:none}@media (hover: hover),screen and (min-width: 0\\fffd){.widget__control.is-active:hover,.widget__control.is-active:active{background-color:#fff;color:#070707}}@media (hover: hover),screen and (min-width: 0\\fffd){.widget__control:hover{background-color:#1c5f41}}.widget__element{width:100%}.widget__list{margin:0 0 16px;padding:0;list-style:none}.widget__item{margin-bottom:8px}.widget__item:last-child{margin-bottom:0}.widget__item .donation-card__quantity{display:none}.widget__item.is-active .donation-card{cursor:default}@media (hover: hover),screen and (min-width: 0\\fffd){.widget__item.is-active .donation-card:hover,.widget__item.is-active .donation-card:active{background-color:#fff}}.widget__item.is-active .donation-card__wrapper{padding-bottom:0}.widget__item.is-active .donation-card__quantity{display:block}.widget__price{position:relative;display:flex;justify-content:flex-end;align-items:center;margin:0 0 16px;font-size:16px;line-height:20px;letter-spacing:-.01em;white-space:nowrap;color:#fff}@media (min-width: 375px){.widget__price{padding-right:28px}}@media (min-width: 1024px){.widget__price{padding-right:5px}}.widget__price label{display:flex;align-items:center}.widget__price input{display:flex;justify-content:center;align-items:center;width:94px;margin-right:12px;margin-left:4px;padding:10px 7px;font-size:20px;line-height:26px;text-align:center;border:1px solid rgba(255,255,255,0);border-radius:12px;background-color:#fff;color:#070707;outline:none;transition:background-color .3s ease}.widget__price input::placeholder{color:#c1c1c1}.widget__price input:focus::placeholder{color:transparent}@media (hover: hover),screen and (min-width: 0\\fffd){.widget__price input:hover{background-color:#f5f5f5}.widget__price input:active{background-color:#ebebeb}}.widget__price .widget__error{right:69px}@media (min-width: 375px){.widget__price .widget__error{right:92px}}@media (min-width: 1024px){.widget__price .widget__error{right:69px}}.widget__price.is-invalid{margin-bottom:24px}.widget__price.is-invalid input{border:1px solid #eb5757}
1.widget__price.is-invalid .widget__error{opacity:1}.widget__label{max-width:109px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (min-width: 375px){.widget__label{max-width:unset}}@media (min-width: 1024px){.widget__label{max-width:115px}}.widget__email{position:relative;margin:0 0 12px}.widget__email label{display:flex;align-items:center}.widget__email input{width:100%;max-height:40px;padding:13px;font-size:16px;line-height:20px;letter-spacing:-.01em;border:1px solid rgba(255,255,255,0);border-radius:12px;background-color:#fff;color:#070707;outline:none}.widget__email input::placeholder{color:#8b8b8b}.widget__email input:focus::placeholder{color:transparent}@media (hover: hover),screen and (min-width: 0\\fffd){.widget__email input:hover{background-color:#f5f5f5}.widget__email input:active{background-color:#ebebeb}}.widget__email .widget__error{left:4px}.widget__email.is-invalid{margin-bottom:24px}.widget__email.is-invalid input{border:1px solid #eb5757}.widget__email.is-invalid .widget__error{opacity:1}.widget__error{position:absolute;top:calc(100% + 4px);font-size:12px;line-height:12px;letter-spacing:-.01em;color:#fff;opacity:0}.widget__details{margin:0;font-size:14px;line-height:18px;color:#fff}.widget__details a{display:block;color:#57bb8f;transition:color .3s ease}@media (min-width: 375px){.widget__details a{display:inline}}@media (hover: hover),screen and (min-width: 0\\fffd){.widget__details a:hover,.widget__details a:active{color:#76e1b2}}.widget__submit-button.btn{display:none;width:100%;margin-bottom:12px}@media (min-width: 1024px){.widget__submit-button.btn{display:inline-flex}}\n",'.widget-buttons{z-index:11;position:fixed;right:0;bottom:0;width:100%;transition:transform .3s ease}@media (min-width: 1024px){.widget-buttons{right:32px;bottom:32px;width:unset}}@media (min-width: 1024px){.widget-buttons.is-active .widget-buttons__button{color:#070707;background-color:#ddd;box-shadow:none}}.widget-buttons.is-closed{transform:translate(100%) translate(-40px)}.widget-buttons.is-closed .widget-buttons__close-button{top:0;left:-26px;width:66px;height:72px;border-radius:24px 0 0;background:#38ab78 url(/assets/img/logo-white.svg) no-repeat center center}.widget-buttons.is-closed .widget-buttons__close-button:before,.widget-buttons.is-closed .widget-buttons__close-button:after{content:none}@media (hover: hover),screen and (min-width: 0\\fffd){.widget-buttons.is-closed .widget-buttons__close-button:hover{background-color:#57bb8f}.widget-buttons.is-closed .widget-buttons__close-button:active{background-color:#279363}}.widget-buttons__wrapper{display:flex;justify-content:flex-end;align-items:center;background:#32825E;box-shadow:0 -4px 20px #00000014,0 -4px 16px #0000001f;padding:.5rem 1rem;border-radius:24px 24px 0 0}@media (min-width: 1024px){.widget-buttons__wrapper{width:190px;background:transparent;box-shadow:none;padding:0}}.widget-buttons__wrapper._only-touch{display:flex}@media (min-width: 1024px){.widget-buttons__wrapper._only-touch{display:none}}.widget-buttons__wrapper._only-desktop{display:none}@media (min-width: 1024px){.widget-buttons__wrapper._only-desktop{display:flex}}.widget-buttons__close-button{position:absolute;display:flex;justify-content:center;align-items:center;align-self:flex-start;top:1.5rem;left:16px;width:24px;height:24px;cursor:pointer;-webkit-user-select:none;user-select:none}@media (min-width: 1024px){.widget-buttons__close-button{display:none}}.widget-buttons__close-button:before,.widget-buttons__close-button:after{content:"";position:absolute;left:1px;width:100%;height:2px;background-color:#fff;transition:background-color .3s ease}.widget-buttons__close-button:before{top:12px;transform:rotate(-45deg) translateY(-50%)}.widget-buttons__close-button:after{top:11px;transform:rotate(45deg) translateY(50%)}@media (hover: hover),screen and (min-width: 0\\fffd){.widget-buttons__close-button:hover:before,.widget-buttons__close-button:hover:after{background-color:#f5f5f5}.widget-buttons__close-button:active:before,.widget-buttons__close-button:active:after{background-color:#fff}}.widget-buttons__button.btn{width:88%;width:calc(100% - 2rem)}@media (min-width: 1024px){.widget-buttons__button.btn{width:100%}}\n',".widget-payment{display:none}.widget-payment__wrapper{margin-bottom:16px;padding:16px;border-radius:24px;background-color:#fff}.widget-payment__wrapper:last-child{margin-bottom:0}.widget-payment__return-btn{cursor:pointer}.widget-payment__return-btn>svg{margin-right:.65rem;width:.5rem}.widget-payment__return-btn>svg path{stroke:currentColor}.widget-payment__description{margin:0 0 8px;font-size:14px;line-height:18px}.widget-payment__controls{display:flex;justify-content:space-between;align-items:center}.widget-payment__control{display:flex;justify-content:center;align-items:center;width:100%;min-height:49px;margin-right:12px;border:1px solid #dddddd;border-radius:12px;background-color:#fff;cursor:pointer;-webkit-user-select:none;user-select:none;transition:border .3s ease}.widget-payment__control:last-child{margin-right:0}.widget-payment__control.is-active{border:1px solid #070707;pointer-events:none}@media (hover: hover),screen and (min-width: 0\\fffd){.widget-payment__control:hover{border:1px solid #a4a4a4}.widget-payment__control:active{border:1px solid #8b8b8b}}.widget-payment__button-image-wrapper{display:block}.widget-payment__button-image-wrapper--visa-mastercard-mir{width:47px;height:47px}.widget-payment__button-image-wrapper--sber-pay{width:61px;height:30px}.widget-payment__button-image-wrapper img{object-fit:contain}.widget-payment__icon{margin-right:16px}.widget-payment__icon:last-child{margin-right:0}.widget-payment__icon--yandex-pay{width:51px;height:21px;margin-right:0}.widget-payment__icon--yoomoney{width:43px;height:31px;margin-right:0}.widget-payment__icon--mir{width:59px;height:16px}.widget-payment__icon--visa{width:49px;height:16px}.widget-payment__icon--mastercard{width:29px;
1height:18px}.widget-payment__content{overflow:hidden}.widget-payment__element{width:100%;padding-bottom:35px}.widget-payment__icons-wrapper{display:flex;justify-content:center;align-items:center;margin-bottom:35px}.widget-payment__input{margin-bottom:16px}.widget-payment__input label{display:flex;flex-direction:column;align-items:flex-start}.widget-payment__input label input{width:100%;padding:9px 16px}.widget-payment__input .custom-input__label{margin-bottom:4px;padding-left:4px}.widget-payment__alert{margin:0 0 16px;font-size:14px;line-height:18px}.widget-payment__columns{display:grid;grid-template-columns:1fr 1fr;column-gap:23px}.widget-payment__payment-button.btn{width:100%;margin-bottom:24px}.widget-payment__details{margin:0;font-size:15px;line-height:20px;color:#8b8b8b}.widget-payment__details a{color:#38ab78;transition:color .3s ease}@media (hover: hover),screen and (min-width: 0\\fffd){.widget-payment__details a:hover{color:#57bb8f}.widget-payment__details a:active{color:#279363}}.widget-payment__image-wrapper{display:flex;align-items:center;margin:24px 0}.widget-payment__image{margin-right:16px}.widget-payment__image:last-child{margin-right:0}.widget-payment__image img{object-fit:cover}\n",'.widget-success{display:none}.widget-success__message{position:relative;display:flex;align-items:flex-end;width:212px;min-height:66px;margin-bottom:16px}.widget-success__message svg{position:absolute;top:0;right:0;width:49px;height:39px}.widget-success__text{margin:0;font-size:40px;line-height:42px;letter-spacing:-.02em}.widget-success__description{margin:0 0 16px;font-size:20px;line-height:28px;letter-spacing:-.02em}.widget-success__slider{margin:0 0 24px;padding-top:8px}@media (min-width: 375px){.widget-success__slider{width:calc(100% + 32px);margin:0 -16px 24px}}@media (min-width: 1024px){.widget-success__slider{width:100%;margin:0 0 24px}}.widget-success__slider-wrapper{display:flex;width:100%}.widget-success__slide{width:100%;height:298px;overflow:hidden;border-radius:20px}@media (min-width: 375px){.widget-success__slide{width:298px}}@media (min-width: 1024px){.widget-success__slide{width:100%}}.widget-success__radio{position:relative}.widget-success__radio label{z-index:1;position:absolute;width:100%;height:100%;cursor:pointer}.widget-success__radio input{position:absolute;width:1px;height:1px;margin:-1px;clip:rect(0 0 0 0)}.widget-success__radio input:checked+.widget-success__icon{display:flex}.widget-success__icon{position:absolute;display:none;justify-content:center;align-items:center;top:8px;left:8px;width:32px;height:32px;border-radius:50%;background-color:#fff}.widget-success__icon svg{width:14px;height:12px}.widget-success__image-wrapper{width:100%;height:298px}@media (min-width: 375px){.widget-success__image-wrapper{width:298px}}@media (min-width: 1024px){.widget-success__image-wrapper{width:100%}}.widget-success__image-wrapper img{width:100%;height:100%;object-fit:cover}.widget-success__slider1{margin:0 0 24px;padding-top:8px}@media (min-width: 375px){.widget-success__slider1{width:calc(100% + 32px);margin:0 -16px 24px}}@media (min-width: 1024px){.widget-success__slider1{width:100%;margin:0 0 24px}}.widget-success__slider-wrapper1{display:flex;width:100%}.widget-success__slide1{width:100%;height:298px;overflow:hidden;border-radius:20px}@media (min-width: 375px){.widget-success__slide1{width:298px}}@media (min-width: 1024px){.widget-success__slide1{width:100%}}.widget-success__radio1{position:relative}.widget-success__radio1 label{z-index:1;position:absolute;width:100%;height:100%;cursor:pointer}.widget-success__radio1 input{position:absolute;width:1px;height:1px;margin:-1px;clip:rect(0 0 0 0)}.widget-success__radio1 input:checked+.widget-success__icon{display:flex}.widget-success__icon1{position:absolute;display:none;justify-content:center;align-items:center;top:8px;left:8px;width:32px;height:32px;border-radius:50%;background-color:#fff}.widget-success__icon1 svg{width:14px;height:12px}.widget-success__image-wrapper1{position:relative;width:100%;height:298px}@media (min-width: 375px){.widget-success__image-wrapper1{width:298px}}@media (min-width: 1024px){.widget-success__image-wrapper1{width:100%}}.widget-success__image-wrapper1:before{content:"";position:absolute;bottom:0;left:0;width:100%;height:136px;border-radius:20px;background:radial-gradient(97.32% 97.32% at 0% 100%,#38ab78 0%,rgba(56,171,120,0) 100%)}.widget-success__image-wrapper1 img{width:100%;height:100%;object-fit:cover}.widget-success__list{margin:0;padding:0;list-style:none}.widget-success__item{margin-bottom:16px}.widget-success__item:last-child{margin-bottom:0}.widget-success__link{display:flex;align-items:center;padding:11px;font-size:16px;line-height:20px;letter-spacing:-.01em;border:1px solid #c1c1c1;border-radius:16px;background-color:#fff;transition:border .3s ease;cursor:pointer}.widget-success__link svg{width:32px;height:32px;margin-right:16px}@media (hover: hover),screen and (min-width: 0\\fffd){.widget-success__link:hover{border:1px solid #dddddd}.widget-success__link:active{border:1px solid #8b8b8b}}\n'],encapsulation:2,changeDetection:0}),ut);Et=(0,n.gn)([(0,O.c)()],Et);const Ft=["uiLayout",""],Q=["*"];let N=(()=>{class c{}return c.\u0275fac=function(x){return new(x||c)},c.\u0275cmp=e.Xpm({type:c,selectors:[["main","uiLayout",""]],attrs:Ft,ngContentSelectors:Q,decls:2,vars:0,template:function(x,Z){1&x&&(e.F$t(),e.Hsn(0),e._UZ(1,"ui-donation-popup"))},dependencies:[Et],encapsulation:2,changeDetection:0}),c})()},9472:(U,y,i)=>{i.d(y,{Y:()=>L});var e=i(5879),n=i(6814),t=i(6302);const d=["carousel"];function r(w,k){if(1&w&&e._UZ(0,"source",23),2&w){const O=e.oxw().$implicit;e.Q6J("type",O.type)("srcset",O.srcset)}}function l(w,k){if(1&w&&e._UZ(0,"img",24),2&w){const O=e.oxw().$implicit;e.Q6J("src",O.src||"",e.LSH)("srcset",O.srcset||"")}}function _(w,k){if(1&w&&(e.ynx(0),e.YNc(1,r,1,2,"source",21),e.YNc(2,l,1,2,"
1img",22),e.BQk()),2&w){const O=k.$implicit;e.xp6(1),e.Q6J("ngIf","img"!==O.type),e.xp6(1),e.Q6J("ngIf","img"===O.type)}}function u(w,k){if(1&w&&(e.TgZ(0,"picture"),e.YNc(1,_,3,2,"ng-container",12),e.qZA()),2&w){const O=e.oxw().$implicit;e.xp6(1),e.Q6J("ngForOf",O.detail)}}function f(w,k){1&w&&e.YNc(0,u,2,1,"ng-template",20)}function m(w,k){if(1&w){const O=e.EpF();e.TgZ(0,"div",9)(1,"swiper",10,11),e.NdJ("slideChange",function(){e.CHM(O);const M=e.oxw(2);return e.KtG(M.refresh())}),e.ALo(3,"async"),e.YNc(4,f,1,0,null,12),e.qZA(),e.TgZ(5,"div",13),e.NdJ("click",function(){e.CHM(O);const M=e.MAs(2);return e.KtG(M.swiperRef.slideNext())}),e.O4$(),e.TgZ(6,"svg",14),e._UZ(7,"use",15),e.qZA()(),e.kcU(),e.TgZ(8,"div",16),e.NdJ("click",function(){e.CHM(O);const M=e.MAs(2);return e.KtG(M.swiperRef.slidePrev())}),e.O4$(),e.TgZ(9,"svg",14),e._UZ(10,"use",15),e.qZA()(),e.kcU(),e.TgZ(11,"div",17)(12,"span",18),e._uU(13),e.ALo(14,"async"),e.qZA(),e._uU(15," / "),e.TgZ(16,"span",19),e._uU(17),e.qZA()()()}if(2&w){const O=e.MAs(2),K=e.oxw(2);e.xp6(1),e.Q6J("config",e.lcZ(3,4,K.swiperConfig)),e.xp6(3),e.Q6J("ngForOf",K.sliderModalPictures),e.xp6(9),e.Oqu(e.lcZ(14,6,O.indexChange)+1),e.xp6(4),e.Oqu(K.sliderModalPictures.length)}}function E(w,k){if(1&w){const O=e.EpF();e.TgZ(0,"div",1)(1,"div",2),e._UZ(2,"div",3),e.TgZ(3,"div",4),e.YNc(4,m,18,8,"div",5),e.TgZ(5,"button",6),e.NdJ("click",function(){e.CHM(O);const M=e.oxw();return e.KtG(M.onModalClose())}),e.O4$(),e.TgZ(6,"svg",7),e._UZ(7,"use",8),e.qZA()()()()()}if(2&w){const O=e.oxw();e.xp6(4),e.Q6J("ngIf",O.swiperConfig&&O.sliderModalPictures)}}let L=(()=>{class w{constructor(O){this.changes=O}onResize(O){this.swiperConfig.next({...this.swiperConfig.value,spaceBetween:O.target.innerWidth<1024?16:80})}onModalClose(){this.isSliderModelOpen.next(!1)}refresh(){this.changes.detectChanges()}}return w.\u0275fac=function(O){return new(O||w)(e.Y36(e.sBO))},w.\u0275cmp=e.Xpm({type:w,selectors:[["ui-modal-slider"]],viewQuery:function(O,K){if(1&O&&e.Gf(d,5),2&O){let M;e.iGM(M=e.CRH())&&(K.carousel=M.first)}},hostBindings:function(O,K){1&O&&e.NdJ("resize",function(S){return K.onResize(S)},!1,e.Jf7)},inputs:{swiperConfig:"swiperConfig",isSliderModelOpen:"isSliderModelOpen",sliderModalPictures:"sliderModalPictures"},decls:2,vars:3,consts:[["class","modal modal--image-gallery modal--no-scale is-active",4,"ngIf"],[1,"modal","modal--image-gallery","modal--no-scale","is-active"],[1,"modal__wrapper"],["data-close-modal","",1,"modal__overlay"],[1,"modal__content"],["class","modal-image-gallery swiper modal-image-gallery--cover","data-swiper","modal-image-gallery",4,"ngIf"],["type","button","aria-label","\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u043f\u043e\u043f\u0430\u043f","data-close-modal","",1,"modal__close-btn",3,"click"],["width","40","height","40","aria-hidden","true"],[0,"xlink","href","#icon-close"],["data-swiper","modal-image-gallery",1,"modal-image-gallery","swiper","modal-image-gallery--cover"],[1,"modal-image-gallery__wrapper",3,"config","slideChange"],["carousel",""],[4,"ngFor","ngForOf"],[1,"swiper-button-next","btn","btn--swiper",3,"click"],["width","16","height","8","aria-hidden","true"],[0,"xlink","href","#icon-arrow"],[1,"swiper-button-prev","btn","btn--swiper",3,"click"],[1,"swiper-pagination","swiper-pagination-fraction","swiper-pagination-horizontal"],[1,"swiper-pagination-current"],[1,"swiper-pagination-total"],["swiperSlide",""],[3,"type","srcset",4,"ngIf"],["alt","\u0421\u043b\u0430\u0439\u0434\u0435\u0440 \u0444\u043e\u0442\u043e","loading","lazy",3,"src","srcset",4,"ngIf"],[3,"type","srcset"],["alt","\u0421\u043b\u0430\u0439\u0434\u0435\u0440 \u0444\u043e\u0442\u043e","loading","lazy",3,"src","srcset"]],template:function(O,K){1&O&&(e.YNc(0,E,8,1,"div",0),e.ALo(1,"async")),2&O&&e.Q6J("ngIf",e.lcZ(1,1,K.isSliderModelOpen))},dependencies:[n.sg,n.O5,t.nF,t.YC,n.Ov],encapsulation:2,changeDetection:0}),w})()},2881:(U,y,i)=>{i.d(y,{a:()=>d});var e=i(6814),n=i(6302),t=i(5879);let d=(()=>{class r{}return r.\u0275fac=function(_){return new(_||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({imports:[e.ez,n.kz]}),r})()},5674:(U,y,i)=>{i.d(y,{I:()=>u});var e=i(6814),n=i(7418),t=i(4909),d=i(868),r=i(8839),l=i(972),_=i(5879);let u=(()=>{class f{}return f.\u0275fac=function(E){return new(E||f)},f.\u0275mod=_.oAB({type:f}),f.\u0275inj=_.cJS({imports:[e.ez,n.Bz,t.D,r.u,l.e,d.h]}),f})()},433:(U,y,i)=>{i.d(y,{N:()=>$});
1var Y,e=i(7582),n=i(6607),t=i(1791),d=i(5619),r=i(2096),l=i(1687),_=i(4716),u=i(6306),f=i(8180),m=i(5879),E=i(87),L=i(6814),w=i(7418),k=i(6834),O=i(9469),K=i(512),M=i(1792),S=i(6154),F=i(1736);function rt(nt,it){1&nt&&(m.ynx(0),m._uU(1,"\u042d\u0442\u043e \u043f\u043e\u043b\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043e \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439"),m.BQk())}function z(nt,it){1&nt&&(m.ynx(0),m._uU(1,"\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 email"),m.BQk())}function ot(nt,it){if(1&nt&&(m.TgZ(0,"ui-custom-input",14),m.ynx(1,15),m.ALo(2,"firstKey"),m.YNc(3,rt,2,0,"ng-container",16),m.YNc(4,z,2,0,"ng-container",16),m.BQk(),m.qZA()),2&nt){const st=it.ngIf;m.ekj("is-invalid",st.touched&&!st.valid),m.xp6(1),m.Q6J("uiErrors",m.lcZ(2,5,st.errors)),m.xp6(2),m.Q6J("uiError","required"),m.xp6(1),m.Q6J("uiError","email")}}function v(nt,it){1&nt&&(m.ynx(0),m._uU(1,"\u042d\u0442\u043e \u043f\u043e\u043b\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043e \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439"),m.BQk())}function W(nt,it){1&nt&&(m.ynx(0),m._uU(1,"\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 email"),m.BQk())}function j(nt,it){if(1&nt&&(m.TgZ(0,"ui-custom-input",17),m.ynx(1,15),m.ALo(2,"firstKey"),m.YNc(3,v,2,0,"ng-container",16),m.YNc(4,W,2,0,"ng-container",16),m.BQk(),m.qZA()),2&nt){const st=it.ngIf;m.ekj("is-invalid",st.touched&&!st.valid),m.xp6(1),m.Q6J("uiErrors",m.lcZ(2,5,st.errors)),m.xp6(2),m.Q6J("uiError","required"),m.xp6(1),m.Q6J("uiError","email")}}let $=((Y=class{constructor(it){this.newsletterSubscribersApi=it,this.form=new n.cw({name:new n.NI("",[n.kI.required]),email:new n.NI("",[n.kI.required,n.kI.email])}),this._result=new d.X(null),this.result=this._result.asObservable(),this._inProgress=new d.X(!1),this.inProgress=this._inProgress.asObservable()}submitNewsletterSubscriber(){if(this.form.markAllAsTouched(),!this.form.valid)return;const it=this.form.value;this._inProgress.next(!0),this.newsletterSubscribersApi.createNewsletterSubscriber({name:it.name||"",email:it.email||""}).pipe((0,_.x)(()=>this.startAutoCloseResultPopup()),(0,u.K)(()=>(this._result.next("failed"),this._inProgress.next(!1),(0,r.of)(null))),(0,_.x)(()=>this._inProgress.next(!1)),(0,t.t)(this)).subscribe(()=>{this._result.next("success"),this.form.reset()})}closeResultPopup(){this._result.next(null)}startAutoCloseResultPopup(it=5e3){(0,l.F)(it).pipe((0,f.q)(1),(0,t.t)(this)).subscribe(()=>this.closeResultPopup())}}).\u0275fac=function(it){return new(it||Y)(m.Y36(E.mZ))},Y.\u0275cmp=m.Xpm({type:Y,selectors:[["ui-newsletter-subscription-form"]],decls:34,vars:12,consts:[[1,"container"],[1,"subscribe__grid"],[1,"subscribe__title"],[1,"subscribe__text"],[1,"subscribe__form",3,"formGroup","ngSubmit"],["type","email","name","email","placeholder","E-mail","formControlName","email",3,"is-invalid",4,"ngIf"],["type","text","name","name","placeholder","\u0412\u0430\u0448\u0435 \u0438\u043c\u044f","formControlName","name",3,"is-invalid",4,"ngIf"],["type","submit","uiButton","","size","medium",1,"subscribe__button",3,"inProgress"],["width","16","height","16","aria-hidden","true"],[0,"xlink","href","#icon-arrow-right"],[1,"subscribe__agreement"],["routerLink","/privacy","target","_blank",1,"subscribe__agreement-link"],["appearance","success",1,"alert-message--news-subscription",3,"opened","close"],["appearance","error",3,"opened","close"],["type","email","name","email","placeholder","E-mail","formControlName","email"],[3,"uiErrors"],[4,"uiError"],["type","text","name","name","placeholder","\u0412\u0430\u0448\u0435 \u0438\u043c\u044f","formControlName","name"]],template:function(it,st){1&it&&(m.TgZ(0,"div",0)(1,"div",1)(2,"h2",2),m._uU(3,"\u041f\u043e\u0434\u043f\u0438\u0448\u0438\u0442\u0435\u0441\u044c \u043d\u0430\xa0\u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0443"),m.qZA(),m.TgZ(4,"div",3)(5,"p"),m._uU(6,"\u0438\xa0\u043a\u0430\u0436\u0434\u044b\u0439 \u043c\u0435\u0441\u044f\u0446 \u043f\u043e\u043b\u0443\u0447\u0430\u0439\u0442\u0435 \u043d\u043e\u0432\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441\xa0\u043e\u0442\u0447\u0435\u0442\u0430\u043c\u0438 \u043e\xa0\u0434\u0435\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438"),m.qZA()(),m.TgZ(7,"form",4),m.NdJ("ngSubmit",function(){return st.submitNewsletterSubscriber()}),m.YNc(8,ot,5,7,"ui-custom-input",5),m.YNc(9,j,5,7,"ui-custom-input",6),m.TgZ(10,"button",7),m.ALo(11,"async"),m._uU(12," \u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f "),m.O4$(),m.TgZ(13,"svg",8),m._UZ(14,"use",9),m.qZA()()(),m.kcU(),m.TgZ(15,"div",10)(16,"p"),m._uU(17," \u041f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u044f\u0441\u044c \u043d\u0430\xa0\u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0443, \u0432\u044b\xa0\u0441\u043e\u0433\u043b\u0430\u0448\u0430\u0435\u0442\u0435\u0441\u044c"),m._UZ(18,"br"),m._uU(19,"\u0441\xa0\u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c\u0438\xa0 "),m.TgZ(20,"a",11),m._uU(21,"\u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0438 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438"),m.qZA()()()()(),m.TgZ(22,"ui-simple-popup",12),m.NdJ("close",function(){return st.closeResultPopup()}),m.ALo(23,"async"),m.TgZ(24,"h2"),m._uU(25,"\u0423\u0441\u043f\u0435\u0445!"),m.qZA(),m.TgZ(26,"p"),m._uU(27,"\u0412\u044b \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u0432 \u0441\u043f\u0438\u0441\u043e\u043a \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0438."),m.qZA()(),m.TgZ(28,"ui-simple-popup",13),m.NdJ("close",function(){return st.closeResultPopup()}),m.ALo(29,"async"),m.TgZ(30,"h2"),m._uU(31,"\u0427\u0442\u043e-\u0442\u043e \u043d\u0435 \u0442\u0430\u043a..."),m.qZA(),m.TgZ(32,"p"),m._uU(33,"\u041f\u043e\u0445\u043e\u0436\u0435, \u0447\u0442\u043e \u043f\u0440\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e \u043f\u043e\u0437\u0436\u0435."),m.qZA()()),2&it&&(m.xp6(7),m.Q6J("formGroup",st.form),m.xp6(1),m.Q6J("ngIf",st.form.get("email")),m.xp6(1),m.Q6J("ngIf",st.form.get("name")),m.xp6(1),m.Q6J("inProgress",m.lcZ(11,6,st.inProgress)),m.xp6(12),m.Q6J("opened","success"===m.lcZ(23,8,st.result)),m.xp6(6),m.Q6J("opened","failed"===m.lcZ(29,10,st.result)))},dependencies:[L.O5,w.rH,k.O,O.$,K.u,n._Y,n.JJ,n.JL,n.sg,n.u,M.Z,S.r,L.Ov,F.H],styles:[".subscribe{margin:78px 0 0}@media (min-width: 1024px){.subscribe{margin:96px 0 0}}.subscribe--fund{margin:0}.subscribe__grid{display:grid;grid-template-columns:1fr;max-width:992px;padding:0 16px 24px;margin:0 auto;border-radius:28px;overflow:hidden;background-color:#f7f7f7}@media (min-width: 1024px){.subscribe__grid{padding:0 212px 48px}}.subscribe__text{margin:12px 0 0;font-size:20px;line-height:30px;letter-spacing:-.02em;text-align:center}.subscribe__text p{margin:0}@media (min-width: 1024px){.subscribe__text{margin:16px 0 0;padding:0 100px;font-size:20px;line-height:26px}}.subscribe__form{margin:8px 0 16px;display:grid;grid-template-columns:1fr}@media (min-width: 1024px){.subscribe__form{margin:26px 0 0;grid-template-columns:1fr 1fr 48px;column-gap:12px}}.subscribe__input{margin-bottom:12px}@media (min-width: 1024px){.subscribe__input{margin-bottom:16px}}.subscribe__input label{align-items:flex-start}.subscribe__input input{max-height:48px}.subscribe__title{width:100%;margin:28px 0 0;font-size:28px;line-height:32px;font-weight:400;letter-spacing:-.02em;text-align:center}@media (min-width: 1024px){.subscribe__title{margin:42px 0 0;font-size:34px;line-height:40px;letter-spacing:-.02em}}.subscribe__button.btn{margin:0;padding:15px 0}.subscribe__button.btn svg{display:none}@media (min-width: 1024px){.subscribe__button.btn{display:flex;align-items:center;justify-content:center;width:48px;height:48px;min-height:48px;font-size:0;line-height:0;padding:0;overflow:hidden;color:transparent;border-radius:12px}.subscribe__button.btn svg{display:flex}}.subscribe__agreement{font-size:15px;line-height:20px;color:#8b8b8b}@media (min-width: 1024px){.subscribe__agreement{padding:0 50px}}.subscribe__agreement p{margin:0;text-align:center}.subscribe__agreement-link{display:inline;color:#38ab78;-webkit-user-select:none;user-select:none;transition:.3s ease}.subscribe__agreement-link.is-disabled{opacity:.5;pointer-events:none}.subscribe__agreement-link:hover,.subscribe__agreement-link:focus{color:#57bb8f}.subscribe__agreement-link:active{color:#279363}.subscribe--mt-m-48{margin:48px 0 0}@media (min-width: 768px){.subscribe--mt-m-48{margin:80px 0 0}}@media (min-width: 1024px){.subscribe--mt-m-48{margin:80px 0 0}}\n","ui-newsletter-subscription-form{display:block}\n"],encapsulation:2,changeDetection:0}),Y);$=(0,e.gn)([(0,t.c)()],$)},5462:(U,y,i)=>{i.d(y,{i:()=>l});var e=i(6814),n=i(4909),t=i(868),d=i(4747),r=i(5879);let l=(()=>{class _{}return _.\u0275fac=function(f){return new(f||_)},_.\u0275mod=r.oAB({type:_}),_.\u0275inj=r.cJS({imports:[e.ez,n.D,t.h,d.hx]}),_})()},5451:(U,y,i)=>{i.d(y,{Z:()=>t});var e=i(5879),n=i(4747);let t=(()=>{class d{constructor(){this.imgStyles={width:"140px",height:"140px","border-radius":"16px"},this.titleStyles={width:"150px"},this.descStyles={width:"250px",margin:"0 auto"},this.shortTextStyles={width:"50px"},this.btnStyle={width:"100%",height:"56px",margin:"0","border-radius":"12px"}}}return d.\u0275fac=function(l){return new(l||d)},d.\u0275cmp=e.Xpm({type:d,selectors:[["ui-product-card-skeleton-widget"]],hostAttrs:[1,"product-card"],decls:13,vars:6,consts:[[1,"product-card__title"],["count","1",3,"theme"],[1,"product-card__image-wrapper"],[1,"product-card__description"],["count","1","appearance","line",3,"theme"],[1,"product-card__details"],[1,"product-card__weight"],[1,"product-card__price"],["data-quantity","wrapper",1,"product-card__button-wrapper"]],template:function(l,_){1&l&&(e.TgZ(0,"h3",0),e._UZ(1,"ngx-skeleton-loader",1),e.qZA(),e.TgZ(2,"div",2),e._UZ(3,"ngx-skeleton-loader",1),e.qZA(),e.TgZ(4,"p",3),e._UZ(5,"ngx-skeleton-loader",4),e.qZA(),e.TgZ(6,"div",5)(7,"p",6),e._UZ(8,"ngx-skeleton-loader",4),e.qZA(),e.TgZ(9,"p",7),e._UZ(10,"ngx-skeleton-loader",4),e.qZA()(),e.TgZ(11,"div",8),e._UZ(12,"ngx-skeleton-loader",4),e.qZA()),2&l&&(e.xp6(1),e.Q6J("theme",_.titleStyles),e.xp6(2),e.Q6J("theme",_.imgStyles),e.xp6(2),e.Q6J("theme",_.de
1scStyles),e.xp6(3),e.Q6J("theme",_.shortTextStyles),e.xp6(2),e.Q6J("theme",_.shortTextStyles),e.xp6(2),e.Q6J("theme",_.btnStyle))},dependencies:[n.xr],styles:[".product-card{position:relative;display:flex;flex-direction:column;align-items:center;width:100%;padding:18px 15px 15px;border:1px solid #dddddd;border-radius:30px;background-color:#fff}@media (min-width: 768px){.product-card{max-width:343px}}@media (min-width: 1024px){.product-card{max-width:320px}}.product-card__title{margin:0 0 16px;font-weight:400;font-size:22px;line-height:32px;text-align:center;letter-spacing:-.02em;word-break:break-word}@media (min-width: 375px){.product-card__title{font-size:24px}}.product-card__image-wrapper{order:-1;display:flex;align-items:center;min-height:140px;margin-bottom:8px}.product-card__image-wrapper img{object-fit:cover;max-height:150px}.product-card__description{margin:0 0 11px;font-size:16px;line-height:20px;letter-spacing:-.01em;color:#8b8b8b}.product-card__description a{color:#38ab78;-webkit-user-select:none;user-select:none}@media (hover: hover),screen and (min-width: 0\\fffd){.product-card__description a:hover{color:#57bb8f}.product-card__description a:active{color:#279363}.product-card__description a:hover:before{box-shadow:none}.product-card__description a:active:before{border:1px solid #279363}}.product-card__details{display:flex;justify-content:space-between;align-items:flex-end;width:100%;margin-top:auto;margin-bottom:26px}.product-card__weight{margin:0;font-size:16px;line-height:20px;letter-spacing:-.01em;color:#8b8b8b}.product-card__ingredients-link{cursor:pointer}.product-card__price{margin:0;font-size:24px;line-height:26px;text-align:right;letter-spacing:.01em}.product-card__button-wrapper{z-index:1;width:100%}.product-card__button-wrapper.is-active .product-card__button{display:none}.product-card__button-wrapper.is-active .product-card__quantity{display:block}.product-card__button{width:100%}@media (hover: hover),screen and (min-width: 0\\fffd){.product-card__button--link:hover{box-shadow:none}.product-card__button--link:active{border:1px solid #279363}}\n"],encapsulation:2,changeDetection:0}),d})()},4873:(U,y,i)=>{i.d(y,{p:()=>k});var e=i(5879),n=i(2080),t=i(6814),d=i(6154),r=i(443),l=i(3478),_=i(902),u=i(2610);function f(O,K){if(1&O&&(e.TgZ(0,"picture"),e._UZ(1,"img",11),e.qZA()),2&O){const M=e.oxw();e.xp6(1),e.Q6J("src",M.product.picture.url,e.LSH)("alt",M.product.name)}}function m(O,K){if(1&O&&(e.ynx(0),e._uU(1),e.ALo(2,"cutDescription"),e.BQk()),2&O){const M=e.oxw();e.xp6(1),e.Oqu(e.lcZ(2,1,M.product.description))}}function E(O,K){if(1&O){const M=e.EpF();e.TgZ(0,"a",12),e.NdJ("click",function(F){e.CHM(M);const Y=e.oxw();return Y.prevent(F),e.KtG(Y.openComposition.emit(Y.product.items))}),e._uU(1," \u041f\u043e\u043b\u043d\u044b\u0439 \u0441\u043e\u0441\u0442\u0430\u0432 "),e.qZA()}}function L(O,K){if(1&O){const M=e.EpF();e.TgZ(0,"button",13),e.NdJ("click",function(){e.CHM(M);const F=e.oxw();return e.KtG(F.increaseQuantity.emit())}),e._uU(1," + \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443 "),e.qZA()}}function w(O,K){if(1&O){const M=e.EpF();e.TgZ(0,"div",14)(1,"div",15)(2,"button",16),e.NdJ("click",function(){e.CHM(M);const F=e.oxw();return e.KtG(F.decreaseQuantity.emit())}),e.O4$(),e.TgZ(3,"svg",17),e._UZ(4,"use",18),e.qZA()(),e.kcU(),e.TgZ(5,"p",19)(6,"span",20),e._uU(7),e.qZA(),e._uU(8,"\xa0\u0448\u0442."),e.qZA(),e.TgZ(9,"button",21),e.NdJ("click",function(){e.CHM(M);const F=e.oxw();return e.KtG(F.increaseQuantity.emit())}),e.O4$(),e.TgZ(10,"svg",17),e._UZ(11,"use",22),e.qZA()()()()}if(2&O){const M=e.oxw();e.xp6(7),e.Oqu(M.cartProduct.quantity)}}let k=(()=>{class O{constructor(){this.prevent=n.X,this.increaseQuantity=new e.vpe,this.decreaseQuantity=new e.vpe,this.openComposition=new e.vpe}}return O.\u0275fac=function(M){return new(M||O)},O.\u0275cmp=e.Xpm({type:O,selectors:[["ui-product-card-widget"]],hostAttrs:[1,"product-card"],inputs:{product:"product",cartProduct:"cartProduct"},outputs:{increaseQuantity:"increaseQuantity",decreaseQuantity:"decreaseQuantity",openComposition:"openComposition"},decls:19,vars:15,consts:[[1,"product-card__title"],[1,"product-card__image-wrapper"],[4,"ngIf"],[1,"product-card__description"],["class","product-card__ingredients-link","data-open-modal","product-composition",3,"click",4,"ngIf"],[1,"product-card__details"],[1,"product-card__weight"],[1,"product-card__price"],["data-quantity","wrapper",1,"product-card__button-wrapper"],["add",""],["class","quantity product-card__quantity","style","display: block",4,"ngIf","ngIfElse"],["loading","lazy",3,"src","alt"],["data-open-modal","product-composition",1,"product-card__ingredients-link",3,"click"],["type","button","uiButton","","data-quantity","button",1,"product-card__button","product-card__button--link",3,"click"],[1,"quantity","product-card__quantity",2,"display","block"],[1,"quantity__wrapper"],["type","button","aria-label","\u0423\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430","data-quantity","minus",1,"quantity__count","btn-reset",3,"click"],["width","16","height","16","aria-hidden","true"],[0,"xlink","href","#icon-m
1inus"],[1,"quantity__number"],["data-quantity","number"],["type","button","aria-label","\u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430","data-quantity","plus",1,"quantity__count","btn-reset",3,"click"],[0,"xlink","href","#icon-plus"]],template:function(M,S){if(1&M&&(e.TgZ(0,"h3",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1),e.YNc(3,f,2,2,"picture",2),e.qZA(),e.TgZ(4,"p",3),e.YNc(5,m,3,3,"ng-container",2),e.YNc(6,E,2,0,"a",4),e.qZA(),e.TgZ(7,"div",5)(8,"p",6),e._uU(9),e.ALo(10,"number"),e.qZA(),e.TgZ(11,"p",7),e._uU(12),e.ALo(13,"money"),e.ALo(14,"humanizeMoney"),e.qZA()(),e.TgZ(15,"div",8),e.YNc(16,L,2,0,"ng-template",null,9,e.W1O),e.YNc(18,w,12,1,"div",10),e.qZA()),2&M){const F=e.MAs(17);e.xp6(1),e.Oqu(S.product.name),e.xp6(2),e.Q6J("ngIf",S.product.picture),e.xp6(2),e.Q6J("ngIf",S.product.description),e.xp6(1),e.Q6J("ngIf",null==S.product.items?null:S.product.items.length),e.xp6(3),e.AsE("",e.lcZ(10,9,S.product.value),"\xa0",null==S.product.measure?null:S.product.measure.shortcut,""),e.xp6(3),e.Oqu(e.lcZ(13,11,e.lcZ(14,13,S.product.price))),e.xp6(6),e.Q6J("ngIf",S.cartProduct)("ngIfElse",F)}},dependencies:[t.O5,d.r,r.E,l.T,_.L,u.$],styles:[".product-card{position:relative;display:flex;flex-direction:column;align-items:center;width:100%;padding:18px 15px 15px;border:1px solid #dddddd;border-radius:30px;background-color:#fff}@media (min-width: 768px){.product-card{max-width:343px}}@media (min-width: 1024px){.product-card{max-width:320px}}.product-card__title{margin:0 0 16px;font-weight:400;font-size:22px;line-height:32px;text-align:center;letter-spacing:-.02em;word-break:break-word}@media (min-width: 375px){.product-card__title{font-size:24px}}.product-card__image-wrapper{order:-1;display:flex;align-items:center;min-height:140px;margin-bottom:8px}.product-card__image-wrapper img{object-fit:cover;max-height:150px}.product-card__description{margin:0 0 11px;font-size:16px;line-height:20px;letter-spacing:-.01em;color:#8b8b8b}.product-card__description a{color:#38ab78;-webkit-user-select:none;user-select:none}@media (hover: hover),screen and (min-width: 0\\fffd){.product-card__description a:hover{color:#57bb8f}.product-card__description a:active{color:#279363}.product-card__description a:hover:before{box-shadow:none}.product-card__description a:active:before{border:1px solid #279363}}.product-card__details{display:flex;justify-content:space-between;align-items:flex-end;width:100%;margin-top:auto;margin-bottom:26px}.product-card__weight{margin:0;font-size:16px;line-height:20px;letter-spacing:-.01em;color:#8b8b8b}.product-card__ingredients-link{cursor:pointer}.product-card__price{margin:0;font-size:24px;line-height:26px;text-align:right;letter-spacing:.01em}.product-card__button-wrapper{z-index:1;width:100%}.product-card__button-wrapper.is-active .product-card__button{display:none}.product-card__button-wrapper.is-active .product-card__quantity{display:block}.product-card__button{width:100%}@media (hover: hover),screen and (min-width: 0\\fffd){.product-card__button--link:hover{box-shadow:none}.product-card__button--link:active{border:1px solid #279363}}\n"],encapsulation:2,changeDetection:0}),O})()},8619:(U,y,i)=>{i.d(y,{G:()=>r});var e=i(7700),n=i(5879),t=i(6814);function d(l,_){if(1&l&&(n.TgZ(0,"li",14)(1,"p",7),n._uU(2),n.qZA(),n.TgZ(3,"div",8)(4,"p",9),n._uU(5),n.ALo(6,"number"),n.qZA(),n.TgZ(7,"p",10),n._uU(8),n.ALo(9,"number"),n.qZA()()()),2&l){const u=_.$implicit;n.xp6(2),n.Oqu(u.title),n.xp6(3),n.hij("",n.lcZ(6,3,u.weight)," \u0433\u0440."),n.xp6(3),n.hij("",n.lcZ(9,5,u.quantity),"\xa0\u0443\u043f.")}}let r=(()=>{class l{constructor(u){this.data=u,this.sumWeight=this.data.items?.reduce((f,m)=>f+(m.weight||0)*(m.quantity||0),0),this.sumQuantity=this.data.items?.reduce((f,m)=>f+(m.quantity||0),0)}}return l.\u0275fac=function(u){return new(u||l)(n.Y36(e.WI))},l.\u0275cmp=n.Xpm({type:l,selectors:[["app-product-composition-dialog"]],decls:20,vars:7,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"product-composition"],[1,"product-composition__wrapper"],[1,"product-composition__list"],["class","product-composition__item",4,"ngFor","ngForOf"],[1,"product-composition__total"],[1,"product-composition__name"],[1,"product-composition__details"],[1,"product-composition__weight"],[1,"product-composition__quantity"],["aria-label","\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u043f\u043e\u043f\u0430\u043f","mat-dialog-close","",1,"mat-dialog-close"],["width","40","height","40","aria-hidden","true"],[0,"xlink","href","#icon-close"],[1,"product-composition__item"]],template:function(u,f){1&u&&(n.TgZ(0,"h2",0),n._uU(1,"\u0421\u043e\u0441\u0442\u0430\u0432 \u043d\u0430\u0431\u043e\u0440\u0430"),n.qZA(),n.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"ul",4),n.YNc(6,d,10,7,"li",5),n.TgZ(7,"div",6)(8,"p",7),n._uU(9,"\u0418\u0442\u043e\u0433\u043e"),n.qZA(),n.TgZ(10,"div",8)(11,"p",9),n._uU(12),n.ALo(13,"number"),n.qZA(),n.TgZ(14,"p",10),n._uU(15),n.ALo(16,"number"),n.qZA()()()()()()(),n.TgZ(17,"a",11),n.O4$(),n.TgZ(18,"svg",12),n._UZ(19,"use",13),n.qZA()()),2&u&&(n.xp6(6),n.Q6J("ngForOf",f.data.items),n.xp6(6),n.hij("",n.lcZ(13,3,f.sumWeight),"\xa0\u0433\u0440."),n.xp6(3),n.hij("",n.lcZ(16,5,f.sumQuantity),"\xa0\u0443\u043f."))},dependencies:[t.sg,e.ZT,e.uh,e.xY,t.JJ],styles:['.product-composition__wrapper{margin-top:8px}.product-composition__list{padding:0;list-style:none}.product-composition__item{margin-bottom:24px}@media (min-width: 1024px){.product-composition__item{display:flex;justify-content:space-between;margin-bottom:16px}}.product-composition__item:last-child{margin-bottom:0}.product-composition__name{margin:0 24px 12px 0;font-size:16px;line-height:20px;letter-spacing:-.01em}@media (min-width: 1024px){.product-composition__name{margin-bottom:0}}.product-composition__details{display:flex}.product-composition__weight{position:relative;margin:0;font-size:16px;line-height:20px;letter-spacing:-.01em}@media (min-width: 1024px){.product-composition__weight{margin-right:20px}}.product-composition__weight:after{content:",";margin-right:4px}@media (min-width: 1024px){.product-composition__weight:after{content:none}}.product-composition__quantity{margin:0;font-size:16px;line-height:20px;letter-spacing:-.01em}@media (min-width: 1024px){.product-composition__quantity{min-width:62px;text-align:right}}.product-composition__total{position:relative;margin-top:40px}@media (min-width: 1024px){.product-composition__total{display:flex;justify-content:space-between;margin-top:32px}}.product-composition__total:before{content:"";position:absolute;top:-18px;left:0;width:100%;height:1px;background-color:#ddd}@media (min-width: 1024px){.product-composition__total:before{content:none}}\n'],encapsulation:2,changeDetection:0}),l})()},4506:(U,y,i)=>{i.d(y,{E:()=>r});var e=i(6814),n=i(4909),t=i(4747),d=i(5879);let r=(()=>{class l{}return l.\u0275fac=function(u){return new(u||l)},l.\u0275mod=d.oAB({type:l}),l.\u0275inj=d.cJS({imports:[e.ez,n.D,t.hx]}),l})()},7647:(U,y,i)=>{i.d(y,{r:()=>t});var e=i(7700),n=i(5879);let t=(()=>{class d{constructor(l){this.data=l,this.title=this.data.title,this.text=this.data.text}}return d.\u0275fac=function(l){return new(l||d)(n.Y36(e.WI))},d.\u0275cmp=n.Xpm({type:d,selectors:[["ui-simple-dialog"]],decls:10,vars:2,consts:[[1,"modal__content"],[1,"simple-dialog"],[1,"simple-dialog__text"],["type","button","aria-label","\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u043f\u043e\u043f\u0430\u043f","mat-dialog-close","",1,"mat-dialog-close"],["width","40","height","40","aria-hidden","true"],[0,"xlink","href","#icon-close"]],template:function(l,_){1&l&&(n.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h2"),n._uU(4),n.qZA(),n.TgZ(5,"p"),n._uU(6),n.qZA()()()(),n.TgZ(7,"button",3),n.O4$(),n.TgZ(8,"svg",4),n._UZ(9,"use",5),n.qZA()()),2&l&&(n.xp6(4),n.Oqu(_.title),n.xp6(2),n.Oqu(_.text))},dependencies:[e.ZT],styles:[".simple-dialog__text h2{margin:0 0 16px;font-size:28px;font-weight:400;line-height:32px;letter-spacing:-.02em}.simple-dialog__text p{margin:0;font-size:20px;line-height:30px;letter-spacing:-.02em}@media (min-width: 1024px){.simple-dialog__text h2{font-size:34px;line-height:40px}}.modal--simple-dialog{padding:0}.modal--simple-dialog .mat-mdc-dialog-surface{padding:0;border-radius:24px;width:100%}\n"],encapsulation:2,changeDetection:0}),d})()},1792:(U,y,i)=>{i.d(y,{Z:()=>d});var e=i(2495),n=i(5879);const t=["*"];let d=(()=>
1{class r{constructor(){this.close=new n.vpe,this.message="",this._opened=!1}set opened(_){this._opened=(0,e.Ig)(_)}get opened(){return this._opened}}return r.\u0275fac=function(_){return new(_||r)},r.\u0275cmp=n.Xpm({type:r,selectors:[["ui-simple-popup"]],hostAttrs:[1,"alert-message"],hostVars:6,hostBindings:function(_,u){2&_&&n.ekj("is-active",u.opened)("alert-message--success","success"===u.appearance)("alert-message--error","error"===u.appearance)},inputs:{message:"message",appearance:"appearance",opened:"opened"},outputs:{close:"close"},ngContentSelectors:t,decls:6,vars:0,consts:[[1,"alert-message__wrapper"],["type","button","aria-label","\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u043f\u043e\u043f\u0430\u043f",1,"alert-message__close-btn",3,"click"],["width","22","height","22","aria-hidden","true"],[0,"xlink","href","#icons-close"],[1,"alert-message__text"]],template:function(_,u){1&_&&(n.F$t(),n.TgZ(0,"div",0)(1,"button",1),n.NdJ("click",function(){return u.close.emit()}),n.O4$(),n.TgZ(2,"svg",2),n._UZ(3,"use",3),n.qZA()(),n.kcU(),n.TgZ(4,"div",4),n.Hsn(5),n.qZA()())},encapsulation:2,changeDetection:0}),r})()},972:(U,y,i)=>{i.d(y,{e:()=>t});var e=i(6814),n=i(5879);let t=(()=>{class d{}return d.\u0275fac=function(l){return new(l||d)},d.\u0275mod=n.oAB({type:d}),d.\u0275inj=n.cJS({imports:[e.ez]}),d})()},7500:(U,y,i)=>{i.d(y,{O:()=>t});var e=i(5879),n=i(6814);let t=(()=>{class d{constructor(){this._diameter=100}set diameter(l){"string"==typeof l&&(l=parseInt(l,10),l=isNaN(l)?100:l),this._diameter=l}get diameter(){return this._diameter}get diameterPx(){return`${this._diameter}px`}}return d.\u0275fac=function(l){return new(l||d)},d.\u0275cmp=e.Xpm({type:d,selectors:[["ui-spinner"]],hostAttrs:[1,"ui-spinner"],inputs:{color:"color",diameter:"diameter"},decls:2,vars:3,consts:[["viewBox","0 0 66 66","xmlns","http://www.w3.org/2000/svg",1,"spinner",3,"ngClass"],["fill","none","stroke-width","6","stroke-linecap","round","cx","33","cy","33","r","30",1,"path"]],template:function(l,_){1&l&&(e.O4$(),e.TgZ(0,"svg",0),e._UZ(1,"circle",1),e.qZA()),2&l&&(e.Q6J("ngClass","color-"+_.color),e.uIk("width",_.diameterPx)("height",_.diameterPx))},dependencies:[n.mk],encapsulation:2,changeDetection:0}),d})()},3289:(U,y,i)=>{i.d(y,{F:()=>t});var e=i(6814),n=i(5879);let t=(()=>{class d{}return d.\u0275fac=function(l){return new(l||d)},d.\u0275mod=n.oAB({type:d}),d.\u0275inj=n.cJS({imports:[e.ez]}),d})()},8549:(U,y,i)=>{i.d(y,{w:()=>t});var e=i(5879),n=i(7555);let t=(()=>{class d{set link(l){this._link=l,this.hostCtrl?.changes.markForCheck()}get link(){return this._link}set queryParams(l){this._queryParams=l,this.hostCtrl?.changes.markForCheck()}get queryParams(){return this._queryParams}constructor(l,_){this.hostCtrl=l,this.templateRef=_}}return d.\u0275fac=function(l){return new(l||d)(e.Y36(n.n,9),e.Y36(e.Rgc))},d.\u0275dir=e.lG2({type:d,selectors:[["","uiTab",""]],inputs:{id:["uiTab","id"],label:"label",controlClass:"controlClass",link:"link",queryParams:"queryParams"}}),d})()},7555:(U,y,i)=>{i.d(y,{n:()=>K});var f,e=i(7582),n=i(6814),t=i(5879),d=i(8549),r=i(1791),l=i(5619),_=i(1687),u=i(7418);const m=["tabElement"];function E(M,S){if(1&M){const F=t.EpF();t.TgZ(0,"a",7),t.NdJ("click",function(){t.CHM(F);const rt=t.oxw().$implicit,z=t.oxw();return t.KtG(z.changeTab(rt.id))}),t._uU(1),t.qZA()}if(2&M){const F=t.oxw().$implicit,Y=t.oxw();t.ekj("is-active",Y.selectedTab===F.id),t.Q6J("ngClass",F.controlClass),t.xp6(1),t.Oqu(F.label)}}function L(M,S){if(1&M&&(t.TgZ(0,"a",8),t._uU(1),t.qZA()),2&M){const F=t.oxw().$implicit,Y=t.oxw();t.ekj("is-active",Y.selectedTab===F.id),t.Q6J("ngClass",F.controlClass)("routerLink",F.link)("queryParams",F.queryParams),t.xp6(1),t.Oqu(F.label)}}function w(M,S){if(1&M&&(t.ynx(0),t.YNc(1,E,2,4,"a",5),t.YNc(2,L,2,6,"a",6),t.BQk()),2&M){const F=S.$implicit;t.xp6(1),t.Q6J("ngIf",!F.link),t.xp6(1),t.Q6J("ngIf",F.link)}}function k(M,S){1&M&&t.GkF(0)}function O(M,S){if(1&M&&(t.TgZ(0,"div",9,10),t.YNc(2,k,1,0,"ng-container",11),t.qZA()),2&M){const F=S.$implicit,Y=t.oxw();t.ekj("is-active",Y.selectedTab===F.id),t.uIk("data-group",F.id),t.xp6(2),t.Q6J("ngTemplateOutlet",F.templateRef)}}let K=((f=class{constructor(S,F){this.platform=S,this.changes=F,this.tabChanged=new t.vpe,this._containerHeight=new l.X(0),this.containerHeight=this._containerHeight.asObservable()}ngOnInit(){(0,n.NF)(this.platform)&&(0,_.F)(100).pipe((0,r.t)(this)).subscribe(()=>this.recalculateContainerHeight())}changeTab(S){this.tabChanged.emit(S)}trackById(S,F){return F.id}get activeTab(){return this.tabElements?.find(S=>S.nativeElement.classList.contains("is-active"))}recalculateContainerHeight(){const S=this.activeTab;if(!S)return;const F=S.nativeElement.offsetHeight;F!==this._containerHeight.value&&this._containerHeight.next(F)}}).\u0275fac=function(S){return new(S||f)(t.Y36(t.Lbi),t.Y36(t.sBO))},f.\u0275cmp=t.Xpm({type:f,selectors:[["ui-tabs"]],contentQueries:function(S,F,Y){if(1&S&&t.Suo(Y,d.w,4),2&S){let rt;t.iGM(rt=t.CRH())&&(F.tabs=rt)}},viewQuery:function(S,F){if(1&S&&t.Gf(m,5),2&S){let Y;t.iGM(Y=t.CRH())&&(F.tabElements=Y)}},hostAttrs:["data-tabs","parent",1,"ui-tabs"],inputs:{selectedTab:"selectedTab",controlsClass:"controlsClass"},outputs:{tabChanged:"tabChanged"},decls:6,vars:9,consts:[["data-tabs","controls",1,"ui-tabs__controls","no-scrollbar",3,"ngClass"],[1,"ui-tabs__controls-wrapper"],[4,"ngFor","ngForOf","ngForTrackBy"],["data-tabs","content",1,"ui-tabs__content"],["class","ui-tabs__element","data-tabs","element",3,"is-active",4,"ngFor","ngForOf","ngForTrackBy"],["class","ui-tabs__control btn-reset",3,"ngClass","is-active","click",4,"ngIf"],["class","ui-tabs__control btn-reset",3,"ngClass","is-active","routerLink","queryParams",4,"ngIf"],[1,"ui-tabs__control","btn-reset",3,"ngClass","click"],[1,"ui-tabs__control","btn-reset",3,"ngClass","routerLink","queryParams"],["data-tabs","element",1,"ui-tabs__element"],["tabElement",""],[4,"ngTemplateOutlet"]],template:function(S,F){1&S&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,w,3,2,"ng-container",2),t.qZA()(),t.TgZ(3,"div",3),t.ALo(4,"async"),t.YNc(5,O,3,4,"div",4),t.qZA()),2&S&&(t.Q6J("ngClass",F.controlsClass),t.xp6(2),t.Q6J("ngForOf",F.tabs)("ngForTrackBy",F.trackById),t.xp6(1),t.Udp("height",t.lcZ(4,7,F.containerHeight),"px"),t.xp6(2),t.Q6J("ngForOf",F.tabs)("ngForTrackBy",F.trackById))},dependencies:[n.mk,n.sg,n.O5,n.tP,u.rH,n.Ov],styles:[".ui-tabs{display:block;margin-bottom:16px}.ui-tabs .ui-tabs__controls{position:relative;display:flex;margin:0 -16px 16px;overflow-x:scroll}@media (min-width: 1024px){.ui-tabs .ui-tabs__controls{margin:0 0 16px}}.ui-tabs .ui-tabs__controls-wrapper{display:inline-flex;margin:0 auto}@media (min-width: 1024px){.ui-tabs .ui-tabs__controls-wrapper{padding:4px;border-radius:16px;background-color:#c1c1c1}}.ui-tabs .ui-tabs__control{padding:6px 12px 8px;margin-right:8px;font-size:20px;line-height:26px;text-align:center;letter-spacing:.01em;border-radius:14px;background-color:#c1c1c1;color:#fff;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .3s ease}@media (min-width: 1024px){.ui-tabs .ui-tabs__control{margin-right:5px;background-color:#fff0}}.ui-tabs .ui-tabs__control:first-child{margin-left:16px}@media (min-width: 420px){.ui-tabs .ui-tabs__control:first-child{margin-left:0}}.ui-tabs .ui-tabs__control:last-child{margin-right:16px}@media (min-width: 420px){.ui-tabs .ui-tabs__control:last-child{margin-right:0}}.ui-tabs .ui-tabs__control.is-active{background-color:#38ab78;cursor:default;pointer-events:none}@media (min-width: 1024px){.ui-tabs .ui-tabs__control.is-active{background-color:#fff;color:#070707}}.ui-tabs .ui-tabs__control.is-active:active{background-color:#38ab78}@media (min-width: 1024px){.ui-tabs .ui-tabs__control.is-active:active{background-color:#fff;color:#070707}}@media (hover: hover),screen and (min-width: 0 \\fffd){.ui-tabs .ui-tabs__control.is-active:hover{background-color:#38ab78}}@media (hover: hover) and (min-width: 1024px),screen and (min-width: 0 \\fffd) and (min-width: 1024px){.ui-tabs .ui-tabs__control.is-active:hover{background-color:#fff;color:#070707}}@media (hover: hover),screen and (min-width: 0 \\fffd){.ui-tabs .ui-tabs__control.is-active:active{background-color:#38ab78}}@media (hover: hover) and (min-width: 1024px),screen and (min-width: 0 \\fffd) and (min-width: 1024px){.ui-tabs .ui-tabs__control.is-active:active{background-color:#fff;color:#070707}}.ui-tabs .ui-tabs__control:active{background-color:#57bb8f}@media (hover: hover),screen and (min-width: 0 \\fffd){.ui-tabs .ui-tabs__control:hover{background-color:#a4a4a4}.ui-tabs .ui-tabs__control:active{background-color:#8b8b8b}}.ui-tabs .ui-tabs__element{width:100%}\n"],encapsulation:2,changeDetection:0}),f);K=(0,e.gn)([(0,r.c)()],K)},3481:(U,y,i)=>{i.d(y,{P:()=>d});var e=i(6814),n=i(7418),t=i(5879);let d=(()=>{class r{}return r.\u0275fac=function(_){return new(_||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({imports:[e.ez,n.Bz]}),r})()}},U=>{U.O(0,[736],()=>U(U.s=2822)),U.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.