PageSourceSearch

https://3ddd.ru/base-assets/main.9d6ccc17c7d05387.js

js 3ddd.ru collected 2026-09-24 09:01:10 UTC 1,385,903 bytes, 76 lines download raw bytes

1"use strict";(self.webpackChunkthreeddd_front=self.webpackChunkthreeddd_front||[]).push([[792],{162:(ct,ce,a)=>{a.d(ce,{N:()=>d});var e=a(9969);const d=[(0,e.wk)("closed",(0,e.iF)({opacity:0})),(0,e.wk)("open",(0,e.iF)({opacity:1})),(0,e.kY)("* => closed",[(0,e.i0)("{{ animationOut }}",(0,e.iF)({opacity:0}))]),(0,e.kY)("closed => open",[(0,e.i0)("{{ animationIn }}",(0,e.iF)({opacity:1}))]),(0,e.kY)(":enter",[(0,e.iF)({opacity:0}),(0,e.i0)("{{ animationIn }}",(0,e.iF)({opacity:1}))])]},1180:(ct,ce,a)=>{a.d(ce,{hS:()=>G,sT:()=>p,YZ:()=>E,UP:()=>$,y2:()=>J,NC:()=>I,ef:()=>s,JK:()=>z,Kn:()=>V,kg:()=>W}),
2/**
3         * @license
4         * Copyright Google LLC All Rights Reserved.
5         *
6         * Use of this source code is governed by an MIT-style license that can be
7         * found in the LICENSE file at https://angular.io/license
8         */
9function(w){w.ng=w.ng||{},w.ng.common=w.ng.common||{},w.ng.common.locales=w.ng.common.locales||{};const U=void 0;w.ng.common.locales.ru=["ru",[["AM","PM"],U,U],U,[["\u0412","\u041f","\u0412","\u0421","\u0427","\u041f","\u0421"],["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"],["\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","\u0432\u0442\u043e\u0440\u043d\u0438\u043a","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043f\u044f\u0442\u043d\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043e\u0442\u0430"],["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"]],U,[["\u042f","\u0424","\u041c","\u0410","\u041c","\u0418","\u0418","\u0410","\u0421","\u041e","\u041d","\u0414"],["\u044f\u043d\u0432.","\u0444\u0435\u0432\u0440.","\u043c\u0430\u0440.","\u0430\u043f\u0440.","\u043c\u0430\u044f","\u0438\u044e\u043d.","\u0438\u044e\u043b.","\u0430\u0432\u0433.","\u0441\u0435\u043d\u0442.","\u043e\u043a\u0442.","\u043d\u043e\u044f\u0431.","\u0434\u0435\u043a."],["\u044f\u043d\u0432\u0430\u0440\u044f","\u0444\u0435\u0432\u0440\u0430\u043b\u044f","\u043c\u0430\u0440\u0442\u0430","\u0430\u043f\u0440\u0435\u043b\u044f","\u043c\u0430\u044f","\u0438\u044e\u043d\u044f","\u0438\u044e\u043b\u044f","\u0430\u0432\u0433\u0443\u0441\u0442\u0430","\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f","\u043e\u043a\u0442\u044f\u0431\u0440\u044f","\u043d\u043e\u044f\u0431\u0440\u044f","\u0434\u0435\u043a\u0430\u0431\u0440\u044f"]],[["\u042f","\u0424","\u041c","\u0410","\u041c","\u0418","\u0418","\u0410","\u0421","\u041e","\u041d","\u0414"],["\u044f\u043d\u0432.","\u0444\u0435\u0432\u0440.","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440.","\u043c\u0430\u0439","\u0438\u044e\u043d\u044c","\u0438\u044e\u043b\u044c","\u0430\u0432\u0433.","\u0441\u0435\u043d\u0442.","\u043e\u043a\u0442.","\u043d\u043e\u044f\u0431.","\u0434\u0435\u043a."],["\u044f\u043d\u0432\u0430\u0440\u044c","\u0444\u0435\u0432\u0440\u0430\u043b\u044c","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440\u0435\u043b\u044c","\u043c\u0430\u0439","\u0438\u044e\u043d\u044c","\u0438\u044e\u043b\u044c","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c","\u043e\u043a\u0442\u044f\u0431\u0440\u044c","\u043d\u043e\u044f\u0431\u0440\u044c","\u0434\u0435\u043a\u0430\u0431\u0440\u044c"]],[["\u0434\u043e \u043d.\u044d.","\u043d.\u044d."],["\u0434\u043e \u043d. \u044d.","\u043d. \u044d."],["\u0434\u043e \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430","\u043e\u0442 \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430"]],1,[6,0],["dd.MM.y","d MMM y '\u0433'.","d MMMM y '\u0433'.","EEEE, d MMMM y '\u0433'."],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",U,U,U],[",","\xa0",";","%","+","-","E","\xd7","\u2030","\u221e","\u043d\u0435\xa0\u0447\u0438\u0441\u043b\u043e",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"RUB","\u20bd","\u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0439 \u0440\u0443\u0431\u043b\u044c",{BYN:[U,"\u0440."],GEL:[U,"\u10da"],PHP:[U,"\u20b1"],RON:[U,"L"],RUB:["\u20bd"],RUR:["\u0440."],THB:["\u0e3f"],TMT:["\u0422\u041c\u0422"],TWD:["NT$"],UAH:["\u20b4"],XXX:["XXXX"]},"ltr",function Z(H){const F=Math.floor(Math.abs(H)),ue=H.toString().replace(/^[^.]*\.?/,"").length;return 0===ue&&F%10==1&&F%100!=11?1:0===ue&&F%10===Math.floor(F%10)&&F%10>=2&&F%10<=4&&!(F%100>=12&&F%100<=14)?3:0===ue&&F%10==0||0===ue&&F%10===Math.floor(F%10)&&F%10>=5&&F%10<=9||0===ue&&F%100===Math.floor(F%100)&&F%100>=11&&F%100<=14?4:5},[[["\u043f\u043e\u043b\u043d.","\u043f\u043e\u043b\u0434.","\u0443\u0442\u0440\u0430","\u0434\u043d\u044f","\u0432\u0435\u0447.","\u043d\u043e\u0447\u0438"],["\u043f\u043e\u043b\u043d.","\u043f\u043e\u043b\u0434.","\u0443\u0442\u0440\u0430","\u0434\u043d\u044f","\u0432\u0435\u0447\u0435\u0440\u0430","\u043d\u043e\u0447\u0438"],["\u043f\u043e\u043b\u043d\u043e\u0447\u044c","\u043f\u043e\u043b\u0434\u0435\u043d\u044c","\u0443\u0442\u0440\u0430","\u0434\u043d\u044f","\u0432\u0435\u0447\u0435\u0440\u0430","\u043d\u043e\u0447\u0438"]],[["\u043f\u043e\u043b\u043d.","\u043f\u043e\u043b\u0434.","\u0443\u0442\u0440\u043e","\u0434\u0435\u043d\u044c","\u0432\u0435\u0447.","\u043d\u043e\u0447\u044c"],U,["\u043f\u043e\u043b\u043d\u043e\u0447\u044c","\u043f\u043e\u043b\u0434\u0435\u043d\u044c","\u0443\u0442\u0440\u043e","\u0434\u0435\u043d\u044c","\u0432\u0435\u0447\u0435\u0440","\u043d\u043e\u0447\u044c"]],["00:00","12:00",["04:00","12:00"],["12:00","18:00"],["18:00","22:00"],["22:00","04:00"]]]]}(typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window),
10/**
11         * @license
12         * Copyright Google LLC All Rights Reserved.
13         *
14         * Use of this source code is governed by an MIT-style license that can be
15         * found in the LICENSE file at https://angular.io/license
16         */
17function(w){w.ng=w.ng||{},w.ng.common=w.ng.common||{},w.ng.common.locales=w.ng.common.locales||{};const U=void 0;w.ng.common.locales.es=["es",[["a.\xa0m.","p.\xa0m."],U,U],U,[["D","L","M","X","J","V","S"],["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["DO","LU","MA","MI","JU","VI","SA"]],U,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene","feb","mar","abr","may","jun","jul","ago","sept","oct","nov","dic"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],U,[["a. C.","d. C."],U,["antes de Cristo","despu\xe9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1}, {0}",U,U,U],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{AUD:[U,"$"],BRL:[U,"R$"],BYN:[U,"\u0440."],CAD:[U,"$"],CNY:[U,"\xa5"],EGP:[],ESP:["\u20a7"],GBP:[U,"\xa3"],HKD:[U,"$"],ILS:[U,"\u20aa"],INR:[U,"\u20b9"],JPY:[U,"\xa5"],KRW:[U,"\u20a9"],MXN:[U,"$"],NZD:[U,"$"],PHP:[U,"\u20b1"],RON:[U,"L"],THB:["\u0e3f"],TWD:[U,"NT$"],USD:["US$","$"],XAF:[],XCD:[U,"$"],XOF:[]},"ltr",function Z(H){const j=H,F=Math.floor(Math.abs(H)),ue=H.toString().replace(/^[^.]*\.?/,"").length,ae=parseInt(H.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return 1===j?1:0===ae&&0!==F&&F%1e6==0&&0===ue||!(ae>=0&&ae<=5)?4:5},[[["del mediod\xeda","de la madrugada","de la ma\xf1ana","de la tarde","de la noche"],U,U],[["mediod\xeda","madrugada","ma\xf1ana","tarde","noche"],U,U],["12:00",["00:00","06:00"],["06:00","12:00"],["12:00","20:00"],["20:00","24:00"]]]]}(typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window);var e=a(7019),d=a(5312),X=a(647),x=a(430),O=a(5964);const V=w=>()=>(w.init(),w.init$),p=new e.nKC("ImageBaseUrl",{factory:()=>new X.kX,providedIn:"root"}),$=new e.nKC("URL to SVG - stub when there is no avatar"),E=new e.nKC("LOCALES",{factory:()=>["en","es"],providedIn:"root"}),s=new e.nKC("SKY"),I=new e.nKC("\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 router.events, \u043e\u0442\u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043f\u043e NavigationEnd \u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u044e\u0442 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u0434\u0430\u043b\u044c\u0448\u0435. \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043e\u0442\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c\u0441\u044f",{factory:()=>{const w=(0,e.WQX)(x.Ix);return w.events.pipe((0,O.p)(U=>{const Z=w.getCurrentNavigation()?.extras?.state??{};return!Object.hasOwn(Z,B)&&U instanceof x.wF}))},providedIn:"root"}
17),W="localize",G="googleauth",B="skipNavigationListening",J=new e.nKC("\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u043d\u0430 \u043c\u043d\u0435\u043c\u043e\u043d\u0438\u043a\u0443 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438 \u043c\u043e\u0434\u0435\u043b\u0438.",{factory:()=>"/ng-assets/images/no-image.svg",providedIn:"root"});function z(){if(d.c.sky){const w=["en","es"];let U=localStorage.getItem(W);U||(U=navigator.language.includes("-")?navigator.language.split("-")[0]:navigator.language);const Z=location.pathname.includes("/")?location.pathname.split("/")[1]:location.pathname;return w.some(H=>H===Z)&&(U=Z),w.some(H=>new RegExp(H,"i").test(U))?U:d.c.locale}return d.c.locale}},710:(ct,ce,a)=>{a.d(ce,{iK:()=>ze,iw:()=>Ct,JZ:()=>Ot});var e=a(7019),d=a(430),X=a(5979);const x=()=>{const Qe=(0,e.WQX)(d.Ix);return!(0,e.WQX)(X.o).authorizedSource.value||Qe.navigate(["/auth/error/logout"]).then(()=>!1)};var O=a(8664),V=a(5312),p=a(1180);const $=()=>{if(!(0,e.WQX)(p.ef))return!0;location.href="/404"};var E=a(9831),s=a(4412),I=a(1413),W=a(1504),G=a(114),B=a(9521),J=a(177),z=a(4622),w=a(5116);function U(Qe,yt){if(1&Qe&&e.nrm(0,"app-models-paginator",2),2&Qe){const ut=e.XpG();e.Y8G("itemsPerPage",ut.limit)("initPaginator",ut.initPaginator)}}let Z=(()=>{var Qe;class yt{constructor(ht,me,et,we){this.galleryService=ht,this.route=me,this.router=et,this.subscribeHandlerService=we,this.navigationEndStream=(0,e.WQX)(p.NC),this.initPaginator=new s.t(0),this.unsubscriber=new I.B,this.referrerUrl=W.FW}ngOnInit(){this.userSlug=this.route.parent.snapshot.paramMap.get("user"),this.getUserGalleries(+this.route.snapshot.queryParamMap.get("page")),this.subscribeHandlerService.subjectSubscribe(this.navigationEndStream,()=>{this.galleries=[],this.getUserGalleries(+this.route.snapshot.queryParamMap.get("page"))},this.unsubscriber)}getUserGalleries(ht){this.subscribeHandlerService.takeOne(this.galleryService.getUserGalleries(this.userSlug,ht),me=>{me.success&&(this.galleries=me.data.galleries,this.limit=me.data.per_page,this.total=me.data.total_value,this.initPaginator.next(me.data.total_value))})}ngOnDestroy(){this.unsubscriber.next()}}return(Qe=yt).\u0275fac=function(ht){return new(ht||Qe)(e.rXU(z.A),e.rXU(d.nX),e.rXU(d.Ix),e.rXU(w.e))},Qe.\u0275cmp=e.VBU({type:Qe,selectors:[["app-users-gallery"]],standalone:!0,features:[e.aNF],decls:2,vars:3,consts:[[3,"galleries","referrerUrl"],[3,"itemsPerPage","initPaginator",4,"ngIf"],[3,"itemsPerPage","initPaginator"]],template:function(ht,me){1&ht&&(e.nrm(0,"app-gallery-list",0),e.DNE(1,U,1,2,"app-models-paginator",1)),2&ht&&(e.Y8G("galleries",me.galleries)("referrerUrl",me.referrerUrl.USER_PAGE),e.R7$(1),e.Y8G("ngIf",me.total>me.limit))},dependencies:[G.W,B.p,J.MD,J.bT]}),yt})();var H=a(8207),j=a(8298),F=a(2005);function ae(Qe,yt){if(1&Qe&&(e.j41(0,"div"),e.nrm(1,"app-blog-card",3),e.k0s()),2&Qe){const ut=yt.$implicit,ht=e.XpG();e.R7$(1),e.Y8G("blog",ut)("blogListLoading",ht.loadingBlogAll)}}function N(Qe,yt){if(1&Qe&&e.nrm(0,"app-models-paginator",4),2&Qe){const ut=e.XpG();e.Y8G("itemsPerPage",ut.limit)("initPaginator",ut.initPaginator)}}a(647);let te=(()=>{var Qe;class yt{constructor(ht,me,et,we,Ae,de){this.blogsService=ht,this.route=me,this.router=et,this.subscribeHandlerService=we,this.sky=Ae,this.imageBaseUrl=de,this.navigationEndStream=(0,e.WQX)(p.NC),this.ARRAY_PER_PAGE=10,this.blogs=new Array(this.ARRAY_PER_PAGE),this.loadingBlogAll=new H.I,this.initPaginator=new s.t(0),this.unsubscriber=new I.B}ngOnInit(){this.userSlug=this.route.parent.snapshot.paramMap.get("user"),this.getUserBlogs(+this.route.snapshot.queryParamMap.get("page")),this.subscribeHandlerService.subjectSubscribe(this.navigationEndStream,()=>{this.getUserBlogs(+this.route.snapshot.queryParamMap.get("page"))},this.unsubscriber)}ngOnDestroy(){this.unsubscriber.next()}getUserBlogs(ht){this.blogs=new Array(this.blogs.length),this.subscribeHandlerService.takeOne(this.blogsService.getUserBlogs(this.userSlug,ht),me=>{me.success&&(this.blogs=me.data.posts,this.limit=me.data.limit,this.total=me.data.total,this.initPaginator.next(me.data.total))},this.loadingBlogAll)}}return(Qe=yt).\u0275fac=function(ht){return new(ht||Qe)(e.rXU(F.B),e.rXU(d.nX),e.rXU(d.Ix),e.rXU(w.e),e.rXU(p.ef),e.rXU(p.sT))},Qe.\u0275cmp=e.VBU({type:Qe,selectors:[["app-users-blogs"]],standalone:!0,features:[e.aNF],decls:3,vars:2,consts:[[1,"blog-list"],[4,"ngFor","ngForOf"],[3,"itemsPerPage","initPaginator",4,"ngIf"],[3,"blog","blogListLoading"],[3,"itemsPerPage","initPaginator"]],template:function(ht,me){1&ht&&(e.j41(0,"div",0),e.DNE(1,ae,2,2,"div",1),e.k0s(),e.DNE(2,N,1,2,"app-models-paginator",2)),2&ht&&(e.R7$(1),e.Y8G("ngForOf",me.blogs),e.R7$(1),e.Y8G("ngIf",me.total>me.limit))},dependencies:[J.MD,J.Sq,J.bT,j.m,B.p],styles:[".blog-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:48px}@media (max-width: 767.98px){.blog-list[_ngcontent-%COMP%]{gap:24px}}"]}),yt})();var ie=a(174),re=a(633);function Ee(Qe,yt){1&Qe&&(e.qSk(),e.j41(0,"svg",10),e.nrm(1,"path",11)(2,"path",12)(3,"path",13),e.k0s())}function Re(Qe,yt){if(1&Qe&&(e.j41(0,"div")(1,"a",2)(2,"div",3)(3,"div",4)(4,"div"),e.EFF(5),e.nI1(6,"date"),e.k0s(),e.j41(7,"div"),e.EFF(8),e.nI1(9,"date"),e.k0s()(),e.j41(10,"div",5),e.EFF(11),e.nI1(12,"date"),e.k0s()(),e.j41(13,"div",6),e.DNE(14,Ee,4,0,"svg",7),e.k0s(),e.j41(15,"div")(16,"div",8),e.
17EFF(17),e.k0s(),e.j41(18,"div",9),e.EFF(19),e.k0s()()()()),2&Qe){const ut=yt.$implicit,ht=e.XpG();e.R7$(1),e.FCK("href","/forum/thread/show/",ut.threadSlug,"?show_post=",ut.postId,"",e.B4B),e.R7$(4),e.JRh(ht.splitCreatedAt(e.ii3(6,8,ut.createdAt,"d MMMM y","GMT +3",ht.locale))[0]),e.R7$(3),e.JRh(ht.splitCreatedAt(e.ii3(9,13,ut.createdAt,"d MMMM y","GMT +3",ht.locale))[1]),e.R7$(3),e.JRh(ht.splitCreatedAt(e.ii3(12,18,ut.createdAt,"d MMMM y","GMT +3",ht.locale))[2]),e.R7$(3),e.Y8G("ngIf",ut.threadOwner),e.R7$(3),e.SpI(" ",ut.threadTitle," "),e.R7$(2),e.SpI(" ",ut.content," ")}}function Mt(Qe,yt){if(1&Qe&&e.nrm(0,"app-models-paginator",14),2&Qe){const ut=e.XpG();e.Y8G("itemsPerPage",ut.limit)("initPaginator",ut.initPaginator)}}let wt=(()=>{var Qe;class yt{constructor(ht,me,et,we,Ae){this.forumService=ht,this.route=me,this.router=et,this.subscribeHandlerService=we,this.locale=Ae,this.navigationEndStream=(0,e.WQX)(p.NC),this.initPaginator=new s.t(0),this.unsubscriber=new I.B}ngOnInit(){this.userSlug=this.route.parent.parent.snapshot.paramMap.get("user")?this.route.parent.parent.snapshot.paramMap.get("user"):this.route.parent.snapshot.paramMap.get("user"),this.getForumPosts(+this.route.snapshot.queryParamMap.get("page")),this.subscribeHandlerService.subjectSubscribe(this.navigationEndStream,()=>{this.forumPosts=[],this.getForumPosts(+this.route.snapshot.queryParamMap.get("page"))},this.unsubscriber)}ngOnDestroy(){this.unsubscriber.next()}getForumPosts(ht){this.subscribeHandlerService.takeOne(this.forumService.getUserForumPosts(this.userSlug,ht),me=>{me.success&&(this.forumPosts=me.data.posts,this.limit=me.data.limit,this.total=me.data.total,this.initPaginator.next(me.data.total))})}splitCreatedAt(ht){return ht.split(" ")}}return(Qe=yt).\u0275fac=function(ht){return new(ht||Qe)(e.rXU(re.p),e.rXU(d.nX),e.rXU(d.Ix),e.rXU(w.e),e.rXU(e.xe9))},Qe.\u0275cmp=e.VBU({type:Qe,selectors:[["app-users-forum-posts"]],standalone:!0,features:[e.aNF],decls:2,vars:2,consts:[[4,"ngFor","ngForOf"],[3,"itemsPerPage","initPaginator",4,"ngIf"],[1,"forum-row",3,"href"],[1,"created"],[1,"created-date-block"],[1,"year"],[1,"thread-owner"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg",4,"ngIf"],[1,"thread-title"],[1,"post-content"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M19.9947 11.9481C19.9959 13.6184 19.4776 15.2475 18.512 16.6083C18.416 16.7474 18.3146 16.8811 18.2026 17.0149C16.9162 18.6119 15.0685 19.6535 13.0398 19.9255C12.3321 20.0248 11.6141 20.0248 10.9064 19.9255C8.87514 19.6575 7.02552 18.6128 5.74362 17.0095C5.60495 16.8437 5.4823 16.6725 5.35963 16.5013C4.66441 15.4632 4.22061 14.2766 4.06366 13.0359C3.90671 11.7953 4.04093 10.5351 4.45563 9.35576C4.87033 8.17642 5.55405 7.11061 6.4522 6.24336C7.35036 5.37612 8.4381 4.73143 9.62869 4.36072C10.8193 3.99001 12.0798 3.90354 13.3096 4.10822C14.5394 4.31289 15.7045 4.80304 16.712 5.53956C17.7195 6.27609 18.5414 7.2386 19.1123 8.35034C19.6832 9.46207 19.9871 10.6923 20 11.9427L19.9947 11.9481Z","fill","#9FD0E5"],["d","M15 8.89478C15 10.5188 13.8949 13.0142 12.0024 12.9999C9.9676 12.9999 9 10.5188 9 8.89478C9.03082 8.11662 9.3604 7.38063 9.91964 6.84101C10.4789 6.30138 11.2244 6 12 6C12.7756 6 13.5212 6.30138 14.0804 6.84101C14.6396 7.38063 14.9692 8.11662 15 8.89478Z","fill","#4182AA"],["d","M18 17.2491C17.3292 18.0503 15.2936 19.9984 12.0051 20C8.63183 20.0045 6.60457 18.0239 6.00296 17.2979C5.89616 14.9512 8.69057 15.0001 12.0051 15.0001C15.3196 15.0001 18 15.1157 18 17.2491Z","fill","#4182AA"],[3,"itemsPerPage","initPaginator"]],template:function(ht,me){1&ht&&(e.DNE(0,Re,20,23,"div",0),e.DNE(1,Mt,1,2,"app-models-paginator",1)),2&ht&&(e.Y8G("ngForOf",me.forumPosts),e.R7$(1),e.Y8G("ngIf",me.total>me.limit))},dependencies:[J.MD,J.Sq,J.bT,J.vh,B.p],styles:[".forum-row[_ngcontent-%COMP%]{display:flex;gap:8px;padding:16px 48px 16px 16px;text-decoration:none;color:#3d3d3d;max-width:1078px}.forum-row[_ngcontent-%COMP%]:hover, .forum-row[_ngcontent-%COMP%]:active{background:#F7F7F7;
17cursor:pointer}.forum-row[_ngcontent-%COMP%]   .created[_ngcontent-%COMP%]{font-size:14px;line-height:16px;min-width:82px;text-transform:capitalize}.forum-row[_ngcontent-%COMP%]   .created[_ngcontent-%COMP%]   .created-date-block[_ngcontent-%COMP%]{display:flex;gap:4px}@media (max-width: 991.98px){.forum-row[_ngcontent-%COMP%]   .created[_ngcontent-%COMP%]   .created-date-block[_ngcontent-%COMP%]{display:block}}@media (max-width: 991.98px){.forum-row[_ngcontent-%COMP%]   .created[_ngcontent-%COMP%]{min-width:64px}}.forum-row[_ngcontent-%COMP%]   .year[_ngcontent-%COMP%]{color:#b0b0b0;margin-top:2px}.forum-row[_ngcontent-%COMP%]   .thread-owner[_ngcontent-%COMP%]{width:24px;min-width:24px;margin-left:16px}@media (max-width: 991.98px){.forum-row[_ngcontent-%COMP%]   .thread-owner[_ngcontent-%COMP%]{margin-left:0}}.forum-row[_ngcontent-%COMP%]   .thread-title[_ngcontent-%COMP%]{font-size:20px;font-weight:500;line-height:24px;color:#4182aa}.forum-row[_ngcontent-%COMP%]   .post-content[_ngcontent-%COMP%]{margin-top:8px;overflow-wrap:anywhere;overflow:hidden;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical}@media (max-width: 991.98px){.forum-row[_ngcontent-%COMP%]{padding:16px 0}}"]}),yt})();function At(Qe,yt){if(1&Qe&&(e.j41(0,"div")(1,"a",3)(2,"div",4)(3,"div"),e.EFF(4),e.nI1(5,"date"),e.nI1(6,"date"),e.k0s(),e.j41(7,"div"),e.EFF(8),e.nI1(9,"date"),e.k0s()(),e.j41(10,"div",5),e.qSk(),e.j41(11,"svg",6),e.nrm(12,"path",7)(13,"path",8)(14,"path",9),e.k0s()(),e.joV(),e.j41(15,"div")(16,"div",10),e.EFF(17),e.k0s(),e.j41(18,"div",11),e.EFF(19),e.k0s()()()()),2&Qe){const ut=yt.$implicit,ht=e.XpG();e.R7$(1),e.Mz_("href","/forum/thread/show/",ut.slug,"",e.B4B),e.R7$(3),e.Lme(" ",ht.splitCreatedAt(e.ii3(5,6,ut.createdAt,"d MMMM y","GMT +3",ht.locale))[0]," ",ht.splitCreatedAt(e.ii3(6,11,ut.createdAt,"d MMMM y","GMT +3",ht.locale))[1]," "),e.R7$(4),e.JRh(ht.splitCreatedAt(e.ii3(9,16,ut.createdAt,"d MMMM y","GMT +3",ht.locale))[2]),e.R7$(9),e.SpI(" ",ut.title," "),e.R7$(2),e.SpI(" ",ut.firstPost.content," ")}}function Et(Qe,yt){1&Qe&&(e.j41(0,"div",12),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&Qe&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"users.forum.no-threads"),"\n"))}function It(Qe,yt){if(1&Qe&&e.nrm(0,"app-models-paginator",13),2&Qe){const ut=e.XpG();e.Y8G("itemsPerPage",ut.limit)("initPaginator",ut.initPaginator)}}let bt=(()=>{var Qe;class yt{constructor(ht,me,et,we,Ae){this.forumService=ht,this.route=me,this.router=et,this.subscribeHandlerService=we,this.locale=Ae,this.navigationEndStream=(0,e.WQX)(p.NC),this.initPaginator=new s.t(0),this.unsubscriber=new I.B}ngOnInit(){this.userSlug=this.route.parent.parent.snapshot.params.user?this.route.parent.parent.snapshot.params.user:this.route.parent.snapshot.params.user,this.getForumThreads(+this.route.snapshot.queryParamMap.get("page")),this.subscribeHandlerService.subjectSubscribe(this.navigationEndStream,()=>{this.threads=[],this.getForumThreads(+this.route.snapshot.queryParamMap.get("page"))},this.unsubscriber)}ngOnDestroy(){this.unsubscriber.next()}getForumThreads(ht){this.subscribeHandlerService.takeOne(this.forumService.getUserForumThreads(this.userSlug,ht),me=>{me.success&&(this.threads=me.data.threads,this.limit=me.data.limit,this.total=me.data.total,this.initPaginator.next(me.data.total))})}splitCreatedAt(ht){return ht.split(" ")}}return(Qe=yt).\u0275fac=function(ht){return new(ht||Qe)(e.rXU(re.p),e.rXU(d.nX),e.rXU(d.Ix),e.rXU(w.e),e.rXU(e.xe9))},Qe.\u0275cmp=e.VBU({type:Qe,selectors:[["app-users-forum-threads"]],standalone:!0,features:[e.aNF],decls:3,vars:3,consts:[[4,"ngFor","ngForOf"],["class","no-threads",4,"ngIf"],[3,"itemsPerPage","initPaginator",4,"ngIf"],[1,"forum-row",3,"href"],[1,"created"],[1,"thread-owner"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M19.9947 11.9481C19.9959 13.6184 19.4776 15.2475 18.512 16.6083C18.416 16.7474 18.3146 16.8811 18.2026 17.0149C16.9162 18.6119 15.0685 19.6535 13.0398 19.9255C12.3321 20.0248 11.6141 20.0248 10.9064 19.9255C8.87514 19.6575 7.02552 18.6128 5.74362 17.0095C
175.60495 16.8437 5.4823 16.6725 5.35963 16.5013C4.66441 15.4632 4.22061 14.2766 4.06366 13.0359C3.90671 11.7953 4.04093 10.5351 4.45563 9.35576C4.87033 8.17642 5.55405 7.11061 6.4522 6.24336C7.35036 5.37612 8.4381 4.73143 9.62869 4.36072C10.8193 3.99001 12.0798 3.90354 13.3096 4.10822C14.5394 4.31289 15.7045 4.80304 16.712 5.53956C17.7195 6.27609 18.5414 7.2386 19.1123 8.35034C19.6832 9.46207 19.9871 10.6923 20 11.9427L19.9947 11.9481Z","fill","#9FD0E5"],["d","M15 8.89478C15 10.5188 13.8949 13.0142 12.0024 12.9999C9.9676 12.9999 9 10.5188 9 8.89478C9.03082 8.11662 9.3604 7.38063 9.91964 6.84101C10.4789 6.30138 11.2244 6 12 6C12.7756 6 13.5212 6.30138 14.0804 6.84101C14.6396 7.38063 14.9692 8.11662 15 8.89478Z","fill","#4182AA"],["d","M18 17.2491C17.3292 18.0503 15.2936 19.9984 12.0051 20C8.63183 20.0045 6.60457 18.0239 6.00296 17.2979C5.89616 14.9512 8.69057 15.0001 12.0051 15.0001C15.3196 15.0001 18 15.1157 18 17.2491Z","fill","#4182AA"],[1,"thread-title"],[1,"post-content"],[1,"no-threads"],[3,"itemsPerPage","initPaginator"]],template:function(ht,me){1&ht&&(e.DNE(0,At,20,21,"div",0),e.DNE(1,Et,3,3,"div",1),e.DNE(2,It,1,2,"app-models-paginator",2)),2&ht&&(e.Y8G("ngForOf",me.threads),e.R7$(1),e.Y8G("ngIf",!(null!=me.threads&&me.threads.length)),e.R7$(1),e.Y8G("ngIf",me.total>me.limit))},dependencies:[J.MD,J.Sq,J.bT,J.vh,ie.D,B.p],styles:[".forum-row[_ngcontent-%COMP%]{display:flex;gap:8px;padding:24px 48px 24px 16px;text-decoration:none;color:#3d3d3d;max-width:1078px}.forum-row[_ngcontent-%COMP%]:hover, .forum-row[_ngcontent-%COMP%]:active{background:#F7F7F7;cursor:pointer}.forum-row[_ngcontent-%COMP%]   .created[_ngcontent-%COMP%]{font-size:14px;line-height:16px;min-width:82px;text-transform:capitalize}.forum-row[_ngcontent-%COMP%]   .created[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:last-child{color:#b0b0b0;margin-top:2px}.forum-row[_ngcontent-%COMP%]   .thread-owner[_ngcontent-%COMP%]{width:24px;min-width:24px}.forum-row[_ngcontent-%COMP%]   .thread-title[_ngcontent-%COMP%]{font-size:20px;font-weight:500;line-height:24px;color:#4182aa}.forum-row[_ngcontent-%COMP%]   .post-content[_ngcontent-%COMP%]{margin-top:8px;overflow-wrap:anywhere;overflow:hidden;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical}@media (max-width: 991.98px){.forum-row[_ngcontent-%COMP%]{padding:0 0 24px}}.no-threads[_ngcontent-%COMP%]{padding:24px 48px 24px 16px}"]}),yt})();function st(Qe,yt){1&Qe&&(e.qSk(),e.j41(0,"svg",5),e.nrm(1,"path",6)(2,"path",7)(3,"path",8),e.k0s())}function ne(Qe,yt){1&Qe&&(e.qSk(),e.j41(0,"svg",9),e.nrm(1,"path",10)(2,"path",11)(3,"path",12)(4,"path",13),e.k0s())}function fe(Qe,yt){1&Qe&&e.nrm(0,"app-users-forum-posts")}function le(Qe,yt){1&Qe&&e.nrm(0,"app-users-forum-threads")}const Ue=function(Qe){return[Qe]};let Fe=(()=>{var Qe;class yt{constructor(ht,me){this.route=ht,this.subscribeHandlerService=me,this.navigationEndStream=(0,e.WQX)(p.NC),this.TAB_POSTS="posts",this.TAB_THREADS="threads",this.tab=null,this.path=Ct,this.unsubscriber=new I.B}ngOnInit(){this.userSlug=this.route.parent.snapshot.params.user,this.setTab(this.route.snapshot.paramMap.get("tab")),this.subscribeHandlerService.subjectSubscribe(this.navigationEndStream,()=>{this.setTab(this.route.snapshot.paramMap.get("tab"))},this.unsubscriber)}setTab(ht){this.tab=ht}ngOnDestroy(){this.unsubscriber.next()}}return(Qe=yt).\u0275fac=function(ht){return new(ht||Qe)(e.rXU(d.nX),e.rXU(w.e))},Qe.\u0275cmp=e.VBU({type:Qe,selectors:[["app-users-forum"]],standalone:!0,features:[e.aNF],decls:11,vars:20,consts:[[1,"forum-menu"],[1,"button",3,"routerLink"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","viewBox","0 0 16 16","fill","none",4,"ngIf"],[4,"ngIf"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M15.9947 7.9481C15.9959 9.61842 15.4776 11.2475 14.512 12.6083C14.416 12.7474 14.3146 12.8811 14.2026 13.0149C12.9162 14.6119 11.0685 15.6535 9.03982 15.9255C8.33214 16.0248 7.61411 16.0248 6.90643 15.9255C4.87514 15.6575 3.02552 14.6128 1.74362 13.0095C1.60495 12.8437 1.4823 12.6725 1.35963 12.5013C0.664407 11.4632 0.22061 10.2766 0.0636615 9.03595C-0.0932874 7.79534 0.0409296 6.5351 0.455632 5.35576C0.870334 4.17642 1.55405 3.11061 2.4522 2.24336C3.35036 1.37612 4.4381 0.731428 5.62869 0.36072C6.81928 -0.00998779 8.07977 -0.0964577 9.30958 0.108216C10.5394 0.312889 11.7045 0.803036 12.712 1.53956C13.7195 2.27609 14.5414 3.2386 15.1123 4.35034C15.6832 5.46207 15.9871 6.69225 16 7.94275L15.9947 7.9481Z","fill","#E0E0E0"],["d","M11 4.89478C11 6.51875 9.89486 9.01423 8.00237 8.99994C5.9676 8.99994 5 6.51875 5 4.89478C5.03082 4.11662 5.3604 3.38063 5.91964 2.84101C6.47887 2.30138 7.22438 2 8 2C8.77562 2 9.52116 2.3
170138 10.0804 2.84101C10.6396 3.38063 10.9692 4.11662 11 4.89478Z","fill","#757575"],["d","M14 13.0145C13.3292 13.7321 11.2936 15.9988 8.00507 16.0002C4.63179 16.0042 2.60457 13.7084 2.00296 13.0582C1.89616 10.9563 4.69057 11.0001 8.00511 11.0001C11.3196 11.0001 14 11.1036 14 13.0145Z","fill","#757575"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","viewBox","0 0 16 16","fill","none"],["d","M15.9947 7.9481C15.9959 9.61842 15.4776 11.2475 14.512 12.6083C14.416 12.7474 14.3146 12.8811 14.2026 13.0149C12.9162 14.6119 11.0685 15.6535 9.03982 15.9255C8.33214 16.0248 7.61411 16.0248 6.90643 15.9255C4.87514 15.6575 3.02552 14.6128 1.74362 13.0095C1.60495 12.8437 1.4823 12.6725 1.35963 12.5013C0.664407 11.4632 0.22061 10.2766 0.0636615 9.03595C-0.0932873 7.79534 0.0409296 6.5351 0.455632 5.35576C0.870334 4.17642 1.55405 3.11061 2.4522 2.24336C3.35036 1.37612 4.4381 0.731428 5.62869 0.36072C6.81928 -0.00998779 8.07977 -0.0964577 9.30958 0.108216C10.5394 0.312889 11.7045 0.803036 12.712 1.53956C13.7195 2.27608 14.5414 3.2386 15.1123 4.35034C15.6832 5.46207 15.9871 6.69225 16 7.94275L15.9947 7.9481Z","fill","#9FD0E5"],["d","M11 4.89478C11 6.51875 9.89486 9.01423 8.00237 8.99994C5.9676 8.99994 5 6.51875 5 4.89478C5.03082 4.11662 5.3604 3.38063 5.91964 2.84101C6.47887 2.30138 7.22438 2 8 2C8.77562 2 9.52116 2.30138 10.0804 2.84101C10.6396 3.38063 10.9692 4.11662 11 4.89478Z","fill","#4182AA"],["d","M14 13.0145C13.3292 13.7321 11.2936 15.9988 8.00507 16.0002C4.63179 16.0042 2.60457 13.7084 2.00296 13.0582C1.89616 10.9563 4.69057 11.0001 8.00511 11.0001C11.3196 11.0001 14 11.1036 14 13.0145Z","fill","#4182AA"],["d","M10 5.92986C10 7.0125 9.26324 8.67615 8.00158 8.66663C6.64506 8.66663 6 7.0125 6 5.92986C6.02055 5.41108 6.24027 4.92042 6.61309 4.56067C6.98592 4.20092 7.48292 4 8 4C8.51708 4 9.0141 4.20092 9.38693 4.56067C9.75975 4.92042 9.97945 5.41108 10 5.92986Z","fill","#4182AA"]],template:function(ht,me){1&ht&&(e.j41(0,"div",0)(1,"a",1),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"a",1),e.DNE(5,st,4,0,"svg",2),e.DNE(6,ne,5,0,"svg",3),e.EFF(7),e.nI1(8,"translate"),e.k0s()(),e.DNE(9,fe,1,0,"app-users-forum-posts",4),e.DNE(10,le,1,0,"app-users-forum-threads",4)),2&ht&&(e.R7$(1),e.AVh("active","posts"===me.tab||!me.tab),e.Y8G("routerLink",e.eq3(16,Ue,"/"+me.path.users+"/"+me.userSlug+"/forum/")),e.R7$(1),e.SpI(" ",e.bMT(3,12,"users.forum.posts")," "),e.R7$(2),e.AVh("active","threads"===me.tab),e.Y8G("routerLink",e.eq3(18,Ue,"/"+me.path.users+"/"+me.userSlug+"/forum/threads")),e.R7$(1),e.Y8G("ngIf","posts"==me.tab||!me.tab),e.R7$(1),e.Y8G("ngIf","threads"==me.tab),e.R7$(1),e.SpI(" ",e.bMT(8,14,"users.forum.threads")," "),e.R7$(2),e.Y8G("ngIf",!me.tab||me.TAB_POSTS===me.tab),e.R7$(1),e.Y8G("ngIf",me.TAB_THREADS===me.tab))},dependencies:[d.iI,d.Wk,ie.D,J.MD,J.bT,wt,bt],styles:[".forum-menu[_ngcontent-%COMP%]{display:flex;gap:16px;color:#000;margin-bottom:16px;font-size:16px;font-weight:400;line-height:20px}.forum-menu[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;color:#000;text-decoration:none;cursor:pointer;padding:8px 16px;border-radius:4px}.forum-menu[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active{background:#EFEFF0;color:#023d67}@media (pointer: fine) and (hover: hover){.forum-menu[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{background:#EFEFF0;color:#023d67}}@media (max-width: 767.98px){.forum-menu[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding:12px 16px}}@media (max-width: 575.98px){.forum-menu[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding:12px 8px}}.forum-menu[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]{background:#CDE8FE;color:#023d67}.forum-menu[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]:active{background:#CDE8FE;color:#023d67;cursor:default}@media (pointer: fine) and (hover: hover){.forum-menu[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]:hover{background:#CDE8FE;color:#023d67;cursor:default}}@media (max-width: 991.98px){.forum-menu[_ngcontent-%COMP%]{margin-bottom:32px}}"]}),yt})();var nt=a(4593),_t=a(8048),Ge=a(2249),Ct=function(Qe){return Qe.modelShow="3dmodels/show",Qe.models="3dmodels",Qe.topmodel="top-model",Qe.usersV2="users-v2",Qe.users="users",Qe.user="user",Qe.userAccount="credits-and-subscription",Qe.authLogin="auth/login",Qe.authLogout="auth/logout",Qe.order="order",Qe.registerNew="auth/register/new",Qe.galleries="galleries",Qe.galleryShow="galleries/gallery",Qe.hill="king-of-the-hill",Qe.workTasks="work/tasks",Qe.cart="cart",Qe.aiSearch="ai-search",Qe}(Ct||{}),ze=function(Qe){return Qe.transactionId="transactionId",Qe.switchToUser="switchToUser",Qe}(ze||{});const Ot=[V.c.sky?{path:"",loadComponent:()=>Promise.all([a.e(163),a.e(76),a.e(169)]).then(a.bind(a,6169)).then(Qe=>Qe.MainSkyComponent)}:{path:"",loadComponent:()=>Promise.all([a.e(163),a.e(76),a.e(894)]).then(a.bind(a,8894)).then(Qe=>Qe.MainComponent)},{path:Ct.authLogin,loadComponent:()=>Promise.resolve().then(a.bind(a,7471)).then(Qe=>Qe.LoginComponent),canActivate:[x]},{path:Ct.authLogin+"/confirm/:token",loadComponent:()=>Promise.resolve().then(a.bind(a,7471)).then(Qe=>Qe.LoginComponent),canActivate:[x]},{path:"auth/resetting/request",loadComponent:()=>a.e(391).then(a.bind(a,3391)).then(Qe=>Qe.AccessRecoveryComponent)},{path:"auth/resetting/reset/:hash",loadComponent:()=>a.e(391).then(a.bind(a,3391)).then(Qe=>Qe.AccessRecoveryComponent)},{path:Ct.registerNew,loadComponent:()=>a.e(36).then(a.bind(a,8655)).then(Qe=>Qe.RegistrationComponent),canActivate:[x]},{path:"auth/register/confirm/:token",loadComponent:()=>a.e(36).then(a.bind(a,8655)).then(Qe=>Qe.RegistrationComponent),canActivate:[x]},{path:"auth/switch/:"+ze.switchToUser,loadComponent:()=>a.e(442).then(a.bind(a,5442)).then(Qe=>Qe.SwitchComponent)},{path:"auth/error/:page",loadComponent:()=>a.e(941).then(a.bind(a,6941)).then(Qe=>Qe.InfoComponent)},{path:"auth/info/:page",loadComponent:()=>a.e(941).then(a.bind(a,6941)).then(Qe=>Qe.InfoComponent)},{path:Ct.authLogout,loadComponent:()=>a.e(65).then(a.bind(a,5065)).then(Qe=>Qe.LogoutComponent)},{path:Ct.authLogout+"/:all",loadComponent:()=>a.e(65).then(a.bind(a,5065)).then(Qe=>Qe.LogoutComponent)},{path:Ct.modelShow+"/:slug",loadComponent:()=>Promise.all([a.e(699),a.e(76),a.e(743)]).then(a.bind(a,5743)).then(Qe=>Qe.ModelComponent)},{path:Ct.models,loadComponent:()=>a.e(586).then(a.bind(a,6586)).then(Qe=>Qe.ModelsComponent),pathMatch:"full"},{path:"collection/shared/:id",loadComponent:()=>a.e(33).then(a.bind(a,2033)).then(Qe=>Qe.CollectionSharedListComponent)},{path:Ct.cart,loadComponent:()=>Promise.all([a.e(583),a.e(984)]).then(a.bind(a,5984)).then(Qe=>Qe.CartComponent)},{path:Ct.aiSearch,loadComponent:()=>a.e(204).then(a.bind(a,1204)).then(Qe=>Qe.AiSearchComponent),pathMatch:"full"},{path:"404",loadComponent:()=>a.e(376).then(a.bind(a,9376)).then(Qe=>Qe.NotFoundComponent),pathMatch:"full"},{path:"selection/:id",loadComponent:()=>a.e(721).then(a.bind(a,8721)).then(Qe=>Qe.CollectionSeoListComponent)},{path:Ct.topmodel,loadComponent:()=>Promise.all([a.e(76),a.e(655)]).then(a.bind(a,6655)).then(Qe=>Qe.PolygonMasterComponent)},{path:Ct.order+"/:"+ze.transactionId,loadComponent:()=>Promise.all([a.e(76),a.e(949)]).then(a.bind(a,6949)).then(Qe=>Qe.OrderComponent),canActivate:[O.q]},{path:Ct.users+"/:user",loadComponent:()=>Promise.all([a.e(76),a.e(574)]).then(a.bind(a,5574)).then(Qe=>Qe.UsersComponent),data:{action:"models"},children:[{path:"models",component:E.s,data:{action:"models"}},{path:"gallery",component:Z,data:{action:"gallery"}},{path:"blogs",component:te,data:{action:"blogs"}},{path:"forum",component:Fe,data:{action:"forum"}},{path:"forum/:tab",component:Fe,data:{action:"forum"}}]},{path:Ct.userAccount,loadComponent:()=>Promise.all([a.e(583),a.e(30)]).then(a.bind(a,4030)).then(Qe=>Qe.AccountComponent)},..._t.o,{path:Ct.galleries,loadComponent:()=>Promise.resolve().then(a.bind(a,4593)).then(Qe=>Qe.GalleriesComponent),canActivate:[$],children:[{path:"cat/:category",component:nt.GalleriesComponent}]},{path:Ct.hill,canActivate:[$],loadComponent:()=>Promise.all([a.e(76),a.e(156)]).then(a.bind(a,2156)).then(Qe=>Qe.HillComponent)},Ge.iA,Ge.K$,{path:"**",loadComponent:()=>a.e(376).then(a.bind(a,9376)).then(Qe=>Qe.NotFoundComponent)}]},3310:(ct,ce,a)=>{a.d(ce,{i:()=>$});var e=a(7019),d=a(647),X=a(5979),x=a(1180),O=a(430),V=a(652);const p=["*"];let $=(()=>{var E;class s{constructor(){this.sharedGlobalDataService=(0,e.WQX)(X.o),this.sky=(0,e.WQX)(x.ef),this.logoRelPath=d.JW.logo,this.class="sky-grey-body"}ngOnInit(){const W=this.sharedGlobalDataService.userDataSource.getValue();W&&W.menu?.menu_logo&&(this.logo=W.menu.menu_logo.split("/").pop())}}return(E=s).\u0275fac=function(W){return new(W||E)},E.\u0275cmp=e.VBU({type:E,selectors:[["app-auth"]],hostVars:2,hostBindings:function(W,G){2&W&&e.HbH(G.class)},standalone:!0,features:[e.aNF],ngContentSelectors:p,decls:14,vars:3,consts:[[1,"container"],[1,"logo"],["routerLink","/"],["alt","",3,"src"],[1,"flex-shrink-0"],[1,"row"],[1,"col-12"],[1,"row","d-flex","justify-content-center"],[1,"footer"]],template:function(W,G){1&W&&(e.NAR(),e.j41(0,"header")(1,"div",0)(2,"div",1)(3,"a",2),e.nrm(4,"img",3),e.k0s()()()(),e.j41(5,"main",4)(6,"div",0)(7,"div",5)(8,"div",6)(9,"div",7),e.SdG(10),e.k0s()()()()(),e.j41(11,"footer",8)(12,"div",0),e.nrm(13,"app-footer"),e.k0s()()),2&W&&(e.R7$(2),e.AVh("logoEn",G.sky),e.R7$(2),e.Y8G("src","/"+G.logoRelPath+G.logo,e.B4B))},dependencies:[V.n,O.Wk],styles:["[_nghost-%COMP%]{display:grid;grid-template-rows:max-content 1fr max-content;min-height:100vh}[_nghost-%COMP%]   header[_ngcontent-%COMP%]{position:static;box-shadow:none;background-color:inherit}.logo[_ngcontent-%COMP%]{min-height:34px;padding-top:24px}@media (max-width: 767.98px){.logo[_ngcontent-%COMP%]{text-align:center}}.logoEn[_ngcontent-%COMP%]{min-width:99px}.footer[_ngcontent-%COMP%]{margin-top:auto}"]}),s})()},3760:(ct,ce,a)=>{a.d(ce,{C:()=>s});var e=a(7019),d=a(2386),X=a(652),x=a(7264),O=a(177),V=a(320);function p(I,W){1&I&&(e.qex(0),e.j41(1,"div",1),e.nrm(2,"app-notifier-stripe",4),e.k0s(),e.bVm())}const $=[[["",8,"top-header-content"]],[["section",8,"top-mobile-content"]],"*",[["section",8,"bottom-content"]]],E=[".top-header-content","section.top-mobile-content","*","section.bottom-content"];let s=(()=>{var I;class W{constructor(){this.notifierService=(0,e.WQX)(d.i)}}return(I=W).\u0275fac=function(B){return new(B||I)},I.\u0275cmp=e.VBU({type:I,selectors:[["app-base-wide"]],standalone:!0,features:[e.aNF],ngContentSelectors:E,decls:14,vars:3,consts:[[1,"position-relative"],[1,"container"],[4,"ngIf"],[1,"container","main-base-container"],[1,"notifier-stripe"]],template:function(B,J){if(1&B&&(e.NAR($),e.j41(0,"header"),e.SdG(1),e.j41(2,"div",0),e.nrm(3,"app-header",1),e.k0s()(),e.j41(4,"main"),e.DNE(
175,p,3,0,"ng-container",2),e.nI1(6,"async"),e.SdG(7,1),e.j41(8,"section",3),e.SdG(9,2),e.k0s(),e.SdG(10,3),e.k0s(),e.j41(11,"footer")(12,"div",1),e.nrm(13,"app-footer"),e.k0s()()),2&B){let z;e.R7$(5),e.Y8G("ngIf",null==(z=e.bMT(6,1,J.notifierService.notifier$))?null:z.length)}},dependencies:[O.MD,O.bT,O.Jj,X.n,x.l,V.D],styles:["[_nghost-%COMP%]{display:grid;min-height:100vh;width:100%;grid-template-columns:minmax(320px,1fr)}@media (min-width: 768px){[_nghost-%COMP%]{grid-auto-rows:min-content 1fr min-content}}@media (max-width: 767.98px){[_nghost-%COMP%]{grid-auto-rows:1fr min-content}}"]}),W})()},8298:(ct,ce,a)=>{a.d(ce,{m:()=>ie});var e=a(7019),d=a(5697),X=a(1180),x=a(8207),O=a(177),V=a(6082),p=a(7719),$=a(8048),E=a(430);function s(re,Ee){if(1&re&&e.nrm(0,"img",14),2&re){const Re=e.XpG(3);e.FS9("nextImagePath",Re.imagesWebPath+Re.blog.postAnnounce.image),e.Y8G("appLazyLoad",Re.defaultNoImageEmpty)}}function I(re,Ee){if(1&re&&e.nrm(0,"img",14),2&re){const Re=e.XpG(3);e.FS9("nextImagePath",Re.blog.postAnnounce.videoPreview),e.Y8G("appLazyLoad",Re.defaultNoImageEmpty)}}function W(re,Ee){if(1&re&&(e.qex(0),e.j41(1,"div",12),e.DNE(2,s,1,2,"img",13),e.DNE(3,I,1,2,"img",13),e.k0s(),e.bVm()),2&re){const Re=e.XpG(2);e.R7$(2),e.Y8G("ngIf",Re.blog.postAnnounce.image),e.R7$(1),e.Y8G("ngIf",Re.blog.postAnnounce.videoPreview)}}function G(re,Ee){if(1&re){const Re=e.RV6();e.qex(0),e.j41(1,"div",15)(2,"img",16,17),e.bIt("error",function(){e.eBV(Re);const wt=e.sdS(3),At=e.XpG(2);return e.Njj(At.onUserAvatarError(wt))}),e.k0s(),e.j41(4,"span"),e.EFF(5),e.k0s()(),e.bVm()}if(2&re){const Re=e.XpG(2);e.R7$(2),e.Y8G("src",null==Re.blog?null:Re.blog.authorAvatar,e.B4B),e.R7$(3),e.JRh(null==Re.blog?null:Re.blog.userSlug)}}function B(re,Ee){if(1&re&&(e.qex(0),e.j41(1,"a")(2,"div",18),e.EFF(3),e.k0s()(),e.bVm()),2&re){const Re=e.XpG(2);e.R7$(3),e.JRh(Re.blog.categoryTitle)}}function J(re,Ee){if(1&re&&(e.qex(0),e.j41(1,"div",19),e.qSk(),e.j41(2,"svg",20),e.nrm(3,"path",21),e.k0s(),e.EFF(4),e.k0s(),e.bVm()),2&re){const Re=e.XpG(2);e.R7$(4),e.SpI(" ",Re.blog.postComments," ")}}function z(re,Ee){if(1&re&&(e.qex(0),e.j41(1,"div",22),e.qSk(),e.j41(2,"svg",20),e.nrm(3,"path",23),e.k0s(),e.EFF(4),e.k0s(),e.bVm()),2&re){const Re=e.XpG(2);e.R7$(4),e.SpI(" ",Re.blog.postLikes," ")}}function w(re,Ee){if(1&re&&(e.qex(0),e.j41(1,"div",24),e.qSk(),e.j41(2,"svg",20),e.nrm(3,"path",25),e.k0s(),e.EFF(4),e.k0s(),e.bVm()),2&re){const Re=e.XpG(2);e.R7$(4),e.SpI(" ",Re.blog.postViews," ")}}function U(re,Ee){if(1&re&&e.nrm(0,"img",28),2&re){const Re=e.XpG(3);e.FS9("nextImagePath",Re.imagesWebPath+Re.blog.postAnnounce.image),e.Y8G("appLazyLoad",Re.defaultNoImageEmpty)("alt",Re.blog.postTitle)}}function Z(re,Ee){if(1&re&&e.nrm(0,"img",28),2&re){const Re=e.XpG(3);e.FS9("nextImagePath",Re.blog.postAnnounce.videoPreview),e.Y8G("appLazyLoad",Re.defaultNoImageEmpty)("alt",Re.blog.postTitle)}}function H(re,Ee){if(1&re&&(e.qex(0),e.j41(1,"div",26),e.DNE(2,U,1,3,"img",27),e.DNE(3,Z,1,3,"img",27),e.k0s(),e.bVm()),2&re){const Re=e.XpG(2);e.R7$(2),e.Y8G("ngIf",Re.blog.postAnnounce.image),e.R7$(1),e.Y8G("ngIf",Re.blog.postAnnounce.videoPreview)}}const j=function(re,Ee){return[re,Ee]};function F(re,Ee){if(1&re&&(e.qex(0),e.j41(1,"article")(2,"a",3),e.DNE(3,W,4,2,"ng-container",4),e.j41(4,"div",5),e.DNE(5,G,6,2,"ng-container",4),e.j41(6,"h2"),e.EFF(7),e.k0s(),e.j41(8,"div",6)(9,"div",7),e.DNE(10,B,4,1,"ng-container",4),e.j41(11,"time",8),e.nI1(12,"date"),e.EFF(13),e.nI1(14,"date"),e.k0s()(),e.j41(15,"div",9),e.DNE(16,J,5,1,"ng-container",4),e.DNE(17,z,5,1,"ng-container",4),e.DNE(18,w,5,1,"ng-container",4),e.k0s()(),e.nrm(19,"div",10),e.nI1(20,"safeHtml"),e.k0s(),e.nrm(21,"span",11),e.DNE(22,H,4,2,"ng-container",4),e.k0s()(),e.bVm()),2&re){const Re=e.XpG();e.R7$(2),e.AVh("has-image",Re.blog.postAnnounce.image||Re.blog.postAnnounce.videoPreview),e.Y8G("routerLink",e.l_i(22,j,"/"+Re.routerBlogPath.post,Re.blog.postSlug)),e.R7$(1),e.Y8G("ngIf",Re.blog.postAnnounce.image||Re.blog.postAnnounce.videoPreview),e.R7$(2),e.Y8G("ngIf",null==Re.blog?null:Re.blog.showAuthorAvatar),e.R7$(2),e.JRh(Re.blog.postTitle),e.R7$(3),e.Y8G("ngIf",!Re.sky),e.R7$(1),e.BMQ("datetime",e.i5U(12,14,Re.blog.postCreatedAt,"yyyy-MM-dd")),e.R7$(2),e.SpI(" ",e.i5U(14,17,Re.blog.postCreatedAt,"d MMMM y")," "),e.R7$(3),e.Y8G("ngIf",Re.blog.postComments),e.R7$(1),e.Y8G("ngIf",Re.blog.postLikes),e.R7$(1),e.Y8G("ngIf",Re.blog.postViews),e.R7$(1),e.Y8G("innerHTML",e.bMT(20,20,Re.blog.postAnnounce.content),e.npT),e.R7$(3),e.Y8G("ngIf",Re.blog.postAnnounce.image||Re.blog.postAnnounce.videoPreview)}}function ue(re,Ee){if(1&re&&e.eu8(0,41),2&re){e.XpG(2);const Re=e.sdS(4);e.Y8G("ngTemplateOutlet",Re)}}function ae(re,Ee){if(1&re&&e.eu8(0,41),2&re){e.XpG(2);const Re=e.sdS(4);e.Y8G("ngTemplateOutlet",Re)}}function N(re,Ee){if(1&re&&(e.j41(0,"div",29),e.nrm(1,"div",30),e.j41(2,"div",31)(3,"div",32),e.DNE(4,ue,1,1,"ng-container",33),e.nrm(5,"span",34)(6,"span",35)(7,"span",36)(8,"span",36)(9,"span",36),e.k0s(),e.j41(10,"div",37),e.DNE(11,ae,1,1,"ng-container",33),e.nrm(12,"span",38)(13,"span",39)(14,"span",40),e.k0s()()()),2&re){const Re=e.XpG();e.R7$(4),e.Y8G("ngIf",!Re.sky),e.R7$(7),e.Y8G("ngIf",!Re.sky)}}function te(re,Ee){1&re&&(e.j41(0,"div",42),e.nrm(1,"span",43)(2,"span",44),e.k0s())}let ie=(()=>{var re;class Ee{constructor(){this.noAvatarPlaceholder=(0,e.WQX)(X.UP),this.imageBaseUrl=(0,e.WQX)(X.sT),this.sky=(0,e.WQX)(X.ef),this.defaultNoImageEmpty="/ng-assets/images/blog/blog-card-img.svg",this.imagesWebPath=this.imageBaseUrl.baseUrl+d.oT.blogPreviewSmall,this.routerBlogPath=$.x,this.blogListLoading=new x.I}onUserAvatarError(Mt){Mt.src=this.noAvatarPlaceholder}}return(re=Ee).\u0275fac=function(Mt){return new(Mt||re)},re.\u0275cmp=e.VBU({type:re,selectors:[["app-blog-card"]],inputs:{blog:"blog",blogListLoading:"blogListLoading"},standalone:!0,features:[e.aNF],decls:5,vars:2,consts:[[4,"ngIf","ngIfElse"],["temporaryPicture",""],["pictureAuthor",""],[1,"blog",3,"routerLink"],[4,"ngIf"],[1,"right-block"],[1,"info"],[1,"blog-info"],[1,"created"],[1,"users-action"],[1,"content",3,"innerHTML"],[1,"gradient"],[1,"image-block-mobile"],["class","image","src","","alt","",3,"appLazyLoad","nextImagePath",4,"ngIf"],["src","","alt","",1,"image",3,"appLazyLoad","nextImagePath"],[1,"author-avatar"],["alt","avatar",3,"src","error"],["img",""],[1,"category"],[1,"comments"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M14 6.89248V5.65077C14 4.21058 12.8807 3.04308 11.5 3.04308H5.76367C4.23735 3.04311 3.00003 4.33373 3 5.9258V7.49959C3.00024 8.84933 4.04969 9.94328 5.34375 9.94328C5.64217 9.94345 5.89968 10.1462 5.98828 10.4332L6.01562 10.5616L6.30664 12.9554L8.48633 10.9599C9.20231 10.3045 10.1227 9.9433 11.0752 9.94328C12.6905 9.94328 14 8.57735 14 6.89248ZM15 6.89248C15 9.15343 13.2428 10.9864 11.0752 10.9864C10.3654 10.9864 9.68001 11.2559 9.14648 11.7442L6.96582 13.7397C6.36334 14.2911 5.41515 13.9162 5.31445 13.0868L5.05664 10.9721C3.34459 10.8203 2.00023 9.32461 2 7.49959V5.9258C2.00003 3.75766 3.68507 2.00004 5.76367 2H11.5C13.433 2 
1715 3.63451 15 5.65077V6.89248Z","fill","#8C8C8C",2,"fill","#8C8C8C","fill","color(display-p3 0.5490 0.5490 0.5490)","fill-opacity","1"],[1,"likes"],["fill-rule","evenodd","clip-rule","evenodd","d","M7.22852 1.57219C7.77216 0.816046 8.91859 0.811776 9.47852 1.54485C9.7689 1.92513 9.87347 2.38184 9.89258 2.80754C9.91176 3.23544 9.84641 3.67146 9.75781 4.05071C9.69864 4.30391 9.62424 4.53858 9.55566 4.74016H12.9365C14.0324 4.74016 14.9988 5.55147 15 6.67375C15.0008 7.44054 14.9484 8.41991 14.7422 9.35637C14.5386 10.2811 14.1701 11.2334 13.4854 11.8749C12.7123 12.599 11.7277 12.8555 10.3945 12.9491C9.07753 13.0417 7.28924 12.9804 4.8623 12.9804H3.375C2.06345 12.9804 1.00023 11.9479 1 10.6747V7.5302C1.00038 6.25714 2.06356 5.22454 3.375 5.22454H3.99316C4.37437 5.22449 4.73103 5.04363 4.94922 4.74016L7.22852 1.57219ZM8.6748 2.12297C8.51597 1.91518 8.19482 1.92344 8.04785 2.12786L5.76953 5.29582C5.56811 5.57598 5.30271 5.79965 5 5.95403V12.0087C7.41237 12.0109 9.07654 12.0679 10.3223 11.9804C11.5751 11.8924 12.271 11.6628 12.791 11.1757C13.2627 10.7337 13.5762 10.0089 13.7646 9.15325C13.9503 8.3099 14.0008 7.40595 14 6.67473C13.9994 6.14564 13.5416 5.71086 12.9365 5.71086H8.83301C8.6628 5.71086 8.50409 5.62722 8.41211 5.48821C8.32035 5.3491 8.30798 5.17351 8.37891 5.02336L8.37988 5.02043C8.38137 5.01722 8.38439 5.01113 8.3877 5.00383C8.39432 4.98923 8.40437 4.96664 8.41699 4.93743C8.44259 4.8782 8.47913 4.791 8.52051 4.68254C8.60389 4.46398 8.70549 4.16339 8.78223 3.83489C8.85946 3.5041 8.90746 3.1605 8.89355 2.84954C8.87944 2.53633 8.80465 2.29298 8.6748 2.12297ZM3.99316 6.19622H3.375C2.61585 6.19622 2.00038 6.7933 2 7.5302V10.6747C2.00023 11.4118 2.61577 12.0087 3.375 12.0087H4V6.19524C3.99772 6.19525 3.99544 6.19621 3.99316 6.19622Z","fill","#8C8C8C",2,"fill","#8C8C8C","fill","color(display-p3 0.5490 0.5490 0.5490)","fill-opacity","1"],[1,"views"],["fill-rule","evenodd","clip-rule","evenodd","d","M8.49937 3C10.4148 3 12.0222 3.79102 13.2396 4.7041C14.4566 5.61704 15.3148 6.67402 15.7445 7.26465C16.0588 7.69674 16.0886 8.26597 15.8002 8.72754C15.0575 9.91585 12.729 12.9998 8.49839 13C4.26725 12.9998 1.94029 9.91473 1.19859 8.72656C0.910739 8.26513 0.941129 7.69641 1.25523 7.26465C1.68484 6.67416 2.54245 5.6179 3.75914 4.70508C4.97651 3.79189 6.58381 3.00012 8.49937 3ZM11.4515 4.75781C11.8418 5.4064 12.0658 6.18334 12.0658 7C12.0658 9.13404 10.5401 11 8.49937 11C6.45866 11 4.93297 9.13405 4.93297 7C4.93297 6.18398 5.15556 5.40707 5.54527 4.75879C5.12722 4.97697 4.73679 5.22934 4.3773 5.49902C3.27029 6.32957 2.48097 7.30051 2.08433 7.8457C2.00156 7.95951 1.99799 8.09483 2.06675 8.20508C2.76173 9.31838 4.82411 11.9998 8.49839 12C12.1724 11.9998 14.236 9.31865 14.932 8.20508C15.0008 8.09478 14.9972 7.95956 14.9144 7.8457C14.5176 7.30035 13.7283 6.32941 12.6214 5.49902C12.2613 5.22887 11.8705 4.97625 11.4515 4.75781ZM8.49937 4C7.16319 4 5.95152 5.26806 5.95152 7C5.95152 8.73194 7.16319 10 8.49937 10C9.83553 9.99997 11.0472 8.73192 11.0472 7C11.0472 5.26808 9.83553 4.00003 8.49937 4Z","fill","#8C8C8C",2,"fill","#8C8C8C","fill","color(display-p3 0.5490 0.5490 0.5490)","fill-opacity","1"],[1,"image-block"],["class","image","src","",3,"nextImagePath","appLazyLoad","alt",4,"ngIf"],["src","",1,"image",3,"nextImagePath","appLazyLoad","alt"],[1,"blog-temp-picture"],[1,"blog-temp-picture__image"],[1,"blog-temp-picture__content"],[1,"blog-temp-picture__desktop"],[3,"ngTemplateOutlet",4,"ngIf"],[1,"blog-temp-picture__line","blog-temp-picture__line--desktop-title"],[1,"blog-temp-picture__line","blog-temp-picture__line--desktop-meta"],[1,"blog-temp-picture__line","blog-temp-picture__line--desktop-content"],[1,"blog-temp-picture__mobile"],[1,"blog-temp-picture__line","blog-temp-picture__line--mobile-title"],[1,"blog-temp-picture__line","blog-temp-picture__line--mobile-meta"],[1,"blog-temp-picture__line","blog-temp-picture__line--mobile-actions"],[3,"ngTemplateOutlet"],[1,"blog-temp-picture__author"],[1,"blog-temp-picture__avatar"],[1,"blog-temp-picture__login"]],template:function(Mt,wt){if(1&Mt&&(e.DNE(0,F,23,25,"ng-container",0),e.DNE(1,N,15,2,"ng-template",null,1,e.C5r),e.DNE(3,te,3,0,"ng-template",null,2,e.C5r)),2&Mt){const At=e.sdS(2);
17e.Y8G("ngIf",!wt.blogListLoading.isLoading&&wt.blog)("ngIfElse",At)}},dependencies:[O.bT,V.S,p.$,O.vh,E.Wk,O.T3],styles:[".blog[_ngcontent-%COMP%]{display:flex;position:relative;color:#3d3d3d;width:100%;overflow:hidden;max-width:1078px}.blog[_ngcontent-%COMP%]   .right-block[_ngcontent-%COMP%]{position:relative;display:block;overflow:hidden;max-height:171px;width:100%}.blog[_ngcontent-%COMP%]   .right-block[_ngcontent-%COMP%]   .author-avatar[_ngcontent-%COMP%]{display:grid;align-items:center;gap:6px;grid-template-columns:24px 1fr;margin-bottom:6px}.blog[_ngcontent-%COMP%]   .right-block[_ngcontent-%COMP%]   .author-avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:100px;height:24px;min-width:24px}.blog[_ngcontent-%COMP%]   .right-block[_ngcontent-%COMP%]   .author-avatar[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--gray-900, #423F3C);font-size:14px;font-weight:500;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.blog[_ngcontent-%COMP%]   .right-block[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:20px;font-weight:500;line-height:24px;margin:0;color:var(--blue-10, #4182AA)}@media (max-width: 767.98px){.blog[_ngcontent-%COMP%]   .right-block[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:20px;line-height:24px}}@media (hover: hover) and (pointer: fine){.blog[_ngcontent-%COMP%]{cursor:pointer}.blog[_ngcontent-%COMP%]:hover   .right-block[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{cursor:pointer;color:#023d67}}.blog[_ngcontent-%COMP%]:hover{text-decoration:none}.blog[_ngcontent-%COMP%]:active, .blog[_ngcontent-%COMP%]:focus{text-decoration:none}.blog[_ngcontent-%COMP%]:active   .right-block[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .blog[_ngcontent-%COMP%]:focus   .right-block[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#023d67}@media (max-width: 767.98px){.blog[_ngcontent-%COMP%]{display:block}}.blog.has-image[_ngcontent-%COMP%]{min-height:171px;overflow:visible}.blog.has-image[_ngcontent-%COMP%]   .right-block[_ngcontent-%COMP%]{margin-left:322px}@media (max-width: 767.98px){.blog.has-image[_ngcontent-%COMP%]   .right-block[_ngcontent-%COMP%]{margin-left:0;margin-top:12px}}@media (max-width: 767.98px){.blog.has-image[_ngcontent-%COMP%]{min-height:80px}}.gradient[_ngcontent-%COMP%]{position:absolute;height:171px;width:100%;background-image:linear-gradient(0deg,rgb(255,255,255),rgba(255,255,255,0) 40px)}@media (max-width: 767.98px){.gradient[_ngcontent-%COMP%]{display:none}}.image-block[_ngcontent-%COMP%]{position:absolute;min-width:304px;min-height:171px}.image-block[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:304px;aspect-ratio:16/9;position:absolute;object-fit:cover;object-position:center;border-radius:4px}@media (max-width: 767.98px){.image-block[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:144px;height:80px}}@media (max-width: 767.98px){.image-block[_ngcontent-%COMP%]{display:none;min-width:144px;min-height:80px}}.image-block-mobile[_ngcontent-%COMP%]{width:100%;display:none}.image-block-mobile[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px}@media (max-width: 767.98px){.image-block-mobile[_ngcontent-%COMP%]{display:block}}.info[_ngcontent-%COMP%]{display:flex;gap:24px;margin-top:8px;font-size:14px;font-weight:400;line-height:16px;color:#828282}@media (max-width: 991.98px){.info[_ngcontent-%COMP%]{flex-direction:column;gap:8px}}@media (max-width: 767.98px){.info[_ngcontent-%COMP%]{flex-direction:column;gap:4px}}.info[_ngcontent-%COMP%]   .blog-info[_ngcontent-%COMP%]{display:flex;gap:24px}.info[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#4182aa}.info[_ngcontent-%COMP%]   .users-action[_ngcontent-%COMP%]{display:flex;gap:16px;flex-wrap:wrap}.info[_ngcontent-%COMP%]   .likes[_ngcontent-%COMP%], .info[_ngcontent-%COMP%]   .views[_ngcontent-%COMP%]{display:flex;gap:4px;align-items:flex-start}.content[_ngcontent-%COMP%]{margin-top:16px}@media (max-width: 767.98px){.content[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]     .content img{display:none}[_nghost-%COMP%]     .content iframe{display:none}.blog-temp-picture[_ngcontent-%COMP%]{display:grid;grid-template-columns:298px 1fr;gap:24px;width:100%}@media (max-width: 767.98px){.blog-temp-picture[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:12px}}.blog-temp-picture__image[_ngcontent-%COMP%]{width:298px;aspect-ratio:16/9;border-radius:4px;background:var(--gray-200, #F7F6F5)}@media (max-width: 767.98px){.blog-temp-picture__image[_ngcontent-%COMP%]{width:100%}}.blog-temp-picture__content[_ngcontent-%COMP%]{width:100%}.blog-temp-picture__desktop[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px}@media (max-width: 767.98px){.blog-temp-picture__desktop[_ngcontent-%COMP%]{display:none}}.blog-temp-picture__mobile[_ngcontent-%COMP%]{display:none}@media (max-width: 767.98px){.blog-temp-picture__mobile[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px}}.blog-temp-picture__author[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin-bottom:4px}
17.blog-temp-picture__avatar[_ngcontent-%COMP%]{width:24px;height:24px;border-radius:50%;background:var(--gray-200, #F7F6F5)}.blog-temp-picture__login[_ngcontent-%COMP%]{width:96px;height:16px;border-radius:4px;background:var(--gray-200, #F7F6F5)}.blog-temp-picture__line[_ngcontent-%COMP%]{display:block;border-radius:4px;background:var(--gray-200, #F7F6F5)}.blog-temp-picture__line--desktop-title[_ngcontent-%COMP%]{width:min(353px,100%);height:24px}.blog-temp-picture__line--desktop-meta[_ngcontent-%COMP%]{width:236px;height:16px;margin-bottom:12px}.blog-temp-picture__line--desktop-content[_ngcontent-%COMP%], .blog-temp-picture__line--mobile-title[_ngcontent-%COMP%]{width:100%;height:20px}.blog-temp-picture__line--mobile-meta[_ngcontent-%COMP%], .blog-temp-picture__line--mobile-actions[_ngcontent-%COMP%]{width:164px;height:16px}"]}),Ee})()},652:(ct,ce,a)=>{a.d(ce,{n:()=>z});var e=a(7019),d=a(5979),X=a(430),x=a(5964),O=a(6977),V=a(1413),p=a(647),$=a(710),E=a(2128),s=a(1180),I=a(5116),W=a(174),G=a(177);function B(w,U){if(1&w){const Z=e.RV6();e.qex(0),e.j41(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"div",6)(6,"div",7),e.bIt("click",function(){e.eBV(Z);const j=e.XpG();return e.Njj(j.navigateTo3DModelsNew("/3dmodels/new"))}),e.EFF(7),e.nI1(8,"translate"),e.k0s(),e.j41(9,"a",8),e.EFF(10),e.nI1(11,"translate"),e.k0s(),e.j41(12,"a",8),e.EFF(13),e.nI1(14,"translate"),e.k0s(),e.j41(15,"a",9),e.EFF(16),e.nI1(17,"translate"),e.k0s(),e.j41(18,"a",9),e.EFF(19),e.nI1(20,"translate"),e.k0s(),e.j41(21,"a",9),e.EFF(22),e.nI1(23,"translate"),e.k0s(),e.j41(24,"a",10),e.EFF(25),e.nI1(26,"translate"),e.k0s()()(),e.j41(27,"div",5)(28,"div",11)(29,"div")(30,"a",12),e.EFF(31),e.nI1(32,"translate"),e.k0s(),e.j41(33,"a",8),e.EFF(34),e.nI1(35,"translate"),e.k0s(),e.j41(36,"a",13),e.EFF(37),e.nI1(38,"translate"),e.k0s()(),e.j41(39,"div")(40,"a",8),e.EFF(41),e.nI1(42,"translate"),e.k0s(),e.j41(43,"a",8),e.EFF(44),e.nI1(45,"translate"),e.k0s()()()()(),e.j41(46,"div",14)(47,"div",5)(48,"div",15)(49,"div")(50,"a",16),e.nrm(51,"img",17),e.k0s()(),e.j41(52,"div")(53,"a",18),e.nrm(54,"img",19),e.k0s()(),e.j41(55,"div")(56,"a",20),e.nrm(57,"img",21),e.k0s()(),e.j41(58,"div")(59,"a",22),e.nrm(60,"img",23),e.k0s()()()(),e.j41(61,"div",5)(62,"div",24)(63,"div",25)(64,"span",26),e.EFF(65),e.nI1(66,"date"),e.k0s()(),e.nrm(67,"div"),e.k0s()()()()(),e.bVm()}if(2&w){const Z=e.XpG();e.R7$(7),e.JRh(e.bMT(8,22,"footer.global.uploadModel")),e.R7$(2),e.Y8G("href","/faq/category/11/show",e.B4B),e.R7$(1),e.JRh(e.bMT(11,24,"footer.global.rules")),e.R7$(2),e.Y8G("href","/feedbacks/new",e.B4B),e.R7$(1),e.JRh(e.bMT(14,26,"footer.global.help")),e.R7$(2),e.Y8G("routerLink","/"+Z.path.hill),e.R7$(1),e.JRh(e.bMT(17,28,"footer.global.3dKing")),e.R7$(2),e.Y8G("routerLink",Z.polygonMasterLink),e.R7$(1),e.JRh(e.bMT(20,30,"footer.global.polyExpert")),e.R7$(2),e.Y8G("routerLink","/"+Z.path.topmodel),e.R7$(1),e.JRh(e.bMT(23,32,"footer.global.topModel")),e.R7$(3),e.JRh(e.bMT(26,34,"footer.global.modelCollections")),e.R7$(5),e.Y8G("href",Z.staticLinks.ads.ru,e.B4B),e.R7$(1),e.JRh(e.bMT(32,36,"footer.global.ads")),e.R7$(2),e.Y8G("href","/faq/22/show",e.B4B),e.R7$(1),e.JRh(e.bMT(35,38,"footer.global.corporateClients")),e.R7$(3),e.JRh(e.bMT(38,40,"footer.global.placeBrandModels")),e.R7$(3),e.Y8G("href","/faq/257/show",e.B4B),e.R7$(1),e.JRh(e.bMT(42,42,"footer.global.privacyPolicy")),e.R7$(2),e.Y8G("href","/faq/category/9999/show",e.B4B),e.R7$(1),e.JRh(e.bMT(45,44,"footer.global.termsOfUse")),e.R7$(21),e.SpI("\xa9 3ddd.ru, ",e.i5U(66,46,Z.date,"yyyy"),"")}}function J(w,U){if(1&w){const Z=e.RV6();e.j41(0,"div",2)(1,"div",3)(2,"div",27)(3,"div",5)(4,"div",6)(5,"div",7),e.bIt("click",function(){e.eBV(Z);const j=e.XpG();return e.Njj(j.navigateTo3DModelsNew("/3dmodels/new"))}),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.j41(8,"a",8),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.j41(11,"a",8),e.EFF(12),e.nI1(13,"translate"),e.k0s(),e.j41(14,"a",9),e.EFF(15),e.nI1(16,"translate"),e.k0s(),e.j41(17,"a",9),e.EFF(18),e.nI1(19,"translate"),e.k0s(),e.j41(20,"a",28),e.EFF(21),e.nI1(22,"translate"),e.k0s()()(),e.j41(23,"div",5)(24,"div",11)(25,"div")(26,"a",12),e.EFF(27),e.nI1(28,"translate"),e.k0s(),e.j41(29,"a",8),e.EFF(30),e.nI1(31,"translate"),e.k0s(),e.j41(32,"a",8),e.EFF(33),e.nI1(34,"translate"),e.k0s()()()()(),e.j41(35,"div",29)(36,"div",5)(37,"div",15)(38,"div")(39,"a",30),e.nrm(40,"img",31),e.k0s()(),e.j41(41,"div")(42,"a",32),e.nrm(43,"img",33),e.k0s()(),e.j41(44,"div")(45,"a",34),e.nrm(46,"img",35),e.k0s()(),e.j41(47,"div")(48,"a",36),e.nrm(49,"img",37),e.k0s()()()(),e.j41(50,"div",5)(51,"div",24)(52,"div",25)(53,"span",26),e.EFF(54),e.nI1(55,"date"),e.k0s()(),e.j41(56,"div"),e.EFF(57," 3DWORLD LTD., 7-9 Riga Feraiou, LIZANTIA COURT, "),e.nrm(58,"br",38),e.EFF(59," Office 310 "),e.nrm(60,"br"),e.EFF(61," Agioi Omologites, Nicosia, Cyprus "),e.k0s()()()()()()}if(2&w){const Z=e.XpG();e.R7$(6),e.JRh(e.bMT(7,17,"footer.global.uploadModel")),e.R7$(2),e.Y8G("href","/faq/category/10000/show",e.B4B),e.R7$(1),e.JRh(e.bMT(10,19,"footer.global.rules")),e.R7$(2),e.Y8G("href","/feedbacks/new",e.B4B),e.R7$(1),e.JRh(e.bMT(13,21,"footer.global.help")),e.R7$(2),e.Y8G("routerLink",Z.polygonMasterLink),e.R7$(1),e.JRh(e.bMT(16,23,"footer.global.polyExpert")),e.R7$(2),e.Y8G("routerLink","/"+Z.path.topmodel),e.R7$(1),e.JRh(e.bMT(19,25,"footer.global.topModel")),e.R7$(3),e.JRh(e.bMT(22,27,"footer.global.modelCollections")),e.R7$(5),e.Y8G("href",Z.staticLinks.ads.en,e.B4B),e.R7$(1),e.JRh(e.bMT(28,29,"footer.global.ads")),e.R7$(2),e.Y8G("href","/faq/category/10005/show",e.B4B),e.R7$(1),e.JRh(e.bMT(31,31,"footer.global.termsOfUse")),e.R7$(2),e.Y8G("href","/faq/category/10006/show",e.B4B),e.R7$(1),e.JRh(e.bMT(34,33,"footer.global.privacyPolicy")),e.R7$(21),e.SpI("\xa9 3dsky.org, ",e.i5U(55,35,Z.date,"yyyy"),"")}}let z=(()=>{var w;class U{constructor(){this.sharedGlobalDataService=(0,e.WQX)(d.o),this.router=(0,e.WQX)(X.Ix),this.backdropComponentService=(0,e.WQX)(E.v),this.subscribeHandlerService=(0,e.WQX)(I.e),this.sky=(0,e.WQX)(s.ef),this.unsubscriber=new V.B,this.date=new Date,this.staticLinks=p.Wc,this.path=$.iw}ngOnInit(){this.subscribeHandlerService.subjectSubscribe(this.sharedGlobalDataService.polygonMasterLink,H=>this.polygonMasterLink=H,this.unsubscriber),this.router.events.pipe((0,x.p)(H=>H instanceof X.wF),(0,O.Q)(this.unsubscriber)).subscribe(()=>this.date=new Date)}navigateTo3DModelsNew(H){this.sharedGlobalDataService.authorizedSource.getValue()?window.open(H,"_blank"):this.backdropComponentService.LoginInPopup()}ngOnDestroy(){this.unsubscriber.next()}}return(w=U).\u0275fac=function(H){return new(H||w)},w.\u0275cmp=e.VBU({type:w,selectors:[["app-footer"]],standalone:!0,features:[e.aNF],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["skyTemplate",""],[1,"footer"],[1,"row","justify-content-md-between"],[1,"col-lg-10","footer-content1"],[1,"row"],[1,"d-flex","flex-row","flex-wrap","top-part","mb-3"],[1,"models-new",3,"click"],["rel","nofollow",3,"href"],[3,"routerLink"],["href","https://collections.3ddd.ru","rel","nofollow","target","_blank"],[1,"bottom-part-block"],["rel","nofollow","target","_blank",3,"href"],["href","https://brands.3ddd.ru","rel","nofollow","target","_blank"],[1,"col-lg-2","footer-content2"],[1,"d-flex","flex-row","justify-content-start","justify-content-lg-end","top-part","mb-4"],["href","https://t.me/official_3ddd","target","_blank","rel","nofollow"],["src","/ng-assets/images/telegram.svg","alt","t.me"],["href","https://vk.com/3ddd_ru","target","_blank","rel","nofollow"],["src","/ng-assets/images/vk.svg","alt","vk"],["href","https://dzen.ru/3ddd_ru","target","_blank","rel","nofollow"],["src","/ng-assets/images/dzen.svg","alt","dzen"],["href","https://max.ru/official_3ddd","target","_blank","rel","nofollow"],["src","/ng-assets/images/max.svg","alt","max"],[1,"bottom-part"],[1,"mb-0"],[1,"mr-2"],[1,"col-lg-8","footer-content1"],["href","https://collections.3dsky.org","rel","nofollow","target","_blank"],[1,"col-lg-4","footer-content2"],["href","https://x.com/3dskyorg","target","_blank","rel","nofollow"],["src","/ng-assets/images/x.svg","alt","x"],["href","https://pin.it/5vt5CJILp","target","_blank","rel","nofollow"],["src","/ng-assets/images/pinterest.svg","alt","pinterest"],["href","https://www.facebook.com/www.3dsky.org","target","_blank","rel","nofollow"],["src","/ng-assets/images/facebook.svg","alt","facebook"],["href","https://instagram.com/3dsky_org","target","_blank","rel","nofollow"],["src","/ng-assets/images/insta.svg","alt","insta"],["id","br-office-en"]],template:function(H,j){if(1&H&&(e.DNE(0,B,68,49,"ng-container",0),e.DNE(1,J,62,38,"ng-template",null,1,e.C5r)),2&H){const F=e.sdS(2);e.Y8G("ngIf",!j.sky)("ngIfElse",F)}},dependencies:[G.MD,G.bT,G.vh,X.iI,X.Wk,W.D],styles:[".footer[_ngcontent-%COMP%]{padding-top:48px;padding-bottom:48px}
17.footer-content1[_ngcontent-%COMP%]   .top-part[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:16px;font-weight:400;color:#fff;text-decoration:none;margin-right:16px;line-height:200%}.footer-content1[_ngcontent-%COMP%]   .bottom-part[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:14px;color:#adadad;text-decoration:none;margin-right:24px;line-height:200%}.footer-content2[_ngcontent-%COMP%]{font-size:14px;color:#adadad;text-align:right;margin-top:4px}@media (max-width: 991.98px){.footer-content2[_ngcontent-%COMP%]{text-align:left;margin-top:32px}}.footer-content2[_ngcontent-%COMP%]   .top-part[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:not(:last-child){margin-right:16px}.footer-content2[_ngcontent-%COMP%]   .top-part[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:18px}@media (min-width: 575.98px) and (max-width: 991.98px){.footer-content2[_ngcontent-%COMP%]   .bottom-part[_ngcontent-%COMP%]{width:412px}}.footer-content2[_ngcontent-%COMP%]   .bottom-part[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:13px;color:#adadad;text-decoration:underline}.footer-content2[_ngcontent-%COMP%]   .bottom-part[_ngcontent-%COMP%]   #br-office[_ngcontent-%COMP%], .footer-content2[_ngcontent-%COMP%]   .bottom-part[_ngcontent-%COMP%]   #br-office-en[_ngcontent-%COMP%]{display:none}@media (min-width: 1199.98px) and (max-width: 1399.98px){.footer-content2[_ngcontent-%COMP%]   .bottom-part[_ngcontent-%COMP%]   #br-office[_ngcontent-%COMP%], .footer-content2[_ngcontent-%COMP%]   .bottom-part[_ngcontent-%COMP%]   #br-office-en[_ngcontent-%COMP%]{display:block}}.bottom-part-block[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px}.bottom-part-block[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;row-gap:4px;-moz-column-gap:24px;column-gap:24px}@media (max-width: 991.98px){.bottom-part-block[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{row-gap:8px}}.bottom-part-block[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{white-space:nowrap;display:inline-block;color:var(--gray-60, #B9B9B9);font-size:14px;line-height:150%;text-decoration:none}@media (max-width: 991.98px){.bottom-part-block[_ngcontent-%COMP%]{gap:8px}}.collections-link[_ngcontent-%COMP%]{display:flex;align-items:center}.collections-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{outline:1px #7DBF6F solid;border-radius:4px;background:rgba(55,55,55,.3);padding:0 8px;height:24px;line-height:24px!important}.collections-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .collections-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active{background:#373737}.models-new[_ngcontent-%COMP%]{display:flex;align-items:center;border-radius:4px;background:#373737;padding:0 8px;height:24px;margin-right:16px;align-self:center;color:#fff;font-size:16px;line-height:24px!important;cursor:pointer}@media (hover: hover) and (pointer: fine){.models-new[_ngcontent-%COMP%]:hover{background:#000000}}.models-new[_ngcontent-%COMP%]:active{background:#000000}"]}),U})()},114:(ct,ce,a)=>{a.d(ce,{W:()=>Ye});var e=a(4412),d=a(7019),X=a(8810),x=a(9437),O=a(5697),V=a(1180),p=a(647),$=a(174),E=a(8207),s=a(177),I=a(6968),W=a(1636),G=a(2128),B=a(1626),J=a(5312),z=a(480);let w=(()=>{var Oe;class Le{constructor(xe){this.http=xe}getGalleryModels(xe){return this.http.post(`${J.c.apiLabelsBaseUrl+O.Cf.userGalleryModels}`,{slug:xe},{context:(new B._y).set(z.cM,!0)})}}return(Oe=Le).\u0275fac=function(xe){return new(xe||Oe)(d.KVO(B.Qq))},Oe.\u0275prov=d.jDH({token:Oe,factory:Oe.\u0275fac,providedIn:"root"}),Le})();var U=a(5116);function Z(Oe,Le){if(1&Oe&&d.EFF(0),2&Oe){const ee=d.XpG(2);d.SpI("",ee.language.modelsPlural.one[ee.locale]," ")}}function H(Oe,Le){if(1&Oe&&d.EFF(0),2&Oe){const ee=d.XpG(2);d.SpI("",ee.language.modelsPlural.few[ee.locale]," ")}}function j(Oe,Le){if(1&Oe&&d.EFF(0),2&Oe){const ee=d.XpG(2);d.SpI("",ee.language.modelsPlural.many[ee.locale]," ")}}function F(Oe,Le){if(1&Oe&&d.EFF(0),2&Oe){const ee=d.XpG(2);d.SpI("",ee.language.modelsPlural.other[ee.locale]," ")}}function ue(Oe,Le){if(1&Oe&&d.nrm(0,"app-model-card",23),2&Oe){const ee=Le.$implicit,xe=d.XpG(3);d.Y8G("model",ee)("referrerUrl",xe.referrerUrl)}}function ae(Oe,Le){if(1&Oe&&(d.qSk(),d.joV(),d.j41(0,"div",21),d.DNE(1,ue,1,2,"app-model-card",22),d.k0s()),2&Oe){const ee=d.XpG(2);d.R7$(1),d.Y8G("ngForOf",ee.galleryModels)}}function N(Oe,Le){if(1&Oe){const ee=d.RV6();d.j41(0,"div",1)(1,"div",2,3)(3,"div",4),d.bIt("intersected",function(Ze){d.eBV(ee);const Ke=d.sdS(2);return d.Njj(Ze.isIntersecting?Ke.classList.remove("sticky-header"):Ke.classList.add("sticky-header"))}),d.k0s(),d.j41(4,"div",5)(5,"div",6),d.nrm(6,"img",7),d.k0s(),d.j41(7,"div",8)(8,"div",9)(9,"div",10),d.EFF(10),d.j41(11,"span",11),d.DNE(12,Z,1,1,"ng-template",12),d.DNE(13,H,1,1,"ng-template",13),d.DNE(14,j,1,1,"ng-template",14),d.DNE(15,F,1,1,"ng-template",15),d.k0s(),d.EFF(16," \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 "),d.k0s(),d.j41(17,"a",16),d.EFF(18),d.k0s()()(),d.j41(19,"div",17),d.bIt("click",function(){d.eBV(ee);const Ze=d.XpG();return d.Njj(Ze.backdropComponentService.hideAndDestroyService())}),d.qSk(),d.j41(20,"svg",18),d.nrm(21,"path",19),d.k0s()()(),d.DNE(22,ae,2,1,"div",20),d.k0s()()}if(2&Oe){const ee=d.XpG();d.R7$(6),d.FS9("src",ee.galleryMobileAng+(null==ee.gallery?null:ee.gallery.image),d.B4B),d.Y8G("alt",null==ee.gallery?null:ee.gallery.title),d.R7$(4),d.SpI(" ",ee.galleryModels.length," "),d.R7$(1),d.Y8G("ngPlural",ee.galleryModels.length),d.R7$(6),d.Mz_("href","/galleries/gallery/",null==ee.gallery?null:ee.gallery.slug,"",d.B4B),d.R7$(1),d.SpI(" ",ee.gallery.title," "),d.R7$(4),d.Y8G("ngIf",ee.galleryModels)}}let te=(()=>{var Oe;class Le{constructor(xe,Ze,Ke,Vt,gt,Bt,Je){this.backdropComponentService=xe,this.renderer=Ze,this.viewContainerRef
17=Ke,this.labelsService=Vt,this.subscribeHandlerService=gt,this.imageBaseUrl=Bt,this.locale=Je,this.galleryModels=[],this.galleryMobileAng=this.imageBaseUrl.baseUrl+O.oT.galleryMobileAng,this.referrerUrl=null,this.closeHandler=new d.bkB,this.language={modelsPlural:{one:{ru:"\u041c\u043e\u0434\u0435\u043b\u044c",en:"Model",es:"Modelo"},few:{ru:"\u041c\u043e\u0434\u0435\u043b\u0438",en:"Models",es:"Modelos"},many:{ru:"\u041c\u043e\u0434\u0435\u043b\u0435\u0439",en:"Models",es:"Modelos"},other:{ru:"\u041c\u043e\u0434\u0435\u043b\u0435\u0439",en:"Models",es:"Modelos"}}}}ngOnInit(){this.getGalleryModels()}getGalleryModels(){this.subscribeHandlerService.takeOne(this.labelsService.getGalleryModels(this.gallery.slug),xe=>{this.galleryModels=xe.data.models})}}return(Oe=Le).\u0275fac=function(xe){return new(xe||Oe)(d.rXU(G.v),d.rXU(d.sFG),d.rXU(d.c1b),d.rXU(w),d.rXU(U.e),d.rXU(V.sT),d.rXU(d.xe9))},Oe.\u0275cmp=d.VBU({type:Oe,selectors:[["app-gallery-modal-labels"]],inputs:{referrerUrl:"referrerUrl",gallery:"gallery"},outputs:{closeHandler:"closeHandler"},standalone:!0,features:[d.aNF],decls:1,vars:1,consts:[["id","modal-wrapper","class","modal-wrapper",4,"ngIf"],["id","modal-wrapper",1,"modal-wrapper"],["id","modal-details-container",1,"modal-details-container"],["modalDetailsContainer",""],["appIntersection","",3,"intersected"],[1,"header"],[1,"image-block"],[1,"image",3,"src","alt"],[1,"info"],[1,"title-block"],[1,"title-comment"],[3,"ngPlural"],["ngPluralCase","one"],["ngPluralCase","few"],["ngPluralCase","many"],["ngPluralCase","other"],[1,"title",3,"href"],[1,"modal-exit",3,"click"],["width","14","height","15","viewBox","0 0 14 15","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M0.29289 12.8515C-0.09763 13.242 -0.09763 13.8752 0.29289 14.2657C0.68341 14.6562 1.31657 14.6562 1.70709 14.2657L6.99991 8.97278L12.2928 14.2657C12.6833 14.6563 13.3164 14.6563 13.707 14.2657C14.0975 13.8752 14.0975 13.242 13.707 12.8515L8.41411 7.55855L13.7068 2.26572C14.0973 1.87519 14.0973 1.24202 13.7068 0.85149C13.3163 0.460961 12.6831 0.460962 12.2926 0.85149L6.99991 6.14432L1.70722 0.851507C1.3167 0.460978 0.683541 0.460978 0.293021 0.851507C-0.0974993 1.24204 -0.097499 1.87521 0.293021 2.26574L5.58571 7.55855L0.29289 12.8515Z","fill","#8C8C8C"],["class","model-list",4,"ngIf"],[1,"model-list"],[3,"model","referrerUrl",4,"ngFor","ngForOf"],[3,"model","referrerUrl"]],template:function(xe,Ze){1&xe&&d.DNE(0,N,23,7,"div",0),2&xe&&d.Y8G("ngIf",Ze.galleryModels&&Ze.galleryModels.length>0)},dependencies:[s.MD,s.Sq,s.bT,s.IJ,s.WO,I.T,W.N],styles:["[_nghost-%COMP%]{margin-top:72px;margin-bottom:80px}@media (max-width: 767.98px){[_nghost-%COMP%]{width:100%;margin-top:0;margin-bottom:0}}.modal-details-container[_ngcontent-%COMP%]{background:#ffffff;width:904px;border-radius:4px}@media (max-width: 1399.98px){.modal-details-container[_ngcontent-%COMP%]{width:784px}}@media (max-width: 1199.98px){.modal-details-container[_ngcontent-%COMP%]{width:792px}}@media (max-width: 991.98px){.modal-details-container[_ngcontent-%COMP%]{width:720px}}@media (max-width: 767.98px){.modal-details-container[_ngcontent-%COMP%]{min-height:100vh;width:100%}}.modal-details-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:24px;position:relative;padding:24px 22px 8px;background:#FAFAFA;border-radius:4px}.modal-details-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{width:100%}.modal-details-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .title-block[_ngcontent-%COMP%]{font-size:16px;font-weight:500;line-height:20px}.modal-details-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .title-block[_ngcontent-%COMP%]   .title-comment[_ngcontent-%COMP%]{color:#000}.modal-details-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{display:block;margin-top:4px;color:#4182aa}.modal-details-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]:hover{cursor:pointer}.modal-details-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .image-block[_ngcontent-%COMP%]{position:relative;min-width:80px;min-height:62px}.modal-details-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .image-block[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{position:absolute;width:80px;height:62px;object-fit:cover;object-position:center;border-radius:4px}.modal-details-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .modal
17-exit[_ngcontent-%COMP%]{cursor:pointer}@media (max-width: 767.98px){.modal-details-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{padding:24px 24px 8px}}.modal-details-container[_ngcontent-%COMP%]   .models[_ngcontent-%COMP%]{padding:16px 24px 24px}.modal-details-container.sticky-header[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{position:fixed;top:0;box-shadow:0 0 16px #6c92a966;z-index:99;width:inherit}.modal-details-container.sticky-header[_ngcontent-%COMP%]   .model-list[_ngcontent-%COMP%]{padding-top:110px}.model-list[_ngcontent-%COMP%]{display:grid;gap:24px;padding:16px 24px 60px;grid-row-gap:48px}@media (min-width: 1200px){.model-list[_ngcontent-%COMP%]{grid-row-gap:48px}}@media (min-width: 1400px){.model-list[_ngcontent-%COMP%]{grid-row-gap:52px}}@media (min-width: 992px){.model-list[_ngcontent-%COMP%]{grid-template-columns:repeat(4,minmax(136px,1fr))}}@media (min-width: 768px) and (max-width: 991.98px){.model-list[_ngcontent-%COMP%]{padding:16px 12px 48px;grid-template-columns:repeat(auto-fill,minmax(156px,1fr))}}@media (min-width: 576px) and (max-width: 767.98px){.model-list[_ngcontent-%COMP%]{padding:16px 12px 48px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}}@media (max-width: 575.98px){.model-list[_ngcontent-%COMP%]{padding:16px 12px 48px;grid-row-gap:24px;grid-template-columns:repeat(2,minmax(156px,1fr))}}"]}),Le})();var ie=a(3812),re=a(6082);const Ee=function(Oe){return{visibility:Oe}};function Re(Oe,Le){if(1&Oe&&d.nrm(0,"div",4),2&Oe){const ee=Le.index,xe=d.XpG(2);d.Y8G("ngStyle",d.eq3(1,Ee,ee>xe.timeLeft/86400?"hidden":""))}}const Mt=function(Oe,Le,ee){return{"time-left-green":Oe,"time-left-yellow":Le,"time-left-red":ee}},wt=function(){return[]};function At(Oe,Le){if(1&Oe&&(d.j41(0,"div",2),d.nI1(1,"translate"),d.nI1(2,"lowercase"),d.nI1(3,"translate"),d.nI1(4,"lowercase"),d.nI1(5,"translate"),d.nI1(6,"lowercase"),d.nI1(7,"translate"),d.DNE(8,Re,1,3,"div",3),d.k0s()),2&Oe){const ee=d.XpG();d.Y8G("ngClass",d.sMw(17,Mt,ee.timeLeft>345600,ee.timeLeft>259200&&ee.timeLeft<=345600,ee.timeLeft<=259200))("appTooltip","<div>"+d.bMT(1,3,"polygon-master.winner.timeLeftRemainingScale")+":\xa0<b>"+ee.math.ceil(ee.timeLeft/86400)+" "+(ee.math.ceil(ee.timeLeft/86400)>4?d.bMT(2,5,d.bMT(3,7,"polygon-master.timeLeftDaysPlural.other")):ee.math.ceil(ee.timeLeft/86400)>1?d.bMT(4,9,d.bMT(5,11,"polygon-master.timeLeftDaysPlural.few")):d.bMT(6,13,d.bMT(7,15,"polygon-master.timeLeftDaysPlural.one")))+"</b></div>"),d.R7$(8),d.Y8G("ngForOf",d.lJ4(21,wt).constructor(14))}}function Et(Oe,Le){1&Oe&&d.nrm(0,"div",7)}function It(Oe,Le){1&Oe&&(d.j41(0,"div",5),d.DNE(1,Et,1,0,"div",6),d.k0s()),2&Oe&&(d.R7$(1),d.Y8G("ngForOf",d.lJ4(1,wt).constructor(14)))}let bt=(()=>{var Oe;class Le{constructor(){this.math=Math}}return(Oe=Le).\u0275fac=function(xe){return new(xe||Oe)},Oe.\u0275cmp=d.VBU({type:Oe,selectors:[["app-time-left-scale"]],inputs:{timeLeft:"timeLeft"},standalone:!0,features:[d.aNF],decls:2,vars:2,consts:[["class","scale",3,"ngClass","appTooltip",4,"ngIf"],["class","scale",4,"ngIf"],[1,"scale",3,"ngClass","appTooltip"],["class","time-left-scale-item",3,"ngStyle",4,"ngFor","ngForOf"],[1,"time-left-scale-item",3,"ngStyle"],[1,"scale"],["class","time-left-scale-item loading",4,"ngFor","ngForOf"],[1,"time-left-scale-item","loading"]],template:function(xe,Ze){1&xe&&(d.DNE(0,At,9,22,"div",0),d.DNE(1,It,2,2,"div",1)),2&xe&&(d.Y8G("ngIf",Ze.timeLeft),d.R7$(1),d.Y8G("ngIf",!Ze.timeLeft))},dependencies:[s.MD,s.YU,s.Sq,s.bT,s.B3,s.GH,$.D,ie.d],styles:['@charset "UTF-8";.scale[_ngcontent-%COMP%]{padding-top:6px;padding-bottom:6px;display:flex;gap:1px;justify-content:space-between;width:100%;font-weight:500}.scale[_ngcontent-%COMP%]   .time-left-scale-item[_ngcontent-%COMP%]{flex-grow:1;border-radius:1px;height:6px}.scale[_ngcontent-%COMP%]   .time-left-scale-item.loading[_ngcontent-%COMP%]{background:#F7F7F7}.scale[_ngcontent-%COMP%]   b[_ngcontent-%COMP%]{font-weight:400}.time-left-green[_ngcontent-%COMP%]   .time-left-scale-item[_ngcontent-%COMP%]{background:#47A556;border:1px #47A556 solid}.time-left-yellow[_ngcontent-%COMP%]   .time-left-scale-item[_ngcontent-%COMP%]{background:#FFB600;border:1px #FFB600 solid}.time-left-red[_ngcontent-%COMP%]   .time-left-scale-item[_ngcontent-%COMP%]{background:#FC6240;border:1px #FC6240 solid}'],changeDetection:0}),Le})();var st=a(8035),ne=a(5979),fe=a(6069),le=a(430),Ue=a(1340);function Fe(Oe,Le){if(1&Oe&&(d.j41(0,"div",15),d.qSk(),d.j41(1,"svg",16)(2,"g",17),d.nrm(3,"path",18),d.k0s(),d.nrm(4,"path",19),d.k0s()()),2&Oe){const ee=d.XpG(2);d.Y8G("appTooltip",ee.language.tooltip.isAward[ee.locale])}}function nt(Oe,Le){if(1&Oe&&(d.j41(0,"div",15),d.qSk(),d.j41(1,"svg",16),d.nrm(2,"path",20)(3,"path",21)(4,"path",22),d.k0s()()),2&Oe){const ee=d.XpG(2);d.Y8G("appTooltip",ee.language.tooltip.isTop[ee.locale])}}function _t(Oe,Le){if(1&Oe&&(d.j41(0,"div",15),d.qSk(),d.j41(1,"svg",16)(2,"g",17),d.nrm(3,"path",18),d.k0s(),d.nrm(4,"path",21)(5,"path",22),d.k0s()()),2&Oe){const ee=d.XpG(2);d.Y8G("appTooltip",ee.language.tooltip.isMountain[ee.locale])}}function Ge(Oe,Le){if(1&Oe&&(d.j41(0,"div",13),d.DNE(1,Fe,5,1,"div",14),d.DNE(2,nt,5,1,"div",14),d.DNE(3,_t,6,1,"div",14),d.k0s()),2&Oe){const ee=d.XpG();d.R7$(1),d.Y8G("ngIf",ee.gallery.is_award),d.R7$(1),d.Y8G("ngIf",ee.galleryTop.slug===ee.gallery.slug),d.R7$(1),d.Y8G("ngIf",ee.gallery.is_mountain&&ee.galleryTop.slug!==ee.gallery.slug)}}function Ct(Oe,Le){if(1&Oe&&(d.j41(0,"div",23)(1,"div",24),d.EFF(2),d.k0s()()),2&Oe){const ee=d.XpG();d.R7$(1),d.Y8G("appTooltip",ee.language.tooltip.placeTooltip[ee.locale]),d.R7$(1),d.JRh(ee.position)}}function ze(Oe,Le){1&Oe&&d.nrm(0,"div",29)}function mt(Oe,Le){if(1&Oe&&(d.j41(0,"div",34),d.qSk(),d.j41(1,"svg",35),d.nrm(2,"path",36),d.k0s(),d.joV(),d.j41(3,"span"),d.EFF(4),d.k0s()()),2&Oe){const ee=d.XpG(3);d.R7$(4),d.JRh(null==ee.gallery?null:ee.gallery.viewsCount)}}function Ot(Oe,Le){if(1&Oe&&(d.j41(0,"div",37),d.qSk(),d.j41(1,"svg",35),d.nrm(2,"path",38),d.k0s(),d.joV(),d.j41(3,"span"),d.EFF(4),d.k0s()()),2&Oe){const ee=d.XpG(3);d.R7$(4),d.JRh(null==ee.gallery?null:ee.gallery.commentsCount)}}function Qe(Oe,Le){if(1&Oe&&(d.j41(0,"div",39),d.qSk(),d.j41(1,"svg",35),d.nrm(2,"path",40)(3,"path",41),d.k0s(),d.joV(),d.j41(4,"span"),d.EFF(5),d.k0s()()),2&Oe){const ee=d.XpG(3);d.R7$(5),d.JRh(null==ee.gallery?null:ee.gallery.votesCount)}}function yt(Oe,Le){if(1&Oe&&(d.j41(0,"div",30),d.DNE(1,mt,5,1,"div",31),d.DNE(2,Ot,5,1,"div",32),d.DNE(3,Qe,6,1,"div",33),d.k0s()),2&Oe){const ee=d.XpG(2);d.R7$(1),d.Y8G("ngIf",(null==ee.gallery?null:ee.gallery.viewsCount)>0),d.R7$(1),d.Y8G("ngIf",(null==ee.gallery?null:ee.gallery.commentsCount)>0),d.R7$(1),d.Y8G("ngIf",(null==ee.gallery?null:ee.gallery.votesCount)>0)}}function ut(Oe,Le){if(1&Oe){const ee=d.RV6();d.j41(0,"div",42),d.nI1(1,"translate"),d.j41(2,"div",43),d.bIt("click",function(){d.eBV(ee);const Ze=d.XpG(2);return d.Njj(Ze.createBackdropModels())}),d.EFF(3),d.nI1(4,"translate"),d.k0s()()}2&Oe&&(d.Y8G("appTooltip",d.bMT(1,2,"galleries.tooltip.labels")),d.R7$(3),d.SpI(" ",d.bMT(4,4,"galleries.global.labels")," "))}function ht(Oe,Le){if(1&Oe&&(d.j41(0,"div",25),d.DNE(1,ze,1,0,"div",26),d.DNE(2,yt,4,3,"div",27),d.DNE(3,ut,5,6,"div",28),d.k0s()),2&Oe){const ee=d.XpG();d.R7$(1),d.Y8G("ngIf",!ee.gallery),d.R7$(1),d.Y8G("ngIf",ee.gallery),d.R7$(1),d.Y8G("ngIf",null==ee.gallery?null:ee.gallery.labels)}}const me=function(Oe){return{liked:Oe}};function et(Oe,Le){if(1&Oe){const ee=d.RV6();d.j41(0,"button",46),d.bIt("click",function(){d.eBV(ee);const Ze=d.XpG(2);return d.Njj(Ze.toggleLike())}),d.qSk(),d.j41(1,"svg",47),d.nrm(2,"path",48),d.k0s(),d.j41(3,"svg",49),d.nrm(4,"path",50)(5,"path",51),d.k0s(),d.joV(),d.j41(6,"span"),d.EFF(7),d.k0s()()}if(2&Oe){const ee=d.XpG(2);d.Y8G("ngClass",d.eq3(2,me,null==ee.gallery?null:ee.gallery.isLike)),d.R7$(7),d.JRh(null==ee.gallery?null:ee.gallery.votesCount)}}function we(Oe,Le){if(1&Oe&&(d.j41(0,"div"),d.nrm(1,"app-time-left-scale",44),d.DNE(2,et,8,4,"button",45),d.k0s()),2&Oe){const ee=d.XpG();d.R7$(1),d.Y8G("timeLeft",null==ee.gallery?null:ee.gallery.timeLeft),d.R7$(1),d.Y8G("ngIf",null==ee.gallery?null:ee.gallery.slug)}}const Ae=function(Oe){return{"is-bookmark":Oe}},de=function(Oe){return{loading:Oe}};let Te=(()=>{var Oe;class Le{constructor(xe,Ze,Ke,Vt,gt,Bt,Je,on,On,He,Ft){this.bookmarkCollectionService=xe,this.sharedGlobalDataService=Ze,this.popupBarService=Ke,this.router=Vt,this.subscribeHandlerService=gt,this.translate=Bt,this.viewContainerRef
17=Je,this.likesService=on,this.imageBaseUrl=On,this.backdropComponentService=He,this.locale=Ft,this.galleryImage=this.imageBaseUrl.baseUrl+O.oT.galleryListWebp,this.defaultNoImage="/ng-assets/images/no-image.svg",this.bookmarkListLoading=new E.I,this.referrerUrl=null,this.isHill=!1,this.position=null,this.isMobile=p.Hy,this.language={tooltip:{isTop:{ru:'<span style="font-size: 16px;font-weight: 400;line-height: 20px;">\u0426\u0430\u0440\u044c \u0433\u043e\u0440\u044b</span> \u041b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u0430\u044f<br>\u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0434\u0432\u0435 \u043d\u0435\u0434\u0435\u043b\u0438, \u043f\u043e<br>\u043c\u043d\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439',en:'<span style="font-size: 16px;font-weight: 400;line-height: 20px;">\u0426\u0430\u0440\u044c \u0433\u043e\u0440\u044b</span> \u041b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u0430\u044f<br>\u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0434\u0432\u0435 \u043d\u0435\u0434\u0435\u043b\u0438, \u043f\u043e<br>\u043c\u043d\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439',es:'<span style="font-size: 16px;font-weight: 400;line-height: 20px;">\u0426\u0430\u0440\u044c \u0433\u043e\u0440\u044b</span> \u041b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u0430\u044f<br>\u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0434\u0432\u0435 \u043d\u0435\u0434\u0435\u043b\u0438, \u043f\u043e<br>\u043c\u043d\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439'},isMountain:{ru:'<span style="font-size: 16px;font-weight: 400;line-height: 20px;">\u041f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u044c \u0426\u0430\u0440\u044f \u0433\u043e\u0440\u044b</span>\u041b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e<br>\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439',en:'<span class="tooltip-title">\u041f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u044c \u0426\u0430\u0440\u044f \u0433\u043e\u0440\u044b</span>\u041b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439',es:'<span class="tooltip-title">\u041f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u044c \u0426\u0430\u0440\u044f \u0433\u043e\u0440\u044b</span>\u041b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439'},isAward:{ru:'<span style="font-size: 16px;font-weight: 400;line-height: 20px;">Award</span>\u041b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e<br> \u043a\u043e\u043c\u0430\u043d\u0434\u044b 3ddd.ru',en:'<span style="font-size: 16px;font-weight: 400;line-height: 20px;">Award</span>\u041b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e<br> \u043a\u043e\u043c\u0430\u043d\u0434\u044b 3ddd.ru',es:'<span style="font-size: 16px;font-weight: 400;line-height: 20px;">Award</span>\u041b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e<br> \u043a\u043e\u043c\u0430\u043d\u0434\u044b 3ddd.ru'},placeTooltip:{ru:"\u041c\u0435\u0441\u0442\u043e",en:"Place",es:"Lugar"}}}}toggleBookmark(){this.sharedGlobalDataService.authorizedSource.getValue()?this.subscribeHandlerService.takeOne(this.bookmarkCollectionService.setBookmarkGallery(this.gallery.slug,this.gallery.is_bookmark).pipe((0,x.W)(xe=>(this.showError(),(0,X.$)(()=>xe)))),xe=>{this.gallery.is_bookmark="added"===xe.data.result;let Ze=this.translate.transform("added"===xe.data.result?"collection.bookmarkListPopup.galleryAdded":"collection.bookmarkListPopup.galleryRemoved");this.popupBarService.showPopup({data:Ze})},this.bookmarkListLoading):this.backdropComponentService.LoginInPopup()}createBackdropModels(){const xe=this.viewContainerRef.createComponent(te);xe.instance.gallery=this.gallery,this.backdropComponentService.createBackdropComponent(this.viewContainerRef,{inZIndex:120,inTransparency:75,screenStop:!0,insertBackdropStyles:{display:"flex",alignItems:"flex-start",justifyContent:"center",overflow:"auto",backgroundColor:"rgba(0, 0, 0, 0.3)"}},xe)}toggleLike(){if(this.sharedGlobalDataService.authorizedSource.getValue()){const xe={entity:"gallery",slug:this.gallery.slug,rating:this.gallery.isLike?0:1};this.gallery.isLike=!this.gallery.isLike,(()=>{this.subscribeHandlerService.takeOne(this.likesService.setLike(xe).pipe((0,x.W)(Ke=>(this.gallery.isLike=!this.gallery.isLike,this.showError(),(0,X.$)(()=>Ke)))),()=>{this.gallery.votesCount=this.gallery.isLike?this.gallery.votesCount+1:this.gallery.votesCount-1})})()}else this.backdropComponentService.LoginInPopup()}showError(){this.popupBarService.showGlobalErrorPopup()}}return(Oe=Le).\u0275fac=function(xe){return new(xe||Oe)(d.rXU(st.K),d.rXU(ne.o),d.rXU(fe.h),d.rXU(le.Ix),d.rXU(U.e),d.rXU($.D),d.rXU(d.c1b),d.rXU(Ue.A),d.rXU(V.sT),d.rXU(G.v),d.rXU(d.xe9))},Oe.\u0275cmp=d.VBU({type:Oe,selectors:[["app-gallery-card"]],inputs:{referrerUrl:"referrerUrl",gallery:"gallery",galleryTop:"galleryTop",
vendor: 6,248 bytes, line 17
17isHill:"isHill",position:"position"},standalone:!0,features:[d.aNF],decls:14,vars:17,consts:[[1,"gallery-block"],[1,"image-block"],["class","awards_block",4,"ngIf"],[1,"gallery-bookmark",3,"ngClass","click"],["width","26","height","26","viewBox","0 0 26 26","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M1 7.47304C1 1.85076 9.5 -0.162805 13 4.90403C16.5 -0.162805 25 1.85076 25 7.47304C25 13.7615 17.421 20.2539 13 24C7.94736 20.0335 1 13.0953 1 7.47304Z","stroke","currentColor","stroke-width","2","stroke-linejoin","round"],[3,"href"],[1,"image",3,"src","alt","appLazyLoad","nextImagePath"],[1,"overlay"],["class","position-wrapper",4,"ngIf"],[1,"title",3,"href","title","ngClass"],["class","info-block",4,"ngIf"],[4,"ngIf"],[1,"awards_block"],[3,"appTooltip",4,"ngIf"],[3,"appTooltip"],["width","32","height","37","viewBox","0 0 32 37","fill","none","xmlns","http://www.w3.org/2000/svg"],[2,"mix-blend-mode","multiply"],["d","M-3.8147e-06 0H32L32 37L16 32.4286L7.62939e-06 37L-3.8147e-06 0Z","fill","#9C9C9C","fill-opacity","0.7"],["fill-rule","evenodd","clip-rule","evenodd","d","M7.41001 10.7258C7.6903 15.0627 10.981 18.4904 15.0832 18.8452C14.9195 20.0856 14.3063 21.998 12.1846 23.25H10.8944V27H20.5033V23.25H19.447C17.3386 22.0058 16.7198 20.1094 16.5516 18.8685C20.8221 18.6919 24.3014 15.1908 24.59 10.7258L24.75 8.25H22.2343C22.3055 7.47863 22.3055 7 22.3055 7H9.69386C9.69386 7 9.69386 7.47863 9.7652 8.25H7.25L7.41001 10.7258ZM18.8119 17.122C21.349 16.0992 23.1991 13.6209 23.3916 10.6419L23.4654 9.5H22.0811C21.7452 11.7027 20.9064 14.8981 18.8119 17.122ZM9.91857 9.5H8.53461L8.60841 10.6419C8.80111 13.6235 10.6542 16.1035 13.1947 17.1247C11.0956 14.9007 10.2551 11.7036 9.91857 9.5Z","fill","white",2,"fill","white","fill-opacity","1"],["d","M-3.8147e-06 0H32L32 37L16 32.4286L7.62939e-06 37L-3.8147e-06 0Z","fill","#FFA800",2,"fill","#FFA800","fill","color(display-p3 1.0000 0.6600 0.0000)","fill-opacity","1"],["d","M26 9.28571C25.2883 13.4841 24.2101 17.944 23.5 22.1429C18.4789 22.1429 20.3961 22.1354 15.375 22.1354L8.5 22.1429C7.78371 17.9714 6.71629 13.4646 6 9.28571C6 9.36751 6.00009 9.16674 6 9.28571C8.05056 11.2562 10.2205 13.1084 12.25 15.064C13.5492 12.7069 14.6798 10.372 15.993 8C17.2992 10.372 18.4438 12.7069 19.75 15.0714C21.7795 13.1233 23.9284 11.2785 26 9.28571Z","fill","white",2,"fill","white","fill-opacity","1"],["d","M23.1875 23.4286H8.8125L9.125 26H22.875L23.1875 23.4286Z","fill","white",2,"fill","white","fill-opacity","1"],[1,"position-wrapper"],[1,"position",3,"appTooltip"],[1,"info-block"],["class","info loading",4,"ngIf"],["class","info",4,"ngIf"],["class","labels",3,"appTooltip",4,"ngIf"],[1,"info","loading"],[1,"info"],["class","views",4,"ngIf"],["class","comments",4,"ngIf"],["class","likes",4,"ngIf"],[1,"views"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7.99997 3C9.86722 3 11.3975 3.83809 12.5078 4.74121C13.6207 5.64651 14.3868 6.67727 14.7461 7.21191C15.0581 7.67669 15.0874 8.26156 14.8047 8.75488C14.2095 9.79307 12.0637 12.9998 7.99899 13C3.9331 12.9999 1.78834 9.79152 1.1943 8.75391C0.91199 8.2607 0.941988 7.67643 1.25387 7.21191L1.40719 6.98828C1.80955 6.42064 2.51771 5.53322 3.49118 4.74121C4.60147 3.83805 6.13264 3.00003 7.99997 3ZM5.8486 5.21191C5.42168 5.43007 5.02324 5.70163 4.65524 6.00098C3.76743 6.72317 3.12678 7.55789 2.79977 8.03516C3.24334 8.78917 4.27539 10.2216 5.95309 10.9238C5.36676 10.1938 4.99997 9.15406 4.99997 8C4.99997 6.91585 5.3233 5.93235 5.8486 5.21191ZM10.1504 5.21191C10.6758 5.93239 11 6.91563 11 8C11 9.15398 10.6321 10.1928 10.0459 10.9229C11.7229 10.2206 12.755 8.78923 13.1992 8.03516C12.8721 7.55784 12.233 6.72285 11.3457 6.00098C10.9774 5.70142 10.5777 5.43016 10.1504 5.21191Z","fill","#C4C2BD",2,"fill","#C4C2BD","fill","color(display-p3 0.7686 0.7608 0.7412)","fill-opacity","1"],[1,"comments"],["d","M11.6642 3C12.9282 3 15.0001 4.01828 15.0001 6.37324L15 7.90625C15 9.98722 13.4411 11 11.2812 11C10.5769 10.9753 9.48438 11.6719 9.48438 11.6719C9.48438 11.6719 7.97465 12.7691 6.90637 13.5C5.83808 14.2309 5.23438 14.1797 5.19369 13.2074C5.15301 12.2352 5.11233 10.9753 5.11233 10.9753C3.43891 10.7802 2.00001 9.58466 2 7.90625L2.00012 6.37324C2.00027 4.51032 3.55462 3.00015 5.47205 3H11.6642Z","fill","#C4C2BD",2,"fill","#C4C2BD","fill","color(display-p3 0.7686 0.7608 0.7412)","fill-opacity","1"],[1,"likes"],["d","M4 13.0014H3.75C2.78363 13.0014 2.00023 12.0317 2 10.8364V8.16551C2.00026 6.97023 2.78367 6.00145 3.75 6.00145H4V13.0014Z","fill","#C4C2BD",2,"fill","#C4C2BD","fill","color(display-p3 0.7686 0.7608 0.7412)","fill-opacity","1"],["d","M6.79102 2.58153C7.35431 1.79314 8.53967 1.81928 9.11816 2.58153C9.40783 2.96331 9.44892 3.38533 9.4668 3.78563C9.46676 4.3563 9.281 4.77645 9.11816 5.33348L11.9727 5.28563C13.0401 5.28563 13.9982 6.08324 14 7.2036C14.0007 7.88791 13.9547 8.76986 13.7695 9.61668C13.5877 10.4474 13.253 11.3378 12.6064 11.9477C11.8735 12.6387 10.9466 12.8697 9.76074 12.9536C8.65951 13.0314 6.94467 12.9889 5 12.9839V5.71239L6.79102 2.58153Z","fill","#C4C2BD",2,"fill","#C4C2BD","fill","color(display-p3 0.7686 0.7608 0.7412)","fill-opacity","1"],[1,"labels",3,"appTooltip"],[1,"modal-labels",3,"click"],[3,"timeLeft"],["class","sky-btn-rounded sky-btn-gray-blue gallery-like-button",3,"ngClass","click",4,"ngIf"],[1,"sky-btn-rounded","sky-btn-gray-blue","gallery-like-button",3,"ngClass","click"],["width","18","height","20","viewBox","0 0 18 20","fill","none","xmlns","http://www.w3.org/2000/svg",1,"svg-fill-none"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.0436 0.0612021C10.9482 0.0358115 10.8513 0.0162802 10.7534 0.00358491C10.5732 -0.0178995 10.3905 0.0582724 10.2797 0.202804L10.2716 0.212569C8.30713 2.75066 6.20032 5.20183 3.94519 7.48503H0.0131836C-0.010376 10.3229 0.0489502 13.1618 0 15.9997H14.4191C14.4923 15.9997 14.5647 15.9841 14.6315 15.9548C15.5209 15.5573 16.2283 14.8092 16.7542 13.944C17.0188 13.5094 17.2429 13.0358 17.4249 12.5456C17.6061 12.0583 17.7456 11.5544 17.8417 11.0563C18.0337 10.0592 18.0588 9.05241 17.8741 8.21062C17.6927 7.38347 17.2798 6.6071 16.5012 6.27898C16.437 6.25163 16.368 6.23796 16.2983 6.23796H11.2419C12.9069 3.8
17112 13.1041 2.24773 12.5734 1.22819C12.2841 0.671554 11.817 0.367843 11.45 0.205733C11.3192 0.148116 11.1831 0.0983115 11.0436 0.0612021ZM5 14.9704H14.3026C14.5514 14.8473 14.7891 14.6803 15.0132 14.4753C15.3264 14.1882 15.6133 13.8288 15.8669 13.4118C16.3231 12.6618 16.6509 11.7594 16.8237 10.862C16.9972 9.96257 17.0087 9.10026 16.8615 8.42937C16.7241 7.80339 16.4724 7.4323 16.1791 7.26628H10.2306C10.0339 7.26628 9.85413 7.15593 9.7666 6.98112C9.67896 6.80632 9.69861 6.59733 9.81726 6.44206C12.0106 3.5612 11.9344 2.24187 11.6526 1.70085C11.4969 1.40105 11.2086 1.20183 10.8958 1.09343C10.1814 2.00358 7.72095 5.08757 5 7.88542V14.9704ZM4 8.51433H1.04199C1.03076 10.9108 1.08301 12.6081 1.0531 14.9704H4V8.51433Z","fill","currentColor"],["width","18","height","20","viewBox","0 0 18 20","fill","none","xmlns","http://www.w3.org/2000/svg",1,"svg-fill"],["d","M0 7.51891L4 7.5V16L0 15.9905V7.51891Z","fill","#4182AA"],["d","M10.896 0.00116553C10.6658 -0.0190901 10.4604 0.229365 10.3562 0.380973C8.68154 2.8183 6.9561 5.28924 5 7.38524V16C7.35122 15.9963 13.5005 16 14.273 16C15.6525 16 16.9263 14.1873 17.4948 12.5C18.0633 10.8127 18.0108 9.6579 17.9868 9C17.936 7.61019 16.9307 6.21704 16.4186 6.15456H11.3942C12.3446 4.67394 12.6988 3.40204 12.7967 2.47217C12.8947 1.54231 12.6158 0.1525 10.896 0.00116553Z","fill","#4182AA"]],template:function(xe,Ze){1&xe&&(d.j41(0,"div",0)(1,"div",1),d.DNE(2,Ge,4,3,"div",2),d.j41(3,"div",3),d.bIt("click",function(){return Ze.toggleBookmark()}),d.qSk(),d.j41(4,"svg",4),d.nrm(5,"path",5),d.k0s()(),d.joV(),d.j41(6,"a",6),d.nrm(7,"img",7)(8,"div",8),d.k0s(),d.DNE(9,Ct,3,2,"div",9),d.k0s(),d.j41(10,"a",10),d.EFF(11),d.k0s(),d.DNE(12,ht,4,3,"div",11),d.DNE(13,we,3,2,"div",12),d.k0s()),2&xe&&(d.R7$(2),d.Y8G("ngIf",Ze.galleryTop&&Ze.gallery&&"ru"===Ze.locale),d.R7$(1),d.Y8G("ngClass",d.eq3(13,Ae,null==Ze.gallery?null:Ze.gallery.is_bookmark)),d.R7$(3),d.Mz_("href","/galleries/gallery/",null==Ze.gallery?null:Ze.gallery.slug,"",d.B4B),d.R7$(1),d.Y8G("alt",null==Ze.gallery?null:Ze.gallery.title)("appLazyLoad",Ze.defaultNoImage)("nextImagePath",Ze.gallery?Ze.galleryImage+(null==Ze.gallery?null:Ze.gallery.image):""),d.R7$(2),d.Y8G("ngIf",Ze.isHill&&Ze.position&&Ze.gallery),d.R7$(1),d.Mz_("href","/galleries/gallery/",null==Ze.gallery?null:Ze.gallery.slug,"",d.B4B),d.FS9("title",null==Ze.gallery?null:Ze.gallery.title),d.Y8G("ngClass",d.eq3(15,de,!Ze.gallery)),d.R7$(1),d.SpI(" ",null==Ze.gallery?null:Ze.gallery.title," "),d.R7$(1),d.Y8G("ngIf",!Ze.isHill),d.R7$(1),d.Y8G("ngIf",null==Ze.gallery?null:Ze.gallery.timeLeft))},dependencies:[s.MD,s.YU,s.bT,ie.d,re.S,$.D,bt],styles:['@charset "UTF-8";.gallery-block[_ngcontent-%COMP%]{position:relative;color:#5e5e5e}.gallery-block[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:16px;font-weight:500;line-height:20px;margin-top:6px;color:#5e5e5e;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none;width:306px}@media (max-width: 1399.98px){.gallery-block[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{width:261px}}@media (max-width: 1199.98px){.gallery-block[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{width:296px}}@media (max-width: 991.98px){.gallery-block[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{width:336px}}@media (max-width: 767.98px){.gallery-block[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{width:516px}}@media (max-width: 575.98px){.gallery-block[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{width:336px}}.gallery-block[_ngcontent-%COMP%]   .title.loading[_ngcontent-%COMP%]{background:#EDEdF2;border-radius:4px;width:232px;height:20px}@media (max-width: 1199.98px){.gallery-block[_ngcontent-%COMP%]   .title.loading[_ngcontent-%COMP%]{width:150px}}@media (max-width: 991.98px){.gallery-block[_ngcontent-%COMP%]   .title.loading[_ngcontent-%COMP%]{width:263px}}@media (max-width: 767.98px){.gallery-block[_ngcontent-%COMP%]   .title.loading[_ngcontent-%COMP%]{width:451px}}@media (max-width: 575.98px){.gallery-block[_ngcontent-%COMP%]   .title.loading[_ngcontent-%COMP%]{width:263px}}.gallery-block[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]:hover{color:#125884}.gallery-block[_ngcontent-%COMP%]   .info-block[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-top:4px;align-items:center}.gallery-block[_ngcontent-%COMP%]   .info-block[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{display:flex;gap:16px;font-size:14px;font-weight:500;line-height:16px;margin-top:2px}.gallery-block[_ngcontent-%COMP%]   .info-block[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .likes[_ngcontent-%COMP%], .gallery-block[_ngcontent-%COMP%]   .info-block[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .views[_ngcontent-%COMP%], .gallery-block[_ngcontent-%COMP%]   .info-block[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .comments[_ngcontent-%COMP%]{display:flex;gap:3px;align-items:center}@media (min-width: 1200px) and (max-width: 1399.98px){.gallery-block[_ngcontent-%COMP%]   .info-block[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{gap:8px}}@media (max-width: 991.98px){.gallery-block[_ngcontent-%COMP%]   .info-block[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{margin-top:8px}}.gallery-block[_ngcontent-%COMP%]   .info-block[_ngcontent-%COMP%]   .info.loading[_ngcontent-%COMP%]{background:#EDEdF2;border-radius:4px;width:97px;height:16px}@media (max-width: 991.98px){.gallery-block[_ngcontent-%COMP%]   .info-block[_ngcontent-%COMP%]   .info.loading[_ngcontent-%COMP%]{width:190px;height:28px}}.image-block[_ngcontent-%COMP%]{position:relative;width:306px;overflow:hidden}@media (max-width: 1399.98px){.image-block[_ngcontent-%COMP%]{width:261px}}@media (max-width: 1199.98px){.image-block[_ngcontent-%COMP%]{width:296px}}@media (max-width: 991.98px){.image-block[_ngcontent-%COMP%]{width:336px}}@media (max-width: 767.98px){.image-block[_ngcontent-%COMP%]{width:100%}}.image-block[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{aspect-ratio:9/7;width:306px;object-fit:cover;object-position:center;border-radius:4px}@media (max-width: 1399.98px){.image-block[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:261px}}@media (max-width: 1199.98px){.image-block[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:296px}}@media (max-width: 991.98px){.image-block[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:336px}}@media (min-width: 576px) and (max-width: 767.98px){.image-block[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:100%;height:406px}}@media (max-width: 575.98px){.image-block[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:100%}}.image-block[_ngcontent-%COMP%]   .overlay[_ngcontent-%COMP%]{border-radius:4px;background:rgb(0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;transition:opacity .25s ease-out}@media (max-width: 991.98px){.image-block[_ngcontent-%COMP%]   .overlay[_ngcontent-%COMP%]{display:none}}.image-blockactive[_ngcontent-%COMP%]   .overlay[_ngcontent-%COMP%], .image-block[_ngcontent-%COMP%]:hover   .overlay[_ngcontent-%COMP%]{opacity:.3;transition:opacity .25s ease-out}@media (hover: hover){.image-block[_ngcontent-%COMP%]:hover   .gallery-bookmark[_ngcontent-%COMP%]{z-index:10;opacity:1}.image-block[_ngcontent-%COMP%]:hover   .gallery-bookmark[_ngcontent-%COMP%]:not(.is-bookmark)   svg[_ngcontent-%COMP%]{fill:none;stroke:#fff;color:#fff}.image-block[_ngcontent-%COMP%]:hover   .gallery-bookmark[_ngcontent-%COMP%]:not(.is-bookmark)   svg[_ngcontent-%COMP%]:hover{fill:#ffffff80}}.image-block[_ngcontent-%COMP%]   .awards_block[_ngcontent-%COMP%]{position:absolute;z-index:99;right:10px;display:flex;justify-content:flex-end;
17gap:12px}.gallery-bookmark[_ngcontent-%COMP%]{position:absolute;display:inline-flex;z-index:10}@media (min-width: 992px){.gallery-bookmark[_ngcontent-%COMP%]{top:12px;left:12px}}@media (max-width: 991.98px){.gallery-bookmark[_ngcontent-%COMP%]{top:0;left:0;padding:14px;margin:4px}}.gallery-bookmark[_ngcontent-%COMP%]:not(.is-bookmark)   svg[_ngcontent-%COMP%]{fill:none;stroke:#fff;color:#fff}.gallery-bookmark[_ngcontent-%COMP%]:not(.is-bookmark)   svg[_ngcontent-%COMP%]:hover{fill:#ffffff80;cursor:pointer}@media (pointer: fine){.gallery-bookmark[_ngcontent-%COMP%]{opacity:0;z-index:-1;cursor:pointer}}@media (pointer: coarse){.gallery-bookmark[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#ffffff80;stroke:#373737;color:#373737}}.gallery-bookmark.is-bookmark[_ngcontent-%COMP%]:not(.model-bookmark-desktop){opacity:1;z-index:10}@media (pointer: coarse){.gallery-bookmark.is-bookmark.model-bookmark-desktop[_ngcontent-%COMP%]{opacity:1;z-index:10}}.gallery-bookmark.is-bookmark[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#ff2d55;stroke:#ff2d55;color:#ff2d55}.modal-labels[_ngcontent-%COMP%]{padding:4px 12px;background:#F7F6F5;color:#63615f;border-radius:20px;cursor:pointer;font-size:14px;font-weight:500;line-height:16px}@media (min-width: 992px){.modal-labels[_ngcontent-%COMP%]:hover{color:#01588d;background:#C2E7FF}}@media (max-width: 991.98px){.modal-labels[_ngcontent-%COMP%]{padding:8px 12px;margin-top:8px}.modal-labels[_ngcontent-%COMP%]:active{color:#01588d;background:#C2E7FF}}@media (max-width: 767.98px){.modal-labels[_ngcontent-%COMP%]{padding:8px 12px;margin-top:0}}.labels[_ngcontent-%COMP%]{display:flex;align-items:center}.sky-btn-rounded[_ngcontent-%COMP%]{color:#757575}.sky-btn-rounded[_ngcontent-%COMP%]   .svg-fill-none[_ngcontent-%COMP%]{display:block}.sky-btn-rounded[_ngcontent-%COMP%]   .svg-fill[_ngcontent-%COMP%]{display:none}.sky-btn-rounded.liked[_ngcontent-%COMP%]{color:#4182aa}@media (min-width: 992px){.sky-btn-rounded.liked[_ngcontent-%COMP%]:hover{color:#4182aa;background:#DEEFF9}}.sky-btn-rounded.liked[_ngcontent-%COMP%]   .svg-fill-none[_ngcontent-%COMP%]{display:none}.sky-btn-rounded.liked[_ngcontent-%COMP%]   .svg-fill[_ngcontent-%COMP%]{display:block}.position-wrapper[_ngcontent-%COMP%]{bottom:0;display:flex;align-items:flex-end;position:absolute;padding-right:8px;padding-left:1px;height:24px;background:#FFFFFF;border-radius:0 8px 0 0}.position-wrapper[_ngcontent-%COMP%]   .position[_ngcontent-%COMP%]{text-align:center;display:flex;justify-content:center;align-items:center;color:#023d67;font-size:16px;font-style:normal;font-weight:500;line-height:16px}.gallery-like-button[_ngcontent-%COMP%]{font-weight:400;padding:6px 20px;font-size:14px}@media (max-width: 991.98px){.gallery-like-button[_ngcontent-%COMP%]{width:100%}}']}),Le})();var Ie=a(8455);function ye(Oe,Le){if(1&Oe&&(d.j41(0,"div",2),d.nrm(1,"app-gallery-card",3),d.k0s()),2&Oe){const ee=Le.$implicit,xe=Le.index,Ze=d.XpG();d.R7$(1),d.Y8G("gallery",ee)("referrerUrl",Ze.referrerUrl)("galleryTop",Ze.galleryTop)("isHill",Ze.isHill)("position",xe+2)}}let Ye=(()=>{var Oe;class Le{constructor(xe,Ze){this.subscribeHandlerService=xe,this.mainPageService=Ze,this.initPaginator=new e.t(0),this.referrerUrl=null,this.galleries=[],this.isHill=!1}ngOnInit(){this.getGalleryTop()}getGalleryTop(){this.subscribeHandlerService.takeOne(this.mainPageService.getGalleryTop(),xe=>{this.galleryTop=xe.data[0]})}}return(Oe=Le).\u0275fac=function(xe){return new(xe||Oe)(d.rXU(U.e),d.rXU(Ie._T))},Oe.\u0275cmp=d.VBU({type:Oe,selectors:[["app-gallery-list"]],inputs:{referrerUrl:"referrerUrl",galleries:"galleries",isHill:"isHill"},standalone:!0,features:[d.aNF],decls:2,vars:3,consts:[[1,"gallery-list"],["class","gallery-item",4,"ngFor","ngForOf"],[1,"gallery-item"],[3,"gallery","referrerUrl","galleryTop","isHill","position"]],template:function(xe,Ze){1&xe&&(d.j41(0,"div",0),d.DNE(1,ye,2,5,"div",1),d.k0s()),2&xe&&(d.AVh("is-hill",Ze.isHill),d.R7$(1),d.Y8G("ngForOf",Ze.galleries))},dependencies:[s.MD,s.Sq,Te],styles:['.gallery-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;-moz-column-gap:24px;column-gap:24px;row-gap:48px}.gallery-list[_ngcontent-%COMP%]   .gallery-item[_ngcontent-%COMP%]{position:relative}@media (max-width: 767.98px){.gallery-list[_ngcontent-%COMP%]   .gallery-item[_ngcontent-%COMP%]{width:100%}}
17@media (min-width: 1200px){.gallery-list.is-hill[_ngcontent-%COMP%]   .gallery-item[_ngcontent-%COMP%]:nth-last-child(-n+4){-webkit-user-select:none;user-select:none;pointer-events:none}.gallery-list.is-hill[_ngcontent-%COMP%]   .gallery-item[_ngcontent-%COMP%]:nth-last-child(-n+4):after{position:absolute;content:"";inset:0;z-index:99;background:linear-gradient(358.56deg,#FFFFFF 29.62%,rgba(255,255,255,.784108) 80.65%,rgba(255,255,255,0) 134.09%)}}@media (min-width: 992px) and (max-width: 1199.98px){.gallery-list.is-hill[_ngcontent-%COMP%]   .gallery-item[_ngcontent-%COMP%]:nth-last-child(-n+3){-webkit-user-select:none;user-select:none;pointer-events:none}.gallery-list.is-hill[_ngcontent-%COMP%]   .gallery-item[_ngcontent-%COMP%]:nth-last-child(-n+3):after{position:absolute;content:"";inset:0;z-index:99;background:linear-gradient(358.56deg,#FFFFFF 29.62%,rgba(255,255,255,.784108) 80.65%,rgba(255,255,255,0) 134.09%)}}@media (min-width: 768px){.gallery-list.is-hill[_ngcontent-%COMP%]   .gallery-item[_ngcontent-%COMP%]:nth-last-child(-n+2){-webkit-user-select:none;user-select:none;pointer-events:none}.gallery-list.is-hill[_ngcontent-%COMP%]   .gallery-item[_ngcontent-%COMP%]:nth-last-child(-n+2):after{position:absolute;content:"";inset:0;z-index:99;background:linear-gradient(358.56deg,#FFFFFF 29.62%,rgba(255,255,255,.784108) 80.65%,rgba(255,255,255,0) 134.09%)}}@media (max-width: 767.98px){.gallery-list.is-hill[_ngcontent-%COMP%]   .gallery-item[_ngcontent-%COMP%]:nth-last-child(-n+1){-webkit-user-select:none;user-select:none;pointer-events:none}.gallery-list.is-hill[_ngcontent-%COMP%]   .gallery-item[_ngcontent-%COMP%]:nth-last-child(-n+1):after{position:absolute;content:"";inset:0;z-index:99;background:linear-gradient(358.56deg,#FFFFFF 29.62%,rgba(255,255,255,.784108) 80.65%,rgba(255,255,255,0) 134.09%)}}']}),Le})()},7264:(ct,ce,a)=>{a.d(ce,{l:()=>On});var e=a(430),d=a(4763),X=a(174),x=a(177),O=a(4074),V=a(3812),p=a(7719),$=a(3532),E=a(4033),s=a(7019);function I(He,Ft){if(1&He&&s.nrm(0,"img",37),2&He){const ke=s.XpG();s.Y8G("src","/"+ke.logoRelPath+ke.logo,s.B4B)("alt",ke.sky?"3dsky":"3ddd")}}function W(He,Ft){1&He&&s.nrm(0,"app-ai-search-button")}function G(He,Ft){if(1&He&&(s.qex(0),s.nrm(1,"img",45),s.bVm()),2&He){const ke=s.XpG(2);s.R7$(1),s.Y8G("src",ke.avatarUrl,s.B4B)}}function B(He,Ft){1&He&&s.nrm(0,"span",46)}function J(He,Ft){if(1&He&&s.nrm(0,"img",64),2&He){const ke=s.XpG(3);s.Y8G("src","/ng-assets/images/user_rating/"+(null==ke.userData||null==ke.userData.user_rating?null:ke.userData.user_rating.icon),s.B4B)}}const z=function(He,Ft){return[He,Ft]};function w(He,Ft){if(1&He&&(s.j41(0,"div",58)(1,"a",53),s.EFF(2),s.nI1(3,"translate"),s.k0s()()),2&He){const ke=s.XpG(3);s.R7$(1),s.Y8G("routerLink",s.l_i(4,z,"/"+ke.profilePath.profile,ke.profilePath.purchases)),s.R7$(1),s.JRh(s.bMT(3,2,"header.global.purchasedModels"))}}function U(He,Ft){if(1&He&&(s.j41(0,"div",58)(1,"a",53),s.EFF(2),s.nI1(3,"translate"),s.k0s()()),2&He){const ke=s.XpG(3);s.R7$(1),s.Y8G("routerLink",s.l_i(4,z,"/"+ke.profilePath.profile,ke.profilePath.models)),s.R7$(1),s.JRh(s.bMT(3,2,"header.global.myModels"))}}function Z(He,Ft){if(1&He&&(s.j41(0,"div",58)(1,"a",53),s.EFF(2),s.nI1(3,"translate"),s.k0s()()),2&He){const ke=s.XpG(3);s.R7$(1),s.Y8G("routerLink",s.l_i(4,z,"/"+ke.profilePath.profile,ke.profilePath.sellRating)),s.R7$(1),s.JRh(s.bMT(3,2,"header.global.profit"))}}function H(He,Ft){if(1&He&&(s.j41(0,"div",65)(1,"a"),s.EFF(2),s.k0s(),s.nrm(3,"app-language-selector",66),s.k0s()),2&He){const ke=s.XpG(3);s.R7$(2),s.JRh(ke.languageSelectorService.variables[ke.languageSelectorService.currentLang])}}const j=function(He){return{"@@count":He}},F=function(He){return[He]};function ue(He,Ft){if(1&He&&(s.nrm(0,"div",74),s.nI1(1,"translate"),s.nI1(2,"safeHtml"),s.nI1(3,"translate")),2&He){const ke=s.XpG(4);s.Y8G("appTooltip",s.bMT(1,2,"header.global.proAccess"))("innerHTML",s.bMT(2,4,s.i5U(3,6,"header.creditsPlural.one",s.eq3(11,F,s.eq3(9,j,null==ke.userData||null==ke.userData.user||null==ke.userData.user.userFinance?null:ke.userData.user.userFinance.prodModelsCount)))),s.npT)}}function ae(He,Ft){if(1&He&&(s.nrm(0,"div",74),s.nI1(1,"translate"),s.nI1(2,"safeHtml"),s.nI1(3,"translate")),2&He){const ke=s.XpG(4);s.Y8G("appTooltip",s.bMT(1,2,"header.global.proAccess"))("innerHTML",s.bMT(2,4,s.i5U(3,6,"header.creditsPlural.few",s.eq3(11,F,s.eq3(9,j,null==ke.userData||null==ke.userData.user||null==ke.userData.user.userFinance?null:ke.userData.user.userFinance.prodModelsCount)))),s.npT)}}function N(He,Ft){if(1&He&&(s.nrm(0,"div",74),s.nI1(1,"translate"),s.nI1(2,"safeHtml"),s.nI1(3,"translate")),2&He){const ke=s.XpG(4);s.Y8G("appTooltip",s.bMT(1,2,"header.global.proAccess"))("innerHTML",s.bMT(2,4,s.i5U(3,6,"header.creditsPlural.many",s.eq3(11,F,s.eq3(9,j,null==ke.userData||null==ke.userData.user||null==ke.userData.user.userFinance?null:ke.userData.user.userFinance.prodModelsCount)))),s.npT)}}function te(He,Ft){if(1&He&&(s.nrm(0,"div",74),s.nI1(1,"translate"),s.nI1(2,"safeHtml"),s.nI1(3,"translate")),2&He){const ke=s.XpG(4);s.Y8G("appTooltip",s.bMT(1,2,"header.global.proAccess"))("innerHTML",s.bMT(2,4,s.i5U(3,6,"header.creditsPlural.other",s.eq3(11,F,s.eq3(9,j,null==ke.userData||null==ke.userData.user||null==ke.userData.user.userFinance?null:ke.userData.user.userFinance.prodModelsCount)))),s.npT)}}function ie(He,Ft){if(1&He&&(s.j41(0,"div",67)(1,"div")(2,"span"),s.EFF(3),s.nI1(4,"translate"),s.k0s()(),s.qex(5,68),s.DNE(6,ue,4,13,"ng-template",69),s.DNE(7,ae,4,13,"ng-template",70),s.DNE(8,N,4,13,"ng-template",71),s.DNE(9,te,4,13,"ng-template",72),s.bVm(),s.j41(10,"div",73),s.nI1(11,"translate"),s.j41(12,"span"),s.EFF(13),s.k0s(),s.j41(14,"span"),s.EFF(15," FREE"),s.k0s()()()),2&He){const ke=s.XpG(3);s.R7$(3),s.JRh(s.bMT(4,4,"header.global.balance")),s.R7$(2),s.Y8G("ngPlural",null==ke.userData||null==ke.userData.user||null==ke.userData.user.userFinance?null:ke.userData.user.userFinance.prodModelsCount),s.R7$(5),s.Y8G("appTooltip",s.bMT(11,6,"header.global.freeAccess")),s.R7$(3),s.JRh(null==ke.userData||null==ke.userData.user||null==ke.userData.user.userFinance?null:ke.userData.user.userFinance.freedModelsCount)}}function re(He,Ft){if(1&He){const ke=s.RV6();s.j41(0,"div",47)(1,"div",48)(2,"div",49)(3,"div",50)(4,"span"),s.EFF(5),s.k0s(),s.j41(6,"span"),s.DNE(7,J,1,1,"img",51),s.k0s()(),s.j41(8,"div",52),s.EFF(9),s.k0s(),s.nrm(10,"a",53),s.k0s(),s.j41(11,"div",54),s.eu8(12,0),s.k0s(),s.j41(13,"div",55),s.DNE(14,w,4,7,"div",56),s.DNE(15,U,4,7,"div",56),s.DNE(16,Z,4,7,"div",56),s.DNE(17,H,4,1,"div",57),s.nrm(18,"hr"),s.j41(19,"div",58)(20,"a",53),s.EFF(21),s.nI1(22,"translate"),s.qSk(),s.j41(23,"svg",59),s.nrm(24,"path",60),s.k0s()()()(),s.joV(),s.j41(25,"div",61)(26,"div"),s.DNE(27,ie,16,8,"div",62),s.k0s(),s.j41(28,"button",63),s.bIt("click",function(){s.eBV(ke);const Ne=s.XpG(2);return s.Njj(Ne.navigateForce(Ne.routeUrl.userAccount))}),s.EFF(29),s.nI1(30,"translate"),s.k0s()()()()}if(2&He){const ke=s.XpG(2),Se=s.sdS(61);s.R7$(5),s.JRh(null==ke.userData||null==ke.userData.user?null:ke.userData.user.username),s.R7$(2),s.Y8G("ngIf",null==ke.userData||null==ke.userData.user_rating?null:ke.userData.user_rating.icon),s.R7$(2),s.JRh(null==ke.userData||null==ke.userData.user?null:ke.userData.user.email),s.R7$(1),s.Y8G("routerLink","/"+ke.profilePath.profile),s.R7$(2),s.Y8G("ngTemplateOutlet",Se),s.R7$(2),s.Y8G("ngIf",null==ke.userData||null==ke.userData.user||null==ke.userData.user.userFinance?null:ke.userData.user.userFinance.boughtModelsCount),s.R7$(1),s.Y8G("ngIf",null==ke.userData||null==ke.userData.user||null==ke.userData.user.userFinance?null:ke.userData.user.userFinance.hasModels),s.R7$(1),s.Y8G("ngIf",null==ke.userData||null==ke.userData.user||null==ke.userData.user.userFinance?null:ke.userData.user.userFinance.isIncome),s.R7$(1),s.Y8G("ngIf",ke.sky),s.R7$(3),s.Y8G("routerLink","/"+ke.routeUrl.authLogout),s.R7$(1),s.SpI("",s.bMT(22,13,"header.global.logOut")," "),s.R7$(6),s.Y8G("ngIf",null==ke.userData||null==ke.userData.user?null:ke.userData.user.userFinance),s.R7$(2),s.JRh(s.bMT(30,15,"header.global.topUp"))}}function Ee(He,Ft){if(1&He){const ke=s.RV6();s.j41(0,"div",38)(1,"div"),s.eu8(2,0)(3,0),s.k0s(),s.j41(4,"div",39),s.bIt("mouseenter",function(){s.eBV(ke);const Ne=s.XpG();return s.Njj(Ne.showAvatarDropdown.next(!0))})("mouseleave",function(){s.eBV(ke);const Ne=s.XpG();return s.Njj(Ne.showAvatarDropdown.next(!1))}),s.j41(5,"div",40,41),s.bIt("click",function(){s.eBV(ke);const Ne=s.sdS(6),tt=s.XpG();return s.Njj(!!tt.isMobile&&tt.onMdBtnToggle(Ne,!Ne.classList.contains("active"),3,"user"))}),s.j41(7,"div"),s.DNE(8,G,2,1,"ng-container",42),s.DNE(9,B,1,0,"span",43),s.k0s()(),s.DNE(10,re,31,17,"div",44),s.nI1(11,"async"),s.k0s()()}if(2&He){const ke=s.XpG(),Se=s.sdS(57),Ne=s.sdS(61),tt=s.sdS(59);let lt;s.R7$(2),s.Y8G("ngTemplateOutlet",Se),s.R7$(1),s.Y8G("ngTemplateOutlet",Ne),s.R7$(5),s.Y8G("ngIf",ke.avatarUrl)("ngIfElse",tt),s.R7$(1),s.Y8G("ngIf",(null!==(lt=null==ke.userData||null==ke.userData.menu_events||null==ke.userData.menu_events.message?null:ke.userData.menu_events.message.message_count)&&void 0!==lt?lt:0)>0||(null==ke.userData||null==ke.userData.menu_events||null==ke.userData.menu_events.feed?null:ke.userData.menu_events.feed.is_new_feed)),s.R7$(1),s.Y8G("ngIf",s.bMT(11,6,ke.menuAvatarNameCollapsed))}}function Re(He,Ft){if(1&He&&(s.j41(0,"div",88)(1,"span"),s.EFF(2),s.k0s(),s.qSk(),s.j41(3,"svg",59),s.nrm(4,"path",89),s.k0s(),s.joV(),s.nrm(5,"app-language-selector",66),s.k0s()),2&He){const ke=s.XpG(2);s.R7$(2),s.JRh(ke.languageSelectorService.currentLang)}}function Mt(He,Ft){if(1&He&&(s.j41(0,"div",92)(1,"a"),s.EFF(2),s.k0s(),s.nrm(3,"app-language-selector",66),s.k0s()),2&He){const ke=s.XpG(3);s.R7$(2),s.JRh(ke.languageSelectorService.variables[ke.languageSelectorService.currentLang])}}const wt=function(He){return{referer_url:He}};function At(He,Ft){if(1&He&&(s.j41(0,"div",90)(1,"div")(2,"a",80),s.EFF(3),s.nI1(4,"translate"),s.k0s(),s.j41(5,"a",78),s.EFF(6),s.nI1(7,"translate"),s.k0s(),s.DNE(8,Mt,4,1,"div",91),s.k0s()()),2&He){const ke=s.XpG(2);s.R7$(2),s.Y8G("routerLink","/"+ke.routeUrl.authLogin)("queryParams",s.eq3(9,wt,ke.currentRoute)),s.R7$(1),s.JRh(s.bMT(4,5,"header.global.signIn")),s.R7$(3),s.JRh(s.bMT(7,7,"header.global.join")),s.R7$(2),s.Y8G("ngIf",ke.sky)}}function Et(He,Ft){if(1&He){const ke=s.RV6();s.j41(0,"div",75),s.eu8(1,0),s.j41(2,"div",76),s.DNE(3,Re,6,1,"div",77),s.nI1(4,"async"),s.j41(5,"a",78),s.EFF(6),s.nI1(7,"translate"),s.k0s(),s.j41(8,"span",79)(9,"a",8
170),s.qSk(),s.j41(10,"svg",81),s.nrm(11,"path",82)(12,"path",83),s.k0s(),s.joV(),s.j41(13,"span"),s.EFF(14),s.nI1(15,"translate"),s.k0s()()()(),s.j41(16,"div",84),s.bIt("mouseenter",function(){s.eBV(ke);const Ne=s.sdS(18),tt=s.XpG();return Ne.classList.add("active"),s.Njj(tt.showMdAvatarDropdown.next(!0))})("mouseleave",function(){s.eBV(ke);const Ne=s.sdS(18),tt=s.XpG();return Ne.classList.remove("active"),s.Njj(tt.showMdAvatarDropdown.next(!1))}),s.j41(17,"button",85,86),s.bIt("click",function(){s.eBV(ke);const Ne=s.sdS(18),tt=s.XpG();return s.Njj(tt.onMdAvatarDropdown(Ne))}),s.eu8(19,0),s.k0s(),s.DNE(20,At,9,11,"div",87),s.nI1(21,"async"),s.k0s()()}if(2&He){const ke=s.XpG(),Se=s.sdS(57),Ne=s.sdS(59);s.R7$(1),s.Y8G("ngTemplateOutlet",Se),s.R7$(2),s.Y8G("ngIf",ke.sky&&!s.bMT(4,8,ke.sharedGlobalDataService.authorized)),s.R7$(3),s.JRh(s.bMT(7,10,"header.global.join")),s.R7$(3),s.Y8G("routerLink","/"+ke.routeUrl.authLogin)("queryParams",s.eq3(16,wt,ke.currentRoute)),s.R7$(5),s.JRh(s.bMT(15,12,"header.global.signIn")),s.R7$(5),s.Y8G("ngTemplateOutlet",Ne),s.R7$(1),s.Y8G("ngIf",s.bMT(21,14,ke.menuMdAvatarNameCollapsed))}}function It(He,Ft){if(1&He&&(s.j41(0,"span"),s.EFF(1),s.nI1(2,"async"),s.k0s()),2&He){const ke=s.XpG();s.R7$(1),s.JRh(s.bMT(2,1,ke.cartService.totalInCart))}}function bt(He,Ft){if(1&He&&(s.qex(0),s.nrm(1,"img",64),s.bVm()),2&He){const ke=s.XpG(2);s.R7$(1),s.Y8G("src",ke.avatarUrl,s.B4B)}}function st(He,Ft){1&He&&s.nrm(0,"span",46)}const ne=function(He,Ft){return{$implicit:He,active:Ft,className:"user"}};function fe(He,Ft){if(1&He){const ke=s.RV6();s.j41(0,"a",93),s.qSk(),s.j41(1,"svg",5),s.nrm(2,"path",94),s.k0s()(),s.joV(),s.j41(3,"div",40,95),s.bIt("click",function(){s.eBV(ke);const Ne=s.sdS(4),tt=s.XpG();return s.Njj(tt.onMdBtnToggle(Ne,!Ne.classList.contains("active"),3,"user"))}),s.j41(5,"div"),s.DNE(6,bt,2,1,"ng-container",42),s.DNE(7,st,1,0,"span",43),s.k0s()(),s.eu8(8,11)}if(2&He){const ke=s.sdS(4),Se=s.XpG(),Ne=s.sdS(59),tt=s.sdS(45),lt=s.sdS(51);let pt;s.Y8G("href","/user/favorites/models",s.B4B),s.R7$(6),s.Y8G("ngIf",Se.avatarUrl)("ngIfElse",Ne),s.R7$(1),s.Y8G("ngIf",(null!==(pt=null==Se.userData||null==Se.userData.menu_events||null==Se.userData.menu_events.message?null:Se.userData.menu_events.message.message_count)&&void 0!==pt?pt:0)>0||(null==Se.userData||null==Se.userData.menu_events||null==Se.userData.menu_events.feed?null:Se.userData.menu_events.feed.is_new_feed)),s.R7$(1),s.Y8G("ngTemplateOutlet",tt)("ngTemplateOutletContext",s.l_i(6,ne,lt,ke.classList.contains("active")))}}const le=function(He,Ft){return{$implicit:He,active:Ft,className:"sign-in"}};function Ue(He,Ft){if(1&He){const ke=s.RV6();s.j41(0,"button",96,97),s.bIt("click",function(){s.eBV(ke);const Ne=s.sdS(1),tt=s.XpG();return s.Njj(tt.onMdBtnToggle(Ne,!Ne.classList.contains("active"),3,"sign-in"))}),s.eu8(2,0),s.k0s(),s.eu8(3,11)}if(2&He){const ke=s.sdS(1);s.XpG();const Se=s.sdS(59),Ne=s.sdS(45),tt=s.sdS(49);s.R7$(2),s.Y8G("ngTemplateOutlet",Se),s.R7$(1),s.Y8G("ngTemplateOutlet",Ne)("ngTemplateOutletContext",s.l_i(3,le,tt,ke.classList.contains("active")))}}const Fe=function(){return{$implicit:!0}};function nt(He,Ft){if(1&He){const ke=s.RV6();s.j41(0,"div")(1,"div",98)(2,"button",99),s.bIt("click",function(){s.eBV(ke);const Ne=s.XpG();return s.Njj(Ne.backdropService.backdrop(!1))}),s.qSk(),s.j41(3,"svg",5),s.nrm(4,"path",100),s.k0s()()(),s.joV(),s.eu8(5,11),s.k0s()}if(2&He){const ke=Ft.$implicit,Se=Ft.active;s.ZvI("mobile-container ",Ft.className,""),s.AVh("active",Se),s.R7$(5),s.Y8G("ngTemplateOutlet",ke)("ngTemplateOutletContext",s.lJ4(7,Fe))}}const _t=function(){return["/"]},Ge=function(){return{resetQuery:!0}},Ct=function(){return["page-active"]};function ze(He,Ft){if(1&He&&(s.qex(0),s.j41(1,"a",102),s.EFF(2),s.nI1(3,"translate"),s.k0s(),s.j41(4,"a",103),s.EFF(5),s.nI1(6,"translate"),s.k0s(),s.j41(7,"a",104),s.EFF(8),s.nI1(9,"translate"),s.k0s(),s.j41(10,"a",104),s.EFF(11),s.nI1(12,"translate"),s.k0s(),s.j41(13,"a",93),s.EFF(14),s.nI1(15,"translate"),s.k0s(),s.j41(16,"a",93),s.EFF(17),s.nI1(18,"translate"),s.k0s(),s.j41(19,"a",105),s.EFF(20),s.nI1(21,"translate"),s.k0s(),s.j41(22,"a",106),s.EFF(23),s.nI1(24,"translate"),s.k0s(),s.bVm()),2&He){const ke=s.XpG(2);s.R7$(1),s.Y8G("routerLink",s.lJ4(38,_t)),s.R7$(1),s.JRh(s.bMT(3,22,"header.global.main")),s.R7$(2),s.Y8G("state",s.lJ4(39,Ge))("routerLinkActive",s.lJ4(40,Ct))("routerLink",s.eq3(41,F,"/"+ke.routeUrl.models)),s.R7$(1),s.JRh(s.bMT(6,24,"header.global.catalog")),s.R7$(2),s.Y8G("routerLink",s.eq3(43,F,"/"+ke.routeUrl.userAccount))("routerLinkActive",s.lJ4(45,Ct)),s.R7$(1),s.JRh(s.bMT(9,26,"header.global.userAccount")),s.R7$(2),s.Y8G("routerLink",s.eq3(46,F,"/"+ke.routeUrl.galleries))("routerLinkActive",s.lJ4(48,Ct)),s.R7$(1),s.JRh(s.bMT(12,28,"header.global.gallery")),s.R7$(2),s.Y8G("href","/work/projects",s.B4B),s.R7$(1),s.JRh(s.bMT(15,30,"header.global.work")),s.R7$(2),s.Y8G("href","/forum",s.B4B),s.R7$(1),s.JRh(s.bMT(18,32,"header.global.forum")),s.R7$(2),s.Y8G("routerLinkActive",s.lJ4(49,Ct))("routerLink","/"+ke.routeBlogPath.blog),s.R7$(1),s.JRh(s.bMT(21,34,"header.global.blogs")),s.R7$(2),s.Y8G("routerLinkActive",s.lJ4(50,Ct))("routerLink","/"+ke.routeUrl.aiSearch),s.R7$(1),s.JRh(s.bMT(24,36,"header.global.aiSearch"))}}function mt(He,Ft){if(1&He&&(s.j41(0,"a",102),s.EFF(1),s.nI1(2,"translate"),s.k0s(),s.j41(3,"a",107),s.EFF(4),s.nI1(5,"translate"),s.k0s(),s.j41(6,"a",104),s.EFF(7),s.nI1(8,"translate"),s.k0s(),s.j41(9,"a",105),s.EFF(10),s.nI1(11,"translate"),s.k0s(),s.j41(12,"a",106),s.EFF(13),s.nI1(14,"translate"),s.k0s()),2&He){const ke=s.XpG(2);s.Y8G("routerLink",s.lJ4(24,_t)),s.R7$(1),s.JRh(s.bMT(2,14,"header.global.main")),s.R7$(2),s.Y8G("state",s.lJ4(25,Ge))("routerLink",s.eq3(26,F,"/"+ke.routeUrl.models)),s.R7$(1),s.JRh(s.bMT(5,16,"header.global.catalog")),s.R7$(2),s.Y8G("routerLink",s.eq3(28,F,"/"+ke.routeUrl.userAccount))("routerLinkActive",s.lJ4(30,Ct)),s.R7$(1),s.JRh(s.bMT(8,18,"header.global.userAccount")),s.R7$(2),s.Y8G("routerLinkActive",s.lJ4(31,Ct))("routerLink","/"+ke.routeBlogPath.blog),s.R7$(1),s.JRh(s.bMT(11,20,"header.global.blog")),s.R7$(2),s.Y8G("routerLinkActive",s.lJ4(32,Ct))("routerLink","/"+ke.routeUrl.aiSearch),s.R7$(1),s.JRh(s.bMT(14,22,"header.global.aiSearch"))}}function Ot(He,Ft){if(1&He&&(s.j41(0,"nav"),s.DNE(1,ze,25,51,"ng-container",42),s.DNE(2,mt,15,33,"
17ng-template",null,101,s.C5r),s.k0s()),2&He){const ke=Ft.$implicit,Se=s.sdS(3),Ne=s.XpG();s.AVh("active",ke),s.R7$(1),s.Y8G("ngIf",!Ne.sky)("ngIfElse",Se)}}function Qe(He,Ft){if(1&He){const ke=s.RV6();s.j41(0,"div",109),s.bIt("click",function(){s.eBV(ke);const Ne=s.XpG(2);return s.Njj(Ne.chooseLang())}),s.EFF(1),s.qSk(),s.j41(2,"svg",110),s.nrm(3,"path",111),s.k0s()()}if(2&He){const ke=s.XpG(2);s.R7$(1),s.SpI(" ",ke.languageSelectorService.variables[ke.languageSelectorService.currentLang]," ")}}function yt(He,Ft){if(1&He&&(s.j41(0,"nav")(1,"a",80),s.EFF(2),s.nI1(3,"translate"),s.k0s(),s.j41(4,"a",78),s.EFF(5),s.nI1(6,"translate"),s.k0s(),s.DNE(7,Qe,4,1,"div",108),s.k0s()),2&He){const ke=Ft.$implicit,Se=s.XpG();s.AVh("active",ke),s.R7$(1),s.Y8G("routerLink","/"+Se.routeUrl.authLogin)("queryParams",s.eq3(11,wt,Se.currentRoute)),s.R7$(1),s.JRh(s.bMT(3,7,"header.global.signIn")),s.R7$(3),s.JRh(s.bMT(6,9,"header.global.join")),s.R7$(2),s.Y8G("ngIf",Se.sky)}}function ut(He,Ft){if(1&He&&s.nrm(0,"img",64),2&He){const ke=s.XpG(2);s.Y8G("src","/ng-assets/images/user_rating/"+(null==ke.userData||null==ke.userData.user_rating?null:ke.userData.user_rating.icon),s.B4B)}}function ht(He,Ft){if(1&He&&(s.nrm(0,"div",116),s.nI1(1,"safeHtml"),s.nI1(2,"translate")),2&He){const ke=s.XpG(3);s.Y8G("innerHTML",s.bMT(1,1,s.i5U(2,3,"header.creditsPlural.one",s.eq3(8,F,s.eq3(6,j,null==ke.userData||null==ke.userData.user||null==ke.userData.user.userFinance?null:ke.userData.user.userFinance.prodModelsCount)))),s.npT)}}function me(He,Ft){if(1&He&&(s.nrm(0,"div",116),s.nI1(1,"safeHtml"),s.nI1(2,"translate")),2&He){const ke=s.XpG(3);s.Y8G("innerHTML",s.bMT(1,1,s.i5U(2,3,"header.creditsPlural.few",s.eq3(8,F,s.eq3(6,j,null==ke.userData||null==ke.userData.user||null==ke.userData.user.userFinance?null:ke.userData.user.userFinance.prodModelsCount)))),s.npT)}}function et(He,Ft){if(1&He&&(s.nrm(0,"div",116),s.nI1(1,"safeHtml"),s.nI1(2,"translate")),2&He){const ke=s.XpG(3);s.Y8G("innerHTML",s.bMT(1,1,s.i5U(2,3,"header.creditsPlural.many",s.eq3(8,F,s.eq3(6,j,null==ke.userData||null==ke.userData.user||null==ke.userData.user.userFinance?null:ke.userData.user.userFinance.prodModelsCount)))),s.npT)}}function we(He,Ft){if(1&He&&(s.nrm(0,"div",116),s.nI1(1,"safeHtml"),s.nI1(2,"translate")),2&He){const ke=s.XpG(3);s.Y8G("innerHTML",s.bMT(1,1,s.i5U(2,3,"header.creditsPlural.other",s.eq3(8,F,s.eq3(6,j,null==ke.userData||null==ke.userData.user||null==ke.userData.user.userFinance?null:ke.userData.user.userFinance.prodModelsCount)))),s.npT)}}function Ae(He,Ft){if(1&He&&(s.j41(0,"div",67)(1,"div")(2,"span"),s.EFF(3),s.nI1(4,"translate"),s.k0s()(),s.qex(5,68),s.DNE(6,ht,3,10,"ng-template",69),s.DNE(7,me,3,10,"ng-template",70),s.DNE(8,et,3,10,"ng-template",71),s.DNE(9,we,3,10,"ng-template",72),s.bVm(),s.j41(10,"div")(11,"span"),s.EFF(12),s.k0s(),s.j41(13,"span"),s.EFF(14," FREE"),s.k0s()()()),2&He){const ke=s.XpG(2);s.R7$(3),s.JRh(s.bMT(4,3,"header.global.balance")),s.R7$(2),s.Y8G("ngPlural",null==ke.userData||null==ke.userData.user||null==ke.userData.user.userFinance?null:ke.userData.user.userFinance.prodModelsCount),s.R7$(7),s.JRh(null==ke.userData||null==ke.userData.user||null==ke.userData.user.userFinance?null:ke.userData.user.userFinance.freedModelsCount)}}function de(He,Ft){if(1&He&&(s.qex(0),s.j41(1,"a",53),s.EFF(2),s.nI1(3,"translate"),s.k0s(),s.bVm()),2&He){const ke=s.XpG(2);s.R7$(1),s.Y8G("routerLink",s.l_i(4,z,"/"+ke.profilePath.profile,ke.profilePath.purchases)),s.R7$(1),s.JRh(s.bMT(3,2,"header.global.purchasedModels"))}}function Te(He,Ft){if(1&He&&(s.qex(0),s.j41(1,"a",53),s.EFF(2),s.nI1(3,"translate"),s.k0s(),s.bVm()),2&He){const ke=s.XpG(2);s.R7$(1),s.Y8G("routerLink",s.l_i(4,z,"/"+ke.profilePath.profile,ke.profilePath.models)),s.R7$(1),s.JRh(s.bMT(3,2,"header.global.myModels"))}}function Ie(He,Ft){if(1&He&&(s.qex(0),s.j41(1,"a",53),s.EFF(2),s.nI1(3,"translate"),s.k0s(),s.bVm()),2&He){const ke=s.XpG(2);s.R7$(1),s.Y8G("routerLink",s.l_i(4,z,"/"+ke.profilePath.profile,ke.profilePath.sellRating)),s.R7$(1),s.JRh(s.bMT(3,2,"header.global.profit"))}}function ye(He,Ft){if(1&He){const ke=s.RV6();s.j41(0,"div",117),s.bIt("click",function(){s.eBV(ke);const Ne=s.XpG(2);return s.Njj(Ne.chooseLang())}),s.EFF(1),s.qSk(),s.j41(2,"svg",110),s.nrm(3,"path",111),s.k0s()()}if(2&He){const ke=s.XpG(2);s.R7$(1),s.SpI(" ",ke.languageSelectorService.variables[ke.languageSelectorService.currentLang]," ")}}function Ye(He,Ft){if(1&He){const ke=s.RV6();s.j41(0,"nav")(1,"div",112)(2,"div",50)(3,"span"),s.EFF(4),s.k0s(),s.j41(5,"span"),s.DNE(6,ut,1,1,"img",51),s.k0s()(),s.j41(7,"div",52),s.EFF(8),s.k0s(),s.nrm(9,"a",53),s.k0s(),s.j41(10,"div",61)(11,"div"),s.DNE(12,Ae,15,5,"div",62),s.k0s(),s.j41(13,"button",63),s.bIt("click",function(){s.eBV(ke);const Ne=s.XpG();return s.Njj(Ne.navigateForce(Ne.routeUrl.userAccount))}),s.EFF(14),s.nI1(15,"translate"),s.k0s()(),s.j41(16,"div",55),s.DNE(17,de,4,7,"ng-container",16),s.DNE(18,Te,4,7,"ng-container",16),s.DNE(19,Ie,4,7,"ng-container",16),s.k0s(),s.nrm(20,"hr"),s.j41(21,"div",113)(22,"a",114),s.EFF(23),s.nI1(24,"translate"),s.k0s(),s.eu8(25,0),s.k0s(),s.DNE(26,ye,4,1,"div",115),s.k0s()}if(2&He){const ke=Ft.$implicit,Se=s.XpG(),Ne=s.sdS(61);s.AVh("active",ke),s.R7$(4),s.JRh(null==Se.userData||null==Se.userData.user?null:Se.userData.user.username),s.R7$(2),s.Y8G("ngIf",null==Se.userData||null==Se.userData.user_rating?null:Se.userData.user_rating.icon),s.R7$(2),s.JRh(null==Se.userData||null==Se.userData.user?null:Se.userData.user.email),s.R7$(1),s.Y8G("routerLink","/"+Se.profilePath.profile),s.R7$(3),s.Y8G("ngIf",null==Se.userData||null==Se.userData.user?null:Se.userData.user.userFinance),s.R7$(2),s.JRh(s.bMT(15,15,"header.global.topUp")),s.R7$(3),s.Y8G("ngIf",null==Se.userData||null==Se.userData.user||null==Se.userData.user.userFinance?null:Se.userData.user.userFinance.boughtModelsCount),s.R7$(1),s.Y8G("ngIf",null==Se.userData||null==Se.userData.user||null==Se.userData.user.userFinance?null:Se.userData.user.userFinance.hasModels),s.R7$(1),s.Y8G("ngIf",null==Se.userData||null==Se.userData.user||null==Se.userData.user.userFinance?null:Se.userData.user.userFinance.isIncome),s.R7$(3),s.Y8G("routerLink","/"+Se.routeUrl.authLogout),s.R7$(1),s.JRh(s.bMT(24,17,"header.global.logOut")),s.R7$(2),s.Y8G("ngTemplateOutlet",Ne),s.R7$(1),s.Y8G("ngIf",Se.sky)}}function Oe(He,Ft){1&He&&(s.qSk(),s.j41(0,"svg",5)(1,"g",118),s.nrm(2,"path",119)(3,"path",120)(4,"path",121)(5,"path",122)(6,"path",123),s.k0s(),s.j41(7,"defs")(8,"clipPath",124),s.nrm(9,"rect",125),s.k0s()()())}function Le(He,Ft){1&He&&(s.qSk(),s.j41(0,"svg",126),s.nrm(1,"path",127)(2,"path",128)(3,"path",129)(4,"path",130)(5,"path",131)(6,"path",132),s.k0s())}function ee(He,Ft){if(1&He&&(s.j41(0,"span"),s.EFF(1),s.nI1(2,"async"),s.k0s()),2&He){const ke=s.XpG(2);s.R7$(1),s.JRh(s.bMT(2,1,ke.cartService.totalInCart))}}function xe(He,Ft){if(1&He){const ke=s.RV6();s.j41(0,"a",26),s.bIt("click",function(){s.eBV(ke);const Ne=s.XpG();return s.Njj(Ne.navigateForce("/"+Ne.routeUrl.cart))}
17),s.eu8(1,0)(2,0),s.DNE(3,ee,3,3,"span",16),s.nI1(4,"async"),s.k0s()}if(2&He){const ke=s.XpG(),Se=s.sdS(53),Ne=s.sdS(55);s.AVh("sky",ke.sky),s.Y8G("routerLink","/"+ke.routeUrl.cart),s.R7$(1),s.Y8G("ngTemplateOutlet",Se),s.R7$(1),s.Y8G("ngTemplateOutlet",Ne),s.R7$(1),s.Y8G("ngIf",s.bMT(4,6,ke.cartService.totalInCart)>0)}}function Ze(He,Ft){1&He&&(s.qSk(),s.j41(0,"svg",133),s.nrm(1,"rect",134)(2,"path",135)(3,"path",136),s.k0s())}function Ke(He,Ft){if(1&He&&(s.qSk(),s.joV(),s.j41(0,"span",144),s.EFF(1),s.k0s()),2&He){const ke=s.XpG(2);s.R7$(1),s.SpI(" ",null==ke.userData||null==ke.userData.menu_events||null==ke.userData.menu_events.message?null:ke.userData.menu_events.message.message_count," ")}}function Vt(He,Ft){if(1&He&&(s.qSk(),s.joV(),s.j41(0,"span",144),s.EFF(1),s.k0s()),2&He){const ke=s.XpG(2);s.R7$(1),s.SpI(" ",null==ke.userData||null==ke.userData.menu_events||null==ke.userData.menu_events.feed?null:ke.userData.menu_events.feed.is_new_feed," ")}}function gt(He,Ft){if(1&He&&(s.j41(0,"ul",137)(1,"li")(2,"div",73),s.nI1(3,"translate"),s.j41(4,"a",93),s.qSk(),s.j41(5,"svg",126),s.nrm(6,"path",138),s.k0s()()()(),s.joV(),s.j41(7,"li")(8,"div",73),s.nI1(9,"translate"),s.j41(10,"a",93),s.qSk(),s.j41(11,"svg",126),s.nrm(12,"path",139)(13,"path",140),s.k0s(),s.DNE(14,Ke,2,1,"span",141),s.k0s()()(),s.joV(),s.j41(15,"li")(16,"div",73),s.nI1(17,"translate"),s.j41(18,"a",93),s.qSk(),s.j41(19,"svg",126),s.nrm(20,"path",142)(21,"path",143),s.k0s(),s.DNE(22,Vt,2,1,"span",141),s.k0s()()()()),2&He){const ke=s.XpG();let Se;s.R7$(2),s.Y8G("appTooltip",s.bMT(3,12,"header.global.favorites")),s.R7$(2),s.Y8G("href","/user/favorites/models",s.B4B),s.R7$(4),s.Y8G("appTooltip",s.bMT(9,14,"header.global.messages")),s.R7$(2),s.AVh("active",(null!==(Se=null==ke.userData||null==ke.userData.menu_events||null==ke.userData.menu_events.message?null:ke.userData.menu_events.message.message_count)&&void 0!==Se?Se:0)>0),s.Y8G("href","/user/messages",s.B4B),s.R7$(4),s.Y8G("ngIf",null==ke.userData||null==ke.userData.menu_events||null==ke.userData.menu_events.message?null:ke.userData.menu_events.message.message_count),s.R7$(2),s.Y8G("appTooltip",s.bMT(17,16,"header.global.notifications")),s.R7$(2),s.AVh("active",null==ke.userData||null==ke.userData.menu_events||null==ke.userData.menu_events.feed?null:ke.userData.menu_events.feed.is_new_feed),s.Y8G("href","/user/#user_feeds",s.B4B),s.R7$(4),s.Y8G("ngIf",null==ke.userData||null==ke.userData.menu_events||null==ke.userData.menu_events.feed?null:ke.userData.menu_events.feed.is_new_feed)}}const Bt=function(He){return{active:He}},Je=function(He,Ft){return{logoEn:He,logo:Ft}},on=function(He,Ft){return{$implicit:He,active:Ft,className:"navigation"}};let On=(()=>{var He;class Ft extends d.C{constructor(){super()}}return(He=Ft).\u0275fac=function(Se){return new(Se||He)},He.\u0275cmp=s.VBU({type:He,selectors:[["app-header"]],standalone:!0,features:[s.Vt3,s.aNF],decls:62,vars:35,consts:[[3,"ngTemplateOutlet"],[1,"desktop-content"],[1,"d-flex"],[1,"nav-toggle",3,"click"],["navToggle",""],["width","44","height","44","viewBox","0 0 44 44","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M10 12C10 11.4477 10.4477 11 11 11H33C33.5523 11 34 11.4477 34 12C34 12.5523 33.5523 13 33 13H11C10.4477 13 10 12.5523 10 12Z","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M10 22C10 21.4477 10.4477 21 11 21H33C33.5523 21 34 21.4477 34 22C34 22.5523 33.5523 23 33 23H11C10.4477 23 10 22.5523 10 22Z","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M10 32C10 31.4477 10.4477 31 11 31H33C33.5523 31 34 31.4477 34 32C34 32.5523 33.5523 33 33 33H11C10.4477 33 10 32.5523 10 32Z","fill","currentColor"],[1,"nav-toggle-dropdown",3,"ngClass"],["fill-rule","evenodd","clip-rule","evenodd","d","M15.2928 27.2929C14.9023 27.6834 14.9023 28.3166 15.2928 28.7071C15.6833 29.0977 16.3165 29.0977 16.707 28.7071L21.9998 23.4142L27.2927 28.7071C27.6832 29.0977 28.3163 29.0977 28.7069 28.7071C29.0974 28.3166 29.0974 27.6834 28.7069 27.2929L23.414 22L28.7067 16.7071C29.0972 16.3166 29.0972 15.6834 28.7067 15.2929C28.3162 14.9024 27.6831 14.9024 27.2925 15.2929L21.9998 20.5857L16.7071 15.2929C16.3166 14.9024 15.6834 14.9024 15.2929 15.2929C14.9024 15.6834 14.9024 16.3166 15.2929 16.7071L20.5856 22L15.2928 27.2929Z","fill","currentColor"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"d-none","d-lg-inline-flex","align-self-center"],[3,"routerLink","click"],[3,"src","alt",4,"ngIf"],[1,"search"],[4,"ngIf"],[3,"ngIf","ngIfElse"],["login",""],[1,"mobile-content"],["navMobileToggle",""],["routerLinkActive","page-active",3,"routerLink"],["fill-rule","evenodd","clip-rule","evenodd","d","M18 10H13C11.3431 10 10 11.3431 10 13V18C10 19.6569 11.3431 21 13 21H18C19.6569 21 21 19.6569 21 18V13C21 11.3431 19.6569 10 18 10ZM12 13C12 12.4477 12.4477 12 13 12H18C18.5523 12 19 12.4477 19 13V18C19 18.5523 18.5523 19 18 19H13C12.4477 19 12 18.5523 12 18V13Z","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M18 23H13C11.3431 23 10 24.3431 10 26V31C10 32.6569 11.3431 34 13 34H18C19.6569 34 21 32.6569 21 31V26C21 24.3431 19.6569 23 18 23ZM12 26C12 25.4477 12.4477 25 13 25H18C18.5523 25 19 25.4477 19 26V31C19 31.5523 18.5523 32 18 32H13C12.4477 32 12 31.5523 12 31V26Z","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M26 10H31C32.6569 10 34 11.3431 34 13V17.9998C34 
1719.6566 32.6569 20.9998 31 20.9998H26C24.3431 20.9998 23 19.6566 23 17.9998V13C23 11.3431 24.3431 10 26 10ZM26 12C25.4477 12 25 12.4477 25 13V17.9998C25 18.552 25.4477 18.9998 26 18.9998H31C31.5523 18.9998 32 18.552 32 17.9998V13C32 12.4477 31.5523 12 31 12H26Z","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M28.5 34C29.6575 34 30.7315 33.6424 31.6175 33.0317L32.2929 33.7071C32.6834 34.0976 33.3166 34.0976 33.7071 33.7071C34.0976 33.3166 34.0976 32.6834 33.7071 32.2929L33.0317 31.6175C33.6424 30.7315 34 29.6575 34 28.5C34 25.4624 31.5376 23 28.5 23C25.4624 23 23 25.4624 23 28.5C23 31.5376 25.4624 34 28.5 34ZM28.5 32C30.433 32 32 30.433 32 28.5C32 26.567 30.433 25 28.5 25C26.567 25 25 26.567 25 28.5C25 30.433 26.567 32 28.5 32Z","fill","currentColor"],["routerLinkActive","page-active","rel","nofollow",1,"cart",3,"routerLink","click"],["mobileLogIn",""],["mobileContainer",""],["navContainer",""],["navLogIn",""],["profile",""],["cartMobileIcon",""],["cartIcon",""],["cartTemplate",""],["blankSvg",""],["headerInfoIcons",""],[3,"src","alt"],[1,"authorized-block"],[1,"d-flex","position-relative",2,"cursor","pointer",3,"mouseenter","mouseleave"],[1,"sky-avatar-frame",3,"click"],["frame",""],[4,"ngIf","ngIfElse"],["class","unread-messages",4,"ngIf"],["class","avatar-dropdown-block",4,"ngIf"],["alt","avatar",3,"src"],[1,"unread-messages"],[1,"avatar-dropdown-block"],[1,"avatar-dropdown"],[1,"avatar-dropdown-user"],[1,"dropdown-name"],["alt","",3,"src",4,"ngIf"],[1,"dropdown-mail"],[3,"routerLink"],[1,"dropdown-info-icons"],[1,"user-balance-wrapper"],["class","dropdown-item",4,"ngIf"],["class","dropdown-item lang-selector",4,"ngIf"],[1,"dropdown-item"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10.7984 4.26792L13.741 7.34982L13.7442 7.35319C14.0853 7.71041 14.0853 8.28959 13.7442 8.64681L10.7984 11.7321C10.4573 12.0893 9.90435 12.0893 9.56328 11.7321C9.2222 11.3749 9.2222 10.7957 9.56328 10.4385L11.0498 8.88151L2.90898 8.88151C2.40697 8.88151 2 8.48684 2 8C2 7.51316 2.40697 7.1185 2.90898 7.1185L11.0498 7.1185L9.56326 5.56155C9.22218 5.20432 9.22218 4.62514 9.56326 4.26792C9.90433 3.91069 10.4573 3.91069 10.7984 4.26792Z","fill","currentColor"],[1,"balance-wrapper"],["class","balance-info",4,"ngIf"],[3,"click"],["alt","",3,"src"],[1,"dropdown-item","lang-selector"],[1,"hovered"],[1,"balance-info"],[3,"ngPlural"],["ngPluralCase","one"],["ngPluralCase","few"],["ngPluralCase","many"],["ngPluralCase","other"],[3,"appTooltip"],[3,"appTooltip","innerHTML"],[1,"login-wrapper"],[1,"d-none","d-lg-flex","align-items-center","not-authorized"],["class","lang-selector not-auth",4,"ngIf"],["routerLink","/auth/register/new","rel","nofollow"],[1,"d-flex","align-items-center","login-span"],["rel","nofollow",3,"routerLink","queryParams"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3.80277 6.63266C5.44232 4.42583 8.0628 3 11.0155 3C15.9761 3 20.0001 7.02798 20.0001 12C20.0001 16.972 15.9761 21 11.0155 21C8.0628 21 5.44232 19.5742 3.80277 17.3673C3.47341 16.924 2.84702 16.8316 2.4037 17.161C1.96037 17.4904 1.86799 18.1167 2.19735 18.5601C4.19751 21.2523 7.40259 23 11.0155 23C17.0836 23 22.0001 18.0737 22.0001 12C22.0001 5.92633 17.0836 1 11.0155 1C7.40259 1 4.19751 2.74771 2.19735 5.43993C1.86799 5.88325 1.96037 6.50964 2.4037 6.83901C2.84702 7.16837 3.47341 7.07599 3.80277 6.63266Z","fill","#4182AA"],["d","M11.6795 7.76624L14.9167 11.2624L14.9202 11.2662C15.2954 11.6715 15.2954 12.3285 14.9202 12.7338L11.6795 16.2338C11.3042 16.639 10.6959 16.639 10.3207 16.2338C9.94543 15.8285 9.94543 15.1715 10.3207 14.7662L11.9561 13L3.00006 13C2.44778 13 2.00006 12.5523 2.00006 12C2.00006 11.4477 2.44778 11 3.00006 11L11.956 11L10.3206 9.23376C9.94541 8.82852 9.94541 8.17148 10.3206 7.76624C10.6959 7.36099 11.3042 7.36099 11.6795 7.76624Z","fill","#4182AA"],[1,"d-lg-none","position-relative",3,"mouseenter","mouseleave"],[1,"md-sign-in",3,"click"],["mobileSign",""],["class","avatar-dropdown-sing-in",4,"ngIf"],[1,"lang-selector","not-auth"],["d","M4 6L8 10L12 6","stroke","currentColor","stroke-linecap","round"],[1,"avatar-dropdown-sing-in"],["class","lang-selector",4,"ngIf"],[1,"lang-selector"],[3,"href"],["d","M10 16.473C10 10.8508 18.5 8.83719 22 13.904C25.5 8.83719 34 10.8508 34 16.473C34 22.7615 26.421 29.2539 22 33C16.9474 29.0335 10 22.0953 10 16.473Z","stroke","currentColor","stroke-width","2","stroke-linejoin","round"],["avatar",""],[1,"mobile-sign-in",3,"click"],["mobLigIn",""],[1,"mobile-container-top"],[1,"close",3,"click"],["fill-rule","evenodd","clip-rule","evenodd","d","M15.2928 27.2929C14.9022 27.
176834 14.9022 28.3166 15.2928 28.7071C15.6833 29.0977 16.3164 29.0977 16.707 28.7071L21.9998 23.4142L27.2926 28.7071C27.6832 29.0977 28.3163 29.0977 28.7068 28.7071C29.0974 28.3166 29.0974 27.6834 28.7068 27.2929L23.414 22L28.7067 16.7071C29.0972 16.3166 29.0972 15.6834 28.7067 15.2929C28.3162 14.9024 27.683 14.9024 27.2925 15.2929L21.9998 20.5857L16.7071 15.2929C16.3166 14.9024 15.6834 14.9024 15.2929 15.2929C14.9024 15.6834 14.9024 16.3166 15.2929 16.7071L20.5856 22L15.2928 27.2929Z","fill","#8C8C8C"],["mMenuEn",""],[1,"d-lg-none",3,"routerLink"],[1,"d-none","d-md-block",3,"state","routerLinkActive","routerLink"],[3,"routerLink","routerLinkActive"],[3,"routerLinkActive","routerLink"],[1,"ai-search-link",3,"routerLinkActive","routerLink"],["routerLinkActive","page-active",1,"d-none","d-md-block",3,"state","routerLink"],["class","mobile-language-selector not-auth",3,"click",4,"ngIf"],[1,"mobile-language-selector","not-auth",3,"click"],["width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.5 14L12.5 10L8.5 6","stroke","currentColor","stroke-linecap","round"],[1,"mobile-user-active"],[1,"logout-and-info-icons"],["rel","nofollow",2,"color","#4182AA",3,"routerLink"],["class","mobile-language-selector",3,"click",4,"ngIf"],[3,"innerHTML"],[1,"mobile-language-selector",3,"click"],["clip-path","url(#clip0_160_151022)"],["d","M13.5 31.5L9.5 18.5H35L29.5 32.5H15.5L13.5 31.5Z","fill","none"],["d","M21.0344 28.1152C21.0375 28.6675 21.4877 29.1124 22.04 29.1089C22.5923 29.1054 23.0375 28.6548 23.0344 28.1025L23.0061 23.1026C23.003 22.5503 22.5528 22.1055 22.0005 22.109C21.4482 22.1125 21.003 22.5631 21.0062 23.1153L21.0344 28.1152Z","fill","#8C8C8C"],["d","M26.8764 22.9033L26.0148 27.8285C25.9196 28.3725 26.2834 28.8907 26.8275 28.9859C27.3715 29.081 27.8897 28.7172 27.9848 28.1732L28.8465 23.248C28.9417 22.7039 28.5778 22.1858 28.0338 22.0906C27.4897 21.9954 26.9716 22.3593 26.8764 22.9033Z","fill","#8C8C8C"],["d","M17.986 27.8359C18.0768 28.3806 17.7088 28.8959 17.164 28.9867C16.6192 29.0775 16.104 28.7094 16.0132 28.1647L15.1912 23.2327C15.1004 22.6879 15.4684 22.1727 16.0132 22.0819C16.558 21.9911 17.0732 22.3591 17.164 22.9039L17.986 27.8359Z","fill","#8C8C8C"],["fill-rule","evenodd","clip-rule","evenodd","d","M17.8437 11.664C18.1567 11.2225 18.0545 10.5786 17.6155 10.2258C17.1765 9.87307 16.5669 9.94499 16.2539 10.3865L11.5655 17.0007H9.00001C8.6857 17.0007 8.38968 17.1484 8.20078 17.3997C8.01187 17.6509 7.95206 17.9763 8.03929 18.2782L11.5378 30.3884C12.1559 32.5279 14.1144 34.0007 16.3414 34.0007H27.6587C29.8856 34.0007 31.8442 32.5278 32.4622 30.3884L35.9607 18.2782C36.048 17.9763 35.9881 17.6509 35.7992 17.3997C35.6103 17.1484 35.3143 17.0007 35 17.0007H32.4716L27.7832 10.3865C27.4702 9.94499 26.8606 9.87307 26.4216 10.2258C25.9826 10.5786 25.8804 11.2225 26.1934 11.664L29.9763 17.0007H14.0608L17.8437 11.664ZM13.4592 29.8333L10.3298 19.0007H33.6702L30.5408 29.8333C30.17 31.117 28.9948 32.0007 27.6587 32.0007H16.3414C15.0052 32.0007 13.8301 31.117 13.4592 29.8333Z","fill","#8C8C8C"],["id","clip0_160_151022"],["width","44","height","44","fill","none"],["width","32","height","32","viewBox","0 0 32 32","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3 9H29L25.5015 21.1102C25.0071 22.8217 23.4402 24 21.6587 24H10.3413C8.55977 24 6.99295 22.8217 6.49849 21.1102L3 9Z","stroke","#757575","stroke-width","2","stroke-linejoin","round"],["d","M11 3L6.31467 8.70373","stroke","#757575","stroke-width","2","stroke-linecap","round"],["d","M21 3L25.722 8.70373","stroke","#757575","stroke-width","2","stroke-linecap","round"],["d","M16.0352 19.1074L16.0069 14.1075","stroke","#757575","stroke-width","2","stroke-linecap","round"],["d","M21 19L21.8616 14.0748","stroke","#757575","stroke-width","2","stroke-linecap","round"],["d","M11 19L10.178 14.068","stroke","#757575","stroke-width","2","stroke-linecap","round"],["width","160","height","160","viewBox","0 0 160 160","fill","none","xmlns","http://www.w3.org/2000/svg"],["width","160","height","160","fill","#EFEFF0",1,"avatar-background"],["d","M80 89C97.1208 89 111 70.4565 111 50.2162C111 32.976 97.1208 19 80 19C62.8792 19 49 32.976 49 50.2162C49 70.4565 62.8792 89 80 89Z","fill","#B0B0B0",1,"user-body"],["d","M153.91 137.039C157.931 144.319 160 152.121 160 160H0C0 152.121 2.06926 144.319 6.08963 137.039C10.11 129.759 16.0028 123.145 23.4315 117.574C30.8601 112.002 39.6793 107.583 49.3853 104.567C59.0914 101.552 69.4942 100 80 100C90.5057 100 100.909 101.552 110.615 104.567C120.321 107.583 129.14 112.002 136.569 117.574C143.997 123.145 149.89 129.759 153.91 137.039Z","fill","#B0B0B0",1,"user-body"],[1,"header-info-icons"],["d","M5 10.9755C5 5.86433 12.7917 4.03381 16 8.64003C19.2083 4.03381 27 5.86433 27 10.9755C27 16.6923 20.0526 22.5944 16 26C11.3684 22.3941 5 16.0867 5 10.9755Z","stroke","#757575","stroke-width","2","stroke-linejoin","round"],["d","M4 11C4 8.79086 5.79086 7 8 7H24C26.2091 7 28 8.79086 28 11V20C28 22.2091 26.2091 24 24 24H8C5.79086 24 4 22.2091 4 20V11Z","fill","#E1E1E1"],["fill-rule","evenodd","clip-rule","evenodd","d","M8 6C5.23858 6 3 8.23858 3 11V20C3 22.7614 5.23858 25 8 25H24C26.7614 25 29 22.7614 29 20V11C29 8.23858 26.7614 6 24 6H8ZM5.70346 9.06963C6.25378 8.41561 7.07835 8 8 8H24C24.9217 8 25.7464 8.41569 26.2967 9.06982L17.855 15.3438C16.7667 16.1999 15.2337 16.1999 14.1454 15.3438L5.70346 9.06963ZM5 11.0609V20C5 21.6569 6.34315 23 8 23H24C25.6569 23 27 21.6569 27 20V11.0612L19.0916 16.9157C17.2777 18.3426 14.7227 18.3426 12.9088 16.9157L5 11.0609Z","fill","#757575"],["class","info-icon",4,"ngIf"],["d","M23.3333 13.8C23.3333 11.9965 22.5607 10.2669 21.1854 8.99167C19.8102 7.71643 17.9449 7 16 7C14.0551 7 12.1898 7.71643 10.8146 8.99167C9.43928 10.2669 8.66667 11.9965 8.66667 13.8C8.66667 21.7333 5 24 5 24H16H27C27 24 23.3333 21.7333 23.3333 13.8Z","fill","#E1E1E1"],["fill-rule","evenodd","clip-rule","evenodd","d","M10.1347 8.25841C11.7023 6.80482 13.8133 6 16.0001 6C18.1869 6 20.2979 6.80482 21.8655 8.25841C23.4356 9.71435 24.3334 11.7059 24.3334 13.8C24.3334 17.6062 25.211 19.978 26.0287 21.368C26.4395 22.0664 26.8419 22.5286 27.1267 22.8072C27.2693 22.9468 27.3829 23.0409 27.454 23.0958C27.4895 23.1233 27.5144 23.141 27.527 23.1496L27.5259 23.1494C27.5259 23.1494 27.3569 23.1123 27.527 23.1496L27.5352 23.1552C27.9
1709 23.392 28.0832 23.8468 27.962 24.2733C27.8398 24.7033 27.4471 25 27.0001 25H20.0508C20.0078 25.1523 19.9665 25.3042 19.8942 25.4483C19.5176 26.1998 18.9678 26.8419 18.2859 27.2965C17.6024 27.7522 16.8137 28.0002 16.0002 28.0002C15.1867 28.0002 14.3981 27.7522 13.7145 27.2965C13.0326 26.8419 12.4829 26.1998 12.1062 25.4483C12.034 25.3042 11.9961 25.1641 11.9609 25H5.00008C4.5531 25 4.16033 24.7033 4.03816 24.2733C3.91698 23.8468 4.09114 23.392 4.46499 23.1552L4.4669 23.154C4.4669 23.154 4.47039 23.152 4.473 23.1502C4.50408 23.1337 4.46499 23.1494 4.47426 23.1494L4.473 23.1502C4.48557 23.1415 4.51064 23.1233 4.54619 23.0958C4.61727 23.0409 4.73091 22.9468 4.87352 22.8072C5.15823 22.5286 5.56068 22.0664 5.97148 21.368C6.78913 19.978 7.66675 17.6062 7.66675 13.8C7.66675 11.7059 8.56456 9.71435 10.1347 8.25841ZM7.30469 23V22.996C7.4341 22.808 7.565 22.6036 7.69535 22.382C8.71104 20.6554 9.66675 17.9272 9.66675 13.8C9.66675 12.2872 10.3142 10.8195 11.4946 9.72494C12.6775 8.62803 14.297 8 16.0001 8C17.7031 8 19.3227 8.62803 20.5056 9.72494C21.686 10.8195 22.3334 12.2872 22.3334 13.8C22.3334 17.9272 23.2891 20.6554 24.3048 22.382C24.4351 22.6035 24.566 22.8078 24.6953 22.9957V23H7.30469ZM14.1681 25H17.8323C17.6419 25.2579 17.419 25.4708 17.1765 25.6324C16.8071 25.8787 16.4019 26.0002 16.0002 26.0002C15.5985 26.0002 15.1933 25.8787 14.8239 25.6324C14.5815 25.4708 14.3586 25.2579 14.1681 25Z","fill","#757575"],[1,"info-icon"]],template:function(Se,Ne){if(1&Se){const tt=s.RV6();s.eu8(0,0),s.j41(1,"div",1)(2,"div",2)(3,"button",3,4),s.bIt("click",function(){s.eBV(tt);const pt=s.sdS(4);return s.Njj(Ne.onMdBtnToggle(pt,!0))}),s.qSk(),s.j41(5,"svg",5),s.nrm(6,"path",6)(7,"path",7)(8,"path",8),s.k0s()(),s.joV(),s.j41(9,"div",9)(10,"div")(11,"button",3),s.bIt("click",function(){s.eBV(tt);const pt=s.sdS(4);return s.Njj(Ne.onMdBtnToggle(pt,!1,1))}),s.qSk(),s.j41(12,"svg",5),s.nrm(13,"path",10),s.k0s()()(),s.joV(),s.eu8(14,11),s.k0s(),s.j41(15,"div",12)(16,"a",13),s.bIt("click",function(pt){return Ne.navigateToMainPage(pt)}),s.DNE(17,I,1,2,"img",14),s.k0s()(),s.nrm(18,"app-search",15),s.DNE(19,W,1,0,"app-ai-search-button",16),s.k0s(),s.DNE(20,Ee,12,8,"ng-template",17),s.DNE(21,Et,22,18,"ng-template",null,18,s.C5r),s.k0s(),s.j41(23,"div",19)(24,"button",3,20),s.bIt("click",function(){s.eBV(tt);const pt=s.sdS(25);return s.Njj(Ne.onMdBtnToggle(pt,!pt.classList.contains("active"),35,"navigation"))}),s.qSk(),s.j41(26,"svg",5),s.nrm(27,"path",6)(28,"path",7)(29,"path",8),s.k0s()(),s.joV(),s.eu8(30,11),s.j41(31,"a",21),s.qSk(),s.j41(32,"svg",5),s.nrm(33,"path",22)(34,"path",23)(35,"path",24)(36,"path",25),s.k0s()(),s.joV(),s.j41(37,"a",26),s.bIt("click",function(){return Ne.navigateForce("/"+Ne.routeUrl.cart)}),s.eu8(38,0),s.DNE(39,It,3,3,"span",16),s.nI1(40,"async"),s.k0s(),s.DNE(41,fe,9,9,"ng-template",17),s.DNE(42,Ue,4,6,"ng-template",null,27,s.C5r),s.k0s(),s.DNE(44,nt,6,8,"ng-template",null,28,s.C5r),s.DNE(46,Ot,4,4,"ng-template",null,29,s.C5r),s.DNE(48,yt,8,13,"ng-template",null,30,s.C5r),s.DNE(50,Ye,27,19,"ng-template",null,31,s.C5r),s.DNE(52,Oe,10,0,"ng-template",null,32,s.C5r),s.DNE(54,Le,7,0,"ng-template",null,33,s.C5r),s.DNE(56,xe,5,8,"ng-template",null,34,s.C5r),s.DNE(58,Ze,4,0,"ng-template",null,35,s.C5r),s.DNE(60,gt,23,18,"ng-template",null,36,s.C5r)}if(2&Se){const tt=s.sdS(4),lt=s.sdS(22),pt=s.sdS(25),$e=s.sdS(43),Be=s.sdS(45),ve=s.sdS(47),Ce=s.sdS(53);s.Y8G("ngTemplateOutlet",ve),s.R7$(9),s.Y8G("ngClass",s.eq3(23,Bt,tt.classList.contains("active"))),s.R7$(5),s.Y8G("ngTemplateOutlet",ve)("ngTemplateOutletContext",s.lJ4(25,Fe)),s.R7$(1),s.HbH(s.l_i(26,Je,Ne.sky,!Ne.sky)),s.R7$(1),s.Y8G("routerLink",s.lJ4(29,_t)),s.R7$(1),s.Y8G("ngIf",Ne.logo),s.R7$(2),s.Y8G("ngIf",Ne.showAiSearchButton()),s.R7$(1),s.Y8G("ngIf",Ne.authorized)("ngIfElse",lt),s.R7$(10),s.Y8G("ngTemplateOutlet",Be)("ngTemplateOutletContext",s.l_i(30,on,ve,pt.classList.contains("active"))),s.R7$(1),s.Mz_("routerLink","/",Ne.routeUrl.models,""),s.R7$(6),s.AVh("sky",Ne.sky),s.Y8G("routerLink",s.eq3(33,F,"/"+Ne.routeUrl.cart)),s.R7$(1),s.Y8G("ngTemplateOutlet",Ce),s.R7$(1),s.Y8G("ngIf",s.bMT(40,21,Ne.cartService.totalInCart)>0),s.R7$(2),s.Y8G("ngIf",Ne.authorized)("ngIfElse",$e)}},dependencies:[x.MD,x.YU,x.bT,x.T3,x.IJ,x.WO,x.Jj,e.iI,e.Wk,e.wQ,X.D,O.S,V.d,p.$,$.t,E.K],styles:['[_nghost-%COMP%]{display:grid;width:100%;padding:0 12px}@media (min-width: 768px){[_nghost-%COMP%]{grid-template-areas:"nav" "desktop"}}@media (max-width: 767.98px){[_nghost-%COMP%]{grid-template-areas:"nav" "mobile";padding:4px 12px}}[_nghost-%COMP%]   nav[_ngcontent-%COMP%]{display:grid;grid-area:nav}@media (min-width: 992px){[_nghost-%COMP%]   nav[_ngcontent-%COMP%]{gap:24px;grid-auto-flow:column;width:-moz-fit-content;width:fit-content}}@media (max-width: 991.98px){[_nghost-%COMP%]   nav[_ngcontent-%COMP%]{gap:4px}[_nghost-%COMP%]   nav[_ngcontent-%COMP%]:not(.active){display:none}}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   nav[_ngcontent-%COMP%]{padding-bottom:8px;gap:0}}@media (max-width: 767.98px){[_nghost-%COMP%]   nav[_ngcontent-%COMP%]{padding:16px 0;gap:16px}[_nghost-%COMP%]   nav[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin:0;border:0;opacity:1;height:1px;background-color:#efeff0}}[_nghost-%COMP%]   nav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5e5e5e;text-decoration:none}@media (min-width: 992px){[_nghost-%COMP%]   nav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding:12px 0 16px;font-weight:500}}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   nav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding:14px 48px}}@media (min-width: 768px) and (max-width: 991.98px) and (hover: hover) and (pointer: fine){[_nghost-%COMP%]   nav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{background-color:#f4f4f4;color:#5e5e5e!important}}@media (min-width: 768px){[_nghost-%COMP%]   nav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:16px;line-height:20px}}@media (max-width: 767.98px){[_nghost-%COMP%]   nav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:20px;line-height:24px;padding:12px 0;text-align:center}}@media (max-width: 991.98px){[_nghost-%COMP%]   nav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active{background-color:#fafafa;font-weight:500;color:#000}}@media (min-width: 992px){[_nghost-%COMP%]   nav[_ngcontent-%COMP%]   a.page-active[_ngcontent-%COMP%]{border-top:4px solid #4182AA;padding-top:8px;color:#000}}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   nav[_ngcontent-%COMP%]   a.page-active[_ngcontent-%COMP%]{background-color:#fafafa!important;color:#000}}@media (max-width: 991.98px){[_nghost-%COMP%]   nav[_ngcontent-%COMP%]   a.page-active[_ngcontent-%COMP%]{background-color:#f4f4f4}}@media (min-width: 768px){[_nghost-%COMP%]   nav[_ngcontent-%COMP%]   a.ai-search-link[_ngcontent-%COMP%]{display:none;pointer-events:none}}@media (hover: hover){[_nghost-%COMP%]   nav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#000}}[_nghost-%COMP%]   .desktop-content[_ngcontent-%COMP%]{grid-area:desktop;display:flex;align-items:center;justify-content:space-between}@media (min-width: 992px){[_nghost-%COMP%]   .desktop-content[_ngcontent-%COMP%]{padding:0 0 12px}}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   .desktop-content[_ngcontent-%COMP%]{padding:16px 0}}@media (max-width: 767.98px){[_nghost-%COMP%]   .desktop-content[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]   .authorized-block[_ngcontent-%COMP%]{display:flex;flex:1;justify-content:space-between}[_nghost-%COMP%]   .authorized-block[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;margin-left:auto}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   .authorized-block[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){margin-left:0}}[_nghost-%COMP%]   .mobile-content[_ngcontent-%COMP%]{grid-area:mobile;display:flex;align-items:center;justify-content:space-between;background:#FFFFFF}@media (min-width: 768px){[_nghost-%COMP%]   .mobile-content[_ngcontent-%COMP%]{display:none}}@media (min-width: 576px) and (max-width: 767.98px){[_nghost-%COMP%]   .mobile-content[_ngcontent-%COMP%]{padding:0 16px}}[_nghost-%COMP%]   .mobile-content[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{border-radius:4px;color:#8c8c8c}[_nghost-%COMP%]   .mobile-content[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active, [_nghost-%COMP%]   .mobile-content[_ngcontent-%COMP%] > a.page-active[_ngcontent-%COMP%]{color:#4182aa}[_nghost-%COMP%]   .mobile-content[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%], [_nghost-%COMP%]   .mobile-content[_ngcontent-%COMP%] > a.page-active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#deeff9}[_nghost-%COMP%]   .search[_ngcontent-%COMP%]{margin-left:24px}@media (min-width: 1400px){[_nghost-%COMP%]   .search[_ngcontent-%COMP%]{width:636px}}@media (min-width: 1200px) and (max-width: 1399.98px){[_nghost-%COMP%]   .search[_ngcontent-%COMP%]{width:574px}}@media (min-width: 992px) and (max-width: 1199.98px){[_nghost-%COMP%]   .search[_ngcontent-%COMP%]{width:428px}}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   .search[_ngcontent-%COMP%]{width:374px;margin-left:8px}}@media (max-width: 767.98px){[_nghost-%COMP%]   .search[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]   .desktop-content[_ngcontent-%COMP%]   app-ai-search-button[_ngcontent-%COMP%]{margin-left:6px}[_nghost-%COMP%]   .header-info-icons[_ngcontent-%COMP%]{display:flex;align-items:center;list-style-type:none;padding:0;margin:0}@media (max-width: 991.98px){[_nghost-%COMP%]   .header-info-icons[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]   .header-info-icons[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}@media (max-width: 991.98px){[_nghost-%COMP%]   .header-info-icons[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{width:44px;height:44px}}[_nghost-%COMP%]   .header-info-icons[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;width:32px;height:32px}@media (min-width: 1200px){[_nghost-%COMP%]   .header-info-icons[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(1), [_nghost-%COMP%]   .header-info-icons[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(2){margin-right:16px}}@media (min-width: 992px) and (max-width: 1199.98px){[_nghost-%COMP%]   .header-info-icons[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(1), [_nghost-%COMP%]   .header-info-icons[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(2){margin-right:12px}}[_nghost-%COMP%]   .cart[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], [_nghost-%COMP%]   .header-info-icons[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .info-icon[_ngcontent-%COMP%]{position:absolute;top:-2px;left:19px;padding:2px 6px;height:18px;background-color:#4182aa;border-radius:9px;color:#fff;font-weight:700;font-size:12px;line-height:14px;min-width:18px}[_nghost-%COMP%]   .header-info-icons[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child   .info-icon[_ngcontent-%COMP%]{left:17px}[_nghost-%COMP%]   .header-info-icons[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]:first-child{fill:none}[_nghost-%COMP%]   .header-info-icons[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]:first-child{fill:#d0d0d0}[_nghost-%COMP%]   .cart[_ngcontent-%COMP%]{position:relative;display:inline-flex;align-self:center}@media (min-width: 992px){[_nghost-%COMP%]   .cart.sky[_ngcontent-%COMP%]{margin-right:48px}}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   .cart.sky[_ngcontent-%COMP%]{margin-right:24px}}@media (min-width: 1200px){[_nghost-%COMP%]   .cart[_ngcontent-%COMP%]:not(.sky){margin-right:48px}}@media (min-width: 768px) and (max-width: 1199.98px){[_nghost-%COMP%]   .cart[_ngcontent-%COMP%]:not(.sky){margin-right:24px}}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   .cart[_ngcontent-%COMP%]:not(.sky){margin-right:8px}}@media (min-width: 1200px) and (max-width: 1399.98px){[_nghost-%COMP%]   .cart[_ngcontent-%COMP%]:not(.sky){margin-right:32px}}@media (hover: hover) and (pointer: fine){[_nghost-%COMP%]   .cart[_ngcontent-%COMP%]:not(.page-active):hover   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]:first-child{fill:#d0d0d0}}@media (min-width: 992px){[_nghost-%COMP%]   .cart[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%]:first-child{display:none}}@media (max-width: 991.98px){[_nghost-%COMP%]   .cart[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{top:4px;
17left:25px}[_nghost-%COMP%]   .cart[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%]:not(:first-child){display:none}}[_nghost-%COMP%]   .cart.page-active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]:first-child{fill:#deeff9}[_nghost-%COMP%]   .cart.page-active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]:not(:first-child){fill:#4182aa}[_nghost-%COMP%]   .login-wrapper[_ngcontent-%COMP%]{display:flex;flex:1;justify-content:flex-end;align-items:center}[_nghost-%COMP%]   .not-authorized[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#4182aa;font-size:16px;line-height:20px;text-decoration:none}@media (hover: hover){[_nghost-%COMP%]   .not-authorized[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#023d67}}[_nghost-%COMP%]   .not-authorized[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-flex;align-items:center}[_nghost-%COMP%]   .not-authorized[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{margin-right:16px}[_nghost-%COMP%]   .not-authorized[_ngcontent-%COMP%]   span.login-span[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]   .not-authorized[_ngcontent-%COMP%]   .login-span[_ngcontent-%COMP%]:hover{cursor:pointer}[_nghost-%COMP%]   .not-authorized[_ngcontent-%COMP%]   .login-span[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%]{color:#023d67}[_nghost-%COMP%]   .not-authorized[_ngcontent-%COMP%]   .login-span[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{fill:#023d67}[_nghost-%COMP%]   .avatar-dropdown-block[_ngcontent-%COMP%]{padding-top:10px;position:absolute;right:0;width:312px;top:100%;z-index:100}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   .avatar-dropdown-block[_ngcontent-%COMP%]{padding-top:0}}[_nghost-%COMP%]   .balance-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;min-height:108px;padding:16px 24px 24px;background:#F7F7F7;border-radius:0 0 8px 8px;cursor:default}@media (max-width: 767.98px){[_nghost-%COMP%]   .balance-wrapper[_ngcontent-%COMP%]{padding:16px 32px 24px;background:#F7F7F7}}[_nghost-%COMP%]   .balance-wrapper[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child{min-height:20px}[_nghost-%COMP%]   .balance-wrapper[_ngcontent-%COMP%]   .balance-info[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:16px;color:#000;font-size:16px;line-height:20px}@media (min-width: 768px){[_nghost-%COMP%]   .balance-wrapper[_ngcontent-%COMP%]   .balance-info[_ngcontent-%COMP%]{justify-content:start}}[_nghost-%COMP%]   .balance-wrapper[_ngcontent-%COMP%]   .balance-info[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(2){color:#31831f}[_nghost-%COMP%]   .balance-wrapper[_ngcontent-%COMP%]   .balance-info[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(3){color:#5e5e5e}[_nghost-%COMP%]   .balance-wrapper[_ngcontent-%COMP%]   .balance-info[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(3)   span[_ngcontent-%COMP%]:nth-child(1){font-weight:700}[_nghost-%COMP%]   .balance-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:40px;width:100%;border:none;border-radius:4px;font-size:16px;font-weight:500;line-height:20px;color:#4182aa;background:#DEEFF9}@media (hover: hover) and (pointer: fine){[_nghost-%COMP%]   .balance-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{color:#023d67;background:#CDE8FE}}[_nghost-%COMP%]   .balance-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active{color:#023d67;background:#CDE8FE}[_nghost-%COMP%]   .user-balance-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:0}@media (max-width: 991.98px){[_nghost-%COMP%]   .user-balance-wrapper[_ngcontent-%COMP%]{gap:16px}}[_nghost-%COMP%]   .avatar-dropdown[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;background:#fff;border-radius:8px;box-shadow:0 0 16px #6c92a966}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   .avatar-dropdown[_ngcontent-%COMP%]{gap:16px}}[_nghost-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:block;padding:12px 24px;color:#4182aa;font-size:16px;font-weight:500;line-height:20px;text-decoration:none}@media (hover: hover) and (pointer: fine){[_nghost-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#023d67;background:#F4F4F4}}[_nghost-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active{color:#023d67;background:#F4F4F4}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]   .dropdown-info-icons[_ngcontent-%COMP%]{display:none}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   .dropdown-info-icons[_ngcontent-%COMP%]{display:block;padding:2px 32px;height:48px}}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   .dropdown-info-icons[_ngcontent-%COMP%]   .header-info-icons[_ngcontent-%COMP%]{display:flex;justify-content:space-between}}[_nghost-%COMP%]   .logout-and-info-icons[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:48px;height:48px}[_nghost-%COMP%]   .logout-and-info-icons[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding:8px 0}@media (max-width: 767.98px){[_nghost-%COMP%]   .logout-and-info-icons[_ngcontent-%COMP%]   .header-info-icons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:48px}[_nghost-%COMP%]   .logout-and-info-icons[_ngcontent-%COMP%]   .header-info-icons[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child{display:none}}[_nghost-%COMP%]   .avatar-dropdown-user[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;position:relative;padding:16px 16px 8px 24px;border-radius:8px 8px 0 0}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   .avatar-dropdown-user[_ngcontent-%COMP%]{padding:16px 24px 8px}}@media (hover: hover) and (pointer: fine){[_nghost-%COMP%]   .avatar-dropdown-user[_ngcontent-%COMP%]:hover{background:#f7f7f7}[_nghost-%COMP%]   .avatar-dropdown-user[_ngcontent-%COMP%]:hover   .dropdown-name[_ng
17content-%COMP%]{color:#023d67}}[_nghost-%COMP%]   .avatar-dropdown-user[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{position:absolute;inset:0}[_nghost-%COMP%]   .avatar-dropdown[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin:0;color:#f4f4f4;opacity:1;height:1px}[_nghost-%COMP%]   .avatar-dropdown[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:24px;height:20px}[_nghost-%COMP%]   .dropdown-name[_ngcontent-%COMP%]{font-size:16px;color:#000;line-height:20px;font-weight:700;align-items:center;cursor:default;display:flex;gap:8px}[_nghost-%COMP%]   .dropdown-name[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:first-child{max-width:180px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}[_nghost-%COMP%]   .dropdown-mail[_ngcontent-%COMP%]{font-size:16px;line-height:20px;color:#5e5e5e;word-break:break-all;cursor:default}[_nghost-%COMP%]   .mobile-user-active[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:8px;position:relative}@media (max-width: 767.98px){[_nghost-%COMP%]   .mobile-user-active[_ngcontent-%COMP%]{padding:8px 24px}}[_nghost-%COMP%]   .mobile-user-active[_ngcontent-%COMP%]:active{background-color:#fafafa}[_nghost-%COMP%]   .mobile-user-active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{position:absolute;inset:0}[_nghost-%COMP%]   .mobile-user-active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active{background:none}[_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%]{position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}@media (min-width: 768px){[_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%]{height:48px;width:48px;background-color:#fff;border-radius:50%}[_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-radius:4px}[_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], [_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{height:48px;width:48px;border-radius:50%}}@media (max-width: 991.98px){[_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%]{height:44px;width:44px;border-radius:4px}[_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-radius:4px}[_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], [_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{height:28px;width:28px;border-radius:50%}}@media (max-width: 767.98px){[_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%]:not(.active) > div[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{border:2px solid #B0B0B0}[_nghost-%COMP%]   .sky-avatar-frame.active[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], [_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%]:active > div[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{border:2px solid #4182AA}}@media (max-width: 767.98px) and (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   .sky-avatar-frame.active[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], [_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%]:active > div[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{border:none}}@media (max-width: 767.98px){[_nghost-%COMP%]   .sky-avatar-frame.active[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .avatar-background[_ngcontent-%COMP%], [_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%]:active > div[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .avatar-background[_ngcontent-%COMP%]{fill:#deeff9}[_nghost-%COMP%]   .sky-avatar-frame.active[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .user-body[_ngcontent-%COMP%], [_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%]:active > div[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .user-body[_ngcontent-%COMP%]{fill:#4182aa}[_nghost-%COMP%]   .sky-avatar-frame.active[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], [_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%]:active > div[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{outline:2px solid #4182AA;outline-offset:-2px}}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{border:none}}[_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%]   .unread-messages[_ngcontent-%COMP%]{position:absolute;top:8px;right:8px;width:10px;height:10px;border-radius:50%;background:#4182AA;border:1px solid #ffffff}@media (min-width: 768px){[_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%]   .unread-messages[_ngcontent-%COMP%]{top:0;right:0}}@media (min-width: 992px){[_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%]   .unread-messages[_ngcontent-%COMP%]{display:none}}@media (hover: hover) and (pointer: fine){[_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%]:hover + div[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{color:#000}}[_nghost-%COMP%]   .sky-avatar-frame[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:50%;margin-right:0;cursor:pointer;font-size:0;line-height:0}[_nghost-%COMP%]   .lang-selector[_ngcontent-%COMP%]{height:44px}[_nghost-%COMP%]   .lang-selector[_ngcontent-%COMP%]:hover   .hovered[_ngcontent-%COMP%]{position:relative;width:100%;max-width:156px;z-index:200;visibility:visible;pointer-events:auto;transform:translate(-100%,-84px);transition:none}[_nghost-%COMP%]   .lang-selector[_ngcontent-%COMP%]:hover   .hovered[_ngcontent-%COMP%]     .wrapper{margin-right:8px}[_nghost-%COMP%]   .lang-selector.not-auth[_ngcontent-%COMP%]{display:flex;gap:6px;color:#5e5e5e;height:20px;width:44px;align-items:center;margin-right:16px;cursor:pointer}[_nghost-%COMP%]   .lang-selector.not-auth[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-weight:500;text-transform:uppercase}[_nghost-%COMP%]   .lang-selector.not-auth[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%]{min-width:16px}[_nghost-%COMP%]   .lang-selector.not-auth[_ngcontent-%COMP%]   .hovered[_ngcontent-%COMP%]{position:relative;transform:translate(-106px,80px);max-width:148px;min-width:148px}[_nghost-%COMP%]   .lang-selector.not-auth[_ngcontent-%COMP%]:hover{position:relative}[_nghost-%COMP%]   .lang-selector.not-auth[_ngcontent-%COMP%]:hover   .hovered[_ngcontent-%COMP%]{z-index:200;visibility:visible;pointer-events:auto;transition:none}[_nghost-%COMP%]   .lang-selector.not-auth[_ngcontent-%COMP%]:hover   .hovered[_ngcontent-%COMP%]     .wrapper{margin-top:18px}[_nghost-%COMP%]   .mobile-language-selector[_ngcontent-%COMP%]{display:flex;justify-content:center;justify-self:center;align-items:center;gap:6px;width:296px;border-radius:8px;height:52px;margin-top:8px;background-color:var(--gray-200, #F7F6F5);color:#5e5e5e;font-weight:500;cursor:pointer}[_nghost-%COMP%]   .mobile-language-selector.not-auth[_ngcontent-%COMP%]{margin-top:24px}.nav-toggle[_ngcontent-%COMP%]{outline:none;border:none;padding:0;display:inline-flex;align-self:center;border-radius:4px;background-color:inherit}@media (min-width: 992px){.nav-toggle[_ngcontent-%COMP%]{display:none}}.nav-toggle[_ngcontent-%COMP%]:not(.active){color:#8c8c8c}.nav-toggle[_ngcontent-%COMP%]:active, .nav-toggle.active[_ngcontent-%COMP%]{color:#4182aa}.nav-toggle-dropdown[_ngcontent-%COMP%]{position:absolute;
17left:-100%;top:0;background:#FAFAFA;border-radius:0 0 4px 4px;width:100%;max-width:494px;transition:.2s ease-out;z-index:-1}@media (min-width: 768px) and (max-width: 991.98px){.nav-toggle-dropdown[_ngcontent-%COMP%]{background:#FFFFFF}.nav-toggle-dropdown.active[_ngcontent-%COMP%]{transition:.25s ease-out;left:0;z-index:100}}.nav-toggle-dropdown[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:#fafafa;padding:4px 8px;display:flex;justify-content:flex-end}.logoEn[_ngcontent-%COMP%]:active, .logo[_ngcontent-%COMP%]:active{margin-top:5px}.mobile-sign-in[_ngcontent-%COMP%]{outline:0;border:0;padding:0;background-color:inherit;border-radius:4px;width:44px;height:44px}.mobile-sign-in[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{height:28px;width:28px;border-radius:50%}.mobile-sign-in[_ngcontent-%COMP%]:not(.active)   svg[_ngcontent-%COMP%]{border:2px solid #B0B0B0}.mobile-sign-in.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .mobile-sign-in[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%]{border:2px solid #4182AA}.mobile-sign-in.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .avatar-background[_ngcontent-%COMP%], .mobile-sign-in[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%]   .avatar-background[_ngcontent-%COMP%]{fill:#deeff9}.mobile-sign-in.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .user-body[_ngcontent-%COMP%], .mobile-sign-in[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%]   .user-body[_ngcontent-%COMP%]{fill:#4182aa}.md-sign-in[_ngcontent-%COMP%]{outline:0;border:0;padding:10px;background-color:inherit;border-radius:4px}.md-sign-in[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{height:28px;width:28px;border-radius:50%}.md-sign-in[_ngcontent-%COMP%]:not(.active)   svg[_ngcontent-%COMP%]{border:2px solid #B0B0B0}.md-sign-in.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .md-sign-in[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%]{border:2px solid #4182AA}.md-sign-in.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .avatar-background[_ngcontent-%COMP%], .md-sign-in[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%]   .avatar-background[_ngcontent-%COMP%]{fill:#deeff9}.md-sign-in.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .user-body[_ngcontent-%COMP%], .md-sign-in[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%]   .user-body[_ngcontent-%COMP%]{fill:#4182aa}.avatar-dropdown-sing-in[_ngcontent-%COMP%]{position:absolute;top:calc(100% + 8px);right:0;width:312px;z-index:100}.avatar-dropdown-sing-in[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{min-width:204px;background-color:#fff;padding:16px 0;display:grid;gap:16px;margin-top:2px;border-radius:4px;box-shadow:0 0 16px #6c92a966}.avatar-dropdown-sing-in[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:20px;line-height:24px;font-weight:500;text-decoration:none;color:#4182aa;display:block;padding:12px 24px}.avatar-dropdown-sing-in[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .avatar-dropdown-sing-in[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active{color:#023d67;background:#F4F4F4}.mobile-container[_ngcontent-%COMP%]{overflow:hidden;border-radius:24px 24px 0 0;position:absolute;left:0;width:100%;bottom:100%;max-height:0;background-color:#fff;opacity:0;-webkit-user-select:none;user-select:none;pointer-events:none;animation:.2s ease-out _ngcontent-%COMP%_mobile-down}.mobile-container.active[_ngcontent-%COMP%]{z-index:100;display:block;max-height:-moz-fit-content;max-height:fit-content;opacity:1;pointer-events:auto;animation:.25s ease-out _ngcontent-%COMP%_mobile-up}.mobile-container[_ngcontent-%COMP%]   .mobile-container-top[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;background-color:#fafafa}.mobile-container[_ngcontent-%COMP%]   .mobile-container-top[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{outline:0;border:0;padding:0;background-color:inherit}@media (max-width: 767.98px){.mobile-container[_ngcontent-%COMP%]   .mobile-container-top[_ngcontent-%COMP%]{padding:4px 12px}}@media (min-width: 768px){.mobile-container[_ngcontent-%COMP%]{display:none}}@keyframes _ngcontent-%COMP%_mobile-up{0%{bottom:100%;max-height:0}to{bottom:100%;max-height:var(--mobile-header-content-height)}}@keyframes _ngcontent-%COMP%_mobile-down{0%{bottom:100%;opacity:1;max-height:var(--mobile-header-content-height);padding:0;z-index:100}99%{opacity:1}to{bottom:100%;opacity:0;max-height:0;z-index:-1}}']}),Ft})()},1110:(ct,ce,a)=>{a.d(ce,{T:()=>W,v:()=>G});var e=a(7019),d=a(4412),X=a(1413),x=a(177),O=a(4678);const V=["canvasElement"],p=["svgWrapper"];function $(B,J){if(1&B){const z=e.RV6();e.qSk(),e.joV(),e.j41(0,"button",28),e.bIt("click",function(){e.eBV(z);const U=e.XpG(2);return e.Njj(U.accept())}),e.EFF(1),e.k0s()}if(2&B){const z=e.XpG(2);e.R7$(1),e.JRh(z.language.acceptBtn[z.locale])}}const E=function(B){return{opacity:B}};function s(B,J){if(1&B){const z=e.RV6();e.qex(0),e.j41(1,"canvas",null,2),e.EFF(3," HTML5 canvas tag is not supported by your browser. "),e.k0s(),e.qSk(),e.j41(4,"svg",3,4),e.nI1(6,"async"),e.j41(7,"defs")(8,"mask",5),e.nrm(9,"rect",6)(10,"rect",7),e.k0s()(),e.nrm(11,"rect",8)(12,"use",9)(13,"rect",10)(14,"rect",11)(15,"rect",10)(16,"rect",11),e.j41(17,"g",12),e.nrm(18,"rect",13)(19,"path",14),e.k0s(),e.j41(20,"g",15),e.nrm(21,"rect",13)(22,"path",16),e.k0s(),e.j41(23,"g",12),e.nrm(24,"rect",13)(25,"path",17),e.k0s(),e.j41(26,"g",15),e.nrm(27,"rect",13)(28,"path",18),e.k0s()(),e.joV(),e.j41(29,"button",19),e.bIt("click",function(){e.eBV(z);const U=e.XpG();return e.Njj(U.params.close())}),e.qSk(),e.j41(30,"svg",20),e.nrm(31,"line",21)(32,"line",22),e.k0s(),e.j41(33,"svg",23),e.nrm(34,"circle",24)(35,"line",25)(36,"line",26),e.k0s()(),e.DNE(37,$,2,1,"button",27),e.bVm()}if(2&B){const z=e.XpG();e.R7$(4),e.Y8G("ngStyle",e.eq3(6,E,!0===e.bMT(6,4,z.params.data.loaded)?1:0)),e.R7$(6),e.BMQ("x",z.segmentPos.x)("y",z.segmentPos.y),e.R7$(27),e.Y8G("ngIf",z.isModified)}}function I(B,J){if(1&B){const z=e.RV6();e.j41(0,"div",29)(1,"button",30),e.bIt("click",function(){e.eBV(z);const U=e.XpG();return e.Njj(U.params.close())}),e.qSk(),e.j41(2,"svg",31),e.nrm(3,"line",32)(4,"line",33),e.k0s()(),e.joV(),e.j41(5,"div",34),e.EFF(6),e.k0s(),e.j41(7,"div",35),e.EFF(8),e.k0s(),e.j41(9,"div",36),e.EFF(10),e.k0s(),e.j41(11,"button",37),e.bIt("click",function(){e.eBV(z);const U=e.XpG();return e.Njj(U.params.close())}),e.EFF(12),e.k0s()()}if(2&B){const z=e.XpG();e.R7$(6),e.JRh(z.language.error.title[z.locale]),e.R7$(2),e.JRh(z.language.error.message[z.locale]),e.R7$(2),e.JRh(z.language.error.subText[z.locale]),e.R7$(2),e.SpI(" ",z.language.error.agreeBtn[z.locale]," ")}}class W{constructor(J,z){this.imageSrc=J,this.cropCoordinates=z,this.imageData="",this.loaded=new d.t(!1),this.onloadError=ne
17w d.t(!1),this.image=new Image,this.image.crossOrigin="anonymous",this.image.onload=()=>this.loaded.next(!0),this.image.onerror=()=>this.onloadError.next(!0),this.image.src=J}}let G=(()=>{var B;class J{constructor(w,U,Z,H){this.renderer=w,this.element=U,this.backdrop=Z,this.locale=H,this.unsubscriber=new X.B,this.imageSize={w:0,h:0},this.isModified=!1,this.segmentPos={y:24,x:24,offsetX:0,offsetY:0},this.language={acceptBtn:{ru:"\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c",en:"Accept",es:"Aceptar"},error:{title:{ru:"\u0423\u043f\u0441!",en:"Oops!",es:"\xa1Ups!"},message:{ru:"\u041a\u0440\u043e\u043f \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0434\u043b\u044f \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u043f\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0441\u0441\u044b\u043b\u043a\u0430\u043c",en:"Cropping is not available for images from some links",es:"El recorte no est\xe1 disponible para im\xe1genes de algunos enlaces"},subText:{ru:"\u0421\u043a\u043e\u0440\u043e \u043c\u044b \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0435\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043c, \u0430 \u043f\u043e\u043a\u0430 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0439\u0442\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u0441 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430 \u0438\u043b\u0438 \u0438\u0437 \u0431\u0443\u0444\u0435\u0440\u0430 \u043e\u0431\u043c\u0435\u043d\u0430",en:"We will be adding this feature soon, but for now, please use an image from your computer or paste it from your clipboard",es:"A\xf1adiremos esta funci\xf3n pronto, pero por ahora, por favor usa una imagen de tu computadora o p\xe9gala desde tu portapapeles"},agreeBtn:{ru:"\u0425\u043e\u0440\u043e\u0448\u043e",en:"OK",es:"OK"}}},this.elResized=!1,this.resizeObserver=new ResizeObserver(()=>{this.initSegment(),this.elResized?this.isModified=!0:this.elResized=!0})}ngOnInit(){this.renderer.appendChild(this.backdrop.backdropEl,this.element.nativeElement),this.backdrop.enableAnimate=!0,this.backdrop.backdrop(!0,75,".1s ease-out",".1s ease-out",!0,200,{display:"grid"}),this.backdrop.changeDelay(this.unsubscriber).subscribe(()=>this.component.destroy())}triggerDirection(w="north",U){const Z=this.getSvgSegments(),H=this.canvas.nativeElement.getBoundingClientRect(),j=Z.use.getBoundingClientRect();let F=new DOMPoint(U.pageX,U.pageY);const ue=new DOMMatrix([1,0,0,1,H.left,H.top]);switch(F=F.matrixTransform(ue.inverse()),w){case"east":if((j.left-H.left>=10||U.pageX-j.left>0)&&(j.width>80||U.pageX<j.left)){const ae=j.right;Z.maskRects[1].setAttribute("x",`${F.x}`),Z.maskRects[1].setAttribute("width",""+(j.width<=80&&U.pageX-j.left>0?80:ae-U.pageX))}break;case"north":if((H.top-j.top<=-10||U.pageY-j.top>0)&&(j.height>80||U.pageY-j.top<0)){const ae=j.bottom;Z.maskRects[1].setAttribute("y",`${F.y}`),Z.maskRects[1].setAttribute("height",""+(ae-U.pageY<=80?80:ae-U.pageY))}break;case"south":(H.bottom-j.bottom>=10||j.bottom-U.pageY>0)&&Z.maskRects[1].setAttribute("height",""+(U.pageY-j.top<=80?80:U.pageY-j.top));break;case"west":(H.right-j.right>=10||U.pageX<j.right)&&(j.width>80||U.pageX-j.right>0)&&Z.maskRects[1].setAttribute("width",""+(U.pageX-j.left))}}initMoveDrag(w){const U=this.getSvgSegments();if(this.activeElement===U.use){const Z=U.use.getBoundingClientRect(),H=U.svg.getBoundingClientRect();let j=new DOMPoint(w.pageX,w.pageY);const F=new DOMMatrix([1,0,0,1,H.left,H.top]);j=j.matrixTransform(F.inverse());let ue=j.x-this.segmentPos.offsetX<=10?10+this.segmentPos.offsetX:j.x;j.x-this.segmentPos.offsetX+Z.width>=H.width-10&&(ue=H.width-Z.width-10+this.segmentPos.offsetX);let ae=j.y-this.segmentPos.offsetY<=10?10+this.segmentPos.offsetY:j.y;j.y-this.segmentPos.offsetY+Z.height>=H.height-10&&(ae=H.height-Z.height-10+this.segmentPos.offsetY),this.segmentPos.x=ue-this.segmentPos.offsetX,this.segmentPos.y=ae-this.segmentPos.offsetY}this.activeElement===U.s&&this.triggerDirection("south",w),this.activeElement===U.n&&this.triggerDirection("north",w),this.activeElement===U.e&&this.triggerDirection("east",w),this.activeElement===U.w&&this.triggerDirection("west",w),this.activeElement?.parentElement===U.neGroup&&(this.triggerDirection("north",w),this.triggerDirection("west",w)),this.activeElement?.parentElement===U.nwGroup&&(this.triggerDirection("north",w),this.triggerDirection("east",w)),this.activeElement?.parentElement===U.swGroup&&(this.triggerDirection("south",w),this.triggerDirection("east",w)),this.activeElement?.parentElement===U.seGroup&&(this.triggerDirection("south",w),this.triggerDirection("west",w)),requestAnimationFrame(()=>this.redrawCorners()),this.isModified=!0}initSegment(){const w=this.getSvgSegments(),U=this.canvas.nativeElement;this.imageSize.h=innerWidth<992?innerHeight-152:innerHeight,this.imageSize.w=innerWidth>=992&&innerWidth<1200?552:innerWidth<992?innerWidth-90:730;const Z=this.params.data.image;
17Z.naturalWidth>=Z.naturalHeight&&(this.imageSize.h=this.imageSize.w/Z.naturalWidth*Z.naturalHeight,Z.setAttribute("height",this.imageSize.h+"px"),Z.setAttribute("width",this.imageSize.w+"px")),Z.naturalHeight>Z.naturalWidth&&(this.imageSize.w=this.imageSize.h/Z.naturalHeight*Z.naturalWidth,Z.setAttribute("height",this.imageSize.h+"px"),Z.setAttribute("width",this.imageSize.w+"px")),this.ctx.clearRect(0,0,this.imageSize.w,this.imageSize.h),U.setAttribute("width",`${this.imageSize.w}`),U.setAttribute("height",`${this.imageSize.h}`),this.ctx.drawImage(this.params.data.image,0,0,this.imageSize.w,this.imageSize.h);const H=U.getBoundingClientRect(),j=w.maskRects[1];w.svg.setAttribute("width",`${H.width}`),w.svg.setAttribute("height",`${H.height}`),w.maskRects[0].setAttribute("width",`${H.width}`),w.maskRects[0].setAttribute("height",`${H.height}`),j.setAttribute("x","24"),j.setAttribute("y","24"),j.setAttribute("width",""+(H.width-48)),j.setAttribute("height",""+(H.height-48)),w.nwGroup.setAttribute("transform","translate(24, 24)"),w.seGroup.setAttribute("transform",`translate(${H.width-56}, ${H.height-56})`),w.neGroup.setAttribute("transform",`translate(${H.width-56}, 24)`),w.swGroup.setAttribute("transform",`translate(24, ${H.height-56})`);const F=j.getBoundingClientRect();w.n.setAttribute("width",`${F.width}`),w.n.setAttribute("y","14"),w.s.setAttribute("y",""+(H.height-34)),w.s.setAttribute("width",`${F.width}`),w.w.setAttribute("height",`${F.height}`),w.w.setAttribute("x",""+(H.width-34)),w.e.setAttribute("height",`${F.height}`),w.e.setAttribute("x","14");const ue=this.params.data.cropCoordinates;let ae=new DOMPoint(ue?ue.x:0,ue?ue.y:0);const N=new DOMMatrix([1,0,0,1,ae.x,ae.y]);ae=ae.matrixTransform(N),ae.x>0&&ae.y>0&&(this.segmentPos.x=this.params.data.cropCoordinates.x,this.segmentPos.y=this.params.data.cropCoordinates.y,j.setAttribute("x",`${this.segmentPos.x}`),j.setAttribute("y",`${this.segmentPos.y}`),j.setAttribute("height",`${this.params.data.cropCoordinates.h}`),j.setAttribute("width",`${this.params.data.cropCoordinates.w}`)),this.redrawCorners()}getSvgSegments(){const w=this.svg.nativeElement,U=w.querySelectorAll("#mask rect"),Z=w.querySelectorAll(".nwse-direction"),H=w.querySelectorAll(".nesw-direction"),j=w.querySelectorAll(".ns-segment")[0],F=w.querySelectorAll(".ns-segment")[1],ue=w.querySelectorAll(".ew-segment")[0],ae=w.querySelectorAll(".ew-segment")[1],N=w.querySelector("use");return{svg:w,maskRects:U,nwGroup:Z[0],seGroup:Z[1],neGroup:H[1],swGroup:H[0],n:j,s:F,w:ue,e:ae,use:N}}redrawCorners(){const w=this.getSvgSegments(),U=w.use.getBoundingClientRect(),Z=w.svg.getBoundingClientRect(),H={x:U.left-Z.left,y:U.top-Z.top},j=new DOMPoint(H.x,H.y);w.nwGroup.setAttribute("transform",`translate(${j.x}, ${j.y})`),w.seGroup.setAttribute("transform",`translate(${j.x-34+U.width}, ${j.y-34+U.height})`),w.neGroup.setAttribute("transform",`translate(${j.x+U.width-34}, ${j.y})`),w.swGroup.setAttribute("transform",`translate(${j.x}, ${j.y+U.height-34})`),w.n.setAttribute("width",""+(U.width-73)),w.n.setAttribute("x",`${j.x+38}`),w.n.setAttribute("y",""+(j.y-10)),w.s.setAttribute("width",""+(U.width-73)),w.s.setAttribute("x",`${j.x+38}`),w.s.setAttribute("y",`${j.y-10+U.height}`),w.w.setAttribute("height",""+(U.height-73)),w.w.setAttribute("x",""+(j.x+U.width-10)),w.w.setAttribute("y",`${j.y+38}`),w.e.setAttribute("height",""+(U.height-73)),w.e.setAttribute("x",""+(j.x-10)),w.e.setAttribute("y",`${j.y+38}`)}accept(){const w=this.getSvgSegments().use.getBoundingClientRect(),U=this.canvas.nativeElement.getBoundingClientRect(),Z=document.createElement("canvas"),H=this.imageSize.w/U.width,j=this.imageSize.h/U.height,F=new DOMPoint(w.left-U.left,w.top-U.top),ue=j>=1?F.x*H:F.x/H,ae=j>=1?F.y*H:F.y/H;Z.setAttribute("height",""+w.height*H),Z.setAttribute("width",""+w.width*j),Z.getContext("2d",{alpha:!1}).putImageData(this.ctx.getImageData(ue,ae,w.width*H,w.height*j),0,0),this.params.data.imageData=Z.toDataURL(),this.params.data.cropCoordinates={x:F.x,y:F.y,w:w.width,h:w.height},this.params.callback(this.params.data)}ngAfterViewInit(){this.params.data.onloadError.value||(this.resizeObserver.observe(this.element.nativeElement),this.ctx=this.canvas.nativeElement.getContext("2d"),this.initSegment(),this.svg.nativeElement.addEventListener("pointerup",()=>{this.backdrop.preventClose=!1,this.activeElement=void 0}),this.svg.nativeElement.addEventListener("pointerdown",w=>{if(w.preventDefault(),this.backdrop.preventClose=!0,this.activeElement=w.target,this.activeElement===this.getSvgSegments().use){const U=this.getSvgSegments().use.getBoundingClientRect();this.segmentPos.offsetX=w.pageX-U.left,this.segmentPos.offsetY=w.pageY-U.top}}),this.svg.nativeElement.addEventListener("pointermove",w=>{w.preventDefault(),w.stopPropagation(),this.backdrop.preventClose&&requestAnimationFrame(()=>this.initMoveDrag(w))}))}ngOnDestroy(){this.resizeObserver.unobserve(this.element.nativeElement),this.unsubscriber.next()}}return(B=J).\u0275fac=function(w){return new(w||B)(e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(O.u),e.rXU(e.xe9))},B.\u0275cmp=e.VBU({type:B,selectors:[["app-image-crop"]],viewQuery:function(w,U){if(1&w&&(e.GBs(V,5),e.GBs(p,5)),2&w){let Z;e.mGM(Z=e.lsd())&&(U.canvas=Z.first),e.mGM(Z=e.lsd())&&(U.svg=Z.first)}},standalone:!0,features:[e.aNF],decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["error",""],["canvasElement",""],["xmlns","http://www.w3.org/2000/svg",1,"svg-wrapper",3,"ngStyle"],["svgWrapper",""],["id","mask"],["fill","#fff","height","0","rx","8","width","0","x","0","y","0"],["height","0","id","segment","rx","8","width","0",2,"min-width","80px","min-height","80px"],["height","100%","mask","url(#mask)","width","100%","rx","8",2,"fill","rgba(0, 0, 0, 0.3)"],["fill","rgba(0,0,0,0)","href","#segment","stroke","#B0B0B0","stroke-width","1",2,"cursor","move"],["fill","rgba(0,0,0,0)","height","20","stroke","none","width","0","x","14","y","14",1,"ns-segment",2,"cursor","ns-resize"],["fill","rgba(0,0,0,0)","height","0","stroke","none","width","20","x","14","y","14",1,"ew-segment",2,"cursor","ew-resize"],[1,"nesw-direction",2,"cursor","nesw-resize"],["fill","rgba(0,0,0,0)","stroke","none","height","32","width","32"],["d","M-5,0 C-5,45 -5,39 32,39","stroke","white","stroke-width","8","fill","none","stroke-linecap","square"],[1,"nwse-direction",2,"cursor","nwse-resize"],["d","M-5,32 C-5,-9 -5,-5 32,-5","stroke","white","stroke-width","8","fill","none","stroke-linecap","square"],["d","M0,-5 C45,-5 39,-5 39,32","stroke","white","stroke-width","8","fill","none","stroke-linecap","square"],["d","M0,39 C45,39 39,39 39,0","stroke","white","stroke-width","8","fill","none","stroke-linecap","square"],[1,"close",3,"click"],["width","36","height","36","viewBox","0 0 36 36","fill","none","xmlns","http://www.w3.org/2000/svg",1,"desktop"],["x1","1","y1","35","x2","35","y2","1","stroke","#D0D0D0","stroke-width","2","stroke-linecap","round"],["x1","1","y1","1","x2","35","y2","35","stroke","#D0D0D0","stroke-width","2","stroke-linecap","round"],["width","44","height","44","viewBox","0 0 44 44","fill","none","xmlns","http://www.w3.org/2000/svg",1,"mobile"],["cx","22","cy","22","r","20","fill","black","fill-opacity","0.3"],["x1","16","y1","28","x2","28","y2","16","stroke","#F7F7F7","stroke-width","3","stroke-linecap","round"],["x1","16","y1","16","x2","28","y2","28","stroke","#F7F7F7","stroke-width","3","stroke-linecap","round"],["class","crop",3,"click",4,"ngIf"],[1,"crop",3,"click"],[1,"error"],[1,"error-close",3,"click"],["width","44","height","44","viewBox","0 0 44 44","fill","none","xmlns","http://www.w3.org/2000/svg"],["x1","16","y1","28","x2","28","y2","16","stroke","currentColor","stroke-width","2","stroke-linecap","round"],["x1","16","y1","16","x2","28","y2","28","stroke","currentColor","stroke-width","2","stroke-linecap","round"],[1,"error-title"],[1,"error-message"],[1,"error-sub-text"],[1,"agree",3,"click"]],template:function(w,U){if(1&w&&(e.DNE(0,s,38,8,"ng-container",0),e.nI1(1,"async"),e.DNE(2,I,13,4,"ng-template",null,1,e.C5r)),2&w){const Z=e.sdS(3);e.Y8G("ngIf",!e.bMT(1,2,U.params.data.onloadError))("ngIfElse",Z)}},dependencies:[x.MD,x.bT,x.B3,x.Jj],styles:["[_nghost-%COMP%]{display:inline-grid;max-height:100vh;position:relative;border-radius:8px;place-self:center}@media (min-width: 1200px){[_nghost-%COMP%]{max-width:730px}}@media (min-width: 992px) and (max-width: 1199.98px){[_nghost-%COMP%]{max-width:552px}}@media (max-width: 991.98px){[_nghost-%COMP%]{margin-top:64px;max-width:calc(100vw - 90px);max-height:calc(100vh - 152px)}}canvas[_ngcontent-%COMP%]{max-height:inherit;max-width:inherit;border-radius:8px;background-color:#fff}.svg-wrapper[_ngcontent-%COMP%]{position:absolute;inset:0;border-radius:8px}.crop[_ngcontent-%COMP%]{font-size:20px;line-height:24px;font-weight:500;color:#fff;display:inline-grid;place-items:center;position:absolute;border-radius:40px;background-color:#5e5e5ecc;z-index:210}@media (min-width: 992px){.crop[_ngcontent-%COMP%]{width:167px;height:60px;left:calc(100% + 24px);align-self:center}}@media (max-width: 991.98px){.crop[_ngcontent-%COMP%]{width:191px;height:44px;top:calc(100% + 10px);justify-self:center}}@media (hover: hover) and (pointer: fine){.crop[_ngcontent-%COMP%]:hover{background-color:#000c}}.crop[_ngcontent-%COMP%]:active{background-color:#000c}.close[_ngcontent-%COMP%]{display:inline-grid;z-index:210}@media (min-width: 992px){.close[_ngcontent-%COMP%]{height:36px;width:36px;top:48px;right:48px;position:fixed}.close[_ngcontent-%COMP%]   .mobile[_ngcontent-%COMP%]{display:none;pointer-events:none}}@media (max-width: 991.98px){.close[_ngcontent-%COMP%]{position:absolute;height:44px;width:44px;bottom:calc(100% + 10px);justify-self:center;place-items:center}.close[_ngcontent-%COMP%]   .desktop[_ngcontent-%COMP%]{display:none;pointer-events:none}}.error[_ngcontent-%COMP%]{background-color:#fff;border-radius:8px;box-shadow:0 0 16px #6c92a966;display:inline-grid;
17gap:24px;height:-moz-fit-content;height:fit-content;position:relative;padding:48px}@media (max-width: 575.98px){.error[_ngcontent-%COMP%]{max-width:320px}}@media (min-width: 576px){.error[_ngcontent-%COMP%]{max-width:360px}}.error-title[_ngcontent-%COMP%]{color:#000;font-size:24px;line-height:36px;font-weight:500}.error-message[_ngcontent-%COMP%]{color:#000;font-size:16px;line-height:24px;font-weight:500}.error-sub-text[_ngcontent-%COMP%]{color:#373737;font-size:14px;line-height:21px}.error[_ngcontent-%COMP%]   button.agree[_ngcontent-%COMP%]{color:#fff;background-color:#4182aa;padding:10px 24px;border-radius:4px;font-size:16px;line-height:20px;font-weight:500;width:-moz-fit-content;width:fit-content}@media (hover: hover) and (pointer: fine){.error[_ngcontent-%COMP%]   button.agree[_ngcontent-%COMP%]:hover{transition:.1s ease-in;background-color:#125884}}.error[_ngcontent-%COMP%]   button.agree[_ngcontent-%COMP%]:active{transition:.1s ease-in;background-color:#125884}.error[_ngcontent-%COMP%]   button.error-close[_ngcontent-%COMP%]{position:absolute;right:4px;top:4px;display:inline-flex;height:-moz-fit-content;height:fit-content;color:#8c8c8c}@media (hover: hover) and (pointer: fine){.error[_ngcontent-%COMP%]   button.error-close[_ngcontent-%COMP%]:hover{transition:.1s ease-in;color:#373737}}.error[_ngcontent-%COMP%]   button.error-close[_ngcontent-%COMP%]:active{transition:.1s ease-in;color:#373737}button[_ngcontent-%COMP%]{outline:none;border:none;background-color:inherit;padding:0;white-space:nowrap}"]}),J})()},3532:(ct,ce,a)=>{a.d(ce,{t:()=>V});var e=a(7019),d=a(3587),X=a(1413),x=a(177);function O(p,$){if(1&p){const E=e.RV6();e.qex(0),e.j41(1,"div",3),e.bIt("click",function(){const W=e.eBV(E).$implicit,G=e.XpG();return e.Njj(G.select(W.lang))}),e.j41(2,"span"),e.EFF(3),e.k0s(),e.EFF(4),e.k0s(),e.bVm()}if(2&p){const E=$.$implicit,s=e.XpG();e.R7$(1),e.AVh("active",E.lang===s.locale),e.R7$(2),e.JRh(E.lang.toUpperCase()),e.R7$(1),e.SpI(" - ",E.title," ")}}let V=(()=>{var p;class ${constructor(){this.languageSelectorService=(0,e.WQX)(d.z),this.el=(0,e.WQX)(e.aKT),this.locale=(0,e.WQX)(e.xe9),this.title={ru:"\u042f\u0437\u044b\u043a",es:"Idioma",en:"Language"},this.destroyMe=new X.B,this.mobile=!1}clicked(s){s.target===this.el.nativeElement&&this.destroyMe.next()}select(s){s!==this.languageSelectorService.currentLang?this.languageSelectorService.changeLang(s):this.destroyMe.next()}ngAfterViewInit(){this.mobile&&this.el.nativeElement.classList.add("mobile")}}return(p=$).\u0275fac=function(s){return new(s||p)},p.\u0275cmp=e.VBU({type:p,selectors:[["app-language-selector"]],hostBindings:function(s,I){1&s&&e.bIt("click",function(G){return I.clicked(G)})},standalone:!0,features:[e.aNF],decls:4,vars:2,consts:[[1,"wrapper"],[1,"title"],[4,"ngFor","ngForOf"],[1,"selector",3,"click"]],template:function(s,I){1&s&&(e.j41(0,"div",0)(1,"div",1),e.EFF(2),e.k0s(),e.DNE(3,O,5,4,"ng-container",2),e.k0s()),2&s&&(e.R7$(2),e.JRh(I.title[I.locale]),e.R7$(1),e.Y8G("ngForOf",I.languageSelectorService.selectors))},dependencies:[x.MD,x.Sq],styles:["[_nghost-%COMP%]{display:grid;visibility:hidden;pointer-events:none;z-index:-1}.mobile[_nghost-%COMP%]{background-color:#0000004d;place-items:center;position:fixed;visibility:visible;pointer-events:auto;inset:0;z-index:200;transition:.2s ease-out}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:inline-grid;grid-auto-flow:row;box-shadow:0 0 16px #6c92a966;border-radius:12px;background-color:var(--gray-0, #FFF);width:100%}@media (min-width: 768px){[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]{padding:8px;gap:4px;max-width:148px}}@media (max-width: 767.98px){[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]{padding:24px;gap:8px;max-width:254px}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin-bottom:4px}}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:var(--gray-700, #92908C);font-size:14px;line-height:16px;padding:8px 12px;-webkit-user-select:none;user-select:none;cursor:default}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .selector[_ngcontent-%COMP%]{display:flex;align-items:center;border-radius:8px;color:#423f3c;white-space:break-spaces;font-weight:500;-webkit-user-select:none;user-select:none}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .selector[_ngcontent-%COMP%]:not(.active):hover{transition:.2s ease-out;background-color:#afa8a01f;color:#1b1916;cursor:pointer}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .selector.active[_ngcontent-%COMP%]{background-color:#c2e7ff;color:#014b7a}@media (min-width: 768px){[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .selector[_ngcontent-%COMP%]{padding:8px 12px;
17height:36px}}@media (max-width: 767.98px){[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .selector[_ngcontent-%COMP%]{padding:10px 16px;height:44px}}"]}),$})()},4173:(ct,ce,a)=>{a.d(ce,{B:()=>I});var e=a(7019),d=a(2128),X=a(2415),x=a(9969),O=a(177),V=a(1180),p=a(9079);function $(W,G){if(1&W){const B=e.RV6();e.qex(0),e.j41(1,"div",2),e.eu8(2,3),e.j41(3,"app-close-button",4),e.bIt("buttonClick",function(){e.eBV(B);const z=e.XpG();return e.Njj(z.close())}),e.k0s()(),e.j41(4,"div",5),e.eu8(5,3),e.k0s(),e.bVm()}if(2&W){const B=e.XpG();e.R7$(2),e.Y8G("ngTemplateOutlet",B.data.headerTemplate),e.R7$(3),e.Y8G("ngTemplateOutlet",B.data.template)}}const E=function(W){return{value:"",params:W}};let s=(()=>{var W;class G{constructor(){this.el=(0,e.WQX)(e.aKT),this.destroyRef=(0,e.WQX)(e.abz),this.renderer=(0,e.WQX)(e.sFG),this.doc=(0,e.WQX)(O.qQ),this.platformId=(0,e.WQX)(e.Agw),this.navigationEndStream=(0,e.WQX)(V.NC),this.backdrop=(0,e.WQX)(d.v),this.modalService=(0,e.WQX)(I),this.data=null,this.animate=!0}clicked(J){this.el.nativeElement===J.target&&this.close()}ngOnInit(){this.navigationEndStream.pipe((0,p.pQ)(this.destroyRef)).subscribe(()=>this.close()),this.data.hostStyles&&Object.keys(this.data.hostStyles).forEach(J=>{this.renderer.setStyle(this.el,J,this.data.hostStyles[J])}),this.data?.preventScroll&&(this.doc.body.style.overflow="hidden"),this.destroyRef.onDestroy(()=>{this.doc.body.style.overflow=""})}getAnimParams(){return(0,O.UE)(this.platformId)?{verticalTransform:window.matchMedia("(max-width: 767.98px)").matches?"translateY(100%)":"none"}:{verticalTransform:"none"}}close(){this.modalService.destroy(this)}}return(W=G).\u0275fac=function(J){return new(J||W)},W.\u0275cmp=e.VBU({type:W,selectors:[["app-modal"]],hostVars:1,hostBindings:function(J,z){1&J&&e.bIt("click",function(U){return z.clicked(U)}),2&J&&e.zvX("@hostAnimation",z.animate)},standalone:!0,features:[e.aNF],decls:2,vars:5,consts:[[1,"wrapper",3,"ngStyle"],[4,"ngIf"],[1,"header"],[3,"ngTemplateOutlet"],[3,"buttonClick"],[1,"content"]],template:function(J,z){1&J&&(e.j41(0,"div",0),e.DNE(1,$,6,2,"ng-container",1),e.k0s()),2&J&&(e.Y8G("@wrapperAnimation",e.eq3(3,E,z.getAnimParams()))("ngStyle",z.data.styles),e.R7$(1),e.Y8G("ngIf",z.data))},dependencies:[X.o,O.T3,O.B3,O.bT],styles:["[_nghost-%COMP%]{display:grid;background-color:var(--n-500);position:fixed;top:0;left:0;width:100%;height:100vh;height:100dvh;overscroll-behavior:contain;z-index:225;will-change:opacity}@media (min-width: 768px){[_nghost-%COMP%]{place-items:start center;padding-top:12vh;padding-bottom:80px;padding-left:48px;padding-right:48px;overflow-y:auto}}@media (max-width: 767.98px){[_nghost-%COMP%]{padding-top:30px;grid-template-columns:1fr;place-items:end center}}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]{background-color:var(--gray-000);position:relative;width:100%;display:flex;flex-direction:column;will-change:transform}@media (min-width: 768px){[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]{border-radius:24px}}@media (max-width: 767.98px){[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]{border-radius:24px 24px 0 0;max-width:100%!important;max-height:calc(100vh - 30px);max-height:calc(100dvh - 30px)}}@media (pointer: coarse){[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-close-button[_ngcontent-%COMP%]{top:4px;right:4px}}@media (pointer: fine){[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-close-button[_ngcontent-%COMP%]{top:24px;right:24px}}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-close-button[_ngcontent-%COMP%]{position:absolute;z-index:1}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;flex:0 0 auto;min-height:48px;padding-right:56px;border-radius:24px 24px 0 0;line-height:1.25}@media (min-width: 768px){[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{padding-left:48px;padding-top:24px;padding-bottom:12px}}@media (max-width: 767.98px){[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{padding-left:24px;padding-top:16px;padding-bottom:12px}}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{flex:1 1 auto;min-height:0;border-radius:0 0 24px 24px}@media (min-width: 768px){[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{padding:0 48px 48px}}@media (max-width: 767.98px){[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{padding:0 24px 48px;overflow-y:auto}}"],data:{animation:[(0,x.hZ)("hostAnimation",[(0,x.kY)(":enter",(0,x.K2)([(0,x.iF)({opacity:0}
17),(0,x.i0)("100ms ease-out",(0,x.iF)({opacity:1})),(0,x.P)(".wrapper",(0,x.MA)())])),(0,x.kY)(":leave",(0,x.K2)([(0,x.P)(".wrapper",(0,x.MA)()),(0,x.i0)("100ms ease-in",(0,x.iF)({opacity:0}))]))]),(0,x.hZ)("wrapperAnimation",[(0,x.kY)(":enter",[(0,x.iF)({transform:"{{ verticalTransform }}"}),(0,x.i0)("250ms ease-out",(0,x.iF)({transform:"none"}))],{params:{verticalTransform:"none"}}),(0,x.kY)(":leave",[(0,x.i0)("100ms ease-in",(0,x.iF)({transform:"{{ verticalTransform }}"}))],{params:{verticalTransform:"none"}})])]},changeDetection:0}),G})(),I=(()=>{var W;class G{constructor(){this.modals=[]}open(J){const z=this.viewContainerRef.createComponent(s);return z.instance.data=J,this.modals.push(z),z}closeAll(J=(()=>{})){this.modals.reverse().forEach((z,w)=>{if(z){const U=this.viewContainerRef.indexOf(this.modals[w].hostView);U>=0&&this.viewContainerRef.remove(U)}}),this.modals=[],J()}destroy(J){const z=this.modals.findIndex(w=>w.instance===J);if(z>=0){const w=this.viewContainerRef.indexOf(this.modals[z].hostView);w>=0&&this.viewContainerRef.remove(w),this.modals.splice(z,1)}}}return(W=G).\u0275fac=function(J){return new(J||W)},W.\u0275prov=e.jDH({token:W,factory:W.\u0275fac,providedIn:"root"}),G})()},1636:(ct,ce,a)=>{a.d(ce,{N:()=>Ze});var e=a(7019),d=a(1413),X=a(8810),x=a(5697),O=a(5116),V=a(8035),p=a(8181),$=a(5979),E=a(8207),s=a(647),I=a(3432),W=a(4439),G=a(1180),B=a(710),J=a(6069),z=a(2965),w=a(7163),U=a(4039),Z=a(8830),H=a(1504),j=a(2128),F=a(3812),ue=a(174),ae=a(4247),N=a(5349),te=a(6082),ie=a(9310),re=a(7191);let Ee=(()=>{var Ke;class Vt{transform(Bt){return!Bt||Bt<1e3?Bt:Bt.toString().charAt(0)+"..."}}return(Ke=Vt).\u0275fac=function(Bt){return new(Bt||Ke)},Ke.\u0275pipe=e.EJ8({name:"numberEllipsis",type:Ke,pure:!0,standalone:!0}),Vt})();var Re=a(4173),Mt=a(177),wt=a(430);const At=["bookmarkTemplate"],Et=["bookmarkHeaderTemplate"];function It(Ke,Vt){if(1&Ke&&(e.j41(0,"div",18),e.nrm(1,"app-checkbox-container",19),e.k0s()),2&Ke){const gt=e.XpG();e.R7$(1),e.Y8G("state",gt.selectedState)}}const bt=function(Ke){return{display:Ke}};function st(Ke,Vt){if(1&Ke&&(e.qSk(),e.j41(0,"svg",23),e.nrm(1,"path",24),e.k0s()),2&Ke){const gt=e.XpG(2);e.Y8G("ngStyle",e.eq3(1,bt,gt.isBookmarkLoading()?"none":""))}}function ne(Ke,Vt){if(1&Ke&&e.nrm(0,"app-spinner",25),2&Ke){const gt=e.XpG(2);e.Y8G("height",22)("margin","0 1px")("mainColor",null!=gt.model&&gt.model.is_bookmark?"#FF2D55":"rgba(255, 255, 255, .5)")("mobileBorderColor","#373737")}}const fe=function(Ke,Vt){return{"is-bookmark":Ke,"model-bookmark-desktop":Vt}};function le(Ke,Vt){if(1&Ke){const gt=e.RV6();e.j41(0,"div",20),e.bIt("click",function(){e.eBV(gt);const Je=e.XpG();return e.Njj(Je.toggleBookmark())}),e.nI1(1,"translate"),e.DNE(2,st,2,3,"svg",21),e.DNE(3,ne,1,4,"app-spinner",22),e.k0s()}if(2&Ke){const gt=e.XpG();e.xc7("pointer-events",gt.isBookmarkLoading()?"none":""),e.Y8G("ngClass",e.l_i(9,fe,null==gt.model?null:gt.model.is_bookmark,gt.hideStaticBookmark))("appTooltip",e.bMT(1,7,"model-card.global.favorites"))("tooltipDirection",gt.tooltipDirection.RIGHT),e.R7$(2),e.Y8G("ngIf",!gt.isBookmarkLoading()),e.R7$(1),e.Y8G("ngIf",gt.isBookmarkLoading())}}function Ue(Ke,Vt){if(1&Ke){const gt=e.RV6();e.j41(0,"div",26),e.bIt("click",function(){e.eBV(gt);const Je=e.XpG();return e.Njj(Je.sliderIndicator(Je.sliderIndicatorActive<Je.sliderIndicatorsCount-1?Je.sliderIndicatorActive+1:0))}),e.qSk(),e.j41(1,"svg",27),e.nrm(2,"path",28),e.k0s()()}}const Fe=function(Ke){return{active:Ke}};function nt(Ke,Vt){if(1&Ke){const gt=e.RV6();e.j41(0,"button",31),e.bIt("click",function(){const on=e.eBV(gt).index,On=e.XpG(2);return e.Njj(On.sliderIndicator(on))}),e.nrm(1,"span"),e.k0s()}if(2&Ke){const gt=Vt.index,Bt=e.XpG(2);e.Y8G("ngClass",e.eq3(1,Fe,gt===Bt.sliderIndicatorActive))}}const _t=function(){return[]};function Ge(Ke,Vt){if(1&Ke&&(e.j41(0,"div",29),e.DNE(1,nt,2,3,"button",30),e.k0s()),2&Ke){const gt=e.XpG();e.R7$(1),e.Y8G("ngForOf",e.lJ4(1,_t).constructor(gt.sliderIndicatorsCount))}}function Ct(Ke,Vt){1&Ke&&(e.j41(0,"div",32),e.qSk(),e.j41(1,"svg",33),e.nrm(2,"path",34)(3,"path",35),e.k0s(),e.EFF(4),e.nI1(5,"translate"),e.k0s()),2&Ke&&(e.R7$(4),e.SpI(" ",e.bMT(5,1,"model.global.purchased")," "))}function ze(Ke,Vt){if(1&Ke&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"currencySky"),e.k0s()),2&Ke){const gt=e.XpG(3);e.R7$(1),e.SpI(" ",e.bMT(2,1,gt.sky?null==gt.model?null:gt.model.price_usd:null==gt.model?null:gt.model.price)," ")}}function mt(Ke,Vt){if(1&Ke&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"translate"),e.nI1(3,"translate"),e.DNE(4,ze,3,3,"span",37),e.k0s()),2&Ke){const gt=e.XpG(2);e.R7$(1),e.SpI(" ",gt.cartService.existInCart(null==gt.model?null:gt.model.slug)?e.bMT(2,2,"cart.global.inCart"):e.bMT(3,4,"cart.global.toCart")," "),e.R7$(3),e.Y8G("ngIf",!gt.cartService.existInCart(null==gt.model?null:gt.model.slug))}}function Ot(Ke,Vt){1&Ke&&(e.j41(0,"span",39),e.nrm(1,"app-spinner",40),e.k0s())}const Qe=function(Ke,Vt,gt){return{"model-in-cart":Ke,"model-to-cart":Vt,active:gt}};function yt(Ke,Vt){if(1&Ke){const gt=e.RV6();e.j41(0,"button",36),e.bIt("click",function(){e.eBV(gt);const Je=e.XpG();return e.Njj(Je.addOrDeleteCart(null==Je.model?null:Je.model.slug))}),e.DNE(1,mt,5,6,"span",37),e.DNE(2,Ot,2,0,"span",38),e.k0s()}if(2&Ke){const gt=e.XpG();e.xc7("pointer-events",gt.isCartLoading()?"none":""),e.Y8G("ngClass",e.sMw(5,Qe,gt.cartService.existInCart(null==gt.model?null:gt.model.slug),!gt.cartService.existInCart(null==gt.model?null:gt.model.slug),gt.isCartLoading())),e.R7$(1),e.Y8G("ngIf",!gt.isCartLoading()),e.R7$(1),e.Y8G("ngIf",gt.isCartLoading())}}function ut(Ke,Vt){if(1&Ke&&(e.j41(0,"span",47),e.EFF(1),e.nI1(2,"uppercase"),e.k0s()),2&Ke){const gt=e.XpG(2);e.xc7("color","pro"===(null==gt.model?null:gt.model.model_type)?"#31831F":""),e.Y8G("appTooltip",gt.typeSlugTooltip),e.R7$(1),e.JRh(e.bMT(2,4,null==gt.model?null:gt.model.model_type))}}function ht(Ke,Vt){if(1&Ke&&(e.j41(0,"div",47)(1,"span"),e.EFF(2,"FREE"),e.k0s(),e.qSk(),e.j41(3,"svg",33),e.nrm(4,"path",48)(5,"path",49),e.k0s()()),2&Ke){const gt=e.XpG(2);e.Y8G("appTooltip",gt.typeSlugTooltip)}}function me(Ke,Vt){1&Ke&&(e.qSk(),e.j41(0,"svg",50),e.nI1(1,"translate"),e.nrm(2,"path",51)(3,"path",52),e.k0s()),2&Ke&&e.Y8G("appTooltip",e.bMT(1,1,"global.global.createdByAi"))}function et(Ke,Vt){if(1&Ke&&(e.j41(0,"div",53),e.qSk(),e.j41(1,"svg",33),e.nrm(2,"path",54),e.k0s(),e.joV(),e.j41(3,"span",55),e.EFF(4),e.nI1(5,"numberEllipsis"),e.k0s()()),2&Ke){const gt=e.XpG(2);e.R7$(3),e.FS9("title",gt.model.comments_count),e.R7$(1),e.JRh(e.bMT(5,2,gt.model.comments_count))}}function we(Ke,Vt){if(1&Ke&&(e.j41(0,"div",56),e.qSk(),e.j41(1,"svg",33),e.nrm(2,"path",57),e.k0s(),e.joV(),e.j41(3,"span",55),e.EFF(4),e.nI1(5,"numberEllipsis"),e.k0s()()),2&Ke){const gt=e.XpG(2);e.R7$(3),e.FS9("title",gt.model.votes_count),e.R7$(1),e.JRh(e.bMT(5,2,gt.model.votes_count))}}function Ae(Ke,Vt){if(1&Ke&&(e.j41(0,"div",41)(1,"div",42),e.DNE(2,ut,3,6,"span",43),e.DNE(3,ht,6,1,"ng-template",44),e.DNE(4,me,4,3,"ng-template",44),e.k0s(),e.DNE(5,et,6,4,"div",45),e.DNE(6,we,6,4,"div",46),e.k0s()),2&Ke){const gt=e.XpG();
17e.AVh("loading",gt.modelLoading.isLoading),e.R7$(2),e.Y8G("ngIf","om"!==(null==gt.model?null:gt.model.model_type)),e.R7$(1),e.Y8G("ngIf","om"===(null==gt.model?null:gt.model.model_type)),e.R7$(1),e.Y8G("ngIf",null==gt.model||null==gt.model.properties?null:gt.model.properties.is_created_with_ai),e.R7$(1),e.Y8G("ngIf",gt.model&&gt.model.comments_count>0),e.R7$(1),e.Y8G("ngIf",gt.model&&gt.model.votes_count>0)}}function de(Ke,Vt){1&Ke&&(e.j41(0,"span",58),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&Ke&&(e.R7$(1),e.JRh(e.bMT(2,1,"collection.bookmarkListPopup.title")))}function Te(Ke,Vt){if(1&Ke){const gt=e.RV6();e.j41(0,"app-bookmark-list-popup",59),e.bIt("stateChange",function(Je){e.eBV(gt);const on=e.XpG();return e.Njj(on.onBookmarkStateChange(Je))}),e.k0s()}if(2&Ke){const gt=e.XpG();e.Y8G("bookmarkList",gt.bookmarkList)("modelSlug",null==gt.model?null:gt.model.slug)}}const Ie=[[["section",8,"scale-container"]]],ye=function(Ke){return[Ke]},Ye=function(Ke,Vt,gt,Bt){return{modelPosition:Ke,searchHash:Vt,searchImpressionId:gt,referrerUrl:Bt}},Oe=function(Ke){return{"pointer-events":Ke}},Le=function(Ke,Vt){return{loading:Ke,"has-button":Vt}},ee=["section.scale-container"],xe={pro:{title:{ru:"\u041f\u043b\u0430\u0442\u043d\u0430\u044f 3D \u043c\u043e\u0434\u0435\u043b\u044c",en:"Paid 3D model",es:"Modelo 3D de pago"}},om:{title:{ru:"\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430\u044f 3D \u043c\u043e\u0434\u0435\u043b\u044c<br>\u043e\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f",en:"Free 3D model<br>from the manufacturer",es:"Modelo 3D gratuito<br>del fabricante"}},free:{title:{ru:"\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430\u044f 3D \u043c\u043e\u0434\u0435\u043b\u044c",en:"Free 3D model",es:"Modelo 3D gratuito"}}};let Ze=(()=>{var Ke;class Vt{constructor(){this.bookmarkCollectionService=(0,e.WQX)(V.K),this.subscribeHandlerService=(0,e.WQX)(O.e),this.defaultImage=(0,e.WQX)(G.y2),this.sharedModelsDataService=(0,e.WQX)(I.n),this.modelCard=(0,e.WQX)(e.aKT),this.backdropComponentService=(0,e.WQX)(j.v),this.popupBarService=(0,e.WQX)(J.h),this.modal=(0,e.WQX)(Re.B),this.elementRef=(0,e.WQX)(e.aKT),this.metricService=(0,e.WQX)(H.oB),this.translate=(0,e.WQX)(ue.D),this.imageBaseUrl=(0,e.WQX)(G.sT),this.cdr=(0,e.WQX)(e.gRc),this.locale=(0,e.WQX)(e.xe9),this.sharedGlobalDataService=(0,e.WQX)($.o),this.cartService=(0,e.WQX)(Z.mx),this.viewContainerRef=(0,e.WQX)(e.c1b),this.sky=(0,e.WQX)(G.ef),this.unsubscriber=new d.B,this.modelImg=this.imageBaseUrl.baseUrl+x.oT.modelThumb,this.isMobileDevice=s.Hy,this.popupComponentList=[],this.bookmarkList=[],this.typeSlugTooltip="",this.sliderIndicatorsCount=7,this.sliderIndicatorActive=0,this.isLoadingMainImg=!0,this.moderatorItem=!1,this.path=B.iw,this.isBookmarkLoading=(0,e.vPA)(!1),this.isCartLoading=(0,e.vPA)(!1),this.tooltipDirection=F.Z,this.primaryImageUrl=(0,e.vPA)(""),this.modelLoading=new E.I,this.hideStaticBookmark=!1,this.selectedState={checked:!1,disabled:!1,loadingState:new E.I},this.activeImage="",this.selectedStateChange=new e.bkB,this.cart=new e.bkB}get busy(){return this.modelLoading.isLoading}sliderIndicator(Bt){this.sliderIndicatorActive=Bt,this.popupComponentList.forEach(Je=>{this.model?.images?.length&&this.model?.images[Bt].web_path&&!Je.instance.popupImgPath?.match(this.model.images[Bt].web_path)&&(Je.instance.loadingImg=!0,Je.instance.popupImgPath=this.model.images[Bt].web_path)})}toggleBookmark(){if(this.model)if(this.sharedGlobalDataService.authorizedSource.getValue()){const Bt=()=>{this.popupBarService.showGlobalErrorPopup(),this.isBookmarkLoading.set(!1)};if(!this.model?.is_bookmark)return this.subscribeHandlerService.requestBySignal({req:this.bookmarkCollectionService.setBookmark(this.model.slug,z.Q8,this.model.is_bookmark),err:Je=>(Bt(),(0,X.$)(()=>Je)),success:Je=>{this.model.is_bookmark="added"===Je.data.result,this.popupBarService.showPopup({data:this.translate.transform("collection.bookmarkListPopup.modelAdded"),timeOut:6e3,defaultAction:{text:this.translate.transform("collection.bookmarkListPopup.change"),action:()=>this.toggleBookmark()}})},extras:{loading:this.isBookmarkLoading}});this.popupBarService.destroy(),this.subscribeHandlerService.requestBySignal({req:this.bookmarkCollectionService.getBookmarkCollection(this.model.slug),err:Je=>(Bt(),(0,X.$)(()=>Je)),success:Je=>{this.initBookmarkPopup(Je.data),this.deletePopup()},extras:{loading:this.isBookmarkLoading}})}else this.backdropComponentService.LoginInPopup()}preparePopup(){if(this.deletePopup(),this.isMobileDevice||!this.model)return;const Bt=this.viewContainerRef.createComponent(W.i);Bt.instance.popupImgPath=this.model.images?.length?this.model.images[this.sliderIndicatorActive].web_path:this.defaultImage,Bt.instance.relativeEl=this.modelCard.nativeElement,Bt.instance.model=this.model,Bt.instance.ngOnInit(),this.popupComponentList.push(Bt)}deletePopup(){this.popupComponentList.forEach(Bt=>Bt.destroy()),this.popupComponentList=[]}initBookmarkPopup(Bt){this.bookmarkCollectionService.isBookmarkListOpen.value&&!this.model||(this.bookmarkList=this.bookmarkCollectionService.buildBookmarkPopupList(Bt),this.modal.open({styles:{maxWidth:"473px"},preventScroll:!0,template:this.bookmarkTemplate,headerTemplate:this.bookmarkHeaderTemplate}))}onBookmarkStateChange(Bt){this.model.is_bookmark=Bt,this.cdr.markForCheck()}addOrDeleteCart(Bt){!this.model||!Bt||([...this.cartService.modelsInCart.value].map(Je=>Je.slug).includes(Bt)?this.subscribeHandlerService.requestBySignal({req:this.cartService.deleteAndUpdate(Bt,this.viewContainerRef),success:()=>{const Je=new H.C2(Bt,this.model.model_type,this.referrerUrl,this.modelPosition,this.searchHash,H.Bx.MODEL_CART_DEL,this.searchImpressionId,H.Il.CARD);this.subscribeHandlerService.takeOne(this.metricService.sendStat(Je),()=>{}),this.cart.emit("deleted")},extras:{loading:this.isCartLoading}}):this.subscribeHandlerService.requestBySignal({req:this.cartService.addAndUpdate(Bt,this.viewContainerRef),success:()=>{const Je=new H.C2(Bt,this.model.model_type,this.referrerUrl,this.modelPosition,this.searchHash,H.Bx.MODEL_CART_ADD,this.searchImpressionId,H.Il.CARD);this.subscribeHandlerService.takeOne(this.metricService.sendStat(Je),()=>{}),this.cart.emit("added")},extras:{loading:this.isCartLoading}}))}ngOnInit(){this.sliderIndicatorsCount=this.model&&this.model.images?.length<8?this.model.images?.length:7,this.subscribeHandlerService.subjectSubscribe(this.sharedModels
17DataService.modelsModeratorPanel,Bt=>{this.moderatorItem=Bt},this.unsubscriber)}moderatorSelect(Bt,Je){if(!this.moderatorItem)return;Bt.preventDefault();const on=Bt.target.closest("app-checkbox-container");(Bt.target===Je||on&&Je.contains(on))&&(this.selectedState.checked=!this.selectedState.checked,this.selectedStateChange.emit(this.selectedState))}setActiveImage(){const Bt=this.model?.images;if(Array.isArray(Bt)&&Bt.length){const Je=this.activeImage?Bt.findIndex(on=>on.web_path.match(this.activeImage)):0;this.primaryImageUrl.set(this.modelImg+Bt[Je>=0?Je:0].web_path),Je>=0&&this.sliderIndicator(Je)}}ngOnDestroy(){this.popupComponentList.forEach(Bt=>Bt.destroy()),this.unsubscriber.next()}ngOnChanges(Bt){if(Bt.modelLoading&&(this.isLoadingMainImg=!0),Bt.model&&this.model)switch(this.isLoadingMainImg=!0,this.setActiveImage(),this.model.model_type){case p.ci.FREE:this.typeSlugTooltip=xe[p.ci.FREE].title[this.locale];break;case p.ci.OM:this.typeSlugTooltip=xe[p.ci.OM].title[this.locale];break;case p.ci.PRO:this.typeSlugTooltip=xe[p.ci.PRO].title[this.locale],this.model.isOwner||this.elementRef.nativeElement.classList.add("model-type-pro");break;default:this.typeSlugTooltip=""}}}return(Ke=Vt).\u0275fac=function(Bt){return new(Bt||Ke)},Ke.\u0275cmp=e.VBU({type:Ke,selectors:[["app-model-card"]],viewQuery:function(Bt,Je){if(1&Bt&&(e.GBs(At,7),e.GBs(Et,7)),2&Bt){let on;e.mGM(on=e.lsd())&&(Je.bookmarkTemplate=on.first),e.mGM(on=e.lsd())&&(Je.bookmarkHeaderTemplate=on.first)}},hostVars:2,hostBindings:function(Bt,Je){2&Bt&&e.AVh("busy",Je.busy)},inputs:{modelLoading:"modelLoading",model:"model",hideStaticBookmark:"hideStaticBookmark",modelPosition:"modelPosition",searchHash:"searchHash",searchImpressionId:"searchImpressionId",referrerUrl:"referrerUrl",selectedState:"selectedState",activeImage:"activeImage"},outputs:{selectedStateChange:"selectedStateChange",cart:"cart"},standalone:!0,features:[e.OA$,e.aNF],ngContentSelectors:ee,decls:26,vars:64,consts:[[1,"model-image",3,"mouseenter","mouseleave","click"],["el",""],["class","moderator-state",4,"ngIf"],["class","model-bookmark",3,"ngClass","appTooltip","tooltipDirection","pointer-events","click",4,"ngIf"],[3,"routerLink","state","appModelAttribution","attribution","ngStyle"],["height","392","width","392","src","","appLazyLoad","",3,"alt","nextImagePath","imageLoading","load"],["class","model-slide-next",3,"click",4,"ngIf"],["class","model-slider-nav",4,"ngIf"],[1,"model-content"],[1,"model-title"],[3,"title","routerLink","state","appModelAttribution","attribution"],[3,"ngTemplateOutlet"],[1,"model-status",3,"ngClass"],["class","model-purchased",4,"ngIf"],["class","model-cart",3,"pointer-events","ngClass","click",4,"ngIf"],["modelInfo",""],["bookmarkHeaderTemplate",""],["bookmarkTemplate",""],[1,"moderator-state"],[3,"state"],[1,"model-bookmark",3,"ngClass","appTooltip","tooltipDirection","click"],["width","26","height","26","viewBox","0 0 26 26","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngStyle",4,"ngIf"],[3,"height","margin","mainColor","mobileBorderColor",4,"ngIf"],["width","26","height","26","viewBox","0 0 26 26","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngStyle"],["d","M1 7.47304C1 1.85076 9.5 -0.162805 13 4.90403C16.5 -0.162805 25 1.85076 25 7.47304C25 13.7615 17.421 20.2539 13 24C7.94736 20.0335 1 13.0953 1 7.47304Z","stroke","currentColor","stroke-width","2","stroke-linejoin","round"],[3,"height","margin","mainColor","mobileBorderColor"],[1,"model-slide-next",3,"click"],["width","14","height","28","viewBox","0 0 14 28","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M1 1 L13 14 M1 27 L13 14","stroke","white","stroke-width","2","stroke-linecap","round","stroke-linejoin","miter","stroke-miterlimit","8"],[1,"model-slider-nav"],[3,"ngClass","click",4,"ngFor","ngForOf"],[3,"ngClass","click"],[1,"model-purchased"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15ZM8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16Z","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.8251 5.12008C12.0349 5.2996 12.0594 5.61523 11.8799 5.82506L7.60215 10.8251C7.50881 10.9342 7.37308 10.9979 7.22952 11C7.08596 11.0021 6.94843 10.9423 6.85195 10.836L4.12972 7.836C3.94416 7.6315 3.95951 7.31529 4.16401 7.12973C4.36851 6.94416 4.68472 6.95951 4.87028 7.16401L7.21119 9.74379L11.1201 5.17496C11.2996 4.96513 11.6152 4.94056 11.8251 5.12008Z","fill","currentColor"],[1,"model-cart",3,"ngClass","click"],[4,"ngIf"],["style","height: 20px",4,"ngIf"],[2,"height","20px"],["height","20"],[1,"model-info"],[1,"model-type"],[3,"appTooltip","color",4,"ngIf"],[3,"ngIf"],["class","model-comments",4,"ngIf"],["class","model-votes",4,"ngIf"],[3,"appTooltip"],["d","M11.3617 6.3804C11.5524 6.17234 11.545 5.84268 11.3452 5.64408C11.1455 5.44548 10.829 5.45314 10.6383 5.6612L7.15848 9.4584L5.33787 7.72008C5.13431 7.52573 4.81802 7.54005 4.63143 7.75208C4.44483 7.9641 4.45858 8.29354 4.66214 8.4879L6.48275 10.2262C6.88407 10.6094 7.50593 10.5878 7.88183 10.1776L11.3617 6.3804Z","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.15991 14.8814C5.83612 14.2539 5.10697 13.9511 4.43506 14.1642C2.83537 14.6716 1.32843 13.1646 1.83579 11.5649C2.0489 10.893 1.74606 10.1639 1.11857 9.84009C-0.372858 9.07051 -0.372858 6.93788 1.11857 6.16831C1.7442 5.84548 2.04933 5.11191 1.83547 4.43509C1.33209 2.84204 2.8319 1.3224 4.43829 1.83788C5.10547 2.05197 5.83634 1.7492 6.15916 1.12
17107C6.92739 -0.373691 9.06421 -0.373691 9.83244 1.12107C10.1554 1.74953 10.8872 2.05318 11.5617 1.83755C13.1634 1.32548 14.6745 2.83663 14.1625 4.43831C13.9468 5.11278 14.2505 5.84457 14.8789 6.16756C16.3737 6.93579 16.3737 9.07261 14.8789 9.84084C14.2508 10.1637 13.948 10.8945 14.1621 11.5617C14.6776 13.1681 13.158 14.6679 11.5649 14.1645C10.8881 13.9507 10.1545 14.2558 9.83169 14.8814C9.06211 16.3729 6.92949 16.3729 6.15991 14.8814ZM7.04841 14.423C7.44554 15.1926 8.54606 15.1926 8.94319 14.423C9.49056 13.3622 10.7279 12.8515 11.8661 13.2112C12.6932 13.4725 13.4751 12.6931 13.2101 11.8672C12.8457 10.7317 13.3612 9.49672 14.4219 8.95159C15.1929 8.55532 15.1929 7.45308 14.4219 7.05681C13.3581 6.51009 12.8459 5.27308 13.2101 4.13385C13.4747 3.30616 12.6938 2.52526 11.8661 2.78988C10.7269 3.15409 9.48991 2.64187 8.94319 1.5781C8.54692 0.807052 7.44468 0.807052 7.04841 1.5781C6.50328 2.63877 5.26832 3.15426 4.13279 2.78988C3.30693 2.52486 2.52749 3.30681 2.78882 4.13385C3.14848 5.27208 2.63784 6.50943 1.57704 7.05681C0.807405 7.45394 0.807405 8.55446 1.57704 8.95159C2.63695 9.49851 3.1494 10.7303 2.78882 11.8672C2.52648 12.6943 3.30566 13.4735 4.13279 13.2112C5.26968 12.8506 6.50149 13.363 7.04841 14.423Z","fill","currentColor"],["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg",1,"created-by-ai",3,"appTooltip"],["d","M7.27147 0.507227C7.52172 -0.169075 8.47828 -0.169076 8.72853 0.507227L9.89135 3.6497C9.97003 3.86233 10.1377 4.02997 10.3503 4.10865L13.4928 5.27147C14.1691 5.52172 14.1691 6.47828 13.4928 6.72853L10.3503 7.89135C10.1377 7.97003 9.97003 8.13767 9.89135 8.3503L8.72853 11.4928C8.47828 12.1691 7.52172 12.1691 7.27147 11.4928L6.10865 8.3503C6.02997 8.13767 5.86233 7.97003 5.6497 7.89135L2.50723 6.72853C1.83092 6.47828 1.83092 5.52172 2.50723 5.27147L5.6497 4.10865C5.86233 4.02997 6.02997 3.86233 6.10865 3.6497L7.27147 0.507227Z","fill","var(--gray-700)"],["d","M2.80355 9.21134C2.69928 8.92955 2.30072 8.92955 2.19645 9.21134L1.71194 10.5207C1.67915 10.6093 1.6093 10.6792 1.52071 10.7119L0.211344 11.1964C-0.0704484 11.3007 -0.0704484 11.6993 0.211344 11.8036L1.52071 12.2881C1.6093 12.3208 1.67915 12.3907 1.71194 12.4793L2.19645 13.7887C2.30072 14.0704 2.69928 14.0704 2.80355 13.7887L3.28806 12.4793C3.32085 12.3907 3.3907 12.3208 3.47929 12.2881L4.78866 11.8036C5.07045 11.6993 5.07045 11.3007 4.78866 11.1964L3.47929 10.7119C3.3907 10.6792 3.32085 10.6093 3.28806 10.5207L2.80355 9.21134Z","fill","var(--gray-700)"],[1,"model-comments"],["fill-rule","evenodd","clip-rule","evenodd","d","M14 6.89248V5.65077C14 4.21058 12.8807 3.04308 11.5 3.04308H5.76367C4.23735 3.04311 3.00003 4.33373 3 5.9258V7.49959C3.00024 8.84933 4.04969 9.94328 5.34375 9.94328C5.64217 9.94345 5.89968 10.1462 5.98828 10.4332L6.01562 10.5616L6.30664 12.9554L8.48633 10.9599C9.20231 10.3045 10.1227 9.9433 11.0752 9.94328C12.6905 9.94328 14 8.57735 14 6.89248ZM15 6.89248C15 9.15343 13.2428 10.9864 11.0752 10.9864C10.3654 10.9864 9.68001 11.2559 9.14648 11.7442L6.96582 13.7397C6.36334 14.2911 5.41515 13.9162 5.31445 13.0868L5.05664 10.9721C3.34459 10.8203 2.00023 9.32461 2 7.49959V5.9258C2.00003 3.75766 3.68507 2.00004 5.76367 2H11.5C13.433 2 
1715 3.63451 15 5.65077V6.89248Z","fill","currentColor"],[3,"title"],[1,"model-votes"],["fill-rule","evenodd","clip-rule","evenodd","d","M7.22852 1.57219C7.77216 0.816046 8.91859 0.811776 9.47852 1.54485C9.7689 1.92513 9.87347 2.38184 9.89258 2.80754C9.91176 3.23544 9.84641 3.67146 9.75781 4.05071C9.69864 4.30391 9.62424 4.53858 9.55566 4.74016H12.9365C14.0324 4.74016 14.9988 5.55147 15 6.67375C15.0008 7.44054 14.9484 8.41991 14.7422 9.35637C14.5386 10.2811 14.1701 11.2334 13.4854 11.8749C12.7123 12.599 11.7277 12.8555 10.3945 12.9491C9.07753 13.0417 7.28924 12.9804 4.8623 12.9804H3.375C2.06345 12.9804 1.00023 11.9479 1 10.6747V7.5302C1.00038 6.25714 2.06356 5.22454 3.375 5.22454H3.99316C4.37437 5.22449 4.73103 5.04363 4.94922 4.74016L7.22852 1.57219ZM8.6748 2.12297C8.51597 1.91518 8.19482 1.92344 8.04785 2.12786L5.76953 5.29582C5.56811 5.57598 5.30271 5.79965 5 5.95403V12.0087C7.41237 12.0109 9.07654 12.0679 10.3223 11.9804C11.5751 11.8924 12.271 11.6628 12.791 11.1757C13.2627 10.7337 13.5762 10.0089 13.7646 9.15325C13.9503 8.3099 14.0008 7.40595 14 6.67473C13.9994 6.14564 13.5416 5.71086 12.9365 5.71086H8.83301C8.6628 5.71086 8.50409 5.62722 8.41211 5.48821C8.32035 5.3491 8.30798 5.17351 8.37891 5.02336L8.37988 5.02043C8.38137 5.01722 8.38439 5.01113 8.3877 5.00383C8.39432 4.98923 8.40437 4.96664 8.41699 4.93743C8.44259 4.8782 8.47913 4.791 8.52051 4.68254C8.60389 4.46398 8.70549 4.16339 8.78223 3.83489C8.85946 3.5041 8.90746 3.1605 8.89355 2.84954C8.87944 2.53633 8.80465 2.29298 8.6748 2.12297ZM3.99316 6.19622H3.375C2.61585 6.19622 2.00038 6.7933 2 7.5302V10.6747C2.00023 11.4118 2.61577 12.0087 3.375 12.0087H4V6.19524C3.99772 6.19525 3.99544 6.19621 3.99316 6.19622Z","fill","currentColor"],[1,"bookmark-header-title"],[3,"bookmarkList","modelSlug","stateChange"]],template:function(Bt,Je){if(1&Bt){const on=e.RV6();e.NAR(Ie),e.j41(0,"div",0,1),e.bIt("mouseenter",function(){return Je.preparePopup()})("mouseleave",function(){return Je.deletePopup()})("click",function(He){e.eBV(on);const Ft=e.sdS(1);return e.Njj(Je.moderatorSelect(He,Ft))}),e.DNE(2,It,2,1,"div",2),e.DNE(3,le,4,12,"div",3),e.j41(4,"a",4)(5,"img",5),e.bIt("load",function(){return Je.isLoadingMainImg=!1}),e.nI1(6,"langConverter"),e.k0s()(),e.DNE(7,Ue,3,0,"div",6),e.DNE(8,Ge,2,2,"div",7),e.k0s(),e.SdG(9),e.j41(10,"div",8)(11,"div",9)(12,"a",10),e.nI1(13,"langConverter"),e.EFF(14),e.nI1(15,"langConverter"),e.k0s()(),e.eu8(16,11),e.j41(17,"div",12),e.DNE(18,Ct,6,3,"div",13),e.DNE(19,yt,3,9,"button",14),e.k0s()(),e.DNE(20,Ae,7,7,"ng-template",null,15,e.C5r),e.DNE(22,de,3,3,"ng-template",null,16,e.C5r),e.DNE(24,Te,1,2,"ng-template",null,17,e.C5r)}if(2&Bt){const on=e.sdS(21);e.xc7("cursor",Je.moderatorItem?"pointer":""),e.R7$(2),e.Y8G("ngIf",Je.moderatorItem&&!Je.sky),e.R7$(1),e.Y8G("ngIf",!Je.moderatorItem&&!Je.modelLoading.isLoading),e.R7$(1),e.Y8G("routerLink",e.eq3(35,ye,"/"+Je.path.modelShow+"/"+(null==Je.model?null:Je.model.slug)))("state",e.ziG(37,Ye,Je.modelPosition,Je.searchHash,Je.searchImpressionId,Je.referrerUrl))("appModelAttribution",null==Je.model?null:Je.model.slug)("attribution",e.ziG(42,Ye,Je.modelPosition,Je.searchHash,Je.searchImpressionId,Je.referrerUrl))("ngStyle",e.eq3(47,Oe,Je.moderatorItem?"none":"")),e.R7$(1),e.Y8G("alt",e.i5U(6,26,null==Je.model?null:Je.model.title,null==Je.model?null:Je.model.title_en))("nextImagePath",Je.primaryImageUrl())("imageLoading",Je.modelLoading.isLoading||Je.isLoadingMainImg),e.R7$(2),e.Y8G("ngIf",Je.model&&(null==Je.model.images?null:Je.model.images.length)>1&&!Je.isMobileDevice&&!Je.modelLoading.isLoading),e.R7$(1),e.Y8G("ngIf",Je.model&&(null==Je.model.images?null:Je.model.images.length)>1&&!Je.isMobileDevice&&!Je.modelLoading.isLoading),e.R7$(3),e.AVh("loading",Je.modelLoading.isLoading),e.R7$(1),e.FS9("title",e.i5U(13,29,null==Je.model?null:Je.model.title,null==Je.model?null:Je.model.title_en)),e.Y8G("routerLink",e.eq3(49,ye,"/"+Je.path.modelShow+"/"+(null==Je.model?null:Je.model.slug)))("state",e.ziG(51,Ye,Je.modelPosition,Je.searchHash,Je.searchImpressionId,Je.referrerUrl))("appModelAttribution",null==Je.model?null:Je.model.slug)("attribution",e.ziG(56,Ye,Je.modelPosition,Je.searchHash,Je.searchImpressionId,Je.referrerUrl)),e.R7$(2),e.SpI(" ",e.i5U(15,32,null==Je.model?null:Je.model.title,null==Je.model?null:Je.model.title_en)," "),e.R7$(2),e.Y8G("ngTemplateOutlet",on),e.R7$(1),e.Y8G("ngClass",e.l_i(61,Le,Je.modelLoading.
17isLoading,!(null!=Je.model&&Je.model.is_purchase||"pro"!==(null==Je.model?null:Je.model.model_type)||null!=Je.model&&Je.model.isOwner))),e.R7$(1),e.Y8G("ngIf",(null==Je.model?null:Je.model.is_purchase)&&!Je.isCartLoading()),e.R7$(1),e.Y8G("ngIf",!(null!=Je.model&&Je.model.is_purchase||"pro"!==(null==Je.model?null:Je.model.model_type)||null!=Je.model&&Je.model.isOwner))}},dependencies:[U.S,F.d,ue.D,ae.t,N.L,te.S,re.p,Ee,ie.S,w.M,Mt.bT,Mt.YU,Mt.B3,wt.Wk,Mt.Sq,Mt.T3,Mt.Pc],styles:['[_nghost-%COMP%]{display:inline-grid;position:relative;border-radius:12px;height:-moz-fit-content;height:fit-content;grid-auto-rows:min-content 1fr;grid-template-columns:100%;z-index:1;--model-border-bottom: -8px}.model-type-pro[_nghost-%COMP%]{--model-border-bottom: -54px}.busy[_nghost-%COMP%]{pointer-events:none}[_nghost-%COMP%]   .moderator-state[_ngcontent-%COMP%]{position:absolute;z-index:10;top:16px;left:16px;height:20px;width:20px}[_nghost-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:auto;object-fit:cover;-webkit-user-select:none;user-select:none}[_nghost-%COMP%]   a[_ngcontent-%COMP%]{display:inherit;border-radius:4px}[_nghost-%COMP%]   a[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{border-radius:4px}[_nghost-%COMP%]   .model-content[_ngcontent-%COMP%]{position:relative;padding-top:6px}[_nghost-%COMP%]   .model-bookmark[_ngcontent-%COMP%]{position:absolute;display:inline-flex}@media (pointer: fine){[_nghost-%COMP%]   .model-bookmark[_ngcontent-%COMP%]{opacity:0;z-index:-1;cursor:pointer}}@media (pointer: coarse){[_nghost-%COMP%]   .model-bookmark[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#ffffff80;stroke:#373737;color:#373737}}@media (min-width: 992px){[_nghost-%COMP%]   .model-bookmark[_ngcontent-%COMP%]{top:12px;left:12px}}@media (max-width: 991.98px){[_nghost-%COMP%]   .model-bookmark[_ngcontent-%COMP%]{top:0;left:0;padding:14px;margin:4px}}[_nghost-%COMP%]   .model-bookmark.is-bookmark[_ngcontent-%COMP%]:not(.model-bookmark-desktop){opacity:1;z-index:10}@media (pointer: coarse){[_nghost-%COMP%]   .model-bookmark.is-bookmark.model-bookmark-desktop[_ngcontent-%COMP%]{opacity:1;z-index:10}}[_nghost-%COMP%]   .model-bookmark.is-bookmark[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#ff2d55;stroke:#ff2d55;color:#ff2d55}[_nghost-%COMP%]   .model-info[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;margin-top:6px;color:#8c8c8c;font-size:14px;line-height:16px;height:16px;position:relative}[_nghost-%COMP%]   .model-info.loading[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;width:70%;bottom:0;background-color:#efeff0;border-radius:4px}[_nghost-%COMP%]   .model-info[_ngcontent-%COMP%]   .model-type[_ngcontent-%COMP%]{font-weight:500;display:inline-flex;align-items:center}[_nghost-%COMP%]   .model-info[_ngcontent-%COMP%]   .model-type[_ngcontent-%COMP%]   .created-by-ai[_ngcontent-%COMP%]{margin-left:3px}[_nghost-%COMP%]   .model-info[_ngcontent-%COMP%]   .model-type[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-flex;gap:2px;align-items:center}[_nghost-%COMP%]   .model-info[_ngcontent-%COMP%]   .model-comments[_ngcontent-%COMP%], [_nghost-%COMP%]   .model-info[_ngcontent-%COMP%]   .model-votes[_ngcontent-%COMP%]{display:inline-flex;gap:2px}[_nghost-%COMP%]   .model-info[_ngcontent-%COMP%]   .model-comments[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], [_nghost-%COMP%]   .model-info[_ngcontent-%COMP%]   .model-votes[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{min-width:16px}@media (pointer: fine){[_nghost-%COMP%]   .model-slide-next[_ngcontent-%COMP%]{position:absolute;z-index:-1;opacity:0;right:0;top:20px;bottom:20px;padding:0 12px;display:flex;align-items:center;cursor:pointer}[_nghost-%COMP%]   .model-slide-next[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{transition:.1s ease-out;width:12px;height:auto}[_nghost-%COMP%]   .model-slider-nav[_ngcontent-%COMP%]{position:absolute;z-index:-1;opacity:0;right:0;left:0;bottom:0;padding-bottom:6px;display:flex;align-items:center;justify-content:center;gap:4px}[_nghost-%COMP%]   .model-slider-nav[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:0;border:0;outline:0;background-color:#0000;width:14px;
17height:14px;display:inline-flex;justify-content:center;align-items:center}[_nghost-%COMP%]   .model-slider-nav[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{background-color:#fff}[_nghost-%COMP%]   .model-slider-nav[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{height:6px;width:6px;border-radius:50%;cursor:pointer;background-color:#b9b9b9}[_nghost-%COMP%]   .model-cart[_ngcontent-%COMP%]{opacity:0;z-index:-1;padding:0;border:0;outline:none;position:absolute;height:40px;left:0;bottom:-46px;right:0;display:flex;align-items:center;justify-content:center;font-weight:500;line-height:20px;border-radius:8px;width:100%}}@media (pointer: fine) and (min-width: 1200px){[_nghost-%COMP%]   .model-cart[_ngcontent-%COMP%]{font-size:16px}}@media (pointer: fine) and (max-width: 1199.98px){[_nghost-%COMP%]   .model-cart[_ngcontent-%COMP%]{font-size:14px}}@media (pointer: fine) and (min-width: 576px) and (max-width: 991.98px){[_nghost-%COMP%]   .model-cart[_ngcontent-%COMP%]{justify-self:start;max-width:156px}}@media (pointer: fine){[_nghost-%COMP%]   .model-to-cart[_ngcontent-%COMP%]{color:var(--blue-500, #026CAD);background-color:#e0eff9}}@media (pointer: fine) and (hover: hover){[_nghost-%COMP%]   .model-to-cart[_ngcontent-%COMP%]:hover{color:#125884;background-color:#cde8fe}}@media (pointer: fine){[_nghost-%COMP%]   .model-to-cart.active[_ngcontent-%COMP%]{background-color:#e0eff9}[_nghost-%COMP%]   .model-in-cart[_ngcontent-%COMP%]{color:#125884;background-color:#fafafa}}@media (pointer: fine) and (hover: hover){[_nghost-%COMP%]   .model-in-cart[_ngcontent-%COMP%]:hover{background-color:#f1f6f9}}@media (pointer: fine){[_nghost-%COMP%]   .model-in-cart.active[_ngcontent-%COMP%]{background-color:#fafafa}[_nghost-%COMP%]   .model-purchased[_ngcontent-%COMP%]{opacity:0;z-index:-1;position:absolute;height:40px;left:0;bottom:-46px;right:0;display:flex;gap:8px;align-items:center;line-height:20px;color:#31831f}}@media (pointer: fine) and (min-width: 1200px){[_nghost-%COMP%]   .model-purchased[_ngcontent-%COMP%]{font-size:16px}}@media (pointer: fine) and (max-width: 1199.98px){[_nghost-%COMP%]   .model-purchased[_ngcontent-%COMP%]{font-size:14px}}@media (pointer: fine) and (hover: hover){[_nghost-%COMP%]:hover{z-index:2}[_nghost-%COMP%]:hover:after{position:absolute;content:"";top:-8px;right:-8px;bottom:var(--model-border-bottom);left:-8px;border:1px solid #D0D0D0;z-index:-1;border-radius:12px;background-color:#fff;animation:.1s hoverCard}[_nghost-%COMP%]:hover   .model-purchased[_ngcontent-%COMP%], [_nghost-%COMP%]:hover   .model-cart[_ngcontent-%COMP%]{opacity:1;z-index:10;transition:opacity .25s ease-out}}@media (pointer: fine) and (hover: hover){[_nghost-%COMP%]   .model-image[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%]{background-color:#0009;transition:background-color .25s ease-out}[_nghost-%COMP%]   .model-image[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{filter:brightness(40%);transition:filter .25s ease-out}[_nghost-%COMP%]   .model-image[_ngcontent-%COMP%]:hover   .model-bookmark[_ngcontent-%COMP%]{z-index:10;opacity:1}[_nghost-%COMP%]   .model-image[_ngcontent-%COMP%]:hover   .model-bookmark[_ngcontent-%COMP%]:not(.is-bookmark)   svg[_ngcontent-%COMP%]{fill:none;stroke:#fff;color:#fff}[_nghost-%COMP%]   .model-image[_ngcontent-%COMP%]:hover   .model-bookmark[_ngcontent-%COMP%]:not(.is-bookmark)   svg[_ngcontent-%COMP%]:hover{fill:#ffffff80}[_nghost-%COMP%]   .model-image[_ngcontent-%COMP%]:hover   .model-slide-next[_ngcontent-%COMP%]{z-index:10;opacity:1}[_nghost-%COMP%]   .model-image[_ngcontent-%COMP%]:hover   .model-slide-next[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{width:14px}[_nghost-%COMP%]   .model-image[_ngcontent-%COMP%]:hover   .model-slider-nav[_ngcontent-%COMP%]{z-index:10;opacity:1}[_nghost-%COMP%]   .model-image[_ngcontent-%COMP%]:hover   .model-slider-nav[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:not(.active):hover   span[_ngcontent-%COMP%]{background-color:#fff}}@media (pointer: coarse){[_nghost-%COMP%]   .model-slide-next[_ngcontent-%COMP%], [_nghost-%COMP%]   .model-slide-nav[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]   .model-status[_ngcontent-%COMP%]{height:36px;margin-top:6px;position:relative}[_nghost-%COMP%]   .model-status.loading[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:0;background-color:#efeff0;border-radius:4px}[_nghost-%COMP%]   .model-status.has-button[_ngcontent-%COMP%]{height:32px}[_nghost-%COMP%]   .model-purchased[_ngcontent-%COMP%]{display:flex;gap:6px;align-items:center;color:#31831f;height:inherit;line-height:20px}}@media (pointer: coarse) and (min-width: 1200px){[_nghost-%COMP%]   .model-purchased[_ngcontent-%COMP%]{font-size:16px}}@media (pointer: coarse) and (max-width: 1199.98px){[_nghost-%COMP%]   .model-purchased[_ngcontent-%COMP%]{font-size:14px}}@media (pointer: coarse){[_nghost-%COMP%]   .model-in-cart[_ngcontent-%COMP%]{background-color:#fafafa;color:#125884}[_nghost-%COMP%]   .model-in-cart.active[_ngcontent-%COMP%], [_nghost-%COMP%]   .model-in-cart[_ngcontent-%COMP%]:active{background-color:#f1f6f9}[_nghost-%COMP%]   .model-cart[_ngcontent-%COMP%]{padding:0;border:0;display:flex;align-items:center;justify-content:center;width:100%;height:inherit;font-weight:500;line-height:20px;border-radius:8px}}@media (pointer: coarse) and (min-width: 576px) and (max-width: 991.98px){[_nghost-%COMP%]   .model-cart[_ngcontent-%COMP%]{justify-self:start;max-width:156px}}@media (pointer: coarse) and (min-width: 992px){[_nghost-%COMP%]   .model-cart[_ngcontent-%COMP%]{font-size:16px}}@media (pointer: coarse) and (max-width: 991.98px){[_nghost-%COMP%]   .model-cart[_ngcontent-%COMP%]{font-size:14px}}@media (pointer: coarse){[_nghost-%COMP%]   .model-to-cart[_ngcontent-%COMP%]{color:var(--blue-500, #026CAD);background-color:#deeff9}[_nghost-%COMP%]   .model-to-cart.active[_ngcontent-%COMP%], [_nghost-%COMP%]   .model-to-cart[_ngcontent-%COMP%]:active{background-color:#cde8fe;color:#125884}}[_nghost-%COMP%]   .model-title[_ngcontent-%COMP%]{padding-right:7px;position:relative}@media (min-width: 992px){[_nghost-%COMP%]   .model-title[_ngcontent-%COMP%]{height:20px}}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   .model-title[_ngcontent-%COMP%]{height:18px}}@media (min-width: 576px) and (max-width: 767.98px){[_nghost-%COMP%]   .model-title[_ngcontent-%COMP%]{height:20px}}@media (max-width: 575.98px){[_nghost-%COMP%]   .model-title[_ngcontent-%COMP%]{height:18px}}[_nghost-%COMP%]   .model-title.loading[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:0;background-color:#efeff0;border-radius:4px}[_nghost-%COMP%]   .model-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#5e5e5e;font-weight:500}@media (min-width: 992px){[_nghost-%COMP%]   .model-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:16px;line-height:20px}}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%]   .model-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:14px;line-height:18px}}@media (min-width: 576px) and (max-width: 767.98px){[_nghost-%COMP%]   .model-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:16px;line-height:20px}}@media (max-width: 575.98px){[_nghost-%COMP%]   .model-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:14px;line-height:18px}}[_nghost-%COMP%]   .model-image[_ngcontent-%COMP%]{position:relative}@keyframes _ngcontent-%COMP%_hoverCard{0%{inset:0}to{left:-8px;right:-8px;top:-8px;bottom:var(--model-border-bottom)}}.bookmark-header-title[_ngcontent-%COMP%]{color:var(--gray-800)}']}),Vt})()},320:(ct,ce,a)=>{a.d(ce,{D:()=>p});var e=a(7019),d=a(177),X=a(5116),x=a(2386);const O=function($){return{background:$}};function V($,E){if(1&$){const s=e.RV6();e.j41(0,"div",1)(1,"div",2),e.qSk(),e.j41(2,"svg",3),e.nrm(3,"path",4),e.k0s()(),e.joV(),e.nrm(4,"div",5),e.j41(5,"div",6)(6,"button",7),e.bIt("click",function(){const G=e.eBV(s).$implicit,B=e.XpG();return e.Njj(B.markNotifier(G.id))}),e.qSk(),e.j41(7,"svg",3),e.nrm(8,"path",8),e.k0s()()()()}if(2&$){const s=E.$implicit;e.Y8G("ngStyle",e.eq3(2,O,s.color)),e.R7$(4),e.Y8G("innerHTML",s.text,e.npT)}}let p=(()=>{var $;class E{constructor(){this.subscribeHandlerService=(0,e.WQX)(X.e),this.notifierService=(0,e.WQX)(x.i)}trackByNotificationId(I,W){return W.id}markNotifier(I){this.subscribeHandlerService.takeOne(this.notifierService.markNotifier(I),()=>{})}}return($=E).\u0275fac=function(I){return new(I||$)},$.\u0275cmp=e.VBU({type:$,selectors:[["app-notifier-stripe"]],standalone:!0,features:[e.aNF],decls:2,vars:4,consts:[["class","notifier",3,"ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],[1,"n
17otifier",3,"ngStyle"],[1,"notifier-svg"],["width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10 2C14.4183 2 18 5.58172 18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2ZM9 13V15H11V13H9ZM9 11H11V5H9V11Z","fill","white"],[1,"notifier-text",3,"innerHTML"],[1,"notifier-close"],[3,"click"],["d","M13.3037 5.29728C13.6946 4.90674 14.328 4.90655 14.7188 5.29728C15.1095 5.68801 15.1093 6.32146 14.7188 6.71232L11.4229 10.0072L14.7109 13.2953C15.1018 13.6862 15.1018 14.3205 14.7109 14.7113C14.3202 15.1019 13.6867 15.1018 13.2959 14.7113L10.0078 11.4233L6.73926 14.6918C6.34841 15.0824 5.71498 15.0826 5.32422 14.6918C4.93349 14.301 4.93362 13.6676 5.32422 13.2768L8.59278 10.0082L5.30469 6.72013C4.91409 6.32932 4.91403 5.69587 5.30469 5.30509C5.69546 4.91432 6.32888 4.91445 6.71973 5.30509L10.0078 8.5922L13.3037 5.29728Z","fill","white"]],template:function(I,W){1&I&&(e.DNE(0,V,9,4,"div",0),e.nI1(1,"async")),2&I&&e.Y8G("ngForOf",e.bMT(1,2,W.notifierService.notifier$))("ngForTrackBy",W.trackByNotificationId)},dependencies:[d.pM,d.B3,d.Jj],styles:["[_nghost-%COMP%]{display:grid;grid-auto-rows:max-content;gap:8px;margin-bottom:24px;width:100%}[_nghost-%COMP%]   .notifier[_ngcontent-%COMP%]{display:grid;grid-template-columns:20px 1fr 20px;-moz-column-gap:8px;column-gap:8px;align-items:start;border-radius:12px;padding:12px}[_nghost-%COMP%]   .notifier-close[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:grid;place-items:center;width:20px;height:20px;background:none;padding:0;margin:0;border:none}[_nghost-%COMP%]   .notifier-svg[_ngcontent-%COMP%]{width:20px;height:20px}[_nghost-%COMP%]   .notifier-svg[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%]   .notifier-text[_ngcontent-%COMP%]{font-weight:500;font-size:16px;line-height:20px;color:#fff}[_nghost-%COMP%]   .notifier-text[_ngcontent-%COMP%]     a{color:#fff;text-decoration:underline}"]}),E})()},4763:(ct,ce,a)=>{a.d(ce,{C:()=>ue});var e=a(7019),d=a(710),X=a(647),x=a(1413),O=a(4412),V=a(8793),p=a(1584),$=a(5979),E=a(5116),s=a(4678),I=a(2128),W=a(5695),G=a(430),B=a(8830),J=a(1180),z=a(5697),w=a(152),U=a(6697),Z=a(3587),H=a(3532),j=a(8048),F=a(2249);let ue=(()=>{var ae;class N{constructor(){this.subscribeHandlerService=(0,e.WQX)(E.e),this.backdropComponentService=(0,e.WQX)(I.v),this.userService=(0,e.WQX)(W.D),this.router=(0,e.WQX)(G.Ix),this.element=(0,e.WQX)(e.aKT),this.cdr=(0,e.WQX)(e.gRc),this.cartService=(0,e.WQX)(B.mx),this.languageSelectorService=(0,e.WQX)(Z.z),this.sky=(0,e.WQX)(J.ef),this.sharedGlobalDataService=(0,e.WQX)($.o),this.backdropService=(0,e.WQX)(s.u),this.viewContainerRef=(0,e.WQX)(e.c1b),this.imageBaseUrl=(0,e.WQX)(J.sT),this.noAvatarPlaceholder=(0,e.WQX)(J.UP),this.navigationEnd=(0,e.WQX)(J.NC),this.profilePath=F.eu,this.unsubscriber=new x.B,this.logo="",this.logoRelPath=X.JW.logo,this.routeUrl=d.iw,this.authorized=!1,this.showAvatarDropdown=new O.t(!1),this.menuAvatarNameCollapsed=this.showAvatarDropdown.asObservable().pipe((0,w.B)(125)),this.showMdAvatarDropdown=new O.t(!1),this.menuMdAvatarNameCollapsed=this.showMdAvatarDropdown.asObservable().pipe((0,w.B)(125)),this.isMobile=X.Hy,this.routeBlogPath=j.x,this.avatarUrl=null,this.showAiSearchButton=(0,e.vPA)(this.computeShowAiSearchButton())}get currentRoute(){return location.pathname+location.search}ngOnInit(){this.subscribeHandlerService.subjectSubscribe(this.sharedGlobalDataService.userData,ie=>{this.setLogo(ie?.menu.menu_logo),this.userData=ie,this.updateAvatarUrl()},this.unsubscriber),this.subscribeHandlerService.subjectSubscribe(this.sharedGlobalDataService.authorized,ie=>{this.authorized=!!ie},this.unsubscriber),this.subscribeHandlerService.subjectSubscribe((0,V.x)(this.menuAvatarNameCollapsed,this.menuMdAvatarNameCollapsed),ie=>{this.sharedGlobalDataService.authorizedSource.value&&ie&&this.userService.userFinance()},this.unsubscriber),this.backdropComponentService.setBaseViewContainer(this.viewContainerRef),this.subscribeHandlerService.subjectSubscribe(this.navigationEnd,()=>{this.showAiSearchButton.set(this.computeShowAiSearchButton())},this.unsubscriber)}computeShowAiSearchButton(){return this.router.url.split("?")[0]!=="/"+d.iw.aiSearch}setLogo(ie){this.logo=ie?.split("/").pop()}updateAvatarUrl(){const ie=this.userData?.user?.avatar;if(!ie||"blank.svg"===ie)return this.avatarUrl=null,void(this.cachedAvatar=void 0);ie!==this.cachedAvatar&&(this.cachedAvatar=ie,this.avatarUrl=this.imageBaseUrl.baseUrl+z.oT.avatarProfileSmallWebp+ie)}onMdBtnToggle(ie,re,Ee=1,Re){if(Re){const Mt=this.element.nativeElement.querySelector(`.mobile-container.${Re}`);Mt.style.display="block",Mt.style.maxHeight="fit-content",Mt.style.setProperty("--mobile-header-content-height",Mt.getBoundingClientRect().height+50+"px")}this.backdropService.backdrop(!1,0,".25s ease-out",".2s ease-out"),re&&(ie.classList.add("active"),this.backdropService.backdrop(!0,Ee,".25s ease-out",".2s ease-out"),this.backdropService.change(this.unsubscriber).subscribe(()=>{if(ie.classList.remove("active"),Re){const Mt=this.element.nativeElement.querySelector(`.mobile-container.${Re}`);(0,p.O)(200).subscribe(()=>{Mt.style.display="",Mt.style.maxHeight="",this.cdr.markForCheck()})}this.cdr.markForCheck()}))}onMdAvatarDropdown(ie){ie.classList.contains("active")||(ie.classList.add("active"),this.showMdAvatarDropdown.next(!0),this.backdropService.backdrop(!0,0),this.backdropService.change(this.unsubscriber).subscribe(()=>{ie.classList.remove("active"),this.showMdAvatarDropdown.next(!1)}))}navigateToMainPage(ie){ie.preventDefault(),this.router.navigate(["/"]).then(),this.subscribeHandlerService.takeOne(this.userService.getUser(),re=>this.userService.userUpdate(re))}navigateForce(ie){this.router.navigate([ie]).then()}chooseLang(){const ie=this.viewContainerRef.createComponent(H.t);ie.instance.mobile=!0,ie.instance.destroyMe.pipe((0,U.s)(1)).subscribe(()=>ie.destroy())}ngOnDestroy(){this.unsubscriber.next(),this.backdropService.backdrop(!1),this.backdropComponentService.setBaseViewContainer()}}return(ae=N).\u0275fac=function(ie){return new(ie||ae)},ae.\u0275dir=e.FsC({type:ae}),N})()},5697:(ct,ce,a)=>{a.d(ce,{Cf:()=>s,DW:()=>J,Ep:()=>p,GM:()=>W,KR:()=>O,PH:()=>x,Ww:()=>E,Zr:()=>X,bG:()=>I,kB:()=>d,lp:()=>B,oT:()=>V,q1:()=>$,y0:()=>e,yl:()=>G});const e={cats:"/api/cats_list",models:"/api/models",hints:"/api/hints_list",user:"/api/user/user_data",subscribers:"/api/subscription/subscribers",subscribe:"/api/subscription/add",subscriptionRemove:"/api/subscription/remove",bookmark:"/api/bookmarks/toggle",createBookmark:"/api/bookmark-collection/add",bookmarkAdd:"/api/bookmark/add",bookmarkDel:"/api/bookmark/delete",bookmarkGalleryAdd:"/api/bookmark/gallery/a
17dd",bookmarkGalleryDel:"/api/bookmark/gallery/delete",getBookmarkCollection:"/api/bookmark-collection/model/list",getBookmarkUserCount:"/api/bookmark/model/count",changeCat:"/api/models/categories/change",sendStat:"/api/stat/event",filterModels:"/api/filter_models",collectionSharedList:"/bookmarks_collection/list_bookmarks",collectionSeoList:"/api/seo-collection",getBannersByType:"/api/view",tagsCloud:"/api/tag_cloud",getTags:"/api/tags/list",polygonMaster:"/api/polygon-master",promoBanners:"/api/promo-banner/list",showCase:"/api/models/set_first"},d={getCategories:"/api/models/categories",getPolygonMaster:"/api/models/polygon-master",getPolygonMasterUserRatingWinner:"/api/polygon-master/user-rating-winner",getGalleryTop:"/api/gallery/top",getGalleryLast:"/api/gallery/last",getForumLast:"/api/forum/last",getWorkProjectsLast:"/api/work/projects/last",getWorkVacanciesLast:"/api/work/vacancies/last",getWorkResumeLast:"/api/work/resume/last",getBlogLast:"/api/blog/last",getBannersByType:"/api/view",getNotifier:"/api/notifier/list",markNotifier:"/api/notifier/mark"},X={getModel:"/api/models/show",getModelsLast:"/api/models/last",delModel:"/api/models/delete",likeModel:"/api/vote/set",getLabels:"/api/labels/list",getModelRecommend:"/api/models/recommend",modelsBySlug:"/api/models/slugs",download:"/api/models/download"},x={getComments:"/api/comments/list",createComment:"/api/comments/add",updateComment:"/api/comments/update",delComment:"/api/comments/delete",likeComment:"/api/vote/set",likesUsersSetList:"/api/vote/model/like-users",likesUsersSetCommentsList:"/api/vote/model/user-like-comments"},O={login:"/api/auth/login_check",loginConfirm:"/api/auth/confirmation-login-token",refresh:"/api/token/refresh",loginGlobal:"/api/user/jwt_login",resettingRequest:"/api/password/resetting-request",checkHash:"/api/password/resetting-reset",resettingReset:"/api/password/resetting-reset",newUser:"/api/registration/register",newUserConfirm:"/api/registration/confirm",resendRegisterEmail:"/api/registration/email",resendCodeEmail:"/api/auth/resend-code",logoutAll:"/api/user/logout_all",logout:"/api/user/logout",revokeAll:"/api/token/revoke-all",revoke:"/api/token/revoke",googleCallback:"/api/auth/google/callback"},V={modelThumb:"/media/cache/models-list-webp/",oldModelThumb:"/media/cache/sky_model_new_thumb_ang/",modelThumbGalleryPopup:"/media/cache/sky_gallery_new_thumb_small_ang/",modelPopup:"/media/cache/tuk_model_custom_filter_ru/",modelPopupEn:"/media/cache/tuk_model_custom_filter_en/",avatar:"/media/avatar/users/",avatarComment:"/media/cache/sky_user_avatar_comment_new/avatar/users/",avatarProfile:"/media/cache/avatar-small-webp/avatar/users/",avatarProfileLargeWebp:"/media/cache/avatar-large-webp/avatar/users/",avatarProfileSmallWebp:"/media/cache/avatar-small-webp/avatar/users/",modelGallery:"/media/cache/tuk_model_custom_filter_ang_ru/",modelGalleryEn:"/media/cache/tuk_model_custom_filter_ang_en/",modelMobileGallery:"/media/cache/model_mobile_bid_thumb_ru/",modelMobileGalleryEn:"/media/cache/model_mobile_bid_thumb_en/",modelGalleryPreviewSmall:"/media/cache/sky_model_preview_small_ang/",modelGalleryBig:"/media/cache/sky_model_new_big_ang_ru/",modelGalleryBigEn:"/media/cache/sky_model_new_big_ang_en/",galleryList:"/media/cache/sky-gallery-list/",galleryPreviewLast:"/media/cache/sky_gallery_preview_last/",galleryBigAng:"/media/cache/sky_gallery_new_thumb_big_ang/",gallerySmallAng:"/media/cache/sky_gallery_new_thumb_small_ang/",galleryMobileAng:"/media/cache/sky_gallery_new_thumb_mobile_ang/",galleryListWebp:"/media/cache/gallery-list-webp/",galleryHill:"/media/cache/sky_gallery_big_resize/",galleryHillBig:"/media/cache/sky-gallery-king-of-the-hill-big/",galleryHillSmall:"/media/cache/sky-gallery-king-of-the-hill-small/",modelPreviewLast:"/media/cache/sky_model_preview_mid/",blogPreviewLast:"/media/cache/sky_image_blog/images/",blogPreviewSmall:"/media/cache/sky-image-blog-small/images/",seoCollection:"/media/images/"},p={add:"/api/cart/add",delete:"/api/cart/delete",merge:"/api/cart/merge",ps:"/api/finance/get_ps",payment:"/api/finance/payment",checkTransaction:"/api/finance/check_transaction",clear:"/api/cart/clear",update:"/api/cart/update",deleteBySlugs:"/api/cart/delete/slugs"},$={nearest:"/api/nearest_images",segment:"/api/segment"},E={show:"/api/orders/show"},s={finance:"/api/user/finance",profile:"/api/users",userPosts:"/api/user/posts",userThreads:"/api/user/threads",userGalleries:"/api/user/galleries",userGalleryModels:"/api/labels/gallery-models",modelsCount:"/api/user/models/count",galleryCount:"/api/user/galleries/count",forumPostsCount:"/api/user/posts/count",userSubscribers:"/api/subscription/subscribers",userSubscribedTo:"/api/subscription/signatories",userSubscriptionHas:"/api/subscription/has",userSubscriptionAdd:"/api/subscription/add",userSubscriptionRemove:"/api/subscription/remove",userSetEmailNotification:"/api/user/email-notification",constraints:"/api/users/constraints",userSetTwoFa:"/api/user/two-fa",userSetAvatar:"/api/user/avatar",updateUserProfile:"/api/user/edit"},I={userBlogs:"/api/user/blogs",userBlogsCount:"/api/user/blogs/count",blogCategories:"/api/blog/categories",blogAll:"/api/blog/",blogPost:"/api/blog/post",likeUsers:"/api/vote/blog/like-users",likePost:"/api/vote/set",bookmarkBlogAdd:"/api/bookmark/blog/add",bookmarkBlogDel:"/api/bookmark/blog/delete"},W={galleryList:"/api/gallery/list",galleryCategoriesList:"/api/categories/list",likeGallery:"/api/vote/set",hill:"/api/gallery/hill",hillUserLikes:"/api/gallery/hill-user-likes"},G={setLike:"/api/vote/set",galleryLikeUsers:"/api/gallery/like-users",userLikeComments:"/api/vote/user-like-comments"},B={user:"/api/sky_admin/user/",userInfo:"/api/sky_admin/user/info",userActivate:"/api/sky_admin/user/activate",addUserConstraint:"/api/sky-admin/user-constraint/add",removeUserConstraint:"/api/sky-admin/user-constraint/remove",editUserConstraint:"/api/sky-admin/user-constraint/edit",userPessimize:"/api/sky_admin/user/pessimize",userUnpessimize:"/api/sky_admin/user/unpessimize"},J={profile:"/api/user"}},9221:(ct,ce,a)=>{a.d(ce,{Gj:()=>d,Wk:()=>e,cv:()=>V,q4:()=>O,q_:()=>x,ui:()=>X});const e={ru:"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430: cf_01",en:"Unknown error: cf_01",es:"Error desconocido: cf_01"},d={bad_credentials:{ru:"\u0412\u0432\u0435\u0434\u0435\u043d\u044b \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437.",en:"Invalid data entered. Try again.",es:"Datos incorrectos. Int\xe9ntalo de nuevo"},user_not_found:{ru:"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d",en:"The user is not found",es:"Usuario no encontrado"},captcha_is_wrong:{ru:"\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u043e\u0442\u0432\u0435\u0442 CAPTCHA.",en:"CAPTCHA is wrong.",es:"CAPTCHA incorrecta"},no_twoFA_token:{ru:"\u041d\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d \u0442\u043e\u043a\u0435\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u041e\u0448\u0438\u0431\u043a\u0430 lf_01",en:"User token not received. Error lf_01",es:"No se recibi\xf3 el token de usuario. Error lf_01"}},X={token_not_found:{ru:"\u0422\u043e\u043a\u0435\u043d \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d \u0438\u043b\u0438 \u043d\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u0435\u043d. \u0417\u0430\u043f\u0440\u043e\u0441\u0438\u0442\u0435 \u043d\u043e\u0432\u044b\u0439 \u043a\u043e\u0434",en:"Token not found or invalid. Request a new code",es:"Token no encontrado o inv\xe1lido. Solicite un nuevo c\xf3digo"},invalid_code:{ru:"\u041a\u043e\u0434 \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439",en:"The code is incorrect",es:"C\xf3digo incorrecto"},attempts_exceeded:{ru:"\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u043e \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u0432\u0432\u043e\u0434\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043a\u043e\u0434\u0430",en:"You've reached the maximum attempts of the last code entering",es:"L\xedmite de intentos excedido para este c\xf3digo"}},x={user_not_found:{ru:"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d",en:"The user is not found",es:"Usuario no encontrado"},token_expired:{ru:"\u0412\u0440\u0435\u043c\u044f \u0436\u0438\u0437\u043d\u0438 \u0441\u0441\u044b\u043b\u043a\u0438 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u043e\u0441\u044c",en:"The link has expired",es:"El enlace ha expirado"}},O={username:{ru:"\u042d\u0442\u043e \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0443\u0436\u0435 \u0437\u0430\u043d\u044f\u0442\u043e",en:"This username is already taken",es:"Este nombre de usuario ya est\xe1 en uso"},email:{ru:"\u042d\u0442\u043e\u0442 email \u0443\u0436\u0435 \u0437\u0430\u043d\u044f\u0442",en:"This email is already taken",es:"Este email ya est\xe1 registrado"}},V={token_not_found:{ru:"\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u0430",en:"The link is invali
17d",es:"Enlace no v\xe1lido"},user_banned:{ru:"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d",en:"The user was blocked",es:"Usuario bloqueado"}}},8207:(ct,ce,a)=>{a.d(ce,{I:()=>e});class e{constructor(){this.isLoading=!1}}},647:(ct,ce,a)=>{a.d(ce,{Hy:()=>O,JW:()=>e,Wc:()=>d,kX:()=>V,om:()=>x,qp:()=>X});const e={logo:"ng-assets/images/",images:"ng-assets/images/"},d={FAQ2fa:{ru:"https://3ddd.ru/faq/214/show",en:"https://3dsky.org/faq/215/show"},ads:{ru:"https://business.3ddd.ru/",en:"https://business.3dsky.org/"},faqKarma:{ru:"/faq/156/show",en:"/faq/184/show"},sellRating:"/sell_rating"},X={email:"^(?!\\.)[a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]+@(?!-)[a-zA-Z0-9-.]+\\.[a-zA-Z]{2,8}$",login:"[a-zA-Z\\d]+",password:"^[a-zA-Z0-9-_.!#$%&'*+-/=?^`{|}~]+"},x={ru:"6LftX68ZAAAAAOvXzEPz4lx9jgzfHdU3uVj-ptKT",en:"6LeLqkoeAAAAAJRRYF3PYurWZnAc1baSwmgsOlgk"},O=window.matchMedia("(pointer:coarse)").matches;class V{constructor(){this.urls=[]}get baseUrl(){const $=Math.floor(Math.random()*this.urls.length);return this.urls[$]}}},9571:(ct,ce,a)=>{a.d(ce,{r:()=>x});var e=a(7019),d=a(1584),X=a(9079);let x=(()=>{var O;class V{constructor(){this.destroyRef=(0,e.WQX)(e.abz)}onClickEvent(){this.parentElement.style.pointerEvents="none",(0,d.O)(100).pipe((0,X.pQ)(this.destroyRef)).subscribe(()=>this.parentElement.style.pointerEvents="")}}return(O=V).\u0275fac=function($){return new($||O)},O.\u0275dir=e.FsC({type:O,selectors:[["","appHoverReset",""]],hostBindings:function($,E){1&$&&e.bIt("click",function(){return E.onClickEvent()})},inputs:{parentElement:["appHoverReset","parentElement"]},standalone:!0}),V})()},6968:(ct,ce,a)=>{a.d(ce,{T:()=>X});var e=a(7019);const d={threshold:1};let X=(()=>{var x;class O{constructor(){this.element=(0,e.WQX)(e.aKT),this.intersected=new e.bkB,this.callback=p=>{this.intersected.next({isIntersecting:p[0].isIntersecting,element:this.element})}}ngOnInit(){this.appIntersection=this.appIntersection?this.appIntersection:d}ngAfterViewInit(){new IntersectionObserver(this.callback,this.appIntersection).observe(this.element.nativeElement)}}return(x=O).\u0275fac=function(p){return new(p||x)},x.\u0275dir=e.FsC({type:x,selectors:[["","appIntersection",""]],inputs:{appIntersection:"appIntersection"},outputs:{intersected:"intersected"},standalone:!0}),O})()},6082:(ct,ce,a)=>{a.d(ce,{S:()=>d});var e=a(7019);let d=(()=>{var X;class x{loadHandler(){this.firstLoad&&(this.el.nativeElement.setAttribute("loading","lazy"),this.imgLoaded.emit(),this.firstLoad=!1)}constructor(){this.el=(0,e.WQX)(e.aKT),this.firstLoad=!0,this.defaultImage="/ng-assets/images/no-image.svg",this.nextImagePath="",this.imageLoading=!1,this.sources=[],this.imgLoaded=new e.bkB,this.imgNotLoaded=new e.bkB,this.el.nativeElement.src=this.getDefault(),this.el.nativeElement.onerror=()=>{this.sources.forEach(V=>{if(window.matchMedia(V.media).matches){const p=V.srcset.split(",").filter(E=>E.trim().split(" ")[1]?.includes(window.devicePixelRatio+"x"))[0],$=p?p.trim().split(" ")[0]:V.srcset.trim().split(" ")[0];V.srcset=V.srcset.replace($,this.getDefault())}}),this.el.nativeElement.src=this.getDefault(),this.imgNotLoaded.emit()}}getDefault(){return this.mnemonic?this.mnemonic:this.defaultImage}cancelPreload(){this.preload&&(this.preload.onload=null,this.preload.onerror=null,this.preload.src="",this.preload=void 0)}showNextImage(){const V=this.el.nativeElement,p=this.nextImagePath;if(!p)return this.cancelPreload(),this.pendingPath=void 0,void(V.src=this.getDefault());this.pendingPath!==p&&(this.cancelPreload(),this.pendingPath=p,V.src=this.getDefault(),this.preload=new Image,this.preload.onload=()=>{this.nextImagePath===p&&(V.src=p)},this.preload.onerror=()=>this.imgNotLoaded.emit(),this.preload.src=p)}ngOnChanges(V){(V.imageLoading&&V.imageLoading.currentValue||V.nextImagePath&&V.nextImagePath.currentValue!==V.nextImagePath.previousValue&&V.nextImagePath.currentValue)&&this.showNextImage()}ngOnDestroy(){this.cancelPreload()}}return(X=x).\u0275fac=function(V){return new(V||X)},X.\u0275dir=e.FsC({type:X,selectors:[["","appLazyLoad",""]],hostBindings:function(V,p){1&V&&e.bIt("load",function(){return p.loadHandler()})},inputs:{mnemonic:["appLazyLoad","mnemonic"],nextImagePath:"nextImagePath",imageLoading:"imageLoading",sources:"sources"},outputs:{imgLoaded:"imgLoaded",imgNotLoaded:"imgNotLoaded"},standalone:!0,features:[e.OA$]}),x})()},9310:(ct,ce,a)=>{a.d(ce,{S:()=>X});var e=a(7019),d=a(243);let X=(()=>{var x;class O{constructor(){this.modelAttributionService=(0,e.WQX)(d.i)}onClick(){this.slug&&this.modelAttributionService.write(this.slug,this.attribution??{})}}return(x=O).\u0275fac=function(p){return new(p||x)},x.\u0275dir=e.FsC({type:x,selectors:[["","appModelAttribution",""]],hostBindings:function(p,$){1&p&&e.bIt("click",function(){return $.onClick()})("auxclick",function(){return $.onClick()})("contextmenu",function(){return $.onClick()})},inputs:{slug:["appModelAttribution","slug"],attribution:"attribution"},standalone:!0}),O})()},3812:(ct,ce,a)=>{a.d(ce,{Z:()=>O,d:()=>V});var e=a(7019),d=a(647),O=function(p){return p.TOP="top",p.BOTTOM="bottom",p.LEFT="left",p.RIGHT="right",p}(O||{});let V=(()=>{var p;class ${constructor(){this.el=(0,e.WQX)(e.aKT),this.elements=[],this.started=!1,this.tooltipDirection=O.TOP}onMouseEnter(){""!==this.tooltipTitle&&!d.Hy&&!this.started&&(this.timeoutId=window.setTimeout(()=>{this.el.nativeElement.matches(":hover")&&this.showTooltip()},500))}onTouchStart(){""!==this.tooltipTitle&&d.Hy&&void 0!==this.mobileTimeOut&&!this.started&&(this.el.nativeElement.classList.add("tooltip-show"),this.showTooltip())}showTooltip(){this.started=!0;const s=this.el.nativeElement.getBoundingClientRect(),I=document.createElement("span");this.elements.push(I),I.classList.add("tooltip-wrapper"),I.innerHTML=this.tooltipTitle;const W=this.offsetTooltip??8,G=I.querySelector("h4");if(G&&!G.classList.contains("tooltip-header")&&G.classList.add("tooltip-header"),document.body.appendChild(I),this.parentScrollElement){const J=I.getBoundingClientRect().height+W,z=this.el.nativeElement.getBoundingClientRect(),w=this.parentScrollElement.getBoundingClientRect();z.top-w.top<J&&(this.tooltipDirection=O.BOTTOM)}const B=I.getBoundingClientRect();switch(this.tooltipDirection){case O.TOP:I.style.top=s.top-W-B.height<0?s.bottom+W+"px":s.top-W-B.height+"px",this.setAlignX(I);break;case O.BOTTOM:I.style.top=s.bottom+W+"px",this.setAlignX(I);break;
17case O.LEFT:I.style.left=s.left-W-B.width+"px",I.style.top=s.top+Math.abs(s.height-B.height)/2+"px";break;case O.RIGHT:I.style.left=s.right+W+"px",I.style.top=s.top+Math.abs(s.height-B.height)/2+"px"}this.timeoutId=window.setInterval(()=>{d.Hy?this.removeTooltip():this.el.nativeElement.matches(":hover")||this.removeTooltip()},d.Hy&&this.mobileTimeOut||500)}setAlignX(s){const I=this.parentAlignXEl?this.parentAlignXEl.getBoundingClientRect():this.el.nativeElement.getBoundingClientRect();let W=s.getBoundingClientRect();const G=s.style;this.alignX?G.left="right"===this.alignX?I.right-W.width+"px":I.left+"px":(G.left=(I.width-W.width)/2+I.left<0?"0px":(I.width-W.width)/2+I.left+"px",W=s.getBoundingClientRect(),W.right>window.innerWidth&&(G.left="",G.right=window.innerWidth+"px"))}removeTooltip(){this.elements.forEach(s=>document.body.removeChild(s)),this.elements=[],clearInterval(this.timeoutId),this.started=!1}ngOnDestroy(){this.elements.length||this.removeTooltip()}}return(p=$).\u0275fac=function(s){return new(s||p)},p.\u0275dir=e.FsC({type:p,selectors:[["","appTooltip",""]],hostBindings:function(s,I){1&s&&e.bIt("mouseenter",function(){return I.onMouseEnter()})("touchstart",function(){return I.onTouchStart()})},inputs:{tooltipTitle:["appTooltip","tooltipTitle"],tooltipDirection:"tooltipDirection",offsetTooltip:"offsetTooltip",parentScrollElement:"parentScrollElement",mobileTimeOut:"mobileTimeOut",alignX:"alignX",parentAlignXEl:"parentAlignXEl"},standalone:!0}),$})()},4033:(ct,ce,a)=>{a.d(ce,{K:()=>Z});var e=a(7019),d=a(4173),X=a(174),x=a(9417),O=a(177),V=a(430),p=a(7719),$=a(2415),E=a(7566),s=a(647),I=a(710);const W=["searchInput"];function G(H,j){if(1&H){const F=e.RV6();e.j41(0,"app-close-button",15),e.bIt("buttonClick",function(){e.eBV(F);const ae=e.XpG();return e.Njj(ae.clear())}),e.k0s()}}function B(H,j){if(1&H){const F=e.RV6();e.j41(0,"button",16),e.bIt("click",function(){const N=e.eBV(F).$implicit,te=e.XpG();return e.Njj(te.submit(N[te.locale]))}),e.EFF(1),e.k0s()}if(2&H){const F=j.$implicit,ue=e.XpG();e.R7$(1),e.SpI(" ",F[ue.locale]," ")}}let z=(()=>{var H;class j{constructor(){this.router=(0,e.WQX)(V.Ix),this.modalService=(0,e.WQX)(d.B),this.locale=(0,e.WQX)(e.xe9),this.query=(0,e.vPA)(""),this.examples=E.w}onSearchKeydown(ue){"Enter"===ue.key&&!ue.isComposing&&(ue.preventDefault(),this.submit(this.query()))}clear(){this.query.set(""),this.searchInput.nativeElement.focus()}submit(ue){const ae=ue.replace(/\s+/g," ").trim();ae&&this.modalService.closeAll(()=>{this.router.navigate(["/"+I.iw.aiSearch],{queryParams:{q:ae}}).then()})}ngAfterViewInit(){s.Hy||this.searchInput.nativeElement.focus()}}return(H=j).\u0275fac=function(ue){return new(ue||H)},H.\u0275cmp=e.VBU({type:H,selectors:[["app-ai-search-popup"]],viewQuery:function(ue,ae){if(1&ue&&e.GBs(W,7),2&ue){let N;e.mGM(N=e.lsd())&&(ae.searchInput=N.first)}},inputs:{examples:"examples"},standalone:!0,features:[e.aNF],decls:25,vars:27,consts:[[3,"innerHTML"],[1,"search-form",3,"ngSubmit"],["rows","1","name","q","enterkeyhint","search","inputmode","search",1,"search-input",3,"ngModel","placeholder","ngModelChange","keydown"],["searchInput",""],[1,"search-actions"],["class","search-clear",3,"buttonClick",4,"ngIf"],["type","submit",1,"search-submit"],["width","28","height","28","viewBox","0 0 28 28","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M13 4C17.9706 4 22 8.02944 22 13C22 15.125 21.2619 17.0766 20.0303 18.6162L23.707 22.293C24.0976 22.6835 24.0976 23.3165 23.707 23.707C23.3165 24.0976 22.6835 24.0976 22.293 23.707L18.6162 20.0303C17.0766 21.2619 15.125 22 13 22C8.02944 22 4 17.9706 4 13C4 8.02944 8.02944 4 13 4ZM13 6C9.13401 6 6 9.13401 6 13C6 16.866 9.13401 20 13 20C16.866 20 20 16.866 20 13C20 9.13401 16.866 6 13 6Z","fill","currentColor"],[1,"ai-search-examples"],[1,"examples-title"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M17.6008 5.00088V7.80077M19.0009 6.40082H16.2007M11.3121 5.57097C11.3421 5.41039 11.4273 5.26537 11.553 5.161C11.6787 5.05664 11.8369 4.99951 12.0003 4.99951C12.1637 4.99951 12.3219 5.05664 12.4476 5.161C12.5732 5.26537 12.6584 5.41039 12.6884 5.57097L13.4242 9.46141C13.4765 9.73801 13.6109 9.99242 13.81 10.1915C14.009 10.3905 14.2635 10.5249 14.5401 10.5772L18.431 11.3128C18.5916 11.3428 18.7366 11.428 18.841 11.5537C18.9454 11.6794 19.0025 11.8376 19.0025 12.0009C19.0025 12.1643 18.9454 12.3225 18.841 12.4481C18.7366 12.5738 18.5916 12.659 18.431 12.689L14.5401 13.4247C14.2635 13.4769 14.009 13.6113 13.81 13.8104C13.6109 14.0094 13.4765 14.2638 13.4242 14.5404L12.6884 18.4309C12.6584 18.5914 12.5732 18.7365 12.4476 18.8408C12.3219 18.9452 12.1637 19.0023 12.0003 19.0023C11.8369 19.0023 11.6787 18.9452 11.553 18.8408C11.4273 18.7365 11.3421 18.5914 11.312
171 18.4309L10.5764 14.5404C10.5241 14.2638 10.3897 14.0094 10.1906 13.8104C9.99156 13.6113 9.73711 13.4769 9.46048 13.4247L5.56957 12.689C5.40898 12.659 5.26394 12.5738 5.15956 12.4481C5.05518 12.3225 4.99805 12.1643 4.99805 12.0009C4.99805 11.8376 5.05518 11.6794 5.15956 11.5537C5.26394 11.428 5.40898 11.3428 5.56957 11.3128L9.46048 10.5772C9.73711 10.5249 9.99156 10.3905 10.1906 10.1915C10.3897 9.99242 10.5241 9.73801 10.5764 9.46141L11.3121 5.57097ZM7.79998 17.6004C7.79998 18.3736 7.17313 19.0003 6.39987 19.0003C5.62661 19.0003 4.99976 18.3736 4.99976 17.6004C4.99976 16.8272 5.62661 16.2004 6.39987 16.2004C7.17313 16.2004 7.79998 16.8272 7.79998 17.6004Z","stroke","#64B2E3","stroke-width","1.2","stroke-linecap","round",2,"stroke","#64B2E3","stroke","color(display-p3 0.3922 0.6980 0.8902)","stroke-opacity","1"],[1,"examples-list"],["type","button","class","example",3,"click",4,"ngFor","ngForOf"],[1,"search-clear",3,"buttonClick"],["type","button",1,"example",3,"click"]],template:function(ue,ae){1&ue&&(e.nrm(0,"h1",0),e.nI1(1,"safeHtml"),e.nI1(2,"translate"),e.nrm(3,"div",0),e.nI1(4,"safeHtml"),e.nI1(5,"translate"),e.j41(6,"form",1),e.bIt("ngSubmit",function(){return ae.submit(ae.query())}),e.j41(7,"textarea",2,3),e.bIt("ngModelChange",function(te){return ae.query.set(te)})("keydown",function(te){return ae.onSearchKeydown(te)}),e.nI1(9,"translate"),e.nI1(10,"translate"),e.k0s(),e.j41(11,"div",4),e.DNE(12,G,1,0,"app-close-button",5),e.j41(13,"button",6),e.nI1(14,"translate"),e.qSk(),e.j41(15,"svg",7),e.nrm(16,"path",8),e.k0s()()()(),e.joV(),e.j41(17,"div",9)(18,"div",10),e.qSk(),e.j41(19,"svg",11),e.nrm(20,"path",12),e.k0s(),e.EFF(21),e.nI1(22,"translate"),e.k0s(),e.joV(),e.j41(23,"div",13),e.DNE(24,B,2,1,"button",14),e.k0s()()),2&ue&&(e.Y8G("innerHTML",e.bMT(1,11,e.bMT(2,13,"ai-search.global.title")),e.npT),e.R7$(3),e.Y8G("innerHTML",e.bMT(4,15,e.bMT(5,17,"ai-search.global.description")),e.npT),e.R7$(3),e.AVh("search-not-empty",ae.query().trim()),e.R7$(1),e.Y8G("ngModel",ae.query())("placeholder",e.bMT(9,19,"ai-search.global.placeholder")),e.BMQ("aria-label",e.bMT(10,21,"ai-search.global.placeholder")),e.R7$(5),e.Y8G("ngIf",ae.query().trim()),e.R7$(1),e.BMQ("aria-label",e.bMT(14,23,"ai-search.global.title")),e.R7$(8),e.SpI(" ",e.bMT(22,25,"ai-search.global.examplesTitle")," "),e.R7$(3),e.Y8G("ngForOf",ae.examples))},dependencies:[x.YN,x.qT,x.me,x.BC,x.cb,x.vS,x.cV,O.bT,X.D,p.$,$.o,O.Sq],styles:["[_nghost-%COMP%]{display:grid;width:100%}[_nghost-%COMP%]   h1[_ngcontent-%COMP%]{color:var(--blue-500);font-size:24px;font-weight:700;line-height:30px;margin:0 0 16px;text-align:center}[_nghost-%COMP%]   h1[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{color:var(--gray-1000);text-align:center;font-size:14px;line-height:150%;font-weight:500;max-width:400px;margin-bottom:32px;margin-left:auto;margin-right:auto}.search-form[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:8px;width:100%;max-width:968px;min-height:48px;margin:0 auto 48px;padding:0 3px 0 0;border-radius:24px;border:2px solid transparent;background-color:var(--gray-300);
17cursor:text;transition:background-color .1s ease-out,border-color .1s ease-out}@media (hover: hover) and (pointer: fine){.search-form[_ngcontent-%COMP%]:not(.active):not(.disabled):not(:active):not(:disabled):hover{background-color:var(--gray-000);border-color:var(--blue-300)}}.search-form.search-not-empty[_ngcontent-%COMP%]{background-color:var(--gray-000);border-color:var(--blue-300)}.search-form[_ngcontent-%COMP%]:focus-within{background-color:var(--gray-000);border-color:var(--blue-300)}.search-input[_ngcontent-%COMP%]{flex:1;min-width:0;padding:12px 0 12px 16px;border:none;outline:none;background:transparent;color:var(--gray-1000);font-family:inherit;font-size:16px;font-weight:500;line-height:20px;field-sizing:content;resize:none;overflow:hidden;overflow-wrap:anywhere;word-break:break-word}.search-input[_ngcontent-%COMP%]::placeholder{font-size:16px;color:var(--gray-800);font-weight:400;opacity:1;text-overflow:ellipsis}.search-actions[_ngcontent-%COMP%]{display:flex;flex-shrink:0;align-items:center;gap:8px;height:40px;margin-top:2px}@media (max-width: 991.98px){.search-actions[_ngcontent-%COMP%]{gap:0}}.search-clear[_ngcontent-%COMP%]{display:flex;align-items:center}.search-submit[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:none;border-radius:50%;background:none;color:var(--gray-900);cursor:pointer;transition:background-color .2s ease-out,color .2s ease-out}@media (hover: hover) and (pointer: fine){.search-submit[_ngcontent-%COMP%]:not(.active):not(.disabled):not(:active):not(:disabled):hover{background-color:var(--blue-400);color:var(--gray-000)}}.search-submit.active[_ngcontent-%COMP%], .search-submit[_ngcontent-%COMP%]:active{background-color:var(--blue-500);color:var(--gray-000)}.search-form[_ngcontent-%COMP%]{max-width:none;margin-bottom:32px}.ai-search-examples[_ngcontent-%COMP%]{display:grid;justify-items:center;gap:12px;width:100%;max-width:640px;margin-inline:auto}@media (max-width: 767.98px){.ai-search-examples[_ngcontent-%COMP%]{max-width:100%}}.examples-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;color:var(--gray-1000);font-size:16px;line-height:24px}.examples-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%}.example[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;min-height:32px;height:-moz-fit-content;height:fit-content;padding:6px 12px;border:none;border-radius:16px;background-color:var(--n-100);color:var(--gray-800);font-size:14px;line-height:20px;transition:background-color .2s ease-out,color .2s ease-out}@media (max-width: 767.98px){.example[_ngcontent-%COMP%]{width:100%}}@media (hover: hover) and (pointer: fine){.example[_ngcontent-%COMP%]:not(.active):not(.disabled):not(:active):not(:disabled):hover{color:var(--gray-1000);background-color:var(--gray-200)}}.example.active[_ngcontent-%COMP%], .example[_ngcontent-%COMP%]:active{color:var(--gray-1000);background-color:var(--gray-200)}"],changeDetection:0}),j})();const w=["aiSearchPopupTemplate"];function U(H,j){1&H&&e.nrm(0,"app-ai-search-popup")}let Z=(()=>{var H;class j{constructor(){this.modal=(0,e.WQX)(d.B)}openAiSearchPopup(){this.modal.open({template:this.aiSearchPopupTemplate,preventScroll:!0,styles:{maxWidth:"736px"}})}}return(H=j).\u0275fac=function(ue){return new(ue||H)},H.\u0275cmp=e.VBU({type:H,selectors:[["app-ai-search-button"]],viewQuery:function(ue,ae){if(1&ue&&e.GBs(w,7),2&ue){let N;e.mGM(N=e.lsd())&&(ae.aiSearchPopupTemplate=N.first)}},standalone:!0,features:[e.aNF],decls:5,vars:3,consts:[["type","button",1,"ai-search-button",3,"click"],["aiSearchPopupTemplate",""]],template:function(ue,ae){1&ue&&(e.j41(0,"button",0),e.bIt("click",function(){return ae.openAiSearchPopup()}),e.EFF(1),e.nI1(2,"translate"),e.k0s(),e.DNE(3,U,1,0,"ng-template",null,1,e.C5r)),2&ue&&(e.R7$(1),e.JRh(e.bMT(2,1,"ai-search.global.aiSearchButton")))},dependencies:[X.D,z],styles:['[_nghost-%COMP%]{display:inline-flex;align-self:center}.ai-search-button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;align-self:center;padding-left:12px;padding-right:12px;height:36px;border:none;border-radius:18px;background:linear-gradient(88deg,#0097F4 49.47%,#00D0FF 83.15%,#3EFFAC 103.63%);color:var(--gray-000);font-family:inherit;font-size:16px;font-weight:500;line-height:20px;white-space:nowrap;cursor:pointer}@media (max-width: 767.98px){.ai-search-button[_ngcontent-%COMP%]{padding-left:24px;padding-right:24px}}@media (hover: hover) and (pointer: fine){.ai-search-button[_ngcontent-%COMP%]:not(.active):not(.disabled):not(:active):not(:disabled):hover{background:linear-gradient(88deg,#0074CD 49.47%,#00B2E8 83.15%,#00E8D1 103.63%)}}.ai-search-button.active[_ngcontent-%COMP%], .ai-search-button[_ngcontent-%COMP%]:active{background:linear-gradient(88deg,#0074CD 49.47%,#00B2E8 83.15%,#00E8D1 103.63%)}.ai-search-button[_ngcontent-%COMP%]:after{content:"beta";display:inline-flex;align-items:center;justify-content:center;overflow:hidden;margin-left:6px;padding:2px 6px;border-radius:9px;background-color:var(--gray-000);color:var(--blue-500);font-size:12px;font-weight:500;line-height:14px}']}),j})()},9013:(ct,ce,a)=>{a.d(ce,{K:()=>O});var e=a(7019),d=a(8419),X=a(5116),x=a(6537);let O=(()=>{var V;class p{constructor(){this.subscribeHandlerService=(0,e.WQX)(X.e),this.bannersService=(0,e.WQX)(d.b)}errorHandler(E){E.classList.contains("initial")||E.classList.add("initial")}sendStat(E){this.subscribeHandlerService.takeOne(this.bannersService.apiBannersClick(E),()=>{})}}return(V=p).\u0275fac=function(E){return new(E||V)},V.\u0275cmp=e.VBU({type:V,selectors:[["app-banner"]],inputs:{bannerImage:"bannerImage"},standalone:!0,features:[e.aNF],decls:4,vars:4,consts:[["target","_blank","rel","nofollow",1,"initial",3,"href","click"],["link",""],["width","1320","loading","lazy","alt","",3,"src","error","load"]],template:function(E,s){if(1&
17E){const I=e.RV6();e.j41(0,"a",0,1),e.bIt("click",function(){let G;return s.sendStat(null!==(G=null==s.bannerImage?null:s.bannerImage.click_url)&&void 0!==G?G:"")}),e.j41(2,"img",2),e.bIt("error",function(){e.eBV(I);const G=e.sdS(1);return e.Njj(s.errorHandler(G))})("load",function(){e.eBV(I);const G=e.sdS(1);return e.Njj(G.classList.remove("initial"))}),e.nI1(3,"imageBaseUrl"),e.k0s()()}if(2&E){let I;e.FS9("href",null!==(I=null==s.bannerImage?null:s.bannerImage.redirect_url)&&void 0!==I?I:"",e.B4B),e.R7$(2),e.FS9("src",null!=s.bannerImage&&s.bannerImage.image?e.bMT(3,2,s.bannerImage.image):"",e.B4B)}},dependencies:[x.U],styles:["[_nghost-%COMP%]{display:flex}[_nghost-%COMP%]   a[_ngcontent-%COMP%]{display:flex;width:100%;max-width:100%}[_nghost-%COMP%]   a.initial[_ngcontent-%COMP%]{background-color:#efeff0;pointer-events:none;cursor:default}[_nghost-%COMP%]   a.initial[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{visibility:hidden}[_nghost-%COMP%]   img[_ngcontent-%COMP%]{width:100%}@media (max-width: 767.98px){[_nghost-%COMP%]   img[_ngcontent-%COMP%]{aspect-ratio:6/1}}@media (min-width: 768px){[_nghost-%COMP%]   img[_ngcontent-%COMP%]{aspect-ratio:18/1}}@media (min-width: 576px){[_nghost-%COMP%]   img[_ngcontent-%COMP%], [_nghost-%COMP%]   a[_ngcontent-%COMP%]{border-radius:4px}}"],changeDetection:0}),p})()},7163:(ct,ce,a)=>{a.d(ce,{M:()=>B});var e=a(7019),d=a(8035),X=a(8810),x=a(9437),O=a(174),V=a(4039),p=a(177),$=a(3812),E=a(5116),s=a(6069);const I=["elem"];function W(J,z){1&J&&(e.j41(0,"span",7),e.nI1(1,"translate"),e.qSk(),e.j41(2,"svg",8),e.nrm(3,"path",9)(4,"path",10),e.k0s()()),2&J&&e.Y8G("title",e.bMT(1,1,"collection.bookmarkListPopup.public"))}function G(J,z){if(1&J){const w=e.RV6();e.j41(0,"div",3,4),e.nI1(2,"translate"),e.j41(3,"app-checkbox-container",5),e.bIt("clickEvent",function(){const H=e.eBV(w).index,j=e.XpG();return e.Njj(j.onClick(H))}),e.EFF(4),e.DNE(5,W,5,3,"span",6),e.k0s()()}if(2&J){const w=z.$implicit;e.XpG();const U=e.sdS(1);e.Y8G("appTooltip",w.publicLimitExceeded&&!w.isAdded?e.bMT(2,8,"collection.bookmarkListPopup.publicLimitExceeded"):"")("offsetTooltip",0)("mobileTimeOut",4e3)("parentScrollElement",U),e.R7$(3),e.Y8G("state",w.state)("isInList",!0),e.R7$(1),e.SpI(" ",w.title," "),e.R7$(1),e.Y8G("ngIf",w.isShared)}}let B=(()=>{var J;class z{constructor(U,Z,H,j){this.service=U,this.translate=Z,this.subscribeHandlerService=H,this.popupBarService=j,this.bookmarkList=[],this.modelSlug="",this.stateChange=new e.bkB}ngOnInit(){this.service.isBookmarkListOpen.next(!0)}onClick(U){this.subscribeHandlerService.takeOne(this.service.setBookmark(this.modelSlug,this.bookmarkList[U].id,this.bookmarkList[U].state.checked).pipe((0,x.W)(Z=>(this.popupBarService.showGlobalErrorPopup(),(0,X.$)(()=>Z)))),Z=>{const H="added"===Z.data.result,j=this.translate.transform(H?"collection.bookmarkListPopup.modelCollectionAdded":"collection.bookmarkListPopup.modelCollectionDeleted",[{"@@name":this.bookmarkList[U].title}]);this.bookmarkList[U].isAdded=H,this.bookmarkList[U].state.checked=H,this.bookmarkList[U].publicLimitExceeded=Z.data.publicLimitExceeded,this.bookmarkList[U].state.disabled=Z.data.publicLimitExceeded&&!H&&this.bookmarkList[U].isShared,this.popupBarService.showPopup({data:j}),this.stateChange.emit(this.bookmarkList.some(F=>F.isAdded))},this.bookmarkList[U].state.loadingState)}scrollToFirstChecked(){const U=this.bookmarkList.findIndex(Z=>Z.state.checked);U>0&&this.elements&&this.elements.get(U).nativeElement.scrollIntoView({block:"center",behavior:"smooth"})}ngAfterViewInit(){this.scrollToFirstChecked()}ngOnDestroy(){this.service.isBookmarkListOpen.next(!1)}}return(J=z).\u0275fac=function(U){return new(U||J)(e.rXU(d.K),e.rXU(O.D),e.rXU(E.e),e.rXU(s.h))},J.\u0275cmp=e.VBU({type:J,selectors:[["app-bookmark-list-popup"]],viewQuery:function(U,Z){if(1&U&&e.GBs(I,5),2&U){let H;e.mGM(H=e.lsd())&&(Z.elements=H)}},inputs:{bookmarkList:"bookmarkList",modelSlug:"modelSlug"},outputs:{stateChange:"stateChange"},standalone:!0,features:[e.aNF],decls:3,vars:1,consts:[[1,"bookmark-list"],["scroll",""],[3,"appTooltip","offsetTooltip","mobileTimeOut","parentScrollElement",4,"ngFor","ngForOf"],[3,"appTooltip","offsetTooltip","mobileTimeOut","parentScrollElement"],["elem",""],[3,"state","isInList","clickEvent"],["style","margin-left: 4px;",3,"title",4,"ngIf"],[2,"margin-left","4px",3,"title"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M8.6878 2.9144C9.27722 2.32322 10.0707 1.99266 10.8981 2.00012C11.7256 2.00759 12.5132 2.35239 13.0924 2.95391C13.6711 3.55482 13.9962 4.36388 14.0032 5.20592C14.0103 6.04796 13.6988 6.86258 13.1305 7.47363L13.1246 7.47998L11.545 9.12018C11.545 9.1202 11.545 9.12016 11.545 9.12018C11.2284 9.44904 10.8462 9.70466 10.4237 9.86834C10.001 10.0321 9.54876 10.0997 9.09781 10.0661C8.64687 10.0326 8.20902 9.89879 7.81402 9.67467C7.41908 9.4506 7.0767 9.14182 6.80917 8.7704C6.64778 8.54633 6.69858 8.23386 6.92265 8.07246C7.14672 7.91107 7.4592 7.96187 7.62059 8.18594C7.80529 8.44236 8.03987 8.65307 8.30749 8.80491C8.57504 8.95671 8.86985 9.04643 9.17198 9.0689C9.47409 9.09137 9.77767 9.04617 10.0624 8.93586C10.3473 8.82552 10.6074 8.65229 10.8246 8.42668L12.401 6.78959C12.79 6.36972 13.0082 5.80447 13.0033 5.21429C12.9983 4.62271 12.7697 4.06041 12.3721 3.64755C11.9751 3.23531 11.4422 3.00507 10.8891 3.00008C10.3372 2.9951 9.80171 3.21477 9.39839 3.61803L8.49543 4.55028C8.30331 4.74863 7.98677 4.75368 7.78841 4.56156C7.59006 4.36944 7.58501 4.0529 7.77713 3.85454L8.6878 2.9144Z","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M5.57968 6.13684C6.0023 5.97312 6.45457 5.90549 6.90552 5.93903C7.35646 5.97256 7.79431 6.10639 8.18932 6.3305C8.58425 6.55457 8.92664 6.86336 9.19416 7.23477C9.35556 7.45884 9.30475 7.77132 9.08068 7.93271C8.85662 8.09411 8.54414 8.0433 8.38274 7.81923C8.198
1704 7.56281 7.96347 7.3521 7.69584 7.20026C7.42829 7.04846 7.13348 6.95874 6.83136 6.93627C6.52924 6.9138 6.22566 6.959 5.9409 7.06932C5.65608 7.17965 5.39594 7.35288 5.17876 7.5785L3.60232 9.2156C3.21329 9.63547 2.99514 10.2007 3.00008 10.7909C3.00503 11.3825 3.23366 11.9448 3.63122 12.3576C4.02819 12.7699 4.56117 13.0001 5.11421 13.0051C5.66589 13.0101 6.20119 12.7906 6.60445 12.3876L7.50163 11.4559C7.69317 11.257 8.00969 11.2511 8.20861 11.4426C8.40752 11.6341 8.41349 11.9507 8.22195 12.1496L7.31558 13.0908C6.72616 13.682 5.93267 14.0125 5.10518 14.0051C4.27772 13.9976 3.49013 13.6528 2.9109 13.0513C2.33226 12.4504 2.00716 11.6413 2.00012 10.7993C1.99307 9.95722 2.30457 9.14259 2.87287 8.53155L2.87878 8.52519L4.45831 6.88499C4.45833 6.88497 4.45829 6.88501 4.45831 6.88499C4.77488 6.55614 5.15715 6.30052 5.57968 6.13684Z","fill","currentColor"]],template:function(U,Z){1&U&&(e.j41(0,"div",0,1),e.DNE(2,G,6,10,"div",2),e.k0s()),2&U&&(e.R7$(2),e.Y8G("ngForOf",Z.bookmarkList))},dependencies:[p.MD,p.Sq,p.bT,$.d,O.D,V.S],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]   .bookmark-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px}@media (min-width: 992px){[_nghost-%COMP%]   .bookmark-list[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{border-radius:4px}}[_nghost-%COMP%]   .bookmark-list[_ngcontent-%COMP%]   app-checkbox-container[_ngcontent-%COMP%]     div>span{word-break:break-word}[_nghost-%COMP%]   .bookmark-list[_ngcontent-%COMP%]   app-checkbox-container[_ngcontent-%COMP%]     div>span:not(.ico-checkmark){color:#000}[_nghost-%COMP%]   .bookmark-list[_ngcontent-%COMP%]   app-checkbox-container[_ngcontent-%COMP%]     div>span:not(.ico-checkmark) span{display:inline-flex;vertical-align:top}"]}),z})()},4039:(ct,ce,a)=>{a.d(ce,{S:()=>E});var e=a(7019),d=a(8207),X=a(177),x=a(4247),O=a(3792);function V(s,I){1&s&&(e.j41(0,"span",4),e.nrm(1,"app-svg",5),e.k0s()),2&s&&(e.R7$(1),e.Y8G("iconPath","/ng-assets/images/checkbox/checkmark.svg"))}function p(s,I){1&s&&(e.j41(0,"span",6),e.nrm(1,"app-spinner",7),e.k0s()),2&s&&(e.R7$(1),e.Y8G("height",20)("mainColor","var(--blue-400, #0881CC)"))}const $=["*"];let E=(()=>{var s;class I{constructor(){this.state={checked:!1,loadingState:new d.I,disabled:!1},this.isInList=!1,this.clickEvent=new e.bkB}}return(s=I).\u0275fac=function(G){return new(G||s)},s.\u0275cmp=e.VBU({type:s,selectors:[["app-checkbox-container"]],hostVars:2,hostBindings:function(G,B){2&G&&e.AVh("in-list",B.isInList)},inputs:{state:"state",isInList:"isInList"},outputs:{clickEvent:"clickEvent"},standalone:!0,features:[e.aNF],ngContentSelectors:$,decls:6,vars:8,consts:[[3,"click"],["type","checkbox",3,"checked","disabled"],["class","ico-checkmark",4,"ngIf"],["class","loading",4,"ngIf"],[1,"ico-checkmark"],[3,"iconPath"],[1,"loading"],[3,"height","mainColor"]],template:function(G,B){1&G&&(e.NAR(),e.j41(0,"div",0),e.bIt("click",function(z){return B.clickEvent.emit(z)}),e.nrm(1,"input",1),e.DNE(2,V,2,1,"span",2),e.DNE(3,p,2,2,"span",3),e.j41(4,"span"),e.SdG(5),e.k0s()()),2&G&&(e.xc7("cursor",B.state.disabled||B.state.loadingState.isLoading?"default":"pointer")("pointer-events",B.state.disabled||B.state.loadingState.isLoading?"none":""),e.R7$(1),e.Y8G("checked",B.state.checked)("disabled",B.state.disabled),e.R7$(1),e.Y8G("ngIf",!B.state.loadingState.isLoading),e.R7$(1),e.Y8G("ngIf",B.state.loadingState.isLoading))},dependencies:[X.bT,x.t,O.k],styles:['[_nghost-%COMP%]{display:flex;align-items:flex-start;font-size:16px;line-height:20px;color:#5e5e5e;user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;position:relative}[_nghost-%COMP%] > div[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:10px;min-width:0;width:100%}[_nghost-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:not(.ico-checkmark):not(.loading):empty{display:none}[_nghost-%COMP%]   .ico-checkmark[_ngcontent-%COMP%]{height:20px;width:20px;border-radius:6px;border-style:solid;border-width:1px;display:inline-grid;place-items:center;color:var(--gray-000);flex-shrink:0;background-color:transparent}[_nghost-%COMP%]   .loading[_ngcontent-%COMP%]{display:inline-grid}[_nghost-%COMP%]   input[_ngcontent-%COMP%]{position:absolute;display:none}[_nghost-%COMP%]   input[_ngcontent-%COMP%]:not(:checked):not(:disabled) ~ .ico-checkmark[_ngcontent-%COMP%]{border-color:var(--gray-700);color:transparent}[_nghost-%COMP%]   input[_ngcontent-%COMP%]:disabled:checked ~ .ico-checkmark[_ngcontent-%COMP%]{border-color:var(--gray-400);color:var(--gray-400)}[_nghost-%COMP%]   input[_ngcontent-%COMP%]:disabled:checked ~ span[_ngcontent-%COMP%]:not(.ico-checkmark){color:#8c8c8c!important}[_nghost-%COMP%]   input[_ngcontent-%COMP%]:disabled:not(:checked) ~ .ico-checkmark[_ngcontent-%COMP%]{border-color:var(--gray-400);color:#fff}[_nghost-%COMP%]   input[_ngcontent-%COMP%]:disabled:not(:checked) ~ span[_ngcontent-%COMP%]:not(.ico-checkmark){color:#8c8c8c!important}[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked:not(:disabled) ~ .ico-checkmark[_ngcontent-%COMP%]{background-color:var(--blue-400);border-color:var(--blue-400)}@media (hover: hover) and (pointer: fine){[_nghost-%COMP%]:hover   input[_ngcontent-%COMP%]:not(:disabled):not(:checked) ~ .ico-checkmark[_ngcontent-%COMP%], .hovered[_nghost-%COMP%]   input[_ngcontent-%COMP%]:not(:disabled):not(:checked) ~ .ico-checkmark[_ngcontent-%COMP%]{background-color:var(--blue-200);border-color:var(--blue-300);color:var(--gray-000);transition:background-color .2s ease-out,border-color .2s ease-out}}.in-list[_nghost-%COMP%]{isolation:isolate}@media (hover: hover) and (pointer: fine){.in-list[_nghost-%COMP%]{margin:6px 0}.in-list[_nghost-%COMP%]:before{content:"";position:absolute;inset:-6px;background-color:var(--n-100);border-radius:8px;z-index:-1;opacity:0;pointer-events:none}.in-list[_nghost-%COMP%]:hover:before, .in-list.hovered[_nghost-%COMP%]:before{opacity:1;transition:opacity .2s ease-out}}@media (pointer: coarse){.in-list[_nghost-%COMP%]{margin:12px 0}.in-list[_nghost-%COMP%]:active:before, .in-list.hovered[_nghost-%COMP%]:before{content:"";position:absolute;inset:-12px 24px -12px -12px;background-color:var(--n-100);border-radius:8px;z-index:-1}}@media (pointer: coarse) and (min-width: 768px) and (max-width: 991.98px){.in-list[_nghost-%COMP%]:active:before, .in-list.hovered[_nghost-%COMP%]:before{inset:-12px 0 -12px -12px}}']}),I})()},2415:(ct,ce,a)=>{a.d(ce,{o:()=>d});var e=a(7019);let d=(()=>{var X;class x{constructor(){this.buttonClick=new e.bkB}}return(X=x).\u0275fac=function(V){return new(V||X)},X.\u0275cmp=e.VBU({type:X,selectors:[["app-close-button"]],outputs:{buttonClick:"buttonClick"},standalone:!0,features:[e.aNF],decls:13,vars:0,consts:[["type","button",3,"click"],[1,"mobile-state"],["width","44","height","44","viewBox","0 0 44 44","fill","none","xmlns","http://www.w3.org/2000/svg"],["cx","22","cy","22","r","15","fill","currentColor","fill-opacity","0.4",1,"svg-circle"],["fill-rule","evenodd","clip-rule","evenodd","d","M16.2929 16.2929C16.6834 15.9024 17.3166 15.9024 17.7071 16.2929L22 20.5858L26.2929 16.2929C26.6834 15.9024 27.3166 15.9024 27.7071 16.2929C28.0976 16.6834 28.0976 17.3166 27.7071 17.7071L23.4142 22L27.7071 26.2929C28.0976 26.6834 28.0976 27.3166 27.7071 27.7071C27.3166 28.0976 26.6834 28.0976 26.2929 27.7071L22 23.4142L17.7071 27.7071C17.3166 28.0976 16.6834 28.0976 16.2929 27.7071C15.9024 27.3166 15.9024 26.6834 16.2929 26.2929L20.5858 22L16.2929 17.7071C15.9024 17.3166 15.9024 16.6834 16.2929 16.2929Z","fill","currentColor",1,"svg-cross"],[1,"desktop-state"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_21720_82892)"],["d","M11.875 24.125C18.5024 24.125 23.875 18.7524 23.875 12.125C23.875 5.49758 18.5024 0.125 11.875 0.125C5.24758 0.125 -0.125 5.49758 -0.125 12.125C-0.125 18.7524 5.24758 24.125 11.875 24.125Z","fill","currentColor","fill-opacity","0.4",1,"svg-circle"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.29289 6.29289C6.68342 5.90237 7.31658 5.90237 7.70711 6.29289L12 10.5858L16.2929 6.29289C16.6834 5.90237 17.3166 5.90237 17.7071 6.29289C18.0976 6.68342 18.0976 7.31658 17.7071 7.70711L13.4142 12L17.7071 16.2929C18.0976 16.6834 18.0976 17.3166 17.7071 17.7071C17.3166 18.0976 16.6834 18.0976 16.2929 17.7071L12 13.4142L7.70711 17.7071C7.31658 18.0976 6.68342 18.0976 6.29289 17.7071C5.90237 17.3166 5.90237 16.6834 6.29289 16.2929L10.5858 12L6.29289 7.70711C5.90237 7.31658 5.90237 6.68342 6.29289 6.29289Z","fill","currentColor",1,"svg-cross"],["
17id","clip0_21720_82892"],["width","24","height","24","fill","white"]],template:function(V,p){1&V&&(e.j41(0,"button",0),e.bIt("click",function(){return p.buttonClick.emit()}),e.j41(1,"div",1),e.qSk(),e.j41(2,"svg",2),e.nrm(3,"circle",3)(4,"path",4),e.k0s()(),e.joV(),e.j41(5,"div",5),e.qSk(),e.j41(6,"svg",6)(7,"g",7),e.nrm(8,"path",8)(9,"path",9),e.k0s(),e.j41(10,"defs")(11,"clipPath",10),e.nrm(12,"rect",11),e.k0s()()()()())},styles:["button[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:none;padding:0;margin:0;background:none;width:44px;height:44px}button[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .svg-circle[_ngcontent-%COMP%]{fill:none;transition:fill .15s ease-out}button[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .svg-cross[_ngcontent-%COMP%]{fill:#8c8c8c;transition:fill .15s ease-out}@media (pointer: fine) and (hover: hover){button[_ngcontent-%COMP%]{width:24px;height:24px}button[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]   .svg-circle[_ngcontent-%COMP%]{fill:#efeff066}button[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]   .svg-cross[_ngcontent-%COMP%]{fill:#373737}}button[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%]   .svg-circle[_ngcontent-%COMP%]{fill:#efeff066}button[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%]   .svg-cross[_ngcontent-%COMP%]{fill:#373737}@media (pointer: fine) and (hover: hover){button[_ngcontent-%COMP%]   .mobile-state[_ngcontent-%COMP%]{display:none}}button[_ngcontent-%COMP%]   .desktop-state[_ngcontent-%COMP%]{display:none}@media (pointer: fine) and (hover: hover){button[_ngcontent-%COMP%]   .desktop-state[_ngcontent-%COMP%]{display:block}}"]}),x})()},4439:(ct,ce,a)=>{a.d(ce,{i:()=>fe});var e=a(7019),d=a(5697),X=a(9969),x=a(1180),O=a(6977),V=a(1413),p=a(1584),$=a(177),E=a(5349),s=a(2965);function W(le,Ue){if(1&le&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"langConverter"),e.k0s()),2&le){const Fe=e.XpG();e.R7$(1),e.SpI(" ",e.i5U(2,1,Fe.model.category_parent.title,Fe.model.category_parent.title_en)," / ")}}function G(le,Ue){if(1&le&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"langConverter"),e.k0s()),2&le){const Fe=e.XpG();e.R7$(1),e.SpI(" ",e.i5U(2,1,Fe.model.category.title,Fe.model.category.title_en)," / ")}}function B(le,Ue){if(1&le&&(e.qex(0),e.EFF(1),e.bVm()),2&le){const Fe=e.XpG();e.R7$(1),e.SpI(" ",null==Fe.model?null:Fe.model.model_type," ")}}function J(le,Ue){1&le&&(e.qex(0),e.EFF(1," FREE "),e.qSk(),e.j41(2,"svg",12),e.nrm(3,"path",13)(4,"path",14),e.k0s(),e.bVm())}function z(le,Ue){1&le&&(e.qSk(),e.j41(0,"svg",15),e.nrm(1,"path",16)(2,"path",17),e.k0s())}function w(le,Ue){1&le&&e.nrm(0,"img",25)}function U(le,Ue){1&le&&e.nrm(0,"img",26)}function Z(le,Ue){if(1&le&&(e.j41(0,"span",27),e.EFF(1),e.k0s()),2&le){const Fe=e.XpG(4);e.R7$(1),e.SpI(" ",Fe.model.properties.render.title,"")}}function H(le,Ue){if(1&le&&(e.j41(0,"div",21),e.DNE(1,w,1,0,"img",22),e.DNE(2,U,1,0,"img",23),e.DNE(3,Z,2,1,"span",24),e.k0s()),2&le){const Fe=e.XpG(3);e.R7$(1),e.Y8G("ngIf",Fe.model.properties.render.title.match(Fe.checkRender("vray"))),e.R7$(1),e.Y8G("ngIf",Fe.model.properties.render.title.match(Fe.checkRender("corona"))),e.R7$(1),e.Y8G("ngIf",!Fe.model.properties.render.title.match(Fe.checkRender("vray|corona")))}}function j(le,Ue){if(1&le&&(e.qex(0),e.DNE(1,H,4,3,"div",20),e.bVm()),2&le){const Fe=e.XpG(2);e.R7$(1),e.Y8G("ngIf",Fe.model.properties.render.title)}}function F(le,Ue){if(1&le&&(e.j41(0,"div",28),e.EFF(1),e.nI1(2,"langConverter"),e.k0s()),2&le){const Fe=e.XpG(3);e.R7$(1),e.SpI(" ",e.i5U(2,1,Fe.model.properties.platform.title,Fe.model.properties.platform.titleEn)," ")}}function ue(le,Ue){if(1&le&&(e.qex(0),e.DNE(1,F,3,4,"div",19),e.bVm()),2&le){const Fe=e.XpG(2);e.R7$(1),e.Y8G("ngIf",Fe.model.properties.platform.title)}}function ae(le,Ue){if(1&le&&(e.j41(0,"div",28),e.EFF(1),e.k0s()),2&le){const Fe=e.XpG(2);e.R7$(1),e.SpI(" ",Fe.modelService.modePolygons(Fe.model.properties.polygons)+" "+Fe.polygon[Fe.locale]," ")}}function N(le,Ue){if(1&le&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&le){const Fe=e.XpG(3);e.R7$(1),e.JRh(Fe.model.properties.length)}}function te(le,Ue){1&le&&(e.j41(0,"span",32),e.EFF(1,"x"),e.k0s())}function ie(le,Ue){if(1&le&&(e.j41(0,"span"),e.DNE(1,te,2,0,"span",31),e.EFF(2),e.k0s()),2&le){const Fe=e.XpG(3);e.R7$(1),e.Y8G("ngIf",Fe.model.properties.length),e.R7$(1),e.JRh(Fe.model.properties.width)}}function re(le,Ue){1&le&&(e.j41(0,"span",32),e.EFF(1,"x"),e.k0s())}function Ee(le,Ue){if(1&le&&(e.j41(0,"span"),e.DNE(1,re,2,0,"span",31),e.EFF(2),e.k0s()),2&le){const Fe=e.XpG(3);e.R7$(1),e.Y8G("ngIf",Fe.model.properties.length||Fe.model.properties.width),e.R7$(1),e.JRh(Fe.model.properties.height)}}function Re(le,Ue){if(1&le&&(e.j41(0,"span",30),e.EFF(1),e.k0s()),2&le){const Fe=e.XpG(3);e.R7$(1),e.JRh(Fe.whl.l[Fe.locale])}}function Mt(le,Ue){1&le&&(e.j41(0,"span",32),e.EFF(1,"x"),e.k0s())}function wt(le,Ue){if(1&le&&(e.j41(0,"span",30),e.DNE(1,Mt,2,0,"span",31),e.EFF(2),e.k0s()),2&le){const Fe=e.XpG(3);e.R7$(1),e.Y8G("ngIf",Fe.model.properties.length),e.R7$(1),e.JRh(Fe.whl.w[Fe.locale])}}function At(le,Ue){1&le&&(e.j41(0,"span",32),e.EFF(1,"x"),e.k0s())}function Et(le,Ue){if(1&le&&(e.j41(0,"span",30),e.DNE(1,At,2,0,"span",31),e.EFF(2),e.k0s()),2&le){const Fe=e.XpG(3);e.R7$(1),e.Y8G("ngIf",Fe.model.properties.length||Fe.model.properties.width),e.R7$(1),e.JRh(Fe.whl.h[Fe.locale])}}function It(le,Ue){if(1&le&&(e.j41(0,"div",28),e.DNE(1,N,2,1,"span",5),e.DNE(2,ie,3,2,"span",5),e.DNE(3,Ee,3,2,"span",5),e.j41(4,"span"),e.EFF(5,"\xa0"),e.k0s(),e.DNE(6,Re,2,1,"span",29),e.DNE(7,wt,3,2,"span",29),e.DNE(8,Et,3,2,"span",29),e.j41(9,"span",30),e.EFF(10),e.k0s()()),2&le){const Fe=e.XpG(2);e.R7$(1),e.Y8G("ngIf",Fe.model.properties.length),e.R7$(1),e.Y8G("ngIf",Fe.model.properties.width),e.R7$(1),e.Y8G("ngIf",Fe.model.properties.height),e.R7$(3),e.Y8G("ngIf",Fe.model.properties.length),e.R7$(1),e.Y8G("ngIf",Fe.model.properties.width),e.R7$(1),e.Y8G("ngIf",Fe.model.properties.height),e.R7$(2),e.SpI("(",Fe.sm[Fe.locale],")")}}function bt(le,Ue){if(1&le&&(e.j41(0,"div",28),e.EFF(1),e.nI1(2,"number"),e.k0s()),2&le){const Fe=e.XpG(2);e.R7$(1),e.SpI(" ",e.i5U(2,1,Fe.model.properties.size_kb/1024,"1.0-0")+" "+Fe.mb[Fe.locale]," ")}}function st(le,Ue){if(1&le&&(e.j41(0,"div",18),e.DNE(1,j,2,1,"ng-container",5),e.DNE(2,ue,2,1,"ng-container",5),e.DNE(3,ae,2,1,"div",19),e.DNE(4,It,11,7,"div",19),e.DNE(
175,bt,3,4,"div",19),e.k0s()),2&le){const Fe=e.XpG();e.R7$(1),e.Y8G("ngIf",Fe.model.properties.render),e.R7$(1),e.Y8G("ngIf",Fe.model.properties.platform),e.R7$(1),e.Y8G("ngIf",Fe.model.properties.polygons),e.R7$(1),e.Y8G("ngIf",Fe.model.properties.length||Fe.model.properties.width||Fe.model.properties.height),e.R7$(1),e.Y8G("ngIf",Fe.model.properties.size_kb&&Fe.model.properties.size_kb>500)}}a(647);const ne=function(le){return{backgroundColor:le}};let fe=(()=>{var le;class Ue{constructor(nt,_t,Ge,Ct,ze,mt,Ot){this.el=nt,this.renderer=_t,this.modelService=Ge,this.cdRef=Ct,this.imageBaseUrl=ze,this.locale=mt,this.sky=Ot,this.unsubscriber=new V.B,this.modelPopupPath=this.sky?d.oT.modelPopupEn:d.oT.modelPopup,this.defaultNoImage="/ng-assets/images/no-image.svg",this.modelPopupImg=this.imageBaseUrl.baseUrl+this.modelPopupPath,this.loadingImg=!0,this.mb={ru:"\u041c\u0411",en:"MB",es:"MB"},this.sm={ru:"\u0441\u043c",en:"sm",es:"sm"},this.whl={w:{ru:"\u0448",en:"w",es:"w"},h:{ru:"\u0432",en:"h",es:"h"},l:{ru:"\u0434",en:"l",es:"l"}},this.polygon={ru:"\u043f\u043e\u043b\u0438\u0433\u043e\u043d\u043e\u0432",en:"polygons",es:"polygons"},this.show=!1}ngOnInit(){const nt=this.el.nativeElement;this.renderer.appendChild(document.body,this.el.nativeElement),nt.style.top="24px",this.cdRef.detectChanges();const _t=this.relativeEl?.getBoundingClientRect();if(!_t)return;const Ge=document.documentElement,Ct=_t.top+_t.height/2,ze=_t.right,mt=_t.left;mt>Ge.clientWidth-ze?(nt.style.width=mt>688?"640px":mt-48+"px",nt.style.right=Ge.clientWidth-mt+24+"px"):(nt.style.left=ze+24+"px",nt.style.width=Ge.clientWidth-ze>688?"640px":Ge.clientWidth-ze-48+"px");const Qe=this.el.nativeElement.querySelector(".info")?.getBoundingClientRect()?.height||0;nt.style.height=nt.getBoundingClientRect().width+Qe+"px",nt.getBoundingClientRect().height+48>Ge.clientHeight&&(nt.style.height="",nt.style.top="24px",nt.style.bottom="24px",nt.style.width=nt.getBoundingClientRect().height-Qe+"px"),Ct-nt.getBoundingClientRect().height/2>0&&(nt.style.top=Ct-nt.getBoundingClientRect().height/2+"px",nt.style.bottom=""),Ct+nt.getBoundingClientRect().height/2>Ge.clientHeight&&(nt.style.bottom="24px",nt.style.top=""),this.cdRef.detectChanges(),this.el.nativeElement.querySelectorAll(".images img").forEach(ut=>{const ht=nt.getBoundingClientRect().width;ut.style.width=`${ht}px`,ut.style.height=`${ht}px`}),(0,p.O)(600).pipe((0,O.Q)(this.unsubscriber)).subscribe(()=>{this.show=!0,this.cdRef.markForCheck()})}checkRender(nt){return new RegExp(nt,"gi")}ngOnDestroy(){this.unsubscriber.next()}}return(le=Ue).\u0275fac=function(nt){return new(nt||le)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(s.JW),e.rXU(e.gRc),e.rXU(x.sT),e.rXU(e.xe9),e.rXU(x.ef))},le.\u0275cmp=e.VBU({type:le,selectors:[["app-model-image-popup"]],hostVars:1,hostBindings:function(nt,_t){2&nt&&e.zvX("@show",_t.show)},standalone:!0,features:[e.aNF],decls:19,vars:19,consts:[[1,"images"],["alt","",3,"src"],["alt","",1,"main-popup-img",3,"src","load","error"],["image",""],[1,"info"],[4,"ngIf"],[2,"font-weight","500"],[1,"model-popup-info"],[1,"model-type",3,"ngStyle"],["modelType",""],["class","created-by-ai","width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg",4,"ngIf"],["class","properties",4,"ngIf"],["width","12","height","12","viewBox","0 0 12 12","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M5.85535 1.51676C6.20202 0.868618 7.13123 0.868619 7.4779 1.51676L7.71134 1.95319C7.91826 2.34006 8.36956 2.52699 8.78943 2.39975L9.2631 2.25621C9.96654 2.04304 10.6236 2.70009 10.4104 3.40352L10.2669 3.87719C10.1396 4.29707 10.3266 4.74837 10.7134 4.95529L11.1499 5.18873C11.798 5.5354 11.798 6.4646 11.1499 6.81127L10.7134 7.04471C10.3266 7.25163 10.1396 7.70293 10.2669 8.12281L10.4104 8.59648C10.6236 9.29991 9.96654 9.95696 9.2631 9.74379L8.78943 9.60025C8.36956 9.47301 7.91826 9.65995 7.71134 10.0468L7.4779 10.4832C7.13123 11.1314 6.20202 11.1314 5.85535 10.4832L5.62192 10.0468C5.41499 9.65994 4.96369 9.47301 4.54382 9.60025L4.07015 9.74379C3.36671 9.95696 2.70967 9.29991 2.92284 8.59648L3.06638 8.12281C3.19361 7.70293 3.00668 7.25163 2.61982 7.04471L2.18338 6.81127C1.53524 6.4646 1.53524 5.5354 2.18338 5.18873L2.61982 4.95529C3.00668 4.74837 3.19361 4.29707 3.06638 3.87719L2.92284 3.40352C2.70967 2.70009 3.36671 2.04304 4.07015 2.25621L4.54382 2.39975C4.96369 2.52699 5.41499 2.34005 5.62192 1.95319L5.85535 1.51676Z","stroke","currentColor"],["d","M4.66663 5.63492L6.16663 7L8.66663 5","stroke","currentColor","stroke-linecap","round"],["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg",1,"created-by-ai"],["d","M7.27147 0.507227C7.52172 -0.169075 8.47828 -0.169076 8.72853 0.507227L9.89135 3.6497C9.97003 3.86233 10.1377 4.02997 10.3503 4.10865L13.4928 5.27147C14.1691 5.52172 14.1691 6.47828 13.4928 6.72853L10.3503 7.89135C10.1377 7.97003 9.97003 8.13767 9.89135 8.3503L8.72853 11.4928C8.47828 12.1691 7.52172 12.1691 7.27147 11.4928L6.10865 8.3503C6.02997 8.13767 5.86233 7.97003 5.6497 7.89135L2.50723 6.72853C1.83092 6.47828 1.83092 5.52172 2.50723 5.27147L5.6497 4.10865C5.86233 4.02997 6.02997 3.86233 6.10865 3.6497L7.27147 0.507227Z","fill","var(--gray-700)"],["d","M2.80355 9.21134C2.69928 8.92955 2.30072 8.92955 2.19645 9.21134L1.71194 10.5207C1.67915 10.6093 1.6093 10.6792 1.52071 10.7119L0.211344 11.1964C-0.0704484 11.3007 -0.0704484 11.6993 0.211344 11.8036L1.52071 12.2881C1.6093 12.3208 1.67915 12.3907 1.71194 12.4793L2.19645 13.7887C2.30072 14.0704 2.69928 14.0704 2.80355 13.7887L3.28806 12.4793C3.32085 12.3907 3.3907 12.3208 3.47929 12.2881L4.78866 11.8036C5.07045 11.6993 5.07045 11.3007 4.78866 11.1964L3.47929 10.7119C3.3907 10.6792 3.32085 10.6093 3.28806 10.5207L2.80355 9.21134Z","fill","var(--gray-700)"],[1,"properties"],["class","value",4,"ngIf"],["class","render",4,"ngIf"],[1,"render"],["src","/ng-assets/images/v-ray-sm.svg","alt","Vray",4,"ngIf"],["src","/ng-assets/images/corona-sm.svg","alt","Corona",4,"ngIf"],["class","standard",4,"ngIf"],["src","/ng-assets/images/v-ray-sm.svg","alt","Vray"],["src","/ng-assets/images/corona-sm.svg","alt","Corona"],[1,"standard"],[1,"value"],["style","color: #757575",4,"ngIf"],[2,"color","#757575"],["style","color: #757575; line-height: 14px; font-size: 12px",4,"ngIf"],[2,"color","#757575","line-height","14px","font-size","12px"]],template:function(nt,_t){if(1&nt){const Ge=e.RV6();e.j41(0,"div")(1,"div",0),e.nrm(2,"img",1),e.j41(3,"img",2,3),e.bIt("load",function(){return _t.loadingImg
17=!1})("error",function(){e.eBV(Ge);const ze=e.sdS(4);return e.Njj(ze.src=_t.defaultNoImage)}),e.k0s()(),e.j41(5,"div",4)(6,"p"),e.DNE(7,W,3,4,"span",5),e.DNE(8,G,3,4,"span",5),e.j41(9,"span",6),e.EFF(10),e.nI1(11,"langConverter"),e.k0s()(),e.j41(12,"div",7)(13,"div",8,9),e.DNE(15,B,2,1,"ng-container",5),e.DNE(16,J,5,0,"ng-container",5),e.k0s(),e.DNE(17,z,3,0,"svg",10),e.DNE(18,st,6,5,"div",11),e.k0s()()()}2&nt&&(e.R7$(2),e.xc7("opacity",_t.loadingImg?1:0),e.Y8G("src",_t.defaultNoImage,e.B4B),e.R7$(1),e.xc7("opacity",_t.loadingImg?0:1),e.Y8G("src",_t.modelPopupImg+_t.popupImgPath,e.B4B),e.R7$(4),e.Y8G("ngIf",null==_t.model?null:_t.model.category_parent),e.R7$(1),e.Y8G("ngIf",null==_t.model?null:_t.model.category),e.R7$(2),e.SpI(" "," "+e.i5U(11,14,null==_t.model?null:_t.model.title,null==_t.model?null:_t.model.title_en)," "),e.R7$(3),e.Y8G("ngStyle",e.eq3(17,ne,"pro"===(null==_t.model?null:_t.model.model_type)?"#31831F":"#8C8C8C")),e.R7$(2),e.Y8G("ngIf","om"!==(null==_t.model?null:_t.model.model_type)),e.R7$(1),e.Y8G("ngIf","om"===(null==_t.model?null:_t.model.model_type)),e.R7$(1),e.Y8G("ngIf",null==_t.model?null:_t.model.properties.is_created_with_ai),e.R7$(1),e.Y8G("ngIf",_t.model.properties))},dependencies:[$.MD,$.bT,$.B3,$.QX,E.L],styles:["[_nghost-%COMP%]{position:fixed;z-index:-1;opacity:0;height:calc(100vh - 48px);width:640px;display:inline-flex;-webkit-backface-visibility:hidden;backface-visibility:hidden}[_nghost-%COMP%] > div[_ngcontent-%COMP%]{display:grid;grid-auto-rows:1fr min-content;border-radius:4px;background-color:#fff;box-shadow:0 0 16px #6c92a966;width:100%}[_nghost-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{position:relative;border-radius:4px 4px 0 0;width:-moz-fit-content;width:fit-content}[_nghost-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child   img[_ngcontent-%COMP%]{border-radius:4px 4px 0 0;max-height:100%;object-fit:cover;transition:opacity .2s;background-color:#fff}[_nghost-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child   img[_ngcontent-%COMP%]:first-of-type{position:absolute;inset:0}[_nghost-%COMP%] > div[_ngcontent-%COMP%] > div.info[_ngcontent-%COMP%]{border-radius:0 0 4px 4px;background-color:#f7f7f7;padding:8px;display:grid}[_nghost-%COMP%] > div[_ngcontent-%COMP%] > div.info[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:16px;line-height:20px;margin:0;color:#000}[_nghost-%COMP%]   .model-popup-info[_ngcontent-%COMP%]{display:flex;margin-top:8px}[_nghost-%COMP%]   .model-popup-info[_ngcontent-%COMP%]   .model-type[_ngcontent-%COMP%]{font-weight:500;display:inline-flex;align-self:flex-start;align-items:center;gap:2px;color:#fff;text-transform:uppercase;margin-right:12px;border-radius:2px;padding:2px 4px;font-size:14px;line-height:16px;height:20px;text-box:trim-both cap alphabetic}[_nghost-%COMP%]   .model-popup-info[_ngcontent-%COMP%]   .created-by-ai[_ngcontent-%COMP%]{margin-right:12px;margin-left:-6px;margin-top:3px;align-self:flex-start}[_nghost-%COMP%]   .model-popup-info[_ngcontent-%COMP%]   .properties[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;row-gap:8px}[_nghost-%COMP%]   .model-popup-info[_ngcontent-%COMP%]   .properties[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-left:1px solid #E0E0E0;padding:2px 8px}[_nghost-%COMP%]   .model-popup-info[_ngcontent-%COMP%]   .properties[_ngcontent-%COMP%]   .render[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}[_nghost-%COMP%]   .model-popup-info[_ngcontent-%COMP%]   .properties[_ngcontent-%COMP%]   .render[_ngcontent-%COMP%]   .standard[_ngcontent-%COMP%]{background-color:#e0e0e0;font-weight:500;border-radius:30px;padding:2px 6px;margin:-2px 0;color:#373737;font-size:14px;line-height:16px;white-space:nowrap;display:inline-flex;align-items:center;height:20px;text-box:trim-both cap alphabetic}[_nghost-%COMP%]   .model-popup-info[_ngcontent-%COMP%]   .properties[_ngcontent-%COMP%]   .value[_ngcontent-%COMP%]{color:#000;font-size:14px;line-height:16px;white-space:nowrap}"],data:{animation:[(0,X.hZ)("show",[(0,X.wk)("true",(0,X.iF)({opacity:1,zIndex:250})),(0,X.kY)("* => true",(0,X.i0)(".2s ease-out",(0,X.i7)([(0,X.iF)({opacity:0,zIndex:250}),(0,X.iF)({opacity:1})])))])]}}),Ue})()},5759:(ct,ce,a)=>{a.d(ce,{s:()=>d});var e=a(7019);let d=(()=>{var X;class x{}return(X=x).\u0275fac=function(V){return new(V||X)},X.\u0275cmp=e.VBU({type:X,selectors:[["app-preloader"]],standalone:!0,features:[e.aNF],decls:5,vars:0,consts:[[1,"sky-loader-container"],[1,"d-flex","justify-content-center","sky-spinner-container"],["role","status",1,"spinner-border"],[1,"sr-only"]],template:function(V,p){1&V&&(e.nrm(0,"div",0),e.j41(1,"div",1)(2,"div",2)(3,"span",3),e.
17EFF(4,"Loading..."),e.k0s()()())},styles:[".sky-loader-container[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;opacity:.6}.sky-spinner-container[_ngcontent-%COMP%]{position:fixed;top:200px;left:0;width:100%;height:100%}.sky-spinner-container[_ngcontent-%COMP%]   .spinner-border[_ngcontent-%COMP%]{width:3rem;height:3rem;color:#4182aa!important}"]}),x})()},4871:(ct,ce,a)=>{a.d(ce,{I:()=>At,i:()=>Et});var e=a(7019),d=a(4678),X=a(5116),x=a(1413),O=a(7786),V=a(8810),p=a(647),$=a(6069),E=a(7985),s=a(6977),I=a(9437),W=a(9417),G=a(174),B=a(8207),J=a(8181),z=a(3432),w=a(6019),U=a(430),Z=a(1504),H=a(710),j=a(3812),F=a(177),ue=a(4247);const ae=["desktop"],N=["draggable"],te=["mobileUpload"];function ie(It,bt){if(1&It){const st=e.RV6();e.j41(0,"span",11),e.bIt("click",function(){e.eBV(st);const fe=e.XpG(2);return e.Njj(fe.form.controls.inputSearch.setValue(""))}),e.qSk(),e.j41(1,"svg",26),e.nrm(2,"line",27)(3,"line",28),e.k0s()()}}function re(It,bt){1&It&&(e.j41(0,"div",29),e.nrm(1,"app-spinner",30),e.j41(2,"p"),e.EFF(3),e.nI1(4,"translate"),e.k0s()()),2&It&&(e.R7$(3),e.JRh(e.bMT(4,1,"search-by-picture.global.uploadingImage")))}const Ee=function(It){return{"has-value":It}};function Re(It,bt){if(1&It){const st=e.RV6();e.qSk(),e.joV(),e.j41(0,"div",9)(1,"p",10),e.EFF(2),e.nI1(3,"translate"),e.j41(4,"button",11),e.bIt("click",function(){e.eBV(st);const fe=e.XpG();return e.Njj(fe.backdrop.backdrop(!1))}),e.qSk(),e.j41(5,"svg",12),e.nrm(6,"line",13)(7,"line",14),e.k0s()()(),e.joV(),e.j41(8,"form",15),e.bIt("ngSubmit",function(){e.eBV(st);const fe=e.XpG();return e.Njj(!!fe.form.controls.inputSearch.value&&fe.makeRequest(fe.form.controls.inputSearch.value))}),e.j41(9,"div",16),e.qSk(),e.j41(10,"svg",17),e.nrm(11,"path",18),e.k0s(),e.joV(),e.j41(12,"p",19),e.EFF(13),e.nI1(14,"translate"),e.k0s(),e.j41(15,"p",20),e.EFF(16),e.nI1(17,"translate"),e.k0s(),e.j41(18,"button",21),e.bIt("click",function(){e.eBV(st);const fe=e.XpG();return e.Njj(fe.getFile())}),e.EFF(19),e.nI1(20,"translate"),e.k0s()(),e.j41(21,"div")(22,"div")(23,"input",22),e.bIt("paste",function(fe){e.eBV(st);const le=e.XpG();return e.Njj(fe.clipboardData.files[0]?le.initFile(fe.clipboardData.files[0]):"")}),e.nI1(24,"translate"),e.k0s(),e.DNE(25,ie,4,0,"span",23),e.k0s(),e.j41(26,"button",24),e.bIt("click",function(){e.eBV(st);const fe=e.XpG();return e.Njj(fe.makeRequest(fe.form.controls.inputSearch.value))}),e.EFF(27),e.nI1(28,"translate"),e.k0s()()(),e.DNE(29,re,5,3,"div",25),e.k0s()}if(2&It){const st=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,13,"search-by-picture.global.title")," "),e.R7$(6),e.AVh("hide",st.uploading.isLoading),e.Y8G("formGroup",st.form),e.R7$(5),e.JRh(e.bMT(14,15,"search-by-picture.global.imageTitle")),e.R7$(3),e.JRh(e.bMT(17,17,"search-by-picture.global.imageSubTitle")),e.R7$(3),e.JRh(e.bMT(20,19,"search-by-picture.global.getFile")),e.R7$(4),e.FS9("placeholder",e.bMT(24,21,"search-by-picture.global.placeholder")),e.Y8G("ngClass",e.eq3(25,Ee,!!st.form.controls.inputSearch.value)),e.R7$(2),e.Y8G("ngIf",st.form.controls.inputSearch.value),e.R7$(1),e.Y8G("disabled",!st.form.controls.inputSearch.value),e.R7$(1),e.SpI("",e.bMT(28,23,"search-by-picture.global.search")," "),e.R7$(2),e.Y8G("ngIf",st.uploading.isLoading)}}function Mt(It,bt){if(1&It){const st=e.RV6();e.qSk(),e.joV(),e.j41(0,"div",31)(1,"button",11),e.bIt("click",function(){e.eBV(st);const fe=e.XpG();return e.Njj(fe.backdrop.backdrop(!1))}),e.qSk(),e.j41(2,"svg",32),e.nrm(3,"line",33)(4,"line",34),e.k0s()(),e.joV(),e.nrm(5,"app-spinner",30),e.j41(6,"p"),e.EFF(7),e.nI1(8,"translate"),e.k0s()()}2&It&&(e.R7$(7),e.JRh(e.bMT(8,1,"search-by-picture.global.uploadingImage")))}function wt(It,bt){1&It&&(e.qSk(),e.joV(),e.j41(0,"div",35)(1,"div"),e.qSk(),e.j41(2,"svg",36),e.nrm(3,"rect",37)(4,"path",38)(5,"path",39),e.k0s(),e.joV(),e.j41(6,"p"),e.EFF(7),e.nI1(8,"translate"),e.k0s()()()),2&It&&(e.R7$(7),e.JRh(e.bMT(8,1,"search-by-picture.global.imageTitle")))}const At="search_image";let Et=(()=>{var It;class bt{constructor(){this.backdrop=(0,e.WQX)(d.u),this.renderer=(0,e.WQX)(e.sFG),this.subscribeHandlerService=(0,e.WQX)(X.e),this.viewContainerRef
17=(0,e.WQX)(e.c1b),this.popupBarService=(0,e.WQX)($.h),this.searchByImageService=(0,e.WQX)(E.I),this.translate=(0,e.WQX)(G.D),this.modelsListService=(0,e.WQX)(J.cO),this.sharedModelsDataService=(0,e.WQX)(z.n),this.elementRef=(0,e.WQX)(e.aKT),this.cropService=(0,e.WQX)(w.V),this.route=(0,e.WQX)(U.nX),this.metric=(0,e.WQX)(Z.oB),this.router=(0,e.WQX)(U.Ix),this.cdr=(0,e.WQX)(e.gRc),this.unsubscriber=new x.B,this.abortRequest=new x.B,this.isDragging=!1,this.isMobile=p.Hy,this.inputFile=document.createElement("input"),this.form=new W.gE({inputSearch:new W.MJ("")}),this.uploading=new B.I,this.mobileUploading=new B.I,this.loaders=[],this.requestComplete=new e.bkB}onPageUnload(){this.modelsListService.enableSearchByImage&&!location.search.includes(At)&&(history.replaceState({reloadWithoutQuery:!0},""),window.onbeforeunload=()=>null)}ngOnInit(){this.inputFile.setAttribute("type","file"),this.inputFile.addEventListener("cancel",()=>this.uploading.isLoading=!1)}search(){this.backdrop.backdrop(!0,3,".1s ease-out",".1s ease-out",!1,200);const ne=this.viewContainerRef.createEmbeddedView(this.desktop);this.loaders.push(ne),this.renderer.appendChild(this.backdrop.backdropEl,ne.rootNodes[0]),this.form.controls.inputSearch.setValue(""),this.searchByImageService.imageBase64.next(null),this.backdrop.backdropEl.style.display="flex",this.backdrop.enableAnimate=!0,this.backdrop.backdropEl.querySelector("input").focus(),this.backdrop.changeDelay(this.unsubscriber).subscribe(()=>{this.abortRequest.next(),this.loaders.forEach(fe=>fe.destroy()),this.loaders=[],this.onDragEvent(!1),this.draggableTemplate?.destroy(),this.uploading.isLoading=!1}),this.onDragEvent()}makeRequest(ne="",fe,le){let Ue=this.uploading;if(ne&&this.searchByImageService.imageBase64.next(null),p.Hy){this.loaders.forEach(nt=>nt.destroy()),Ue=this.mobileUploading;const Fe=this.viewContainerRef.createEmbeddedView(this.mobileUpload);this.loaders.push(Fe),this.renderer.appendChild(this.backdrop.backdropEl,Fe.rootNodes[0]),this.backdrop.backdrop(!0,3,".1s ease-out",".1s ease-out",!1,200),this.backdrop.enableAnimate=!0,this.backdrop.backdropEl.style.display="grid",this.backdrop.backdropEl.style.placeItems="center",this.backdrop.changeDelay(this.unsubscriber).subscribe(()=>{this.abortRequest.next(),this.loaders.forEach(nt=>nt.destroy()),this.loaders=[],this.mobileUploading.isLoading=!1})}this.subscribeHandlerService.takeOne(this.searchByImageService.getNearest(ne,fe??this.searchByImageService.imageBase64.value).pipe((0,s.Q)((0,O.h)(this.unsubscriber,this.abortRequest)),(0,I.W)(Fe=>(this.closeMobileBackdrop(),"string"!=typeof Fe.error&&Fe.error.detail[0]&&this.popupBarService.show(this.viewContainerRef,Fe.error.detail[0].msg,void 0,"error"),this.popupBarService.showGlobalError(this.viewContainerRef),(0,V.$)(Fe)))),Fe=>{if(Fe.search_result){const nt=this.route.snapshot.queryParamMap.get(At);le||this.cropService.drop(),this.modelsListService.clearFilters(!0,!1),ne?(this.searchByImageService.imageData.next(ne),nt&&this.sharedModelsDataService.setModelsJSON({[At]:ne})):fe||this.searchByImageService.setImageData(this.bufferStore.buffer,this.bufferStore.type),this.sendSearchImageStat(nt),this.backdrop.backdrop(!1),this.modelsListService.enableSearchByImage=!0,this.modelsListService.modelSlugs=Fe.search_result?.map(_t=>_t.slug)??[],this.navigate()}else this.closeMobileBackdrop(),this.popupBarService.showGlobalError(this.viewContainerRef);this.requestComplete.emit(!0)},Ue)}getFile(){this.uploading.isLoading=!0,this.inputFile.value="",this.inputFile.addEventListener("change",()=>{const ne=this.inputFile.files.item(0);this.initFile(ne)},{once:!0}),this.inputFile.click()}initFile(ne){new RegExp("image/*").test(ne?.type)?ne.arrayBuffer().then(le=>{this.bufferStore={buffer:le,type:ne.type},this.searchByImageService.imageBase64.next(this.searchByImageService.getBtoa(le)),this.makeRequest()}):this.showFormatError()}onDragEvent(ne=!0){ne?(window.addEventListener("dragover",fe=>this.eventHandler(fe)),window.addEventListener("dragleave",fe=>this.eventHandler(fe)),window.addEventListener("drop",fe=>this.eventHandler(fe))):(window.removeEventListener("dragover",this.eventHandler),window.removeEventListener("dragleave",this.eventHandler),window.removeEventListener("drop",this.eventHandler),this.isDragging=!1)}eventHandler(ne){if(ne.preventDefault(),"dragover"===ne.type&&!this.isDragging&&(this.isDragging=!0,this.draggableTemplate=this.viewContainerRef.createEmbeddedView(this.draggable),this.renderer.appendChild(document.body,this.draggableTemplate.rootNodes[0]),this.backdrop.backdropEl.style.display="none"),"dragleave"===ne.type&&ne.clientX<1&&ne.clientY
17<1&&(this.isDragging=!1,this.backdrop.backdropEl.style.display="flex",this.draggableTemplate?.destroy()),"drop"===ne.type){const fe=ne.dataTransfer.files.item(0);this.backdrop.backdropEl.style.display="flex",this.draggableTemplate?.destroy(),this.isDragging=!1,this.initFile(fe)}}showFormatError(){this.mobileUploading.isLoading=this.uploading.isLoading=!1,this.popupBarService.show(this.viewContainerRef,this.translate.transform("search-by-picture.global.formatError"),void 0,"error")}closeMobileBackdrop(){p.Hy&&this.backdrop.backdrop(!1)}sendSearchImageStat(ne){this.subscribeHandlerService.takeOne(this.metric.sendSearchImageStat(ne),()=>{})}navigate(){const ne="/"+H.iw.models,fe=this.modelsListService.getQueryModelsJson().search_image;this.router.navigate([ne],{queryParams:{search_image:fe},onSameUrlNavigation:"reload"}).then()}ngAfterViewInit(){this.elementRef.nativeElement.querySelector(".btn-ico").addEventListener("click",fe=>{fe.stopPropagation(),this.backdrop.backdrop(!1),this.isMobile?this.getFile():this.search(),this.cdr.markForCheck()},!0)}ngOnDestroy(){this.unsubscriber.next()}}return(It=bt).\u0275fac=function(ne){return new(ne||It)},It.\u0275cmp=e.VBU({type:It,selectors:[["app-search-by-image"]],viewQuery:function(ne,fe){if(1&ne&&(e.GBs(ae,7),e.GBs(N,7),e.GBs(te,7)),2&ne){let le;e.mGM(le=e.lsd())&&(fe.desktop=le.first),e.mGM(le=e.lsd())&&(fe.draggable=le.first),e.mGM(le=e.lsd())&&(fe.mobileUpload=le.first)}},hostBindings:function(ne,fe){1&ne&&e.bIt("beforeunload",function(){return fe.onPageUnload()},!1,e.tSv)},outputs:{requestComplete:"requestComplete"},standalone:!0,features:[e.aNF],decls:13,vars:3,consts:[[1,"btn-ico",3,"appTooltip"],["width","24","height","22","viewBox","0 0 24 22","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M2 16C2 18.2091 3.79086 20 6 20H11V22H6C2.68629 22 0 19.3137 0 16V13H2V16Z","fill","currentColor"],["d","M24 16C24 19.3137 21.3137 22 18 22H13V20H18C20.2091 20 22 18.2091 22 16V13H24V16Z","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M12 7C14.7614 7 17 9.23858 17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7ZM12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9Z","fill","currentColor"],["d","M13.8477 0C15.9147 5.40397e-05 17.7072 1.42854 18.1689 3.44336C18.2436 3.76911 18.534 4 18.8682 4H19C21.7614 4 24 6.23858 24 9V11H22V9C22 7.34315 20.6569 6 19 6H18.8682C17.6015 6 16.5027 5.1243 16.2197 3.88965C15.9661 2.78392 14.9821 2.00005 13.8477 2H10.1523C9.01788 2.00005 8.03385 2.78392 7.78027 3.88965C7.49733 5.1243 6.39849 6 5.13184 6H5C3.34315 6 2 7.34315 2 9V11H0V9C0 6.23858 2.23858 4 5 4H5.13184C5.46604 4 5.7564 3.76911 5.83105 3.44336C6.29278 1.42854 8.08531 5.40388e-05 10.1523 0H13.8477Z","fill","currentColor"],["desktop",""],["mobileUpload",""],["draggable",""],[1,"search-container"],[1,"title"],[3,"click"],["width","26","height","26","viewBox","0 0 26 26","fill","none","xmlns","http://www.w3.org/2000/svg"],["x1","7","y1","7","x2","19","y2","19","stroke","currentColor","stroke-width","2","stroke-linecap","round"],["x1","7","y1","19","x2","19","y2","7","stroke","currentColor","stroke-width","2","stroke-linecap","round"],[3,"formGroup","ngSubmit"],[1,"image-container"],["width","86","height","84","viewBox","0 0 86 84","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M16 31C16 25.4771 20.4772 21 26 21H55.2909C60.5245 21 64.8191 25.0205 65.2545 30.1415C68.0507 31.3883 69.9998 34.1923 69.9998 37.4517V55.0001C69.9998 59.4184 66.4181 63.0001 61.9998 63.0001H32.709C29.5607 63.0001 26.8373 61.1816 25.5316 58.5377C20.2262 58.2931 16 53.9143 16 48.5484V31ZM55.2909 25C58.0692 25 60.4064 26.8884 61.0892 29.4517H32.709C28.2907 29.4517 24.709 33.0334 24.709 37.4517V54.3637L24.6633 54.399C21.993 53.7915 20 51.4027 20 48.5484V31C20 27.6863 22.6863 25 26 25H55.2909ZM28.8887 56.1892C29.395 57.8177 30.9139 59.0001 32.709 59.0001H61.9998C64.209 59.0001 65.9998 57.2092 65.9998 55.0001V48.6471L60.4686 41.8067C59.768 40.9403 58.4943 40.8135 57.6367 41.5249L50.1879 47.7029C47.9545 49.5553 44.6622 49.3369 42.6931 47.2058C42.1799 46.6504 41.3275 46.579 40.7292 47.0413L28.8887 56.1892ZM65.9998 42.2855V37.4517C65.9998 35.2425 64.209 33.4517 61.9998 33.4517H32.709C30.4998 33.4517 28.709 35.2425 28.709 37.4517V51.2733L38.2836 43.876C40.5222 42.1464 43.7112 42.4135 45.631 44.4912C46.1573 45.0608 47.0373 45.1192 47.6343 44.6241L55.0831 38.446C57.6561 36.312 61.4771 36.6923 63.579 39.2917L65.9998 42.2855Z","fill","currentColor"],[1,"title-img"],[1,"title-img-sub"],["type","button",1,"main-btn",3,"click"],["formControlName","inputSearch","type","url",3,"placeholder","ngClass","paste"],[3,"click",4,"ngIf"],["type","button",3,"disabled","click"],["class","uploading",4,"ngIf"],["width","12","height","12","viewBox","0 0 12 12","fill","none","xmlns","http://www.w3.org/2000/svg"],["x1","1","y1","11","x2","11","y2","1","stroke","currentColor","stroke-width","2","stroke-linecap","round"],["x1","1","y1","1","x2","11","y2","11","stroke","currentColor","stroke-width","2","stroke-linecap","round"],[1,"uploading"],["mainColor","#4182AA","height","62","strokeWidth","5"],[1,"mobile-uploading"],["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["x1","1","y1","1","x2","13","y2","13","stroke","#757575","stroke-width","2","stroke-linecap","round"],["x1","1","y1","13","x2","13","y2","1","stroke","#757575","stroke-width","2","stroke-linecap","round"],[1,"draggable-container"],["width","120","height","120","viewBox","0 0 120 120","fill","none","xmlns","http://www.w3.org/2000/svg"],["x","34.0356","y","42.8931","width","61","height","44","rx","9.42857","stroke","white","stroke-width","4","stroke-linecap","round"],["d","M34.3929 79.0338V79.0338C28.0811 79.0338 22.9644 73.917 22.9644 67.6052V42.536C22.9644 36.2242 28.0811 31.1074 34.3929 31.1074H76.237C82.5488 31.1074 87.6656 36.2242 87.6656 42.536V42.536","stroke","white","stroke-width","4","stroke-linecap","round"],["d","M33.0854 79.1082L53.6861 63.1922C55.7125 61.6266 58.5992 61.8683 60.337 63.7491V63.7491C62.1195 65.6782 65.0997 65.8759 67.1214 64.1991L77.7625 55.3733C80.213 53.3409 83.852 53.7031 85.8538 56.1787L94.9889 67.4759","stroke","white","stroke-width","4","stroke-linecap","round"]],template:function(ne,fe){1&ne&&(e.j41(0,"button",0),e.nI1(1,"translate"),e.qSk(),e.j41(2,"svg",1),e.nrm(3,"path",2)(4,"path",3)(5,"path",4)(6,"path",5),e.k0s()(),e.DNE(7,Re,30,27,"ng-template",null,6,e.C5r),e.DNE(9,Mt,9,3,"ng-template",null,7,e.C5r),e.DNE(11,wt,9,3,"ng-template",null,8,e.C5r)),2&ne&&e.Y8G("appTooltip",e.bMT(1,1,"search-by-picture.global.searchByImage"))},dependencies:[j.d,G.D,W.X1,W.qT,W.me,W.BC,W.cb,W.j4,W.JD,F.MD,F.YU,F.bT,ue.t],styles:["[_nghost-%COMP%]{display:inline-flex}.search-container[_ngcontent-%COMP%]{margin:112px auto;max-width:728px;width:100%;height:-moz-fit-content;height:fit-content;border-radius:16px;display:block;background-color:#fff;padding:16px 32px 32px;position:relative}.search-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#8c8c8c;display:flex;gap:8px;background:inherit;margin-bottom:16px}.search-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:auto;color:inherit}.search-container[_ngcontent-%COMP%]   .title-img[_ngcontent-%COMP%]{font-size:32px;font-weight:500;line-height:36px;color:#5e5e5e}.search-container[_ngcontent-%COMP%]   .title-img-sub[_ngcontent-%COMP%]{color:#757575;margin-bottom:40px;line-height:20px}.search-container[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]{text-align:center;padding:55px 85px;border-radius:4px;border:1px dashed #B9B9B9;background-repeat:no-repeat;background-position:center;background-size:contain}.search-container[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-bottom:16px;color:#757575}.search-container[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{display:flex;gap:24px;margin-top:24px}.search-container[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{position:relative;flex-grow:1}.search-container[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:absolute;top:8px;right:8px;height:26px;width:26px;border-radius:50%;cursor:pointer;color:#8c8c8c;display:inline-flex;justify-content:center;align-items:center}.search-container[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:hover{background-color:#f4f4f4}.search-container[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{min-width:95px;height:42px;padding:11px 24px;border-radius:4px;color:#4182aa;font-weight:500;line-height:18px;background-color:#f1f6f9;-webkit-user-select:none;user-select:none}.search-container[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:not(:disabled):hover{background-color:#deeff9}.search-container[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:not(:disabled).active, .search-container[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:not(:disabled):active{background-color:#deeff9}.search-container[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:disabled{pointer-events:none;background-color:#efeff0;color:#d0d0d0}.draggable-container[_ngcontent-%COMP%]{position:fixed;inset:0;background-color:#000000b3;padding:100px 45px;z-index:200}.draggable-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-radius:8px;border:2px dashed white;display:flex;flex-direction:column;place-items:center;justify-content:center;gap:16px;width:100%;min-width:730px;height:100%;min-height:250px}.draggable-container[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:48px;line-height:56px;font-weight:500;color:#fff}button[_ngcontent-%COMP%]:not(.main-btn){border:0;outline:0;padding:0;background-color:inherit;display:inline-flex}.btn-ico[_ngcontent-%COMP%]{color:#373737}input[type=url][_ngcontent-%COMP%]{height:42px;border-radius:4px;border:1px solid #B0B0B0;padding-right:42px;padding-left:16px;width:100%}input[type=url][_ngcontent-%COMP%]::placeholder{font-size:16px;line-height:24px;color:#b9b9b9;opacity:1}input[type=url][_ngcontent-%COMP%]:focus, input[type=url].has-value[_ngcontent-%COMP%]{border-color:#5e5e5e}.hide[_ngcontent-%COMP%]{opacity:0;pointer-events:none}.uploading[_ngcontent-%COMP%]{position:absolute;inset:42px 32px 64px;display:flex;flex-direction:column;gap:72px;align-items:center;justify-content:center}.uploading[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{height:min-content}.uploading[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:32px;line-height:36px;font-weight:500;color:#5e5e5e;margin-bottom:0}.mobile-uploading[_ngcontent-%COMP%]{width:317px;height:258px;border-radius:16px;padding:16px 16px 32px;background-color:#fff;display:flex;flex-direction:column;align-items:center}.mobile-uploading[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:15px;margin-bottom:24px;align-self:flex-end}.mobile-uploading[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:20px;line-height:24px;font-weight:500;color:#5e5e5e;margin-top:32px;margin-bottom:0}"]}),bt})()},4074:(ct,ce,a)=>{a.d(ce,{S:()=>yt});var e=a(7019),d=a(8181),X=a(5016),x=a(3432),O=a(430),V=a(5116),p=a(4678),$=a(6977),E=a(5964),s=a(1
1752),I=a(5558),W=a(1413),G=a(7673),B=a(710),J=a(7985),z=a(1180),w=a(5979),U=a(6019),Z=a(177);let H=(()=>{var ut;class ht{transform(et,we){const Ae=document.createElement("div");Ae.style.position="absolute",Ae.style.width="0",Ae.style.height="0",Ae.style.margin="0",Ae.style.padding="0",Ae.style.visibility="hidden",Ae.style.overflow="hidden";const de=document.createElement("span");de.style.display="inline-flex",de.style.whiteSpace="nowrap",de.style.fontWeight=window.getComputedStyle(et).fontWeight,de.style.fontFamily=window.getComputedStyle(et).fontFamily,de.style.fontSize=window.getComputedStyle(et).fontSize,de.style.textTransform=window.getComputedStyle(et).textTransform,de.innerHTML=we,Ae.appendChild(de),document.body.appendChild(Ae);const Te=de.getBoundingClientRect().width;return document.body.removeChild(Ae),Te}}return(ut=ht).\u0275fac=function(et){return new(et||ut)},ut.\u0275pipe=e.EJ8({name:"textLength",type:ut,pure:!0,standalone:!0}),ht})();var j=a(9417),F=a(685),ue=a(4871);let ae=(()=>{var ut;class ht{transform(et,we){const Ae=we.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),de=new RegExp(Ae,"gi");return et.replace(de,"<b>$&</b>")}}return(ut=ht).\u0275fac=function(et){return new(et||ut)},ut.\u0275pipe=e.EJ8({name:"matchingTextWrapper",type:ut,pure:!0,standalone:!0}),ht})();var N=a(5349),te=a(8048);const ie=["searchInput"],re=["searchEl"],Ee=["div"];function Re(ut,ht){if(1&ut){const me=e.RV6();e.j41(0,"div",13),e.bIt("click",function(){e.eBV(me);const we=e.XpG();return we.searchByImageService.dropImageAndReloadCatalog(),e.Njj(we.cropService.drop())}),e.nrm(1,"div",14)(2,"img",15),e.nI1(3,"safeUrl"),e.nI1(4,"async"),e.j41(5,"span"),e.qSk(),e.j41(6,"svg",16),e.nrm(7,"line",17)(8,"line",18),e.k0s()()()}if(2&ut){const me=e.XpG();e.R7$(2),e.Y8G("src",e.bMT(3,1,e.bMT(4,3,me.searchByImageService.imageData)),e.B4B)}}function Mt(ut,ht){if(1&ut){const me=e.RV6();e.j41(0,"div",19,20),e.bIt("click",function(){e.eBV(me);const we=e.XpG();return e.Njj(we.dropStoreCatalogTag())}),e.j41(2,"span"),e.EFF(3),e.k0s(),e.qSk(),e.j41(4,"svg",21),e.nrm(5,"line",22)(6,"line",23),e.k0s()()}if(2&ut){const me=e.XpG();e.R7$(3),e.JRh(me.storeCatalogTag)}}function wt(ut,ht){if(1&ut){const me=e.RV6();e.j41(0,"div",24),e.bIt("click",function(){e.eBV(me);const we=e.XpG();return e.Njj(we.cleaner())}),e.qSk(),e.j41(1,"svg",25),e.nrm(2,"circle",26)(3,"line",27)(4,"line",28),e.k0s()()}}function At(ut,ht){1&ut&&(e.j41(0,"div",29),e.nrm(1,"app-search-by-image"),e.k0s())}function Et(ut,ht){if(1&ut){const me=e.RV6();e.j41(0,"div",30),e.bIt("click",function(){e.eBV(me);const we=e.XpG();return e.Njj(we.search())}),e.qSk(),e.j41(1,"svg",31),e.nrm(2,"path",32),e.k0s()()}}function It(ut,ht){if(1&ut){const me=e.RV6();e.j41(0,"div",30),e.bIt("click",function(){e.eBV(me);const we=e.XpG();return e.Njj(we.search())}),e.qSk(),e.j41(1,"svg",31),e.nrm(2,"path",33),e.k0s()()}if(2&ut){const me=e.XpG();e.AVh("galleries",me.searchContext===me.buttonsName.GALLERY)}}function bt(ut,ht){if(1&ut&&(e.qex(0),e.qSk(),e.j41(1,"svg",41),e.nrm(2,"circle",42),e.k0s(),e.joV(),e.j41(3,"span",43),e.EFF(4),e.nI1(5,"langConverter"),e.k0s(),e.bVm()),2&ut){const me=e.XpG(2).$implicit;e.R7$(4),e.JRh(e.i5U(5,1,me.category.title,me.category.titleEn))}}function st(ut,ht){if(1&ut){const me=e.RV6();e.qSk(),e.j41(0,"svg",44),e.bIt("click",function(){e.eBV(me);const we=e.XpG(2),Ae=we.$implicit,de=we.index,Te=e.XpG(2);return e.Njj(Te.removeFromStorage(Ae.query,de))}),e.nrm(1,"line",45)(2,"line",46),e.k0s()}}function ne(ut,ht){if(1&ut){const me=e.RV6();e.j41(0,"div",38),e.bIt("click",function(){e.eBV(me);const we=e.XpG(),Ae=we.index,de=we.$implicit,Te=e.XpG(2);return Te.activeHint=Ae,Te.searchService.form.controls.searchControl.setValue(de.query),e.Njj(Te.search())}),e.nrm(1,"div",39),e.nI1(2,"matchingTextWrapper"),e.DNE(3,bt,6,4,"ng-container",36),e.DNE(4,st,3,0,"svg",40),e.k0s()}if(2&ut){const me=e.XpG(),et=me.index,we=me.$implicit,Ae=e.XpG(2);e.AVh("active",et==Ae.activeHint),e.R7$(1),e.xc7("margin-right",null!=we.category&&we.category.slug&&et<2?"":"24px"),e.Y8G("innerHTML",e.i5U(2,7,we.query,Ae.searchService.form.controls.searchControl.value),e.npT),e.R7$(2),e.Y8G("ngIf",(null==we.category?null:we.category.slug)&&et<2&&Ae.searchContext!==Ae.buttonsName.GALLERY),e.R7$(1),e.Y8G("ngIf",we.localeStorage)}}function fe(ut,ht){if(1&ut&&(e.qex(0),e.DNE(1,ne,5,10,"div",37),e.bVm()),2&ut){const me=ht.$implicit;e.R7$(1),e.Y8G("ngIf",me)}}const le=function(ut){return{$implicit:ut}};function Ue(ut,ht){if(1&ut&&(e.j41(0,"div"),e.eu8(1,49),e.k0s()),2&ut){const me=ht.$implicit;e.XpG(3);
17const et=e.sdS(21);e.R7$(1),e.Y8G("ngTemplateOutlet",et)("ngTemplateOutletContext",e.eq3(2,le,me))}}function Fe(ut,ht){if(1&ut){const me=e.RV6();e.qex(0),e.j41(1,"div",47),e.bIt("touchend",function(we){e.eBV(me);const Ae=e.XpG(2),de=e.sdS(1);return e.Njj(Ae.checkEventsButton(de,we))}),e.j41(2,"h5"),e.EFF(3),e.k0s(),e.j41(4,"div",48),e.DNE(5,Ue,2,4,"div",35),e.k0s()(),e.bVm()}if(2&ut){const me=e.XpG(2);e.R7$(3),e.JRh(me.getSectionName()),e.R7$(2),e.Y8G("ngForOf",me.buttonsObjects)}}function nt(ut,ht){if(1&ut){const me=e.RV6();e.j41(0,"div",34),e.bIt("touchmove",function(){e.eBV(me),e.XpG();const we=e.sdS(1);return e.Njj(we.classList.add("prevent-typehead-events"))})("touchend",function(){e.eBV(me),e.XpG();const we=e.sdS(1);return e.Njj(we.classList.remove("prevent-typehead-events"))}),e.DNE(1,fe,2,1,"ng-container",35),e.DNE(2,Fe,6,2,"ng-container",36),e.nI1(3,"async"),e.k0s()}if(2&ut){const me=e.XpG();e.AVh("typeahead-active",me.showTypeHead),e.R7$(1),e.Y8G("ngForOf",me.hints),e.R7$(1),e.Y8G("ngIf",!me.sky&&me.showTypeHead&&!e.bMT(3,4,me.searchByImageService.imageData))}}function _t(ut,ht){1&ut&&(e.j41(0,"div"),e.qSk(),e.j41(1,"svg",31),e.nrm(2,"path",53)(3,"path",54)(4,"path",55)(5,"path",56),e.k0s()())}function Ge(ut,ht){1&ut&&(e.j41(0,"div"),e.qSk(),e.j41(1,"svg",31),e.nrm(2,"path",57)(3,"path",58),e.k0s()())}function Ct(ut,ht){1&ut&&(e.j41(0,"div"),e.qSk(),e.j41(1,"svg",31),e.nrm(2,"path",59)(3,"path",60),e.k0s()())}function ze(ut,ht){1&ut&&(e.j41(0,"div"),e.qSk(),e.j41(1,"svg",31),e.nrm(2,"path",61),e.k0s()())}function mt(ut,ht){1&ut&&(e.j41(0,"div"),e.qSk(),e.j41(1,"svg",31),e.nrm(2,"path",62)(3,"path",63),e.k0s()())}function Ot(ut,ht){1&ut&&(e.j41(0,"div"),e.qSk(),e.j41(1,"svg",31),e.nrm(2,"path",64)(3,"path",65),e.k0s()())}function Qe(ut,ht){if(1&ut){const me=e.RV6();e.j41(0,"button",50),e.bIt("touchend",function(we){const de=e.eBV(me).$implicit,Te=e.XpG(),Ie=e.sdS(1);return e.Njj(Te.checkEventsButton(Ie,we,de))})("click",function(){const Ae=e.eBV(me).$implicit,de=e.XpG();return e.Njj(de.buttonClick(Ae))}),e.j41(1,"div",51),e.DNE(2,_t,6,0,"div",52),e.DNE(3,Ge,4,0,"div",52),e.DNE(4,Ct,4,0,"div",52),e.DNE(5,ze,3,0,"div",52),e.DNE(6,mt,4,0,"div",52),e.DNE(7,Ot,4,0,"div",52),e.j41(8,"span"),e.EFF(9),e.k0s()()()}if(2&ut){const me=ht.$implicit,et=e.XpG();e.AVh("button-active",et.searchContext===me.button),e.R7$(1),e.Y8G("ngSwitch",me.button),e.R7$(1),e.Y8G("ngSwitchCase",et.buttonsName.MODELS),e.R7$(1),e.Y8G("ngSwitchCase",et.buttonsName.GALLERY),e.R7$(1),e.Y8G("ngSwitchCase",et.buttonsName.JOB),e.R7$(1),e.Y8G("ngSwitchCase",et.buttonsName.FORUM),e.R7$(1),e.Y8G("ngSwitchCase",et.buttonsName.BLOGS),e.R7$(1),e.Y8G("ngSwitchCase",et.buttonsName.PEOPLE),e.R7$(2),e.SpI(" ",me.title," ")}}let yt=(()=>{var ut;class ht{constructor(){this.searchService=(0,e.WQX)(X.Sc),this.sharedModelsDataService=(0,e.WQX)(x.n),this.route=(0,e.WQX)(O.nX),this.subscribeHandlerService=(0,e.WQX)(V.e),this.backdropService=(0,e.WQX)(p.u),this.router=(0,e.WQX)(O.Ix),this.navigationEndStream=(0,e.WQX)(z.NC),this.modelsListService=(0,e.WQX)(d.cO),this.elementRef=(0,e.WQX)(e.aKT),this.searchByImageService=(0,e.WQX)(J.I),this.sharedGlobalDataService=(0,e.WQX)(w.o),this.cropService=(0,e.WQX)(U.V),this.locale=(0,e.WQX)(e.xe9),this.sky=(0,e.WQX)(z.ef),this.cdr=(0,e.WQX)(e.gRc),this.baseHref=(0,e.WQX)(Z.kB),this.unsubscriber=new W.B,this.hints=[],this.buttonsName=X.jz,this.buttonsObjects=[{button:X.jz.MODELS,title:"\u041c\u043e\u0434\u0435\u043b\u0438",section:"/"+B.iw.models,root:!0},{button:X.jz.GALLERY,title:"\u0413\u0430\u043b\u0435\u0440\u0435\u044f",section:"/"+B.iw.galleries,root:!0},{button:X.jz.JOB,title:"\u0420\u0430\u0431\u043e\u0442\u0430",section:"/"+B.iw.workTasks,root:!1},{button:X.jz.FORUM,title:"\u0424\u043e\u0440\u0443\u043c",section:"/search?sp_forum=on",root:!1},{button:X.jz.BLOGS,title:"\u0411\u043b\u043e\u0433\u0438",section:"/"+te.x.blog,root:this.sky},{button:X.jz.PEOPLE,title:"\u041b\u044e\u0434\u0438",section:"/search?sp_profil=on",root:!1}],this.searchContext=this.getSearchContext(),this.searchByPicLanguage={en:"Add a hint",ru:"\u0423\u0442\u043e\u0447\u043d\u0438\u0442\u0435 \u0437\u0430\u043f\u0440\u043e\u0441",es:"A\xf1adir una pista"},this.activeHint=-1,this.showTypeHead=!1,this.storeValue="",this.storeCatalogTag="",this.searchToTo
17p=!1}ngOnInit(){this.searchService.form.controls.searchControl.valueChanges.pipe((0,$.Q)(this.unsubscriber),(0,E.p)(()=>this.showTypeHead),(0,s.B)(200),(0,I.n)(et=>{const we=et.trim();return this.activeHint=-1,this.storeValue=we,we.length>2?this.subscribeHandlerService.takeOne(this.searchService.getHintsList(we),Ae=>{Ae&&Ae.data.length>0&&(this.hints=Ae.data)}):this.fromStoryArray().forEach(Ae=>{!this.hints.find(Te=>Te.query===Ae.query)&&this.hints.length<X._C&&this.hints.push(Ae)}),(0,G.of)(et)})).subscribe(),this.subscribeHandlerService.subjectSubscribe(this.route.queryParams,et=>{this.searchService.form.controls.searchControl.setValue(et.query??"")},this.unsubscriber),this.subscribeHandlerService.subjectSubscribe(this.navigationEndStream,()=>{this.searchContext=this.getSearchContext(),this.checkStoreCatalogTag()},this.unsubscriber),this.checkStoreCatalogTag()}fromStoryArray(){let et=X._C;const we=[];return this.searchService.getStoryArray().reverse().map((de,Te)=>{we.push({query:de,id:Te,weight:et--,localeStorage:!0})}),we}getSearchContext(){const et=this.router.url.split("?")[0];let we=X.jz.MODELS;for(const Ae of this.buttonsObjects)if(Ae.button!==X.jz.BLOGS){if(Ae.section===et){we=Ae.button;break}}else if(et===Ae.section||et.startsWith(Ae.section+"/")){we=Ae.button;break}return we}backdropOnFocus(){this.hints.length||(this.hints=this.fromStoryArray());const et=this.searchToTop&&window.matchMedia("(max-width: 768px)").matches;et&&this.backdropService.backdropEl.appendChild(this.elementRef.nativeElement),this.showTypeHead=!0,this.backdropService.backdrop(!0,1,".2s ease-out",void 0,et,130),this.searchInput.nativeElement.classList.add("focus-on"),this.searchInput.nativeElement.focus(),this.backdropService.change(this.unsubscriber).subscribe(()=>{et&&this.searchContainer.appendChild(this.elementRef.nativeElement),this.showTypeHead=!1,this.activeHint=-1,this.searchInput.nativeElement.classList.remove("focus-on");const we=this.route.snapshot.queryParamMap.get("query");!this.storeValue&&we&&this.searchService.form.controls.searchControl.setValue(we,{emitEvent:!1}),this.cdr.detectChanges(),this.cdr.markForCheck()})}typeahead(et){return"ArrowDown"===et.key?(this.activeHint<this.hints.length-1?this.activeHint++:this.activeHint=0,void(this.searchInput.nativeElement.value=this.hints[this.activeHint].query)):"ArrowUp"===et.key?(this.activeHint>0?this.activeHint--:this.activeHint=this.hints.length-1,void(this.searchInput.nativeElement.value=this.hints[this.activeHint].query)):void 0}checkEventsButton(et,we,Ae){et.classList.contains("prevent-typehead-events")?et.classList.remove("prevent-typehead-events"):Ae&&(we.preventDefault(),this.buttonClick(Ae))}search(){let we,et={};const Ae=this.activeHint>-1&&this.activeHint<2;if(this.activeHint>-1?(et=this.hints[this.activeHint],we=et.query):we=this.searchService.form.controls.searchControl.value.toString().trim(),we.length<3)return void(this.route.snapshot.queryParamMap.get("query")&&this.searchService.form.controls.searchControl.setValue(this.route.snapshot.queryParamMap.get("query"),{emitEvent:!1}));we&&this.searchService.addQueryToLocalStorage(we),this.dropTypeHead(),this.searchInput.nativeElement.blur();const de=this.buttonsObjects.find(Te=>Te.button===this.searchContext);if(de?.button===X.jz.BLOGS){const Te=new URL(this.baseHref+"search",location.origin);return we&&Te.searchParams.set("query",we),Te.searchParams.set("sp_blogs","on"),void(window.location.href=Te.href)}if(de&&de.root&&de.button!==X.jz.MODELS){const Te=location.pathname===`/${de.section}`?this.route.snapshot.queryParams:{},Ie=Object.assign(Te,{query:we});this.router.navigate([de.section],{queryParams:Ie}).then()}else{if(this.sky||this.searchContext===X.jz.MODELS){this.searchByImageService.imageData.value&&(this.modelsListService.enableSearchByImage=!0);const Te=this.route.snapshot.queryParamMap.get("order"),Ie=we?Te??d.Qf.RELEVANCE:Te===d.Qf.RELEVANCE?null:Te,ye=this.sharedModelsDataService.modelsJSONSource.value.model_slugs;this.modelsListService.clearFilters(!0,!1);const Ye={query:we,order:Ie,cat:Ae?et?.categoryParent?.slug:null,subcat:Ae?et?.category?.slug:null,categories:Ae?et?.category?.slug:null,model_slugs:ye};return this.storeCatalogTag&&Object.assign(Ye,this.storeCatalogTagQuery),this.sharedModels
17DataService.setModelsJSON(Ye),void this.modelsListService.prepareJSON(this.sharedModelsDataService.modelsJSONSource.value)}if(!this.sky){const Te=new URL(de.section,location.origin);we&&Te.searchParams.set(de.button===X.jz.JOB?"f[search]":"query",we),window.location.href=Te.href}}}cleaner(){if(this.showTypeHead?(this.searchInput.nativeElement.focus(),this.hints=this.fromStoryArray()):this.hints=[],this.searchService.form.controls.searchControl.setValue(""),this.route.snapshot.queryParamMap.get("query")){if(X.jz.MODELS===this.getSearchContext()){const we=this.route.snapshot.queryParamMap.get("order");return this.sharedModelsDataService.setModelsJSON({query:null,order:we===d.Qf.RELEVANCE?null:we,page:null}),void this.modelsListService.prepareJSON(this.sharedModelsDataService.modelsJSONSource.value)}if(X.jz.GALLERY===this.getSearchContext()){const we={...this.route.snapshot.queryParams};return delete we.query,void this.router.navigate([],{queryParams:we}).then()}this.router.navigate([],{onSameUrlNavigation:"reload"}).then()}}dropTypeHead(){this.activeHint=-1,this.showTypeHead=!1,this.backdropService.backdrop(!1)}buttonClick(et){this.searchContext=et.button,this.search()}getSectionName(){const et=this.searchService.form.controls.searchControl.value;return{ru:`\u0418\u0441\u043a\u0430\u0442\u044c ${et.length>2?"\xab"+et+"\xbb":""} \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435`,en:`Search ${et.length>2?'"'+et+'"':""} in section`,es:`Buscar ${et.length>2?'"'+et+'"':""} en la secci\xf3n`}[this.locale]}removeFromStorage(et,we){const Ae=this.searchService.getStoryArray();this.searchService.updateLocaleStorage(Ae.filter(de=>de!==et)),this.hints.splice(we,1),this.fromStoryArray().forEach(de=>{!this.hints.find(Ie=>Ie.query===de.query)&&this.hints.length<X._C&&this.hints.push(de)})}initFocus(et,we){we!==document.activeElement&&(et.preventDefault(),this.backdropOnFocus())}typeHeadStatus(){return this.sky?this.showTypeHead&&this.hints.length>0:this.showTypeHead}checkStoreCatalogTag(){history.state.storeCatalogTag&&this.router.url.match(B.iw.models)&&(this.storeCatalogTag=history.state.storeCatalogTag,this.storeCatalogTagQuery=this.route.snapshot.queryParams),(!this.router.url.match(B.iw.models)||this.searchByImageService.imageData.value)&&(this.storeCatalogTag="",this.storeCatalogTagQuery=void 0);const et=this.route.snapshot.queryParams;if(this.storeCatalogTag)if(Object.keys(this.storeCatalogTagQuery).every(we=>Object.hasOwn(et,we)))for(const[we,Ae]of Object.entries(this.storeCatalogTagQuery)){const de=Array.isArray(Ae)?Ae:[Ae],Te=Array.isArray(et[we])?et[we]:[et[we]];if(!de.every(Ie=>Te.includes(Ie))){this.storeCatalogTag="",this.storeCatalogTagQuery=void 0;break}}else this.storeCatalogTag="",this.storeCatalogTagQuery=void 0}dropStoreCatalogTag(){this.storeCatalogTag="",this.storeCatalogTagQuery=void 0,this.router.navigate([],{queryParams:{query:this.route.snapshot.queryParamMap.get("query")},onSameUrlNavigation:"reload"}).then()}ngOnDestroy(){this.unsubscriber.next()}}return(ut=ht).\u0275fac=function(et){return new(et||ut)},ut.\u0275cmp=e.VBU({type:ut,selectors:[["app-search"]],viewQuery:function(et,we){if(1&et&&(e.GBs(ie,5),e.GBs(re,5),e.GBs(Ee,5)),2&et){let Ae;e.mGM(Ae=e.lsd())&&(we.searchInput=Ae.first),e.mGM(Ae=e.lsd())&&(we.searchEl=Ae.first),e.mGM(Ae=e.lsd())&&(we.divEl=Ae.first)}},inputs:{searchContainer:"searchContainer",searchToTop:"searchToTop"},standalone:!0,features:[e.aNF],decls:22,vars:34,consts:[["searchEl",""],[1,"input-wrapper"],["class","by-pic-container",3,"click",4,"ngIf"],["class","stored-tag",3,"click",4,"ngIf"],["class","input-elements cleaner-ico",3,"click",4,"ngIf"],["class","search-by-pic-ico",4,"ngIf"],["class","input-elements search-ico",3,"click",4,"ngIf"],["class","input-elements search-ico",3,"galleries","click",4,"ngIf"],[3,"formGroup","ngSubmit"],["autocomplete","off","formControlName","searchControl","enterkeyhint","search","type","search","tabindex","-1",3,"placeholder","mousedown","touchend","keyup"],["searchInput",""],["class","typeahead",3,"typeahead-active","touchmove","touchend",4,"ngIf"],["buttonElement",""],[1,"by-pic-container",3,"click"],[1,"background"],["height","44","width","44","alt","",3,"src"],["width","10","height","10","viewBox","0 0 10 10","fill","none","xmlns","http://www.w3.org/2000/svg"],["x1","1","y1","9","x2","9","y2","1","stroke","#92908C","stroke-width","2","stroke-linecap","round"],["x1","1","y1","1","x2","9","y2","9","stroke","#92908C","stroke-width","2","stroke-linecap","round"],[1,"stored-tag",3,"click"],["div",""],["width","20","height","20","viewBox","0 0 20 20","xmlns","http://www.w3.org/2000/svg"],["x1","6","y1","6","x2","14","y2","14","stroke-width","2","stroke-linecap","round"],["x1","6","y1","14","x2","14","y2","6","stroke-width","2","stroke-linecap","round"],[1,"input-elements","cleaner-ico",3,"click"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["r","12","cx","12","cy","12"],["x1","7","y1","7","x2","17","y2","17","stroke-width","2","stroke-linecap","round"],["x1","7","y1","17","x2","17","y2","7","stroke-width","2","stroke-linecap","round"],[1,"search-by-pic-ico"],[1,"input-elements","search-ico",3,"click"],["width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M9 0C13.9706 0 18 4.02944 18 9C18 11.125 17.2619 13.0766 16.0303 14.6162L19.707 18.293L19.7754 18.3691C20.0957 18.7619 20.0731 19.3409 19.707 19.707C19.3409 20.0731 18.7619 20.0957 18.3691 19.7754L18.293 19.707L14.6162 16.0303C13.0766 17.2619 11.125 18 9 18C4.02944 18 0 13.9706 0 9C0 4.02944 4.02944 0 9 0ZM9 2C5.13401 2 2 5.13401 2 9C2 12.866 5.13401 16 9 16C12.866 16 16 12.866 16 9C16 5.13401 12.866 2 9 2Z","fill","white"],["d","M9 0C13.9706 0 18 4.02944 18 9C18 11.125 17.2619 13.0766 16.0303 14.6162L19.707 18.293L19.7754 18.3691C20.0957 18.7619 20.0731 19.3409 19.707 19.707C19.3409 20.0731 18.7619 20.0957 18.3691 19.7754L18.293 19.707L14.6162 16.0303C13.0766 17.2619 11.125 18 9 18C4.02944 18 0 13.9706 0 9C0 4.02944 4.02944 0 9 0ZM9 2C5.13401 2 2 5.13401 2 9C2 12.866 5.13401 16 9 16C12.866 16 16 12.866 16 9C16 5.13401 12.866 2 9 2Z","fill","#423F3C"],[1,"typeahead",3,"touchmove","touchend"],[4,"ngFor","ngForOf"],[4,"ngIf"],["class","item",3,"active","click",4,"ngIf"],[1,"item",3,"click"],[3,"innerHTML"],["class","close","width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg",3,"click",4,"ngIf"],["width","14","height","20","viewBox","0 0 14 20","fill","none","xmlns","http://www.w3.org/2000/svg",1,"dot"],["r","1","cy","10","cx","7","fill","#ACA8A7"],[1,"cat"],["width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg",1,"close",3,"click"],["x1","5","y1","5","x2","15","y2","15","stroke-width","2","stroke-linecap","round","stroke","currentColor"],["x1","5","y1","15","x2","15","y2","5","stroke-width","2","stroke-linecap","round","stroke","currentColor"],[1,"search-by-section",3,"touchend"],[1,"search-buttons"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"touchend","click"],[1,"button-info",3,"ngSwitch"],[4,"ngSwitchCase"],["d","M5.5 11C6.90446 11 7.60688 10.9999 8.11133 11.3369C8.32966 11.4828 8.51719 11.6703 8.66309 11.8887C9.00015 12.3931 9 13.0955 9 14.5C9 15.9045 9.00015 16.6069 8.66309 17.1113C8.51719 17.3297 8.32966 17.5172 8.11133 17.6631C7.60688 18.0001 6.90446 18 5.5 18C4.09554 18 3.39312 18.0001 2.88867 17.6631C2.67034 17.5172 2.48281 17.3297 2.33691 17.1113C1.99985 16.6069 2 15.9045 2 14.5C2 13.0955 1.99985 12.3931 2.33691 11.8887C2.48281 11.6703 2.67034 11.4828 2.88867 11.3369C3.39312 10.9999 4.09554 11 5.5 11Z","fill","currentColor"],["d","M14.5 11C15.9045 11 16.6069 10.9999 17.1113 11.3369C17.3297 11.4828 17.5172 11.6703 17.6631 11.8887C18.0001 12.3931 18 13.0955 18 14.5C18 15.9045 18.0001 16.6069 17.6631 17.1113C17.5172 17.3297 17.3297 17.5172 17.1113 17.6631C16.6069 18.0001 15.9045 18 14.5 18C13.0955 18 12.3931 18.0001 11.8887 17.6631C11.6703 17.5172 11.4828 17.3297 11.3369 17.1113C10.9999 16.6069 11 15.9045 11 14.5C11 13.0955 10.9999 12.3931 11.3369 11.8887C11.4828 11.6703 11.6703 11.4828 11.8887 11.3369C12.3931 10.9999 13.0955 11 14.5 11Z","fill","currentColor"],["d","M5.5 2C6.90446 2 7.60688 1.99985 8.11133 2.33691C8.32966 2.48281 8.51719 2.67034 8.66309 2.88867C9.00015 3.39312 9 4.09554 9 5.5C9 6.90446 9.00015 7.60688 8.66309 8.11133C8.51719 8.32966 8.32966 8.51719 8.11133 8.66309C7.60688 9.00015 6.90446 9 5.5 9C4.09554 9 3.39312 9.00015 2.88867 8.66309C2.67034 8.51719 2.48281 8.32966 2.33691 8.11133C1.99985 7.60688 2 6.90446 2 5.5C2 4.09554 1.99985 3.39312 2.33691 2.88867C2.48281 2.67034 2.67034 2.48281 2.88867 2.33691C3.39312 1.99985 4.09554 2 5.5 2Z","fill","currentColor"],["d","M14.5 2C15.9045 2 16.6069 1.99985 17.1113 2.33691C17.3297 2.48281 17.5172 2.67034 17.6631 2.88867C18.0001 3.39312 18 4.09554 18 5.5C18 6.90446 18.0001 7.60688 17.6631 8.11133C17.5172 8.32966 17.3297 8.51719 17.1113 8.66309C16.6069 9.00015 15.9045 9 14.5 9C13.0955 9 12.3931 9.00015 11.8887 8.66309C11.
176703 8.51719 11.4828 8.32966 11.3369 8.11133C10.9999 7.60688 11 6.90446 11 5.5C11 4.09554 10.9999 3.39312 11.3369 2.88867C11.4828 2.67034 11.6703 2.48281 11.8887 2.33691C12.3931 1.99985 13.0955 2 14.5 2Z","fill","currentColor"],["d","M13.8691 8.05273C14.2619 7.73255 14.841 7.75517 15.207 8.12109L18 10.9141V14C18 15.6569 16.6569 17 15 17H5C3.34315 17 2 15.6569 2 14V13.8828L4.71973 10.8613C5.12345 10.4127 5.8299 10.4217 6.22266 10.8799L7.03809 11.8311C7.7963 12.7155 9.14696 12.7671 9.9707 11.9434L13.793 8.12109L13.8691 8.05273Z","fill","currentColor"],["d","M15 3C16.6569 3 18 4.34315 18 6V8.08594L16.6211 6.70703C15.4861 5.57217 13.6678 5.53648 12.4902 6.60059L12.3789 6.70703L8.55664 10.5293L7.74121 9.57812C6.56295 8.20348 4.44457 8.17771 3.2334 9.52344L2 10.8936V6C2 4.34315 3.34315 3 5 3H15Z","fill","currentColor"],["d","M14 5.99951C15.8856 5.99951 16.8283 5.99966 17.4141 6.58545C17.9998 7.17124 18 8.11389 18 9.99951V13.9995C18 15.8851 17.9998 16.8278 17.4141 17.4136C16.8283 17.9994 15.8856 17.9995 14 17.9995H6C4.11438 17.9995 3.17172 17.9994 2.58594 17.4136C2.00015 16.8278 2 15.8851 2 13.9995V9.99951C2 8.11389 2.00015 7.17124 2.58594 6.58545C3.17172 5.99966 4.11438 5.99951 6 5.99951H14Z","fill","currentColor"],["d","M14 2.00049C14.5523 2.00049 15 2.4482 15 3.00049C15 3.55277 14.5523 4.00049 14 4.00049H6C5.44772 4.00049 5 3.55277 5 3.00049C5 2.4482 5.44772 2.00049 6 2.00049H14Z","fill","currentColor"],["d","M6 2.5H13.9951C15.8755 2.49998 17.4951 4.22997 17.4951 6.48828V9.42871C17.4951 11.687 15.8755 13.417 13.9951 13.417H13.0977C12.3325 13.417 11.5851 13.6331 10.9238 14.0371L10.6465 14.2207L8.70215 15.6201L8.69141 15.627L8.68164 15.6357L6.36133 17.4932C6.34765 17.481 6.32931 17.4559 6.32715 17.4141L6.33105 17.3633L6.65332 15.9219L6.6582 15.8984L6.66113 15.875L6.67578 15.7617C6.81283 14.6595 6.10701 13.5616 5.02051 13.4248L4.79883 13.4102C3.65965 13.4055 2.64084 12.4163 2.5166 11.0479L2.50391 10.7686L2.5 6.49316L2.50488 6.28223C2.59677 4.1956 4.07669 2.60546 5.82422 2.50488L6 2.5Z","fill","currentColor","stroke","currentColor"],["d","M16.8711 16.9989C17.4999 16.999 17.9995 17.4488 18 18.0009C17.9999 18.5533 17.5001 18.9999 16.8711 18.9999H3.20117C2.57211 18.9999 2.0519 18.5533 2.05176 18.0009C2.05227 17.4487 2.57233 16.9989 3.20117 16.9989H16.8711Z","fill","currentColor"],["d","M11.8721 1.87491C13.0404 0.708446 14.9352 0.708446 16.1035 1.87491C17.2714 3.04128 17.2714 4.93216 16.1035 6.09854L7.00684 15.1806C6.84689 15.3401 6.63681 15.4407 6.41211 15.4657L2 15.955L2.49023 11.5497C2.51534 11.3254 2.61556 11.1157 2.77539 10.956L11.8721 1.87491Z","fill","currentColor"],["d","M12.167 12C15.3884 12.0002 17.9998 14.6116 18 17.833C18 18.4773 17.4773 19 16.833 19H3.16699C2.52266 19 2 18.4773 2 17.833C2.00018 14.6116 4.6116 12.0002 7.83301 12H12.167Z","fill","currentColor"],["d","M10 1C12.4853 1 14.5 3.01472 14.5 5.5C14.5 7.98528 12.4853 10 10 10C7.51472 10 5.5 7.98528 5.5 5.5C5.5 3.01472 7.51472 1 10 1Z","fill","currentColor"]],template:function(et,we){if(1&et){const Ae=e.RV6();e.j41(0,"div",null,0)(2,"div",1)(3,"div"),e.DNE(4,Re,9,5,"div",2),e.nI1(5,"async"),e.DNE(6,Mt,7,1,"div",3),e.DNE(7,wt,5,0,"div",4),e.DNE(8,At,2,0,"div",5),e.DNE(9,Et,3,0,"div",6),e.DNE(10,It,3,2,"div",7),e.j41(11,"form",8),e.bIt("ngSubmit",function(){return we.search()}),e.j41(12,"input",9,10),e.bIt("mousedown",function(Te){e.eBV(Ae);const Ie=e.sdS(13);return e.Njj(we.initFocus(Te,Ie))})("touchend",function(Te){e.eBV(Ae);const Ie=e.sdS(13);return e.Njj(we.initFocus(Te,Ie))})("keyup",function(Te){return we.typeahead(Te)}),e.nI1(14,"textLength"),e.nI1(15,"async"),e.nI1(16,"async"),e.nI1(17,"async"),e.nI1(18,"async"),e.k0s()()()(),e.DNE(19,nt,4,6,"div",11),e.k0s(),e.DNE(20,Qe,10,10,"ng-template",null,12,e.C5r)}2&et&&(e.R7$(2),e.AVh("input-wrapper-active",we.showTypeHead),e.R7$(2),e.Y8G("ngIf",e.bMT(5,21,we.searchByImageService.imageData)),e.R7$(2),e.Y8G("ngIf",we.storeCatalogTag),e.R7$(1),e.Y8G("ngIf",we.searchService.form.controls.searchControl.value),e.R7$(1),e.Y8G("ngIf",!(we.searchService.form.controls.searchControl.value&&we.showTypeHead||we.searchContext===we.buttonsName.GALLERY)),e.R7$(1),e.Y8G("ngIf",we.searchService.form.controls.searchControl.value&&we.showTypeHead&&we.searchContext!==we.buttonsName.GALLERY),e.R7$(1),e.Y8G("ngIf",we.searchContext===we.buttonsName.GALLERY),e.R7$(1),e.Y8G("formGroup",we.searchService.form),e.R7$(1),e.xc7("--store-tag",null!=we.divEl&&we.divEl.nativeElement&&we.storeCatalogTag?e.i5U(14,23,we.divEl.nativeElement,we.storeCatalogTag)+68+"px":""),e.AVh("hints-finded",we.typeHeadStatus())("search-not-empty",we.searchService.form.controls.searchControl.value&&!we.showTypeHead||e.bMT(15,26,we.searchByImageService.imageData)||we.storeCatalogTag)("by-pic",e.bMT(16,28,we.searchByImageService.imageData))("galleries",we.searchContext===we.buttonsName.GALLERY),e.Y8G("placeholder",e.bMT(17,30,we.searchByImageService.imageData)?we.searchByPicLanguage[we.locale]:e.bMT(18,32,we.searchService.searchPlaceholderObservable)),e.R7$(7),e.Y8G("ngIf",!we.sky||we.hints[0]&&we.hints.length>0))},dependencies:[Z.MD,Z.Sq,Z.bT,Z.T3,Z.ux,Z.e1,Z.Jj,H,j.X1,j.qT,j.me,j.BC,j.cb,j.j4,j.JD,F.d,ue.i,ae,N.L],styles:["[_nghost-%COMP%]{display:flex}[_nghost-%COMP%] > div[_ngcontent-%COMP%]{display:flex;align-items:center;position:relative;width:100%}[_nghost-%COMP%]   .by-pic-container[_ngcontent-%COMP%]{position:absolute;display:inline-flex;z-index:inherit;align-items:center;left:0;top:0;bottom:0;gap:4px;border-radius:24px 4px 4px 24px;padding:2px;cursor:pointer}[_nghost-%COMP%]   .by-pic-container[_ngcontent-%COMP%]   .background[_ngcontent-%COMP%]{position:absolute;inset:2px 0 2px 2px;background-color:#dedcda;border-radius:22px 4px 4px 22px}[_nghost-%COMP%]   .by-pic-container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:50%;object-fit:cover;background-color:#0000;z-index:1}[_nghost-%COMP%]   .by-pic-container[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-grid;place-items:center;z-index:1}@media (min-width: 992px){[_nghost-%COMP%]   .by-pic-container[_ngcontent-%COMP%]{padding-right:4px}[_nghost-%COMP%]   .by-pic-container[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{height:20px;width:20px}}@media (max-width: 991.98px){[_nghost-%COMP%]   .by-pic-container[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]   .search-by-pic-ico[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%);display:inline-flex;z-index:inherit;right:4px}[_nghost-%COMP%]   .search-by-pic-ico[_ngcontent-%COMP%]     .btn-ico{height:40px;width:40px;justify-content:center;align-items:center;border-radius:50%}@media (hover: hover) and (pointer: fine){[_nghost-%COMP%]   .search-by-pic-ico[_ngcontent-%COMP%]     .btn-ico:hover{transition:.2s ease-out;color:#fff;background-color:#0881cc}[_nghost-%COMP%]   .search-by-pic-ico[_ngcontent-%COMP%]     .btn-ico:active{transition:.2s ease-out;color:#fff;background-color:#026cad}}.input-wrapper[_ngcontent-%COMP%]{width:100%}@media (max-width: 767.98px){.input-wrapper[_ngcontent-%COMP%]{padding:24px 12px 4px;background:white}}.input-wrapper-active[_ngcontent-%COMP%]{z-index:140}@media (max-width: 767.98px){.input-wrapper.input-wrapper-active[_ngcontent-%COMP%]   input[type=search][_ngcontent-%COMP%]{border-color:#64b2e3;transition:.1s ease-out}}@media (pointer: fine) and (hover: hover){.input-wrapper[_ngcontent-%COMP%]:not(.input-wrapper-active):hover   input[type=search][_ngcontent-%COMP%]{background-color:#fff;border-color:#64b2e3;transition:.1s ease-out}}.input-wrapper[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center}input[type=search][_ngcontent-%COMP%]{padding:10px 100px 10px var(--store-tag, 16
17px);background-color:#e7e6e5;border:2px solid #E7E6E5;width:100%;height:48px;font-size:16px;line-height:20px;font-weight:500;color:#000;outline:none;border-radius:24px;appearance:none;-moz-appearance:none;-webkit-appearance:none;transition:z-index .1s ease-out}@media (min-width: 992px){input[type=search].by-pic[_ngcontent-%COMP%]{padding-left:90px}}input[type=search][_ngcontent-%COMP%]::-webkit-search-cancel-button, input[type=search][_ngcontent-%COMP%]::-webkit-search-decoration, input[type=search][_ngcontent-%COMP%]::-webkit-search-results-button, input[type=search][_ngcontent-%COMP%]::-webkit-search-results-decoration{appearance:none;-moz-appearance:none;-webkit-appearance:none}input[type=search][_ngcontent-%COMP%]::placeholder{font-size:16px;color:#63615f;font-weight:400;opacity:1;text-overflow:ellipsis}input[type=search].search-not-empty[_ngcontent-%COMP%]:not(.focus-on){background-color:#fff;border-color:#64b2e3}input[type=search].hints-finded[_ngcontent-%COMP%]{background-color:#fff}@media (min-width: 768px){input[type=search].hints-finded[_ngcontent-%COMP%]{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}}input[type=search].focus-on[_ngcontent-%COMP%]{background-color:#fff;border-color:#e7e6e5}@media (min-width: 768px){input[type=search].focus-on.hints-finded[_ngcontent-%COMP%]{border-bottom-color:#fff}}input[type=search].galleries[_ngcontent-%COMP%]{padding:10px 40px 10px 16px}.search-ico[_ngcontent-%COMP%]{position:absolute;right:4px;top:50%;transform:translateY(-50%);border-radius:50%;height:40px;width:40px;place-items:center;display:inline-grid;cursor:pointer;color:#373737;z-index:inherit}@media (pointer: fine) and (hover: hover){.search-ico[_ngcontent-%COMP%]:hover{color:#4182aa;background-color:#026cad;transition:.1s ease-out}}.search-ico[_ngcontent-%COMP%]:active{color:#4182aa;background-color:#01588d}.search-ico[_ngcontent-%COMP%]:not(.galleries){background-color:#0881cc}.search-ico.galleries[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{fill:#fff}@media (pointer: fine) and (hover: hover){.search-ico.galleries[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{fill:#fff}}.cleaner-ico[_ngcontent-%COMP%]{cursor:pointer;position:absolute;right:52px;top:50%;display:inline-grid;place-items:center;height:40px;width:24px;transform:translateY(-50%);border-radius:50%;z-index:inherit}.cleaner-ico[_ngcontent-%COMP%]   line[_ngcontent-%COMP%]{stroke:#92908c}@media (max-width: 767.98px){.cleaner-ico[_ngcontent-%COMP%]{height:44px;width:44px;right:50px}.cleaner-ico[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:28.8px;height:28.8px}}@media (pointer: fine) and (hover: hover){.cleaner-ico[_ngcontent-%COMP%]:hover{transition:.1s ease-out}.cleaner-ico[_ngcontent-%COMP%]:hover   line[_ngcontent-%COMP%]{stroke:#63615f}.cleaner-ico[_ngcontent-%COMP%]:hover   circle[_ngcontent-%COMP%]{fill:#afa8a01f}}.cleaner-ico[_ngcontent-%COMP%]:active   line[_ngcontent-%COMP%]{stroke:#423f3c}.cleaner-ico[_ngcontent-%COMP%]:active   circle[_ngcontent-%COMP%]{fill:#afa8a03d}.typeahead[_ngcontent-%COMP%]{position:absolute;top:100%;left:0;background:#FFFFFF;box-sizing:border-box;border-radius:0 0 16px 16px;width:100%;padding:0;overflow:hidden;visibility:hidden;opacity:0;z-index:-1}@media (max-width: 767.98px){.typeahead[_ngcontent-%COMP%]{padding:0 12px}}.typeahead-active[_ngcontent-%COMP%]{visibility:inherit;opacity:1;z-index:135;padding-bottom:16px;border-top:none}@media (min-width: 768px){.typeahead-active[_ngcontent-%COMP%]{border:2px solid #E7E6E5;border-top:none}}.typeahead[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{padding:8px;cursor:pointer;font-size:16px;line-height:20px;font-weight:500;color:#92908c;display:flex;align-items:center;border-radius:8px;margin:0 8px;position:relative}.typeahead[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{text-transform:lowercase;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:1}@media (max-width: 767.98px){.typeahead[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{flex-direction:column;align-items:start;gap:2px;padding:10px 8px;margin:0 8px}}.typeahead[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{position:absolute;right:8px;top:50%;transform:translateY(-50%);margin-left:2px;color:#92908c}@media (pointer: fine){.typeahead[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{opacity:0}
17.typeahead[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]:hover{background-color:#afa8a01f}.typeahead[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]:hover   .close[_ngcontent-%COMP%]{opacity:1}}.typeahead[_ngcontent-%COMP%]   .item.active[_ngcontent-%COMP%]{background-color:#afa8a01f}.typeahead[_ngcontent-%COMP%]   .item.active[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{opacity:1}.typeahead[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   .cat[_ngcontent-%COMP%]{font-size:12px;line-height:14px;color:#aca8a7;font-weight:400}@media (min-width: 768px){.typeahead[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   .cat[_ngcontent-%COMP%]{font-size:16px;line-height:20px;margin-right:24px}}@media (max-width: 767.98px){.typeahead[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   .dot[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]     .item b{font-weight:500;color:#423f3c}.search-by-section[_ngcontent-%COMP%]{padding:24px 16px 0;margin-top:16px}@media (min-width: 768px){.search-by-section[_ngcontent-%COMP%]{padding:24px 16px 0}}.search-by-section[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:14px;line-height:16px;color:#000;font-weight:400}.search-by-section[_ngcontent-%COMP%]   .search-buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}@media (max-width: 991.98px){.search-by-section[_ngcontent-%COMP%]   .search-buttons[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}.search-by-section[_ngcontent-%COMP%]   .search-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;height:44px;padding:0 16px;border-radius:8px;gap:6px;outline:none;background:#FFFFFF;border:1px solid #EFEFF0;color:#000;box-shadow:0 1px 4px #8fa0aa1a}.search-by-section[_ngcontent-%COMP%]   .search-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{color:#92908c}@media (min-width: 768px) and (max-width: 1199.98px){.search-by-section[_ngcontent-%COMP%]   .search-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding-left:16px}}@media (pointer: fine) and (hover: hover){.search-by-section[_ngcontent-%COMP%]   .search-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{transition:.2s ease-out;background-color:#f7f6f5;border-color:#f7f6f5;box-shadow:none}}.search-by-section[_ngcontent-%COMP%]   .search-buttons[_ngcontent-%COMP%]   button.button-active[_ngcontent-%COMP%], .search-by-section[_ngcontent-%COMP%]   .search-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active{border-color:#c2e7ff;color:#014b7a;box-shadow:none;background-color:#c2e7ff}.search-by-section[_ngcontent-%COMP%]   .search-buttons[_ngcontent-%COMP%]   button.button-active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .search-by-section[_ngcontent-%COMP%]   .search-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%]{color:#026cad}.search-by-section[_ngcontent-%COMP%]   .search-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   .button-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;height:20px;gap:6px}.search-by-section[_ngcontent-%COMP%]   .search-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   .button-info[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;align-items:center;height:20px}.search-by-section[_ngcontent-%COMP%]   .search-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   .button-info[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:16px;line-height:20px;font-weight:500}.prevent-typehead-events[_ngcontent-%COMP%]   .typeahead[_ngcontent-%COMP%]{pointer-events:none}.stored-tag[_ngcontent-%COMP%]{position:absolute;left:8px;top:50%;transform:translateY(-50%);z-index:1;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:6px 6px 6px 12px;border-radius:16px 8px 8px 16px;background-color:var(--gray-400, #DEDCDA)}.stored-tag[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:16px;text-box:trim-both cap alphabetic;font-weight:500;color:var(--gray-1000)}.stored-tag[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   line[_ngcontent-%COMP%]{stroke:var(--gray-700, #92908C)}"]}),ht})()},4247:(ct,ce,a)=>{a.d(ce,{t:()=>x});var e=a(7019),d=a(177);function X(O,V){if(1&O&&(e.qSk(),e.j41(0,"circle",4),e.nrm(1,"animateTransform",2),e.k0s()),2&O){const p=e.XpG();e.BMQ("r",p.height/2-.5)("cx",p.height/2)("cy",p.height/2)("stroke",p.mobileBorderColor),e.R7$(1),e.BMQ("from","0 "+p.height/2+" "+p.height/2)("to","360 "+p.height/2+" "+p.height/2)}}let x=(()=>{var O;class V{constructor(){this.height=22,this.strokeWidth=3,this.mainColor="currentColor",this.mobileBorderColor="",this.margin=""}}return(O=V).\u0275fac=function($){return new($||O)},O.\u0275cmp=e.VBU({type:O,selectors:[["app-spinner"]],inputs:{height:["height","height",e.Udg],strokeWidth:["strokeWidth","strokeWidth",e.Udg],mainColor:"mainColor",mobileBorderColor:"mobileBorderColor",margin:"margin"},standalone:!0,features:[e.GFd,e.aNF],decls:4,vars:13,consts:[["fill","none","xmlns","http://www.w3.org/2000/svg",1,"spinner"],["pathLength","10","stroke-dasharray","7.5"],["attributeName","transform","attributeType","XML","type","rotate","dur",".85s","repeatCount","indefinite"],["class","mobile","stroke-width","1","pathLength","10","stroke-dasharray","7.5",4,"ngIf"],["stroke-width","1","pathLength","10","stroke-dasharray","7.5",1,"mobile"]],template:function($,E){1&$&&(e.qSk(),e.j41(0,"svg",0)(1,"circle",1),e.nrm(2,"animateTransform",2),e.k0s(),e.DNE(3,X,2,6,"circle",3),e.k0s()),2&$&&(e.xc7("margin",E.margin),e.BMQ("width",E.height)("height",E.height)("viewBox","0 0 "+E.height+" "+E.height),e.R7$(1),e.BMQ("r",E.height/2-E.strokeWidth/2)("cx",E.height/2)("cy",E.height/2)("stroke-width",E.strokeWidth)("stroke",E.mainColor),e.R7$(1),e.BMQ("from","0 "+E.height/2+" "+E.height/2)("to","360 "+E.height/2+" "+E.height/2),e.R7$(1),e.Y8G("ngIf",E.mobileBorderColor))},dependencies:[d.MD,d.bT],styles:["[_nghost-%COMP%]{display:inline-flex}@media (pointer: fine){circle.mobile[_ngcontent-%COMP%]{display:none}}"]}),V})()},3792:(ct,ce,a)=>{a.d(ce,{k:()=>W});var e=a(7019),d=a(9079),X=a(1626),x=a(9437),O=a(1413),V=a(6129);class p extends O.B{constructor(B=1/0,J=1/0,z=V.U){super(),this._bufferSize=B,this._windowTime=J,this._timestampProvider=z,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=J===1/0,this._bufferSize=Math.max(1,B),this._windowTime=Math.max(1,J)}next(B){const{isStopped:J,_buffer:z,_infiniteTimeWindow:w,_timestampProvider:U,_windowTime:Z}=this;J||(z.push(B),!w&&z.push(U.now()+Z)),this._trimBuffer(),super.next(B)}_subscribe(B){this._throwIfClosed(),this._trimBuffer();const J=this._innerSubscribe(B),{_infiniteTimeWindow:z,_buffer:w}=this,U=w.slice();for(let Z=0;Z<U.length&&!B.closed;Z+=z?1:2)B.next(U[Z]);return this._checkFinalizedStatuses(B),J}_trimBuffer(){const{_bufferSize:B,_timestampProvider:J,_buffer:z,_infiniteTimeWindow:w}=this,U=(w?1:2)*B;if(B<1/0&&U<z.length&&z.splice(0,z.length-U),!w){const Z=J.now();let H=0;for(let j=1;j<z.length&&z[j]<=Z;j+=2)H=j;H&&z.splice(0,H+1)}}}var $=a(7647);let s=(()=>{var G;class B{constructor(){this.cache=new Map}getSvg$(z,w){return this.cache.has(z)||this.cache.set(z,w().pipe((0,x.W)(U=>{throw this.cache.delete(z),U}),function E(G,B,J){let z,w=!1;return G&&"object"==typeof G?({bufferSize:z=1/0,windowTime:B=1/0,refCount:w=!1,scheduler:J}=G):z=G??1/0,(0,$.u)({connector:()=>new p(z,B,J),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:w})}(1))),this.cache.get(z)}}return(G=B).\u0275fac=function(z){return new(z||G)},G.\u0275prov=e.jDH({token:G,factory:G.\u0275fac,providedIn:"root"}),B})();var I=a(6354);let W=(()=>{var G;class B{constructor(){this.http=(0,e.WQX)(X.Qq),this.hostEl=(0,e.WQX)(e.aKT).nativeElement,this.svgStore=(0,e.WQX)(s),this.renderer=(0,e.WQX)(e.sFG),this.destroyRef=(0,e.WQX)(e.abz)}ngOnInit(){this.loadIcon()}loadIcon(){this.svgStore.getSvg$(this.iconPath,()=>this.http.get(this.iconPath,{responseType:"text"}).pipe((0,I.T)(z=>this.sanitizeText(z)))).pipe((0,d.pQ)(this.destroyRef)).subscribe({next:z=>this.injectSvg(this.getHostNgAttribute(),z)})}injectSvg(z,w){const U=this.renderer.createElement("div");this.renderer.setProperty(U,"innerHTML",w);const Z=U.querySelector("svg");Z&&(z&&this.setNgAttribute(Z,z),this.renderer.appendChild(this.hostEl,Z))}getHostNgAttribute(){const z=this.hostEl.attributes;for(let w=0;w<z.length;w++)if(z[w].name.startsWith("_ngcontent-"))return z[w].name;return""}setNgAttribute(z,w){this.renderer.setAttribute(z,w,"");const U=z.children;if(U)for(let Z=0;Z<U.length;Z++)this.setNgAttribute(U[Z],w)}sanitizeText(z){let w=z;return w=w.replace(/<script[^]*?>[^]*?<\/script>/gi,""),w=w.replace(/\son[a-z]+=\s*"[^"]*"/gi,""),w=w.replace(/href=\s*"javascript:[^"]*"/gi,""),w}}return(G=B).\u0275fac=function(z){return new(z||G)},G.\u0275cmp=e.VBU({type:G,selectors:[["app-svg"]],inputs:{iconPath:"iconPath"},standalone:!0,features:[e.aNF],decls:0,vars:0,template:function(z,w){},styles:["[_nghost-%COMP%]{display:inline-flex;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}"]}),B})()},7471:(ct,ce,a)=>{a.r(ce),a.d(ce,{LoginComponent:()=>_t});var e=a(7019),d=a(9417),X=a(647),x=a(9221),O=a(430),V=a(1594),p=a(1180),$=a(177),E=a(3310),s=a(174),I=a(710),W=a(5759),G=a(8202),B=a(9242),J=a(8830),z=a(2128),w=a(5116);function U(Ge,Ct){if(1&Ge&&(e.qex(0),e.j41(1,"div",8),e.eu8(2,9),e.j41(3,"div",10),e.eu8(4,9)(5,9),e.k0s()(),e.bVm()),2&Ge){e.XpG(2);const ze=e.sdS(10),mt=e.sdS(4),Ot=e.sdS(8);e.R7$(2),e.Y8G("ngTemplateOutlet",ze),e.R7$(2),e.Y8G("ngTemplateOutlet",mt),e.R7$(1),e.Y8G("ngTemplateOutlet",Ot)}}function Z(Ge,Ct){if(1&Ge&&(e.qex(0),e.j41(1,"div",11),e.eu8(2,9),e.j41(3,"div",12),e.eu8(4,9)(5,9),e.k0s()(),e.bVm()),2&Ge){e.XpG(2);const ze=e.sdS(10),mt=e.sdS(6),Ot=e.sdS(8);e.R7$(2),e.Y8G("ngTemplateOutlet",ze),e.R7$(2),e.Y8G("ngTemplateOutlet",mt),e.R7$(1),e.Y8G("ngTemplateOutlet",Ot)}}function H(Ge,Ct){if(1&Ge&&(e.qex(0),e.DNE(1,U,6,3,"ng-container",7),e.DNE(2,Z,6,3,"ng-container",7),e.bVm()),2&Ge){const ze=e.XpG();e.R7$(1),e.Y8G("ngIf",""==ze.twoFAToken),e.R7$(1),e.Y8G("ngIf",""!=ze.twoFAToken)}}function j(Ge,Ct){if(1&Ge&&(e.qex(0),e.j41(1,"div",13)(2,"div",14),e.eu8(3,9)(4,9),e.k0s()(),e.bVm()),2&Ge){e.XpG(2);const ze=e.sdS(4),mt=e.sdS(8);e.R7$(3),e.Y8G("ngTemplateOutlet",ze),e.R7$(1),e.Y8G("ngTemplateOutlet",mt)}}function F(Ge,Ct){if(1&Ge&&(e.qex(0),e.j41(1,"div",15)(2,"div",16),e.eu8(3,9)(4,9),e.k0s()(),e.bVm()),2&Ge){e.XpG(2);const ze=e.sdS(6),mt=e.sdS(8);e.R7$(3),e.Y8G("ngTemplateOutlet",ze),e.R7$(1),e.Y8G("ngTemplateOutlet",mt)}}function ue(Ge,Ct){if(1&Ge&&(e.j41(0,"app-auth"),e.DNE(1,j,5,2,"ng-container",7),e.DNE(2,F,5,2,"ng-container",7),e.k0s()),2&Ge){const ze=e.XpG();e.R7$(1),e.Y8G("ngIf",""==ze.twoFAToken),e.R7$(1),e.Y8G("ngIf",""!=ze.twoFAToken)}}function ae(Ge,Ct){if(1&Ge&&(e.j41(0,"div",36),e.EFF(1),e.k0s()),2&Ge){const ze=e.XpG(2);e.R7$(1),e.JRh(ze.loginFormError)}}function N(Ge,Ct){1&Ge&&(e.qex(0),e.EFF(1),e.nI1(2,"translate"),e.bVm()),2&Ge&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"auth.error.inputErrorEmail")," "))}function te(Ge,Ct){if(1&Ge&&(e.j41(0,"div",37),e.DNE(1,N,3,3,"ng-container",7),e.k0s()),2&Ge){const ze=e.XpG(2);e.R7$(1),e.Y8G("ngIf",!ze.loginFormControls.email.hasError("required"))}}function ie(Ge,Ct){if(1&Ge){const ze=e.RV6();e.qex(0),e.j41(1,"a",38),e.bIt("click",function(){e.eBV(ze);const Ot=e.XpG(2);return e.Njj(Ot.closePopup())}),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.bVm()}2&Ge&&(e.R7$(2),e.JRh(e.bMT(3,1,"auth.login.loginForgotPass")))}function re(Ge,Ct){1&Ge&&(e.j41(0,"a",39),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&Ge&&(e.R7$(1),e.JRh(e.bMT(2,1,"auth.login.loginForgotPass")))}function Ee(Ge,Ct){if(1&Ge){const ze=e.RV6();e.j41(0,"button",40),e.bIt("click",function(){e.eBV(ze);const Ot=e.XpG(2);return e.Njj(Ot.googleAuth())}),e.nrm(1,"div",41),e.j41(2,"p"),e.EFF(3),e.nI1(4,"translate"),e.k0s()()}2&Ge&&(e.R7$(3),e.JRh(e.bMT(4,1,"auth.global.signInWithGoogle")))}function Re(Ge,Ct){if(1&Ge){const ze=e.RV6();e.qex(0),e.j41(1,"a",42),e.bIt("click",function(){e.eBV(ze);const Ot=e.XpG(2);return e.Njj(Ot.closePopup())}),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.bVm()}if(2&Ge){const ze=e.XpG(2);e.R7$(1),e.Mz_("href","/",ze.route.registerNew,"",e.B4B),e.R7$(1),e.JRh(e.bMT(3,2,"auth.global.signUp"))}}function Mt(Ge,Ct){if(1&Ge&&(e.j41(0,"a",43),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&Ge){const ze=e.XpG(2);e.Mz_("routerLink","/",ze.route.registerNew,""),e.R7$(1),e.JRh(e.bMT(2,2,"auth.global.signUp"))}}function wt(Ge,Ct){if(1&Ge){const ze=e.RV6();e.j41(0,"h1",17),e.EFF(1),e.nI1(2,"translate"),e.k0s(),e.DNE(3,ae,2,1,"div",18),e.j41(4,"form",19),e.bIt("ngSubmit",function(){e.eBV(ze);const Ot=e.XpG();return e.Njj(Ot.onLoginSubmit())}),e.j41(5,"div",20)(6,"div",21)(7,"input",22),e.bIt("change",function(){e.eBV(ze);const Ot=e.XpG();return e.Njj(Ot.loginInputCheck())}
17),e.k0s(),e.j41(8,"label",23),e.EFF(9),e.nI1(10,"translate"),e.k0s()(),e.DNE(11,te,2,1,"div",24),e.k0s(),e.j41(12,"div",25)(13,"div",21)(14,"input",26),e.bIt("change",function(){e.eBV(ze);const Ot=e.XpG();return e.Njj(Ot.loginInputCheck())}),e.k0s(),e.j41(15,"label",27),e.EFF(16),e.nI1(17,"translate"),e.k0s()(),e.j41(18,"div",28),e.DNE(19,ie,4,3,"ng-container",0),e.DNE(20,re,3,3,"ng-template",null,29,e.C5r),e.k0s()(),e.nrm(22,"div",30),e.nI1(23,"translate"),e.j41(24,"div",31)(25,"div")(26,"button",32),e.EFF(27),e.nI1(28,"translate"),e.k0s(),e.DNE(29,Ee,5,3,"button",33),e.j41(30,"div",34),e.DNE(31,Re,4,4,"ng-container",0),e.DNE(32,Mt,3,4,"ng-template",null,35,e.C5r),e.k0s()()()()}if(2&Ge){const ze=e.sdS(21),mt=e.sdS(33),Ot=e.XpG();e.R7$(1),e.JRh(e.bMT(2,14,"auth.login.loginHeader")),e.R7$(2),e.Y8G("ngIf",""!=Ot.loginFormError),e.R7$(1),e.Y8G("formGroup",Ot.loginForm),e.R7$(5),e.JRh(e.bMT(10,16,"auth.input.placeholderEmail")),e.R7$(2),e.Y8G("ngIf",Ot.loginFormControls.email.invalid&&Ot.loginFormControls.email.touched),e.R7$(5),e.JRh(e.bMT(17,18,"auth.input.placeholderPass")),e.R7$(3),e.Y8G("ngIf",Ot.inPopup)("ngIfElse",ze),e.R7$(3),e.Y8G("innerHTML",e.bMT(23,20,"auth.login.agree"),e.npT),e.R7$(4),e.Y8G("disabled",!Ot.loginFormReady),e.R7$(1),e.SpI(" ",e.bMT(28,22,"auth.global.signIn")," "),e.R7$(2),e.Y8G("ngIf",Ot.sky),e.R7$(2),e.Y8G("ngIf",Ot.inPopup)("ngIfElse",mt)}}function At(Ge,Ct){if(1&Ge&&(e.j41(0,"div",52),e.EFF(1),e.k0s()),2&Ge){const ze=e.XpG(2);e.R7$(1),e.SpI(" ",ze.twoFAFormError," ")}}const Et=function(Ge){return{"@@timeLeft":Ge}},It=function(Ge){return[Ge]};function bt(Ge,Ct){if(1&Ge&&(e.qex(0),e.j41(1,"div"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.bVm()),2&Ge){const ze=e.XpG(3);e.R7$(2),e.JRh(e.i5U(3,1,"auth.login.resendCode",e.eq3(6,It,e.eq3(4,Et,ze.timeLeft))))}}function st(Ge,Ct){if(1&Ge){const ze=e.RV6();e.j41(0,"div",55),e.bIt("click",function(){e.eBV(ze);const Ot=e.XpG(3);return e.Njj(Ot.resendCode())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&Ge&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"auth.login.buttonResendCode")," "))}function ne(Ge,Ct){if(1&Ge&&(e.j41(0,"div",53),e.DNE(1,bt,4,8,"ng-container",0),e.DNE(2,st,3,3,"ng-template",null,54,e.C5r),e.k0s()),2&Ge){const ze=e.sdS(3),mt=e.XpG(2);e.R7$(1),e.Y8G("ngIf",mt.timeLeft>0)("ngIfElse",ze)}}const fe=function(Ge,Ct){return{"@@email":Ge,"@@link":Ct}};function le(Ge,Ct){if(1&Ge){const ze=e.RV6();e.j41(0,"h1",44),e.EFF(1),e.nI1(2,"translate"),e.k0s(),e.nrm(3,"div",45),e.nI1(4,"translate"),e.j41(5,"form",19),e.bIt("ngSubmit",function(){e.eBV(ze);const Ot=e.XpG();return e.Njj(Ot.loginConfirm())}),e.j41(6,"div",46)(7,"div",21)(8,"input",47),e.bIt("change",function(){e.eBV(ze);const Ot=e.XpG();return e.Njj(Ot.twoFAInputCheck())}
17),e.k0s(),e.j41(9,"label",48),e.EFF(10),e.nI1(11,"translate"),e.k0s()(),e.DNE(12,At,2,1,"div",49),e.k0s(),e.DNE(13,ne,4,2,"div",50),e.j41(14,"div",51)(15,"button",32),e.EFF(16),e.nI1(17,"translate"),e.k0s()()()}if(2&Ge){const ze=e.XpG();e.R7$(1),e.JRh(e.bMT(2,8,"auth.login.2FAHeader")),e.R7$(2),e.Y8G("innerHTML",e.i5U(4,10,"auth.login.2FA1",e.eq3(20,It,e.l_i(17,fe,ze.loginForm.value.email,ze.FAQ2fa))),e.npT),e.R7$(2),e.Y8G("formGroup",ze.twoFAForm),e.R7$(5),e.JRh(e.bMT(11,13,"auth.input.placeholderCode")),e.R7$(2),e.Y8G("ngIf",""!=ze.twoFAFormError),e.R7$(1),e.Y8G("ngIf",ze.timeLeft>=0),e.R7$(2),e.Y8G("disabled",!ze.twoFAFormReady||ze.maxAttemptsReached),e.R7$(1),e.SpI(" ",e.bMT(17,15,"auth.global.buttonGo")," ")}}function Ue(Ge,Ct){1&Ge&&(e.j41(0,"div",56),e.EFF(1," This site is protected by reCAPTCHA and the Google "),e.j41(2,"a",57),e.EFF(3,"Privacy Policy"),e.k0s(),e.EFF(4," and "),e.j41(5,"a",58),e.EFF(6,"Terms of Service"),e.k0s(),e.EFF(7," apply. "),e.k0s())}function Fe(Ge,Ct){if(1&Ge){const ze=e.RV6();e.j41(0,"button",59),e.bIt("click",function(){e.eBV(ze);const Ot=e.XpG();return e.Njj(Ot.closePopup())}),e.qSk(),e.j41(1,"svg",60),e.nrm(2,"circle",61)(3,"path",62),e.k0s()()}}function nt(Ge,Ct){1&Ge&&e.nrm(0,"app-preloader")}let _t=(()=>{var Ge;class Ct{constructor(mt,Ot,Qe,yt,ut,ht,me,et,we){this.authService=mt,this.recaptchaV3Service=Ot,this.router=Qe,this.activatedRoute=yt,this.cartService=ut,this.backdropComponentService=ht,this.subscribeHandler=me,this.sky=et,this.locale=we,this.DELAY_SEC=180,this.FAQ2fa="",this.loginFormError="",this.twoFAFormError="",this.loginFormReady=!1,this.twoFAFormReady=!1,this.loading=!1,this.refererUrl=location.origin,this.twoFAToken="",this.timeLeft=-1,this.maxAttemptsReached=!1,this.route=I.iw,this.loginForm=new d.gE({email:new d.MJ("",[d.k0.pattern(X.qp.email),d.k0.required]),password:new d.MJ("",[d.k0.required]),auth_session_token:new d.MJ(""),recaptcha_token:new d.MJ(""),locale:new d.MJ("")}),this.twoFAForm=new d.gE({code:new d.MJ("",[d.k0.minLength(5),d.k0.required]),token:new d.MJ(""),locale:new d.MJ("")}),this.inPopup=!1,this.FAQ2fa=X.Wc.FAQ2fa[this.sky?"en":"ru"]}get loginFormControls(){return this.loginForm.controls}get twoFAFormControls(){return this.twoFAForm.controls}loginInputCheck(){this.loginFormReady=!(this.loginFormControls.email.invalid||this.loginFormControls.password.invalid)}twoFAInputCheck(){this.twoFAFormReady=!this.twoFAFormControls.code.invalid}onLoginSubmit(){this.loading=!0,this.loginFormError="",this.subscribeHandler.takeOne(this.recaptchaV3Service.execute("loginAction"),mt=>{this.loginForm.value.recaptcha_token=mt,this.loginForm.value.auth_session_token=this.authService.getAuthSessionTokens(),this.loginForm.value.locale=this.sky?"en":"ru",this.authService.getToken(this.loginForm.value).pipe((0,V.$)()).subscribe({next:Ot=>{401!==Ot.code&&typeof Ot.data.token<"u"?(localStorage.setItem("skyAuthToken",Ot.data.token),localStorage.setItem("skyRefreshToken",Ot.data.refresh_token),this.authGlobal(Ot.data.token)):this.loginFormError=x.Wk[this.locale]},error:Ot=>{this.loading=!1,"user_is_not_enabled"===Ot.error.message&&(localStorage.setItem("infoPageEmail",this.loginForm.value.email),this.router.navigate(["/auth/info/register_not_finished"]).then()),this.loginFormError=typeof x.Gj[Ot.error.message]<"u"?x.Gj[Ot.error.message][this.locale]:Ot.error.message,"invalid_2FA"===Ot.error.message&&(typeof Ot.error.data<"u"&&typeof Ot.error.data.two_fa_token<"u"?this.twoFAToken=Ot.error.data.two_fa_token:this.loginFormError=x.Gj.no_twoFA_token[this.locale])},complete:()=>this.loading=!1})})}loginConfirm(){this.loading=!0,this.twoFAFormError="",this.twoFAForm.value.token=this.twoFAToken,this.twoFAForm.value.locale=this.sky?"en":"ru",this.authService.loginConfirm(this.twoFAForm.value).pipe((0,V.$)()).subscribe({next:mt=>{"2FA_ok"===mt.message&&(localStorage.setItem("skyAuthToken",mt.data.token),localStorage.setItem("skyRefreshToken",mt.data.refresh_token),this.authService.authSessionTokenSave(mt.data.auth_session_token),this.authGlobal(mt.data.token))},error:mt=>{this.loading=!1,this.twoFAForm.reset(),this.twoFAForm.markAllAsTouched(),this.twoFAFormReady=!1;let Ot=mt.error.message;"attempts_exceeded"===Ot&&(this.timeLeft=this.DELAY_SEC,this.startTimer(),this.maxAttemptsReached=!0),typeof x.ui[mt.error.message]<"u"&&(Ot=x.ui[mt.error.message][this.locale]),this.twoFAFormError=Ot},complete:()=>this.loading=!1})}authGlobal(mt){this.loading=!0,this.authService.authGlobal(mt).pipe((0,V.$)()).subscribe({next:Ot=>{this.loading=!1,200===Ot.status&&"OK"===Ot.message&&this.subscribeHandler.takeOne(this.cartService.mergeAndUpdate(this.cartService.getLocalModels()),()=>{window.location.href=this.refererUrl})},error:()=>{this.loading=!1,this.loginFormError=x.Gj.user_not_found[this.locale]},complete:()=>this.loading=!1})}startTimer(){window.clearInterval(this.interval),this.interval=window.setInterval(()=>{this.timeLeft>0&&this.timeLeft--},1e3)}resendCode(){this.twoFAFormError="",this.maxAttemptsReached=!1,this.loading=!0,this.twoFAToken&&this.authService.resendCodeMail({token:this.twoFAToken,locale:this.sky?"en":"ru"}).pipe((0,V.$)()).subscribe({next:mt=>{mt.success&&"request_ok"===mt.message&&(this.twoFAToken=mt.data.two_fa_token,this.loading=!1)},error:mt=>{this.loading=!1,this.twoFAFormError=mt.message,this.timeLeft=this.DELAY_SEC},complete:()=>{this.loading=!1,this.timeLeft=this.DELAY_SEC}})}googleAuth(){this.sky?this.authService.redirectToGoogleAuth():window.open("/faq/249/show","_blank")}
17closePopup(){this.backdropComponentService.getLastBackdropComponent()&&this.backdropComponentService.hideAndDestroyService()}ngOnInit(){this.inPopup?this.refererUrl=window.location.href:this.activatedRoute.queryParams.subscribe(mt=>{this.refererUrl=mt.referer_url?location.origin+mt.referer_url:location.origin})}ngOnDestroy(){this.inPopup&&this.backdropComponentService.getLastBackdropComponent()&&this.backdropComponentService.backdrop()}}return(Ge=Ct).\u0275fac=function(mt){return new(mt||Ge)(e.rXU(G.u),e.rXU(B.ob),e.rXU(O.Ix),e.rXU(O.nX),e.rXU(J.mx),e.rXU(z.v),e.rXU(w.e),e.rXU(p.ef),e.rXU(e.xe9))},Ge.\u0275cmp=e.VBU({type:Ge,selectors:[["app-login"]],inputs:{inPopup:"inPopup"},standalone:!0,features:[e.aNF],decls:12,vars:3,consts:[[4,"ngIf","ngIfElse"],["pageContent",""],["authForm",""],["authInfo",""],["recaptcha",""],["closeButton",""],[3,"ngIf"],[4,"ngIf"],[1,"auth-form-popup-wrapper"],[3,"ngTemplateOutlet"],[1,"auth-form"],[1,"auth-info-popup-wrapper"],[1,"auth-info"],[1,"col-12","col-sm-9","col-md-8","col-lg-7","col-xl-6","col-xxl-5"],[1,"auth-form","d-flex","flex-column","align-items-center"],[1,"col-12","col-sm-10","col-lg-8","col-xxl-7"],[1,"auth-info","d-flex","flex-column","align-items-center",2,"text-align","center"],[1,"main-header","mb-4"],["class","form-error mb-3",4,"ngIf"],[3,"formGroup","ngSubmit"],[1,"form-group"],[1,"form-floating"],["id","inputEmail","formControlName","email","type","email","placeholder","[email protected]","autocomplete","email",1,"form-control",3,"change"],["for","inputEmail"],["id","emailHelp","class","sky-form-small-text form-validator mt-1",4,"ngIf"],[1,"form-group","mb-3"],["id","inputPassword","formControlName","password","type","password","autocomplete","current-password","placeholder","\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u044c",1,"form-control",3,"change"],["for","inputPassword"],[1,"sky-form-small-text","text-end","mt-3"],["forgotPass",""],[1,"sky-form-agreement",3,"innerHTML"],[1,"buttons-block"],["type","submit",1,"sky-btn","sky-btn-std",3,"disabled"],["type","button","class","sky-btn sky-btn-google",3,"click",4,"ngIf"],[1,"sign-up-text"],["register",""],[1,"form-error","mb-3"],["id","emailHelp",1,"sky-form-small-text","form-validator","mt-1"],["href","/auth/resetting/request","rel","nofollow","target","_blank",3,"click"],["routerLink","/auth/resetting/request"],["type","button",1,"sky-btn","sky-btn-google",3,"click"],[1,"google-logo"],["rel","nofollow","target","_blank",3,"href","click"],[3,"routerLink"],[1,"main-header","mb-4",2,"text-align","center"],[1,"mb-4",3,"innerHTML"],[1,"form-group","mb-0",2,"text-align","left"],["id","inputCode","formControlName","code","type","text","placeholder","123456",1,"form-control",3,"change"],["for","inputCode"],["id","codeHelp","class","sky-form-small-text form-validator mt-1",4,"ngIf"],["class","mt-4 sky-resend-button",4,"ngIf"],[1,"mt-5",2,"text-align","center"],["id","codeHelp",1,"sky-form-small-text","form-validator","mt-1"],[1,"mt-4","sky-resend-button"],["resendCodeElement",""],[1,"not-real-a",3,"click"],[1,"grecaptcha-privacy"],["href","https://policies.google.com/privacy","rel","nofollow","target","_blank"],["href","https://policies.google.com/terms","rel","nofollow","target","_blank"],[1,"close-button",3,"click"],["width","45","height","44","viewBox","0 0 45 44","fill","none","xmlns","http://www.w3.org/2000/svg"],["cx","22.2188","cy","22","r","15","fill","none","fill-opacity","0.4"],["fill-rule","evenodd","clip-rule","evenodd","d","M16.5116 16.2929C16.9022 15.9024 17.5353 15.9024 17.9259 16.2929L22.2188 20.5858L26.5116 16.2929C26.9022 15.9024 27.5353 15.9024 27.9259 16.2929C28.3164 16.6834 28.3164 17.3166 27.9259 17.7071L23.633 22L27.9259 26.2929C28.3164 26.6834 28.3164 27.3166 27.9259 27.7071C27.5353 28.0976 26.9022 28.0976 26.5116 27.7071L22.2188 23.4142L17.9259 27.7071C17.5353 28.0976 16.9022 28.0976 16.5116 27.7071C16.1211 27.3166 16.1211 26.6834 16.5116 26.2929L20.8045 22L16.5116 17.7071C16.1211 17.3166 16.1211 16.6834 16.5116 16.2929Z","fill","currentColor"]],template:function(mt,Ot){if(1&mt&&(e.DNE(0,H,3,2,"ng-container",0),e.DNE(1,ue,3,2,"ng-template",null,1,e.C5r),e.DNE(3,wt,34,24,"ng-template",null,2,e.C5r),e.DNE(
175,le,18,22,"ng-template",null,3,e.C5r),e.DNE(7,Ue,8,0,"ng-template",null,4,e.C5r),e.DNE(9,Fe,4,0,"ng-template",null,5,e.C5r),e.DNE(11,nt,1,0,"ng-template",6)),2&mt){const Qe=e.sdS(2);e.Y8G("ngIf",Ot.inPopup)("ngIfElse",Qe),e.R7$(11),e.Y8G("ngIf",Ot.loading)}},dependencies:[$.MD,$.bT,$.T3,E.i,s.D,d.X1,d.qT,d.me,d.BC,d.cb,d.j4,d.JD,O.iI,O.Wk,W.s],styles:[".auth-info[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{width:336px}@media (max-width: 767.98px){.auth-info[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{width:296px}}.info-container[_ngcontent-%COMP%]{text-align:center;font-size:16px}.auth-info-popup-wrapper[_ngcontent-%COMP%], .auth-form-popup-wrapper[_ngcontent-%COMP%]{position:relative;width:526px;border-radius:8px;background:#FFF;box-shadow:0 0 16px #6c92a966}@media (max-width: 767.98px){.auth-info-popup-wrapper[_ngcontent-%COMP%], .auth-form-popup-wrapper[_ngcontent-%COMP%]{width:320px}}@media (max-width: 767.98px){.auth-info-popup-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], .auth-form-popup-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{top:0;right:0}}.auth-info-popup-wrapper[_ngcontent-%COMP%]   button.close-button[_ngcontent-%COMP%], .auth-form-popup-wrapper[_ngcontent-%COMP%]   button.close-button[_ngcontent-%COMP%]{border:none;background:none;position:absolute;top:8px;right:8px;padding:0;margin:0;color:#8c8c8c}@media (max-width: 767.98px){.auth-info-popup-wrapper[_ngcontent-%COMP%]   button.close-button[_ngcontent-%COMP%], .auth-form-popup-wrapper[_ngcontent-%COMP%]   button.close-button[_ngcontent-%COMP%]{top:0;right:0}}@media (pointer: fine) and (hover: hover){.auth-info-popup-wrapper[_ngcontent-%COMP%]   button.close-button[_ngcontent-%COMP%]:hover, .auth-form-popup-wrapper[_ngcontent-%COMP%]   button.close-button[_ngcontent-%COMP%]:hover{color:#373737}.auth-info-popup-wrapper[_ngcontent-%COMP%]   button.close-button[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]   circle[_ngcontent-%COMP%], .auth-form-popup-wrapper[_ngcontent-%COMP%]   button.close-button[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]   circle[_ngcontent-%COMP%]{fill:#efeff0}}.auth-info-popup-wrapper[_ngcontent-%COMP%]   button.close-button[_ngcontent-%COMP%]:active, .auth-form-popup-wrapper[_ngcontent-%COMP%]   button.close-button[_ngcontent-%COMP%]:active{color:#373737}.auth-info-popup-wrapper[_ngcontent-%COMP%]   button.close-button[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%]   circle[_ngcontent-%COMP%], .auth-form-popup-wrapper[_ngcontent-%COMP%]   button.close-button[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%]   circle[_ngcontent-%COMP%]{fill:#efeff0}.auth-info-popup-wrapper[_ngcontent-%COMP%]   .auth-info[_ngcontent-%COMP%], .auth-info-popup-wrapper[_ngcontent-%COMP%]   .auth-form[_ngcontent-%COMP%], .auth-form-popup-wrapper[_ngcontent-%COMP%]   .auth-info[_ngcontent-%COMP%], .auth-form-popup-wrapper[_ngcontent-%COMP%]   .auth-form[_ngcontent-%COMP%]{border-radius:8px;display:flex;flex-direction:column;align-items:center}@media (max-width: 767.98px){.auth-info-popup-wrapper[_ngcontent-%COMP%]   .auth-info[_ngcontent-%COMP%], .auth-info-popup-wrapper[_ngcontent-%COMP%]   .auth-form[_ngcontent-%COMP%], .auth-form-popup-wrapper[_ngcontent-%COMP%]   .auth-info[_ngcontent-%COMP%], .auth-form-popup-wrapper[_ngcontent-%COMP%]   .auth-form[_ngcontent-%COMP%]{padding:24px}}.auth-info-popup-wrapper[_ngcontent-%COMP%]   .auth-info[_ngcontent-%COMP%]   div[_ngcontent-%COMP%], .auth-info-popup-wrapper[_ngcontent-%COMP%]   .auth-form[_ngcontent-%COMP%]   div[_ngcontent-%COMP%], .auth-form-popup-wrapper[_ngcontent-%COMP%]   .auth-info[_ngcontent-%COMP%]   div[_ngcontent-%COMP%], .auth-form-popup-wrapper[_ngcontent-%COMP%]   .auth-form[_ngcontent-%COMP%]   div[_ngcontent-%COMP%], .auth-info-popup-wrapper[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%], .auth-form-popup-wrapper[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{text-align:center}.auth-info-popup-wrapper[_ngcontent-%COMP%]   .recaptcha-popup[_ngcontent-%COMP%], .auth-form-popup-wrapper[_ngcontent-%COMP%]   .recaptcha-popup[_ngcontent-%COMP%]{color:#757575;text-align:center;font-family:Inter,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:normal;margin-top:24px}.sign-up-text[_ngcontent-%COMP%]{color:#4182aa;text-align:center;font-size:16px;font-weight:600;line-height:20px}.sky-btn[_ngcontent-%COMP%]{border-radius:8px}.sky-form-agreement[_ngcontent-%COMP%]{margin-top:16px;font-size:12px;line-height:150%;text-align:center}"]}),Ct})()},8048:(ct,ce,a)=>{a.d(ce,{x:()=>Et,o:()=>It});var e=a(4412),d=a(7019);const x=()=>({posts:new Array(10).fill(void 0),limit:void 0,total:void 0});let O=(()=>{var bt;
17class st{constructor(){this.blogListStateSubject=new e.t(x()),this.blogListState$=this.blogListStateSubject.asObservable()}getCategory(fe){return fe.snapshot.paramMap.get("category")||""}getPage(fe){const le=fe.snapshot.queryParamMap.get("page"),Ue=Number(le);return Ue>0?Ue:1}getTag(fe){return fe.snapshot.queryParamMap.get("tag")||""}setBlogListResult(fe,le,Ue){this.blogListStateSubject.next({posts:fe,limit:le,total:Ue})}resetBlogListState(){this.blogListStateSubject.next(x())}}return(bt=st).\u0275fac=function(fe){return new(fe||bt)},bt.\u0275prov=d.jDH({token:bt,factory:bt.\u0275fac}),st})();var V=a(177),p=a(5116),$=a(430),E=a(2005),s=a(6069),I=a(1180),W=a(8207),G=a(1413),B=a(8810),J=a(9521),z=a(9437);function w(bt,st){1&bt&&d.nrm(0,"span",8),2&bt&&d.xc7("width",st.$implicit,"px")}function U(bt,st){if(1&bt&&(d.qex(0),d.DNE(1,w,1,2,"span",7),d.bVm()),2&bt){const ne=d.XpG(2);d.R7$(1),d.Y8G("ngForOf",ne.blogCategorySkeletonWidths)}}const Z=function(bt){return[bt]},H=function(){return{paths:"exact",queryParams:"ignored",fragment:"ignored",matrixParams:"ignored"}};function j(bt,st){if(1&bt&&(d.j41(0,"button",10),d.EFF(1),d.k0s()),2&bt){const ne=st.$implicit,fe=d.XpG(3);d.Y8G("disabled",fe.loadingBlogList.isLoading)("routerLink",ne.url?d.eq3(5,Z,ne.url):d.eq3(7,Z,"/"+fe.routeUrl.blog))("relativeTo",fe.route)("routerLinkActiveOptions",d.lJ4(9,H)),d.R7$(1),d.SpI(" ",ne.title," ")}}function F(bt,st){if(1&bt&&d.DNE(0,j,2,10,"button",9),2&bt){const ne=d.XpG(2);d.Y8G("ngForOf",ne.blogCategories)}}function ue(bt,st){if(1&bt&&(d.j41(0,"div",3)(1,"div",4),d.DNE(2,U,2,1,"ng-container",5),d.DNE(3,F,1,1,"ng-template",null,6,d.C5r),d.k0s()()),2&bt){const ne=d.sdS(4),fe=d.XpG();d.R7$(2),d.Y8G("ngIf",fe.loadingBlogCategories.isLoading)("ngIfElse",ne)}}function ae(bt,st){if(1&bt&&d.nrm(0,"app-models-paginator",11),2&bt){const ne=d.XpG();d.Y8G("itemsPerPage",ne.limit())("initPaginator",ne.initPaginator)}}let N=(()=>{var bt;class st{constructor(){this.subscribeHandlerService=(0,d.WQX)(p.e),this.router=(0,d.WQX)($.Ix),this.blogsService=(0,d.WQX)(E.B),this.blogsRouteStateService=(0,d.WQX)(O),this.navigationEndStream=(0,d.WQX)(I.NC),this.viewContainerRef=(0,d.WQX)(d.c1b),this.route=(0,d.WQX)($.nX),this.popupBarService=(0,d.WQX)(s.h),this.locale=(0,d.WQX)(d.xe9),this.sky=(0,d.WQX)(I.ef),this.loadingBlogCategories=new W.I,this.loadingBlogList=new W.I,this.routeUrl=Et,this.blogCategories=[],this.currentCategory="",this.limit=(0,d.vPA)(void 0),this.total=(0,d.vPA)(void 0),this.showPaginator=(0,d.EWP)(()=>{const fe=this.total(),le=this.limit();return!!fe&&!!le&&fe>le}),this.initPaginator=new e.t(0),this.titleBlogList={ru:"\u0411\u043b\u043e\u0433\u0438",en:"Blog",es:"Blog"},this.blogCategoryAll={ru:"\u0412\u0441\u0435",en:"All",es:"Todos"},this.blogCategorySkeletonWidths=[60,97,78,93,89],this.unsubscriber=new G.B}ngOnInit(){this.getBlogCategories(),this.subscribeHandlerService.subjectSubscribe(this.blogsRouteStateService.blogListState$,fe=>{this.limit.set(fe.limit),this.total.set(fe.total),this.initPaginator.next(fe.total||0)},this.unsubscriber),this.subscribeHandlerService.subjectSubscribe(this.navigationEndStream,()=>this.updateRouteStateAndLoadBlogs(),this.unsubscriber)}showError(){this.popupBarService.showGlobalError(this.viewContainerRef)}validateCategoryInUrl(){const fe=!this.currentCategory||this.blogCategories.some(le=>le.url===this.currentCategory);return fe||(location.href="/404"),fe}getBlogAll(fe,le,Ue){this.blogsRouteStateService.resetBlogListState(),this.subscribeHandlerService.takeOne(this.blogsService.getBlogAll(fe,le,Ue).pipe((0,z.W)(Fe=>(this.showError(),(0,B.$)(()=>Fe)))),Fe=>{fe>Math.ceil(Fe.data.total/Fe.data.limit)?this.router.navigate([`/${this.routeUrl.blog}/${le}`]).then():this.blogsRouteStateService.setBlogListResult(Fe.data.posts,Fe.data.limit,Fe.data.total)},this.loadingBlogList)}updateRouteStateAndLoadBlogs(){const fe=this.route.firstChild;if(!fe)return;this.currentCategory=this.blogsRouteStateService.getCategory(fe);const le=this.blogsRouteStateService.getPage(fe),Ue=this.blogsRouteStateService.getTag(fe);this.blogCategories.length&&this.validateCategoryInUrl()&&this.getBlogAll(le,this.currentCategory,Ue)}getBlogCategories(){this.subscribeHandlerService.takeOne(this.blogsService.getBlogCategories(this.locale),fe=>{const le=fe.data.filter(Fe=>Fe.count&&Fe.count>0);this.blogCategories=[{url:"",title:this.blogCategoryAll[this.locale]},...le],this.updateRouteStateAndLoadBlogs()},this.loadingBlogCategories)}ngOnDestroy(){this.unsubscriber.next()}}
17return(bt=st).\u0275fac=function(fe){return new(fe||bt)},bt.\u0275cmp=d.VBU({type:bt,selectors:[["app-blog-list"]],standalone:!0,features:[d.aNF],decls:7,vars:3,consts:[[1,"blog-list"],["class","blog-categories-wrapper",4,"ngIf"],[3,"itemsPerPage","initPaginator",4,"ngIf"],[1,"blog-categories-wrapper"],[1,"blog-categories"],[4,"ngIf","ngIfElse"],["blogCategoriesLoaded",""],["class","blog-category-skeleton",3,"width",4,"ngFor","ngForOf"],[1,"blog-category-skeleton"],["class","sky-btn-gray","routerLinkActive","active",3,"disabled","routerLink","relativeTo","routerLinkActiveOptions",4,"ngFor","ngForOf"],["routerLinkActive","active",1,"sky-btn-gray",3,"disabled","routerLink","relativeTo","routerLinkActiveOptions"],[3,"itemsPerPage","initPaginator"]],template:function(fe,le){1&fe&&(d.j41(0,"div",0)(1,"div")(2,"h1"),d.EFF(3),d.k0s(),d.DNE(4,ue,5,2,"div",1),d.k0s(),d.nrm(5,"router-outlet"),d.DNE(6,ae,1,2,"app-models-paginator",2),d.k0s()),2&fe&&(d.R7$(3),d.JRh(le.titleBlogList[le.locale]),d.R7$(1),d.Y8G("ngIf",!le.sky&&(le.loadingBlogCategories.isLoading||(null==le.blogCategories?null:le.blogCategories.length))),d.R7$(2),d.Y8G("ngIf",le.showPaginator()))},dependencies:[V.Sq,V.bT,$.Wk,$.wQ,$.n3,J.p],styles:[".blog-list[_ngcontent-%COMP%]{display:grid;max-width:1344px;width:100%;margin-inline:auto;padding:0 12px}.blog-list[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:24px;font-weight:700;color:var(--gray-900, #423F3C)}.blog-list[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:grid;gap:16px;margin-bottom:48px}@media (max-width: 767.98px){.blog-list[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-bottom:24px}}.blog-categories-wrapper[_ngcontent-%COMP%]{overflow:hidden;display:inline-grid}@media (max-width: 991.98px) and (pointer: coarse){.blog-categories-wrapper[_ngcontent-%COMP%]{margin-left:-12px;margin-right:-12px}}.blog-categories[_ngcontent-%COMP%]{display:flex;row-gap:8px;-moz-column-gap:16px;column-gap:16px;flex-wrap:wrap}@media (max-width: 991.98px) and (pointer: coarse){.blog-categories[_ngcontent-%COMP%]{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.blog-categories[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.blog-categories[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:first-child, .blog-categories[_ngcontent-%COMP%]   .blog-category-skeleton[_ngcontent-%COMP%]:first-child{margin-left:12px}.blog-categories[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:last-child, .blog-categories[_ngcontent-%COMP%]   .blog-category-skeleton[_ngcontent-%COMP%]:last-child{margin-right:12px}}.blog-categories[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], .blog-categories[_ngcontent-%COMP%]   .blog-category-skeleton[_ngcontent-%COMP%]{flex-shrink:0}.blog-categories[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border:none;padding:8px 16px;border-radius:8px;font-size:16px;font-weight:500;line-height:20px}.blog-categories[_ngcontent-%COMP%]   button.active[_ngcontent-%COMP%], .blog-categories[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active{background:var(--blue-200, #C2E7FF);color:var(--blue-700, #004879)}.blog-categories[_ngcontent-%COMP%]   .blog-category-skeleton[_ngcontent-%COMP%]{height:36px;border-radius:8px;background:var(--gray-200, #F7F6F5)}"]}),st})();var te=a(6977),ie=a(5697),re=a(8298),Ee=a(8526),Re=a(174);function wt(bt,st){if(1&bt&&d.nrm(0,"app-blog-card",1),2&bt){const ne=st.$implicit,fe=d.XpG();d.Y8G("blog",ne)("blogListLoading",fe.loadingBlogAll)}}a(647);let At=(()=>{var bt;class st{constructor(fe,le,Ue,Fe,nt,_t,Ge){this.seoHandlerService=fe,this.translate=le,this.blogsRouteStateService=Ue,this.sky=Fe,this.baseHref=nt,this.imageBaseUrl=_t,this.locale=Ge,this.noAvatarPlaceholder=(0,d.WQX)(I.UP),this.loadingBlogAll=new W.I,this.blogAll=[],this.unsubscriber=new G.B}ngOnInit(){this.blogsRouteStateService.resetBlogListState(),this.blogsRouteStateService.blogListState$.pipe((0,te.Q)(this.unsubscriber)).subscribe(fe=>{if(this.blogAll=this.sky?fe.posts:fe.posts.map(le=>{if(void 0!==le)return le.authorAvatar=le.userAvatar?this.imageBaseUrl.baseUrl+ie.oT.avatarProfileSmallWebp+le.userAvatar:this.noAvatarPlaceholder,le.showAuthorAvatar=!0,le}),this.blogAll.every(le=>le))this.prepareSeo(fe.posts);
17else{this.seoHandlerService.resetMetaTags();const le=this.getSeoName().name,Ue=this.getSeoName().description;this.seoHandlerService.setMetaTags(le,Ue)}})}getSeoName(){return{name:this.translate.transform("blog.seo.title",[{"@@domain":window.location.hostname}]),description:this.translate.transform("blog.seo.description",[{"@@domain":window.location.hostname}])}}prepareSeo(fe){const le=this.getSeoName().name,Ue=this.getSeoName().description,Fe=location.origin+this.baseHref+"blog",nt=this.sky?`${location.origin}/ng-assets/seo/blog/blog-en.jpg`:`${location.origin}/ng-assets/seo/blog/blog-ru.jpg`,_t=this.sky?"3dsky":"3ddd",Ge=location.origin+this.baseHref;this.seoHandlerService.setMetaTags(le,Ue,[{property:"og:url",content:Fe},{property:"og:image",content:nt},{property:"og:description",content:Ue},{property:"og:site_name",content:_t}]);const ze=this.handleSchemaBlogs(fe),mt=`${location.origin}/ng-assets/images/site-logo-icons/${this.sky?"3dsky":"3ddd"}-512.png`,Ot=`${Ge}#organization`;this.seoHandlerService.setSchema({"@context":"https://schema.org","@type":"Blog",name:le,description:Ue,url:Fe,inLanguage:`${this.locale}-${this.locale.toUpperCase()}`,publisher:{"@type":"Organization","@id":Ot,name:_t,url:location.origin+this.baseHref,logo:{"@type":"ImageObject",url:mt}},blogPost:ze})}handleSchemaBlogs(fe){return[...fe].map(le=>{const Ue=`${location.origin}${this.baseHref}blog/post/${le.postSlug}`,Fe=`${Ue}#article`,_t=new Date(le.postCreatedAt).toISOString().split("T")[0],Ge=document.createElement("div");Ge.innerHTML=le.postAnnounce?.content||"";let Ct=Ge.textContent||Ge.innerText||"";return Ct=Ct.replace(/\n+/g," ").replace(/\s+/g," ").trim(),{"@type":"BlogPosting","@id":Fe,url:Ue,headline:le?.postTitle,datePublished:_t,description:Ct}})}ngOnDestroy(){this.seoHandlerService.resetMetaTags(),this.unsubscriber.next()}}
17return(bt=st).\u0275fac=function(fe){return new(fe||bt)(d.rXU(Ee.T),d.rXU(Re.D),d.rXU(O),d.rXU(I.ef),d.rXU(V.kB),d.rXU(I.sT),d.rXU(d.xe9))},bt.\u0275cmp=d.VBU({type:bt,selectors:[["app-blog-list-content"]],standalone:!0,features:[d.aNF],decls:1,vars:1,consts:[[3,"blog","blogListLoading",4,"ngFor","ngForOf"],[3,"blog","blogListLoading"]],template:function(fe,le){1&fe&&d.DNE(0,wt,1,2,"app-blog-card",0),2&fe&&d.Y8G("ngForOf",le.blogAll)},dependencies:function(){return[V.Sq,re.m]},styles:["[_nghost-%COMP%]{display:grid;gap:48px}"]}),st})();var Et=function(bt){return bt.blog="blog",bt.post="blog/post",bt}(Et||{});const It=[{path:Et.blog,providers:[O],loadComponent:()=>a.e(828).then(a.bind(a,6828)).then(bt=>bt.BlogWrapperComponent),children:[{path:"post/:slug",loadComponent:()=>Promise.all([a.e(699),a.e(107)]).then(a.bind(a,9107)).then(bt=>bt.BlogPostComponent)},{path:"",component:N,children:[{path:"",pathMatch:"full",component:At},{path:":category",pathMatch:"prefix",component:At}]}]}]},4593:(ct,ce,a)=>{a.r(ce),a.d(ce,{GalleriesComponent:()=>we});var e=a(7019),d=a(4622),X=a(5116),x=a(1413),O=a(4412),V=a(2128),p=a(430),$=a(8419),E=a(8207),s=a(5979),I=a(8202),W=a(5016),G=a(710),B=a(8526),J=a(174),z=a(177),w=a(3760),U=a(4074),Z=a(9013),H=a(9417),j=a(4678),F=a(6977),ue=a(3812),ae=a(1180),N=a(3792),te=a(4039),ie=a(9571);function re(Ae,de){if(1&Ae){const Te=e.RV6();e.j41(0,"button",7),e.bIt("click",function(){const Ye=e.eBV(Te).$implicit,Oe=e.XpG();return e.Njj(Oe.processFilter(Oe.galleryService.QUERY_PARAMS_CATEGORY,Ye.slug,!0))}),e.EFF(1),e.k0s()}if(2&Ae){const Te=de.$implicit,Ie=e.XpG(),ye=e.sdS(7);e.AVh("active",Te.slug===Ie.categoryFilter),e.Y8G("appHoverReset",ye),e.R7$(1),e.SpI(" ",Te.title," ")}}function Ee(Ae,de){if(1&Ae){const Te=e.RV6();e.j41(0,"button",7),e.bIt("click",function(){const Ye=e.eBV(Te).$implicit,Oe=e.XpG();return e.Njj(Oe.processFilter(Oe.galleryService.QUERY_PARAMS_ORDER,Ye,!0))}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}if(2&Ae){const Te=de.$implicit,Ie=e.XpG(),ye=e.sdS(44);e.AVh("active",Te===Ie.filters[Ie.galleryService.QUERY_PARAMS_ORDER]),e.Y8G("appHoverReset",ye),e.R7$(1),e.SpI(" ",e.bMT(2,4,"galleries.filtersOrder."+Te)," ")}}function Re(Ae,de){if(1&Ae){const Te=e.RV6();e.qSk(),e.joV(),e.j41(0,"div",50),e.bIt("click",function(){e.eBV(Te);const ye=e.XpG();return e.Njj(ye.clearFilters([ye.galleryService.QUERY_PARAMS_ORDER]))}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&Ae&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"galleries.filters.mobileClear")," "))}function Mt(Ae,de){1&Ae&&e.eu8(0)}function wt(Ae,de){if(1&Ae){const Te=e.RV6();e.j41(0,"div",53),e.bIt("pointerdown",function(){const Ye=e.eBV(Te).$implicit,Oe=e.XpG(2);return e.Njj(Oe.processFilter(Ye.key))}),e.j41(1,"span",54),e.EFF(2),e.k0s(),e.j41(3,"span",55),e.qSk(),e.j41(4,"svg",56),e.nrm(5,"path",57),e.k0s()()()}if(2&Ae){const Te=de.$implicit,Ie=e.XpG(2);e.R7$(2),e.JRh(Ie.getChipTextByKey("categories"===Te.key?Te.value:Te.key))}}function At(Ae,de){if(1&Ae&&(e.j41(0,"div",51),e.DNE(1,wt,6,1,"div",52),e.k0s()),2&Ae){const Te=e.XpG();e.R7$(1),e.Y8G("ngForOf",Te.getChips())}}function Et(Ae,de){if(1&Ae){const Te=e.RV6();e.j41(0,"div",58)(1,"button",59),e.bIt("click",function(){e.eBV(Te);const ye=e.XpG();return e.Njj(ye.clearMobileFilters())}),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"button",60),e.bIt("click",function(){e.eBV(Te);const ye=e.XpG();return e.Njj(ye.closeMobileFilter())}),e.qSk(),e.j41(5,"svg",61),e.nrm(6,"path",62),e.k0s()()()}if(2&Ae){const Te=e.XpG();e.R7$(1),e.Y8G("disabled",!Te.displayClearMobile),e.R7$(1),e.SpI(" ",e.bMT(3,2,"galleries.filters.mobileClearFilters")," ")}}function It(Ae,de){if(1&Ae){const Te=e.RV6();e.qSk(),e.joV(),e.j41(0,"div",38),e.bIt("click",function(){const Ye=e.eBV(Te).$implicit,Oe=e.XpG();return e.Njj(Oe.setMobileFilter(Oe.galleryService.QUERY_PARAMS_CATEGORY,Ye.slug))}),e.qSk(),e.j41(1,"svg",16),e.nrm(2,"circle",39)(3,"circle",40),e.k0s(),e.EFF(4),e.k0s()}if(2&Ae){const Te=de.$implicit,Ie=e.XpG();e.R7$(2),e.AVh("selected",Te.slug===Ie.mobileCategoryFilter),e.R7$(1),e.AVh("display-none",Te.slug!==Ie.mobileCategoryFilter),e.R7$(1),e.SpI(" ",Te.title," ")}}function bt(Ae,de){if(1&Ae){const Te=e.RV6();e.j41(0,"div",45)(1,"div",63),e.bIt("click",function(){e.eBV(Te);const ye=e.XpG();return e.Njj(ye.setMobileFilter(ye.galleryService.QUERY_PARAMS_BOOKMARKS))}),e.nrm(2,"span"),e.EFF(3),e.nI1(4,"translate"),e.k0s(),e.j41(5,"div",46),e.bIt("click",function(){e.eBV(Te);const ye=e.XpG();return e.Njj(ye.setMobileFilter(ye.galleryService.QUERY_PARAMS_SUBSCRIBED))}),e.EFF(6),e.nI1(7,"translate"),e.k0s()()}if(2&Ae){const Te=e.XpG();e.R7$(1),e.AVh("active",Te.mobileFilters[Te.galleryService.QUERY_PARAMS_BOOKMARKS]),e.R7$(2),e.SpI(" ",e.bMT(4,6,"galleries.filters.favorites")," "),e.R7$(2),e.AVh("active",Te.mobileFilters[Te.galleryService.QUERY_PARAMS_SUBSCRIBED]),e.R7$(1),e.SpI(" ",e.bMT(7,8,"galleries.filters.following")," ")}}function st(Ae,de){1&Ae&&e.nrm(0,"div",64)}function ne(Ae,de){if(1&Ae&&(e.qex(0),e.j41(1,"option",72),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.bVm()),2&Ae){const Te=de.$implicit;e.R7$(1),e.FS9("value",Te),e.R7$(1),e.JRh(e.bMT(3,2,"galleries.filtersOrder."+Te))}}function fe(Ae,de){if(1&Ae){const Te=e.RV6();e.j41(0,"form",65)(1,"div",66),e.EFF(2),e.qSk(),e.j41(3,"svg",67),e.nrm(4,"path",68),e.k0s(),e.joV(),e.j41(5,"select",69,70),e.bIt("click",function(){e.eBV(Te);const ye=e.sdS(6);return e.Njj(ye.blur())})("focusin",function(){e.eBV(Te);const ye=e.XpG();return e.Njj(ye.backdropService.backdrop(!0,0))})("focusout",function(){e.eBV(Te);const ye=e.XpG();return e.Njj(ye.backdropService.backdrop(!1))}),e.DNE(7,ne,4,4,"ng-container",71),e.k0s()()()}if(2&Ae){const Te=e.XpG();e.Y8G("formGroup",Te.selectOrder),e.R7$(2),e.SpI(" ",Te.orderText," "),e.R7$(5),e.Y8G("ngForOf",Te.order)}}let le=(()=>{var Ae;class de{constructor(){this.route=(0,e.WQX)(p.nX),this.router=(0,e.WQX)(p.Ix),this.sharedGlobalDataService=(0,e.WQX)(s.o),this.subscribeHandlerService=(0,e.WQX)(X.e),this.translate=(0,e.WQX)(J.D),this.navigationEndStream=(0,e.WQX)(ae.NC),this.locale=(0,e.WQX)(e.xe9),this.backdropService=(0,e.WQX)(j.u),this.backdropComponentService=(0,e.WQX)(V.v),this.galleryService=(0,e.WQX)(d.A),this.CHIPS_FILTERS=[this.galleryService.QUERY_PARAMS_BOOKMARKS,this.galleryService.QUERY_PARAMS_SUBSCRIBED,this.galleryService.QUERY_PARAMS_MODELS,this.galleryService.QUERY_PARAMS_IS_AWARD,this.galleryService.QUERY_PARAMS_IS_MOUNTAIN,this.galleryService.QUERY_PARAMS_CATEGORY],this.unsubscriber=new x.B,this.withModelsFilter=(0,e.vPA)({checked:!1,loadingState:new E.I,disabled:!1}),this.mobileFilter=!1,this.filters={},this.mobileFilters={},this.categories=[],this.displayChips=!1,this.authorized=!1,this.order=[this.galleryService.ORDER_TIMESTAMP_CREATED,this.galleryService.ORDER_VOTES_COUNT,this.galleryService.ORDER_VIEWS_COUNT,this.galleryService.ORDER_COMMENTS_COUNT],this.selectOrder=new H.gE({order:new H.MJ(this.order[0])}
17),this.categoryFilterText=null,this.mobileApplyAvailable=!1,this.mobileCategoryFilter=null,this.displayClearMobile=!1,this.queryFilter=null,this.loadCategories=new e.bkB,this.changeCategory=new e.bkB}ngOnInit(){this.subscribeHandlerService.subjectSubscribe(this.sharedGlobalDataService.authorized,Ye=>{this.authorized=!!Ye},this.unsubscriber),this.initSortFilters(),this.getCategories();const Ie=this.route.snapshot.queryParams,ye=this.getCategory();this.setCategoryFilter(ye),this.getCategoryFilter()&&this.processFilter(this.galleryService.QUERY_PARAMS_CATEGORY,ye,!1),this.queryFilter&&this.processFilter(this.galleryService.QUERY_PARAMS_QUERY,this.queryFilter,!1),Object.keys(Ie).forEach(Ye=>{""!==Ie[Ye]&&this.processFilter(Ye,Ie[Ye],!1)}),this.selectOrder.controls.order.valueChanges.pipe((0,F.Q)(this.unsubscriber)).subscribe(Ye=>{Ye&&this.processFilter(this.galleryService.QUERY_PARAMS_ORDER,Ye)}),this.setDisplayChipsIfNeed(),this.setOrderText(),this.subscribeHandlerService.subjectSubscribe(this.navigationEndStream,()=>{!Object.keys(this.route.snapshot.queryParams).length&&!this.getCategory()&&(this.withModelsFilter.set({checked:!1,loadingState:new E.I,disabled:!1}),this.initSortFilters(),this.filters[this.galleryService.QUERY_PARAMS_ORDER]=!1,this.setCategoryFilter(null),this.setOrderText())},this.unsubscriber),this.setDisplayClearMobile()}initSortFilters(){this.filters={[this.galleryService.QUERY_PARAMS_IS_AWARD]:!1,[this.galleryService.QUERY_PARAMS_BOOKMARKS]:!1,[this.galleryService.QUERY_PARAMS_SUBSCRIBED]:!1,[this.galleryService.QUERY_PARAMS_MODELS]:!1,[this.galleryService.QUERY_PARAMS_IS_MOUNTAIN]:!1,[this.galleryService.QUERY_PARAMS_ORDER]:this.route.snapshot.queryParamMap.get(this.galleryService.QUERY_PARAMS_ORDER)??this.galleryService.ORDER_TIMESTAMP_CREATED,[this.galleryService.QUERY_PARAMS_PAGE]:!1,[this.galleryService.QUERY_PARAMS_TAG]:!1,[this.galleryService.QUERY_PARAMS_QUERY]:!1},this.setOrderText()}processFilter(Ie,ye,Ye=!0){if(Ie===this.galleryService.QUERY_PARAMS_TAG)this.filters[Ie]=ye??!1;else if(Ie===this.galleryService.QUERY_PARAMS_CATEGORY&&"all"===ye)this.setCategoryFilter(void 0);else if(Ie===this.galleryService.QUERY_PARAMS_CATEGORY)this.setCategoryFilter(ye);else if(ye&&Ie)this.filters[Ie]=ye;else if(Ie){if((this.galleryService.QUERY_PARAMS_SUBSCRIBED===Ie||this.galleryService.QUERY_PARAMS_BOOKMARKS===Ie)&&!this.authorized)return void this.backdropComponentService.LoginInPopup(void 0);this.filters[Ie]=!this.filters[Ie],this.galleryService.QUERY_PARAMS_SUBSCRIBED===Ie&&this.filters[Ie]&&(this.filters[this.galleryService.QUERY_PARAMS_BOOKMARKS]=!1),this.galleryService.QUERY_PARAMS_BOOKMARKS===Ie&&this.filters[Ie]&&(this.filters[this.galleryService.QUERY_PARAMS_SUBSCRIBED]=!1)}Ie===this.galleryService.QUERY_PARAMS_MODELS&&this.withModelsFilter.update(Oe=>({...Oe,checked:!Oe.checked})),Ie===this.galleryService.QUERY_PARAMS_ORDER&&this.setOrderText(),Ye&&this.setQueryParam()}setMobileFilter(Ie,ye){if(Ie===this.galleryService.QUERY_PARAMS_CATEGORY&&"all"===ye)this.mobileCategoryFilter=null;else if(Ie===this.galleryService.QUERY_PARAMS_CATEGORY)this.mobileCategoryFilter=ye??null;else if(ye)this.mobileFilters[Ie]=ye;else{if((this.galleryService.QUERY_PARAMS_SUBSCRIBED===Ie||this.galleryService.QUERY_PARAMS_BOOKMARKS===Ie)&&!this.authorized)return;this.mobileFilters[Ie]=!this.mobileFilters[Ie],this.galleryService.QUERY_PARAMS_SUBSCRIBED===Ie&&this.mobileFilters[Ie]&&(this.mobileFilters[this.galleryService.QUERY_PARAMS_BOOKMARKS]=!1),this.galleryService.QUERY_PARAMS_BOOKMARKS===Ie&&this.mobileFilters[Ie]&&(this.mobileFilters[this.galleryService.QUERY_PARAMS_SUBSCRIBED]=!1)}this.setDisplayClearMobile()}getChips(){const Ie=[];for(const[ye,Ye]of Object.entries(this.filters))this.CHIPS_FILTERS.includes(ye)&&Ie.push({key:ye,value:Ye});return this.categories.length&&this.getCategoryFilter()&&Ie.push({key:this.galleryService.QUERY_PARAMS_CATEGORY,value:this.getCategoryFilter()}),Ie.filter(ye=>!1!==ye.value)}applyMobileFilter(){this.filters=this.mobileFilters,this.setCategoryFilter(this.mobileCategoryFilter??void 0),this.processFilter(),this.closeMobileFilter()}getCategoryFilter(){return this.categoryFilter}setCategoryFilter(Ie){this.categoryFilter=Ie,this.categoryFilterText=this.categoryFilter&&this.categories?this.getCategoryTitleBySlug(this.categoryFilter):this.translate.transform("galleries.filters.categories"),this.changeCategory.emit({slug:Ie??null,title:this.categoryFilterText})}checkCategoryFilter(){this.categoryFilter&&this.categories&&!this.categories.find(Ie=>Ie.slug===this.categoryFilter)&&(location.href="/404")}setQueryParam(Ie=!0){const ye={};
17Object.keys(this.filters).forEach(Oe=>{this.filters[Oe]&&(ye[Oe]=this.filters[Oe])}),ye[this.galleryService.QUERY_PARAMS_QUERY]=this.queryFilter,this.router.navigate(["/"+G.iw.galleries+(this.categoryFilter?"/cat/"+this.categoryFilter:"")],{queryParams:Object.keys(ye).length>0?ye:null,state:{preventScrollTop:Ie},onSameUrlNavigation:"reload"}).then(),this.setDisplayChipsIfNeed()}setDisplayChipsIfNeed(){this.displayChips=!1,Object.keys(this.filters).forEach(Ie=>{(this.filters[Ie]&&this.CHIPS_FILTERS.includes(Ie)||this.getCategoryFilter())&&(this.displayChips=!0)})}openMobileFilter(){this.mobileFilter=!0,this.mobileFilters={...this.filters},this.mobileCategoryFilter=this.categoryFilter??null,this.setDisplayClearMobile(),this.backdropService.backdrop(!0,1,".25s ease-out",".2s ease-out"),this.backdropService.change(this.unsubscriber).subscribe(()=>{this.mobileFilter=!1})}closeMobileFilter(){this.mobileFilter=!1,this.clearMobileFilters(),this.backdropService.backdrop(!1)}clearFilters(Ie=[]){Object.keys(this.filters).forEach(ye=>{Ie.includes(ye)||(this.filters[ye]=!1)}),this.setCategoryFilter(null),this.processFilter()}clearMobileFilters(){this.mobileFilters={},this.mobileCategoryFilter=null,this.setDisplayClearMobile()}getCategories(){this.subscribeHandlerService.takeOne(this.galleryService.getUserGalleryCategories(),Ie=>{Ie.success&&(this.categories=Ie.data.filter(ye=>"moderation"!==ye.slug),this.checkCategoryFilter(),this.setCategoryFilter(this.getCategory()),this.loadCategories.emit(this.categories))})}getCategoryTitleBySlug(Ie){const ye=this.categories.find(Ye=>Ye.slug===Ie);return ye?ye.title:null}getChipTextByKey(Ie){const ye=this.categories.find(Ye=>Ye.slug===Ie);return ye?ye.title:this.translate.transform("galleries.filters."+Ie)}getCategory(){return this.route.snapshot.firstChild?.params?.category}setOrderText(){this.orderText=this.translate.transform("galleries.filtersOrder."+this.getOrder())}getOrder(){return this.filters[this.galleryService.QUERY_PARAMS_ORDER]?this.filters[this.galleryService.QUERY_PARAMS_ORDER]:this.filters[this.galleryService.QUERY_PARAMS_QUERY]?this.galleryService.ORDER_RELEVANCE:this.galleryService.ORDER_TIMESTAMP_CREATED}setDisplayClearMobile(){const{order:Ie,...ye}=this.mobileFilters,Ye=Object.values(ye).filter(Le=>!!Le),Oe=Object.keys(this.filters).filter(Le=>!!this.filters[Le]!=!!this.mobileFilters[Le]);this.mobileApplyAvailable=!!this.mobileCategoryFilter!=!!this.categoryFilter||Oe.length>0,this.displayClearMobile=(this.mobileApplyAvailable||this.displayChips)&&(null!==this.mobileCategoryFilter||Ye.length>0)}ngOnDestroy(){this.unsubscriber.next()}}return(Ae=de).\u0275fac=function(Ie){return new(Ie||Ae)},Ae.\u0275cmp=e.VBU({type:Ae,selectors:[["app-galleries-filters-panel"]],inputs:{userData:"userData",queryFilter:"queryFilter"},outputs:{loadCategories:"loadCategories",changeCategory:"changeCategory"},standalone:!0,features:[e.aNF],decls:93,vars:76,consts:[[1,"filters"],[1,"filter-group","categories"],[1,"dropdown","category-trigger"],["type","button",1,"trigger"],[3,"iconPath"],[1,"menu"],["menuCategories",""],["type","button",1,"item",3,"appHoverReset","click"],["type","button","class","item",3,"active","appHoverReset","click",4,"ngFor","ngForOf"],[3,"state","clickEvent"],[1,"with-models"],[1,"filter-group","switch"],[1,"galleries-filter-button","bookmark-heart",3,"click"],[1,"galleries-filter-button",3,"click"],[1,"filter-group"],[1,"galleries-filter-button","pl-12",3,"appTooltip","click"],["width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M4.10972 5.60805C4.30192 8.64393 6.55842 11.0433 9.37131 11.2916C9.25907 12.1599 8.83861 13.4986 7.38371 14.375H6.49903V17H13.088V14.375H12.3637C10.9179 13.5041 10.4936 12.1766 10.3782 11.308C13.3066 11.1843 15.6924 8.73353 15.8903 5.60805L16 3.875H14.2749C14.3238 3.33504 14.3238 3 14.3238 3H5.67579C5.67579 3 5.67579 3.33504 5.72471 3.875H4L4.10972 5.60805ZM11.9282 10.0854C13.6679 9.36946 14.9365 7.63463 15.0685 5.54934L15.1191 4.75H14.1699C13.9396 6.29192 13.3644 8.52869 11.9282 10.0854ZM5.82988 4.75H4.88088L4.93148 5.54934C5.06362 7.63644 6.33432 9.37247 8.07634 10.0873C6.63695 8.53048 6.06063 6.29254 5.82988 4.75Z","fill","#757575"],["d","M17 4.86435C16.5018 7.68679 15.7471 10.1773 15.25 13C11.7353 13 13.0772 12.995 9.5625 12.995L4.75 13C4.2486 10.1956 3.5014 7.6737 3 4.86435C3 4.91933 3.00006 4.78436 3 4.86435C4.43539 6.18904 5.95435 7.43421 7.375 8.7489C8.28441 7.16427 9.07584 5.59463 9.99508 4C10.9094 5.59463 11.7107 7.16427 12.625 8.7539C14.0456 7.4442 15.5499 6.20404 17 4.86435Z","fill","#757575"],["d","M15.0312 14H4.96875L5.1875 16H14.8125L15.0312 14Z","fill","#757575"],[1,"dropdown","order"],["menuOrder",""],[1,"mobile-top"],[1,"filters-mobile"],[1,"show-mobile-filter"],[3,"click"],["width","26","height","26","viewBox","0 0 26 26","fill","none","xmlns","http://www.w3.org/2000/svg"],["cx","7","cy","9","r","3","transform","rotate(180 7 9)","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M7 2C7.55228 2 8 2.44772 8 3L8 23C8 23.5523 7.55229 24 7 24C6.44772 24 6 23.5523 6 23L6 3C6 2.44772 6.44772 2 7 2Z","fill","currentColor"],["cx","19","cy","16.5","r","3","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M19 24C18.4477 24 18 23.5523 18 23L18 3C18 2.44772 18.4477 2 19 2C19.5523 2 20 2.44772 20 3L20 23C20 23.5523 19.5523 24 19 24Z","fill","currentColor"],["class","clear-mobile-btn",3,"click",4,"ngIf"],[4,"ngTemplateOutlet"],["class","chips-container",4,"ngIf"],[1,"left-sidebar"],["class","filter-header d-lg-none",4,"ngIf"],[1,"mobile-menu-block"],[1,"categories"],[1,"category",3,"click"],["r","9","stroke-width","2","cx","10","cy","10","stroke","#828282"],["r","5","cx","10","cy","10","fill","#4182AA"],["class","category",3,"click",4,"ngFor","ngForOf"],[1,"mobile-filter-button","models",3,"click"],["class","buttons",4,"ngIf"],["class","menu-line",4,"ngIf"],[1,"buttons"],[1,"mobile-filter-button",3,"click"],["d","M15.0312 14H4.96875L5.1875 16H14.8125L15.0312 14Z","fill","#125884"],[1,"filter-footer"],["orderTemplate",""],[1,"clear-mobile-btn",3,"click"],[1,"chips-container"],[3,"pointerdown",4,"ngFor","ngForOf"],[3,"pointerdown"],[1,"chip-text"],[1,"remove-chip"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M4.25935 10.6206C3.94669 10.9333 3.94669 11.4402 4.25935 11.7529C4.57202 12.0655 5.07895 12.0655 5.39162 11.7529L8.00618 9.13831L10.6363 11.7684C10.949 12.0811 11.4559 12.0811 11.7686 11.7684C12.0813 11.4558 12.0813 10.9489 11.7686 10.6362L9.13844 8.00604L11.7748 5.36969C12.0874 5.05703 12.0874 4.55009 11.7748 4.23743C11.4621 3.92476 10.9552 3.92476 10.6425 4.23743L8.00618 6.87378L5.37604 4.24364C5.06338 3.93098 4.55644 3.93098 4.24378 4.24364C3.93111 4.55631 3.93111 5.06324 4.24378 5.37591L6.87392 8.00604L4.25935 10.6206Z","fill","#ffffff"],[1,"filter-header","d-lg-none"],[3,"disabled","click"],[1,"close-filter",3,"click"],["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M0.29289 12.2929C-0.09763 12.6834 -0.09763 13.3166 0.29289 13.7071C0.68341 14.0977 1.31657 14.0977 1.70709 13.7071L6.99991 8.41418L12.2928 13.7071C12.6833 14.0977 13.3164 14.0977 13.707 13.7071C14.0975 13.3166 14.0975 12.6834 13.707 12.2929L8.41411 6.99995L13.7068 1.70713C14.0973 1.3166 14.0973 0.683425 13.7068 0.292896C13.3163 -0.0976323 12.6831 -0.0976319 12.2926 0.292896L6.99991 5.58572L1.70722 0.292913C1.3167 -0.0976155 0.683541 -0.0976158 0.293021 0.292913C-0.0974993 0.683441 -0.097499 1.31661 0.293021 1.70714L5.58571 6.99995L0.29289 12.2929Z","fill","#8c8c8c"],[1,"mobile-filter-button","bookmark-heart",3,"click"],[1,"menu-line"],[1,"galleries-filter-button-mobile",3,"formGroup"],[1,"select-sort","mobile"],["width","9","height","8","viewBox","0 0 9 8","fill","none","xmlns","http://www.w3.org/2000/svg",1,"align-self-center"],["fill-rule","evenodd","clip-rule","evenodd","d","M0.146447 2.14645C0.341709 1.95118 0.658291 1.95118 0.853553 2.14645L4.5 5.79289L8.14645 2.14645C8.34171 1.95118 8.65829 1.95118 8.85355 2.14645C9.04882 2.34171 9.04882 2.65829 8.85355 2.85355L4.85355 6.85355C4.65829 7.04882 4.34171 7.04882 4.14645 6.85355L0.146447 2.85355C-0.0488155 2.65829 -0.0488155 2.34171 0.146447 2.14645Z","fill","currentColor"],["formControlName","order",3,"click","focusin","focusout"],["sel",""],[4,"ngFor","ngForOf"],[3,"value"]],template:function(Ie,ye){if(1&Ie&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),e.
17EFF(4),e.nrm(5,"app-svg",4),e.k0s(),e.j41(6,"div",5,6)(8,"button",7),e.bIt("click",function(){return ye.processFilter(ye.galleryService.QUERY_PARAMS_CATEGORY,"all",!0)}),e.EFF(9),e.nI1(10,"translate"),e.k0s(),e.DNE(11,re,2,4,"button",8),e.k0s()(),e.j41(12,"div")(13,"app-checkbox-container",9),e.bIt("clickEvent",function(){return ye.processFilter(ye.galleryService.QUERY_PARAMS_MODELS)}),e.j41(14,"span",10),e.EFF(15),e.nI1(16,"translate"),e.k0s()()()(),e.j41(17,"div",11)(18,"div",12),e.bIt("click",function(){return ye.processFilter(ye.galleryService.QUERY_PARAMS_BOOKMARKS)}),e.nrm(19,"span"),e.EFF(20),e.nI1(21,"translate"),e.k0s(),e.j41(22,"div",13),e.bIt("click",function(){return ye.processFilter(ye.galleryService.QUERY_PARAMS_SUBSCRIBED)}),e.EFF(23),e.nI1(24,"translate"),e.k0s()(),e.j41(25,"div",14)(26,"div",15),e.bIt("click",function(){return ye.processFilter(ye.galleryService.QUERY_PARAMS_IS_AWARD)}),e.nI1(27,"translate"),e.qSk(),e.j41(28,"svg",16),e.nrm(29,"path",17),e.k0s(),e.EFF(30),e.nI1(31,"translate"),e.k0s(),e.joV(),e.j41(32,"div",15),e.bIt("click",function(){return ye.processFilter(ye.galleryService.QUERY_PARAMS_IS_MOUNTAIN)}),e.nI1(33,"translate"),e.qSk(),e.j41(34,"svg",16),e.nrm(35,"path",18)(36,"path",19),e.k0s(),e.EFF(37),e.nI1(38,"translate"),e.k0s()(),e.joV(),e.j41(39,"div",20)(40,"button",3),e.EFF(41),e.nrm(42,"app-svg",4),e.k0s(),e.j41(43,"div",5,21),e.DNE(45,Ee,3,6,"button",8),e.k0s()()(),e.j41(46,"div",22)(47,"div",23)(48,"div",24)(49,"button",25),e.bIt("click",function(){return ye.openMobileFilter()}),e.qSk(),e.j41(50,"svg",26),e.nrm(51,"circle",27)(52,"path",28)(53,"circle",29)(54,"path",30),e.k0s()()(),e.DNE(55,Re,3,3,"div",31),e.k0s(),e.joV(),e.j41(56,"div"),e.DNE(57,Mt,1,0,"ng-container",32),e.k0s()(),e.DNE(58,At,2,1,"div",33),e.j41(59,"div",34),e.DNE(60,Et,7,4,"div",35),e.j41(61,"div",36)(62,"div",37)(63,"div",38),e.bIt("click",function(){return ye.setMobileFilter(ye.galleryService.QUERY_PARAMS_CATEGORY,"all")}),e.qSk(),e.j41(64,"svg",16),e.nrm(65,"circle",39)(66,"circle",40),e.k0s(),e.EFF(67),e.nI1(68,"translate"),e.k0s(),e.DNE(69,It,5,5,"div",41),e.joV(),e.j41(70,"div",42),e.bIt("click",function(){return ye.setMobileFilter(ye.galleryService.QUERY_PARAMS_MODELS)}),e.EFF(71),e.nI1(72,"translate"),e.k0s()(),e.DNE(73,bt,8,10,"div",43),e.DNE(74,st,1,0,"div",44),e.j41(75,"div",45)(76,"div",46),e.bIt("click",function(){return ye.setMobileFilter(ye.galleryService.QUERY_PARAMS_IS_AWARD)}),e.qSk(),e.j41(77,"svg",16),e.nrm(78,"path",17),e.k0s(),e.EFF(79),e.nI1(80,"translate"),e.k0s(),e.joV(),e.j41(81,"div",46),e.bIt("click",function(){return ye.setMobileFilter(ye.galleryService.QUERY_PARAMS_IS_MOUNTAIN)}),e.qSk(),e.j41(82,"svg",16),e.nrm(83,"path",18)(84,"path",47),e.k0s(),e.EFF(85),e.nI1(86,"translate"),e.k0s()()(),e.joV(),e.j41(87,"div",48)(88,"button",25),e.bIt("click",function(){return ye.applyMobileFilter()}),e.EFF(89),e.nI1(90,"translate"),e.k0s()()(),e.DNE(91,fe,8,3,"ng-template",null,49,e.C5r)),2&Ie){const Ye=e.sdS(7),Oe=e.sdS(92);e.R7$(4),e.SpI(" ",ye.categoryFilterText," "),e.R7$(1),e.Y8G("iconPath","/ng-assets/images/arrows/arrow-down.svg"),e.R7$(3),e.Y8G("appHoverReset",Ye),e.R7$(1),e.SpI(" ",e.bMT(10,50,"galleries.filters.all")," "),e.R7$(2),e.Y8G("ngForOf",ye.categories),e.R7$(2),e.Y8G("state",ye.withModelsFilter()),e.R7$(2),e.JRh(e.bMT(16,52,"galleries.filters.models")),e.R7$(2),e.AVh("switch-no-auth",!(null!=ye.userData&&ye.userData.user)),e.R7$(1),e.AVh("active",ye.filters[ye.galleryService.QUERY_PARAMS_BOOKMARKS]),e.R7$(2),e.SpI(" ",e.bMT(21,54,"galleries.filters.favorites")," "),e.R7$(2),e.AVh("active",ye.filters[ye.galleryService.QUERY_PARAMS_SUBSCRIBED]),e.R7$(1),e.SpI(" ",e.bMT(24,56,"galleries.filters.following")," "),e.R7$(3),e.AVh("active",ye.filters[ye.galleryService.QUERY_PARAMS_IS_AWARD]),e.Y8G("appTooltip",e.bMT(27,58,"galleries.filters.awardTooltip")),e.R7$(4),e.SpI(" ",e.bMT(31,60,"galleries.filters.award")," "),e.R7$(2),e.AVh("active",ye.filters[ye.galleryService.QUERY_PARAMS_IS_MOUNTAIN]),e.Y8G("appTooltip",e.bMT(33,62,"galleries.filters.mountainTooltip")),e.R7$(5),e.SpI(" ",e.bMT(38,64,"galleries.filters.hill-king")," "),e.R7$(4),e.SpI(" ",ye.orderText," "),e.R7$(1),e.Y8G("iconPath","/ng-assets/images/arrows/arrow-down.svg"),e.R7$(3),e.Y8G("ngForOf",ye.order),e.R7$(10),e.Y8G("ngIf",ye.displayChips),e.R7$(2),e.Y8G("ngTemplateOutlet",Oe),e.R7$(1),e.Y8G("ngIf",ye.displayChips),e.R7$(1),e.AVh("mobile-opened",ye.mobileFilter),e.R7$(1),e.Y8G("ngIf",ye.mobileFilter),e.R7$(5),e.AVh("selected",!ye.mobileCategoryFilter),e.R7$(1),e.AVh("display-none",ye.mobileCategoryFilter),e.R7$(1),e.SpI(" ",e.bMT(68,66,"galleries.filters.all")," "),e.R7$(2),e.Y8G("ngForOf",ye.categories),e.R7$(1),e.AVh("active",ye.mobileFilters[ye.galleryService.QUERY_PARAMS_MODELS]),e.R7$(1),e.SpI(" ",e.bMT(72,68,"galleries.filters.models")," "),e.R7$(2),e.Y8G("ngIf",ye.authorized),e.R7$(1),e.Y8G("ngIf",null==ye.userData?null:ye.userData.user),e.R7$(2),e.AVh("active",ye.mobileFilters[ye.galleryService.QUERY_PARAMS_IS_AWARD]),e.R7$(3),e.SpI(" ",e.bMT(80,70,"galleries.filters.award")," "),e.R7$(2),e.AVh("active",ye.mobileFilters[ye.galleryService.QUERY_PARAMS_IS_MOUNTAIN]),e.R7$(4),e.SpI(" ",e.bMT(86,72,"galleries.filters.hill-king")," "),e.R7$(4),e.SpI(" ",e.bMT(90,74,ye.mobileAp
17plyAvailable?"galleries.filters.mobileApply":"galleries.filters.mobileClose")," ")}},dependencies:[J.D,ue.d,N.k,te.S,z.Sq,z.bT,z.T3,H.X1,H.qT,H.xH,H.y7,H.wz,H.BC,H.cb,H.j4,H.JD,ie.r],styles:['@charset "UTF-8";.filters[_ngcontent-%COMP%]{display:flex;justify-content:space-between}@media (max-width: 991.98px){.filters[_ngcontent-%COMP%]{display:none}}.filters[_ngcontent-%COMP%]   .dropdown.category-trigger[_ngcontent-%COMP%]{position:relative;display:inline-flex}.filters[_ngcontent-%COMP%]   .dropdown.category-trigger[_ngcontent-%COMP%]:after{content:"";position:absolute;left:0;width:100%;height:8px;top:100%}.filters[_ngcontent-%COMP%]   .dropdown.category-trigger[_ngcontent-%COMP%]   .trigger[_ngcontent-%COMP%]{border:none;outline:none;cursor:pointer;-webkit-user-select:none;user-select:none}.filters[_ngcontent-%COMP%]   .dropdown.category-trigger[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]{display:inline-grid;height:-moz-fit-content;height:fit-content;width:max-content;gap:2px;left:0;transform-origin:top center;transform:translateY(-12px) scale(.92);top:calc(100% + 8px);z-index:-1;visibility:hidden;opacity:0;padding:8px;background:#ffffff;position:absolute;box-shadow:0 0 16px #6c92a966;border-radius:12px}.filters[_ngcontent-%COMP%]   .dropdown.category-trigger[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.filters[_ngcontent-%COMP%]   .dropdown.category-trigger[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   button.item[_ngcontent-%COMP%]{text-align:left;display:inline-grid;width:100%;height:-moz-fit-content;height:fit-content;margin:0;outline:none;border:none;background-color:#fff;padding:8px 12px;border-radius:8px;color:#000;font-weight:500;font-size:16px;line-height:20px}@media (hover: hover) and (pointer: fine){.filters[_ngcontent-%COMP%]   .dropdown.category-trigger[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   button.item[_ngcontent-%COMP%]:not(.active):not(.disabled):not(:active):not(:disabled):hover{background-color:var(--n-100);color:#000;transition:.2s ease-out;text-decoration:none}}.filters[_ngcontent-%COMP%]   .dropdown.category-trigger[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   button.item.active[_ngcontent-%COMP%], .filters[_ngcontent-%COMP%]   .dropdown.category-trigger[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   button.item[_ngcontent-%COMP%]:active{background-color:var(--blue-200);color:#000;text-decoration:none}@media (hover: hover) and (pointer: fine){.filters[_ngcontent-%COMP%]   .dropdown.category-trigger[_ngcontent-%COMP%]:hover   .menu[_ngcontent-%COMP%]{z-index:100;opacity:1;visibility:visible;transition:opacity .15s ease-in-out .22s,visibility 0s linear .22s,transform .22s cubic-bezier(.34,1.35,.64,1) .22s;transform:translateY(0) scale(1)}}@media (hover: hover) and (pointer: fine){.filters[_ngcontent-%COMP%]   .dropdown.category-trigger[_ngcontent-%COMP%]:hover   .trigger[_ngcontent-%COMP%]{background-color:#e7e7ee;transition:background-color .2s ease-out}}.filters[_ngcontent-%COMP%]   .dropdown.category-trigger[_ngcontent-%COMP%]   .trigger[_ngcontent-%COMP%]{font-size:16px;line-height:20px;font-weight:500;display:inline-flex;color:#000;gap:8px;height:36px;white-space:nowrap;align-items:center;min-width:144px;justify-content:space-between;background:#F4F4F4;padding:8px 16px;border-radius:4px}.filters[_ngcontent-%COMP%]   .dropdown.category-trigger[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]{min-width:144px}.filters[_ngcontent-%COMP%]   .dropdown.order[_ngcontent-%COMP%]{position:relative;display:inline-flex;justify-content:flex-end}.filters[_ngcontent-%COMP%]   .dropdown.order[_ngcontent-%COMP%]:after{content:"";position:absolute;left:0;width:100%;height:8px;top:100%}.filters[_ngcontent-%COMP%]   .dropdown.order[_ngcontent-%COMP%]   .trigger[_ngcontent-%COMP%]{border:none;outline:none;cursor:pointer;-webkit-user-select:none;user-select:none}.filters[_ngcontent-%COMP%]   .dropdown.order[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]{display:inline-grid;height:-moz-fit-content;height:fit-content;width:max-content;gap:2px;right:0;transform-origin:top center;transform:translateY(-12px) scale(.92);top:calc(100% + 8px);z-index:-1;visibility:hidden;opacity:0;padding:8px;background:#ffffff;position:absolute;box-shadow:0 0 16px #6c92a966;border-radius:12px}.filters[_ngcontent-%COMP%]   .dropdown.order[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.filters[_ngcontent-%COMP%]   .dropdown.order[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   button.item[_ngcontent-%COMP%]{text-align:left;display:inline-grid;width:100%;height:-moz-fit-content;height:fit-content;margin:0;outline:none;border:none;background-color:#fff;padding:8px 12px;border-radius:8px;color:#000;font-weight:500;font-size:16px;line-height:20px}@media (hover: hover) and (pointer: fine){.filters[_ngcontent-%COMP%]   .dropdown.order[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   button.item[_ngcontent-%COMP%]:not(.active):not(.disabled):not(:active):not(:disabled):hover{background-color:var(--n-100);color:#000;transition:.2s ease-out;text-decoration:none}}.filters[_ngcontent-%COMP%]   .dropdown.order[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   button.item.active[_ngcontent-%COMP%], .filters[_ngcontent-%COMP%]   .dropdown.order[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   button.item[_ngcontent-%COMP%]:active{background-color:var(--blue-200);color:#000;text-decoration:none}@media (hover: hover) and (pointer: fine){.filters[_ngcontent-%COMP%]   .dropdown.order[_ngcontent-%COMP%]:hover   .menu[_ngcontent-%COMP%]{z-index:100;opacity:1;visibility:visible;transition:opacity .15s ease-in-out .22s,visibility 0s linear .22s,transform .22s cubic-bezier(.34,1.35,.64,1) .22s;transform:translateY(0) scale(1)}}.filters[_ngcontent-%COMP%]   .dropdown.order[_ngcontent-%COMP%]   .trigger[_ngcontent-%COMP%]{font-size:16px;line-height:20px;font-weight:500;display:inline-flex;color:#000;gap:8px;height:36px;white-space:nowrap;align-items:center;background:white}.filters-mobile[_ngcontent-%COMP%]{display:none}@media (max-width: 991.98px){.filters-mobile[_ngcontent-%COMP%]{display:flex}}.filters-mobile[_ngcontent-%COMP%]   .show-mobile-filter[_ngcontent-%COMP%]{display:inline-flex}@media (min-width: 992px){.filters-mobile[_ngcontent-%COMP%]   .show-mobile-filter[_ngcontent-%COMP%]{display:none}}.filters-mobile[_ngcontent-%COMP%]   .show-mobile-filter[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;font-weight:500;line-height:20px;gap:9px;color:#000;outline:none;border:none;border-radius:4px;background-color:inherit;padding:9px 9px 9px 4px}.filters-mobile[_ngcontent-%COMP%]   .show-mobile-filter[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover, .filters-mobile[_ngcontent-%COMP%]   .show-mobile-filter[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active{background-color:#deeff9;color:#023d67}.filter-group[_ngcontent-%COMP%]{color:#000;display:flex;gap:16px;align-items:center}@media (min-width: 992px) and (max-width: 1199.98px){.filter-group[_ngcontent-%COMP%]{gap:2px}.filter-group.categories[_ngcontent-%COMP%]{gap:8px}}.filter-group.switch[_ngcontent-%COMP%]{gap:4px}.filter-group.switch-no-auth[_ngcontent-%COMP%]{min-width:215px}.galleries-filter-button-mobile[_ngcontent-%COMP%]{display:none;position:relative}@media (max-width: 991.98px){.galleries-filter-button-mobile[_ngcontent-%COMP%]{display:block}}.galleries-filter-button[_ngcontent-%COMP%]{position:relative;background:#F4F4F4;white-space:nowrap;padding:8px 16px;font-size:16px;font-weight:500;line-height:20px;border-radius:4px;display:flex;gap:6px;align-items:center}.galleries-filter-button.pl-12[_ngcontent-%COMP%]{padding:8px 16px 8px 12px}.galleries-filter-button.active[_ngcontent-%COMP%]{background:var(--blue-200);color:#023d67}.galleries-filter-button.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{fill:#023d67}.galleries-filter-button[_ngcontent-%COMP%]:hover{cursor:pointer}.galleries-filter-button[_ngcontent-%COMP%]:hover:not(.active){background:#E7E7EE;color:#000}.mobile-menu-block[_ngcontent-%COMP%]{overflow:auto;padding:46px 32px}.mobile-menu-block[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]{padding:8px;border:1px #D0D0D0 solid;border-radius:8px}.mobile-menu-block[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{padding:12px 24px;border-bottom:1px #EDEDF2 solid;
17display:flex;align-content:center;gap:12px;color:#000}.mobile-menu-block[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .selected[_ngcontent-%COMP%]{stroke:#4182aa;fill:#e3f6fc}.mobile-menu-block[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]{display:flex;gap:24px;align-self:stretch;margin:24px 0 0}.mobile-menu-block[_ngcontent-%COMP%]   .menu-line[_ngcontent-%COMP%]{height:1px;width:100%;background:#EDEDF2;margin:24px 0}.mobile-filter-button[_ngcontent-%COMP%]{display:flex;gap:6px;justify-content:center;align-items:center;border-radius:4px;padding:12px 16px;background:#F4F4F4;width:100%;font-size:16px;font-weight:500;line-height:20px;color:#000}.mobile-filter-button.active[_ngcontent-%COMP%], .mobile-filter-button[_ngcontent-%COMP%]:active{background:#C2E7FF;color:#023d67}.mobile-filter-button.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%], .mobile-filter-button[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{fill:#023d67}.mobile-filter-button.models[_ngcontent-%COMP%]{margin-top:24px}.chips-container[_ngcontent-%COMP%]{display:none;-moz-column-gap:8px;column-gap:8px;margin-top:24px}@media (max-width: 991.98px){.chips-container[_ngcontent-%COMP%]{display:flex}}@media (min-width: 992px){.chips-container[_ngcontent-%COMP%]{flex-wrap:wrap;row-gap:8px}}@media (max-width: 991.98px){.chips-container[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content}}.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-flex;align-items:center;background-color:#4182aa;border-radius:4px;cursor:pointer}@media (min-width: 992px){.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:24px;padding:0 8px}}@media (max-width: 991.98px){.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:32px;padding:0 10px}}.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   .chip-text[_ngcontent-%COMP%]{color:#fff;white-space:nowrap;fill:#0000}@media (min-width: 992px){.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   .chip-text[_ngcontent-%COMP%]{font-size:14px;line-height:16px;font-weight:500}}@media (max-width: 991.98px){.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   .chip-text[_ngcontent-%COMP%]{font-size:16px;line-height:20px}}.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   .remove-chip[_ngcontent-%COMP%]{height:inherit;border-radius:inherit;margin-left:8px;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}@media (hover: hover) and (pointer: fine){.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.active):not(.disabled):not(:active):not(:disabled):hover{background-color:#125884;transition:background-color .25s ease-out}}.chips-container[_ngcontent-%COMP%] > div.active[_ngcontent-%COMP%], .chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:active{background-color:#125884;transition:background-color .25s ease-out}.left-sidebar[_ngcontent-%COMP%]{display:grid;grid-template-rows:min-content 1fr min-content;position:fixed;transition:.25s ease-out;left:-610px;z-index:-1;top:0;bottom:0;overflow:hidden;max-width:540px;width:100%;background-color:#fff}.left-sidebar.mobile-opened[_ngcontent-%COMP%]{transition:left .25s ease-out;left:0;z-index:125}.left-sidebar.mobile-opened[_ngcontent-%COMP%]   .filter-header[_ngcontent-%COMP%]{background:#F4F4F4;height:52px;display:flex;align-items:center;justify-content:center;position:relative}.left-sidebar.mobile-opened[_ngcontent-%COMP%]   .filter-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border:0;outline:0;color:#5e5e5e;font-size:14px;line-height:16px;background-color:inherit;padding:4px 0}@media (max-width: 991.98px){.left-sidebar.mobile-opened[_ngcontent-%COMP%]   .filter-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{font-size:16px;line-height:20px;font-weight:500;color:#4182aa}}.left-sidebar.mobile-opened[_ngcontent-%COMP%]   .filter-header[_ngcontent-%COMP%]   button[disabled][_ngcontent-%COMP%]{color:#d0d0d0}.left-sidebar.mobile-opened[_ngcontent-%COMP%]   .filter-header[_ngcontent-%COMP%]   .close-filter[_ngcontent-%COMP%]{position:absolute;top:4px;right:12px;height:44px;width:44px}.left-sidebar.mobile-opened[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]{overflow-y:auto;padding-bottom:32px}@media (min-width: 576px){.left-sidebar.mobile-opened[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]{padding-top:52px}}@media (max-width: 575.98px){.left-sidebar.mobile-opened[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]{padding-top:40px}}.left-sidebar.mobile-opened[_ngcontent-%COMP%]   .filter-footer[_ngcontent-%COMP%]{height:72px;display:grid;place-items:center;background-color:#fff;box-shadow:0 0 16px #6c92a966}.left-sidebar.mobile-opened[_ngcontent-%COMP%]   .filter-footer[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border:0;outline:0;padding:0;width:262px;height:48px;text-align:center;line-height:48px;font-weight:500;font-size:20px;background-color:#4182aa;border-radius:100px;color:#efeff0}.left-sidebar.mobile-opened[_ngcontent-%COMP%]   .filter-footer[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover, .left-sidebar.mobile-opened[_ngcontent-%COMP%]   .filter-footer[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active{background-color:#125884}.left-sidebar[_ngcontent-%COMP%]   .display-none[_ngcontent-%COMP%]{display:none}.checkcontainer[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-weight:500}.checkcontainer[_ngcontent-%COMP%]   span.label[_ngcontent-%COMP%]{color:#000}.clear-mobile-btn[_ngcontent-%COMP%]{outline:none;border:none;padding:12px 4px;font-weight:500;line-height:20px;color:#4182aa;border-radius:4px;background-color:inherit}@media (min-width: 576px) and (max-width: 991.98px){.clear-mobile-btn[_ngcontent-%COMP%]{padding:12px 8px}}.clear-mobile-btn[_ngcontent-%COMP%]:active{background-color:#deeff9;color:#023d67}@media (hover: hover) and (pointer: fine){.clear-mobile-btn[_ngcontent-%COMP%]:hover{background-color:#deeff9;color:#023d67}}@media (min-width: 992px){.clear-mobile-btn[_ngcontent-%COMP%]{display:none}}.mobile-top[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%}@media (min-width: 992px){.mobile-top[_ngcontent-%COMP%]{display:none}}.select-sort[_ngcontent-%COMP%]{color:#000;cursor:pointer;display:inline-flex;align-items:center;position:relative}.select-sort.mobile[_ngcontent-%COMP%]{font-weight:500;position:relative;display:inline-flex;align-items:center;gap:8px;padding:11px 8px;border-radius:4px}.select-sort.mobile[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{position:absolute;inset:0;opacity:0}
17.select-sort.mobile[_ngcontent-%COMP%]:hover, .select-sort.mobile[_ngcontent-%COMP%]:active{background-color:#deeff9;color:#023d67}.select-sort[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-flex;gap:8px}.bookmark-heart[_ngcontent-%COMP%]{display:flex;gap:8px;align-items:center}.bookmark-heart[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-flex;height:14px;width:16px;background-image:linear-gradient(to bottom,#FF2D55,#FF829A);clip-path:path("M0 3.48285C0 -0.0949697 5.66667 -1.37633 8 1.84802C10.3333 -1.37633 16 -0.0949697 16 3.48285C16 7.48458 10.9474 11.6161 7.99999 14C4.63158 11.4759 0 7.06066 0 3.48285Z")}.with-models[_ngcontent-%COMP%]{color:#000;font-weight:500}']}),de})();var Ue=a(114),Fe=a(9521);function nt(Ae,de){1&Ae&&(e.j41(0,"div",21)(1,"a",22),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&Ae&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"galleries.global.admin-menu")," "))}const _t=function(Ae){return{"@@total":Ae}},Ge=function(Ae){return[Ae]};function Ct(Ae,de){if(1&Ae&&(e.EFF(0),e.nI1(1,"translate")),2&Ae){const Te=e.XpG(2);e.JRh(e.i5U(1,1,"galleries.totalPlural.one",e.eq3(6,Ge,e.eq3(4,_t,Te.totalValue))))}}function ze(Ae,de){if(1&Ae&&(e.EFF(0),e.nI1(1,"translate")),2&Ae){const Te=e.XpG(2);e.JRh(e.i5U(1,1,"galleries.totalPlural.few",e.eq3(6,Ge,e.eq3(4,_t,Te.totalValue))))}}function mt(Ae,de){if(1&Ae&&(e.EFF(0),e.nI1(1,"translate")),2&Ae){const Te=e.XpG(2);e.JRh(e.i5U(1,1,"galleries.totalPlural.many",e.eq3(6,Ge,e.eq3(4,_t,Te.totalValue))))}}function Ot(Ae,de){if(1&Ae&&(e.EFF(0),e.nI1(1,"translate")),2&Ae){const Te=e.XpG(2);e.JRh(e.i5U(1,1,"galleries.totalPlural.other",e.eq3(6,Ge,e.eq3(4,_t,Te.totalValue))))}}function Qe(Ae,de){if(1&Ae&&(e.j41(0,"div",23),e.DNE(1,Ct,2,8,"ng-template",24),e.DNE(2,ze,2,8,"ng-template",25),e.DNE(3,mt,2,8,"ng-template",26),e.DNE(4,Ot,2,8,"ng-template",27),e.k0s()),2&Ae){const Te=e.XpG();e.Y8G("ngPlural",Te.totalValue)}}function yt(Ae,de){if(1&Ae&&e.nrm(0,"app-models-paginator",28),2&Ae){const Te=e.XpG();e.Y8G("itemsPerPage",Te.perPage)("initPaginator",Te.initPaginator)}}function ut(Ae,de){1&Ae&&(e.j41(0,"div",30)(1,"div",9),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",31),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"div",32),e.nrm(8,"img",33),e.nI1(9,"translate"),e.k0s()()),2&Ae&&(e.R7$(2),e.JRh(e.bMT(3,3,"galleries.global.noResultTitle")),e.R7$(3),e.JRh(e.bMT(6,5,"galleries.global.noResultText")),e.R7$(3),e.FS9("alt",e.bMT(9,7,"galleries.global.noResultImgAlt")))}function ht(Ae,de){1&Ae&&(e.j41(0,"div",30)(1,"div",9),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",32),e.nrm(5,"img",34),e.nI1(6,"translate"),e.k0s()()),2&Ae&&(e.R7$(2),e.JRh(e.bMT(3,2,"galleries.global.noResultTitleFavorites")),e.R7$(3),e.FS9("alt",e.bMT(6,4,"galleries.global.noResultImgAlt")))}function me(Ae,de){1&Ae&&(e.j41(0,"div",30)(1,"div",9),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div",32),e.nrm(5,"img",33),e.nI1(6,"translate"),e.k0s()()),2&Ae&&(e.R7$(2),e.JRh(e.bMT(3,2,"galleries.global.noResultTitleFollowing")),e.R7$(3),e.FS9("alt",e.bMT(6,4,"galleries.global.noResultImgAlt")))}function et(Ae,de){if(1&Ae&&(e.j41(0,"div"),e.DNE(1,ut,10,9,"div",29),e.DNE(2,ht,7,6,"div",29),e.DNE(3,me,7,6,"div",29),e.k0s()),2&Ae){const Te=e.XpG();e.R7$(1),e.Y8G("ngIf",!Te.totalValue&&!Te.getParams()[Te.galleryService.QUERY_PARAMS_BOOKMARKS]&&!Te.getParams()[Te.galleryService.QUERY_PARAMS_SUBSCRIBED]),e.R7$(1),e.Y8G("ngIf",!Te.totalValue&&Te.getParams()[Te.galleryService.QUERY_PARAMS_BOOKMARKS]),e.R7$(1),e.Y8G("ngIf",!Te.totalValue&&Te.getParams()[Te.galleryService.QUERY_PARAMS_SUBSCRIBED])}}let we=(()=>{var Ae;class de{constructor(){this.authService=(0,e.WQX)(I.u),this.backdropComponentService=(0,e.WQX)(V.v),this.bannersService=(0,e.WQX)($.b),this.galleryService=(0,e.WQX)(d.A),this.route=(0,e.WQX)(p.nX),this.router=(0,e.WQX)(p.Ix),this.searchService=(0,e.WQX)(W.Sc),this.seoHandler=(0,e.WQX)(B.T),this.subscribeHandlerService=(0,e.WQX)(X.e),this.sharedGlobalDataService=(0,e.WQX)(s.o),this.translate=(0,e.WQX)(J.D),this.locale=(0,e.WQX)(e.xe9),this.baseHref=(0,e.WQX)(z.kB),this.navigationEndStream=(0,e.WQX)(ae.NC),this.PAGE_LIMIT=40,this.orderMap={[this.galleryService.ORDER_RELEVANCE]:"relevance",[this.galleryService.ORDER_VOTES_COUNT]:"votesCount",[this.galleryService.ORDER_VIEWS_COUNT]:"viewsCount",[this.galleryService.ORDER_COMMENTS_COUNT]:"commentsCount",[this.galleryService.ORDER_TIMESTAMP_CREATED]:"timestampCreated"},this.unsubscriber=new x.B,this.categories=[],this.galleries=new Array(this.PAGE_LIMIT),this.initPaginator=new O.t(0),this.bannersByType={[$.x.HORIZONTAL_BANNER_SINGLE]:[]},this.loadingGalleries=new E.I,this.bannerType=$.x,this.isFiltered=!1,this.searchPlaceholder={en:"\u041d\u0430\u0439\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u0432 \u0433\u0430\u043b\u0435\u0440\u0435\u0435",ru:"\u041d\u0430\u0439\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u0432 \u0433\u0430\u043b\u0435\u0440\u0435\u0435",es:"\u041d\u0430\u0439\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u0432 \u0433\u0430\u043b\u0435\u0440\u0435\u0435"},this.galleriesIsLoading=!1,this.categoryText=null,this.queryFilter=null,this.routeUrl=G.iw,this.language={titles:{gallery:{ru:"\u0413\u0430\u043b\u0435\u0440\u0435\u044f",en:"\u0413\u0430\u043b\u0435\u0440\u0435\u044f",es:"\u0413\u0430\u043b\u0435\u0440\u0435\u044f"},hill:{ru:"\u0413\u043e\u043b\u043e\u0441\u0443\u0439\u0442\u0435 \u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u044b 3D \u0433\u043e\u0440\u044b",en:"\u0413\u043e\u043b\u043e\u0441\u0443\u0439\u0442\u0435 \u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u044b 3D \u0433\u043e\u0440\u044b",es:"\u0413\u043e\u043b\u043e\u0441\u0443\u0439\u0442\u0435 \u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u044b 3D \u0433\u043e\u0440\u044b"}}}}ngOnInit(){this.searchService.setSearchPlaceholder(this.searchPlaceholder),this.subscribeHandlerService.subjectSubscribe(this.sharedGlobalDataService.userData,Ie=>{this.userData=Ie},this.unsubscriber),this.subscribeHandlerService.subjectSubscribe(this.navigationEndStream,()=>{this.getGalleries()},this.unsubscriber),this.getGalleries(),this.getBannersByType()}getGalleries(){this.galleries=new Array(this.galleries?this.galleries.length:this.PAGE_LIMIT);const Ie=this.getParams(),ye=this.getCategoryFilter();let Ye="";Object.keys(this.orderMap).includes(Ie[this.galleryService.QUERY_PARAMS_ORDER])&&(Ye=this.orderMap[Ie[this.galleryService.QUERY_PARAMS_ORDER]]),this.queryFilter=Ie[this.galleryService.QUERY_PARAMS_QUERY],this.subscribeHandlerService.takeOne(this.galleryService.getGalleries(Ie[this.galleryService.QUERY_PARAMS_PAGE]?1*Ie[this.galleryService.QUERY_PARAMS_PAGE]:1,!!Ie[this.galleryService.QUERY_PARAMS_BOOKMARKS],!!Ie[this.galleryService.QUERY_PARAMS_SUBSCRIBED],!!Ie[this.galleryService.QUERY_PARAMS_MODELS],!!Ie[this.galleryService.QUERY_PARAMS_IS_AWARD],!!Ie[this.galleryService.QUERY_PARAMS_IS_MOUNTAIN],ye,this.queryFilter?this.queryFilter:"",Ye,Ie[this.galleryService.QUERY_PARAMS_TAG]?Ie[this.galleryService.QUERY_PARAMS_TAG]:""),Oe=>{Oe.success&&(this.galleries=Oe.data.items,this.perPage=Oe.data.per_page?Oe.data.per_page:40,this.totalValue=Oe.data.total_value,this.initPaginator.next(Oe.data.total_value),this.galleriesIsLoading=!0),this.setIsFiltered(),this.setMetaTags()},this.loadingGalleries)}
17getParams(){return this.route.snapshot.queryParams}setIsFiltered(){const Ie=Object.keys(this.getParams()).filter(ye=>this.galleryService.QUERY_PARAMS_PAGE!==ye&&this.galleryService.QUERY_PARAMS_ORDER!==ye);this.isFiltered=!(!Ie.length&&!this.route.snapshot.firstChild?.params?.category)}getBannersByType(){this.subscribeHandlerService.takeOne(this.bannersService.getBanners(location.pathname,{bannersByType:[{type:$.x.HORIZONTAL_BANNER_SINGLE,count:1}]}),Ie=>this.bannersByType=Ie.data??this.bannersByType)}displayAdminMenu(){return this.authService.checkUserRole("ROLE_MODERATOR_USERS")}setMetaTags(){if(!this.categories.length||!this.galleriesIsLoading)return;const Ie=this.getCategoryFilter(),ye=this.getCategoryTitleBySlug(this.getCategoryFilter()),Ye=Ie?this.translate.transform("galleries.seo.title-category",[{"@@category":ye}]):this.translate.transform("galleries.seo.title"),Oe=Ie?this.translate.transform("galleries.seo.description-category",[{"@@category":ye}]):this.translate.transform("galleries.seo.description"),Le={"@type":"CollectionPage","@context":"https://schema.org",name:Ye,url:location.origin+this.baseHref+G.iw.galleries+(Ie?"/cat/"+Ie:""),description:Oe,inLanguage:"ru-RU"},ee=Array.isArray(this.galleries)?Object.assign(Le,{mainEntity:{"@type":"ItemList",numberOfItems:this.galleries.length,itemListElement:this.seoHandler.handleSchemaGalleries(this.galleries)}}):Le;this.seoHandler.setSchema(ee);const xe=Ie?this.translate.transform("galleries.seo.og-image-alt-category",[{"@@category":ye}]):this.translate.transform("galleries.seo.og-image-alt"),Ze=`${location.origin}/ng-assets/seo/galleries/main-ru.jpeg`,Ke=[{name:"twitter:image",content:Ze},{name:"twitter:card",content:"summary_large_image"},{property:"og:type",content:"website"},{property:"og:title",content:Ye},{property:"og:description",content:Oe},{property:"og:image",content:Ze},{property:"og:image:alt",content:xe},{property:"og:url",content:location.origin+this.baseHref+G.iw.galleries+(Ie?"/cat/"+Ie:"")},{property:"og:site_name",content:"3ddd"}];this.seoHandler.setMetaTags(Ye,Oe,Ke)}getCategoryFilter(){return this.route.snapshot.firstChild?.params?.category}getCategoryTitleBySlug(Ie){const ye=this.categories.find(Ye=>Ye.slug===Ie);return ye?ye.title:null}setCategories(Ie){this.categories=Array.isArray(Ie)?Ie:[],this.setMetaTags()}setCategoryText(Ie){Promise.resolve().then(()=>this.categoryText=Ie.slug?Ie.title:this.language.titles.gallery[this.locale])}ngOnDestroy(){this.seoHandler.resetMetaTags(),this.searchService.resetSearchPlaceholder(),this.unsubscriber.next()}}return(Ae=de).\u0275fac=function(Ie){return new(Ie||Ae)},Ae.\u0275cmp=e.VBU({type:Ae,selectors:[["app-galleries"]],standalone:!0,features:[e.aNF],decls:27,vars:12,consts:[[1,"top-mobile-content"],[1,"d-md-none"],[1,"banner-wrapper",3,"bannerImage"],[1,"header"],[1,"gallery-title","desktop"],[1,"hill-link",3,"routerLink"],["width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg",1,"crown"],["d","M20 2.5C19.2883 6.58176 18.2101 10.9178 17.5 15C12.4789 15 14.3961 14.9928 9.375 14.9928L2.5 15C1.78371 10.9444 0.716292 6.56283 0 2.5C0 2.57952 9.18691e-05 2.38433 0 2.5C2.05056 4.41575 4.2205 6.21648 6.25 8.11777C7.54916 5.8261 8.67977 3.55613 9.99298 1.25C11.2992 3.55613 12.4438 5.8261 13.75 8.125C15.7795 6.23094 17.9284 4.43743 20 2.5Z","fill","white"],["d","M17.1875 16.25H2.8125L3.125 18.75H16.875L17.1875 16.25Z","fill","white"],[1,"title"],["xmlns","http://www.w3.org/2000/svg","width","20","height","20","viewBox","0 0 20 20","fill","none",1,"arrow"],["d","M11.293 15.7071C10.9024 16.0976 10.2694 16.0976 9.87891 15.7071C9.48838 15.3166 9.48838 14.6836 9.87891 14.293L13.1719 11.0001L4 11.0001C3.44772 11.0001 3 10.5524 3 10.0001C3 9.44779 3.44772 9.00008 4 9.00008L13.1719 9.00008L9.87891 5.70711C9.48838 5.31658 9.48838 4.68357 9.87891 4.29304C10.2694 3.9026 10.9025 3.90255 11.293 4.29304L17 10.0001L11.293 15.7071Z","fill","#744600"],[1,"gallery-title","mobile"],[1,"filters-panel"],[3,"userData","queryFilter","loadCategories","changeCategory"],["class","admin-menu-block",4,"ngIf"],[1,"total"],[3,"ngPlural",4,"ngIf"],[3,"galleries"],[3,"itemsPerPage","initPaginator",4,"ngIf"],[4,"ngIf"],[1,"admin-menu-block"],["href","/galleries/moderation","target","_blank",1,"admin-menu","admin-menu-desktop"],[3,"ngPlural"],["ngPluralCase","one"],["ngPluralCase","few"],["ngPluralCase","many"],["ngPluralCase","other"],[3,"itemsPerPage","initPaginator"],["class","desert",4,"ngIf"],[1,"desert"],[1,"text"],[1,"image"],["src","/ng-assets/images/desert.svg",3,"alt"],["src","/ng-assets/images/desertB.svg",3,"alt"]],template:function(Ie,ye){1&Ie&&(e.j41(0,"app-base-wide")(1,"section",0),e.nrm(2,"app-search",1),e.k0s(),e.nrm(3,"app-banner",2),e.j41(4,"div",3)(5,"div",4)(6,"h1"),e.EFF(7),e.k0s()(),e.j41(8,"a",5),e.qSk(),e.j41(9,"svg",6),e.nrm(10,"path",7)(11,"path",8),e.k0s(),e.joV(),e.j41(12,"div",9),e.EFF(13),e.k0s(),e.qSk(),e.j41(14,"svg",10),e.nrm(15,"path",11),e.k0s()()(),e.joV(),e.j41(16,"div",12)(17,"h1"),e.EFF(18),e.k0s()(),e.j41(19,"div",13)(20,"app-galleries-filters-panel",14),e.bIt("loadCategories",function(Oe){return ye.setCategories(Oe)})("changeCategory",function(Oe){return ye.setCategoryText(Oe)}),e.k0s()(),e.DNE(21,nt,4,3,"div",15),e.j41(22,"div",16),e.DNE(23,Qe,5,1,"div",17),e.k0s(),e.nrm(24,"app-gallery-list",18),e.DNE(25,yt,1,2,"app-models-paginator",19),e.DNE(26,et,4,3,"div",20),e.k0s()),2&Ie&&(e.R7$(3),e.Y8G("bannerImage",null!=ye.bannersByType&&null!=ye.bannersByType[ye.bannerType.HORIZONTAL_BANNER_SINGLE]&&ye.bannersByType[ye.bannerType.HORIZONTAL_BANNER_SINGLE].length?null==ye.bannersByType||null==ye.bannersByType[ye.bannerType.HORIZONTAL_BANNER_SINGLE]?null:ye.bannersByType[ye.bannerType.HORIZONTAL_BANNER_SINGLE][0]:void 0),e.R7$(4),e.JRh(ye.categoryText),e.R7$(1),e.Y8G("routerLink","/"+ye.routeUrl.hill),e.R7$(5),e.SpI(" ",ye.language.titles.hill[ye.locale]," "),e.R7$(5),e.JRh(ye.categoryText),e.R7$(2),e.Y8G("userData",ye.userData)("queryFilter",ye.queryFilter),e.R7$(1),e.Y8G("ngIf",ye.displayAdm
17inMenu()),e.R7$(2),e.Y8G("ngIf",ye.totalValue&&ye.isFiltered&&!ye.loadingGalleries.isLoading),e.R7$(1),e.Y8G("galleries",ye.galleries),e.R7$(1),e.Y8G("ngIf",ye.totalValue&&ye.perPage&&ye.totalValue>ye.perPage),e.R7$(1),e.Y8G("ngIf",!ye.loadingGalleries.isLoading))},dependencies:[w.C,U.S,Z.K,p.iI,p.Wk,le,z.MD,z.bT,z.IJ,z.WO,J.D,Ue.W,Fe.p],styles:["@media (max-width: 767.98px){.banner-wrapper[_ngcontent-%COMP%]{margin-top:20px}}@media (max-width: 575.98px){.banner-wrapper[_ngcontent-%COMP%]{margin-left:-12px;margin-right:-12px}}.filters-panel[_ngcontent-%COMP%]{margin:24px 0 16px}@media (max-width: 991.98px){.filters-panel[_ngcontent-%COMP%]{margin:24px 0}}@media (max-width: 767.98px){.filters-panel[_ngcontent-%COMP%]{margin:16px 0 24px}}.admin-menu-block[_ngcontent-%COMP%]{margin-bottom:16px;width:100%}.admin-menu[_ngcontent-%COMP%]{font-size:16px;font-weight:500;line-height:20px;background:#F4F4F4;color:#276e9b;display:block;text-align:center;border-radius:4px}.admin-menu[_ngcontent-%COMP%]:hover{text-decoration:none}.admin-menu.admin-menu-desktop[_ngcontent-%COMP%]{padding:8px 16px;right:0;top:26px}.admin-menu.admin-menu-desktop[_ngcontent-%COMP%]:hover{cursor:pointer;background:#E3F6FC;color:#023d67}.admin-menu.admin-menu-desktop[_ngcontent-%COMP%]:active{background:#C2E7FF;color:#023d67}.total[_ngcontent-%COMP%]{color:#b0b0b0;font-size:14px;font-weight:400;line-height:16px;margin-bottom:8px;min-height:18px}.desert[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:24px;margin-top:86px;justify-content:center}.desert[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{max-width:420px;text-align:center}.desert[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#000;font-weight:500;font-size:24px;line-height:36px}.desert[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{color:#757575;font-size:20px;line-height:30px}.desert[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{margin-top:24px}@media (max-width: 767.98px){[_nghost-%COMP%]{--global-margin-top: 0}[_nghost-%COMP%]     .notifier{margin-top:24px}}.header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;height:36px;margin-top:34px;width:100%}.header[_ngcontent-%COMP%]   .hill-link[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;display:flex;align-items:center;justify-content:center;padding:0 8px 0 25px;height:100%;border-radius:0 6px 6px 0;background:linear-gradient(270deg,#FFBD1F 61.36%,#FEA200 99.98%);color:#744600;font-size:16px;font-weight:700;line-height:32px;clip-path:polygon(0% 0%,100% 0%,100% 100%,0% 100%,11px 50%)}.header[_ngcontent-%COMP%]   .hill-link[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{padding:0 4px 0 10px}@media (hover: hover) and (pointer: fine){.header[_ngcontent-%COMP%]   .hill-link[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]:not(.active):not(.disabled):not(:active):not(:disabled):hover{background-color:linear-gradient(270deg,#FFBD1F 61.36%,#FEA200 99.98%);color:#1b1916;transition:.2s ease-out;text-decoration:none}}.header[_ngcontent-%COMP%]   .hill-link[_ngcontent-%COMP%]:hover   .arrow[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{fill:#1b1916}.header[_ngcontent-%COMP%]   .hill-link[_ngcontent-%COMP%]   .crown[_ngcontent-%COMP%]{margin-top:-4px}@media (max-width: 991.98px){.header[_ngcontent-%COMP%]   .hill-link[_ngcontent-%COMP%]{width:100%}}@media (max-width: 991.98px){.header[_ngcontent-%COMP%]{height:40px;margin-top:24px;flex-direction:column;align-items:flex-start;gap:36px}}.gallery-title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:24px;font-weight:700}.gallery-title.mobile[_ngcontent-%COMP%]{margin-top:34px;display:none}@media (max-width: 991.98px){.gallery-title[_ngcontent-%COMP%]{display:none}.gallery-title.mobile[_ngcontent-%COMP%]{display:block}}"]}),de})()},9738:(ct,ce,a)=>{a.d(ce,{f:()=>$});var e=a(7019),d=a(177),X=a(430),x=a(710),O=a(5697),V=a(1180);a(647);let $=(()=>{var E;class s{constructor(W){this.imageBaseUrl=W,this.usrAvatar="",this.userSlug="",this.userName="",this.route=x.iw,this.noAvatarPlaceholder=(0,e.WQX)(V.UP),this.inColumn=!1}ngOnInit(){this.usrAvatar=this.user.user_avatar?this.imageBaseUrl.baseUrl+O.oT.avatarProfileSmallWebp+this.user.user_avatar:this.noAvatarPlaceholder,this.userSlug=this.user.user_slug,this.userName=this.user.user_name}}return(E=s).\u0275fac=function(W){return new(W||E)(e.rXU(V.sT))},E.\u0275cmp=e.VBU({type:E,selectors:[["app-model-user-like-set"]],hostVars:2,hostBindings:function(W,G){2&W&&e.AVh("inColumn",G.inColumn)},inputs:{user:"user",inColumn:"inColumn"},standalone:!0,features:[e.aNF],decls:4,vars:5,consts:[[3,"title","routerLink"],["alt","",3,"src"]],template:function(W,G){1&W&&(e.j41(0,"a",0),e.nrm(1,"img",1),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&W&&(e.FS9("title",G.userName),e.FCK("routerLink","/",G.route.users,"/",G.userSlug,""),e.R7$(1),e.Y8G("src",G.usrAvatar,e.B4B),e.R7$(2),e.JRh(G.userName))},dependencies:[d.MD,X.iI,X.Wk],styles:["[_nghost-%COMP%]{width:100%;height:32px}[_nghost-%COMP%]   a[_ngcontent-%COMP%]{height:inherit;text-decoration:none;display:flex;gap:8px;align-items:center;border-radius:16px;padding-right:16px}@media (hover: hover) and (pointer: fine){[_nghost-%COMP%]   a[_ngcontent-%COMP%]:hover{background-color:#f7f7f7}}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:32px;width:32px;border-radius:50%;z-index:1}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:32px;height:32px;min-width:32px;z-index:1}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:16px;font-weight:500;line-height:20px;color:#4182aa;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:6px}@media (hover: hover) and (pointer: fine){[_nghost-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:hover{color:#125884}}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:active{color:#125884}.inColumn[_nghost-%COMP%]{height:52px}.inColumn[_nghost-%COMP%]   a[_ngcontent-%COMP%]{border-radius:28px;padding-right:16px}.inColumn[_nghost-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:52px;width:52px;border-radius:50%;z-index:1}.inColumn[_nghost-%COMP%]   a[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:52px;height:52px;min-width:52px;z-index:1}"]}),s})()},8737:(ct,ce,a)=>{a.d(ce,{d:()=>ye});var e=a(7019),d=a(1413),X=a(4412),x=a(8999),O=a(6354);function V(...Ye){const Oe=Ye.length;if(0===Oe)throw new Error("list of properties cannot be empty.");return(0,O.T)(Le=>{let ee=Le;for(let xe=0;xe<Oe;xe++){const Ze=ee?.[Ye[xe]];if(!(typeof Ze<"u"))return;ee=Ze}return ee})}
17var p=a(8207),$=a(8181),E=a(1180),s=a(647),I=a(1110),W=a(4871),G=a(177),B=a(174),J=a(685),z=a(3877),w=a(9969),U=a(6977),Z=a(5349),H=a(3432),j=a(430),F=a(5116);const ue=["catElement"];function ae(Ye,Oe){if(1&Ye){const Le=e.RV6();e.j41(0,"li",10,11),e.bIt("click",function(){const Ze=e.eBV(Le).$implicit,Ke=e.XpG().$implicit,Vt=e.XpG();return e.Njj(Vt.check(Ke.slug,Ze.slug))})("mouseenter",function(){e.eBV(Le);const xe=e.sdS(1),Ze=e.XpG(2);return e.Njj(Ze.propagateEvent(xe,!0))})("mouseleave",function(){e.eBV(Le);const xe=e.sdS(1),Ze=e.XpG(2);return e.Njj(Ze.propagateEvent(xe))}),e.j41(2,"div",12),e.EFF(3),e.nI1(4,"langConverter"),e.nrm(5,"input",13),e.j41(6,"span",14),e.qSk(),e.j41(7,"svg",15),e.nrm(8,"path",16),e.k0s()()()()}if(2&Ye){const Le=Oe.$implicit,ee=e.XpG(2);e.R7$(2),e.BMQ("for","cat-"+Le.id),e.R7$(1),e.SpI(" ",e.i5U(4,4,Le.title,Le.titleEn)," "),e.R7$(2),e.Y8G("id","cat-"+Le.id)("checked",ee.checked[Le.slug])}}function N(Ye,Oe){if(1&Ye){const Le=e.RV6();e.j41(0,"div",2)(1,"div",3,4),e.bIt("click",function(xe){const Ke=e.eBV(Le).$implicit,Vt=e.XpG();return Vt.collapse(Ke.slug,!0),e.Njj(Vt.fixTop(xe))}),e.EFF(3),e.nI1(4,"langConverter"),e.qSk(),e.j41(5,"svg",5),e.nrm(6,"path",6),e.k0s()(),e.joV(),e.j41(7,"div",7)(8,"ul",8),e.DNE(9,ae,9,7,"li",9),e.k0s()()()}if(2&Ye){const Le=Oe.$implicit,ee=e.XpG();e.R7$(1),e.BMQ("aria-expanded",ee.activeCat===Le.slug||!!ee.collapsed[Le.slug]),e.R7$(2),e.SpI(" ",e.i5U(4,4,Le.title,Le.titleEn)," "),e.R7$(4),e.Y8G("@collapse",ee.activeCat===Le.slug||!!ee.collapsed[Le.slug]),e.R7$(2),e.Y8G("ngForOf",Le.children)}}let ie=(()=>{var Ye;class Oe{constructor(ee,xe,Ze){this.sharedModelsDataService=ee,this.route=xe,this.subscribeHandlerService=Ze,this.unsubscriber=new d.B,this.subcat=[],this.checked=[],this.cats=[],this.allChecked=[],this.collapsed={},this.returnQuery=!1}collapse(ee,xe=!1){const Ze=this.collapsed[ee];this.collapsed={},this.collapsed[ee]=!0,this.collapsed[ee]=!Ze,xe&&this.activeCat===ee&&(this.collapsed[ee]=!1,this.activeCat=void 0)}fixTop(ee){if(typeof this.prevCatElem<"u"){const xe=this.prevCatElem.getBoundingClientRect().top;if(-1===Math.sign(xe)){const Ze=this.prevCatElem.parentNode.querySelector(".subcats").clientHeight,Ke=ee.target.getBoundingClientRect().top,Vt=Math.abs(xe)+Ke-Ze;window.scrollBy(0,-1*(Math.abs(xe)-Vt+28))}}this.prevCatElem=ee.target}check(ee,xe){const Ze=this.checked[xe];"undefined"!==this.activeCat&&this.activeCat!==ee&&(this.checked=[],this.collapsed[ee]=!0),this.activeCat=ee,this.checked[xe]=!Ze,this.getAllChecked(),this.sharedModelsDataService.setModelsJSON({cat:0===this.allChecked.length?null:this.activeCat,categories:this.allChecked,subcat:this.allChecked,page:null}),window.matchMedia("(min-width: 992px)").matches?this.sharedModelsDataService.setRefreshModelsList(!0,!0,!0):this.sharedModelsDataService.setRefreshModelsList(!0,!1,!0)}getAllChecked(){this.allChecked=[];for(const[ee,xe]of Object.entries(this.checked))!0===xe&&this.allChecked.push(ee)}propagateEvent(ee,xe=!1){xe?ee.querySelector(".checkcontainer").classList.add("hovered"):ee.querySelector(".checkcontainer").classList.remove("hovered")}getQueryParams(ee=!0){const xe=this.route.snapshot.queryParamMap.get("cat");if(this.subcat=this.route.snapshot.queryParamMap.getAll("subcat"),this.checked=[],this.subcat.forEach(Ze=>this.checked[Ze]=!0),xe){if(this.activeCat=xe,this.activeCat&&0===this.subcat.length&&ee)for(const Ze of Object.values(this.cats))if(Ze.slug===this.activeCat)for(const Ke of Object.values(Ze.children))this.checked[Ke.slug]=!0;this.collapse(this.activeCat),this.getAllChecked(),this.sharedModelsDataService.setModelsJSON({cat:this.activeCat,categories:this.allChecked,subcat:this.allChecked,page:null})}}ngOnInit(){this.subscribeHandlerService.subjectSubscribe(this.sharedModelsDataService.modelsCatsObj,ee=>{this.cats=ee,ee&&(this.getQueryParams(),this.querySubscriber&&(this.querySubscriber.unsubscribe(),this.querySubscriber=null),this.querySubscriber=this.route.queryParams.pipe((0,U.Q)(this.unsubscriber)).subscribe(()=>this.getQueryParams(!1)))},this.unsubscriber),this.subscribeHandlerService.subjectSubscribe(this.sharedModels
17DataService.modelsClearFilters,ee=>{ee||(this.collapsed={},this.checked=[])},this.unsubscriber)}ngAfterViewInit(){this.activeCat&&this.subscribeHandlerService.subjectSubscribe(this.catElement.changes,ee=>{ee.toArray().forEach(xe=>{/true/i.test(xe.nativeElement.getAttribute("aria-expanded"))||(this.prevCatElem=xe.nativeElement)})},this.unsubscriber)}ngOnChanges(ee){ee.returnQuery&&!this.returnQuery&&this.getQueryParams()}ngOnDestroy(){this.unsubscriber.next()}}return(Ye=Oe).\u0275fac=function(ee){return new(ee||Ye)(e.rXU(H.n),e.rXU(j.nX),e.rXU(F.e))},Ye.\u0275cmp=e.VBU({type:Ye,selectors:[["app-models-cat"]],viewQuery:function(ee,xe){if(1&ee&&e.GBs(ue,5,e.aKT),2&ee){let Ze;e.mGM(Ze=e.lsd())&&(xe.catElement=Ze)}},inputs:{returnQuery:"returnQuery"},standalone:!0,features:[e.OA$,e.aNF],decls:2,vars:1,consts:[[1,"filter-cat"],["class","item",4,"ngFor","ngForOf"],[1,"item"],[1,"cat","not-real-a",3,"click"],["catElement",""],["width","5","height","10","viewBox","0 0 5 10","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M0.146447 9.35355C-0.0488156 9.15829 -0.0488156 8.84171 0.146447 8.64645L3.79289 5L0.146446 1.35355C-0.0488159 1.15829 -0.0488159 0.841709 0.146446 0.646446C0.341708 0.451184 0.658291 0.451184 0.853553 0.646446L4.85355 4.64645C5.04882 4.84171 5.04882 5.15829 4.85355 5.35355L0.853553 9.35355C0.658291 9.54882 0.341709 9.54882 0.146447 9.35355Z","fill","currentColor"],[1,"subcats","collapsible"],[1,"list-unstyled"],[3,"click","mouseenter","mouseleave",4,"ngFor","ngForOf"],[3,"click","mouseenter","mouseleave"],["li",""],[1,"checkcontainer"],["type","checkbox",3,"id","checked"],[1,"checkmark"],["width","12","height","10","viewBox","0 0 12 10","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M1 4.85714L3.96906 8.12157C4.38642 8.58044 5.11554 8.55388 5.49673 8.06454C7.68503 5.25542 11 1 11 1","stroke","currentColor","stroke-width","1.75","stroke-linecap","round"]],template:function(ee,xe){1&ee&&(e.j41(0,"div",0),e.DNE(1,N,10,7,"div",1),e.k0s()),2&ee&&(e.R7$(1),e.Y8G("ngForOf",xe.cats))},dependencies:[G.MD,G.Sq,Z.L],styles:['.filter-cat[_ngcontent-%COMP%]{display:grid;font-weight:400}.filter-cat[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{display:inline-grid;position:relative}.filter-cat[_ngcontent-%COMP%]   .list-unstyled[_ngcontent-%COMP%]:last-of-type{padding-bottom:0}@media (min-width: 992px){.filter-cat[_ngcontent-%COMP%]{gap:12px}.filter-cat[_ngcontent-%COMP%]   .list-unstyled[_ngcontent-%COMP%]:not(:last-of-type){padding-bottom:8px}}@media (max-width: 991.98px){.filter-cat[_ngcontent-%COMP%]{gap:24px}.filter-cat[_ngcontent-%COMP%]   .list-unstyled[_ngcontent-%COMP%]:not(:last-of-type){padding-bottom:16px}}.cat[_ngcontent-%COMP%]{display:inline-grid;height:min-content;width:1fr;grid-auto-flow:column;grid-template-columns:max-content min-content;align-items:center;gap:8px;color:#125884!important;font-weight:500;position:relative}@media (hover: hover) and (pointer: fine){.cat[_ngcontent-%COMP%]:hover:before{position:absolute;content:"";inset:-6px -8px;background-color:#f7f7f7;border-radius:4px;z-index:-1}}@media (max-width: 991.98px){.cat[_ngcontent-%COMP%]{font-size:18px;line-height:22px}}@media (min-width: 992px){.cat[_ngcontent-%COMP%]{font-size:16px;line-height:20px}}.cat[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{transition:.35s}.cat[aria-expanded=true][_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{transform:rotate(90deg)}.list-unstyled[_ngcontent-%COMP%]{display:grid;padding-top:10px}.list-unstyled[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-grid;cursor:pointer}.list-unstyled[_ngcontent-%COMP%]   .checkcontainer[_ngcontent-%COMP%]{margin:0;color:#000}@media (min-width: 992px){.list-unstyled[_ngcontent-%COMP%]{padding-bottom:24px;gap:12px}}@media (max-width: 991.98px){.list-unstyled[_ngcontent-%COMP%]{padding-bottom:48px}.list-unstyled[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:12px 0}}.collapsible[_ngcontent-%COMP%]{overflow:hidden}'],data:{animation:[(0,w.hZ)("collapse",[(0,w.wk)("true",(0,w.iF)({height:w.kp,visibility:w.kp})),(0,w.wk)("false",(0,w.iF)({height:"0",visibility:"hidden"})),(0,w.kY)("false => true",(0,w.i0)("350ms ease-in")),(0,w.kY)("true => false",(0,w.i0)("350ms ease-out"))])]}}),Oe})();var re=a(7673),Ee=a(3812),Re=a(7719);function Mt(Ye,Oe){if(1&Ye){const Le=e.RV6();e.j41(0,"div",2),e.bIt("click",function(){const Ze=e.eBV(Le).$implicit,Ke=e.XpG();return Ke.checkedShape[Ze.id]=!Ke.checkedShape[Ze.id],e.Njj(Ke.forms.emit(Ke.checkedShape))}),e.nI1(1,"langConverter"),e.nI1(2,"safeHtml"),e.k0s()}if(2&Ye){const Le=Oe.$implicit,ee=e.XpG();e.AVh("checked",ee.checkedShape[Le.id]),e.Y8G("appTooltip",e.i5U(1,4,Le.form,Le.formEn))("innerHTML",e.bMT(2,7,Le.htmlSvg),e.npT)}}let wt=(()=>{var Ye;
17class Oe{constructor(ee,xe,Ze){this.sharedModelsDataService=ee,this.route=xe,this.subscribeHandlerService=Ze,this.unsubscriber=new d.B,this.checkedShape=[],this.returnQuery=!1,this.shape=(0,re.of)([]),this.forms=new e.bkB}getQueryParams(){const ee=this.route.snapshot.queryParamMap.getAll("forms");if(this.checkedShape=[],ee.length>0){for(const xe of ee)this.checkedShape[+xe]=!0;this.sharedModelsDataService.setModelsJSON({forms:ee?.map(xe=>+xe)})}}ngOnInit(){this.subscribeHandlerService.subjectSubscribe(this.sharedModelsDataService.modelsClearFilters,ee=>{ee||(this.checkedShape=[])},this.unsubscriber),this.subscribeHandlerService.subjectSubscribe(this.route.queryParamMap,()=>this.getQueryParams(),this.unsubscriber)}ngOnChanges(ee){ee.returnQuery&&!this.returnQuery&&this.getQueryParams()}ngOnDestroy(){this.unsubscriber.next()}}return(Ye=Oe).\u0275fac=function(ee){return new(ee||Ye)(e.rXU(H.n),e.rXU(j.nX),e.rXU(F.e))},Ye.\u0275cmp=e.VBU({type:Ye,selectors:[["app-shape-picker"]],inputs:{returnQuery:"returnQuery",shape:"shape"},outputs:{forms:"forms"},standalone:!0,features:[e.OA$,e.aNF],decls:3,vars:3,consts:[[1,"shape-container"],[3,"checked","appTooltip","innerHTML","click",4,"ngFor","ngForOf"],[3,"appTooltip","innerHTML","click"]],template:function(ee,xe){1&ee&&(e.j41(0,"div",0),e.DNE(1,Mt,3,9,"div",1),e.nI1(2,"async"),e.k0s()),2&ee&&(e.R7$(1),e.Y8G("ngForOf",e.bMT(2,1,xe.shape)))},dependencies:[G.MD,G.Sq,G.Jj,Ee.d,Z.L,Re.$],styles:[".shape-container[_ngcontent-%COMP%]{display:grid}@media (min-width: 576px) and (max-width: 991.98px){.shape-container[_ngcontent-%COMP%]{-moz-column-gap:16px;column-gap:16px;row-gap:24px;padding:24px 45px 0}}@media (max-width: 575.98px){.shape-container[_ngcontent-%COMP%]{padding:24px 22px 0;gap:24px}}@media (min-width: 992px){.shape-container[_ngcontent-%COMP%]{gap:16px;padding-top:16px;max-width:160px;grid-template-columns:repeat(auto-fill,26px)}}@media (max-width: 991.98px){.shape-container[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,44px)}}.shape-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{display:inline-grid;place-items:center;cursor:pointer;border-radius:4px;fill:#fff}@media (max-width: 991.98px){.shape-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{width:44px;height:36px}}@media (min-width: 992px){.shape-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{width:26px;height:26px}}.shape-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:not(.checked){color:#757575;fill:#0000}@media (hover: hover) and (pointer: fine){.shape-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:hover{color:#5e5e5e;fill:#f1f6f9}}.shape-container[_ngcontent-%COMP%]   div.checked[_ngcontent-%COMP%]{color:#4182aa;fill:#cde8fe}@media (max-width: 991.98px){.shape-container[_ngcontent-%COMP%]   div.checked[_ngcontent-%COMP%]{background-color:#fafafa}}"]}),Oe})();var At=a(4678),Et=a(7985),It=a(6019);const bt=["posMarker"],st=["imageContainer"];function ne(Ye,Oe){if(1&Ye){const Le=e.RV6();e.j41(0,"div",21)(1,"button",22),e.bIt("click",function(){e.eBV(Le);const xe=e.XpG();return e.Njj(xe.clearMobileFilters())}),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"button",23),e.bIt("click",function(){e.eBV(Le);const xe=e.XpG();return e.Njj(xe.closeFilter())}),e.qSk(),e.j41(5,"svg",24),e.nrm(6,"path",25),e.k0s()()()}if(2&Ye){const Le=e.XpG();e.R7$(1),e.Y8G("disabled",Le.isSubmitBtn),e.R7$(1),e.SpI(" ",e.bMT(3,2,"models.filters.clearFilters")," ")}}function fe(Ye,Oe){if(1&Ye&&(e.nrm(0,"source",32),e.nI1(1,"safeUrl"),e.nI1(2,"async")),2&Ye){const Le=e.XpG(2);e.Y8G("srcset",e.bMT(1,1,e.bMT(2,3,Le.searchByImageService.imageData)))}}function le(Ye,Oe){if(1&Ye){const Le=e.RV6();e.qSk(),e.j41(0,"svg",33),e.bIt("click",function(){e.eBV(Le);const xe=e.XpG(2);return e.Njj(xe.crop())}),e.nrm(1,"circle",34)(2,"path",35)(3,"path",36)(4,"path",37)(5,"path",38),e.k0s()}}function Ue(Ye,Oe){if(1&Ye){const Le=e.RV6();e.j41(0,"div",26,27)(2,"picture"),e.DNE(3,fe,3,5,"source",28),e.nI1(4,"async"),e.nI1(5,"async"),e.j41(6,"img",29,30),e.bIt("mouseenter",function(){e.eBV(Le);const xe=e.sdS(1),Ze=e.sdS(7),Ke=e.XpG();return e.Njj(Ke.showPopup(xe,Ze))})("mouseleave",function(){e.eBV(Le);const xe=e.XpG();return e.Njj(xe.deletePopup())}),e.nI1(8,"async"),e.nI1(9,"async"),e.nI1(10,"async"),e.nI1(11,"safeUrl"),e.nI1(12,"async"),e.k0s()(),e.DNE(13,le,6,0,"svg",31),e.k0s()}if(2&Ye){const Le=e.XpG();e.R7$(3),e.Y8G("ngIf",!e.bMT(4,3,Le.cropService.croppedImageData)&&!e.bMT(5,5,Le.searchByImageService.imageData).includes("data:image/")),e.R7$(3),e.Y8G("src",e.bMT(8,7,Le.cropService.croppedImageData)?e.bMT(9,9,Le.cropService.croppedImageData).imageData.imageData:e.bMT(10,11,Le.searchByImageService.imageData).includes("data:image/")?e.bMT(11,13,e.bMT(12,15,Le.searchByImageService.imageData)):Le.mnemonic,e.B4B),e.R7$(7),e.Y8G("ngIf",!Le.isMobileDevice)}}function Fe(Ye,Oe){1&Ye&&(e.j41(0,"div",39)(1,"div",40),e.nrm(2,"app-models-top-panel",41),e.k0s()()),2&Ye&&(e.R7$(2),e.Y8G("onlyTypeFilter",!0))}function nt(Ye,Oe){1&Ye&&e.nrm(0,"hr")}const _t=function(Ye,Oe){return{active:Ye,loading:Oe}},Ge=function(Ye){return{"pointer-events":Ye}};function Ct(Ye,Oe){if(1&Ye){const Le=e.RV6();e.qex(0),e.j41(1,"button",43),e.bIt("click",function(){const Ze=e.eBV(Le).$implicit,Ke=e.XpG(2);return e.Njj(Ke.handlePopularTag(Ze))}),e.EFF(2),e.k0s(),e.bVm()}if(2&Ye){const Le=Oe.$implicit,ee=e.XpG(2);e.R7$(1),e.Y8G("ngClass",e.l_i(3,_t,ee.activeTags.includes(Le),ee.tagsLoading.isLoading&&!ee.activeTags.includes(Le)))("ngStyle",e.eq3(6,Ge,ee.tagsLoading.isLoading?"none":"")),e.R7$(1),e.SpI("",Le," ")}}function ze(Ye,Oe){if(1&Ye&&(e.j41(0,"div",42),e.DNE(1,Ct,3,8,"ng-container",12),e.nI1(2,"async"),e.k0s()),2&Ye){const Le=e.XpG();e.R7$(1),e.Y8G("ngForOf",e.bMT(2,1,Le.tags))}}function mt(Ye,Oe){if(1&Ye){const Le=e.RV6();e.j41(0,"li",44,45),e.bIt("mouseenter",function(){e.eBV(Le);
17const xe=e.sdS(1),Ze=e.XpG();return e.Njj(Ze.propagateEvent(xe,!0))})("mouseleave",function(){e.eBV(Le);const xe=e.sdS(1),Ze=e.XpG();return e.Njj(Ze.propagateEvent(xe))})("click",function(){const Ze=e.eBV(Le).$implicit,Ke=e.XpG();return Ke.checkedFilter.styles[Ze.id]=!Ke.checkedFilter.styles[Ze.id],e.Njj(Ke.processFilters())}),e.j41(2,"div",46),e.nrm(3,"input",47),e.EFF(4),e.nI1(5,"langConverter"),e.j41(6,"span",48),e.qSk(),e.j41(7,"svg",49),e.nrm(8,"path",50),e.k0s()()()()}if(2&Ye){const Le=Oe.$implicit,ee=e.XpG();e.R7$(2),e.BMQ("for","style-"+Le.id),e.R7$(1),e.Y8G("id","style-"+Le.id)("checked",ee.checkedFilter.styles[Le.id]),e.R7$(1),e.SpI(" ",e.i5U(5,4,Le.title,Le.titleEn)," ")}}const Ot=function(Ye){return{active:Ye}};function Qe(Ye,Oe){if(1&Ye){const Le=e.RV6();e.j41(0,"span",54,55),e.bIt("click",function(){e.eBV(Le);const xe=e.XpG().$implicit,Ze=e.XpG();return Ze.checkedFilter.renders[xe.id]=!Ze.checkedFilter.renders[xe.id],e.Njj(Ze.processFilters())}),e.qSk(),e.j41(2,"svg",56),e.nrm(3,"path",57)(4,"path",58),e.k0s(),e.EFF(5),e.k0s()}if(2&Ye){const Le=e.XpG().$implicit,ee=e.XpG();e.Y8G("ngClass",e.eq3(2,Ot,ee.checkedFilter.renders[Le.id])),e.R7$(5),e.SpI(" ",Le.title," ")}}function yt(Ye,Oe){if(1&Ye){const Le=e.RV6();e.j41(0,"span",59,60),e.bIt("click",function(){e.eBV(Le);const xe=e.XpG().$implicit,Ze=e.XpG();return Ze.checkedFilter.renders[xe.id]=!Ze.checkedFilter.renders[xe.id],e.Njj(Ze.processFilters())}),e.qSk(),e.j41(2,"svg",61),e.nrm(3,"path",62),e.k0s(),e.EFF(4),e.k0s()}if(2&Ye){const Le=e.XpG().$implicit,ee=e.XpG();e.Y8G("ngClass",e.eq3(2,Ot,ee.checkedFilter.renders[Le.id])),e.R7$(4),e.SpI(" ",Le.title," ")}}function ut(Ye,Oe){if(1&Ye){const Le=e.RV6();e.j41(0,"span",63,64),e.bIt("click",function(){e.eBV(Le);const xe=e.XpG().$implicit,Ze=e.XpG();return Ze.checkedFilter.renders[xe.id]=!Ze.checkedFilter.renders[xe.id],e.Njj(Ze.processFilters())}),e.EFF(2),e.k0s()}if(2&Ye){const Le=e.XpG().$implicit,ee=e.XpG();e.Y8G("ngClass",e.eq3(2,Ot,ee.checkedFilter.renders[Le.id])),e.R7$(2),e.SpI(" ",Le.title," ")}}function ht(Ye,Oe){if(1&Ye&&(e.qex(0),e.DNE(1,Qe,6,4,"span",51),e.DNE(2,yt,5,4,"span",52),e.DNE(3,ut,3,4,"span",53),e.bVm()),2&Ye){const Le=Oe.$implicit,ee=e.XpG();e.R7$(1),e.Y8G("ngIf",Le.title.match(ee.checkRender("vray|v-ray"))),e.R7$(1),e.Y8G("ngIf",Le.title.match(ee.checkRender("corona"))),e.R7$(1),e.Y8G("ngIf",Le.title.match(ee.checkRender("standard")))}}function me(Ye,Oe){if(1&Ye){const Le=e.RV6();e.qex(0),e.j41(1,"span",63),e.bIt("click",function(){const Ze=e.eBV(Le).$implicit,Ke=e.XpG();return Ke.checkedFilter.formats[Ze.id]=!Ke.checkedFilter.formats[Ze.id],e.Njj(Ke.processFilters())}),e.EFF(2),e.k0s(),e.bVm()}if(2&Ye){const Le=Oe.$implicit,ee=e.XpG();e.R7$(1),e.Y8G("ngClass",e.eq3(2,Ot,ee.checkedFilter.formats[Le.id])),e.R7$(1),e.SpI(" ",Le.title," ")}}function et(Ye,Oe){if(1&Ye&&(e.qSk(),e.j41(0,"svg",68),e.nrm(1,"path",69),e.k0s()),2&Ye){const Le=e.XpG().$implicit;e.R7$(1),e.xc7("fill",Le.checkColor?Le.checkColor:"")}}function we(Ye,Oe){if(1&Ye){const Le=e.RV6();e.j41(0,"div")(1,"div",65,66),e.bIt("mouseover",function(){const Ze=e.eBV(Le).$implicit,Ke=e.sdS(2);let Vt;return e.Njj(Ke.style.outlineColor=null!==(Vt=Ze.borderColor)&&void 0!==Vt?Vt:Ze.color)})("mouseleave",function(){e.eBV(Le);const xe=e.sdS(2);return e.Njj(xe.style.outlineColor="")})("click",function(){const Ze=e.eBV(Le).$implicit,Ke=e.XpG();return Ke.checkFilter(Ke.filterName.COLORS,Ze.id),e.Njj(Ke.processFilters())}),e.nI1(3,"langConverter"),e.DNE(4,et,2,2,"svg",67),e.k0s()()}if(2&Ye){const Le=Oe.$implicit,ee=e.XpG();let xe;e.AVh("checked",ee.checkedFilter.colors[Le.id]),e.R7$(1),e.xc7("background-color",Le.color)("border-color",null!==(xe=Le.borderColor)&&void 0!==xe?xe:Le.color),e.Y8G("appTooltip",e.i5U(3,8,Le.title,Le.titleEn)),e.R7$(3),e.Y8G("ngIf",ee.checkedFilter.colors[Le.id])}}function Ae(Ye,Oe){if(1&Ye){const Le=e.RV6();e.j41(0,"li",44,45),e.bIt("mouseenter",function(){e.eBV(Le);const xe=e.sdS(1),Ze=e.XpG();return e.Njj(Ze.propagateEvent(xe,!0))})("mouseleave",function(){e.eBV(Le);const xe=e.sdS(1),Ze=e.XpG();return e.Njj(Ze.propagateEvent(xe))})("click",function(){const Ze=e.eBV(Le).$implicit,Ke=e.XpG();return Ke.checkFilter(Ke.filterName.MATERIALS,Ze.id),e.Njj(Ke.process
17Filters())}),e.j41(2,"div",46),e.nrm(3,"input",70),e.EFF(4),e.nI1(5,"langConverter"),e.j41(6,"span",48),e.qSk(),e.j41(7,"svg",49),e.nrm(8,"path",50),e.k0s()()()()}if(2&Ye){const Le=Oe.$implicit,ee=e.XpG();e.R7$(2),e.BMQ("for","materials-"+Le.id),e.R7$(1),e.Y8G("checked",ee.checkedFilter.materials[Le.id]),e.BMQ("id","materials-"+Le.id),e.R7$(1),e.SpI(" ",e.i5U(5,4,Le.material,Le.materialEn)," ")}}function de(Ye,Oe){if(1&Ye){const Le=e.RV6();e.j41(0,"button",71),e.bIt("click",function(){e.eBV(Le);const xe=e.XpG();return e.Njj(xe.clearFilters())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&Ye&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"models.filters.clearFilters"),"\n"))}function Te(Ye,Oe){if(1&Ye){const Le=e.RV6();e.j41(0,"div",72)(1,"button",73),e.bIt("click",function(){e.eBV(Le);const xe=e.XpG();return e.Njj(xe.closeFilter(xe.isFiltersChanged()))}),e.EFF(2),e.nI1(3,"translate"),e.nI1(4,"translate"),e.k0s()()}if(2&Ye){const Le=e.XpG();e.R7$(2),e.SpI(" ",Le.isFiltersChanged()?e.bMT(3,1,"models.filters.apply"):e.bMT(4,3,"models.filters.close")," ")}}function Ie(Ye,Oe){if(1&Ye&&(e.j41(0,"div",74),e.nrm(1,"img",75),e.nI1(2,"safeUrl"),e.nI1(3,"async"),e.k0s()),2&Ye){const Le=e.XpG();e.R7$(1),e.Y8G("src",e.bMT(2,1,e.bMT(3,3,Le.searchByImageService.imageData)),e.B4B)}}let ye=(()=>{var Ye;class Oe{constructor(ee,xe,Ze,Ke,Vt,gt,Bt,Je,on,On,He){this.sharedModelsDataService=ee,this.route=xe,this.subscribeHandlerService=Ze,this.filterModelsService=Ke,this.modelsListService=Vt,this.backdropService=gt,this.searchByImageService=Bt,this.viewContainerRef=Je,this.renderer=on,this.cropService=On,this.sky=He,this.navigationEndStream=(0,e.WQX)(E.NC),this.unsubscriber=new d.B,this.stylesList=this.filterModelsService.filterModelsData.pipe(V(x.K.STYLES)),this.rendersList=this.filterModelsService.filterModelsData.pipe(V(x.K.RENDERS)),this.formatsList=this.filterModelsService.filterModelsData.pipe(V(x.K.FORMATS)),this.colorsList=this.filterModelsService.filterModelsData.pipe(V(x.K.COLORS)),this.materials=this.filterModelsService.filterModelsData.pipe(V(x.K.MATERIALS)),this.shape=this.filterModelsService.filterModelsData.pipe(V(x.K.FORMS)),this.checkedFilter={[x.K.MATERIALS]:[]=[],[x.K.COLORS]:[]=[],[x.K.STYLES]:[]=[],[x.K.RENDERS]:[]=[],[x.K.FORMATS]:[]=[],[x.K.FORMS]:[]=[]},this.checkedFilterOrder={[x.K.MATERIALS]:[]=[],[x.K.COLORS]:[]=[]},this.filterName=x.K,this.toTopPos={},this.isSubmitBtn=!1,this.prevModelFilters={...this.modelsListService.modelRequest},this.activeTags=[],this.tags=new X.t([]),this.tagsLoading=new p.I,this.popupList=[],this.isMobileDevice=s.Hy,this.image=null,this.mnemonic="/ng-assets/images/no-image.svg",this.loadingModelsIndicator=new p.I,this.loadingFiltersIndicator=new p.I,this.mobileFilter=!1,this.isProfile=!1,this.mobileFilterChange=new e.bkB}clearFilters(){this.modelsListService.clearFilters()}clearMobileFilters(){const ee={...this.prevModelFilters};this.modelsListService.clearFilters(!1,!1),this.prevModelFilters=ee}isFiltersChanged(){const ee={...this.modelsListService.modelRequest},xe={...this.prevModelFilters};return delete ee.order,delete xe.order,Object.entries(xe).sort().toString()!==Object.entries(ee).sort().toString()}processFilters(ee=!0){const xe={};for(const Ze of Object.keys(this.checkedFilter)){xe[Ze]=[];for(const[Ke,Vt]of this.checkedFilter[Ze].entries())Vt&&xe[Ze].push(+Ke)}ee&&!this.mobileFilter?(this.sharedModelsDataService.setModelsJSON({...xe,page:null}),this.sharedModelsDataService.setRefreshModelsList(!0,!0,!0)):(this.sharedModelsDataService.setModelsJSON({...xe}),this.sharedModelsDataService.setRefreshModelsList(!0,!1,!0))}checkFilter(ee,xe){let Ze=2;if(ee===x.K.COLORS&&(Ze=3),this.checkedFilter[ee][xe]=!this.checkedFilter[ee][xe],this.checkedFilter[ee][xe]){let Ke=0;for(const Vt of Object.values(this.checkedFilter[ee]))Vt&&Ke++;Ke<=Ze||(this.checkedFilter[ee][this.checkedFilterOrder[ee][0]]=!1,this.checkedFilterOrder[ee].shift()),this.checkedFilterOrder[ee].push(xe)}else this.checkedFilterOrder[ee].splice(this.checkedFilterOrder[ee].indexOf(xe),1)}getQueryParams(){this.activeTags=this.route.snapshot.queryParamMap.getAll("tag");
17for(const ee of Object.values(x.K)){const xe=this.route.snapshot.queryParamMap.getAll(ee);this.checkedFilter[ee]=[],this.checkedFilterOrder[ee]=[],xe.length>0&&xe.forEach(ee===x.K.COLORS||ee===x.K.MATERIALS?Ze=>this.checkFilter(ee,+Ze):Ze=>this.checkedFilter[ee][+Ze]=!0)}this.processFilters(!1)}ngOnInit(){this.subscribeHandlerService.subjectSubscribe(this.sharedModelsDataService.modelsClearFilters,ee=>{this.isSubmitBtn=!ee,ee||(this.prevModelFilters={...this.modelsListService.modelRequest},this.dropCheckFilter())},this.unsubscriber),this.subscribeHandlerService.subjectSubscribe(this.navigationEndStream,()=>{this.getQueryParams(),this.isProfile||this.getTags()},this.unsubscriber),this.toTopPos.left=this.posMarker.nativeElement.getBoundingClientRect().left+"px",this.subscribeHandlerService.subjectSubscribe(this.searchByImageService.imageData,ee=>this.image=ee?new I.T(ee):null,this.unsubscriber),this.prevModelFilters={...this.modelsListService.modelRequest}}dropCheckFilter(){this.checkedFilter={[x.K.MATERIALS]:[]=[],[x.K.COLORS]:[]=[],[x.K.STYLES]:[]=[],[x.K.RENDERS]:[]=[],[x.K.FORMATS]:[]=[],[x.K.FORMS]:[]=[]}}closeFilter(ee=!1){ee?(this.sharedModelsDataService.setModelsJSON(this.sharedModelsDataService.modelsJSONSource.value),this.sharedModelsDataService.setRefreshModelsList(!0,!0)):(this.sharedModelsDataService.setModelsJSON({...this.prevModelFilters}),this.sharedModelsDataService.setRefreshModelsList(!0,!1,!0)),this.mobileFilterChange.emit(ee),this.backdropService.backdrop(!1)}propagateEvent(ee,xe=!1){xe?ee.querySelector(".checkcontainer").classList.add("hovered"):ee.querySelector(".checkcontainer").classList.remove("hovered")}handlePopularTag(ee){if(this.activeTags.includes(ee)){const xe=this.activeTags.findIndex(Ze=>Ze===ee);this.activeTags.splice(xe,1)}else this.activeTags.push(ee);this.mobileFilter?(this.sharedModelsDataService.setModelsJSON({tag:this.activeTags,page:null}),this.sharedModelsDataService.setRefreshModelsList(!0,!1,!0)):(this.sharedModelsDataService.setModelsJSON({tag:this.activeTags,page:null}),this.sharedModelsDataService.setRefreshModelsList(!0,!0,!0))}getTags(){const ee={...this.modelsListService.getQueryModelsJson()};delete ee.order,delete ee.categories,delete ee.page,delete ee[W.I],delete ee[$.VA.IS_BOOKMARKED],delete ee[$.VA.IS_PURCHASED],delete ee[$.VA.IS_SUBSCRIPTIONS];for(const[xe,Ze]of Object.entries(ee))Ze||delete ee[xe],Array.isArray(Ze)&&(ee[xe]=Ze.sort().toString());Object.values(ee).some(xe=>!!xe)?this.subscribeHandlerService.takeOne(this.modelsListService.getTags(),xe=>{this.tags.next((this.sky?xe.data.tagsEn:xe.data.tagsRu).slice(0,8))},this.tagsLoading):Object.values(ee).every(xe=>!xe)&&this.tags.next([])}showPopup(ee,xe){if(this.popupList.length>0)return;const Ze=this.viewContainerRef.createEmbeddedView(this.imageContainer);this.popupList.push(Ze);const Ke=Ze.rootNodes[0],Vt=+window.getComputedStyle(Ke.querySelector("img")).maxHeight.replace(/\D/g,""),gt=xe.naturalHeight>Vt?Vt:xe.naturalHeight,Bt=ee.getBoundingClientRect(),Je=document.documentElement,on=Bt.top+Bt.height/2;this.renderer.appendChild(document.body,Ke),Ke.style.top=Bt.top+"px",Ke.style.left=Bt.right+24+"px",Ke.getBoundingClientRect().top<=0&&(Ke.style.top="24px"),gt+48>Je.clientHeight&&(Ke.style.height="",Ke.style.top="24px",Ke.style.bottom="24px"),on-gt/2>0&&(Ke.style.top=on-gt/2+"px",Ke.style.bottom=""),on+gt/2>Je.clientHeight&&(Ke.style.bottom="24px",Ke.style.top="24px"),Bt.bottom-Je.clientHeight<24&&(Ke.style.bottom="24px"),Ke.classList.add("show")}deletePopup(){this.popupList.forEach(ee=>ee.destroy()),this.popupList=[]}checkRender(ee){return new RegExp(ee,"gi")}crop(){const ee=this.cropService.cropPositionStore.find(xe=>xe.imageData===this.image.imageData);ee&&(this.image=ee),this.cropService.open(this.viewContainerRef,{data:this.image,callback:xe=>{this.loadingModelsIndicator.isLoading=!0,this.cropService.croppedImageData.next({imageData:xe,viewContainerRef:this.viewContainerRef}),this.backdropService.backdrop(!1)},close:()=>this.backdropService.backdrop(!1)})}ngOnChanges(ee){ee.mobileFilter&&!this.mobileFilter&&(this.getQueryParams(),this.prevModelFilters={...this.modelsListService.modelRequest})}ngOnDestroy(){this.unsubscriber.next(),this.cropService.drop()}}return(Ye=Oe).\u0275fac=function(ee){return new(ee||Ye)(e.rXU(H.n),e.rXU(j.nX),e.rXU(F.e),e.rXU(x.q),e.rXU($.cO),e.rXU(At.u),e.rXU(Et.I),e.rXU(e.c1b),e.rXU(e.sFG),e.rXU(It.V),e.rXU(E.ef))},Ye.\u0275cmp=e.VBU({type:Ye,selectors:[["app-models-left-sidebar"]],viewQuery:function(ee,xe){if(1&ee&&(e.GBs(bt,7),e.GBs(st,5)),2&ee){let Ze;e.mGM(Ze=e.lsd())&&(xe.posMarker=Ze.first),e.mGM(Ze=e.lsd())&&(xe.imageContainer=Ze.first)}},inputs:{loadingModelsIndicator:"loadingModelsIndicator",loadingFiltersIndicator:"loadingFiltersIndicator",mobileFilter:"mobileFilter",isProfile:"isProfile"},outputs:{mobileFilterChange:"mobileFilterChange"},standalone:!0,features:[e.OA$,e.aNF],decls:63,vars:49,consts:[["class","filter-header d-lg-none",4,"ngIf"],[1,"content-container"],["class","search-by-image-wrapper",4,"ngIf"],["class","block d-lg-none",4,"ngIf"],[4,"ngIf"],[1,"block"],[1,"block-header"],[3,"returnQuery"],["class","block btn-tags-container",4,"ngIf"],[1,"list-unstyled"],[3,"mouseenter","mouseleave","click",4,"ngFor","ngForOf"],[1,"block-content","renders"],[4,"ngFor","ngForOf"],[1,"block-content","formats"],[3,"returnQuery","shape","forms"],[1,"color-picker"],[3,"checked",4,"ngFor","ngForOf"],["posMarker",""],["class","clear-filters",3,"click",4,"ngIf"],["class","filter-footer d-lg-none",4,"ngIf"],["imageContainer",""],[1,"filter-header","d-lg-none"],[3,"disabled","click"],[1,"close-filter",3,"click"],["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M0.29289 12.2929C-0.09763 12.6834 -0.09763 13.3166 0.29289 13.7071C0.68341 14.0977 1.31657 14.0977 1.70709 13.7071L6.99991 8.41418L12.2928 13.7071C12.6833 14.0977 13.3164 14.0977 13.707 13.7071C14.0975 13.3166 14.0975 12.6834 13.707 12.2929L8.41411 6.99995L13.7068 1.70713C14.0973 1.3166 14.0973 0.683425 13.7068 0.292896C13.3163 -0.0976323 12.6831 -0.0976319 12.2926 0.292896L6.99991 5.58572L1.70722 0.292913C1.3167 -0.0976155 0.683541 -0.0976158 0.293021 0.292913C-0.0974993 0.683441 -0.097499 1.31661 0.293021 1.70714L5.58571 6.99995L0.29289 12.2929Z","fill","#8c8c8c"],[1,"search-by-image-wrapper"],["container",""],[3,"srcset",4,"ngIf"],["alt","",2,"aspect-ratio","auto 1/1","width","100%",3,"src","mouseenter","mouseleave"],["image",""],["class","crop-image","width","36","height","36","viewBox","0 0 36 36","fill","none","xmlns","http://www.w3.org/2000/svg",3,"click",4,"ngIf"],[3,"srcset"],["width","36","height","36","viewBox","0 0 36 36","fill","none","xmlns","http://www.w3.org/2000/svg",1,"crop-image",3,"click"],["cx","18","cy","18","r","18"],["d","M14 10 S9,9 10,14","stroke","white","stroke-width","2","stroke-linecap","square"],["d","M22 10 S27,9 26,14","stroke","white","stroke-width","2","stroke-linecap","square"],["d","M26 22 S27,27 22,26","stroke","white","stroke-width","2","stroke-linecap","square"],["d","M10 22 S9,27 14,26","stroke","white","stroke-width","2","stroke-linecap","square"],[1,"block","d-lg-none"],[1,"block-header","lk-filters"],[3,"onlyTypeFilter"],[1,"block","btn-tags-container"],[1,"btn-tags",3,"ngClass","ngStyle","click"],[3,"mouseenter","mouseleave","click"],["li",""],[1,"checkcontainer"],["type","checkbox",3,"id","checked"],[1,"checkmark"],["width","12","height","10","viewBox","0 0 12 10","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M1 4.85714L3.96906 8.12157C4.38642 8.58044 5.11554 8.55388 5.49673 8.06454C7.68503 5.25542 
1711 1 11 1","stroke","currentColor","stroke-width","1.75","stroke-linecap","round"],["class","vray",3,"ngClass","click",4,"ngIf"],["class","corona",3,"ngClass","click",4,"ngIf"],[3,"ngClass","click",4,"ngIf"],[1,"vray",3,"ngClass","click"],["vrayEl",""],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg",2,"min-width","16px"],["d","M0.000294076 7.92964C0.0188686 6.44385 0.39655 5.06149 1.19287 3.80116C1.28146 3.66054 1.35433 3.45747 1.57674 3.52898C1.7763 3.59333 1.72248 3.79496 1.72915 3.94464C1.84869 6.66455 2.56881 9.19331 4.10716 11.4628C4.44436 11.9604 4.80965 12.4352 5.29831 12.7984C6.00747 13.3256 6.68901 13.3213 7.38341 12.7751C7.89587 12.3723 8.25546 11.8451 8.55979 11.2778C9.12798 10.2177 9.52471 9.08654 9.92954 7.95872C10.272 7.00489 10.6411 6.06346 11.225 5.22403C11.5322 4.78216 11.8861 4.38747 12.3547 4.11147C13.6106 3.37263 15.0104 3.87409 15.5119 5.24072C17.1769 9.77962 14.4203 14.799 9.70331 15.8181C4.71107 16.8969 -0.0430464 13.0315 0.000294076 7.92964Z","fill","#2857AF"],["d","M3.60691 3.45466C3.57214 2.7468 3.65168 2.06944 4.06222 1.46359C4.39513 0.972136 4.83901 0.618919 5.40196 0.438735C8.07335 -0.414514 10.5509 -0.0250699 12.8256 1.62327C12.908 1.68286 13.0351 1.72814 13.0308 1.84922C13.0261 1.98936 12.8851 1.98269 12.7894 2.00891C10.9191 2.52133 9.69695 3.75306 8.90301 5.47863C8.43437 6.49728 8.09002 7.5617 7.69282 8.60705C7.46564 9.2048 7.22226 9.79588 6.91697 10.3588C6.52167 11.0881 6.16256 11.112 5.69868 10.4375C4.50706 8.70477 3.89981 6.76708 3.69502 4.69021C3.65453 4.27931 3.63596 3.86651 3.60738 3.45466H3.60691Z","fill","#2857AF"],[1,"corona",3,"ngClass","click"],["corona",""],["width","17","height","16","viewBox","0 0 17 16","fill","none","xmlns","http://www.w3.org/2000/svg",2,"min-width","17px"],["d","M7.04492 1.72058C6.76892 1.28423 6.39249 0.9613 5.95042 0.710352C5.78119 0.614638 5.60009 0.548282 5.42018 0.475893C7.24025 -0.393978 10.0457 -0.200137 11.9021 2.14405C11.893 1.76522 11.8278 1.41775 11.7036 1.0542C12.9096 1.43665 13.9412 2.07569 14.8187 2.9729C15.6969 3.87093 16.3315 4.92579 16.6806 6.13951C17.6846 9.62905 16.2445 13.0916 13.4407 14.8599C10.6491 16.6206 7.32921 16.1694 5.27585 14.679C5.74165 14.5764 6.16869 14.4139 6.56805 14.1047C4.42098 14.0677 2.82194 13.1214 1.70452 11.2884C2.47873 11.2043 2.90775 10.6127 2.89272 10.0087C2.87493 9.3037 2.34824 8.801 1.72231 8.75918C1.15015 8.72057 0.41825 9.16134 0.397689 10.1245C0.270763 9.92343 0.187727 9.71954 0.130788 9.50921C-0.134532 8.52874 -0.000883389 7.61182 0.574832 6.77251C0.877716 6.33094 1.27431 5.99835 1.7492 5.7651C1.85121 5.71483 1.8354 5.68949 1.77253 5.62072C1.63848 5.47434 1.51314 5.31991 1.40954 5.1329C1.55624 5.12084 1.69265 5.11119 1.82868 5.09832C2.51511 5.03437 3.11059 4.7593 3.627 4.29802C3.67959 4.25097 3.66179 4.23287 3.61909 4.19748C3.17346 3.82629 2.66457 3.59786 2.09637 3.51341C1.75236 3.46233 1.40677 3.46515 1.06356 3.53472C1.05288 3.53673 1.04102 3.5311 1.01927 3.52668C1.11892 3.37024 1.24228 3.24275 1.36407 3.11446C2.1284 2.30934 3.05207 1.79055 4.12482 1.55248C4.66257 1.43303 5.20903 1.41212 5.75825 1.45837C6.17027 1.49296 6.57003 1.57982 6.96227 1.70932C6.98877 1.71816 7.01842 1.71575 7.04689 1.71897C7.04887 1.72138 7.05124 1.7242 7.05322 1.72661L7.04492 1.72058ZM14.9796 8.67473C14.997 6.13509 12.9848 4.03621 10.4901 3.96745C7.83573 3.89385 5.72267 6.07516 5.72978 8.68156C5.7369 11.2317 7.74756 13.384 10.3679 13.3788C12.9622 13.3736 14.9832 11.2437 14.9796 8.67473Z","fill","#FA520A"],[3,"ngClass","click"],["standard",""],[1,"color",3,"appTooltip","mouseover","mouseleave","click"],["div",""],["width","14","height","10","viewBox","0 0 14 10","xmlns","http://www.w3.org/2000/svg",4,"ngIf"],["width","14","height","10","viewBox","0 0 14 10","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M13.6826 0.269165C14.0862 0.646127 14.1078 1.27892 13.7308 1.68255L6.40797 9.5235C5.83333 10.1388 4.86497 10.1608 4.26302 9.57217L0.300872 5.69796C-0.0940093 5.31184 -0.101114 4.67872 0.285004 4.28384C0.671122 3.88895 1.30425 3.88185 1.69913 4.26797L5.29548 7.7845L12.2692 0.317454C12.6461 -0.0861775 13.2789 -0.107797 13.6826 0.269165Z"],["type","checkbox",3,"checked"],[1,"clear-filters",3,"click"],[1,"filter-footer","d-lg-none"],[3,"click"],[1,"image-container"],["alt","",3,"src"]],template:function(ee,xe){if(1&ee&&(e.DNE(0,ne,7,4,"div",0),e.j41(1,"div",1),e.DNE(2,Ue,14,17,"div",2),e.nI1(3,"async"),e.nI1(4,"async"),e.DNE(
175,Fe,3,1,"div",3),e.DNE(6,nt,1,0,"hr",4),e.j41(7,"div",5)(8,"div",6),e.nrm(9,"app-models-cat",7),e.k0s()(),e.DNE(10,ze,3,3,"div",8),e.nI1(11,"async"),e.nrm(12,"hr"),e.j41(13,"div",5)(14,"div",6),e.EFF(15),e.nI1(16,"translate"),e.k0s(),e.j41(17,"ul",9),e.DNE(18,mt,9,7,"li",10),e.nI1(19,"async"),e.k0s()(),e.nrm(20,"hr"),e.j41(21,"div",5)(22,"div",6),e.EFF(23),e.nI1(24,"translate"),e.k0s(),e.j41(25,"div",11),e.DNE(26,ht,4,3,"ng-container",12),e.nI1(27,"async"),e.k0s()(),e.nrm(28,"hr"),e.j41(29,"div",5)(30,"div",6),e.EFF(31),e.nI1(32,"translate"),e.k0s(),e.j41(33,"div",13),e.DNE(34,me,3,4,"ng-container",12),e.nI1(35,"async"),e.k0s()(),e.nrm(36,"hr"),e.j41(37,"div",5)(38,"div",6),e.EFF(39),e.nI1(40,"translate"),e.k0s(),e.j41(41,"app-shape-picker",14),e.bIt("forms",function(Ke){return xe.checkedFilter.forms=Ke,xe.processFilters()}),e.k0s()(),e.nrm(42,"hr"),e.j41(43,"div",5)(44,"div",6),e.EFF(45),e.nI1(46,"translate"),e.k0s(),e.j41(47,"div",15),e.DNE(48,we,5,11,"div",16),e.nI1(49,"async"),e.k0s()(),e.nrm(50,"hr"),e.j41(51,"div",5,17)(53,"div",6),e.EFF(54),e.nI1(55,"translate"),e.k0s(),e.j41(56,"ul",9),e.DNE(57,Ae,9,7,"li",10),e.nI1(58,"async"),e.k0s()()(),e.DNE(59,de,3,3,"button",18),e.DNE(60,Te,5,5,"div",19),e.DNE(61,Ie,4,5,"ng-template",null,20,e.C5r)),2&ee){let Ze;e.Y8G("ngIf",xe.mobileFilter),e.R7$(2),e.Y8G("ngIf",e.bMT(3,21,xe.searchByImageService.imageData)||(null==(Ze=e.bMT(4,23,xe.cropService.croppedImageData))?null:Ze.imageData.imageData)),e.R7$(3),e.Y8G("ngIf",xe.mobileFilter&&!xe.isProfile),e.R7$(1),e.Y8G("ngIf",!xe.isProfile),e.R7$(3),e.Y8G("returnQuery",xe.mobileFilter),e.R7$(1),e.Y8G("ngIf",e.bMT(11,25,xe.tags).length>0),e.R7$(5),e.JRh(e.bMT(16,27,"models.filters.style")),e.R7$(3),e.Y8G("ngForOf",e.bMT(19,29,xe.stylesList)),e.R7$(5),e.JRh(e.bMT(24,31,"models.filters.render")),e.R7$(3),e.Y8G("ngForOf",e.bMT(27,33,xe.rendersList)),e.R7$(5),e.JRh(e.bMT(32,35,"models.filters.format")),e.R7$(3),e.Y8G("ngForOf",e.bMT(35,37,xe.formatsList)),e.R7$(5),e.JRh(e.bMT(40,39,"models.filters.form")),e.R7$(2),e.Y8G("returnQuery",xe.mobileFilter)("shape",xe.shape),e.R7$(4),e.JRh(e.bMT(46,41,"models.filters.color")),e.R7$(3),e.Y8G("ngForOf",e.bMT(49,43,xe.colorsList)),e.R7$(6),e.JRh(e.bMT(55,45,"models.filters.material")),e.R7$(3),e.Y8G("ngForOf",e.bMT(58,47,xe.materials)),e.R7$(2),e.Y8G("ngIf",!xe.mobileFilter&&!xe.isSubmitBtn),e.R7$(1),e.Y8G("ngIf",xe.mobileFilter)}},dependencies:[G.MD,G.YU,G.Sq,G.bT,G.B3,G.Jj,B.D,J.d,z.p,ie,Z.L,wt,Ee.d],styles:['@media (max-width: 991.98px){[_nghost-%COMP%]{display:grid;grid-template-rows:min-content 1fr min-content;position:fixed;transition:.25s ease-out;left:-610px;z-index:-1;top:0;bottom:0;overflow:hidden;max-width:540px;width:100%;background-color:#fff}.mobile-opened[_nghost-%COMP%]{transition:left .25s ease-out;left:0;z-index:125}.mobile-opened[_nghost-%COMP%]   .filter-header[_ngcontent-%COMP%]{background:#F4F4F4;height:52px;display:flex;align-items:center;justify-content:center;position:relative}.mobile-opened[_nghost-%COMP%]   .filter-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border:0;outline:0;color:#5e5e5e;font-size:14px;line-height:16px;background-color:inherit;padding:4px 0}}@media (max-width: 991.98px) and (max-width: 991.98px){.mobile-opened[_nghost-%COMP%]   .filter-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{font-size:16px;line-height:20px;font-weight:500;color:#4182aa}}@media (max-width: 991.98px){.mobile-opened[_nghost-%COMP%]   .filter-header[_ngcontent-%COMP%]   button[disabled][_ngcontent-%COMP%]{color:#d0d0d0}.mobile-opened[_nghost-%COMP%]   .filter-header[_ngcontent-%COMP%]   .close-filter[_ngcontent-%COMP%]{position:absolute;top:4px;right:12px;height:44px;width:44px}.mobile-opened[_nghost-%COMP%]   .content-container[_ngcontent-%COMP%]{overflow-y:auto;padding-bottom:32px}}@media (max-width: 991.98px) and (min-width: 576px){.mobile-opened[_nghost-%COMP%]   .content-container[_ngcontent-%COMP%]{padding-top:52px}}@media (max-width: 991.98px) and (max-width: 575.98px){.mobile-opened[_nghost-%COMP%]   .content-container[_ngcontent-%COMP%]{padding-top:40px}}@media (max-width: 991.98px){.mobile-opened[_nghost-%COMP%]   .filter-footer[_ngcontent-%COMP%]{height:72px;display:grid;place-items:center;background-color:#fff;box-shadow:0 0 16px #6c92a966}.mobile-opened[_nghost-%COMP%]   .filter-footer[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border:0;outline:0;padding:0;width:262px;height:48px;text-align:center;line-height:48px;font-weight:500;font-size:20px;background-color:#4182aa;border-radius:100px;color:#efeff0}.mobile-opened[_nghost-%COMP%]   .filter-footer[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover, .mobile-opened[_nghost-%COMP%]   .filter-footer[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active{background-color:#125884}}@media (min-width: 992px){.block[_ngcontent-%COMP%]:not(:last-of-type){padding-bottom:48px}}.block-header[_ngcontent-%COMP%]{color:#000;font-weight:500}@media (min-width: 992px){.block-header[_ngcontent-%COMP%]{font-size:16px;line-height:20px}}@media (max-width: 991.98px){.block-header[_ngcontent-%COMP%]{font-size:18px;line-height:22px;padding:0 45px}.block-header[_ngcontent-%COMP%] ~ ul[_ngcontent-%COMP%]{padding:24px 45px 0}.block-header[_ngcontent-%COMP%] ~ ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:12px 8px;margin:0 -8px}}@media (max-width: 575.98px){.block-header.lk-filters[_ngcontent-%COMP%]{padding:0 24px}}.list-unstyled[_ngcontent-%COMP%]{display:grid;gap:2px}.list-unstyled[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-grid;cursor:pointer}@media (max-width: 991.98px){.list-unstyled[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:active{background:#F4F4F4;border-radius:4px}}.list-unstyled[_ngcontent-%COMP%]   .checkcontainer[_ngcontent-%COMP%]{margin:0;color:#000}@media (min-width: 992px){.list-unstyled[_ngcontent-%COMP%]{padding-top:7px}.list-unstyled[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:5px 0}}.clear-filters[_ngcontent-%COMP%]{border:0;outline:0;padding:2px 8px;border-radius:4px;background-color:inherit;font-size:16px;line-height:20px;font-weight:500;color:#4182aa;margin-top:48px}@media (hover: hover) and (pointer: fine){.clear-filters[_ngcontent-%COMP%]:hover{background-color:#ecf7fd}}.clear-filters[_ngcontent-%COMP%]:active{background-color:#ecf7fd}hr[_ngcontent-%COMP%]{background-color:#f7f7f7;border-color:#f7f7f7;margin:24px 0;opacity:1}@media (min-width: 992px){hr[_ngcontent-%COMP%]{display:none}}.btn-tags-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px}.btn-tags-container[_ngcontent-%COMP%]   .btn-tags[_ngcontent-%COMP%]{outline:none;padding:4px 8px;border:0;border-radius:4px;background-color:#f4f4f4;line-height:20px;position:relative;color:#4182aa}@media (hover: hover) and (pointer: fine){.btn-tags-container[_ngcontent-%COMP%]   .btn-tags[_ngcontent-%COMP%]:hover{background-color:#deeff9}}.btn-tags-container[_ngcontent-%COMP%]   .btn-tags[_ngcontent-%COMP%]:active, .btn-tags-container[_ngcontent-%COMP%]   .btn-tags.active[_ngcontent-%COMP%]{background-color:#cde8fe;color:#023d67}.btn-tags-container[_ngcontent-%COMP%]   .btn-tags.loading[_ngcontent-%COMP%]{z-index:0}.btn-tags-container[_ngcontent-%COMP%]   .btn-tags.loading[_ngcontent-%COMP%]:after{position:absolute;inset:0;content:"";border-radius:4px;background-color:#f1f6f9}@media (min-width: 992px){.btn-tags-container[_ngcontent-%COMP%]{margin-top:-24px}}@media (max-width: 767.98px){.btn-tags-container[_ngcontent-%COMP%]{margin-top:24px;padding:0 15px}}@media (min-width: 768px) and (max-width: 991.98px){.btn-tags-container[_ngcontent-%COMP%]{margin-top:24px;padding:0 40px}}.search-by-image-wrapper[_ngcontent-%COMP%]{border-radius:4px;box-shadow:0 1px 3px #0000004d,0 4px 9px 3px #6c92a933;margin-bottom:48px;position:relative}@media (max-width: 991.98px){.search-by-image-wrapper[_ngcontent-%COMP%]{display:none}}.search-by-image-wrapper[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{border-radius:4px;object-fit:cover;object-position:center;width:100%;height:auto;max-height:350px}.image-container[_ngcontent-%COMP%]{position:fixed;z-index:150;display:inline-flex;transition:opacity .2s ease-out;height:-moz-fit-content;height:fit-content}.image-container[_ngcontent-%COMP%]:not(.show){opacity:0}
17.image-container.show[_ngcontent-%COMP%]{opacity:1}.image-container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:auto;width:auto;border-radius:4px;border:0;outline:0;padding:0;object-fit:contain;background-color:#fff;box-shadow:0 0 16px #6c92a966}@media (min-width: 1200px){.image-container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-height:640px;max-width:640px}}@media (max-width: 1199.98px){.image-container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-height:457px;max-width:457px}}@media (min-width: 992px){.block-content[_ngcontent-%COMP%]{padding-top:12px}}@media (max-width: 991.98px){.block-content[_ngcontent-%COMP%]{padding:24px 45px 0}}.block-content[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{cursor:pointer}.block-content.renders[_ngcontent-%COMP%]{display:grid;gap:6px}@media (max-width: 991.98px){.block-content.renders[_ngcontent-%COMP%]{grid-auto-flow:column;grid-auto-columns:minmax(90px,134px);justify-content:center}}@media (min-width: 576px) and (max-width: 991.98px){.block-content.renders[_ngcontent-%COMP%]{gap:24px}}@media (max-width: 575.98px){.block-content.renders[_ngcontent-%COMP%]{gap:16px;padding:24px 12px 0}}.block-content.renders[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:16px;line-height:20px;font-weight:500;color:#000;display:inline-flex;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;justify-content:center;align-items:center;background-color:#f7f7f7;gap:2px;text-box:trim-both cap alphabetic}@media (min-width: 992px){.block-content.renders[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{border-radius:18px;padding:8px}.block-content.renders[_ngcontent-%COMP%]   span.vray[_ngcontent-%COMP%], .block-content.renders[_ngcontent-%COMP%]   span.corona[_ngcontent-%COMP%]{padding-left:8px}}@media (max-width: 991.98px){.block-content.renders[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{padding:12px 16px;border-radius:30px;width:auto}}@media (pointer: fine) and (hover: hover){.block-content.renders[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:hover{transition:background-color .1s ease-out;background-color:#deeff9}}.block-content.renders[_ngcontent-%COMP%]   span.active[_ngcontent-%COMP%]{transition:.1s ease-out;color:#fff}.block-content.renders[_ngcontent-%COMP%]   span.active[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{fill:#fff;transition:.1s ease-out}.block-content.renders[_ngcontent-%COMP%]   span.vray.active[_ngcontent-%COMP%]{background-color:#2857af}.block-content.renders[_ngcontent-%COMP%]   span.corona.active[_ngcontent-%COMP%]{background-color:#fa520a}.block-content.renders[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:not(.vray):not(.corona).active{background-color:#8c8c8c}.block-content.formats[_ngcontent-%COMP%]{display:grid;grid-auto-columns:max-content;gap:8px}@media (max-width: 991.98px){.block-content.formats[_ngcontent-%COMP%]{justify-content:center;gap:24px;grid-auto-flow:column;grid-auto-columns:minmax(144px,213px)}}.block-content.formats[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:16px;line-height:20px;color:#000;display:inline-flex;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;justify-content:center;align-items:center;padding:6px 20px;background-color:#f7f7f7;border-radius:4px}@media (max-width: 991.98px){.block-content.formats[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:18px;line-height:22px;height:44px;width:auto}}@media (hover: hover) and (pointer: fine){.block-content.formats[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:hover{transition:background-color .1s ease-out;color:#023d67;background-color:#deeff9}}.block-content.formats[_ngcontent-%COMP%]   span.active[_ngcontent-%COMP%]{transition:background-color .1s ease-out;background-color:#cde8fe;color:#023d67}']}),Oe})()},4571:(ct,ce,a)=>{a.d(ce,{A:()=>N});var e=a(7019),d=a(8181),X=a(1413),x=a(7468),O=a(8101),V=a(6697),p=a(8999),$=a(8207),E=a(1504),s=a(174),I=a(1180),W=a(4871),G=a(1636),B=a(177),J=a(5979),z=a(3432),w=a(5116),U=a(430),Z=a(8526),H=a(7985);function j(te,ie){if(1&te){const re=e.RV6();e.j41(0,"app-model-card",4),e.bIt("selectedStateChange",function(){const Mt=e.eBV(re).index,wt=e.XpG();return e.Njj(wt.check(Mt))}),e.nI1(1,"async"),e.k0s()}if(2&te){const re=ie.$implicit,Ee=ie.index,Re=e.XpG();e.Y8G("model",re)("modelLoading",Re.loading)("hideStaticBookmark",Re.isBookMarkQuery)("selectedState",Re.modelChecked[Ee])("searchHash",null==Re.response||null==Re.response.data?null:Re.response.data.search_hash)("searchImpressionId",null==Re.response||null==Re.response.data?null:Re.response.data.search_impression_
17id)("modelPosition",Re.metric.getModelPosition(Ee,Re.MODELS_PER_PAGE,Re.route.snapshot.queryParamMap.get("page")))("referrerUrl",e.bMT(1,9,Re.searchByImageService.imageData)?Re.referrerUrl.SEARCH_BY_PICTURE:Re.userSlug?Re.referrerUrl.USER_PAGE:Re.referrerUrl.CATALOG)("activeImage",Re.getUrlByModelSlug(null==re?null:re.slug))}}function F(te,ie){1&te&&(e.j41(0,"div",5)(1,"div"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div"),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"div"),e.nrm(8,"img",6),e.nI1(9,"translate"),e.k0s()()),2&te&&(e.R7$(2),e.JRh(e.bMT(3,3,"models.info.noResult1")),e.R7$(3),e.JRh(e.bMT(6,5,"models.info.noResult2")),e.R7$(3),e.FS9("alt",e.bMT(9,7,"models.info.noResult1")))}function ue(te,ie){1&te&&(e.j41(0,"div",5)(1,"div"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div"),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"div"),e.nrm(8,"img",7),e.nI1(9,"translate"),e.k0s()()),2&te&&(e.R7$(2),e.JRh(e.bMT(3,3,"models.info.noResult21")),e.R7$(3),e.JRh(e.bMT(6,5,"models.info.noResult22")),e.R7$(3),e.FS9("alt",e.bMT(9,7,"models.info.noResult21")))}function ae(te,ie){1&te&&(e.j41(0,"div",5)(1,"div"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"div"),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"div"),e.nrm(8,"img",8),e.nI1(9,"translate"),e.k0s()()),2&te&&(e.R7$(2),e.JRh(e.bMT(3,3,"models.info.noResult31")),e.R7$(3),e.JRh(e.bMT(6,5,"models.info.noResult32")),e.R7$(3),e.FS9("alt",e.bMT(9,7,"models.info.noResult31")))}let N=(()=>{var te;class ie{constructor(Ee,Re,Mt,wt,At,Et,It,bt,st,ne,fe,le,Ue,Fe,nt){this.modelsListService=Ee,this.sharedGlobalDataService=Re,this.sharedModelsDataService=Mt,this.subscribeHandlerService=wt,this.modelsCategoriesService=At,this.route=Et,this.router=It,this.filterModelsService=bt,this.elem=st,this.metric=ne,this.seoHandlerService=fe,this.translate=le,this.viewContainerRef=Ue,this.searchByImageService=Fe,this.sky=nt,this.navigationEndStream=(0,e.WQX)(I.NC),this.unsubscriber=new X.B,this.dinamicComponentsArray=[],this.MODELS_PER_PAGE=this.sharedModelsDataService.MODELS_PER_PAGE,this.referrerUrl=E.FW,this.models=new Array(this.MODELS_PER_PAGE),this.modelsResultCount=0,this.lkFilter=d.VA,this.modelChecked=[],this.isBookMarkQuery=!1,this.searchImage="",this.resetFromMainMenu=!1,this.newSearchImage="",this.loading=new $.I,this.loadingFiltersIndicator=new $.I,this.userSlug=null,this.isProfile=!1,this.loading.isLoading=!0}processModels(){const Ee=this.models.length;this.models=new Array(0===Ee?this.MODELS_PER_PAGE:Ee),this.subscribeHandlerService.takeOne(this.modelsListService.getModels(),Re=>{this.response=Re,this.processVars(),this.sendModelsIndexStat(Re),this.userSlug||this.prepareSeo(Re)},this.loading)}sendModelsIndexStat(Ee){const Re=this.modelsListService.modelRequest;this.subscribeHandlerService.takeOne(this.metric.sendIndexStat(E.Bx.MODELS_INDEX,{query:Re.query??"",order:Re.order??d.Qf.RELEVANCE,tag:Re.tag??"",types:Re.types??"",categories:Re.categories??"",[p.K.STYLES]:Re[p.K.STYLES]??"",[p.K.RENDERS]:Re[p.K.RENDERS]??"",[p.K.FORMATS]:Re[p.K.FORMATS]??"",[p.K.FORMS]:Re[p.K.FORMS]??"",[p.K.COLORS]:Re[p.K.COLORS]??"",[p.K.MATERIALS]:Re[p.K.MATERIALS]??"",[d.VA.IS_BOOKMARKED]:!!Re[d.VA.IS_BOOKMARKED],[d.VA.IS_PURCHASED]:!!Re[d.VA.IS_PURCHASED],[d.VA.IS_SUBSCRIPTIONS]:!!Re[d.VA.IS_SUBSCRIPTIONS],[d.VA.IS_MODELS_IN_GALLERY]:!!Re[d.VA.IS_MODELS_IN_GALLERY],[d.VA.IS_AI]:!!Re[d.VA.IS_AI],page:Ee.data.page,per_page:Ee.data.per_page,hits_total:Ee.data.total_value,search_hash:Ee.data.search_hash,search_impression_id:Ee.data.search_impression_id}),()=>{})}processVars(){this.data=this.response.data,this.models=this.response.data.models,this.modelChecked=[],this.models.forEach(()=>this.modelChecked.push({checked:!1,disabled:!1,loadingState:new $.I})),this.sharedModelsDataService.modelsModeratorCheckedSource.next([]),this.sharedModelsDataService.allModelSlugInCurrentCatalogPage=this.models.map(Re=>Re.slug),this.pageNum=this.response.data.page,this.modelsResultCount=this.response.data.total_value;const Ee=this.route.snapshot.queryParams;this.modelsResultCode="";for(const[Re,Mt]of Object.entries(Ee))switch(Re){case d.VA.IS_BOOKMARKED:this.modelsResultCode="true"===Mt?d.VA.IS_BOOKMARKED:"";break;case d.VA.IS_PURCHASED:this.modelsResultCode="true"===Mt?d.VA.IS_PURCHASED:""}0===this.modelsResultCount?this.elem.nativeElement.classList.add("empty-list"):this.elem.nativeElement.classList.remove("empty-list"),this.sharedModels
17DataService.setModelsResultCount(this.response.data.total_value)}check(Ee){this.sharedModelsDataService.setModelsModeratorChecked(this.models[Ee].slug)}getCatsAndFilters(Ee){this.subscribeHandlerService.takeOne((0,x.p)([this.modelsCategoriesService.getCats(Ee),this.filterModelsService.getFilterModels(Ee)]),Re=>{const Mt=this.route.snapshot.queryParamMap.getAll("cat"),wt=this.route.snapshot.queryParamMap.getAll("subcat"),At={...this.modelsListService.getQueryModelsJson()};this.sharedModelsDataService.setModelsCatsObj(Re[0].data);const Et=Array.isArray(At.cat)?At.cat[0]:At.cat;Mt.length>0&&!Mt.some(It=>[...this.modelsCategoriesService.catsSource.getValue()].map(bt=>bt.slug).includes(It))||wt.length>0&&!wt.some(It=>[...this.modelsCategoriesService.subCatsSource.getValue()].map(bt=>bt.slug).includes(It))?location.href="/404":(Et&&!At.subcat&&(At.categories=Re[0].data.find(It=>It.slug===At.cat).children.map(It=>It.slug)),At.user_slug=Ee,this.sharedModelsDataService.setModelsJSON(At),this.sharedModelsDataService.setRefreshModelsList(!0,!0))},this.loadingFiltersIndicator)}ngOnInit(){this.searchImage=this.route.snapshot.queryParamMap.get(W.I),this.subscribeHandlerService.subjectSubscribe(this.navigationEndStream,()=>{if(this.newSearchImage=this.route.snapshot.queryParamMap.get(W.I),this.resetFromMainMenu&&this.newSearchImage&&(this.searchImage=this.newSearchImage,this.newSearchImage="",this.resetFromMainMenu=!1),history.state?.resetQuery&&(this.searchByImageService.dropImage(),this.modelsListService.clearFilters(!0,!1),this.resetFromMainMenu=!0),this.searchImage){const Ee=this.viewContainerRef.createComponent(W.i);this.dinamicComponentsArray.push(Ee),Ee.instance.requestComplete.subscribe(()=>{this.dinamicComponentsArray.forEach(Re=>Re.destroy()),this.dinamicComponentsArray=[]}),Ee.instance.makeRequest(this.searchImage),this.searchImage=""}else{const Ee={...this.modelsListService.getQueryModelsJson()};this.isBookMarkQuery=!!this.route.snapshot.queryParamMap.get(d.VA.IS_BOOKMARKED),this.sharedModelsDataService.modelsCatsObj.pipe((0,V.s)(1)).subscribe(Re=>{const Mt=Array.isArray(Ee.cat)?Ee.cat[0]:Ee.cat;Mt&&!Ee.subcat&&(Ee.categories=Re.find(wt=>wt.slug===Mt).children.map(wt=>wt.slug)),this.sharedModelsDataService.setModelsJSON(Ee),this.sharedModelsDataService.setRefreshModelsList(!0,!1),this.processModels()})}},this.unsubscriber),this.getCatsAndFilters(this.userSlug),this.subscribeHandlerService.subjectSubscribe(this.sharedModelsDataService.modelsModeratorPanel,Ee=>{this.moderatorItem=Ee},this.unsubscriber),this.subscribeHandlerService.subjectSubscribe(this.sharedModelsDataService.modelsModeratorChecked,Ee=>{this.models.forEach((Re,Mt)=>{this.modelChecked[Mt].checked=!!Re&&Ee.includes(Re.slug)})},this.unsubscriber),this.userSlug||this.setStaticSeo()}prepareSeo(Ee){const Re=this.route.snapshot.queryParamMap.get(O.K.cat),Mt=this.route.snapshot.queryParamMap.getAll(O.K.subcat);let wt=this.translate.transform("models.seo.title"),At=this.translate.transform("models.seo.description"),Et=location.origin+location.pathname;if(Re&&1===Mt.length){let bt=this.modelsCategoriesService.catsSource.value.find(ne=>ne.slug===Re),st=this.modelsCategoriesService.subCatsSource.value.find(ne=>ne.slug===Mt[0]);bt=this.sky?bt.titleEn:bt.title,st=this.sky?st.titleEn:st.title,wt+=` - ${bt} / ${st}`,At=this.translate.transform("models.seo.descriptionWithCategory",[{"@@cat":bt,"@@subcat":st}]),Et+=`?${O.K.cat}=${Re}&${O.K.subcat}=${Mt[0]}`}this.seoHandlerService.updateCanonical(Et);const It=this.seoHandlerService.handleSchemaModels(Ee.data.models);this.seoHandlerService.setMetaTags(wt,At),this.seoHandlerService.setSchema({"@type":"ItemList","@context":"https://schema.org",name:wt,description:At,numberOfItems:Ee.data.models.length,url:Et,itemListElement:It})}setStaticSeo(){const Ee=this.translate.transform("models.seo.title"),Re=this.translate.transform("models.seo.description"),Mt=location.origin+location.pathname,wt=this.translate.transform("models.seo.imageAlt"),At=`${location.origin}/ng-assets/seo/catalog/main-${this.sky?"en":"ru"}.jpg`;this.seoHandlerService.setMetaTags(Ee,Re,[{name:"twitter:image",content:At},{name:"twitter:image:alt",content:wt},{property:"og:image",content:At},{property:"og:image:alt",content:wt},{property:"og:url",content:Mt}])}trackByModel(Ee,Re){return Re?.slug??Ee}getUrlByModelSlug(Ee){if(Ee&&this.searchByImageService.imageDTO.length>0)return this.searchByImageService.imageDTO.find(Re=>Re.slug===Ee)?.url}
17ngOnDestroy(){this.sharedModelsDataService.allModelSlugInCurrentCatalogPage=[],this.unsubscriber.next(),this.isProfile||this.searchByImageService.dropImage(),this.elem.nativeElement.classList.remove("empty-list"),this.modelsListService.clearFilters(!0,!1),this.userSlug||this.seoHandlerService.resetMetaTags(),this.dinamicComponentsArray.forEach(Ee=>Ee.destroy()),this.dinamicComponentsArray=[],this.searchImage=""}}return(te=ie).\u0275fac=function(Ee){return new(Ee||te)(e.rXU(d.cO),e.rXU(J.o),e.rXU(z.n),e.rXU(w.e),e.rXU(O.W),e.rXU(U.nX),e.rXU(U.Ix),e.rXU(p.q),e.rXU(e.aKT),e.rXU(E.oB),e.rXU(Z.T),e.rXU(s.D),e.rXU(e.c1b),e.rXU(H.I),e.rXU(I.ef))},te.\u0275cmp=e.VBU({type:te,selectors:[["app-models-list"]],inputs:{loading:"loading",loadingFiltersIndicator:"loadingFiltersIndicator",userSlug:"userSlug",isProfile:"isProfile"},standalone:!0,features:[e.aNF],decls:6,vars:5,consts:[[1,"row"],[1,"col-12","list-container"],[3,"model","modelLoading","hideStaticBookmark","selectedState","searchHash","searchImpressionId","modelPosition","referrerUrl","activeImage","selectedStateChange",4,"ngFor","ngForOf","ngForTrackBy"],["class","col-12 desert",4,"ngIf"],[3,"model","modelLoading","hideStaticBookmark","selectedState","searchHash","searchImpressionId","modelPosition","referrerUrl","activeImage","selectedStateChange"],[1,"col-12","desert"],["src","/ng-assets/images/desert.svg",3,"alt"],["src","/ng-assets/images/desertB.svg",3,"alt"],["src","/ng-assets/images/desertP.svg",3,"alt"]],template:function(Ee,Re){1&Ee&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,j,2,11,"app-model-card",2),e.k0s(),e.DNE(3,F,10,9,"div",3),e.DNE(4,ue,10,9,"div",3),e.DNE(5,ae,10,9,"div",3),e.k0s()),2&Ee&&(e.R7$(2),e.Y8G("ngForOf",Re.models)("ngForTrackBy",Re.trackByModel),e.R7$(1),e.Y8G("ngIf",0==Re.modelsResultCount&&""==Re.modelsResultCode),e.R7$(1),e.Y8G("ngIf",0==Re.modelsResultCount&&Re.modelsResultCode==Re.lkFilter.IS_BOOKMARKED),e.R7$(1),e.Y8G("ngIf",0==Re.modelsResultCount&&Re.modelsResultCode==Re.lkFilter.IS_PURCHASED))},dependencies:[G.N,B.MD,B.Sq,B.bT,B.Jj,s.D],styles:["[_nghost-%COMP%]{display:block}@media (min-width: 1200px){[_nghost-%COMP%]{padding-top:16px}}@media (max-width: 1199.98px){[_nghost-%COMP%]{padding-top:8px}}[_nghost-%COMP%]   .list-container[_ngcontent-%COMP%]{display:grid;gap:48px 24px}@media (min-width: 768px){[_nghost-%COMP%]   .list-container[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}}@media (max-width: 767.98px){[_nghost-%COMP%]   .list-container[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,minmax(156px,1fr))}}[_nghost-%COMP%]   .desert[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:86px}[_nghost-%COMP%]   .desert[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(1){color:#000;font-weight:500;font-size:24px;line-height:36px}[_nghost-%COMP%]   .desert[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(2){margin-top:24px;color:#757575;max-width:315px;font-size:20px;line-height:30px}[_nghost-%COMP%]   .desert[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(3){margin-top:48px}.empty-list[_nghost-%COMP%]{position:sticky;top:0}"]}),ie})()},9521:(ct,ce,a)=>{a.d(ce,{p:()=>ht});var e=a(430),d=a(1413),X=a(4412),x=a(9417),O=a(177),V=a(174),p=a(7019),$=a(3432),E=a(5116);const s=function(){return[]},I=function(me){return{page:me}};function W(me,et){if(1&me&&(p.j41(0,"a",13),p.EFF(1),p.nI1(2,"translate"),p.k0s()),2&me){const we=p.XpG();p.Y8G("routerLink",p.lJ4(5,s))("queryParams",p.eq3(6,I,we.currPage+1)),p.R7$(1),p.SpI(" ",p.bMT(2,3,"models.paginator.next")," ")}}const G=function(){return{padding:"0 20px"}};function B(me,et){if(1&me&&(p.qex(0),p.j41(1,"a",14),p.EFF(2),p.nI1(3,"translate"),p.k0s(),p.bVm()),2&me){const we=p.XpG();p.R7$(1),p.Y8G("routerLink",p.lJ4(6,s))("queryParams",p.eq3(7,I,we.currPage-1))("ngStyle",p.lJ4(9,G)),p.R7$(1),p.JRh(p.bMT(3,4,"models.paginator.back"))}}function J(me,et){if(1&me&&(p.j41(0,"a",18),p.EFF(1),p.k0s()),2&me){const we=p.XpG().$implicit;p.Y8G("routerLink",p.lJ4(3,s))("queryParams",p.eq3(4,I,we)),p.R7$(1),p.JRh(we)}}const z=function(me){return{"@@pages":me}},w=function(me){return[me]};function U(me,et){if(1&me){const we=p.RV6();p.j41(0,"div",19)(1,"form",20),p.bIt("ngSubmit",function(){p.eBV(we);const de=p.XpG(3);return p.Njj(de.next(de.paginatorForm.controls.paginatorControl.value))}),p.j41(2,"input",21),p.bIt("focusin",function(){p.eBV(we);const de=p.XpG(3);return p.Njj(de.storeOldValue())})("focusout",function(){p.eBV(we);const de=p.XpG(3);return p.Njj(de.restoreOldValue())}),p.k0s()(),p.j41(3,"div",22),p.EFF(4),p.nI1(5,"translate"),p.k0s()()}if(2&me){const we=p.XpG(3);p.R7$(1),p.Y8G("formGroup",we.paginatorForm),p.R7$(1),p.xc7("width",10*we.inputLength+25+"px"),p.R7$(2),p.JRh(p.i5U(5,4,"models.paginator.pages",p.eq3(9,w,p.eq3(7,z,we.pages))))}}function Z(me,et){if(1&me&&(p.qex(0),p.DNE(1,J,2,6,"a",16),p.DNE(2,U,6,11,"div",17),p.bVm()),2&me){const we=et.$implicit,Ae=p.XpG(2);p.R7$(1),p.Y8G("ngIf",we<=Ae.pages&&we!=Ae.currPage),p.R7$(1),p.Y8G("ngIf",we==Ae.currPage)}}const H=function(){return[1,2,3,4,5,6]};function j(me,et){1&me&&(p.qex(0),p.DNE(1,Z,3,2,"ng-container",15),p.bVm()),2&me&&(p.R7$(1),p.Y8G("ngForOf",p.lJ4(1,H)))}function F(me,et){if(1&me&&(p.j41(0,"a",18),p.EFF(1),p.k0s()),2&me){const we=p.XpG().$implicit;p.Y8G("routerLink",p.lJ4(3,s))("queryParams",p.eq3(4,I,we)),p.R7$(1),p.JRh(we)}}function ue(me,et){if(1&me){const we=p.RV6();p.j41(0,"div",19)(1,"form",20),p.bIt("ngSubmit",function(){p.eBV(we);const de=p.XpG(3);return p.Njj(de.next(de.paginatorForm.controls.paginatorControl.value))}),p.j41(2,"input",21),p.bIt("focusin",function(){p.eBV(we);const de=p.XpG(3);return p.Njj(de.storeOldValue())})("focusout",function(){p.eBV(we);const de=p.XpG(3);return p.Njj(de.restoreOldValue())}),p.k0s()(),p.j41(3,"div",22),p.EFF(4),p.nI1(5,"translate"),p.k0s()()}if(2&me){const we=p.XpG(3);p.R7$(1),p.Y8G("formGroup",we.paginatorForm),p.R7$(1),p.xc7("width",10*we.inputLength+25+"px"),p.R7$(2),p.JRh(p.i5U(5,4,"models.paginator.pages",p.eq3(9,w,p.eq3(7,z,we.pages))))}}function ae(me,et){if(1&me&&(p.qex(0),p.DNE(1,F,2,6,"a",23),p.DNE(2,ue,6,11,"div",17),p.bVm()),2&me){const we=et.$implicit,Ae=p.XpG(2);p.R7$(1),p.Y8G("ngIf",we!=Ae.currPage),p.R7$(1),p.Y8G("ngIf",we==Ae.currPage)}}const N=function(){return{page:1}};function te(me,et){if(1&me&&(p.qex(0),p.j41(1,"a",18),p.EFF(2),p.k0s(),p.j41(3,"span"),p.EFF(4,"..."),p.k0s(),p.DNE(5,ae,3,2,"ng-container",15),p.bVm()),2&me){const we=p.XpG();p.R7$(1),p.Y8G("routerLink",p.lJ4(4,s))("queryParams",p.lJ4(5,N)),p.R7$(1),p.JRh(1),p.R7$(3),p.Y8G("ngForOf",we.range)}}function ie(me,et){if(1&me&&(p.qex(0),p.j41(1,"a",24),p.EFF(2),p.nI1(3,"translate"),p.k0s(),p.bVm()),2&me){const we=p.XpG();p.R7$(1),p.Y8G("routerLink",p.lJ4(6,s))("queryParams",p.eq3(7,I,we.currPage+1))("ngStyle",p.lJ4(9,G)),p.R7$(1),p.JRh(p.bMT(3,4,"models.paginator.forward"))}}function re(me,et){if(1&me&&(p.j41(0,"a",26),p.EFF(1),p.k0s()),2&me){const we=et.$implicit,Ae=p.XpG(3);p.AVh("active",we===Ae.currPage),p.Y8G("routerLink",p.lJ4(5,s))("queryParams",p.eq3(6,I,we)),p.R7$(1),p.JRh(we)}}function Ee(me,et){if(1&me&&(p.j41(0,"a",26),p.EFF(1,"1"),p.k0s(),p.j41(2,"span"),p.EFF(3,"..."),p.k0s(),p.DNE(4,re,2,8,"a",27)),2&me){const we=p.XpG(2);p.Y8G("routerLink",p.lJ4(3,s))("queryParams",p.lJ4(4,N)),p.R7$(4),p.Y8G("ngForOf",we.rangeMobile(we.currPage))}}function Re(me,et){if(1&me&&(p.j41(0,"a",26),p.EFF(1),p.k0s()),2&me){const we=p.XpG().$implicit,Ae=p.XpG(3);p.AVh("active",we===Ae.currPage),p.Y8G("routerLink",p.lJ4(5,s))("queryParams",p.eq3(6,I,we)),p.R7$(1),p.JRh(we)}}function Mt(me,et){if(1&me&&(p.qex(0),p.DNE(1,Re,2,8,"a",28),p.bVm()),2&me){const we=et.$implicit,Ae=p.XpG(3);p.R7$(1),p.Y8G("ngIf",we<=Ae.pages)}}const wt=function(){return[1,2,3,4,5,6,7,8]};function At(me,et){1&me&&p.DNE(0,Mt,2,1,"ng-container",15),2&me&&p.Y8G("ngForOf",p.lJ4(1,wt))}function Et(me,et){if(1&me&&(p.qex(0),p.DNE(1,Ee,5,5,"ng-template",25),p.DNE(2,At,1,2,"ng-template",25),p.bVm()),2&me){const we=p.XpG();p.R7$(1),p.Y8G("ngIf",we.currPage>4),p.R7$(1),p.Y8G("ngIf",we.currPage<5)}}function It(me,et){if(1&me&&(p.j41(0,"a",26),p.EFF(1),p.k0s()),2&me){const we=p.XpG().$implicit,Ae=p.XpG(2);p.AVh("active",we===Ae.currPage),p.Y8G("routerLink",p.lJ4(5,s))("queryParams",p.eq3(6,I,we)),p.R7$(1),p.JRh(we)}}function bt(me,et){if(1&me&&(p.qex(0),p.DNE(1,It,2,8,"a",28),p.bVm()),2&me){const we=et.$implicit,Ae=p.XpG(2);p.R7$(1),p.Y8G("ngIf",we<=Ae.pages)}}function st(me,et){1&me&&(p.qex(0),p.DNE(1,bt,2,1,"ng-container",15),p.bVm()),2&me&&(p.R7$(1),p.Y8G("ngForOf",p.lJ4(1,wt)))}function ne(me,et){if(1&me&&(p.j41(0,"a",26),p.EFF(1),p.k0s()),2&me){const we=et.$implicit,Ae=p.XpG(3);p.AVh("active",we===Ae.currPage),p.Y8G("routerLink",p.lJ4(5,s))("queryParams",p.eq3(6,I,we)),p.R7$(1),p.JRh(we)}}function fe(me,et){if(1&me&&(p.j41(0,"a",26),p.EFF(1,"1"),p.k0s(),p.j41(2,"span"),p.EFF(3,"..."),p.k0s(),p.DNE(4,ne,2,8,"a",27)),2&me){const we=p.XpG(2);p.Y8G("routerLink",p.lJ4(3,s))("queryParams",p.lJ4(4,N)),p.R7$(4),p.Y8G("ngForOf",we.rangeMobile(we.currPage))}}function le(me,et){if(1&me&&(p.j41(0,"a",26),p.EFF(1),p.k0s()),2&me){const we=p.XpG().$implicit,Ae=p.XpG(3);p.AVh("active",we===Ae.currPage),p.Y8G("routerLink",p.lJ4(5,s))("queryParams",p.eq3(6,I,we)),p.R7$(1),p.JRh(we)}}function Ue(me,et){if(1&me&&(p.qex(0),p.DNE(1,le,2,8,"a",28),p.bVm()),2&me){const we=et.$implicit,Ae=p.XpG(3);p.R7$(1),p.Y8G("ngIf",we<=Ae.pages)}}const Fe=function(){return[1,2,3,4,5]};function nt(me,et){1&me&&p.DNE(0,Ue,2,1,"ng-container",15),2&me&&p.Y8G("ngForOf",p.lJ4(1,Fe))}function _t(me,et){if(1&me&&(p.qex(0),p.DNE(1,fe,5,5,"ng-template",25),p.DNE(2,nt,1,2,"ng-template",25),p.bVm()),2&me){const we=p.XpG();p.R7$(1),p.Y8G("ngIf",we.currPage>4),p.R7$(1),p.Y8G("ngIf",we.currPage<5)}}function Ge(me,et){if(1&me&&(p.j41(0,"a",26),p.EFF(1),p.k0s()),2&me){const we=p.XpG().$implicit,Ae=p.XpG(2);p.AVh("active",we===Ae.currPage),p.Y8G("routerLink",p.lJ4(5,s))("queryParams",p.eq3(6,I,we)),p.R7$(1),p.JRh(we)}}function Ct(me,et){if(1&me&&(p.qex(0),p.DNE(1,Ge,2,8,"a",28),p.bVm()),2&me){const we=et.$implicit,Ae=p.XpG(2);p.R7$(1),p.Y8G("ngIf",we<=Ae.pages)}}function ze(me,et){1&me&&(p.qex(0),p.DNE(1,Ct,2,1,"ng-container",15),p.bVm()),2&me&&(p.R7$(1),p.Y8G("ngForOf",p.lJ4(1,Fe)))}const mt=function(me){return{"@@pagesCount":me}};function Ot(me,et){if(1&me&&(p.EFF(0),p.nI1(1,"translate")),2&me){const we=p.XpG();p.SpI("",p.i5U(1,1,"models.paginator.TotalPagePluralOne",p.eq3(6,w,p.eq3(4,mt,we.pages)))," ")}}function Qe(me,et){if(1&me&&(p.EFF(0),p.nI1(1,"translate")),2&me){const we=p.XpG();p.SpI("",p.i5U(1,1,"models.paginator.TotalPagePluralFew",p.eq3(6,w,p.eq3(4,mt,we.pages)))," ")}}function yt(me,et){if(1&me&&(p.EFF(0),p.nI1(1,"translate")),2&me){const we=p.XpG();p.SpI("",p.i5U(1,1,"models.paginator.TotalPagePluralMany",p.eq3(6,w,p.eq3(4,mt,we.pages)))," ")}}function ut(me,et){if(1&me&&(p.EFF(0),p.nI1(1,"translate")),2&me){const we=p.XpG();p.SpI("",p.i5U(1,1,"models.paginator.TotalPagePluralOther",p.eq3(6,w,p.eq3(4,mt,we.pages)))," ")}}let ht=(()=>{var me;
17class et{constructor(Ae,de,Te,Ie){this.sharedModelsDataService=Ae,this.route=de,this.subscribeHandlerService=Te,this.router=Ie,this.unsubscriber=new d.B,this.currPage=1,this.range=[],this.inputLength=1,this.paginatorForm=new x.gE({paginatorControl:new x.MJ(this.route.snapshot.queryParamMap.get("page")?+this.route.snapshot.queryParamMap.get("page"):1)}),this.isSubmit=!1,this.oldValue=1,this.modelsResultCount=0,this.itemsPerPage=60,this.initPaginator=new X.t(0),this.subscribeHandlerService.subjectSubscribe(this.paginatorForm.controls.paginatorControl.valueChanges,ye=>{(ye<1||0==+ye.toString().split("")[0])&&(ye=1),ye>this.pages&&(ye=+ye.toString().slice(0,ye.toString().length-1)),this.paginatorForm.controls.paginatorControl.setValue(+ye.toString().replace(/\D/g,""),{emitEvent:!1}),this.inputLength=this.paginatorForm.controls.paginatorControl.value.toString().length},this.unsubscriber)}storeOldValue(){this.isSubmit=!1,this.oldValue=this.paginatorForm.controls.paginatorControl.value}restoreOldValue(){this.isSubmit||this.paginatorForm.controls.paginatorControl.setValue(this.oldValue)}processPagination(){const Ae=this.route.snapshot.queryParamMap.get("page");this.currPage=Ae?+Ae:1,this.paginatorForm.controls.paginatorControl.setValue(this.currPage),this.sharedModelsDataService.setModelsJSON({page:this.currPage}),this.pages=this.modelsResultCount>0?Math.ceil(this.modelsResultCount/this.itemsPerPage):0,this.calcRange()}calcRange(){this.range=[];const Ae=this.pages,de=this.currPage;let Te=!1,ye=de-2,Ye=de+2;de-2<=0&&(ye=1,Ye=this.pages<5?this.pages:5,Te=!0),Ae-de<=2&&(Ye=Ae,!Te&&Ye>=(this.pages<5?this.pages:5)&&(ye=de-(4-(Ae-de))<=0?1:de-(4-(Ae-de))));for(let Oe=ye;Oe<=Ye;Oe++)this.range.push(Oe)}next(Ae){Ae<=0||Ae>this.pages||this.router.navigate([],{queryParamsHandling:"merge",queryParams:{page:Ae}}).then(()=>this.isSubmit=!0)}ngOnInit(){this.subscribeHandlerService.subjectSubscribe(this.initPaginator.asObservable(),Ae=>{this.modelsResultCount=Ae,this.processPagination()},this.unsubscriber)}ngOnDestroy(){this.unsubscriber.next()}rangeMobile(Ae){const de=[];for(let Te=Ae-1;Te<=Ae+1;Te++)Te<=this.pages&&Te>0&&de.push(Te);return de}}return(me=et).\u0275fac=function(Ae){return new(Ae||me)(p.rXU($.n),p.rXU(e.nX),p.rXU(E.e),p.rXU(e.Ix))},me.\u0275cmp=p.VBU({type:me,selectors:[["app-models-paginator"]],inputs:{itemsPerPage:"itemsPerPage",initPaginator:"initPaginator"},standalone:!0,features:[p.aNF],decls:20,vars:14,consts:[[1,"row"],[1,"col-12"],["queryParamsHandling","merge","class","more",3,"routerLink","queryParams",4,"ngIf"],[1,"pagination"],[4,"ngIf"],[1,"mobile-pagination"],[1,"mobile-pagination-md"],[1,"mobile-pagination-sm"],[3,"ngPlural"],["ngPluralCase","one"],["ngPluralCase","few"],["ngPluralCase","many"],["ngPluralCase","other"],["queryParamsHandling","merge",1,"more",3,"routerLink","queryParams"],["queryParamsHandling","merge","rel","prev",1,"not-real-a",3,"routerLink","queryParams","ngStyle"],[4,"ngFor","ngForOf"],["queryParamsHandling","merge","class","not-real-a",3,"routerLink","queryParams",4,"ngIf"],["style","margin: 0; position: relative",4,"ngIf"],["queryParamsHandling","merge",1,"not-real-a",3,"routerLink","queryParams"],[2,"margin","0","position","relative"],[3,"formGroup","ngSubmit"],["formControlName","paginatorControl","type","number",3,"focusin","focusout"],[1,"pages"],["class","not-real-a","queryParamsHandling","merge",3,"routerLink","queryParams",4,"ngIf"],["queryParamsHandling","merge","rel","next",1,"not-real-a",3,"routerLink","queryParams","ngStyle"],[3,"ngIf"],["queryParamsHandling","merge",3,"routerLink","queryParams"],["queryParamsHandling","merge",3,"active","routerLink","queryParams",4,"ngFor","ngForOf"],["queryParamsHandling","merge",3,"active","routerLink","queryParams",4,"ngIf"]],template:function(Ae,de){1&Ae&&(p.j41(0,"div",0)(1,"div",1),p.DNE(2,W,3,8,"a",2),p.j41(3,"div",3),p.DNE(4,B,4,10,"ng-container",4),p.DNE(5,j,2,2,"ng-container",4),p.DNE(6,te,6,6,"ng-container",4),p.DNE(7,ie,4,10,"ng-container",4),p.k0s(),p.j41(8,"div",5)(9,"div",6),p.DNE(10,Et,3,2,"ng-container",4),p.DNE(11,st,2,2,"ng-container",4),p.k0s(),p.j41(12,"div",7),p.DNE(13,_t,3,2,"ng-container",4),p.DNE(14,ze,2,2,"ng-container",4),p.k0s(),p.j41(15,"p",8),p.DNE(16,Ot,2,8,"ng-template",9),p.DNE(17,Qe,2,8,"ng-template",10),p.DNE(18,yt,2,8,"ng-template",11),p.DNE(19,ut,2,8,"ng-template",12),p.k0s()()()()),2&Ae&&(p.R7$(2),p.Y8G("ngIf",de.currPage<de.pages),p.R7$(1),p.xc7("margin-top",de.currPage<de.pages?"12px":""),p.R7$(1),p.Y8G("ngIf",1!=de.currPage),p.R7$(1),p.Y8G("ngIf",de.currPage<5||de.pages<7),p.R7$(1),p.Y8G("ngIf",de.currPage>4&&de.pages>6),p.R7$(1),p.Y8G("ngIf",de.currPage!=de.pages),p.R7$(1),p.xc7("margin-top",de.currPage<de.pages?"24px":""),p.R7$(2),p.Y8G("ngIf",de.pages>=9),p.R7$(1),p.Y8G("ngIf",de.pages<9),p.R7$(2),p.Y8G("ngIf",de.pages>=5),p.R7$(1),p.Y8G("ngIf",de.pages<5),p.R7$(1),p.Y8G("ngPlural",de.pages))},dependencies:[O.MD,O.Sq,O.bT,O.B3,O.IJ,O.WO,e.iI,e.Wk,V.D,x.X1,x.qT,x.me,x.Q0,x.BC,x.cb,x.j4,x.JD],styles:["@media (min-width: 992px) and (max-width: 1399.98px){[_nghost-%COMP%] > div[_ngcontent-%COMP%]{margin-top:72px}}@media (max-width: 991.98px){[_nghost-%COMP%] > div[_ngcontent-%COMP%]{margin-top:48px}}@media (min-width: 1400px){[_nghost-%COMP%] > div[_ngcontent-%COMP%]{margin-top:60px}}.more[_ngcontent-%COMP%]{padding:12px;font-size:16px;line-height:20px;text-align:center;outline:none;background-color:#f4f4f4;width:100%;border-radius:4px;display:block;text-decoration:none;color:#4182aa;-webkit-user-select:none;user-select:none}@media (hover: hover) and (pointer: fine){.more[_ngcontent-%COMP%]:hover{color:#125884;background-color:#deeff9}}.more[_ngcontent-%COMP%]:active{background-color:#cde8fe;color:#023d67}.pagination[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:4px;font-size:16px;line-height:20px;color:#4182aa;height:36px;margin-bottom:22px}@media (max-width: 991.98px){.pagination[_ngcontent-%COMP%]{display:none}}.pagination[_ngcontent-%COMP%] > .not-real-a[_ngcontent-%COMP%]{display:inline-flex;justify-content:center;align-items:center;min-width:38px;height:36px;padding:0 14px;position:relative;text-decoration:none;border-radius:4px}@media (hover: hover) and (pointer: fine){.pagination[_ngcontent-%COMP%] > .not-real-a[_ngcontent-%COMP%]:hover{background-color:#f4f4f4;color:#4182aa!important}}.pagination[_ngcontent-%COMP%] > .not-real-a[_ngcontent-%COMP%]:active{color:#4182aa!important}.pagination[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{color:#000;border:1px solid #B0B0B0;border-radius:4px;min-width:38px;min-height:36px;text-align:center;padding:0;-webkit-appearance:none;appearance:none;-moz-appearance:textfield!important}.pagination[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-webkit-outer-spin-button, .pagination[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-webkit-inner-spin-button{display:none}.pagination[_ngcontent-%COMP%]   .pages[_ngcontent-%COMP%]{position:absolute;font-size:12px;line-height:14px;white-space:nowrap;color:#b9b9b9;display:inline-block;left:50%;transform:translate(-50%);top:calc(100% + 8px)}.mobile-pagination[_ngcontent-%COMP%]{text-align:center}.mobile-pagination[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;outline:none;border:none;font-size:16px;line-height:20px;padding:0 17px;letter-spacing:-.01em;border-radius:50px;min-height:44px;min-width:44px}.mobile-pagination[_ngcontent-%COMP%]   a.active[_ngcontent-%COMP%]{color:#125884;background-color:#f4f4f4}.mobile-pagination[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.active){color:#4182aa}.mobile-pagination[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#b9b9b9;font-size:12px;line-height:14px;text-align:center;margin:24px 0 0}.mobile-pagination[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{align-self:center;font-size:16px;line-height:20px;letter-spacing:-.01em;color:#4182aa}@media (min-width: 992px){.mobile-pagination[_ngcontent-%COMP%]{display:none}}.mobile-pagination-md[_ngcontent-%COMP%]{display:none}@media (min-width: 768px) and (max-width: 991.98px){.mobile-pagination-md[_ngcontent-%COMP%]{display:inline-flex;gap:8px}}.mobile-pagination-sm[_ngcontent-%COMP%]{display:none}@media (max-width: 767.98px){.mobile-pagination-sm[_ngcontent-%COMP%]{display:inline-flex;gap:8px}}"]}),et})()},3877:(ct,ce,a)=>{a.d(ce,{a:()=>cr,p:()=>Zr});var e=a(7019),d=a(3432),X=a(430),x=a(647),O=a(5979),V=a(9417),p=a(8181),$=a(4678),E=a(1180),s=a(7985),I=a(2128),W=a(177),G=a(174),B=a(3812),J=a(1413),z=a(8810),w=a(9437),U=a(4039),Z=a(8207),H=a(5116),j=a(6069);const F=["success"];function ue(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"button",4),e.bIt("click",function(){e.eBV(be);const qe=e.XpG();return e.Njj(qe.initModeratorPanel())}),e.qSk(),e.j41(1,"svg",5),e.nrm(2,"path",6),e.k0s()()}}function ae(Me,Dt){if(1&Me&&(e.EFF(0),e.nI1(1,"async")),2&Me){const be=e.XpG(2);
17e.SpI("",e.bMT(1,1,be.sharedModelsDataService.modelsModeratorChecked).length," \u043c\u043e\u0434\u0435\u043b\u044c")}}function N(Me,Dt){if(1&Me&&(e.EFF(0),e.nI1(1,"async")),2&Me){const be=e.XpG(2);e.SpI("",e.bMT(1,1,be.sharedModelsDataService.modelsModeratorChecked).length," \u043c\u043e\u0434\u0435\u043b\u0438")}}function te(Me,Dt){if(1&Me&&(e.EFF(0),e.nI1(1,"async")),2&Me){const be=e.XpG(2);e.SpI("",e.bMT(1,1,be.sharedModelsDataService.modelsModeratorChecked).length," \u043c\u043e\u0434\u0435\u043b\u0435\u0439 ")}}function ie(Me,Dt){if(1&Me&&(e.EFF(0),e.nI1(1,"async")),2&Me){const be=e.XpG(2);e.SpI("",e.bMT(1,1,be.sharedModelsDataService.modelsModeratorChecked).length," \u043c\u043e\u0434\u0435\u043b\u0435\u0439 ")}}function re(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"li",31),e.bIt("click",function(){const kt=e.eBV(be).$implicit,qt=e.XpG(2).$implicit,en=e.XpG(3);return e.Njj(en.setCat(qt,kt))}),e.j41(1,"span"),e.EFF(2),e.k0s()()}if(2&Me){const be=Dt.$implicit,je=e.XpG(5);e.AVh("selected-subcat",be.title==je.selectedSubcat),e.R7$(2),e.SpI(" ",be.title," ")}}function Ee(Me,Dt){if(1&Me&&(e.j41(0,"ul",29),e.DNE(1,re,3,3,"li",30),e.k0s()),2&Me){const be=e.XpG().$implicit;e.R7$(1),e.Y8G("ngForOf",be.children)}}function Re(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"li",27),e.bIt("mouseenter",function(){const kt=e.eBV(be).$implicit,qt=e.XpG(3);return e.Njj(qt.processSubCatsSelect(kt.slug))}),e.j41(1,"span"),e.EFF(2),e.k0s(),e.DNE(3,Ee,2,1,"ul",28),e.k0s()}if(2&Me){const be=Dt.$implicit,je=e.XpG(3);e.AVh("selectedCat",be.slug==je.selectedCat),e.R7$(2),e.JRh(be.title),e.R7$(1),e.Y8G("ngIf",je.showSubcatsSelect===be.slug)}}function Mt(Me,Dt){if(1&Me){const be=e.RV6();e.qSk(),e.joV(),e.j41(0,"ul",25),e.bIt("mouseleave",function(){e.eBV(be);const qe=e.XpG(2);return e.Njj(qe.isCatsOpened=!1)}),e.DNE(1,Re,4,4,"li",26),e.k0s()}if(2&Me){const be=e.XpG(2);e.R7$(1),e.Y8G("ngForOf",be.cats)}}function wt(Me,Dt){if(1&Me){const be=e.RV6();e.qex(0),e.j41(1,"div")(2,"app-checkbox-container",7),e.bIt("clickEvent",function(){e.eBV(be);const qe=e.XpG();return e.Njj(qe.checkAll())}),e.qex(3,8),e.nI1(4,"async"),e.DNE(5,ae,2,3,"ng-template",9),e.DNE(6,N,2,3,"ng-template",10),e.DNE(7,te,2,3,"ng-template",11),e.DNE(8,ie,2,3,"ng-template",12),e.bVm(),e.k0s(),e.j41(9,"button",13,14)(11,"button",15),e.bIt("click",function(){e.eBV(be);const qe=e.XpG();return e.Njj(qe.isCatsOpened=!qe.isCatsOpened)})("blur",function(){e.eBV(be);const qe=e.sdS(10),kt=e.XpG();return e.Njj(kt.checkOpenedCats(qe))}),e.j41(12,"span"),e.EFF(13),e.k0s(),e.qSk(),e.j41(14,"svg",16),e.nrm(15,"path",17),e.k0s()(),e.DNE(16,Mt,2,1,"ul",18),e.k0s(),e.joV(),e.j41(17,"button",19),e.bIt("click",function(){e.eBV(be);const qe=e.XpG();return e.Njj(qe.processChangeCat())}),e.EFF(18,"\u041f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c"),e.k0s()(),e.j41(19,"button",20),e.bIt("click",function(){e.eBV(be);const qe=e.XpG();return e.Njj(qe.inShowCase())}),e.EFF(20,"\u041d\u0430 \u0432\u0438\u0442\u0440\u0438\u043d\u0443"),e.k0s(),e.j41(21,"button",21),e.bIt("click",function(){e.eBV(be);const qe=e.XpG();return qe.sharedModelsDataService.setModelsModeratorPanel(!1),e.Njj(qe.showModeratorPanel=!1)}),e.qSk(),e.j41(22,"svg",5),e.nrm(23,"circle",22)(24,"line",23)(25,"line",24),e.k0s()(),e.bVm()}if(2&Me){const be=e.XpG();e.R7$(2),e.Y8G("state",be.allSelectedState),e.R7$(1),e.Y8G("ngPlural",e.bMT(4,4,be.sharedModelsDataService.modelsModeratorChecked).length),e.R7$(10),e.SpI(" ",be.selectedSubcat?be.selectedSubcat:"\u0420\u0430\u0437\u0434\u0435\u043b \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f"," "),e.R7$(3),e.Y8G("ngIf",be.isCatsOpened)}}function At(Me,Dt){if(1&Me&&e.EFF(0),2&Me){const be=e.XpG(2);e.SpI("",be.movedModelsCount," \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0430")}}function Et(Me,Dt){if(1&Me&&e.EFF(0),2&Me){const be=e.XpG(2);e.SpI("",be.movedModelsCount," \u043c\u043e\u0434\u0435\u043b\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u043e")}}function It(Me,Dt){if(1&Me&&e.EFF(0),2&Me){const be=e.XpG(2);e.SpI("",be.movedModelsCount," \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u043e")}}function bt(Me,Dt){if(1&Me&&e.EFF(0),2&Me){const be=e.XpG(2);e.SpI("",be.movedModelsCount," \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u043e")}}function st(Me,Dt){if(1&Me&&(e.j41(0,"span",8),e.DNE(1,At,1,1,"ng-template",9),e.DNE(2,Et,1,1,"ng-template",10),e.DNE(3,It,1,1,"ng-template",11),e.DNE(4,bt,1,1,"ng-template",12),e.k0s(),e.EFF(5)),2&Me){const be=e.XpG();e.Y8G("ngPlural",be.movedModelsCount),e.R7$(5),e.SpI(" ",be.endSuccessText,"\n")}}const ne=function(Me){return{opened:Me}};let fe=(()=>{var Me;
17class Dt{constructor(je,qe,kt,qt,en,Pn,an){this.sharedModelsDataService=je,this.modelsListService=qe,this.subscribeHandlerService=kt,this.router=qt,this.route=en,this.popup=Pn,this.containerRef=an,this.unsubscriber=new J.B,this.showModeratorPanel=!1,this.showSubcatsSelect="",this.movedModelsCount=0,this.allSelectedState={checked:!1,disabled:!1,loadingState:new Z.I},this.endSuccessText="",this.isCatsOpened=!1,this.panelOpened=new e.bkB}ngOnInit(){this.subscribeHandlerService.subjectSubscribe(this.sharedModelsDataService.modelsCatsObj,je=>{this.cats=je},this.unsubscriber),this.subscribeHandlerService.subjectSubscribe(this.sharedModelsDataService.modelsModeratorChecked,je=>{this.allSelectedState.checked=je.length>0},this.unsubscriber)}processChangeCat(){this.selectedSubcatId&&this.sharedModelsDataService.modelsModeratorCheckedSource.value.length>0&&this.subscribeHandlerService.takeOne(this.modelsListService.changeModelsCat({modelSlugs:this.sharedModelsDataService.modelsModeratorCheckedSource.value,categoryId:this.selectedSubcatId}).pipe((0,w.W)(je=>this.handleError(je))),je=>{"Category was changed"===je.message&&(this.endSuccessText=`\u0432 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e \xab${this.selectedSubcat}\xbb`,this.onSuccessRequest())})}inShowCase(){this.sharedModelsDataService.modelsModeratorCheckedSource.value.length>0&&this.subscribeHandlerService.takeOne(this.modelsListService.addToShowCaseOrDelete({slugs:this.sharedModelsDataService.modelsModeratorCheckedSource.value,first:1}).pipe((0,w.W)(je=>this.handleError(je))),()=>{this.endSuccessText="\u043d\u0430 \u0432\u0438\u0442\u0440\u0438\u043d\u0443",this.onSuccessRequest()})}handleError(je){return this.popup.showGlobalError(this.containerRef),(0,z.$)(je)}onSuccessRequest(){this.movedModelsCount=this.sharedModelsDataService.modelsModeratorCheckedSource.getValue().length,this.popup.show(this.containerRef,this.success),this.showModeratorPanel=!1,this.sharedModelsDataService.setModelsModeratorPanel(!1),this.sharedModelsDataService.modelsModeratorCheckedSource.next([]),this.router.navigate([],{queryParams:this.route.snapshot.queryParams,onSameUrlNavigation:"reload"}).then()}initModeratorPanel(){this.showModeratorPanel=!0,this.selectedCat="",this.selectedSubcat=null,this.selectedSubcatId=null,this.sharedModelsDataService.setModelsModeratorPanel(!0)}processSubCatsSelect(je){clearTimeout(this.timeoutId),this.timeoutId=window.setTimeout(()=>{this.showSubcatsSelect=je},200)}setCat(je,qe){this.selectedSubcat=qe.title,this.selectedSubcatId=+qe.id,this.selectedCat=je.slug,this.isCatsOpened=!1}checkAll(){this.sharedModelsDataService.modelsModeratorCheckedSource.getValue().length>0?this.sharedModelsDataService.modelsModeratorCheckedSource.next([]):this.sharedModelsDataService.modelsModeratorCheckedSource.next(this.sharedModelsDataService.allModelSlugInCurrentCatalogPage)}checkOpenedCats(je){je.matches(":focus-within")||(this.isCatsOpened=!1)}ngOnDestroy(){this.sharedModelsDataService.modelsModeratorCheckedSource.next([]),this.sharedModelsDataService.setModelsModeratorPanel(!1),this.unsubscriber.next(),window.clearTimeout(this.timeoutId)}}return(Me=Dt).\u0275fac=function(je){return new(je||Me)(e.rXU(d.n),e.rXU(p.cO),e.rXU(H.e),e.rXU(X.Ix),e.rXU(X.nX),e.rXU(j.h),e.rXU(e.c1b))},Me.\u0275cmp=e.VBU({type:Me,selectors:[["app-models-moderator-panel"]],viewQuery:function(je,qe){if(1&je&&e.GBs(F,5),2&je){let kt;e.mGM(kt=e.lsd())&&(qe.success=kt.first)}},outputs:{panelOpened:"panelOpened"},standalone:!0,features:[e.aNF],decls:5,vars:6,consts:[[1,"moderator-panel"],["class","moderate-btn","appTooltip","\u041f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u0438",3,"click",4,"ngIf"],[4,"ngIf"],["success",""],["appTooltip","\u041f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u0438",1,"moderate-btn",3,"click"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M12.6318 2C13.0675 2 13.2858 2.00028 13.4629 2.07031C13.6878 2.15934 13.8726 2.32699 13.9834 2.54199C14.0707 2.71127 14.0925 2.92789 14.1357 3.36133C14.2177 4.18213 14.2589 4.59316 14.4307 4.81836C14.6486 5.10394 15.0033 5.251 15.3594 5.20312C15.64 5.16528 15.9591 4.90323 16.5977 4.38086C16.9353 4.10467 17.1045 3.96713 17.2861 3.90918C17.5165 3.8357 17.7655 3.84826 17.9873 3.94434C18.1622 4.0201 18.3167 4.17412 18.625 4.48242L19.5176 5.375C19.8258 5.68323 19.9799 5.83787 20.0557 6.0127C20.1517 6.23455 20.1643 6.48357 20.0908 6.71387C20.0328 6.89534 19.8942 7.0641 19.6182 7.40137C19.0958 8.03946 18.8349 8.35905 18.7969 8.63965C18.7489 8.99576 18.896 9.35039 19.1816 9.56836C19.4068 9.7401 19.8176 9.78112 20.6387 9.86328C21.0724 9.90669 21.2897 9.92921 21.459 10.0166C21.6737 10.1275 21.8408 
1710.3124 21.9297 10.5371C21.9998 10.7143 22 10.9323 22 11.3682V12.6318C22 13.0675 21.9997 13.2858 21.9297 13.4629C21.8407 13.6878 21.673 13.8726 21.458 13.9834C21.2887 14.0706 21.0721 14.0925 20.6387 14.1357C19.8181 14.2177 19.4078 14.259 19.1826 14.4307C18.8967 14.6486 18.7498 15.0031 18.7979 15.3594C18.8357 15.6399 19.0969 15.9594 19.6191 16.5977C19.8947 16.9345 20.0328 17.103 20.0908 17.2842C20.1645 17.5146 20.1518 17.7643 20.0557 17.9863C19.9799 18.1611 19.8257 18.316 19.5176 18.624L18.625 19.5166C18.3167 19.8249 18.1622 19.9789 17.9873 20.0547C17.7654 20.1508 17.5165 20.1633 17.2861 20.0898C17.1045 20.0319 16.9352 19.8943 16.5977 19.6182C15.9588 19.0956 15.6392 18.8336 15.3584 18.7959C15.0026 18.7483 14.6484 18.8953 14.4307 19.1807C14.2588 19.4059 14.2177 19.8166 14.1357 20.6377C14.0924 21.0714 14.0707 21.2886 13.9834 21.458C13.8725 21.6729 13.6877 21.8407 13.4629 21.9297C13.2856 21.9998 13.067 22 12.6309 22H11.3682C10.9323 22 10.7143 21.9998 10.5371 21.9297C10.3124 21.8408 10.1275 21.6737 10.0166 21.459C9.92921 21.2897 9.90669 21.0724 9.86328 20.6387C9.78112 19.8176 9.7401 19.4068 9.56836 19.1816C9.35039 18.896 8.99576 18.7489 8.63965 18.7969C8.35905 18.8349 8.03946 19.0958 7.40137 19.6182C7.0641 19.8942 6.89534 20.0328 6.71387 20.0908C6.48357 20.1643 6.23455 20.1517 6.0127 20.0557C5.83787 19.9799 5.68323 19.8258 5.375 19.5176L4.48242 18.625C4.17412 18.3167 4.0201 18.1622 3.94434 17.9873C3.84826 17.7655 3.8357 17.5165 3.90918 17.2861C3.96713 17.1045 4.10467 16.9353 4.38086 16.5977C4.90323 15.9591 5.16528 15.64 5.20312 15.3594C5.251 15.0033 5.10394 14.6486 4.81836 14.4307C4.59316 14.2589 4.18213 14.2177 3.36133 14.1357C2.92789 14.0925 2.71127 14.0707 2.54199 13.9834C2.32699 13.8726 2.15934 13.6878 2.07031 13.4629C2.00028 13.2858 2 13.0675 2 12.6318V11.3682C2 10.9323 2.00023 10.7143 2.07031 10.5371C2.15921 10.3124 2.32634 10.1275 2.54102 10.0166C2.71035 9.92922 2.9276 9.90669 3.36133 9.86328C4.18237 9.7811 4.59316 9.74021 4.81836 9.56836C5.10372 9.3505 5.25086 8.99645 5.20312 8.64062C5.16537 8.35987 4.90335 8.03991 4.38086 7.40137C4.10503 7.06427 3.96714 6.89531 3.90918 6.71387C3.83569 6.48354 3.84827 6.23456 3.94434 6.0127C4.02008 5.83785 4.17418 5.68324 4.48242 5.375L5.375 4.48242C5.68326 4.17417 5.83783 4.02009 6.0127 3.94434C6.23457 3.84823 6.48352 3.8357 6.71387 3.90918C6.89541 3.96713 7.06487 4.10482 7.40234 4.38086C8.04077 4.90307 8.35992 5.16444 8.64062 5.20215C8.99654 5.24992 9.3505 5.10287 9.56836 4.81738C9.74013 4.59218 9.78112 4.18199 9.86328 3.36133C9.9067 2.92763 9.92924 2.71034 10.0166 2.54102C10.1275 2.32633 10.3124 2.15921 10.5371 2.07031C10.7143 2.00025 10.9323 2 11.3682 2H12.6318ZM12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8Z","fill","currentColor"],[3,"state","clickEvent"],[3,"ngPlural"],["ngPluralCase","one"],["ngPluralCase","few"],["ngPluralCase","many"],["ngPluralCase","other"],[1,"sky-custom-select-small"],["parent",""],[3,"click","blur"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4 6L8 10L12 6","stroke","black","stroke-linecap","round"],["class","select-items-cats list-unstyled parent",3,"mouseleave",4,"ngIf"],[1,"sky-btn-rect","sky-btn-gray",3,"click"],[1,"sky-btn-rect","sky-btn-gray","show-case",3,"click"],[1,"close",3,"click"],["cx","12","cy","12","r","12","fill","#EFEFF0"],["x1","6","y1","6","x2","18","y2","18","stroke-width","2","stroke","currentColor","stroke-linecap","round"],["x1","6","y1","18","x2","18","y2","6","stroke-width","2","stroke","currentColor","stroke-linecap","round"],[1,"select-items-cats","list-unstyled","parent",3,"mouseleave"],[3,"selectedCat","mouseenter",4,"ngFor","ngForOf"],[3,"mouseenter"],["class","select-items-cats subcats list-unstyled",4,"ngIf"],[1,"select-items-cats","subcats","list-unstyled"],[3,"selected-subcat","click",4,"ngFor","ngForOf"],[3,"click"]],template:function(je,qe){1&je&&(e.j41(0,"div",0),e.DNE(1,ue,3,0,"button",1),e.DNE(2,wt,26,6,"ng-container",2),e.k0s(),e.DNE(3,st,6,2,"ng-template",null,3,e.C5r)),2&je&&(e.HbH(e.eq3(4,ne,qe.showModeratorPanel)),e.R7$(1),e.Y8G("ngIf",!qe.showModeratorPanel),e.R7$(1),e.Y8G("ngIf",qe.showModeratorPanel))},dependencies:[W.MD,W.Sq,W.bT,W.IJ,W.WO,W.Jj,B.d,U.S],styles:['[_nghost-%COMP%]{display:flex;height:-moz-fit-content;height:fit-content}@media (max-width: 991.98px){[_nghost-%COMP%]{width:100%}}@media (min-width: 992px) and (max-width: 1199.98px){[_nghost-%COMP%]{grid-column:span 2}}[_nghost-%COMP%]     .checkcontainer{padding-left:0;margin-bottom:0;color:var(--gray-1000)}.moderator-panel[_ngcontent-%COMP%]{display:flex;align-items:center;flex-grow:1}@media (min-width: 992px){.moderator-panel.opened[_ngcontent-%COMP%]{justify-content:space-between}}.moderator-panel.opened[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{display:flex;gap:24px;align-items:center}.moderate-btn[_ngcontent-%COMP%]{padding:6px;border:0;outline:0;background-color:#f4f4f4;border-radius:4px;color:#5e5e5e;line-height:0}@media (max-width: 1199.98px){.moderate-btn[_ngcontent-%COMP%]{margin-left:auto}}@media (pointer: fine) and (hover: hover){.moderate-btn[_ngcontent-%COMP%]:hover{color:#125884;background-color:var(--gray-300);transition:.2s ease-out}}.moderate-btn[_ngcontent-%COMP%]:active{background-color:var(--blue-200);color:#125884;transition:.2s ease-out}.sky-custom-select-small[_ngcontent-%COMP%]{border:0;border-radius:8px;padding:0;outline:none;text-decoration:none;background-color:inherit;display:inline-flex;align-items:center;cursor:pointer;position:relative}.sky-custom-select-small[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{background-color:inherit;outline:none;border:0;border-radius:8px;display:inline-flex;align-items:center;gap:4px;padding:8px}@media (pointer: fine) and (hover: hover){.sky-custom-select-small[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{background-color:var(--gray-300);transition:.2s ease-out}}.sky-custom-select-small[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--gray-1000);line-height:20px}@media (max-width: 991.98px){.sky-custom-select-small[_ngcontent-%COMP%]{display:none;pointer-events:none}.sky-custom-select-small[_ngcontent-%COMP%] ~ button[_ngcontent-%COMP%]{display:none}}.select-items-cats[_ngcontent-%COMP%]{color:#4182aa;background-color:#fff;border-radius:4px;border:1px solid #E0E0E0;position:absolute;padding:14px 0;z-index:300;white-space:nowrap;box-shadow:2px 2px 4px #0000001a}.select-items-cats.parent[_ngcontent-%COMP%]{top:100%;left:50%;transform:translate(-50%)}.select-items-cats[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:4px 76px 4px 22px}.select-items-cats[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover, .selectedCat[_ngcontent-%COMP%]{background-color:#4182aa1a;
17cursor:pointer}.select-items-cats[_ngcontent-%COMP%]:not(.subcats){border-top-right-radius:0;border-bottom-right-radius:0}.select-items-cats[_ngcontent-%COMP%]:not(.subcats) > li[_ngcontent-%COMP%]{position:relative}.select-items-cats[_ngcontent-%COMP%]:not(.subcats) > li[_ngcontent-%COMP%]:after{content:"\\eab8";font-family:IcoFont;-webkit-font-smoothing:antialiased;position:absolute;right:14px}.select-items-cats.subcats[_ngcontent-%COMP%]{position:absolute;top:0;left:100%;border-top-left-radius:0;border-bottom-left-radius:0}.select-items-cats.subcats[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding-right:44px}.selected-subcat[_ngcontent-%COMP%]{color:#4f4f4f;font-weight:500}@media (max-width: 991.98px){.show-case[_ngcontent-%COMP%]{margin-left:36px}}.close[_ngcontent-%COMP%]{padding:6px;border:0;outline:0;background-color:inherit;border-radius:4px;color:#8c8c8c;line-height:0}.close[_ngcontent-%COMP%]   circle[_ngcontent-%COMP%]{opacity:0}@media (max-width: 991.98px){.close[_ngcontent-%COMP%]{margin-left:auto}}@media (pointer: fine) and (hover: hover){.close[_ngcontent-%COMP%]:hover{color:#373737;background-color:var(--gray-300);transition:.2s ease-out}}.close[_ngcontent-%COMP%]:active{background-color:var(--blue-200);color:#373737;transition:.2s ease-out}.close[_ngcontent-%COMP%]:active   circle[_ngcontent-%COMP%]{opacity:.4}']}),Dt})();var le=a(4412),Ue=a(9974),Fe=a(4360),_t=a(6977),Ge=a(8999),Ct=a(5349),ze=a(7719),mt=a(8101);function Ot(Me,Dt){1&Me&&e.eu8(0)}function Qe(Me,Dt){if(1&Me&&(e.j41(0,"span",9),e.EFF(1),e.nI1(2,"langConverter"),e.k0s(),e.j41(3,"span",10),e.DNE(4,Ot,1,0,"ng-container",11),e.k0s()),2&Me){const be=e.XpG().$implicit;e.XpG(2);const je=e.sdS(2);e.R7$(1),e.SpI(" ",e.i5U(2,2,be.title,be.titleEn)," "),e.R7$(3),e.Y8G("ngTemplateOutlet",je)}}function yt(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div",7),e.bIt("click",function(){const kt=e.eBV(be).$implicit,qt=e.XpG(2);return e.Njj(qt.removeCategory(kt.id))}),e.DNE(1,Qe,5,5,"ng-template",8),e.k0s()}if(2&Me){const be=Dt.$implicit;e.R7$(1),e.Y8G("ngIf",be)}}function ut(Me,Dt){1&Me&&e.eu8(0)}function ht(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div",7),e.bIt("click",function(){const kt=e.eBV(be).$implicit,qt=e.XpG(2);return e.Njj(qt.removeType(kt.slug))}),e.j41(1,"span",9),e.EFF(2),e.k0s(),e.j41(3,"span",10),e.DNE(4,ut,1,0,"ng-container",11),e.k0s()()}if(2&Me){const be=Dt.$implicit,je=e.XpG(2),qe=e.sdS(2);e.R7$(2),e.SpI(" ",be.title[je.locale]," "),e.R7$(2),e.Y8G("ngTemplateOutlet",qe)}}function me(Me,Dt){1&Me&&e.eu8(0)}function et(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div",7),e.bIt("click",function(){const kt=e.eBV(be).$implicit,qt=e.XpG(2);return e.Njj(qt.removeMaterial(kt.id))}),e.j41(1,"span",9),e.EFF(2),e.nI1(3,"langConverter"),e.k0s(),e.j41(4,"span",10),e.DNE(5,me,1,0,"ng-container",11),e.k0s()()}if(2&Me){const be=Dt.$implicit;e.XpG(2);const je=e.sdS(2);e.R7$(2),e.SpI(" ",e.i5U(3,2,be.material,be.materialEn)," "),e.R7$(3),e.Y8G("ngTemplateOutlet",je)}}function we(Me,Dt){1&Me&&e.eu8(0)}function Ae(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div",7),e.bIt("click",function(){const kt=e.eBV(be).$implicit,qt=e.XpG(2);return e.Njj(qt.removeStyle(kt.id))}),e.j41(1,"span",9),e.EFF(2),e.nI1(3,"langConverter"),e.k0s(),e.j41(4,"span",10),e.DNE(5,we,1,0,"ng-container",11),e.k0s()()}if(2&Me){const be=Dt.$implicit;e.XpG(2);const je=e.sdS(2);e.R7$(2),e.SpI(" ",e.i5U(3,2,be.title,be.titleEn)," "),e.R7$(3),e.Y8G("ngTemplateOutlet",je)}}function de(Me,Dt){1&Me&&e.eu8(0)}function Te(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div",7),e.bIt("click",function(){const kt=e.eBV(be).$implicit,qt=e.XpG(2);return e.Njj(qt.removeRender(kt.id))}),e.j41(1,"span",9),e.EFF(2),e.k0s(),e.j41(3,"span",10),e.DNE(4,de,1,0,"ng-container",11),e.k0s()()}if(2&Me){const be=Dt.$implicit;e.XpG(2);const je=e.sdS(2);e.R7$(2),e.SpI(" ",be.title," "),e.R7$(2),e.Y8G("ngTemplateOutlet",je)}}function Ie(Me,Dt){1&Me&&e.eu8(0)}function ye(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div",7),e.bIt("click",function(){const kt=e.eBV(be).$implicit,qt=e.XpG(2);return e.Njj(qt.removeFormat(kt.id))}),e.j41(1,"span",9),e.EFF(2),e.k0s(),e.j41(3,"span",10),e.DNE(4,Ie,1,0,"ng-container",11),e.k0s()()}if(2&Me){const be=Dt.$implicit;e.XpG(2);const je=e.sdS(2);e.R7$(2),e.SpI(" ",be.title," "),e.R7$(2),e.Y8G("ngTemplateOutlet",je)}}function Ye(Me,Dt){1&Me&&e.eu8(0)}function Oe(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div",7),e.bIt("click",function(){const kt=e.eBV(be).$implicit,qt=e.XpG(2);return e.Njj(qt.removeColor(kt.id))}),e.nrm(1,"span",12),e.j41(2,"span",10),e.DNE(3,Ye,1,0,"ng-container",11),e.k0s()()}if(2&Me){const be=Dt.$implicit;e.XpG(2);const je=e.sdS(2);e.R7$(1),e.xc7("background-color",be.color),e.R7$(2),e.Y8G("ngTemplateOutlet",je)}}function Le(Me,Dt){1&Me&&e.eu8(0)}function ee(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div",7),e.bIt("click",function(){const kt=e.eBV(be).$implicit,qt=e.XpG(2);return e.Njj(qt.removeShape(kt.id))}),e.nrm(1,"span",13),e.nI1(2,"safeHtml"),e.j41(3,"span",10),e.DNE(4,Le,1,0,"ng-container",11),e.k0s()()}if(2&Me){const be=Dt.$implicit;e.XpG(2);const je=e.sdS(2);e.R7$(1),e.Y8G("innerHTML",e.bMT(2,2,be.htmlSvg),e.npT),e.R7$(3),e.Y8G("ngTemplateOutlet",je)}}function xe(Me,Dt){1&Me&&e.eu8(0)}function Ze(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div",7),e.bIt("click",function(){const kt=e.eBV(be).$implicit,qt=e.XpG(2);return e.Njj(qt.removeTag(kt))}),e.j41(1,"span",9),e.EFF(2),e.k0s(),e.j41(3,"span",10),e.DNE(4,xe,1,0,"ng-container",11),e.k0s()()}if(2&Me){const be=Dt.$implicit;e.XpG(2);const je=e.sdS(2);e.R7$(2),e.JRh(be),e.R7$(2),e.Y8G("ngTemplateOutlet",je)}}function Ke(Me,Dt){1&Me&&e.eu8(0)}function Vt(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div",7),e.bIt("click",function(){e.eBV(be);const qe=e.XpG(3);return e.Njj(qe.removeLk(qe.lkFilter.IS_BOOKMARKED))}),e.j41(1,"span",9),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",10),e.DNE(5,Ke,1,0,"ng-container",11),e.k0s()()}
17if(2&Me){e.XpG(3);const be=e.sdS(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"models.filters.favorites")," "),e.R7$(3),e.Y8G("ngTemplateOutlet",be)}}function gt(Me,Dt){1&Me&&e.eu8(0)}function Bt(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div",7),e.bIt("click",function(){e.eBV(be);const qe=e.XpG(3);return e.Njj(qe.removeLk(qe.lkFilter.IS_SUBSCRIPTIONS))}),e.j41(1,"span",9),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",10),e.DNE(5,gt,1,0,"ng-container",11),e.k0s()()}if(2&Me){e.XpG(3);const be=e.sdS(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"models.filters.subscriptions")," "),e.R7$(3),e.Y8G("ngTemplateOutlet",be)}}function Je(Me,Dt){1&Me&&e.eu8(0)}function on(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div",7),e.bIt("click",function(){e.eBV(be);const qe=e.XpG(3);return e.Njj(qe.removeLk(qe.lkFilter.IS_PURCHASED))}),e.j41(1,"span",9),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",10),e.DNE(5,Je,1,0,"ng-container",11),e.k0s()()}if(2&Me){e.XpG(3);const be=e.sdS(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"models.filters.purchases")," "),e.R7$(3),e.Y8G("ngTemplateOutlet",be)}}function On(Me,Dt){if(1&Me&&(e.qex(0),e.DNE(1,Vt,6,4,"div",5),e.DNE(2,Bt,6,4,"div",5),e.DNE(3,on,6,4,"div",5),e.bVm()),2&Me){const be=e.XpG(2);e.R7$(1),e.Y8G("ngIf",be.isBookmarked),e.R7$(1),e.Y8G("ngIf",be.isSubscriptions),e.R7$(1),e.Y8G("ngIf",be.isPurchased)}}function He(Me,Dt){1&Me&&e.eu8(0)}function Ft(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div",7),e.bIt("click",function(){e.eBV(be);const qe=e.XpG(2);return e.Njj(qe.removeLk(qe.lkFilter.IS_MODELS_IN_GALLERY))}),e.j41(1,"span",9),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",10),e.DNE(5,He,1,0,"ng-container",11),e.k0s()()}if(2&Me){e.XpG(2);const be=e.sdS(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"models.filters.modelsInGalleryChip")," "),e.R7$(3),e.Y8G("ngTemplateOutlet",be)}}function ke(Me,Dt){1&Me&&e.eu8(0)}function Se(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div",7),e.bIt("click",function(){e.eBV(be);const qe=e.XpG(2);return e.Njj(qe.removeLk(qe.lkFilter.IS_AI))}),e.j41(1,"span",9),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"span",10),e.DNE(5,ke,1,0,"ng-container",11),e.k0s()()}if(2&Me){e.XpG(2);const be=e.sdS(2);e.R7$(2),e.SpI(" ",e.bMT(3,2,"models.filters.aiChip")," "),e.R7$(3),e.Y8G("ngTemplateOutlet",be)}}function Ne(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div",2),e.DNE(1,yt,2,1,"div",3),e.nI1(2,"async"),e.DNE(3,ht,5,2,"div",3),e.DNE(4,et,6,5,"div",3),e.DNE(5,Ae,6,5,"div",3),e.DNE(6,Te,5,2,"div",3),e.DNE(7,ye,5,2,"div",3),e.DNE(8,Oe,4,3,"div",3),e.DNE(9,ee,5,4,"div",3),e.DNE(10,Ze,5,2,"div",3),e.DNE(11,On,4,3,"ng-container",4),e.nI1(12,"async"),e.DNE(13,Ft,6,4,"div",5),e.DNE(14,Se,6,4,"div",5),e.j41(15,"div",6),e.bIt("click",function(){e.eBV(be);const qe=e.XpG();return e.Njj(qe.clearFilters())}),e.EFF(16),e.nI1(17,"translate"),e.k0s()()}if(2&Me){const be=e.XpG();e.R7$(1),e.Y8G("ngForOf",e.bMT(2,13,be.subCatsSource)),e.R7$(2),e.Y8G("ngForOf",be.types),e.R7$(1),e.Y8G("ngForOf",be.materials),e.R7$(1),e.Y8G("ngForOf",be.styles),e.R7$(1),e.Y8G("ngForOf",be.renders),e.R7$(1),e.Y8G("ngForOf",be.formats),e.R7$(1),e.Y8G("ngForOf",be.colors),e.R7$(1),e.Y8G("ngForOf",be.shapes),e.R7$(1),e.Y8G("ngForOf",be.tags),e.R7$(1),e.Y8G("ngIf",e.bMT(12,15,be.sharedGlobalDataService.authorized)),e.R7$(2),e.Y8G("ngIf",be.isModelsInGallery),e.R7$(1),e.Y8G("ngIf",be.isAi),e.R7$(2),e.SpI(" ",e.bMT(17,17,"models.filters.clearFilters")," ")}}function tt(Me,Dt){1&Me&&(e.qSk(),e.j41(0,"svg",14),e.nrm(1,"path",15),e.k0s())}let lt=(()=>{var Me;class Dt{constructor(je,qe,kt,qt,en,Pn,an,yo){this.categoriesService=je,this.sharedModelsDataService=qe,this.modelListService=kt,this.route=qt,this.subscribeHandlerService=en,this.sharedGlobalDataService=Pn,this.filterModelsService=an,this.locale=yo,this.navigationEndStream=(0,e.WQX)(E.NC),this.unsubscriber=new J.B,this.types=[],this.subCats=new le.t([]),this.subCatsSource=this.subCats.asObservable(),this.materials=[],this.renders=[],this.colors=[],this.formats=[],this.shapes=[],this.styles=[],this.tags=[],this.lkFilter=p.VA,this.isProfile=!1}ngOnInit(){this.getCategories()}
17hasChips(){return[].concat(this.types,this.subCats.value,this.materials,this.renders,this.colors,this.formats,this.shapes,this.styles,this.tags).filter(qe=>qe).some(qe=>Object.keys(qe).length>0)||this.isPurchased||this.isBookmarked||this.isSubscriptions||this.isModelsInGallery||this.isAi}clearFilters(){this.modelListService.clearFilters()}setChips(){const je=this.route.snapshot.queryParamMap;this.isBookmarked="true"===je.get(p.VA.IS_BOOKMARKED),this.isPurchased="true"===je.get(p.VA.IS_PURCHASED),this.isSubscriptions="true"===je.get(p.VA.IS_SUBSCRIPTIONS),this.isModelsInGallery="true"===je.get(p.VA.IS_MODELS_IN_GALLERY),this.isAi="true"===je.get(p.VA.IS_AI),this.filterModelsService.filterModelsData.pipe(function nt(Me,Dt=!1){return(0,Ue.N)((be,je)=>{let qe=0;be.subscribe((0,Fe._)(je,kt=>{const qt=Me(kt,qe++);(qt||Dt)&&je.next(kt),!qt&&je.complete()}))})}(en=>!!en)).subscribe(en=>{this.materials=je.getAll(Ge.K.MATERIALS).map(Pn=>en.materials.find(an=>an.id===+Pn)),this.renders=je.getAll(Ge.K.RENDERS).map(Pn=>en[Ge.K.RENDERS].find(an=>an.id===+Pn)),this.styles=je.getAll(Ge.K.STYLES).map(Pn=>en[Ge.K.STYLES].find(an=>an.id===+Pn)),this.formats=je.getAll(Ge.K.FORMATS).map(Pn=>en[Ge.K.FORMATS].find(an=>an.id===+Pn)),this.colors=je.getAll(Ge.K.COLORS).map(Pn=>en[Ge.K.COLORS].find(an=>an.id===+Pn)),this.shapes=je.getAll(Ge.K.FORMS).map(Pn=>en[Ge.K.FORMS].find(an=>an.id===+Pn))}),this.tags=je.getAll("tag");const qe=je.getAll("types");this.types=1===qe.length&&qe.includes(p.ci.OM)?qe.map(en=>cr.find(Pn=>Pn.slug===en)):qe.filter(en=>en!==p.ci.OM).map(en=>cr.find(Pn=>Pn.slug===en));const kt=je.getAll("subcat"),qt=this.categoriesService.subCatsSource.value.filter(en=>kt.find(Pn=>Pn===en.slug));this.subCats.next(qt),this.sharedModelsDataService.setModelsJSON({[p.VA.IS_BOOKMARKED]:this.isBookmarked,[p.VA.IS_PURCHASED]:this.isPurchased,[p.VA.IS_SUBSCRIPTIONS]:this.isSubscriptions,[p.VA.IS_MODELS_IN_GALLERY]:this.isModelsInGallery,[p.VA.IS_AI]:this.isAi,materials:[...this.materials].map(en=>en.id),renders:[...this.renders].map(en=>en.id),styles:[...this.styles].map(en=>en.id),formats:[...this.formats].map(en=>en.id),colors:[...this.colors].map(en=>en.id),forms:[...this.shapes].map(en=>en.id),tag:this.tags,types:[...this.types].map(en=>en.slug),categories:[...qt].map(en=>en.slug),subcat:[...qt].map(en=>en.slug)})}getCategories(){const je=this.route.snapshot.queryParamMap.getAll("subcat");this.subscribeHandlerService.subjectSubscribe(this.categoriesService.subCats,qe=>{const kt=je.map(qt=>qe.find(en=>en.slug===qt));this.subCats.next(kt),this.querySubscriber&&(this.querySubscriber.unsubscribe(),this.querySubscriber=void 0),this.querySubscriber=this.navigationEndStream.pipe((0,_t.Q)(this.unsubscriber)).subscribe(()=>this.setChips())},this.unsubscriber)}removeCategory(je){const qe=this.subCats.value.filter(qt=>qt.id!==je).map(qt=>qt.slug),kt=qe.length>0?this.route.snapshot.queryParamMap.get("cat"):null;this.sharedModelsDataService.setModelsJSON({categories:qe,subcat:qe,cat:kt,page:null}),this.sharedModelsDataService.setRefreshModelsList(!0,!0,!0)}removeStyle(je){const qe=this.styles.filter(kt=>kt.id!==je).map(kt=>kt.id);this.sharedModelsDataService.setModelsJSON({styles:qe,page:null}),this.sharedModelsDataService.setRefreshModelsList(!0,!0,!0)}removeType(je){const qe=this.types.filter(kt=>kt.slug!==je).map(kt=>kt.slug);je===p.ci.PRO&&[...this.types].map(kt=>kt.slug).includes(p.ci.FREE)&&qe.push(p.ci.OM),this.sharedModelsDataService.setModelsJSON({types:qe,page:null}),this.sharedModelsDataService.setRefreshModelsList(!0,!0,!0)}removeMaterial(je){const qe=this.materials.filter(kt=>kt.id!==je).map(kt=>kt.id);this.sharedModelsDataService.setModelsJSON({materials:qe,page:null}),this.sharedModelsDataService.setRefreshModelsList(!0,!0,!0)}removeColor(je){const qe=this.colors.filter(kt=>kt.id!==je).map(kt=>kt.id);this.sharedModelsDataService.setModelsJSON({colors:qe,page:null}),this.sharedModelsDataService.setRefreshModelsList(!0,!0,!0)}removeLk(je){this.sharedModelsDataService.setModelsJSON({[je]:!1,page:null}),this.sharedModelsDataService.setRefreshModelsList(!0,!0,!0)}removeRender(je){const qe=this.renders.filter(kt=>kt.id!==je).map(kt=>kt.id);
17this.sharedModelsDataService.setModelsJSON({renders:qe,page:null}),this.sharedModelsDataService.setRefreshModelsList(!0,!0,!0)}removeFormat(je){const qe=this.formats.filter(kt=>kt.id!==je).map(kt=>kt.id);this.sharedModelsDataService.setModelsJSON({formats:qe,page:null}),this.sharedModelsDataService.setRefreshModelsList(!0,!0,!0)}removeShape(je){const qe=this.shapes.filter(kt=>kt.id!==je).map(kt=>kt.id);this.sharedModelsDataService.setModelsJSON({forms:qe,page:null}),this.sharedModelsDataService.setRefreshModelsList(!0,!0,!0)}removeTag(je){const qe=this.tags.filter(kt=>kt!==je);this.sharedModelsDataService.setModelsJSON({tag:qe,page:null}),this.sharedModelsDataService.setRefreshModelsList(!0,!0,!0)}ngOnDestroy(){this.unsubscriber.next()}}return(Me=Dt).\u0275fac=function(je){return new(je||Me)(e.rXU(mt.W),e.rXU(d.n),e.rXU(p.cO),e.rXU(X.nX),e.rXU(H.e),e.rXU(O.o),e.rXU(Ge.q),e.rXU(e.xe9))},Me.\u0275cmp=e.VBU({type:Me,selectors:[["app-models-filter-chips"]],inputs:{isProfile:"isProfile"},standalone:!0,features:[e.aNF],decls:3,vars:1,consts:[["class","chips-container",4,"ngIf"],["closeTag",""],[1,"chips-container"],[3,"click",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"click",4,"ngIf"],[1,"clear-chips",3,"click"],[3,"click"],[3,"ngIf"],[1,"chip-text"],[1,"remove-chip"],[4,"ngTemplateOutlet"],[1,"chip-color"],[1,"chip-text",3,"innerHTML"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M4.25935 10.6206C3.94669 10.9333 3.94669 11.4402 4.25935 11.7529C4.57202 12.0655 5.07895 12.0655 5.39162 11.7529L8.00618 9.13831L10.6363 11.7684C10.949 12.0811 11.4559 12.0811 11.7686 11.7684C12.0813 11.4558 12.0813 10.9489 11.7686 10.6362L9.13844 8.00604L11.7748 5.36969C12.0874 5.05703 12.0874 4.55009 11.7748 4.23743C11.4621 3.92476 10.9552 3.92476 10.6425 4.23743L8.00618 6.87378L5.37604 4.24364C5.06338 3.93098 4.55644 3.93098 4.24378 4.24364C3.93111 4.55631 3.93111 5.06324 4.24378 5.37591L6.87392 8.00604L4.25935 10.6206Z","fill","currentColor"]],template:function(je,qe){1&je&&(e.DNE(0,Ne,18,19,"div",0),e.DNE(1,tt,2,0,"ng-template",null,1,e.C5r)),2&je&&e.Y8G("ngIf",qe.hasChips())},dependencies:[W.Jj,W.bT,W.T3,W.pM,ze.$,G.D,Ct.L],styles:[".chips-container[_ngcontent-%COMP%]{margin-top:24px;display:flex;gap:8px}@media (min-width: 992px){.chips-container[_ngcontent-%COMP%]{flex-wrap:wrap}}@media (max-width: 991.98px){.chips-container[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content}}.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.clear-chips){display:inline-flex;align-items:center;background-color:#4182aa;border-radius:4px;cursor:pointer}@media (min-width: 992px){.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.clear-chips){height:24px;padding:0 8px}}@media (max-width: 991.98px){.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.clear-chips){height:32px;padding:0 10px}}.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.clear-chips)   .chip-text[_ngcontent-%COMP%]{color:#fff;white-space:nowrap;fill:#0000}@media (min-width: 992px){.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.clear-chips)   .chip-text[_ngcontent-%COMP%]{font-size:14px;line-height:16px;font-weight:500}}@media (max-width: 991.98px){.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.clear-chips)   .chip-text[_ngcontent-%COMP%]{font-size:16px;line-height:20px}}.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.clear-chips)   .chip-color[_ngcontent-%COMP%]{width:16px;height:16px;border:2px solid white;border-radius:50%}@media (max-width: 991.98px){.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.clear-chips)   .chip-color[_ngcontent-%COMP%]{width:20px;height:20px}}.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.clear-chips)   .remove-chip[_ngcontent-%COMP%]{height:inherit;border-radius:inherit;margin-left:8px;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}@media (pointer: fine) and (hover: hover){.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.clear-chips):hover{background-color:#125884;transition:background-color .25s ease-out}}.chips-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.clear-chips):active{background-color:#125884;transition:background-color .25s ease-out}.chips-container[_ngcontent-%COMP%]   .clear-chips[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#4182aa;padding:2px 8px;border-radius:4px;line-height:20px;
17display:inline-flex;white-space:nowrap;align-items:center}@media (pointer: fine) and (hover: hover){.chips-container[_ngcontent-%COMP%]   .clear-chips[_ngcontent-%COMP%]:not(.disabled):hover{cursor:pointer;background-color:#ecf7fd}}.chips-container[_ngcontent-%COMP%]   .clear-chips[_ngcontent-%COMP%]:not(.disabled):active{background-color:#ecf7fd}@media (max-width: 991.98px){.chips-container[_ngcontent-%COMP%]   .clear-chips[_ngcontent-%COMP%]{display:none}}@media (max-width: 991.98px){[_nghost-%COMP%]{overflow:auto;display:grid;scrollbar-width:none;grid-template-columns:1fr}[_nghost-%COMP%]::-webkit-scrollbar{width:0;height:0}}[_nghost-%COMP%]     .shape-size{width:16px;height:16px}"]}),Dt})();var pt=a(3792),$e=a(9079),Be=a(9571);const ve=function(Me){return{"is-profile":Me}};function Ce(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div",18)(1,"button",19),e.bIt("click",function(){e.eBV(be);const qe=e.XpG(2);return e.Njj(qe.openMobileFilter())}),e.EFF(2),e.nI1(3,"translate"),e.qSk(),e.j41(4,"svg",20),e.nrm(5,"circle",21)(6,"path",22)(7,"circle",23)(8,"path",24),e.k0s()()()}if(2&Me){const be=e.XpG(2);e.R7$(1),e.Y8G("ngClass",e.eq3(4,ve,be.isProfile)),e.R7$(1),e.SpI(" ",e.bMT(3,2,"models.global.filters")," ")}}function oe(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"button",25),e.bIt("click",function(){e.eBV(be);const qe=e.XpG(2);return e.Njj(qe.modelsListService.clearFilters())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}if(2&Me){const be=e.XpG(2);e.Y8G("ngClass",e.eq3(4,ve,be.isProfile)),e.R7$(1),e.SpI(" ",e.bMT(2,2,"models.filters.clear")," ")}}function De(Me,Dt){if(1&Me&&(e.j41(0,"div",26),e.eu8(1,27),e.k0s()),2&Me){e.XpG(2);const be=e.sdS(5);e.R7$(1),e.Y8G("ngTemplateOutlet",be)}}function rt(Me,Dt){1&Me&&e.eu8(0)}const St=function(Me){return{active:Me}};function Nt(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"button",28),e.bIt("click",function(){e.eBV(be);const qe=e.XpG(2);return e.Njj(qe.processLkFilter(qe.lkFilterKey.IS_MODELS_IN_GALLERY,!0))}),e.nI1(1,"translate"),e.DNE(2,rt,1,0,"ng-container",13),e.k0s()}if(2&Me){const be=e.XpG(2),je=e.sdS(11);e.HbH(e.eq3(6,St,be.lkFilter.models_in_gallery)),e.Y8G("appTooltip",e.bMT(1,4,"models.filters.modelsInGalleryTooltip")),e.R7$(2),e.Y8G("ngTemplateOutlet",je)}}function Yt(Me,Dt){1&Me&&e.eu8(0)}function zt(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"button",29),e.bIt("click",function(){e.eBV(be);const qe=e.XpG(2);return e.Njj(qe.processLkFilter(qe.lkFilterKey.IS_AI,!0))}),e.nI1(1,"translate"),e.DNE(2,Yt,1,0,"ng-container",13),e.EFF(3),e.nI1(4,"translate"),e.k0s()}if(2&Me){const be=e.XpG(2),je=e.sdS(9);e.HbH(e.eq3(9,St,be.lkFilter.is_created_with_ai)),e.Y8G("appTooltip",e.bMT(1,5,"models.filters.aiTooltip")),e.R7$(2),e.Y8G("ngTemplateOutlet",je),e.R7$(1),e.SpI(" ",e.bMT(4,7,"models.filters.ai")," ")}}function Cn(Me,Dt){if(1&Me&&(e.j41(0,"div",30),e.eu8(1,27),e.k0s()),2&Me){e.XpG(2);const be=e.sdS(7);e.R7$(1),e.Y8G("ngTemplateOutlet",be)}}function tn(Me,Dt){1&Me&&e.eu8(0)}function We(Me,Dt){if(1&Me&&(e.nrm(0,"app-models-moderator-panel",15),e.nI1(1,"async")),2&Me){const be=e.XpG(2);e.Y8G("ngClass",e.eq3(3,St,e.bMT(1,1,be.sharedModelsDataService.modelsModeratorPanel)))}}const _e=function(Me){return{"@@modelsResultCount":Me}},at=function(Me){return[Me]};function dt(Me,Dt){if(1&Me&&(e.EFF(0),e.nI1(1,"translate")),2&Me){const be=e.XpG(4);e.SpI(" ",e.i5U(1,1,"models.plural.one",e.eq3(6,at,e.eq3(4,_e,be.modelsResultCount)))," ")}}function xt(Me,Dt){if(1&Me&&(e.EFF(0),e.nI1(1,"translate")),2&Me){const be=e.XpG(4);e.SpI(" ",e.i5U(1,1,"models.plural.few",e.eq3(6,at,e.eq3(4,_e,be.modelsResultCount)))," ")}}function Lt(Me,Dt){if(1&Me&&(e.EFF(0),e.nI1(1,"translate")),2&Me){const be=e.XpG(4);e.SpI(" ",e.i5U(1,1,"models.plural.many",e.eq3(6,at,e.eq3(4,_e,be.modelsResultCount)))," ")}}function Qt(Me,Dt){if(1&Me&&(e.EFF(0),e.nI1(1,"translate")),2&Me){const be=e.XpG(4);e.SpI(" ",e.i5U(1,1,"models.plural.other",e.eq3(6,at,e.eq3(4,_e,be.modelsResultCount)))," ")}}function Zt(Me,Dt){if(1&Me&&(e.qex(0,34),e.DNE(1,dt,2,8,"ng-template",35),e.DNE(2,xt,2,8,"ng-template",36),e.DNE(3,Lt,2,8,"ng-template",37),e.DNE(4,Qt,2,8,"ng-template",38),e.bVm()),2&Me){const be=e.XpG(3);e.Y8G("ngPlural",be.modelsResultCountPlural)}}
17const gn=function(Me){return{"info-wrapper-margin":Me}};function hn(Me,Dt){if(1&Me&&(e.j41(0,"div",31)(1,"div",32),e.DNE(2,Zt,5,1,"ng-container",33),e.k0s()()),2&Me){const be=e.XpG(2);e.Y8G("ngClass",e.eq3(2,gn,!be.profileSearchMode||be.showClearFiltersBut)),e.R7$(2),e.Y8G("ngIf",be.modelsResultCount>-1)}}const Tn=function(Me,Dt){return{"no-gallery":Me,sky:Dt}},Yn=function(Me,Dt,be){return{"chips-row":Me,"chips-row-profile":Dt,"chips-row-profile-hidden":be}};function dn(Me,Dt){if(1&Me&&(e.qex(0),e.j41(1,"div",6),e.DNE(2,Ce,9,6,"div",7),e.nI1(3,"async"),e.DNE(4,oe,3,6,"button",8),e.DNE(5,De,2,1,"div",9),e.DNE(6,Nt,3,8,"button",10),e.DNE(7,zt,5,11,"button",11),e.DNE(8,Cn,2,1,"div",12),e.DNE(9,tn,1,0,"ng-container",13),e.DNE(10,We,2,5,"app-models-moderator-panel",14),e.k0s(),e.j41(11,"div",15),e.nrm(12,"app-models-filter-chips",16),e.k0s(),e.DNE(13,hn,3,4,"div",17),e.nI1(14,"async"),e.bVm()),2&Me){const be=e.XpG(),je=e.sdS(3);e.R7$(1),e.HbH(e.l_i(17,Tn,be.sky,be.sky)),e.R7$(1),e.Y8G("ngIf",!e.bMT(3,13,be.sharedModelsDataService.modelsModeratorPanel)),e.R7$(2),e.Y8G("ngIf",be.showClearFiltersBut),e.R7$(1),e.Y8G("ngIf",be.showFilters&&!be.isProfile),e.R7$(1),e.Y8G("ngIf",be.showFilters&&!be.isProfile&&!be.sky),e.R7$(1),e.Y8G("ngIf",be.showFilters&&!be.isProfile),e.R7$(1),e.Y8G("ngIf",be.showFilters&&!be.isProfile),e.R7$(1),e.Y8G("ngTemplateOutlet",je),e.R7$(1),e.Y8G("ngIf",be.moderator&&!be.sky&&!be.isProfile),e.R7$(1),e.Y8G("ngClass",e.sMw(20,Yn,!be.isProfile,be.isProfile,!be.showClearFiltersBut&&be.profileSearchMode)),e.R7$(1),e.Y8G("isProfile",be.isProfile),e.R7$(1),e.Y8G("ngIf",!(e.bMT(14,15,be.searchByImageService.imageData)||be.isProfile&&!be.showClearFiltersBut&&!be.profileSearchMode))}}function uo(Me,Dt){1&Me&&e.eu8(0)}function Zn(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div",42),e.bIt("click",function(){e.eBV(be);const qe=e.XpG(2);return e.Njj(qe.processLkFilter(qe.lkFilterKey.IS_MODELS_IN_GALLERY,!0))}),e.j41(1,"div"),e.DNE(2,uo,1,0,"ng-container",13),e.j41(3,"span"),e.EFF(4),e.nI1(5,"translate"),e.k0s()()()}if(2&Me){const be=e.XpG(2),je=e.sdS(11);e.HbH(e.eq3(6,St,be.lkFilter.models_in_gallery)),e.R7$(2),e.Y8G("ngTemplateOutlet",je),e.R7$(2),e.JRh(e.bMT(5,4,"models.filters.modelsInGallery"))}}function jn(Me,Dt){1&Me&&e.eu8(0)}const Sn=function(){return{$implicit:!0}};function Mn(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"div"),e.eu8(1,39),e.DNE(2,Zn,6,8,"div",40),e.j41(3,"button",41),e.bIt("click",function(){e.eBV(be);const qe=e.XpG();return e.Njj(qe.processLkFilter(qe.lkFilterKey.IS_AI,!0))}),e.nI1(4,"translate"),e.DNE(5,jn,1,0,"ng-container",13),e.EFF(6),e.nI1(7,"translate"),e.k0s()()}if(2&Me){const be=e.XpG(),je=e.sdS(5),qe=e.sdS(9);e.R7$(1),e.Y8G("ngTemplateOutlet",je)("ngTemplateOutletContext",e.lJ4(12,Sn)),e.R7$(1),e.Y8G("ngIf",!be.isProfile&&!be.sky),e.R7$(1),e.HbH(e.eq3(13,St,be.lkFilter.is_created_with_ai)),e.Y8G("appTooltip",e.bMT(4,8,"models.filters.aiTooltip")),e.R7$(2),e.Y8G("ngTemplateOutlet",qe),e.R7$(1),e.SpI(" ",e.bMT(7,10,"models.filters.aiMobile")," ")}}function _o(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"button",54),e.bIt("click",function(){e.eBV(be);const qe=e.XpG().index,kt=e.XpG(4);return e.Njj(kt.changeOrder(qe))}),e.EFF(1),e.k0s()}if(2&Me){const be=e.XpG(),je=be.index,qe=be.$implicit;e.XpG();const kt=e.sdS(5),qt=e.XpG(3);e.AVh("active",qt.currentOrder.slug===qt.order[je].slug),e.Y8G("appHoverReset",kt),e.R7$(1),e.SpI(" ",qe.title[qt.locale]," ")}}function Lo(Me,Dt){if(1&Me&&(e.qex(0),e.DNE(1,_o,2,4,"button",53),e.bVm()),2&Me){const be=Dt.$implicit;e.R7$(1),e.Y8G("ngIf",!be.disabled)}}function Ln(Me,Dt){if(1&Me&&(e.j41(0,"div",47)(1,"button",48),e.EFF(2),e.nrm(3,"app-svg",49),e.k0s(),e.j41(4,"div",50,51),e.DNE(6,Lo,2,1,"ng-container",52),e.k0s()()),2&Me){const be=e.XpG(3);e.R7$(2),e.SpI(" ",be.currentOrder.title[be.locale]," "),e.R7$(1),e.Y8G("iconPath","/ng-assets/images/arrows/arrow-down.svg"),e.R7$(3),e.Y8G("ngForOf",be.order)}}function Xn(Me,Dt){if(1&Me&&(e.j41(0,"option",61),e.EFF(1),e.k0s()),2&Me){const be=e.XpG().$implicit,je=e.XpG(4);e.Y8G("ngValue",be),e.R7$(1),e.JRh(be.title[je.locale])}}function qn(Me,Dt){if(1&Me&&(e.qex(0),e.DNE(1,Xn,2,2,"option",60),e.bVm()),2&Me){const be=Dt.$implicit;e.R7$(1),e.Y8G("ngIf",!be.disabled)}}function Eo(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"form",55)(1,"div",56)(2,"div",57),e.EFF(3),e.nrm(4,"app-svg",49),e.k0s(),e.j41(5,"select",58,59),e.bIt("click",function(){e.eBV(be);const qe=e.sdS(6);return e.Njj(qe.blur())})("focusin",function(){e.eBV(be);const qe=e.XpG(3);return qe.backdropService.backdrop(!0,0),e.Njj(qe.showOrderSelect=!0)})("focusout",function(){e.eBV(be);const qe=e.XpG(3);return qe.backdropService.backdrop(!1),e.Njj(qe.showOrderSelect=!1)}),e.DNE(7,qn,2,1,"ng-container",52),e.k0s()()()}if(2&Me){const be=e.XpG(3);e.Y8G("formGroup",be.selectOrder),e.R7$(1),e.AVh("open",be.showOrderSelect),e.R7$(2),e.SpI(" ",be.currentOrder.title[be.locale]," "),e.R7$(1),e.Y8G("iconPath","/ng-assets/images/arrows/arrow-down.svg"),e.R7$(3),e.Y8G("ngForOf",be.order)}}function Qn(Me,Dt){if(1&Me&&(e.j41(0,"div",44),e.DNE(1,Ln,7,3,"div",45),e.DNE(2,Eo,8,6,"form",46),e.k0s()),2&Me){const be=e.XpG(2);e.R7$(1),e.Y8G("ngIf",!be.isMobile),e.R7$(1),e.Y8G("ngIf",be.isMobile)}}function Ko(Me,Dt){if(1&Me&&(e.DNE(0,Qn,3,2,"div",43),e.nI1(1,"async")),2&Me){const be=e.XpG();e.Y8G("ngIf",be.showFilters&&!e.bMT(1,1,be.searchByImageService.imageData)&&!be.isProfile)}}function No(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"li")(1,"button",69),e.bIt("click",function(){e.eBV(be);const qe=e.XpG().$implicit,kt=e.XpG(2);
17return e.Njj(kt.processTypeFilter(qe.slug))}),e.EFF(2),e.j41(3,"p",70),e.EFF(4),e.k0s(),e.j41(5,"p",70),e.EFF(6),e.k0s()()()}if(2&Me){const be=e.XpG().$implicit,je=e.XpG(2);e.R7$(1),e.AVh("active",be.activated)("disabled",be.disabled),e.Y8G("appTooltip",be.tooltip[je.locale]),e.R7$(1),e.SpI(" ",be.title[je.locale]," "),e.R7$(2),e.JRh(be.titleMobile[je.locale]),e.R7$(2),e.JRh(be.titleMobile[je.locale].split(" ")[0])}}function $o(Me,Dt){if(1&Me&&(e.qex(0),e.DNE(1,No,7,8,"li",0),e.bVm()),2&Me){const be=Dt.$implicit,je=e.XpG(2);e.R7$(1),e.Y8G("ngIf",be.slug===je.typeSlug.PRO||be.slug===je.typeSlug.FREE)}}function ro(Me,Dt){if(1&Me&&(e.qSk(),e.joV(),e.j41(0,"div",71),e.eu8(1,27),e.k0s()),2&Me){e.XpG(2);const be=e.sdS(7);e.R7$(1),e.Y8G("ngTemplateOutlet",be)}}const Ir=function(Me){return{color:Me,marginRight:"4px"}};function Ti(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"ul",62),e.DNE(1,$o,2,1,"ng-container",52),e.k0s(),e.j41(2,"app-checkbox-container",63),e.bIt("clickEvent",function(){e.eBV(be);const qe=e.XpG();return e.Njj(qe.processTypeFilter(qe.typeSlug.OM))}),e.j41(3,"span",64),e.EFF(4),e.k0s(),e.qSk(),e.j41(5,"svg",65),e.nrm(6,"path",66)(7,"path",67),e.k0s()(),e.DNE(8,ro,2,1,"div",68)}if(2&Me){const be=Dt.$implicit,je=e.XpG();e.R7$(1),e.Y8G("ngForOf",be?je.mobileType:je.type),e.R7$(1),e.Y8G("appTooltip",je.getType(je.typeSlug.OM).tooltip[je.locale])("state",je.typeSlugCheckbox()),e.R7$(1),e.Y8G("ngStyle",e.eq3(8,Ir,je.typeSlugCheckbox().disabled?"":"var(--gray-1000)")),e.R7$(1),e.SpI("",je.getType(je.typeSlug.OM).title[je.locale]," "),e.R7$(2),e.BMQ("fill",je.typeSlugCheckbox().disabled?"currentColor":"var(--gray-1000)"),e.R7$(1),e.BMQ("fill",je.typeSlugCheckbox().disabled?"currentColor":"var(--gray-1000)"),e.R7$(1),e.Y8G("ngIf",!je.isProfile)}}function Oo(Me,Dt){if(1&Me){const be=e.RV6();e.j41(0,"ul",72)(1,"li")(2,"button",73),e.bIt("click",function(){e.eBV(be);const qe=e.XpG();return e.Njj(qe.processLkFilter(qe.lkFilterKey.IS_BOOKMARKED))}),e.j41(3,"div",74),e.nrm(4,"span"),e.EFF(5),e.nI1(6,"translate"),e.k0s()()(),e.j41(7,"li")(8,"button",73),e.bIt("click",function(){e.eBV(be);const qe=e.XpG();return e.Njj(qe.processLkFilter(qe.lkFilterKey.IS_SUBSCRIPTIONS))}),e.EFF(9),e.nI1(10,"translate"),e.k0s()(),e.j41(11,"li")(12,"button",73),e.bIt("click",function(){e.eBV(be);const qe=e.XpG();return e.Njj(!qe.isCanActivatePurchaseBtn()&&qe.processLkFilter(qe.lkFilterKey.IS_PURCHASED))}),e.EFF(13),e.nI1(14,"translate"),e.k0s()()()}if(2&Me){const be=e.XpG();e.R7$(2),e.AVh("active",be.lkFilter.is_bookmarked),e.R7$(3),e.SpI(" ",e.bMT(6,11,"models.filters.favorites")," "),e.R7$(3),e.AVh("active",be.lkFilter.subscribed_users),e.R7$(1),e.SpI(" ",e.bMT(10,13,"models.filters.subscriptions")," "),e.R7$(3),e.AVh("active",be.lkFilter.is_purchased)("disabled",be.isCanActivatePurchaseBtn()),e.R7$(1),e.SpI(" ",e.bMT(14,15,"models.filters.purchases")," ")}}function Ur(Me,Dt){1&Me&&(e.qSk(),e.j41(0,"svg",75),e.nrm(1,"path",76)(2,"path",77),e.k0s())}function Or(Me,Dt){1&Me&&(e.qSk(),e.j41(0,"svg",78),e.nrm(1,"path",79)(2,"path",80),e.k0s())}const cr=[{slug:p.ci.PRO,title:{ru:"PRO",en:"PRO",es:"PRO"},tooltip:{ru:"\u041f\u043b\u0430\u0442\u043d\u044b\u0435 3D \u043c\u043e\u0434\u0435\u043b\u0438",en:"Paid 3D models",es:"Modelo 3D de pago"},activated:!1,disabled:!1,titleMobile:{ru:"\u041f\u043b\u0430\u0442\u043d\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438",en:"Paid models",es:"Pago"}},{slug:p.ci.OM,title:{ru:"\u041e\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u0435\u0439",en:"From manufacturers",es:"De los fabricantes"},tooltip:{ru:"\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0435 3D \u043c\u043e\u0434\u0435\u043b\u0438<br>\u043e\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u0435\u0439",en:"Free 3D models<br>from manufacturers",es:"Modelos 3D gratuitos<br>de los fabricantes"},activated:!1,disabled:!1,titleMobile:{ru:"",en:"",es:""}},{slug:p.ci.FREE,title:{ru:"FREE",en:"FREE",es:"FREE"},tooltip:{ru:"\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0435 3D \u043c\u043e\u0434\u0435\u043b\u0438",en:"Free 3D models",es:"Modelos 3D gratis"},activated:!1,disabled:!1,titleMobile:{ru:"\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438",en:"Free models",es:"Gratis modelos"}}];let Zr=(()=>{var Me;class Dt{constructor(){this.sharedGlobalDataService=(0,e.WQX)(O.o),this.route=(0,e.WQX)(X.nX),this.backdropComponentService=(0,e.WQX)(I.v),this.viewContainerRef
17=(0,e.WQX)(e.c1b),this.destroyRef=(0,e.WQX)(e.abz),this.sharedModelsDataService=(0,e.WQX)(d.n),this.backdropService=(0,e.WQX)($.u),this.modelsListService=(0,e.WQX)(p.cO),this.searchByImageService=(0,e.WQX)(s.I),this.sky=(0,e.WQX)(E.ef),this.locale=(0,e.WQX)(e.xe9),this.type=cr,this.mobileType=Array.from(cr).reverse(),this.order=[{slug:p.Qf.RELEVANCE,title:{ru:"\u0420\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u044b\u0435",en:"Relevance",es:"Relevancia"},disabled:!0},{slug:p.Qf.DATA_DESC,title:{ru:"\u041d\u043e\u0432\u044b\u0435",en:"Newest",es:"M\xe1s recientes"},disabled:!1},{slug:p.Qf.SELL_RATING,title:{ru:"\u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435",en:"Popular",es:"Popular"},disabled:!1}],this.typeFilter={},this.lkFilter={},this.currentOrder={},this.isMobile=x.Hy,this.moderator=!1,this.showFilters=!0,this.typeSlug=p.ci,this.lkFilterKey=p.VA,this.selectOrder=new V.gE({order:new V.MJ(this.order[1])}),this.typeSlugCheckbox=(0,e.vPA)({checked:!1,disabled:!1,loadingState:new Z.I}),this.onlyTypeFilter=!1,this.isProfile=!1,this.profileSearchMode=!1,this.mobileFilter=new e.bkB}ngOnInit(){this.sharedGlobalDataService.authorized.pipe((0,$e.pQ)(this.destroyRef)).subscribe(je=>{this.authorized=!!je}),this.selectOrder.controls.order.valueChanges.pipe((0,$e.pQ)(this.destroyRef)).subscribe(je=>{const qe=this.order.findIndex(kt=>je.slug===kt.slug);this.changeOrder(qe)}),this.sharedModelsDataService.modelsModerator.pipe((0,$e.pQ)(this.destroyRef)).subscribe(je=>{this.moderator=je}),this.sharedModelsDataService.modelsModeratorPanel.pipe((0,$e.pQ)(this.destroyRef)).subscribe(je=>{this.showFilters=!je}),this.sharedModelsDataService.modelsResultCount.pipe((0,$e.pQ)(this.destroyRef)).subscribe(je=>{this.modelsResultCount=je,this.modelsResultCountPlural=+je.toString().substr(-1)}),this.sharedModelsDataService.modelsClearFilters.pipe((0,$e.pQ)(this.destroyRef)).subscribe(je=>{je||(this.typeFilter={},this.lkFilter={},this.type.forEach(qe=>{qe.activated=!1,qe.disabled=!1}),this.typeSlugCheckbox.update(qe=>({...qe,checked:!1,disabled:!1}))),this.showClearFiltersBut=je}),this.route.queryParamMap.pipe((0,$e.pQ)(this.destroyRef)).subscribe(je=>{this.getQueryParams(je)})}changeOrder(je){this.currentOrder.slug!==this.order[je].slug&&(this.currentOrder={title:this.order[je].title[this.locale]},this.showOrderSelect=!1,this.sharedModelsDataService.setModelsJSON({order:this.order[je].slug,page:null}),this.backdropService.backdrop(!1),this.sharedModelsDataService.setRefreshModelsList(!0,!0,!0))}processTypeFilter(je){const qe=this.type.find(an=>an.slug===je),kt=this.type.find(an=>an.slug===p.ci.PRO),qt=this.type.find(an=>an.slug===p.ci.FREE);let en=this.type.find(an=>an.slug===p.ci.OM);if(qe.disabled)return;switch(qe.activated?delete this.typeFilter[je]:this.typeFilter[je]=!0,je){case p.ci.PRO:kt.activated=!qe.activated,this.typeSlugCheckbox.update(an=>({...an,checked:!1})),kt.activated?(delete this.typeFilter.om,this.typeSlugCheckbox.update(an=>({...an,disabled:!0})),en.disabled=!0):(en.disabled=!1,this.typeSlugCheckbox.update(an=>({...an,disabled:!1}))),qt.activated?this.typeFilter.om=!0:delete this.typeFilter.om;break;case p.ci.FREE:qt.activated=!qe.activated,kt.disabled=!1,this.typeSlugCheckbox.update(an=>({...an,checked:!1})),kt.activated?(delete this.typeFilter.om,en.disabled=!0,en.activated=!1):en.disabled=!1,qt.activated?this.typeFilter.om=!0:delete this.typeFilter.om;break;case p.ci.OM:en.activated=!qe.activated,delete this.typeFilter.pro,en.activated?(delete this.typeFilter.free,this.typeSlugCheckbox.update(an=>({...an,checked:!0})),kt.disabled=!0,qt.activated=!0):(delete this.typeFilter.om,this.typeSlugCheckbox.update(an=>({...an,checked:!1})),kt.disabled=!1),qt.activated&&!en.activated&&(this.typeFilter.free=!0,this.typeFilter.om=!0,this.typeSlugCheckbox.update(an=>({...an,checked:!1})))}const Pn=Object.entries(this.typeFilter).reduce((an,yo)=>(yo[1]&&an.push(yo[0]),an),[]);this.sharedModelsDataService.setModelsJSON({types:Pn,page:null}),document.body.clientWidth>=992?this.sharedModelsDataService.setRefreshModelsList(!0,!0,!0):this.sharedModels
17DataService.setRefreshModelsList(!0,!1,!0)}getType(je){const qe=this.type.findIndex(kt=>kt.slug===je);return{...this.type[qe]}}processLkFilter(je,qe=!1){if(this.sharedGlobalDataService.authorizedSource.getValue()||qe){switch(je){case p.VA.IS_PURCHASED:this.lkFilter.is_purchased=!this.lkFilter.is_purchased,this.lkFilter.is_bookmarked=!1,this.lkFilter.subscribed_users=!1,this.typeSlugCheckbox.update(kt=>({...kt,checked:!1})),this.lkFilter.is_purchased?(this.toggleCheckControl(!1),delete this.typeFilter.free,delete this.typeFilter.om):this.toggleCheckControl();break;case p.VA.IS_BOOKMARKED:this.lkFilter.is_bookmarked=!this.lkFilter.is_bookmarked,this.lkFilter.is_purchased=!1,this.lkFilter.subscribed_users=!1,this.toggleCheckControl();break;case p.VA.IS_SUBSCRIPTIONS:this.lkFilter.subscribed_users=!this.lkFilter.subscribed_users,this.lkFilter.is_bookmarked=!1,this.lkFilter.is_purchased=!1,this.toggleCheckControl();break;case p.VA.IS_MODELS_IN_GALLERY:this.lkFilter.models_in_gallery=!this.lkFilter.models_in_gallery,this.toggleCheckControl();break;case p.VA.IS_AI:this.lkFilter.is_created_with_ai=!this.lkFilter.is_created_with_ai}this.sharedModelsDataService.setModelsJSON({...this.lkFilter,page:null}),document.body.clientWidth>=992?this.sharedModelsDataService.setRefreshModelsList(!0,!0,!0):this.sharedModelsDataService.setRefreshModelsList(!0,!1,!0)}else this.backdropComponentService.LoginInPopup(this.viewContainerRef)}isCanActivatePurchaseBtn(){return this.type.find(je=>je.slug===p.ci.FREE)?.activated||this.type.find(je=>je.slug===p.ci.OM)?.activated}getQueryParams(je){const qe=this.route.snapshot.queryParamMap.getAll("types"),kt=this.route.snapshot.queryParamMap.get("query"),qt=je.get("order"),en=this.type.find(xn=>xn.slug===p.ci.FREE),Pn=this.type.find(xn=>xn.slug===p.ci.OM),an=this.type.find(xn=>xn.slug===p.ci.PRO);if(this.order.find(xn=>xn.slug===p.Qf.RELEVANCE).disabled=!kt,this.lkFilter.is_bookmarked="true"===je.get(p.VA.IS_BOOKMARKED),this.lkFilter.is_purchased="true"===je.get(p.VA.IS_PURCHASED),this.lkFilter.subscribed_users="true"===je.get(p.VA.IS_SUBSCRIPTIONS),this.lkFilter.models_in_gallery="true"===je.get(p.VA.IS_MODELS_IN_GALLERY),this.lkFilter.is_created_with_ai="true"===je.get(p.VA.IS_AI),qe.length>0?1===qe.length&&qe.includes(p.ci.OM)?(this.typeSlugCheckbox.update(xn=>({...xn,checked:!0})),delete this.typeFilter.pro,Pn.activated=!0,en.activated=!0,this.typeFilter.om=!0,an.disabled=!0):(this.type.forEach(xn=>{xn.activated=!1,xn.disabled=!1,this.typeSlugCheckbox.update(Un=>({...Un,checked:!1}))}),qe.forEach(xn=>{switch(xn){case p.ci.FREE:this.typeFilter.free=!0,en.activated=!0,qe.includes(p.ci.PRO)||delete this.typeFilter.pro;break;case p.ci.PRO:an.activated=!0,this.typeFilter.pro=!0,Pn.disabled=!0,this.typeSlugCheckbox.update(Un=>({...Un,disabled:!0})),en.disabled=!!this.lkFilter.is_purchased,qe.includes(p.ci.FREE)||delete this.typeFilter.free;break;case p.ci.OM:an.activated?(Pn.disabled=!0,this.typeSlugCheckbox.update(Un=>({...Un,disabled:!0}))):(this.typeFilter.om=!0,Pn.disabled=!1,this.typeSlugCheckbox.update(Un=>({...Un,disabled:!1})))}})):(this.type.forEach(xn=>{xn.activated=!1,xn.disabled=!1}),this.typeFilter={},this.typeSlugCheckbox.update(xn=>({...xn,checked:!1})),en.disabled=!!this.lkFilter.is_purchased,Pn.disabled=!!this.lkFilter.is_purchased,this.typeSlugCheckbox.update(xn=>({...xn,disabled:this.lkFilter.is_purchased}))),qt){const xn=this.order.find(po=>po.slug===qt);this.currentOrder={title:xn.title,slug:xn.slug};const Un=this.order.findIndex(po=>this.currentOrder.slug===po.slug);this.selectOrder.controls.order.setValue(this.order[Un],{emitEvent:!1})}else{const xn=kt?p.Qf.RELEVANCE:p.Qf.DATA_DESC,Un=this.order.find(ur=>ur.slug===xn);this.currentOrder={title:Un.title,slug:Un.slug};const po=this.order.findIndex(ur=>this.currentOrder.slug===ur.slug);this.selectOrder.controls.order.setValue(this.order[po],{emitEvent:!1})}const yo=Object.entries(this.typeFilter).reduce((xn,Un)=>(Un[1]&&xn.push(Un[0]),xn),[]);this.sharedModelsDataService.setModelsJSON({...this.lkFilter,types:yo,query:kt,order:this.currentOrder.slug})}toggleCheckControl(je=!0){const qe=this.type.find(qt=>qt.slug===p.ci.FREE),kt=this.type.find(qt=>qt.slug===p.ci.OM);
17je?(this.typeSlugCheckbox.update(qt=>({...qt,disabled:!1})),qe.disabled=!1,kt.disabled=!1):(qe.disabled=!0,kt.disabled=!0,this.typeSlugCheckbox.update(qt=>({...qt,disabled:!0})))}openMobileFilter(){this.backdropService.backdrop(!0,1,".25s ease-out",".2s ease-out"),this.mobileFilter.emit(!0),this.backdropService.change(this.destroyRef).subscribe(()=>{this.sharedModelsDataService.setModelsJSON(this.modelsListService.getQueryModelsJson()),this.sharedModelsDataService.setRefreshModelsList(!0,!1),this.mobileFilter.emit(!1)})}}return(Me=Dt).\u0275fac=function(je){return new(je||Me)},Me.\u0275cmp=e.VBU({type:Me,selectors:[["app-models-top-panel"]],inputs:{onlyTypeFilter:"onlyTypeFilter",isProfile:"isProfile",profileSearchMode:"profileSearchMode"},outputs:{mobileFilter:"mobileFilter"},standalone:!0,features:[e.aNF],decls:12,vars:2,consts:[[4,"ngIf"],["orderTemplate",""],["typeFilter",""],["lk",""],["aiIcon",""],["inGalleryIcon",""],[1,"desktop-container"],["class","show-mobile-filter",4,"ngIf"],["class","clear-mobile-btn",3,"ngClass","click",4,"ngIf"],["class","top-panel-item",4,"ngIf"],["class","sky-btn-rect sky-btn-gray in-gallery",3,"appTooltip","class","click",4,"ngIf"],["class","sky-btn-rect sky-btn-gray ai",3,"appTooltip","class","click",4,"ngIf"],["class","lk-filter",4,"ngIf"],[4,"ngTemplateOutlet"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[3,"isProfile"],["class","info-wrapper",3,"ngClass",4,"ngIf"],[1,"show-mobile-filter"],[3,"ngClass","click"],["width","26","height","26","viewBox","0 0 26 26","fill","none","xmlns","http://www.w3.org/2000/svg"],["cx","7","cy","9","r","3","transform","rotate(180 7 9)","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M7 2C7.55228 2 8 2.44772 8 3L8 23C8 23.5523 7.55229 24 7 24C6.44772 24 6 23.5523 6 23L6 3C6 2.44772 6.44772 2 7 2Z","fill","currentColor"],["cx","19","cy","16.5","r","3","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M19 24C18.4477 24 18 23.5523 18 23L18 3C18 2.44772 18.4477 2 19 2C19.5523 2 20 2.44772 20 3L20 23C20 23.5523 19.5523 24 19 24Z","fill","currentColor"],[1,"clear-mobile-btn",3,"ngClass","click"],[1,"top-panel-item"],[3,"ngTemplateOutlet"],[1,"sky-btn-rect","sky-btn-gray","in-gallery",3,"appTooltip","click"],[1,"sky-btn-rect","sky-btn-gray","ai",3,"appTooltip","click"],[1,"lk-filter"],[1,"info-wrapper",3,"ngClass"],[1,"info-text"],[3,"ngPlural",4,"ngIf"],[3,"ngPlural"],["ngPluralCase","one"],["ngPluralCase","few"],["ngPluralCase","many"],["ngPluralCase","other"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","sky-btn-rect sky-btn-gray in-gallery-sidebar",3,"class","click",4,"ngIf"],[1,"sky-btn-rect","sky-btn-gray","ai-mobile",3,"appTooltip","click"],[1,"sky-btn-rect","sky-btn-gray","in-gallery-sidebar",3,"click"],["class","select-container",4,"ngIf"],[1,"select-container"],["class","dropdown order",4,"ngIf"],[3,"formGroup",4,"ngIf"],[1,"dropdown","order"],["type","button",1,"trigger"],[3,"iconPath"],[1,"menu"],["menuOrder",""],[4,"ngFor","ngForOf"],["type","button","class","item",3,"active","appHoverReset","click",4,"ngIf"],["type","button",1,"item",3,"appHoverReset","click"],[3,"formGroup"],[1,"select-sort","mobile"],[1,"select-sort-text"],["formControlName","order",3,"click","focusin","focusout"],["sel",""],[3,"ngValue",4,"ngIf"],[3,"ngValue"],[1,"filter-group-split","list-unstyled"],[1,"type-checkbox",3,"appTooltip","state","clickEvent"],[3,"ngStyle"],["width","16","height","16","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M11.3617 6.3804C11.5524 6.17234 11.545 5.84268 11.3452 5.64408C11.1455 5.44548 10.829 5.45314 10.6383 5.6612L7.15848 9.4584L5.33787 7.72008C5.13431 7.52573 4.81802 7.54005 4.63143 7.75208C4.44483 7.9641 4.45858 8.29354 4.66214 8.4879L6.48275 10.2262C6.88407 10.6094 7.50593 10.5878 7.88183 10.1776L11.3617 6.3804Z"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.15991 14.8814C5.83612 14.2539 5.10697 13.9511 4.43506 14.1642C2.83537 14.6716 1.32843 13.1646 1.83579 11.5649C2.0489 10.893 1.74606 10.1639 1.11857 9.84009C-0.372858 9.07051 -0.372858 6.93788 1.11857 6.16831C1.7442 5.84548 2.04933 5.11191 1.83547 4.43509C1.33209 2.84204 2.8319 1.3224 4.43829 1.83788C5.10547 2.05197 5.83634 1.7492 6.15916 1.12
17107C6.92739 -0.373691 9.06421 -0.373691 9.83244 1.12107C10.1554 1.74953 10.8872 2.05318 11.5617 1.83755C13.1634 1.32548 14.6745 2.83663 14.1625 4.43831C13.9468 5.11278 14.2505 5.84457 14.8789 6.16756C16.3737 6.93579 16.3737 9.07261 14.8789 9.84084C14.2508 10.1637 13.948 10.8945 14.1621 11.5617C14.6776 13.1681 13.158 14.6679 11.5649 14.1645C10.8881 13.9507 10.1545 14.2558 9.83169 14.8814C9.06211 16.3729 6.92949 16.3729 6.15991 14.8814ZM7.04841 14.423C7.44554 15.1926 8.54606 15.1926 8.94319 14.423C9.49056 13.3622 10.7279 12.8515 11.8661 13.2112C12.6932 13.4725 13.4751 12.6931 13.2101 11.8672C12.8457 10.7317 13.3612 9.49672 14.4219 8.95159C15.1929 8.55532 15.1929 7.45308 14.4219 7.05681C13.3581 6.51009 12.8459 5.27308 13.2101 4.13385C13.4747 3.30616 12.6938 2.52526 11.8661 2.78988C10.7269 3.15409 9.48991 2.64187 8.94319 1.5781C8.54692 0.807052 7.44468 0.807052 7.04841 1.5781C6.50328 2.63877 5.26832 3.15426 4.13279 2.78988C3.30693 2.52486 2.52749 3.30681 2.78882 4.13385C3.14848 5.27208 2.63784 6.50943 1.57704 7.05681C0.807405 7.45394 0.807405 8.55446 1.57704 8.95159C2.63695 9.49851 3.1494 10.7303 2.78882 11.8672C2.52648 12.6943 3.30566 13.4735 4.13279 13.2112C5.26968 12.8506 6.50149 13.363 7.04841 14.423Z"],["class","lk-filter-mobile",4,"ngIf"],[1,"sky-btn-rect","sky-btn-gray","position-relative",3,"appTooltip","click"],[1,"mobile-title"],[1,"lk-filter-mobile"],[1,"filter-group","list-unstyled"],[1,"sky-btn-rect","sky-btn-gray",3,"click"],[1,"bookmark-heart"],["width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10.3393 1.88403C10.6522 1.03866 11.8478 1.03866 12.1607 1.88403L13.6142 5.81213C13.7125 6.07791 13.9221 6.28746 14.1879 6.38581L18.116 7.83934C18.9613 8.15216 18.9613 9.34784 18.116 9.66066L14.1879 11.1142C13.9221 11.2125 13.7125 11.4221 13.6142 11.6879L12.1607 15.616C11.8478 16.4613 10.6522 16.4613 10.3393 15.616L8.88581 11.6879C8.78746 11.4221 8.57791 11.2125 8.31213 11.1142L4.38403 9.66066C3.53866 9.34784 3.53866 8.15216 4.38403 7.83934L8.31213 6.38581C8.57791 6.28746 8.78746 6.07791 8.88581 5.81213L10.3393 1.88403Z","fill","currentColor"],["d","M4.75444 12.7642C4.6241 12.4119 4.1259 12.4119 3.99556 12.7642L3.38992 14.4009C3.34894 14.5116 3.26163 14.5989 3.15089 14.6399L1.51418 15.2456C1.16194 15.3759 1.16194 15.8741 1.51418 16.0044L3.15089 16.6101C3.26163 16.6511 3.34894 16.7384 3.38992 16.8491L3.99556 18.4858C4.1259 18.8381 4.6241 18.8381 4.75444 18.4858L5.36008 16.8491C5.40106 16.7384 5.48837 16.6511 5.59911 16.6101L7.23582 16.0044C7.58806 15.8741 7.58806 15.3759 7.23582 15.2456L5.59911 14.6399C5.48837 14.5989 5.40106 14.5116 5.36008 14.4009L4.75444 12.7642Z","fill","currentColor"],["width","16","height","14","viewBox","0 0 16 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M11.8691 5.05273C12.2619 4.73255 12.841 4.75517 13.207 5.12109L16 7.91406V11C16 12.6569 14.6569 14 13 14H3C1.34315 14 1.61067e-08 12.6569 0 11V10.8828L2.71973 7.86133C3.12345 7.41275 3.8299 7.42167 4.22266 7.87988L5.03809 8.83105C5.7963 9.71546 7.14696 9.76711 7.9707 8.94336L11.793 5.12109L11.8691 5.05273Z","fill","currentColor"],["d","M13 0C14.6569 0 16 1.34315 16 3V5.08594L14.6211 3.70703C13.4861 2.57217 11.6678 2.53648 10.4902 3.60059L10.3789 3.70703L6.55664 7.5293L5.74121 6.57812C4.56295 5.20348 2.44457 5.17771 1.2334 6.52344L0 7.89355V3C1.28853e-07 1.34315 1.34315 0 3 0H13Z","fill","currentColor"]],template:function(je,qe){1&je&&(e.DNE(0,dn,15,24,"ng-container",0),e.DNE(1,Mn,8,15,"div",0),e.DNE(2,Ko,2,3,"ng-template",null,1,e.C5r),e.DNE(4,Ti,9,10,"ng-template",null,2,e.C5r),e.DNE(6,Oo,15,17,"ng-template",null,3,e.C5r),e.DNE(8,Ur,3,0,"ng-template",null,4,e.C5r),e.DNE(10,Or,3,0,"ng-template",null,5,e.C5r)),2&je&&(e.Y8G("ngIf",!qe.onlyTypeFilter),e.R7$(1),e.Y8G("ngIf",qe.onlyT
17ypeFilter))},dependencies:[G.D,B.d,fe,lt,V.X1,V.qT,V.xH,V.y7,V.wz,V.BC,V.cb,V.j4,V.JD,U.S,W.bT,W.Jj,W.YU,W.T3,W.IJ,W.B3,W.Sq,pt.k,W.WO,Be.r],styles:['@charset "UTF-8";[_nghost-%COMP%]   .chips-row-profile[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}@media (min-width: 992px){[_nghost-%COMP%]   .chips-row-profile[_ngcontent-%COMP%]     .chips-container{margin-top:0}}[_nghost-%COMP%]   .chips-row-profile-hidden[_ngcontent-%COMP%]{display:none}.top-panel-item[_ngcontent-%COMP%]{display:inline-flex;align-items:center;grid-column-start:1}@media (max-width: 991.98px){.top-panel-item[_ngcontent-%COMP%]{display:none}}.info-wrapper[_ngcontent-%COMP%]{display:flex}.info-wrapper-margin[_ngcontent-%COMP%]{margin-top:24px}.info-text[_ngcontent-%COMP%]{color:#b0b0b0;font-size:16px;line-height:20px;height:20px}.dropdown.order[_ngcontent-%COMP%]{position:relative;display:inline-flex;justify-content:flex-end}.dropdown.order[_ngcontent-%COMP%]:after{content:"";position:absolute;left:0;width:100%;height:8px;top:100%}.dropdown.order[_ngcontent-%COMP%]   .trigger[_ngcontent-%COMP%]{border:none;outline:none;cursor:pointer;-webkit-user-select:none;user-select:none}.dropdown.order[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]{display:inline-grid;height:-moz-fit-content;height:fit-content;width:max-content;gap:2px;right:0;transform-origin:top center;transform:translateY(-12px) scale(.92);top:calc(100% + 8px);z-index:-1;visibility:hidden;opacity:0;padding:8px;background:#ffffff;position:absolute;box-shadow:0 0 16px #6c92a966;border-radius:12px}.dropdown.order[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.dropdown.order[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   button.item[_ngcontent-%COMP%]{text-align:left;display:inline-grid;width:100%;height:-moz-fit-content;height:fit-content;margin:0;outline:none;border:none;background-color:#fff;padding:8px 12px;border-radius:8px;color:#000;font-weight:500;font-size:16px;line-height:20px}@media (hover: hover) and (pointer: fine){.dropdown.order[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   button.item[_ngcontent-%COMP%]:not(.active):not(.disabled):not(:active):not(:disabled):hover{background-color:var(--n-100);color:#000;transition:.2s ease-out;text-decoration:none}}.dropdown.order[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   button.item.active[_ngcontent-%COMP%], .dropdown.order[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   button.item[_ngcontent-%COMP%]:active{background-color:var(--blue-200);color:#000;text-decoration:none}@media (hover: hover) and (pointer: fine){.dropdown.order[_ngcontent-%COMP%]:hover   .menu[_ngcontent-%COMP%]{z-index:100;opacity:1;visibility:visible;transition:opacity .15s ease-in-out .22s,visibility 0s linear .22s,transform .22s cubic-bezier(.34,1.35,.64,1) .22s;transform:translateY(0) scale(1)}}.dropdown.order[_ngcontent-%COMP%]   .trigger[_ngcontent-%COMP%]{font-size:16px;line-height:20px;font-weight:500;display:inline-flex;color:#000;gap:8px;height:36px;white-space:nowrap;align-items:center;background:white}.select-sort[_ngcontent-%COMP%]{color:#000;cursor:pointer;display:inline-flex;align-items:center;position:relative;white-space:nowrap}.select-sort.mobile[_ngcontent-%COMP%]{font-weight:500;color:#4182aa;position:relative;display:inline-flex;align-items:center;gap:8px;padding:12px 8px;border-radius:4px}@media (max-width: 991.98px){.select-sort.mobile[_ngcontent-%COMP%]{height:44px}}@media (min-width: 992px){.select-sort.mobile[_ngcontent-%COMP%]{height:36px}}.select-sort.mobile[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{position:absolute;inset:0;opacity:0}
17.select-sort.mobile[_ngcontent-%COMP%]:active{background-color:#deeff9;color:#023d67}.select-sort-text[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;font-weight:500}.chips-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.show-mobile-filter[_ngcontent-%COMP%]{display:inline-flex}@media (min-width: 992px){.show-mobile-filter[_ngcontent-%COMP%]{display:none}}.show-mobile-filter[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;font-weight:500;line-height:20px;gap:9px;color:#000;outline:none;border:none;border-radius:4px;background-color:inherit;padding:9px 9px 9px 4px}.show-mobile-filter[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover, .show-mobile-filter[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active{background-color:#deeff9;color:#023d67}.show-mobile-filter[_ngcontent-%COMP%]   button.is-profile[_ngcontent-%COMP%]{z-index:99}@media (max-width: 991.98px){.show-mobile-filter[_ngcontent-%COMP%]   button.is-profile[_ngcontent-%COMP%]{margin-top:-12px}}@media (max-width: 575.98px){.show-mobile-filter[_ngcontent-%COMP%]   button.is-profile[_ngcontent-%COMP%]{margin-top:0}}.filter-group-split[_ngcontent-%COMP%]   .mobile-title[_ngcontent-%COMP%]{text-align:center;font-size:14px;line-height:16px;color:#b9b9b9;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);margin:0;z-index:-1;white-space:nowrap;display:none}@media (min-width: 768px) and (max-width: 991.98px){.filter-group-split[_ngcontent-%COMP%]   .mobile-title[_ngcontent-%COMP%]:first-of-type{display:inline-block}}@media (max-width: 767.98px){.filter-group-split[_ngcontent-%COMP%]   .mobile-title[_ngcontent-%COMP%]:last-of-type{display:inline-block}}@media (max-width: 991.98px){.filter-group-split[_ngcontent-%COMP%], .filter-group-split[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%}}.clear-mobile-btn[_ngcontent-%COMP%]{outline:none;border:none;padding:12px 4px;font-weight:500;line-height:20px;color:#4182aa;border-radius:4px;background-color:inherit}@media (min-width: 576px) and (max-width: 991.98px){.clear-mobile-btn[_ngcontent-%COMP%]{padding:12px 8px}}.clear-mobile-btn[_ngcontent-%COMP%]:active{background-color:#deeff9;color:#023d67}@media (hover: hover) and (pointer: fine){.clear-mobile-btn[_ngcontent-%COMP%]:hover{background-color:#deeff9;color:#023d67}}@media (min-width: 992px){.clear-mobile-btn[_ngcontent-%COMP%]{display:none}}.clear-mobile-btn.is-profile[_ngcontent-%COMP%]{z-index:99}@media (max-width: 991.98px){.clear-mobile-btn.is-profile[_ngcontent-%COMP%]{margin-top:-12px}}@media (max-width: 575.98px){.clear-mobile-btn.is-profile[_ngcontent-%COMP%]{margin-top:0}}.select-container[_ngcontent-%COMP%]{align-self:center}.select-container[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{border:none}.select-container[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{position:relative}@media (min-width: 992px){.select-container[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;justify-self:end}}@media (max-width: 991.98px){.select-container[_ngcontent-%COMP%]{margin-left:auto}}.lk-filter[_ngcontent-%COMP%]{justify-self:center}.lk-filter[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{gap:4px}@media (max-width: 991.98px){.lk-filter[_ngcontent-%COMP%]{display:none}}@media (min-width: 992px) and (max-width: 1399.98px){.lk-filter[_ngcontent-%COMP%]{grid-column-start:1;grid-row-start:2}}@media (min-width: 992px){.lk-filter-mobile[_ngcontent-%COMP%]{display:none}}@media (max-width: 991.98px){.lk-filter-mobile[_ngcontent-%COMP%]{display:grid;margin-top:24px}}.lk-filter-mobile[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}@media (max-width: 991.98px){.lk-filter-mobile[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{gap:8px}}.desktop-container[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content;row-gap:8px}@media (min-width: 992px){.desktop-container[_ngcontent-%COMP%]{display:grid;grid-auto-flow:column;grid-column-gap:24px}}@media (max-width: 991.98px){.desktop-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}}@media (min-width: 992px){.desktop-container[_ngcontent-%COMP%]:not(.sky)   .in-gallery[_ngcontent-%COMP%]{grid-column-start:2}.desktop-container[_ngcontent-%COMP%]:not(.sky)   .ai[_ngcontent-%COMP%]{grid-column-start:3}}
17@media (min-width: 992px) and (max-width: 1399.98px){.desktop-container[_ngcontent-%COMP%]:not(.sky){grid-template-columns:max-content min-content min-content 1fr;grid-template-rows:min-content min-content}.desktop-container[_ngcontent-%COMP%]:not(.sky)   .select-container[_ngcontent-%COMP%]{grid-column-start:4}}@media (min-width: 1400px){.desktop-container[_ngcontent-%COMP%]:not(.sky){grid-template-columns:max-content min-content min-content 1fr min-content;grid-template-rows:min-content}.desktop-container[_ngcontent-%COMP%]:not(.sky)   .lk-filter[_ngcontent-%COMP%]{grid-column-start:4}.desktop-container[_ngcontent-%COMP%]:not(.sky)   .select-container[_ngcontent-%COMP%]{grid-column-start:5}}@media (min-width: 992px){.desktop-container.sky[_ngcontent-%COMP%]   .ai[_ngcontent-%COMP%]{grid-column-start:2}}@media (min-width: 992px) and (max-width: 1399.98px){.desktop-container.sky[_ngcontent-%COMP%]{grid-template-columns:max-content min-content 1fr;grid-template-rows:min-content min-content}.desktop-container.sky[_ngcontent-%COMP%]   .select-container[_ngcontent-%COMP%]{grid-column-start:3}}@media (min-width: 1400px){.desktop-container.sky[_ngcontent-%COMP%]{grid-template-columns:max-content min-content 1fr min-content;grid-template-rows:min-content}.desktop-container.sky[_ngcontent-%COMP%]   .lk-filter[_ngcontent-%COMP%]{grid-column-start:3}.desktop-container.sky[_ngcontent-%COMP%]   .select-container[_ngcontent-%COMP%]{grid-column-start:4}}.in-gallery[_ngcontent-%COMP%]{width:36px;height:36px;padding:8px;grid-column-start:2}@media (max-width: 991.98px){.in-gallery[_ngcontent-%COMP%]{display:none}}.in-gallery[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{color:#5e5e5e}@media (hover: hover) and (pointer: fine){.in-gallery[_ngcontent-%COMP%]:not(.active):not(.disabled):not(:active):not(:disabled):hover   svg[_ngcontent-%COMP%]{color:#5e5e5e}}.in-gallery.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .in-gallery[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%]{color:var(--blue-700)}.in-gallery[_ngcontent-%COMP%]:disabled   svg[_ngcontent-%COMP%], .in-gallery.disabled[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{color:var(--gray-500)}.in-gallery-sidebar[_ngcontent-%COMP%]{display:grid;width:100%;margin-top:24px}.in-gallery-sidebar[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{color:#5e5e5e}@media (hover: hover) and (pointer: fine){.in-gallery-sidebar[_ngcontent-%COMP%]:not(.active):not(.disabled):not(:active):not(:disabled):hover   svg[_ngcontent-%COMP%]{color:#5e5e5e}}.in-gallery-sidebar.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .in-gallery-sidebar[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%]{color:var(--blue-700)}.in-gallery-sidebar[_ngcontent-%COMP%]:disabled   svg[_ngcontent-%COMP%], .in-gallery-sidebar.disabled[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{color:var(--gray-500)}.in-gallery-sidebar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;gap:8px;align-items:center}.bookmark-heart[_ngcontent-%COMP%]{display:flex;gap:8px;align-items:center}.bookmark-heart[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-flex;height:14px;width:16px;background-image:linear-gradient(to bottom,#FF2D55,#FF829A);clip-path:path("M0 3.48285C0 -0.0949697 5.66667 -1.37633 8 1.84802C10.3333 -1.37633 16 -0.0949697 16 3.48285C16 7.48458 10.9474 11.6161 7.99999 14C4.63158 11.4759 0 7.06066 0 3.48285Z")}.type-checkbox[_ngcontent-%COMP%]{display:inline-flex}@media (max-width: 991.98px){.type-checkbox[_ngcontent-%COMP%]{margin-top:16px}}.ai[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;grid-column:-4/-3}.ai[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{color:#5e5e5e}@media (hover: hover) and (pointer: fine){.ai[_ngcontent-%COMP%]:not(.active):not(.disabled):not(:active):not(:disabled):hover   svg[_ngcontent-%COMP%]{color:#5e5e5e}}.ai.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .ai[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%]{color:var(--blue-700)}.ai[_ngcontent-%COMP%]:disabled   svg[_ngcontent-%COMP%], .ai.disabled[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{color:var(--gray-500)}@media (max-width: 991.98px){.ai[_ngcontent-%COMP%]{display:none}}.ai-mobile[_ngcontent-%COMP%]{width:100%}.ai-mobile[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{color:#5e5e5e}@media (hover: hover) and (pointer: fine){.ai-mobile[_ngcontent-%COMP%]:not(.active):not(.disabled):not(:active):not(:disabled):hover   svg[_ngcontent-%COMP%]{color:#5e5e5e}}.ai-mobile.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .ai-mobile[_ngcontent-%COMP%]:active   svg[_ngcontent-%COMP%]{color:var(--blue-700)}.ai-mobile[_ngcontent-%COMP%]:disabled   svg[_ngcontent-%COMP%], .ai-mobile.disabled[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{color:var(--gray-500)}@media (max-width: 991.98px){.ai-mobile[_ngcontent-%COMP%]{margin-top:24px}}@media (max-width: 991.98px){.filter-group[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%}}app-models-moderator-panel[_ngcontent-%COMP%]{grid-column:-2/-1;grid-row-start:2;justify-self:end}app-models-moderator-panel.active[_ngcontent-%COMP%]{grid-column:1/-1;grid-row:span 2;width:100%}']}),Dt})()},2249:(ct,ce,a)=>{a.d(ce,{K$:()=>O,eu:()=>d,iA:()=>V});var e=a(8664),d=function(p){return p.profile="user",p.purchases="purchases",p.models="models",p.sellRating="sell_rating",p.favorites="favorites",p.blogs="blogs",p.settings="settings",p.profileV2="user-v2",p}(d||{});const X=(p,$)=>(location.href=$.url,!1),x=[{path:"",loadComponent:()=>Promise.all([a.e(76),a.e(322)]).then(a.bind(a,8322)).then(p=>p.ProfileMainComponent),loadChildren:()=>a.e(223).then(a.bind(a,2223)).then(p=>p.profileMainRoutes)},{path:d.blogs,loadComponent:()=>a.e(194).then(a.bind(a,4194)).then(p=>p.BlogsComponent)},{path:d.sellRating,loadComponent:()=>a.e(470).then(a.bind(a,470)).then(p=>p.SellRatingComponent)}
17],O={path:d.profile,canActivate:[X],loadComponent:()=>Promise.all([a.e(76),a.e(864)]).then(a.bind(a,864)).then(p=>p.ProfileComponent),canActivateChild:[X],children:[{path:"**",loadComponent:()=>Promise.all([a.e(76),a.e(322)]).then(a.bind(a,8322)).then(p=>p.ProfileMainComponent)}]},V={path:d.profileV2,canActivate:[e.q],loadComponent:()=>Promise.all([a.e(76),a.e(864)]).then(a.bind(a,864)).then(p=>p.ProfileComponent),canActivateChild:[e.q],loadChildren:()=>x}},7655:(ct,ce,a)=>{a.d(ce,{s:()=>j});var e=a(7019),d=a(1413),X=a(8181),x=a(177),O=a(9417),V=a(174),p=a(5016),$=a(3432),E=a(430),s=a(5116);const I=["searchInputMobile"];function W(F,ue){1&F&&e.eu8(0)}function G(F,ue){1&F&&e.eu8(0)}function B(F,ue){1&F&&e.eu8(0)}function J(F,ue){1&F&&e.eu8(0)}function z(F,ue){1&F&&(e.qSk(),e.j41(0,"svg",12),e.nrm(1,"path",13),e.k0s())}function w(F,ue){if(1&F){const ae=e.RV6();e.j41(0,"div",16),e.bIt("click",function(){e.eBV(ae);const te=e.XpG(2);return e.Njj(te.cleaner())}),e.qSk(),e.j41(1,"svg",17),e.nrm(2,"path",18),e.k0s()()}}function U(F,ue){1&F&&e.nrm(0,"div",19)}function Z(F,ue){if(1&F&&(e.DNE(0,w,3,0,"div",14),e.DNE(1,U,1,0,"div",15)),2&F){const ae=e.XpG();e.Y8G("ngIf",ae.searchService.profileForm.controls.profileSearchControl.value),e.R7$(1),e.Y8G("ngIf",ae.searchService.profileForm.controls.profileSearchControl.value)}}const H=function(F){return{"search-mode":F}};let j=(()=>{var F;class ue{constructor(N,te,ie,re,Ee){this.searchService=N,this.sharedModelsDataService=te,this.route=ie,this.subscribeHandlerService=re,this.modelsListService=Ee,this.unsubscriber=new d.B,this.searchMode=!1,this.subquery=null,this.mobileMode=!1,this.onSearchMode=new e.bkB,this.subscribeHandlerService.subjectSubscribe(this.route.queryParams,Re=>{this.searchService.profileForm.controls.profileSearchControl.setValue(Re.subquery??""),Re.subquery?(this.setSearchMode(!0,!1),this.subquery=Re.subquery):(this.setSearchMode(!1),this.subquery=null)},this.unsubscriber)}searchIconClickMobile(){this.getSearchMode()?(this.search(),this.searchInputMobile.nativeElement.blur()):this.setSearchMode(!0)}searchSubmitMobile(){this.search(),this.searchInputMobile.nativeElement.blur()}search(){if(this.mobileMode&&!this.getSearchMode())return;let N,te;N=this.searchService.profileForm.controls.profileSearchControl.value.toString().trim(),this.subquery=N,te=this.userSlug;const ie=X.Qf.RELEVANCE;this.modelsListService.clearFilters(!0,!1),this.sharedModelsDataService.setModelsJSON({subquery:N,order:ie,user_slug:te}),this.modelsListService.prepareJSON(this.sharedModelsDataService.modelsJSONSource.value,!0,!0)}cleaner(){if(this.searchService.profileForm.controls.profileSearchControl.setValue(""),this.route.snapshot.queryParamMap.get("subquery")){const te=this.route.snapshot.queryParamMap.get("order");this.sharedModelsDataService.setModelsJSON({subquery:null,order:te===X.Qf.RELEVANCE?null:te,page:null}),this.modelsListService.prepareJSON(this.sharedModelsDataService.modelsJSONSource.value,!0,!0)}this.setSearchMode(!1),this.subquery=null}getSearchMode(){return this.searchMode}setSearchMode(N,te=!0){this.searchMode=N,this.onSearchMode.emit(this.searchMode),N&&this.mobileMode&&te&&this.searchInputMobile.nativeElement.focus()}searchBlur(){0===this.searchService.profileForm.controls.profileSearchControl.value.toString().trim().length&&this.cleaner()}}return(F=ue).\u0275fac=function(N){return new(N||F)(e.rXU(p.Sc),e.rXU($.n),e.rXU(E.nX),e.rXU(s.e),e.rXU(X.cO))},F.\u0275cmp=e.VBU({type:F,selectors:[["app-users-models-search"]],viewQuery:function(N,te){if(1&N&&e.GBs(I,7),2&N){let ie;e.mGM(ie=e.lsd())&&(te.searchInputMobile=ie.first)}},inputs:{userSlug:"userSlug",mobileMode:"mobileMode"},outputs:{onSearchMode:"onSearchMode"},standalone:!0,features:[e.aNF],decls:20,vars:26,consts:[[1,"input-wrapper"],[4,"ngTemplateOutlet"],[1,"search-ico",3,"click"],[3,"formGroup","ngSubmit"],["type","profile-search","autocomplete","off","formControlName","profileSearchControl",1,"search",3,"placeholder"],["searchInput",""],[1,"input-wrapper-mobile"],[3,"formGroup","ngClass","ngSubmit"],["enterkeyhint","search","type","profile-search","autocomplete","off","formControlName","profileSearchControl",1,"search",3,"placeholder","ngClass","blur"],["searchInputMobile",""],["search_ico",""],["cleaner_ico",""],["width","18","height","18","viewBox","0 0 18 18","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M14.3199 12.9056C15.3729 11.551 16 9.84871 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16C9.84871 16 11.551 15.3729 12.9056 14.3199L16.2929 17.7071C16.6834 18.0976 17.3166 18.0976 17.7071 17.7071C18.0976 17.3166 18.0976 16.6834 17.7071 16.2929L14.3199 12.9056ZM14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8Z","fill","currentColor"],["class","cleaner-ico",3,"click",4,"ngIf"],["class","input-elements vertical-line",4,"ngIf"],[1,"cleaner-ico",3,"click"],["width","26","height","26","viewBox","0 0 26 26","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7.29289 7.29289C7.68342 6.90237 8.31658 6.90237 8.70711 7.29289L13 11.5858L17.2929 7.29289C17.6834 6.90237 18.3166 6.90237 18.7071 7.29289C19.0976 7.68342 19.0976 8.31658 18.7071 8.70711L14.4142 13L18.7071 17.2929C19.0976 17.6834 19.0976 18.3166 18.7071 18.7071C18.3166 19.0976 17.6834 19.0976 17.2929 18.7071L13 14.4142L8.70711 18.7071C8.31658 19.0976 7.68342 19.0976 7.29289 18.7071C6.90237 18.3166 6.90237 17.6834 7.29289 17.2929L11.5858 13L7.29289 8.70711C6.90237 8.31658 6.90237 7.68342 7.29289 7.29289Z","fill","currentColor"],[1,"input-elements","vertical-line"]],template:function(N,te){if(1&N&&(e.j41(0,"div",0),e.DNE(1,W,1,0,"ng-container",1),e.j41(2,"div",2),e.bIt("click",function(){return te.search()}),e.DNE(3,G,1,0,"ng-container",1),e.k0s(),e.j41(4,"form",3),e.bIt("ngSubmit",function(){return te.search()}),e.nrm(5,"input",4,5),e.nI1(7,"translate"),e.k0s()(),e.j41(8,"div",6),e.DNE(9,B,1,0,"ng-container",1),e.j41(10,"div",2),e.bIt("click",function(){return te.searchIconClickMobile()}),e.DNE(11,J,1,0,"ng-container",1),e.k0s(),e.j41(12,"form",7),e.bIt("ngSubmit",function(){return te.searchSubmitMobile()}),e.j41(13,"input",8,9),e.bIt("blur",function(){return te.searchBlur()}),e.nI1(15,"translate"),e.k0s()()(),e.DNE(16,z,2,0,"ng-template",null,10,e.C5r),e.DNE(18,Z,2,2,"ng-template",null,11,e.C5r)),2&N){const ie=e.sdS(17),re=e.sdS(19);e.R7$(1),e.Y8G("ngTemplateOutlet",re),e.R7$(2),e.Y8G("ngTemplateOutlet",ie),e.R7$(1),e.Y8G("formGroup",te.searchService.profileForm),e.R7$(1),e.AVh("search-not-empty",te.searchService.profileForm.controls.profileSearchControl.value)("subquery-not-empty",te.subquery),e.FS9("placeholder",e.bMT(7,18,"users.global.model-search")),e.R7$(4),e.Y8G("ngTemplateOutlet",re),e.R7$(2),e.Y8G("ngTemplateOutlet",ie),e.R7$(1),e.Y8G("formGroup",te.searchService.profileForm)("ngClass",e.eq3(22,H,te.searchMode)),e.R7$(1),e.AVh("search-not-empty",te.searchService.profileForm.controls.profileSearchControl.value)("subquery-not-empty",te.subquery),e.FS9("placeholder",e.bMT(15,20,"users.global.model-search")),e.Y8G("ngClass",e.eq3(24,H,te.searchMode||te.searchService.profileForm.controls.profileSearchControl.value))}},dependencies:[x.MD,x.YU,x.bT,x.T3,O.X1,O.qT,O.me,O.BC,O.cb,O.j4,O.JD,V.D],styles:["input[type=profile-search][_ngcontent-%COMP%]{height:48px;background:#EFEFF0;border:none;border-radius:24px;padding:8px 4px 8px 16px;margin-top:2px;font-size:16px;line-height:20px}input[type=profile-search].search-not-empty[_ngcontent-%COMP%]{background:white;
17border:1px #8C8C8C solid}input[type=profile-search][_ngcontent-%COMP%]:focus{background-color:#fff;border:1px #8C8C8C solid}.input-wrapper[_ngcontent-%COMP%]{position:relative;width:100%}.input-wrapper[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%]{width:100%;font-weight:500}@media (max-width: 991.98px){.input-wrapper[_ngcontent-%COMP%]{display:none}}.input-wrapper-mobile[_ngcontent-%COMP%]{z-index:0;position:relative;display:none;width:100%}@media (max-width: 991.98px){.input-wrapper-mobile[_ngcontent-%COMP%]{display:block}.input-wrapper-mobile[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;width:100%;margin-top:14px}}@media (max-width: 991.98px) and (max-width: 575.98px){.input-wrapper-mobile[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin-top:6px}}.input-wrapper-mobile[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%]{width:48px;transition-timing-function:ease-in;transition-duration:.25s;background:#EFEFF0;border:none}.input-wrapper-mobile[_ngcontent-%COMP%]   .search.subquery-not-empty[_ngcontent-%COMP%]{background:white;border:1px #8C8C8C solid;font-weight:500}.input-wrapper-mobile[_ngcontent-%COMP%]   .search.search-mode[_ngcontent-%COMP%]{width:100%;transition-timing-function:ease-out;transition-duration:.2s}@media (max-width: 991.98px){input[_ngcontent-%COMP%]:not(.search-mode)::placeholder{color:#efeff0}}.search-ico[_ngcontent-%COMP%]{position:absolute;right:4px;top:50%;transform:translateY(-50%);border-radius:50%;padding:11px;place-items:center;display:inline-grid;cursor:pointer;color:#373737;z-index:inherit}@media (pointer: fine) and (hover: hover){.search-ico[_ngcontent-%COMP%]:hover{color:#4182aa;background-color:#fafafa}}.search-ico[_ngcontent-%COMP%]:active{color:#4182aa;background-color:#fafafa}.cleaner-ico[_ngcontent-%COMP%]{cursor:pointer;position:absolute;right:50px;top:50%;display:inline-grid;transform:translateY(-50%);border-radius:50%;padding:7px;color:#8c8c8c;z-index:inherit}@media (pointer: fine) and (hover: hover){.cleaner-ico[_ngcontent-%COMP%]:hover{color:#4182aa;background-color:#fafafa}}.cleaner-ico[_ngcontent-%COMP%]:active{color:#4182aa;background-color:#fafafa}.vertical-line[_ngcontent-%COMP%]{height:28px;position:absolute;z-index:inherit;right:47px;width:1px;background-color:#d0d0d0;cursor:text;top:10px}"]}),ue})()},9831:(ct,ce,a)=>{a.d(ce,{s:()=>w});var e=a(8207),d=a(1413),X=a(4412),x=a(8737),O=a(7655),V=a(177),p=a(3877),$=a(4571),E=a(9521),s=a(7019),I=a(3432),W=a(5116),G=a(430);function B(U,Z){if(1&U&&s.nrm(0,"app-models-paginator",11),2&U){const H=s.XpG();s.Y8G("itemsPerPage",H.pagePer)("initPaginator",H.initPaginator)}}const J=function(U){return{"top-panel-block-search-mode":U}},z=function(U){return{"search-mode":U}};let w=(()=>{var U;class Z{constructor(j,F,ue){this.sharedModelsDataService=j,this.subscribeHandlerService=F,this.route=ue,this.searchMode=!1,this.filterChips=!1,this.loadingFiltersIndicator=new e.I,this.unsubscriber=new d.B,this.mobileFilter=!1,this.totalModels=0,this.pagePer=this.sharedModelsDataService.MODELS_PER_PAGE,this.initPaginator=new X.t(0),this.userSlug=this.route.snapshot.paramMap.get("user")?this.route.snapshot.paramMap.get("user"):this.route.parent.snapshot.paramMap.get("user"),this.subscribeHandlerService.subjectSubscribe(this.sharedModelsDataService.modelsResultCount,ae=>{this.totalModels=ae,this.initPaginator.next(ae)},this.unsubscriber),this.subscribeHandlerService.subjectSubscribe(this.route.queryParams,ae=>{this.setSearchMode(!!ae.subquery),this.filterChips=Object.keys(ae).length&&!ae.subquery},this.unsubscriber)}setSearchMode(j){this.searchMode=j}ngOnInit(){}ngOnDestroy(){this.unsubscriber.next()}}return(U=Z).\u0275fac=function(j){return new(j||U)(s.rXU(I.n),s.rXU(W.e),s.rXU(G.nX))},U.\u0275cmp=s.VBU({type:U,selectors:[["app-users-models"]],standalone:!0,features:[s.aNF],decls:11,vars:22,consts:[[1,"row","wrapper"],[1,"col-12","col-lg-2","models-left-sidebar"],[3,"mobileFilter","loadingFiltersIndicator","isProfile","mobileFilterChange"],[1,"col-12","col-lg-10"],[1,"search-mobile"],[3,"userSlug","mobileMode","onSearchMode"],[1,"top-panel-block",3,"ngClass"],[1,"models-top-panel",3,"ngClass"],[3,"isProfile","profileSearchMode","mobileFilter"],[1,"app-models-list",3,"loadingFiltersIndicator","userSlug","isProfile","ngClass"],[3,"itemsPerPage","initPaginator",4,"ngIf"],[3,"itemsPerPage","initPaginator"]],template:function(j,F){1&j&&(s.j41(0,"div",0)(1,"div",1)(2,"app-models-left-sidebar",2),s.bIt("mobileFilterChange",function(ae){return F.mobileFilter=ae}),s.k0s()(),s.j41(3,"div",3)(4,"div",4)(5,"app-users-models-search",5),s.bIt("onSearchMode",function(ae){return F.setSearchMode(ae)}),s.k0s()(),s.j41(6,"div",6)(7,"div",7)(8,"app-models-top-panel",8),s.bIt("mobileFilter",function(ae){return F.mobileFilter=ae}),s.k0s()()(),s.nrm(9,"app-models-list",9),s.DNE(10,B,1,2,"app-models-paginator",10),s.k0s()()),2&j&&(s.R7$(2),s.AVh("mobile-opened",F.mobileFilter),s.Y8G("mobileFilter",F.mobileFilter)("loadingFiltersIndicator",F.loadingFiltersIndicator)("isProfile",!0),s.R7$(3),s.Y8G("userSlug",F.userSlug)("mobileMode",!0),s.R7$(1),s.Y8G("ngClass",s.eq3(16,J,F.searchMode)),s.R7$(1),s.Y8G("ngClass",s.eq3(18,z,F.searchMode)),s.R7$(1),s.Y8G("isProfile",!0)("profileSearchMode",F.searchMode),s.R7$(1),s.Y8G("loadingFiltersIndicator",F.loadingFiltersIndicator)("userSlug",F.userSlug)("isProfile",!0)("ngClass",s.eq3(20,z,F.searchMode||F.filterChips)),s.R7$(1),s.Y8G("ngIf",F.totalModels>F.pagePer))},dependencies:[x.d,O.s,V.MD,V.YU,V.bT,p.p,$.A,E.p],styles:['@charset "UTF-8";.wrapper[_ngcontent-%COMP%]{margin-top:-17px}.wrapper[_ngcontent-%COMP%]   .models-left-sidebar[_ngcontent-%COMP%]{margin-top:22px}@media (max-width: 991.98px){.wrapper[_ngcontent-%COMP%]   .models-left-sidebar[_ngcontent-%COMP%]{margin-top:0}}.top-panel-block[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;overflow:auto}@media (max-width: 991.98px){.top-panel-block[_ngcontent-%COMP%]{margin-top:-52px;transition-timing-function:ease-in;transition-duration:.25s}}@media (max-width: 575.98px){.top-panel-block[_ngcontent-%COMP%]{margin-top:-68px}}.top-panel-block[_ngcontent-%COMP%]   .models-top-panel[_ngcontent-%COMP%]:not(.search-mode){margin-top:22px}.models-top-panel.search-mode[_ngcontent-%COMP%]{margin-top:11px}.search-mobile[_ngcontent-%COMP%]{justify-content:flex-end;width:100%;display:none}@media (max-width: 991.98px){.search-mobile[_ngcontent-%COMP%]{display:block}}.top-panel-block-search-mode[_ngcontent-%COMP%]{margin-top:12px}@media (max-width: 991.98px){.top-panel-block-search-mode[_ngcontent-%COMP%]{transition-timing-function:ease-out;transition-duration:.2s}}@media (max-width: 575.98px){.top-panel-block-search-mode[_ngcontent-%COMP%]{margin-top:0}}.models-block[_ngcontent-%COMP%]{display:flex;gap:24px;margin-top:48px}.models-block[_ngcontent-%COMP%]   .models-filter[_ngcontent-%COMP%]{min-width:204px;border:1px green solid}.app-models-list[_ngcontent-%COMP%]{margin-top:-16px}@media (max-width: 991.98px){.app-models-list[_ngcontent-%COMP%]{margin-top:0}}.app-models-list.search-mode[_ngcontent-%COMP%]{margin-top:0}']}),Z})()},8202:(ct,ce,a)=>{a.d(ce,{u:()=>j});var e=a(5312),d=a(5697),X=a(1626);
17class x extends Error{}x.prototype.name="InvalidTokenError";var $=a(480),E=a(7468),s=a(983),I=a(9437),W=a(1180),G=a(710),B=a(7019),J=a(5979),z=a(8830),w=a(5116),U=a(430),Z=a(3432),H=a(2386);let j=(()=>{var F;class ue{constructor(N,te,ie,re,Ee,Re,Mt,wt){this.http=N,this.sharedGlobalDataService=te,this.cartService=ie,this.subscribeHandlerService=re,this.router=Ee,this.sharedModelsDataService=Re,this.notifierService=Mt,this.sky=wt,this.client3ddd="675904683905-s7o3864l8h9j39cnk5li1vrnqblbrqcf.apps.googleusercontent.com",this.client3dsky="165234740857-36lt5r9o0l3gv3sla96ja0776u5psafp.apps.googleusercontent.com",this.routeUrl=G.iw}getToken(N){return this.http.post(e.c.apiAuthBaseUrl+d.KR.login,N)}refreshToken(N){return this.http.post(e.c.apiAuthBaseUrl+d.KR.refresh,N)}resettingRequest(N){return this.http.post(e.c.apiAuthBaseUrl+d.KR.resettingRequest,N)}checkHash(N){return this.http.get(e.c.apiAuthBaseUrl+d.KR.checkHash+"/"+N)}resettingReset(N){return this.http.post(e.c.apiAuthBaseUrl+d.KR.resettingReset,N)}newUser(N){return this.http.post(e.c.apiAuthBaseUrl+d.KR.newUser,N)}confirmUser(N){return this.http.post(e.c.apiAuthBaseUrl+d.KR.newUserConfirm,N)}authGlobal(N){return this.http.get(e.c.apiBaseUrl+d.KR.loginGlobal+"?bearer="+N,{context:(new X._y).set($.cM,!0).set($.sF,!0)})}loginConfirm(N){return this.http.post(e.c.apiAuthBaseUrl+d.KR.loginConfirm,N)}resendRegisterMail(N){return this.http.post(e.c.apiAuthBaseUrl+d.KR.resendRegisterEmail,N)}resendCodeMail(N){return this.http.post(e.c.apiAuthBaseUrl+d.KR.resendCodeEmail,N)}switchUser(N){return this.http.get(`${e.c.apiAuthBaseUrl}/api/user/${N}/switch`,{context:(new X._y).set($.cM,!0)})}authSessionTokenSave(N){let te=1;for(;localStorage.getItem("auth_session_token_"+te);te++);localStorage.setItem("auth_session_token_"+te,N)}getAuthSessionTokens(){const N=[];for(let te=1;;te++){const ie=localStorage.getItem("auth_session_token_"+te);if(!ie)break;N.push(ie)}return N}checkUserRole(N){if(localStorage.getItem("skyAuthToken")){let te;try{te=function p(F,ue){if("string"!=typeof F)throw new x("Invalid token specified: must be a string");ue||(ue={});const ae=!0===ue.header?0:1,N=F.split(".")[ae];if("string"!=typeof N)throw new x(`Invalid token specified: missing part #${ae+1}`);let te;try{te=function V(F){let ue=F.replace(/-/g,"+").replace(/_/g,"/");switch(ue.length%4){case 0:break;case 2:ue+="==";break;case 3:ue+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function O(F){return decodeURIComponent(atob(F).replace(/(.)/g,(ue,ae)=>{let N=ae.charCodeAt(0).toString(16).toUpperCase();return N.length<2&&(N="0"+N),"%"+N}))}(ue)}catch{return atob(ue)}}(N)}catch(ie){throw new x(`Invalid token specified: invalid base64 for part #${ae+1} (${ie.message})`)}try{return JSON.parse(te)}catch(ie){throw new x(`Invalid token specified: invalid json for part #${ae+1} (${ie.message})`)}}(localStorage.getItem("skyAuthToken"))}catch(ie){return console.warn("Invalid skyAuthToken",ie),!1}return te.roles.indexOf(N)>=0}return!1}logout(N=!1){return this.http.get(N?e.c.apiBaseUrl+d.KR.logoutAll:e.c.apiBaseUrl+d.KR.logout,{context:(new X._y).set($.cM,!0).set($.sF,!0)})}revoke(N=!1){if(N)return this.http.get(e.c.apiAuthBaseUrl+d.KR.revokeAll,{context:(new X._y).set($.cM,!0)});{const te={refresh_token:localStorage.getItem("skyRefreshToken")};return this.http.post(e.c.apiAuthBaseUrl+d.KR.revoke,te)}}cleanAuthData(N=!1,te=!0){if(N)for(let re=1;localStorage.getItem("auth_session_token_"+re);re++)localStorage.removeItem("auth_session_token_"+re);localStorage.removeItem("skyAuthToken"),localStorage.removeItem("skyRefreshToken"),document.cookie="PHPSESSID=;max-age=-1",this.sharedGlobalDataService.setAuthorized(null),this.sharedModelsDataService.setModelsModerator(!1),this.sharedModelsDataService.setModelsModeratorPanel(!1),this.sharedModelsDataService.setCommentsModerator(!1);const ie=this.sharedGlobalDataService.userDataSource.value;ie&&(ie.user&&(ie.user=null),ie.user_rating&&(ie.user_rating=null),ie.menu_events&&(ie.menu_events=null),ie.is_profile_account&&(ie.is_profile_account=null),ie.is_contest&&(ie.is_contest=!1),this.sharedGlobalDataService.setUserData(ie)),te&&this.cartService.clearStorageModels(),this.notifierService.n
17otifierPopup=null,this.notifierService.updateNotifierArray([])}doLogout(N=!1){this.subscribeHandlerService.takeOne((0,E.p)([this.logout(N),this.revoke(N)]).pipe((0,I.W)(()=>(this.cleanAuthAndNavigate(N),s.w))),()=>this.cleanAuthAndNavigate(N))}cleanAuthAndNavigate(N=!1){this.cleanAuthData(N),this.router.navigate(["/"]).then()}redirectToGoogleAuth(){const N=this.sky?this.client3dsky:this.client3ddd,te=encodeURIComponent(location.origin);let ie=encodeURIComponent(W.hS+this.router.url);if(["/"+this.routeUrl.authLogin,"/"+this.routeUrl.registerNew].includes(this.router.url.split("?")[0])&&(ie=W.hS),this.router.url.split("?")[0]==="/"+this.routeUrl.authLogin){const Ee=new URLSearchParams(window.location.search).get("referer_url")||"";ie=encodeURIComponent(W.hS+Ee)}window.location.href=`https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=${N}&scope=openid%20email%20profile&state=${ie}&redirect_uri=${te}&access_type=offline&prompt=consent`}googleAuth(N){const te={code:N.get("code"),scope:"openid email profile",authuser:N.get("authuser"),prompt:"consent",locale:this.sky?"en":"ru",redirect_uri:location.origin,client_id:this.sky?this.client3dsky:this.client3ddd};return this.http.post(e.c.apiAuthBaseUrl+d.KR.googleCallback,te)}}return(F=ue).\u0275fac=function(N){return new(N||F)(B.KVO(X.Qq),B.KVO(J.o),B.KVO(z.mx),B.KVO(w.e),B.KVO(U.Ix),B.KVO(Z.n),B.KVO(H.i),B.KVO(W.ef))},F.\u0275prov=B.jDH({token:F,factory:F.\u0275fac,providedIn:"root"}),ue})()},8419:(ct,ce,a)=>{a.d(ce,{b:()=>$,x:()=>p});var e=a(7019),d=a(1626),X=a(5697),x=a(480),O=a(5312),V=a(1180),p=function(E){return E[E.MAIN_BANNER=1]="MAIN_BANNER",E[E.SIDEBAR_BANNER=2]="SIDEBAR_BANNER",E[E.MODEL_SIDEBAR_BANNER=3]="MODEL_SIDEBAR_BANNER",E[E.MODEL_BANNER=4]="MODEL_BANNER",E[E.MAIN_BANNER_TOP=5]="MAIN_BANNER_TOP",E[E.MAIN_BANNER_BOTTOM=6]="MAIN_BANNER_BOTTOM",E[E.HORIZONTAL_BANNER_SINGLE=7]="HORIZONTAL_BANNER_SINGLE",E}(p||{});let $=(()=>{var E;class s{constructor(){this.http=(0,e.WQX)(d.Qq),this.sky=(0,e.WQX)(V.ef)}getBanners(W,G){const B={platform:window.matchMedia("(min-width: 768px)").matches?0:1,locale:this.sky?"en":"ru",url:O.c.apiBaseUrl+W,bannersByType:G.bannersByType};return this.http.post(O.c.apiBannersUrl+X.y0.getBannersByType,B,{context:(new d._y).set(x.cM,!0)})}apiBannersClick(W){return this.http.post(W,void 0,{context:(new d._y).set(x.cM,!0)})}getPromoBanner(W){return this.http.post(O.c.apiPromoBannersUrl+X.y0.promoBanners,{locale:W})}}return(E=s).\u0275fac=function(W){return new(W||E)},E.\u0275prov=e.jDH({token:E,factory:E.\u0275fac,providedIn:"root"}),s})()},2005:(ct,ce,a)=>{a.d(ce,{B:()=>$});var e=a(1626),d=a(7673),X=a(5312),x=a(5697),O=a(7019),V=a(1180),p=a(480);let $=(()=>{var E;class s{constructor(){this.http=(0,O.WQX)(e.Qq),this.sky=(0,O.WQX)(V.ef),this.site=this.sky?0:1}getUserBlogs(W,G){return this.http.post(`${X.c.apiBlogUrl+x.bG.userBlogs}`,{userSlug:W,page:G,site:this.site},{context:(new e._y).set(p.cM,!0)})}getUserBlogsCount(W){return this.http.post(`${X.c.apiBlogUrl+x.bG.userBlogsCount}`,{slug:W,site:this.site},{context:(new e._y).set(p.cM,!0)})}getBlogCategories(W){return this.sky?(0,d.of)({data:[]}):this.http.post(X.c.apiBlogUrl+x.bG.blogCategories,{site:this.site,language:W})}getBlogAll(W,G="",B=""){const J={site:this.site,page:W,categoryUrl:G};return B&&(J.tag=B),this.http.post(X.c.apiBlogUrl+x.bG.blogAll,J,{context:(new e._y).set(p.cM,!0)})}getBlogLast(){return this.http.post(X.c.apiBlogUrl+x.kB.getBlogLast,{site:this.sky?0:1})}getPost(W){return this.http.post(X.c.apiBlogUrl+x.bG.blogPost,{slug:W},{context:(new e._y).set(p.cM,!0)})}getTags(W,G){return this.http.post(X.c.apiTagBaseUrl+x.y0.getTags,{entity:"blog",slug:W,locale:G})}getUsersLikePost(W){return this.http.post(X.c.apiLikeBaseUrl+x.bG.likeUsers,{slug:W})}likePost(W,G){return this.http.post(X.c.apiLikeBaseUrl+x.bG.likePost,{entity:"blog",slug:W,rating:G},{context:(new e._y).set(p.cM,!0)})}}return(E=s).\u0275fac=function(W){return new(W||E)},E.\u0275prov=O.jDH({token:E,factory:E.\u0275fac,providedIn:"root"}),s})()},8035:(ct,ce,a)=>{a.d(ce,{K:()=>W,R:()=>I});var e=a(7019),d=a(4412),X=a(1626),x=a(5312),O=a(5697),V=a(2965),p=a(480),$=a(8207),E=a(6354),s=a(174);const I="collection_already_exists";let W=(()=>{var G;class B{constructor(z,w,U){this.http=z,this.translate=w,this.locale=U,this.updateBookmarkStateSource=new d.t(""),this.updateBookmark=this.updateBookmarkStateSource.asObservable(),this.apiBookmarksUrl=x.c.apiBookmarksUrl,this.isBookmarkListOpen=new d.t(!1)}getBookmarkUserCount(z){const w=this.apiBookmarksUrl+O.y0.getBookmarkUserCount,U=JSON.stringify({slug:z});return this.http.post(w,U)}getBookmarkCollection(z){const w=this.apiBookmarksUrl+O.y0.getBookmarkCollection,U=JSON.stringify({slug:z});return this.http.post(w,U,{context:(new X._y).set(p.cM,!0)}).pipe((0,E.T)(Z=>(Z.data.forEach(H=>{H.isDefault&&(H.title=this.translate.transform("collection.bookmarkListPopup.favorites"))}),Z)))}createBookmark(z){return this.http.post(this.apiBookmarksUrl+O.y0.createBookmark,z,{context:(new X._y).set(p.cM,!0)})}setBookmark(z,w,U){const H=this.apiBookmarksUrl+(U?O.y0.bookmarkDel:O.y0.bookmarkAdd);if(w!==V.Q8){const j=JSON.stringify({slug:z,collection:w});return this.http.post(H,j,{context:(new X._y).set(p.cM,!0)})}{const j=JSON.stringify({slug:z});return this.http.post(H,j,{context:(new X._y).set(p.cM,!0)})}}setBookmarkGallery(z,w){const Z=this.apiBookmarksUrl+(w?O.y0.bookmarkGalleryDel:O.y0.bookmarkGalleryAdd),H=JSON.stringify({slug:z});return this.http.post(Z,H,{context:(new X._y).set(p.cM,!0)})}setBookmarkBlog(z,w){const Z=this.apiBookmarksUrl+(w?O.bG.bookmarkBlogDel:O.bG.bookmarkBlogAdd),H=JSON.stringify({slug:z});return this.http.post(Z,H,{context:(new X._y).set(p.cM,!0)})}getSharedCollection(z){return this.http.get(`${x.c.apiBaseUrl+O.y0.collectionSharedList}/${z}`,{withCredentials:!0})}
17buildBookmarkPopupList(z){return z.map(w=>({state:{checked:w.isAdded,loadingState:new $.I,disabled:w.publicLimitExceeded&&w.isShared&&!w.isAdded},...w}))}}return(G=B).\u0275fac=function(z){return new(z||G)(e.KVO(X.Qq),e.KVO(s.D),e.KVO(e.xe9))},G.\u0275prov=e.jDH({token:G,factory:G.\u0275fac,providedIn:"root"}),B})()},8830:(ct,ce,a)=>{a.d(ce,{N5:()=>Z,X7:()=>U,mx:()=>H});var e=a(7019),d=a(4412),X=a(8810),x=a(983),O=a(1626),V=a(5697),p=a(5312),$=a(480),E=a(5979),s=a(9437),I=a(8141),W=a(9172),G=a(8207),B=a(6069),J=a(174),z=a(1180);const w="modelsInCart",U="cartViewedModels";class Z{constructor(F,ue,ae){this.baseUrl=ue,this.isSelected=!0,this.bookmarkBusyIndicator=new G.I,this.deleteBusyIndicator=(0,e.vPA)(!1),this.downLoadBusyIndicator=new G.I,this.selectedBusyIndicator=new G.I,this.sliderIndicatorsCount=7,this.sliderIndicatorActive=0,this.createdAt=ae,this.price={en:F.price_usd,ru:F.price},this.platform={en:F.properties.platform?.titleEn,ru:F.properties.platform?.title},this.render=F.properties.render?.title,this.isBookmark=F.is_bookmark,this.isPurchase=F.is_purchase,this.modelType=F.model_type,this.slug=F.slug,this.title={ru:F.title,en:F.title_en},this.imageUrl=this.getImageUrl(F),this.images=F.images?.length?F.images:[],this.sliderIndicatorsCount=F.images.length}getImageUrl(F){return F.images?.length?this.baseUrl.baseUrl+V.oT.modelThumb+F.images[0].web_path:""}}let H=(()=>{var j;class F{constructor(){this.http=(0,e.WQX)(O.Qq),this.sharedGlobalDataService=(0,e.WQX)(E.o),this.translate=(0,e.WQX)(J.D),this.sky=(0,e.WQX)(z.ef),this.popupBarService=(0,e.WQX)(B.h),this.locale=this.sky?"en":"ru",this.totalInCart=new d.t(0),this.modelsInCart=new d.t([]),this.modelsInCart.asObservable().subscribe(ae=>this.totalInCart.next(ae.length))}addAndUpdate(ae,N){const te=(new Date).toISOString();if(this.sharedGlobalDataService.authorizedSource.value)return this.http.post(p.c.apiCartUrl+V.Ep.add,{slug:ae,createdAt:te},{context:(new O._y).set($.cM,!0)}).pipe((0,s.W)(ie=>this.errorResponseHandler(ie,N)),(0,I.M)(ie=>this.updateModels(ie.data.cart??[])));{if(this.totalInCart.value>29){const re={message:"not auth model limit reached"};return(0,X.$)(()=>re).pipe((0,s.W)(Ee=>this.errorResponseHandler(Ee,N)))}[...this.modelsInCart.value].map(re=>re.slug).includes(ae)||this.modelsInCart.next([...this.modelsInCart.value,{slug:ae,createdAt:te,isSelected:!0}]),localStorage.setItem(w,JSON.stringify(this.modelsInCart.value));const ie={cart:[...this.modelsInCart.value]};return x.w.pipe((0,W.Z)({errors:[],data:ie,message:"cart",status:200,success:!0}))}}deleteAndUpdate(ae,N){if(this.sharedGlobalDataService.authorizedSource.value)return this.http.post(p.c.apiCartUrl+V.Ep.delete,{slug:ae},{context:(new O._y).set($.cM,!0)}).pipe((0,s.W)(te=>this.errorResponseHandler(te,N)),(0,I.M)(te=>this.updateModels(te.data.cart??[])));{const te=[...this.modelsInCart.value].filter(re=>re.slug!==ae);this.updateModels(te);const ie={cart:[...te]};return x.w.pipe((0,W.Z)({errors:[],data:ie,message:"cart",status:200,success:!0}))}}clearStorageModels(){localStorage.removeItem(w),this.modelsInCart.next([]),this.totalInCart.next(0)}checkLocaleModels(){this.modelsInCart.next(this.getLocalModels())}updateModels(ae){this.modelsInCart.next(ae),this.sharedGlobalDataService.authorizedSource.value?localStorage.removeItem(w):localStorage.setItem(w,JSON.stringify(ae))}getLocalModels(){const ae=localStorage.getItem(w)||"[]";return JSON.parse(ae)}getCartInfo(){return this.http.post(p.c.apiBaseUrl+V.Ep.ps,{locale:this.locale})}pay(ae,N,te,ie,re,Ee,Re){const Mt={locale:this.locale,ps:ae,model_slugs:N.join(),pro_count:ie,free_choice:te,cancel_url:Ee,currency:Re};return this.http.post(p.c.apiBaseUrl+V.Ep.payment,Mt,{context:(new O._y).set($.cM,!0).set($.sF,!0)}).pipe((0,s.W)(wt=>this.errorResponseHandler(wt,re)))}mergeAndUpdate(ae,N){return this.http.post(p.c.apiCartUrl+V.Ep.merge,{data:{slugs:ae},locale:this.locale},{context:(new O._y).set($.cM,!0)}).pipe((0,s.W)(ie=>N?this.errorResponseHandler(ie,N):(0,X.$)(()=>ie)),(0,I.M)(ie=>this.updateModels(ie.data.cart??[])))}checkPay(ae){return this.http.post(p.c.apiBaseUrl+V.Ep.checkTransaction,{tr_slug:ae},{context:(new O._y).set($.cM,!0).set($.sF,!0)})}clearAllModels(ae){return this.sharedGlobalDataService.authorizedSource.value?this.http.post(p.c.apiCartUrl+V.Ep.clear,void 0,{context:(new O._y).set($.cM,!0)}).pipe((0,s.W)(N=>this.errorResponseHandler(N,ae)),(0,I.M)(()=>this.updateModels([]))):(this.updateModels([]),x.w.pipe((0,W.Z)({errors:[],data:[],message:"ok",status:200,success:!0})))}existInCart(ae){return!!ae&&[...this.modelsInCart.value].map(te=>te.slug).includes(ae)}getFastSpringScript(ae){let N;switch(ae){case"card_fs_corp":N="popup-defaultB2B";break;case"fastspring_test":N="popup-testing";break;default:N="popup-personal"}const te=document.createElement("script");return te.id="fsc-api",te.src="https://sbl.onfastspring.com/sbl/1.0.6/fastspring-builder.min.js",te.type="text/javascript",te.dataset.storefront=`threedsky.onfastspring.com/${N}`,te.dataset.accessKey="ECYORO--TG2GGEZOT0_R3G",te.dataset.popupClosed="fastSpringPopupClosed",te.dataset.type=ae,te}getRoboScript(){const ae=document.createElement("script");return ae.src="https://auth.robokassa.ru/Merchant/bundle/robokassa_iframe.js",ae}errorResponseHandler(ae,N){const te=new RegExp(ae?.error?.message,"gi");let ie=this.translate.transform("errors.global.serverError");return te.test("Already in the basket")&&(ie=this.translate.transform("cart.errors.alreadyExist")),te.test("Model is not available")&&(ie=this.translate.transform("cart.errors.available")),te.test("Models_limit_reached")&&(ie=this.translate.transform("cart.errors.serverAddLimit")),te.test("Prepays error")&&(ie=this.translate.transform("cart.errors.alreadyPurchased")),te.test("not auth model limit reached")&&(ie=this.translate.transform("cart.errors.notAuthAdd")),this.popupBarService.show(N,ie,void 0,"error"),(0,X.$)(()=>ae)}
17addViewedModel(ae){let N=this.sharedGlobalDataService.getLocalViewedModels();N=N.filter(te=>te.slug!==ae),N.unshift({slug:ae,date:(new Date).toISOString()}),localStorage.setItem(U,JSON.stringify(N))}update(ae){return this.sharedGlobalDataService.authorizedSource.value?this.http.post(p.c.apiCartUrl+V.Ep.update,{slugs:ae},{context:(new O._y).set($.cM,!0)}):x.w.pipe((0,W.Z)({errors:[],data:[],status:200,success:!0}))}deleteBySlugs(ae){if(this.sharedGlobalDataService.authorizedSource.getValue())return this.http.post(p.c.apiCartUrl+V.Ep.deleteBySlugs,{slugs:ae},{context:(new O._y).set($.cM,!0)});{const N=this.getLocalModels().filter(te=>!ae.includes(te.slug));return localStorage.setItem(w,JSON.stringify(N)),x.w.pipe((0,W.Z)({errors:[],data:[],status:200,success:!0}))}}}return(j=F).\u0275fac=function(ae){return new(ae||j)},j.\u0275prov=e.jDH({token:j,factory:j.\u0275fac,providedIn:"root"}),F})()},8999:(ct,ce,a)=>{a.d(ce,{K:()=>p,q:()=>$});var e=a(4412),d=a(5312),X=a(5697),x=a(8141),O=a(7019),V=a(1626),p=function(E){return E.MATERIALS="materials",E.COLORS="colors",E.STYLES="styles",E.RENDERS="renders",E.FORMATS="formats",E.FORMS="forms",E}(p||{});let $=(()=>{var E;class s{constructor(W){this.http=W,this.filterSource=new e.t(null),this.filterModelsData=this.filterSource.asObservable()}getFilterModels(W){return this.http.get(d.c.apiBaseUrl+X.y0.filterModels+(W?"?user="+W:"")).pipe((0,x.M)(G=>{if(G.data){const B=G.data[p.RENDERS].findIndex(J=>J.title.match(new RegExp("standard","gi")));if(B>=0){const J=G.data[p.RENDERS].splice(B,1)[0];G.data[p.RENDERS].push(J)}this.filterSource.next(G.data)}}))}}return(E=s).\u0275fac=function(W){return new(W||E)(O.KVO(V.Qq))},E.\u0275prov=O.jDH({token:E,factory:E.\u0275fac,providedIn:"root"}),s})()},633:(ct,ce,a)=>{a.d(ce,{p:()=>O});var e=a(5312),d=a(5697),X=a(7019),x=a(1626);let O=(()=>{var V;class p{constructor(E){this.http=E}getUserForumPosts(E,s,I=!0){return this.http.post(`${e.c.apiForumUrl+d.Cf.userPosts}`,{userSlug:E,page:s,removeImages:I})}getUserForumThreads(E,s,I=!0){return this.http.post(`${e.c.apiForumUrl+d.Cf.userThreads}`,{userSlug:E,page:s,removeImages:I})}getUserForumPostsCount(E){return this.http.post(`${e.c.apiForumUrl+d.Cf.forumPostsCount}`,{slug:E})}}return(V=p).\u0275fac=function(E){return new(E||V)(X.KVO(x.Qq))},V.\u0275prov=X.jDH({token:V,factory:V.\u0275fac,providedIn:"root"}),p})()},4622:(ct,ce,a)=>{a.d(ce,{A:()=>V});var e=a(1626),d=a(5312),X=a(5697),x=a(480),O=a(7019);let V=(()=>{var p;class ${constructor(s){this.http=s,this.QUERY_PARAMS_PAGE="page",this.QUERY_PARAMS_BOOKMARKS="favorites",this.QUERY_PARAMS_SUBSCRIBED="following",this.QUERY_PARAMS_MODELS="models",this.QUERY_PARAMS_IS_AWARD="award",this.QUERY_PARAMS_IS_MOUNTAIN="hill-king",this.QUERY_PARAMS_CATEGORY="categories",this.QUERY_PARAMS_ORDER="order",this.QUERY_PARAMS_QUERY="query",this.QUERY_PARAMS_TAG="tag",this.ORDER_TIMESTAMP_CREATED="new",this.ORDER_VOTES_COUNT="popular",this.ORDER_VIEWS_COUNT="views",this.ORDER_COMMENTS_COUNT="comments",this.ORDER_RELEVANCE="relevance"}getUserGalleries(s,I){return this.http.post(`${d.c.apiGalleryUrl+X.Cf.userGalleries}`,{userSlug:s,page:I},{context:(new e._y).set(x.cM,!0)})}getUserGalleryCount(s){return this.http.post(`${d.c.apiGalleryUrl+X.Cf.galleryCount}`,{slug:s})}getUserGalleryCategories(){return this.http.post(`${d.c.apiGalleryUrl+X.GM.galleryCategoriesList}`,{},{context:(new e._y).set(x.cM,!0)})}getGalleries(s,I=!1,W=!1,G=!1,B=!1,J=!1,z,w,U,Z){const H=z?[z]:[],j=Z?Z.split(","):[];return this.http.post(`${d.c.apiGalleryUrl+X.GM.galleryList}`,{page:s,isBookmarked:I,isSubscriber:W,hasLabels:G,isAward:B,isMountain:J,categories:H,query:w,order:U,tags:j},{context:(new e._y).set(x.cM,!0)})}}return(p=$).\u0275fac=function(s){return new(s||p)(O.KVO(e.Qq))},p.\u0275prov=O.jDH({token:p,factory:p.\u0275fac,providedIn:"root"}),$})()},1340:(ct,ce,a)=>{a.d(ce,{A:()=>At});var e=a(4412),d=a(2965),X=a(1413),x=a(3726),O=a(6977),V=a(152),p=a(177),$=a(174),E=a(2415),s=a(9738),I=a(7019),W=a(4678),G=a(2128),B=a(5116);function J(Et,It){1&Et&&(I.qex(0),I.qSk(),I.j41(1,"svg",8),I.nrm(2,"path",9)(3,"path",10),I.k0s(),I.bVm())}function z(Et,It){1&Et&&(I.qSk(),I.j41(0,"svg",8),I.nrm(1,"path",11)(2,"path",12),I.k0s())}function w(Et,It){1&Et&&I.nrm(0,"app-model-user-like-set",13),2&Et&&I.Y8G("user",It.$implicit)("inColumn",!0)}let U=(()=>{var Et;class It{constructor(st,ne,fe,le,Ue){this.modelService=st,this.likesService=ne,this.backdropService=fe,this.backdropComponentService=le,this.subscribeHandlerService=Ue,this.unsubscriber=new X.B,this.stickyList=!1,this.scroll=()=>{this.stickyList=document.getElementById("users-likes-list").getBoundingClientRect().top<0}}ngOnInit(){window.addEventListener("scroll",this.scroll,!0),this.subscribeHandlerService.subjectSubscribe(this.likesService.modelLikeSetUsersList,st=>{this.likesUsersSet=st},this.unsubscriber)}ngAfterViewInit(){(0,x.R)(document,"keydown").pipe((0,O.Q)(this.unsubscriber),(0,V.B)(10)).subscribe(st=>{"Escape"===st.key&&this.backdropComponentService.hideAndDestroyService()})}ngOnDestroy(){window.removeEventListener("scroll",this.scroll,!0)}}return(Et=It).\u0275fac=function(st){return new(st||Et)(I.rXU(d.JW),I.rXU(At),I.rXU(W.u),I.rXU(G.v),I.rXU(B.e))}
17,Et.\u0275cmp=I.VBU({type:Et,selectors:[["app-users-likes-set"]],inputs:{modelLikeUsers:"modelLikeUsers"},standalone:!0,features:[I.aNF],decls:14,vars:11,consts:[["id","users-likes-list"],[1,"list-header"],[1,"users-in-list"],[4,"ngIf","ngIfElse"],["recommendActive",""],[3,"buttonClick"],[1,"grid-container"],[3,"user","inColumn",4,"ngFor","ngForOf"],["width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M0.00496856 7.99145C0.00966099 7.44252 0.455983 7 1.00493 7H4.58621C7.02157 5.36218 8.48813 3.74995 9.38298 2.55647C9.83977 1.94724 10.1528 1.44052 10.3824 1.06784C10.3883 1.05837 10.3941 1.04887 10.4 1.03935C10.502 0.873808 10.6088 0.700435 10.7023 0.570527C10.7504 0.503638 10.8274 0.402004 10.9274 0.308588C10.9921 0.248204 11.2603 0 11.6831 0C12.0579 0 12.335 0.181987 12.4922 0.325171C12.6625 0.480226 12.7836 0.668118 12.868 0.853869C13.0379 1.22735 13.1048 1.68773 13.0734 2.20919C13.0186 3.1204 12.6565 4.35507 11.7619 6L17.0221 5.99998C17.3356 5.99998 17.6777 6.03697 17.9965 6.17857C18.3493 6.33522 18.6151 6.59409 18.7804 6.92526C18.9282 7.22151 18.9721 7.52952 18.989 7.77005C19.0061 8.01494 18.9998 8.28261 18.9924 8.5298C18.9697 9.30898 18.7725 10.6674 18.3582 11.9848C18.1495 12.6483 17.8766 13.3314 17.5241 13.9387C17.1758 14.5386 16.7165 15.1223 16.1097 15.5154C15.6836 15.7914 15.1827 15.985 14.6215 15.9997C14.6127 15.9999 14.604 16 14.5953 16H1.00497C0.736684 16 0.479649 15.8922 0.291629 15.7008C0.103609 15.5094 0.000375723 15.2505 0.0051289 14.9823C0.0319418 13.4691 0.0220114 12.3855 0.0115298 11.2417C0.00283465 10.2929 -0.0062398 9.30263 0.00496856 7.99145ZM1.00493 8H4.74008C4.83748 8 4.93302 7.97059 5.01416 7.91673C8.66715 5.49183 10.3054 3.08026 11.0766 1.84621C11.091 1.8231 11.1052 1.80041 11.119 1.77813C11.1612 1.71027 11.2006 1.64632 11.2375 1.58648C11.4676 1.21301 11.5989 1 11.6831 1C11.8269 1 12.0679 1.26654 12.0804 1.91196C12.0817 1.98078 12.0805 2.0539 12.0762 2.13147C12.0314 2.94825 11.6549 4.25772 10.4859 6.21889C10.283 6.55927 10.5228 7 10.9191 7L17.0221 6.99998C18.0002 6.99998 18.0229 7.49123 17.9929 8.5C17.9534 9.86296 17.2717 13.5712 15.566 14.6761C15.2605 14.874 14.936 14.9911 14.5953 15H1.00497C1.01122 14.6475 1.01545 14.316 1.01814 14C1.02692 12.9691 1.01927 12.1025 1.01137 11.2073C1.00291 10.2497 0.994167 9.25931 1.00493 8Z","fill","#8C8C8C"],["fill-rule","evenodd","clip-rule","evenodd","d","M-6.30862e-05 7H4.99994V16H-6.30862e-05V7ZM0.999937 8V15H3.99994V8H0.999937Z","fill","#8C8C8C"],["d","M0 7.02002L4 7V16L0 15.99V7.02002Z","fill","#4182AA"],["d","M8.72656 3.34741C7.29688 5.03101 5.72441 6.45044 5 6.99976V15.9998C7.53374 15.9957 13.6088 15.9998 14.4414 15.9998C16.7461 15.9998 17.8413 13.7398 18.5 11.4997C18.8877 10.1811 19 8.99975 19 7.99975C19 6.49975 18.0664 5.99976 17 5.99976H11.75C12.7656 4.12476 13.0396 3.02698 13.082 2.01538C13.1245 1.00378 12.6438 0.259904 12.0156 0.0505205C11.5668 -0.0990935 11.0457 0.119246 10.7148 0.593485C10.366 1.09347 9.56856 2.35588 8.72656 3.34741Z","fill","#4182AA"],[3,"user","inColumn"]],template:function(st,ne){if(1&st&&(I.j41(0,"div",0)(1,"div",1)(2,"div",2),I.DNE(3,J,4,0,"ng-container",3),I.DNE(4,z,3,0,"ng-template",null,4,I.C5r),I.j41(6,"span"),I.EFF(7),I.k0s(),I.j41(8,"span"),I.EFF(9),I.nI1(10,"translate"),I.k0s()(),I.j41(11,"app-close-button",5),I.bIt("buttonClick",function(){return ne.backdropComponentService.hideAndDestroyService()}),I.k0s()(),I.j41(12,"div",6),I.DNE(13,w,1,2,"app-model-user-like-set",7),I.k0s()()),2&st){const fe=I.sdS(5);I.AVh("sticky-list",ne.stickyList),I.R7$(1),I.AVh("sticky-list-header",ne.stickyList),I.R7$(2),I.Y8G("ngIf",!ne.modelLikeUsers)("ngIfElse",fe),I.R7$(4),I.SpI(" ",ne.likesUsersSet.length," "),I.R7$(2),I.SpI(" ",I.bMT(10,9,"model.likes.recommend")," "),I.R7$(4),I.Y8G("ngForOf",ne.likesUsersSet)}},dependencies:[p.MD,p.Sq,p.bT,$.D,E.o,s.f],styles:["#users-likes-list[_ngcontent-%COMP%]{background:#FFFFFF;width:720px;padding-left:24px;padding-right:24px;border-radius:4px}@media (max-width: 767.98px){#users-likes-list[_ngcontent-%COMP%]{width:540px}}@media (max-width: 575.98px){#users-likes-list[_ngcontent-%COMP%]{width:360px}}.sticky-list[_ngcontent-%COMP%]{padding-top:56px}.list-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;background:#FFFFFF;height:56px;padding-top:24px;padding-bottom:8px;position:relative}.users-in-list[_ngcontent-%COMP%]{height:20px;color:#373737;font-weight:500;font-size:16px;line-height:20px}.users-in-list[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:8px;display:inline-block}.sticky-list-header[_ngcontent-%COMP%]{width:720px;position:fixed;top:0;margin-left:-24px;padding:24px 24px 8px;z-index:10}@media (max-width: 767.98px){.sticky-list-header[_ngcontent-%COMP%]{width:540px}}@media (max-width: 575.98px){.sticky-list-header[_ngcontent-%COMP%]{width:360px}}.grid-container[_ngcontent-%COMP%]{padding:16px 0 24px;display:grid;grid-template-columns:repeat(3,208px);justify-content:space-between;gap:8px 24px}@media (max-width: 767.98px){.grid-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,206px)}}@media (max-width: 575.98px){.grid-container[_ngcontent-%COMP%]{grid-template-columns:repeat(1,206px)}}"]}),It})();var Z=a(9969),H=a(162);function j(Et,It){1&Et&&I.nrm(0,"app-model-user-like-set",4),2&Et&&I.Y8G("user",It.$implicit)("inColumn",!1)}function F(Et,It){if(1&Et){const bt=I.RV6();I.qex(0),I.j41(1,"button",5),I.bIt("click",function(){I.eBV(bt);const ne=I.XpG();return I.Njj(ne.elseUserLike())}),I.EFF(2),I.nI1(3,"translate"),I.k0s(),I.bVm()}2&Et&&(I.R7$(2),I.JRh(I.bMT(3,1,"model.likes.seeAll")))}const ue=function(Et,It){return{animationIn:Et,animationOut:It}},ae=function(Et,It){return{value:Et,params:It}};let N=(()=>{var Et;class It{constructor(st,ne,fe,le){this.modelService=st,this.likesService=ne,this.subscribeHandlerService=fe,this.backdropComponentService=le,this.unsubscriber=new X.B,this.buttonElseUserLike=!1,this.state=void 0,this.animationIn="100ms ease-in",this.animationOut="100ms ease-out",this.animationOutLong="500ms ease-out",this.modelLikeUsers=!1,this.sliceLikeUsers=8}goAnimateStop(){this.likesService.setUserLikesShortAnimate(!0),this.state="closed"}onAnimationDone(st){this.likesService.setUserLikesShortAnimate(!1),"closed"===st.toState&&this.likesService.userLikeShortSelfStop()}mouseOverElement(st){this.likesService.setLikesUsersShortHover(st)}elseUserLike(){const st=this.viewContainerRef.createComponent(U);st.instance.modelLikeUsers=this.modelLikeUsers,this.backdropComponentService.createBackdropComponent(this.viewContainerRef,{inZIndex:
17700,screenStop:!0,insertBackdropStyles:{display:"flex",alignItems:"start",justifyContent:"center",overflow:"auto",paddingTop:"80px",paddingBottom:"80px"}},st)}ngOnInit(){this.subscribeHandlerService.subjectSubscribe(this.likesService.modelLikeSetUsersList,st=>{st.length>8?(this.likesUsersSetCut=st.slice(0,this.sliceLikeUsers),this.buttonElseUserLike=!0):(this.likesUsersSetCut=st,this.buttonElseUserLike=!1)},this.unsubscriber),this.likesService.likesUsersShortHover.pipe((0,O.Q)(this.unsubscriber),(0,V.B)(d.HN)).subscribe(st=>{!1===st&&!this.modelRecommendButtonHoverOn&&this.likesService.userLikeShortStop()}),this.subscribeHandlerService.subjectSubscribe(this.modelService.modelRecommendButton,st=>{this.modelRecommendButtonHoverOn=st},this.unsubscriber)}ngOnDestroy(){this.unsubscriber.next()}}return(Et=It).\u0275fac=function(st){return new(st||Et)(I.rXU(d.JW),I.rXU(At),I.rXU(B.e),I.rXU(G.v))},Et.\u0275cmp=I.VBU({type:Et,selectors:[["app-users-likes-short"]],inputs:{modelLikeUsers:"modelLikeUsers",sliceLikeUsers:"sliceLikeUsers",viewContainerRef:"viewContainerRef"},standalone:!0,features:[I.aNF],decls:4,vars:9,consts:[[1,"users-list-wrapper",3,"mouseenter","mouseleave"],[1,"users-list"],[3,"user","inColumn",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"user","inColumn"],[1,"user-like-else",3,"click"]],template:function(st,ne){1&st&&(I.j41(0,"div",0),I.bIt("@fadeInOutShort.done",function(le){return ne.onAnimationDone(le)})("mouseenter",function(){return ne.mouseOverElement(!0)})("mouseleave",function(){return ne.mouseOverElement(!1)}),I.j41(1,"div",1),I.DNE(2,j,1,2,"app-model-user-like-set",2),I.k0s(),I.DNE(3,F,4,3,"ng-container",3),I.k0s()),2&st&&(I.Y8G("@fadeInOutShort",I.l_i(6,ae,ne.state,I.l_i(3,ue,ne.animationIn,void 0===ne.backdropComponentService.getLastBackdropComponent()?ne.animationOut:ne.animationOutLong))),I.R7$(2),I.Y8G("ngForOf",ne.likesUsersSetCut),I.R7$(1),I.Y8G("ngIf",ne.buttonElseUserLike))},dependencies:[s.f,p.MD,p.Sq,p.bT,$.D],styles:[".users-list-wrapper[_ngcontent-%COMP%]{position:absolute;top:-8px;left:50%;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:216px;padding:16px;background-color:#fff;box-shadow:0 0 16px #6c92a966;border-radius:8px;z-index:10}.users-list-wrapper[_ngcontent-%COMP%]   .users-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}.users-list-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border:none;padding:0;margin:0;width:100%;height:36px;border-radius:4px;display:flex;align-items:center;justify-content:center;background-color:#fff;color:#000;font-size:16px;font-weight:500;line-height:20px}@media (pointer: fine) and (hover: hover){.users-list-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{background-color:#f4f4f4}}.users-list-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active{background-color:#c2e7ff;color:#023d67}"],data:{animation:[(0,Z.hZ)("fadeInOutShort",H.N)]}}),It})();var te=a(5312),ie=a(5697),re=a(1626),Ee=a(480),Re=a(6354),Mt=a(1180);a(647);let At=(()=>{var Et;class It{constructor(st,ne){this.http=st,this.imageBaseUrl=ne,this.updateModelLikeSetUsersList=new e.t(void 0),this.modelLikeSetUsersList=this.updateModelLikeSetUsersList.asObservable(),this.updateLikesUsersShortHover=new e.t(void 0),this.likesUsersShortHover=this.updateLikesUsersShortHover.asObservable(),this.userLikesShortCompCreated=!1,this.userLikesShortCompAnimate=void 0,this.insertLikeUserShortComponentsArray=[],this.usersLikesShortComponent=void 0,this.apiLikeBaseUrl=te.c.apiLikeBaseUrl}setModelLikeSetUsersList(st){this.updateModelLikeSetUsersList.next(st)}setLikesUsersShortHover(st){this.updateLikesUsersShortHover.next(st)}likeModel(st){return this.http.post(this.apiLikeBaseUrl+ie.Zr.likeModel,st,{context:(new re._y).set(Ee.cM,!0)})}setLike(st){return this.http.post(te.c.apiLikeBaseUrl+ie.yl.setLike,st,{context:(new re._y).set(Ee.cM,!0)})}userLikeShortStart(st,ne,fe,le){!this.userLikesShortCompCreated&&!this.userLikesShortCompAnimate&&(this.userLikesShortCompCreated=!0,this.userLikesShortCompAnimate=!0,this.usersLikesShortComponent=st.createComponent(N),this.usersLikesShortComponent.instance.modelLikeUsers=fe,this.usersLikesShortComponent.instance.viewContainerRef
17=st,void 0!==le&&(this.usersLikesShortComponent.instance.sliceLikeUsers=le),this.insertLikeUserShortComponentsArray.push(this.usersLikesShortComponent),ne.insert(this.usersLikesShortComponent.hostView))}setUserLikesShortAnimate(st){this.userLikesShortCompAnimate=st}destroyLikeUserShortComponents(){this.insertLikeUserShortComponentsArray.length&&(this.insertLikeUserShortComponentsArray.forEach(st=>st.destroy()),this.userLikesShortCompCreated=!1,this.insertLikeUserShortComponentsArray=[],this.userLikesShortCompAnimate=!1)}userLikeShortStop(){this.userLikesShortCompCreated&&!this.userLikesShortCompAnimate&&this.usersLikesShortComponent?.instance.goAnimateStop()}userLikeShortSelfStop(){this.userLikesShortCompCreated&&(this.destroyLikeUserShortComponents(),this.setLikesUsersShortHover(void 0))}likesUsersSetList(st){return this.http.post(this.apiLikeBaseUrl+ie.PH.likesUsersSetList,{slug:st}).pipe((0,Re.T)(fe=>(fe.data?.model_like_users?.length&&(fe.data.model_like_users=fe.data.model_like_users.map(le=>(le.user_avatar_url&&(le.user_avatar_url=this.imageBaseUrl.baseUrl+le.user_avatar_url),le))),fe)))}likeComment(st){return this.http.post(this.apiLikeBaseUrl+ie.PH.likeComment,st,{context:(new re._y).set(Ee.cM,!0)})}likesUsersSetCommentsList(st){return this.http.post(this.apiLikeBaseUrl+ie.PH.likesUsersSetCommentsList,{slug:st},{context:(new re._y).set(Ee.cM,!0)})}likesUserSetCommentsList(st,ne){return this.http.post(this.apiLikeBaseUrl+ie.yl.userLikeComments,{slug:st,entity:ne},{context:(new re._y).set(Ee.cM,!0)})}}return(Et=It).\u0275fac=function(st){return new(st||Et)(I.KVO(re.Qq),I.KVO(Mt.sT))},Et.\u0275prov=I.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"}),It})()},8455:(ct,ce,a)=>{a.d(ce,{Db:()=>p,EM:()=>V,_T:()=>E,f4:()=>$});var e=a(5697),d=a(5312),X=a(1180),x=a(7019),O=a(1626);class V{constructor(){this.announce="",this.comments=0,this.created="",this.likes=0,this.slug="",this.title="",this.views=0}}class p{constructor(){this.id=0,this.title=""}}class ${constructor(){this.id=0,this.profession=""}}let E=(()=>{var s;class I{constructor(G,B){this.http=G,this.sky=B,this.subCategory=[{title:"\u041f\u043e\u0434\u0432\u0435\u0441\u043d\u044b\u0435 \u0441\u0432\u0435\u0442\u0438\u043b\u044c\u043d\u0438\u043a\u0438",titleEn:"Pendant light",subcat:"pendant-lights",cat:"lighting",svg:"lustra"},{title:"\u0414\u0438\u0432\u0430\u043d\u044b",titleEn:"Sofa",subcat:"sofas",cat:"furniture",svg:"sofa"},{title:"\u041a\u0440\u0435\u0441\u043b\u0430",titleEn:"Arm chair",subcat:"armchairs",cat:"furniture",svg:"armchair"},{title:"\u0421\u0442\u0443\u043b\u044c\u044f",titleEn:"Chair",subcat:"chairs",cat:"furniture",svg:"chair"},{title:"\u0421\u0442\u043e\u043b\u044b",titleEn:"Table",subcat:"tables",cat:"furniture",svg:"round-table"},{title:"\u0428\u043a\u0430\u0444\u044b",titleEn:"Wardrobe & Display cabinets",subcat:"wardrobes-and-display-cabinets",cat:"furniture",svg:"closet"},{title:"\u041a\u0440\u043e\u0432\u0430\u0442\u0438",titleEn:"Bed",subcat:"beds",cat:"furniture",svg:"bed"},{title:"\u0421\u0442\u043e\u043b + \u0441\u0442\u0443\u043b",titleEn:"Table + Chair",subcat:"tables-and-chairs",cat:"furniture",svg:"Table 8"},{title:"\u0411\u0440\u0430",titleEn:"Wall light",subcat:"wall-lights",cat:"lighting",svg:"bra"},{title:"\u041e\u0444\u0438\u0441\u043d\u0430\u044f \u043c\u0435\u0431\u0435\u043b\u044c",titleEn:"Office furniture",subcat:"office-furniture",cat:"furniture",svg:"table"},{title:"\u0414\u0435\u043a\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440",titleEn:"Decorative set",subcat:"decorative-sets",cat:"decor",svg:"decor"}]}getSubCategoryArray(){return this.subCategory}getModelsLast(){return this.http.post(d.c.apiModelUrl+e.Zr.getModelsLast,void 0)}getCategories(){return this.http.post(d.c.apiModelUrl+e.kB.getCategories,void 0)}getPolygonMaster(){return this.http.post(d.c.apiModelUrl+e.kB.getPolygonMaster,void 0)}getPolygonMasterUserRating(){return this.http.post(d.c.apiModelUrl+e.kB.getPolygonMasterUserRatingWinner,void 0)}getGalleryTop(){return this.http.post(d.c.apiGalleryUrl+e.kB.getGalleryTop,void 0)}getGalleryLast(){return this.http.post(d.c.apiGalleryUrl+e.kB.getGalleryLast,void 0)}getForumLast(){return this.http.post(d.c.apiForumUrl+e.kB.getForumLast,void 0)}getProjectsLast(){return this.http.post(d.c.apiWorkUrl+e.kB.getWorkProjectsLast,void 0)}getVacanciesLast(){return this.http.post(d.c.apiWorkUrl+e.kB.getWorkVacanciesLast,void 0)}getResumeLast(){return this.http.post(d.c.apiWorkUrl+e.kB.getWorkResumeLast,void 0)}}return(s=I).\u0275fac=function(G){return new(G||s)(x.KVO(O.Qq),x.KVO(X.ef))},s.\u0275prov=x.jDH({token:s,factory:s.\u0275fac,providedIn:"root"}),I})()},1504:(ct,ce,a)=>{a.d(ce,{Bx:()=>p,C2:()=>I,FW:()=>s,Il:()=>$,oB:()=>W,tW:()=>E});var e=a(5312),d=a(5697),X=a(4871),x=a(7019),O=a(1626),V=a(5979),p=function(G){return G.MODEL_SHOW="model_show",G.MODEL_CART_ADD="model_cart_add",G.MODEL_CART_DEL="model_cart_del",G.IMAGE_INDEX="api_images_index",G.MODELS_INDEX="api_models_index",G.AI_INDEX="api_ai_index",G.MODEL_PREPAY_USE="model_prepay_use",G}(p||{}),$=function(G){return G.CARD="card",G.MODEL_PAGE="model_page",G.MODEL_PAGE_MOBILE="model_page_mobile",G.CART_PAGE="cart_page",G}($||{}),E=function(G){return G.PRO="pro",G.PRO_REPEAT="pro_repeat",G.FREE="free",G.OWNER="owner",G}(E||{}),s=function(G){return G.NEW_MODELS="new-models",G.CATALOG="catalog",G.SIMILAR_MODELS="similar-models",G.PURCHASES="purchases",G.SEO_COLLECTION="seo-collection",G.PUBLIC_COLLECTION="public-collection",G.USER_BOOKMARK="user-bookmark",G.MAIN="main",G.CART="cart",G.RECENTLY_VIEWED="recently-viewed",G.TOP_MODEL="top-model",G.MODEL="model",G.SEARCH_BY_PICTURE="search-by-picture",G.USER_PAGE="user-page",G.AI_SEARCH="ai-search",G}(s||{});class I{constructor(B,J,z,w,U,Z=p.MODEL_SHOW,H,j,F){this.modelSlug=B,this.modelType=J,this.modelPosition=w,this.searchHash=U,this.type=Z,this.searchImpressionId=H,this.buttonSource=j,this.variant=F,this.url=`${e.c.apiStatUrl+d.y0.sendStat}?_sa=1&type=${Z}&val_model_slug=${B}&val_model_type=${J}&val_site=${location.hostname}&val_user_agent=${I.getUserDevice()}`,this.url=z?this.url+`&val_referrer_url=${z}&val_pos=${w??""}`:this.url+"&val_referrer_url=direct-link",U&&(this.url=this.url+`&val_search_hash=${U}
17`),H&&(this.url=this.url+`&val_search_impression_id=${H}`),j&&(this.url=this.url+`&val_button_source=${j}`),F&&(this.url=this.url+`&val_variant=${F}`)}static getUserDevice(){const B=navigator.userAgent;return/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(B)?"tablet":/Mobile|Android|iP(hone|od)|IEMobile|BlackBerry|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/.test(B)?"mobile":"desktop"}}let W=(()=>{var G;class B{constructor(z,w){this.http=z,this.sharedGlobalDataService=w}getModelPosition(z,w,U){let Z=z;return U&&+U>1&&(Z=(+U-1)*w+z),Z+1}appendCommonParams(z){return this.sharedGlobalDataService.userDataSource.value?.user&&(z+=`&val_user_slug=${this.sharedGlobalDataService.userDataSource.value.user.slug}`),this.sharedGlobalDataService.statTokenSource.value&&(z+=`&val_stat_token=${this.sharedGlobalDataService.statTokenSource.value}`),z}sendStat(z){const w=this.appendCommonParams(z.url);return this.http.get(w)}sendSearchImageStat(z){let w=`${e.c.apiStatUrl+d.y0.sendStat}?_sa=1&&type=${p.IMAGE_INDEX}&val_site=${location.hostname}&val_user_agent=${I.getUserDevice()}`;return z&&(w+=`&val_${X.I}=${z}&val_model_page=1`),w=this.appendCommonParams(w),this.http.get(w)}sendIndexStat(z,w){let U=`${e.c.apiStatUrl+d.y0.sendStat}?_sa=1&type=${z}&val_site=${location.hostname}&val_user_agent=${I.getUserDevice()}`;return Object.entries(w).forEach(([Z,H])=>{null!=H&&(U+=`&val_${Z}=${encodeURIComponent(String(H))}`)}),U=this.appendCommonParams(U),this.http.get(U)}sendAiSearchStat(z,w,U,Z){let H=`${e.c.apiStatUrl+d.y0.sendStat}?_sa=1&type=${p.AI_INDEX}&val_site=${location.hostname}&val_user_agent=${I.getUserDevice()}`;return H+=`&val_query=${encodeURIComponent(z)}&val_search_hash=${encodeURIComponent(w)}&val_hits_total=${Z}&val_search_impression_id=${encodeURIComponent(U)}`,H=this.appendCommonParams(H),this.http.get(H)}}return(G=B).\u0275fac=function(z){return new(z||G)(x.KVO(O.Qq),x.KVO(V.o))},G.\u0275prov=x.jDH({token:G,factory:G.\u0275fac,providedIn:"root"}),B})()},2965:(ct,ce,a)=>{a.d(ce,{HN:()=>s,JW:()=>G,Q8:()=>I,yG:()=>W});var e=a(4412),d=a(1626),X=a(5312),x=a(480),O=a(5697),V=a(1180),p=a(4871),$=a(7019);a(647);const s=600,I="default";var W=function(B){return B.PENDING="pending",B.HORIZONTAL_SHIFT="horizontalShift",B.VERTICAL_SCROLL="verticalScroll",B}(W||{});let G=(()=>{var B;class J{constructor(w,U,Z){this.http=w,this.imageBaseUrl=U,this.sky=Z,this.updateModelOnPage=new e.t(void 0),this.modelOnPage=this.updateModelOnPage.asObservable(),this.updateModelIsAuthor=new e.t(void 0),this.userIsAuthor=this.updateModelIsAuthor.asObservable(),this.updateImageWebPathActive=new e.t(0),this.imageActive=this.updateImageWebPathActive.asObservable(),this.updateModelRecommendButtonHover=new e.t(void 0),this.modelRecommendButton=this.updateModelRecommendButtonHover.asObservable(),this.apiModelUrl=X.c.apiModelUrl,this.apiTagBaseUrl=X.c.apiTagBaseUrl,this.apiLabelsBaseUrl=X.c.apiLabelsBaseUrl,this.locale=X.c.locale,this.modelPopupPath="en"!==this.locale?O.oT.modelPopup:O.oT.modelPopupEn}setUpdateModelOnPage(w){this.updateModelOnPage.next(w)}setUserIsAuthor(w){this.updateModelIsAuthor.next(w)}setImageActive(w){this.updateImageWebPathActive.next(w)}setModelRecommendButton(w){this.updateModelRecommendButtonHover.next(w)}windowScreenStopService(w){document.body.style.overflow=w?"hidden":""}getModel(w){return this.http.post(this.apiModelUrl+O.Zr.getModel,{slug:w},{context:(new d._y).set(x.cM,!0)})}getTags(w,U){const Z=this.apiTagBaseUrl+O.y0.getTags,H=JSON.stringify({entity:"model",slug:w,locale:U});return this.http.post(Z,H)}getLabels(w){return this.http.post(this.apiLabelsBaseUrl+O.Zr.getLabels,{slug:w},{context:(new d._y).set(x.cM,!0)})}delModel(w){return this.http.post(this.apiModelUrl+O.Zr.delModel,{slug:w},{context:(new d._y).set(x.cM,!0)})}searchByPictureOnModelGalleryList(){const w=this.imageBaseUrl.baseUrl+this.modelPopupPath+this.updateModelOnPage.getValue()?.data.images[this.updateImageWebPathActive.value].webPath;window.open(`/3dmodels?${p.I}=${w}`,"_blank")}modePolygons(w){if(w>=1e3&&w<1e4){const U=this.sky?"K":" \u0442\u044b\u0441.";return(Math.floor(w/100)/10).toString()+U}if(w>=1e4&&w<1e6){const U=this.sky?"K":" \u0442\u044b\u0441.";return Math.floor(w/1e3).toString()+U}if(w>=1e6&&w<1e7){const U=this.sky?"M":" \u043c\u043b\u043d.";return(Math.floor(w/1e5)/10).toString()+U}if(w>=1e7&&w<1e9){const U=this.sky?"M":" \u043c\u043b\u043d.";return Math.floor(w/1e6).toString()+U}if(w>=1e9&&w<1e10){const U=this.sky?"B":" \u043c\u043b\u0440\u0434.";return(Math.floor(w/1e8)/10).toString()+U}if(w>=1e10){const U=this.sky?"B":" \u043c\u043b\u0440\u0434.";return Math.floor(w/1e9).toString()+U}return w}getUserSubscribers(w){return this.http.post(X.c.apiSubscribersUrl+O.y0.subscribers,{slug:w}
17,{context:(new d._y).set(x.cM,!0)})}subscribeToAuthor(w){return this.http.post(X.c.apiSubscribersUrl+O.y0.subscribe,{slug:w},{context:(new d._y).set(x.cM,!0)})}subscriptionAuthorRemove(w){return this.http.post(X.c.apiSubscribersUrl+O.y0.subscriptionRemove,{slug:w},{context:(new d._y).set(x.cM,!0)})}getModelsCount(w){return this.http.post(`${X.c.apiModelUrl+O.Cf.modelsCount}`,{slug:w})}}return(B=J).\u0275fac=function(w){return new(w||B)($.KVO(d.Qq),$.KVO(V.sT),$.KVO(V.ef))},B.\u0275prov=$.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}),J})()},8101:(ct,ce,a)=>{a.d(ce,{K:()=>p,W:()=>$});var e=a(5312),d=a(5697),X=a(8141),x=a(4412),O=a(7019),V=a(1626),p=function(E){return E.cat="cat",E.subcat="subcat",E}(p||{});let $=(()=>{var E;class s{constructor(W){this.http=W,this.catsSource=new x.t([]),this.subCatsSource=new x.t([]),this.subCats=this.subCatsSource.asObservable()}getCats(W){return this.http.get(e.c.apiBaseUrl+d.y0.cats+(W?"?user="+W:"")).pipe((0,X.M)(G=>{if(G?.data){const B=[];this.catsSource.next([...G.data]),G.data.forEach(J=>B.push(...J.children)),this.subCatsSource.next(B)}}))}}return(E=s).\u0275fac=function(W){return new(W||E)(O.KVO(V.Qq))},E.\u0275prov=O.jDH({token:E,factory:E.\u0275fac,providedIn:"root"}),s})()},8181:(ct,ce,a)=>{a.d(ce,{VA:()=>w,cO:()=>U,Qf:()=>z,ci:()=>J});var e=a(5312),d=a(5697),X=a(1626),x=a(8999),O=a(480),V=a(710),p=a(5964),E=a(4871),s=a(1180),I=a(7019),W=a(3432),G=a(5979),B=a(430),J=function(Z){return Z.PRO="pro",Z.OM="om",Z.FREE="free",Z}(J||{}),z=function(Z){return Z.RELEVANCE="relevance",Z.DATA_DESC="date_desc",Z.SELL_RATING="sell_rating",Z}(z||{}),w=function(Z){return Z.IS_PURCHASED="is_purchased",Z.IS_BOOKMARKED="is_bookmarked",Z.IS_SUBSCRIPTIONS="subscribed_users",Z.IS_MODELS_IN_GALLERY="models_in_gallery",Z.IS_AI="is_created_with_ai",Z}(w||{});let U=(()=>{var Z;class H{constructor(F,ue,ae,N,te,ie){this.http=F,this.sharedModelsDataService=ue,this.sharedGlobalDataService=ae,this.route=N,this.router=te,this.sky=ie,this.modelRequest={},this.enableSearchByImage=!1,this.modelSlugs=[],this.sharedModelsDataService.refreshModelsList.pipe(function $(Z){return(0,p.p)((H,j)=>Z<=j)}(1)).subscribe(re=>{this.prepareJSON(this.sharedModelsDataService.modelsJSONSource.value,re[1],re[2])})}prepareJSON(F,ue=!0,ae=!1){const N={},te={};let ie=0;for(const[re,Ee]of Object.entries(F))switch(re){case"categories":Array.isArray(Ee)&&Ee.length>0?(N[re]=Ee,te.subcat=Ee,ie++):Ee&&!Array.isArray(F[re])?(N[re]=[Ee],te.subcat=[Ee],ie++):delete this.modelRequest[re],delete te.categories;break;case"types":Array.isArray(Ee)&&Ee.length>0?(N[re]=Ee,te[re]=Ee,ie++):Ee&&!Array.isArray(F[re])?(N[re]=[Ee],te[re]=[Ee],ie++):delete this.modelRequest[re];break;case"cat":Array.isArray(Ee)&&Ee.length>0?te[re]=Ee:Ee&&!Array.isArray(F[re])?te[re]=[Ee]:delete this.modelRequest[re];break;case"subcat":Array.isArray(Ee)&&Ee.length>0?(N.categories=Ee,te[re]=Ee,ie++):Ee&&!Array.isArray(F[re])?(N.categories=[Ee],te[re]=[Ee],ie++):delete this.modelRequest[re];break;case"colors":case"formats":case"forms":case"materials":case"renders":case"styles":Array.isArray(Ee)&&Ee.length>0?(N[re]=Ee.map(Re=>+Re),te[re]=Ee,ie++):Ee&&!Array.isArray(F[re])?(N[re]=[+Ee],te[re]=[+Ee],ie++):delete this.modelRequest[re];break;case w.IS_BOOKMARKED:case w.IS_PURCHASED:case w.IS_SUBSCRIPTIONS:F[re]&&this.sharedGlobalDataService.authorizedSource.value?(N[re]=!0,te[re]=!0,ie++):delete this.modelRequest[re];break;case w.IS_MODELS_IN_GALLERY:F[re]&&!this.sky?(N[re]=!0,te[re]=!0,ie++):delete this.modelRequest[re],delete this.modelRequest[re];break;case w.IS_AI:F[re]?(N[re]=!0,te[re]=!0,ie++):delete this.modelRequest[re],delete this.modelRequest[re];break;case"query":Ee?(N[re]=Ee,te[re]=Ee):delete this.modelRequest[re];break;case"tag":Array.isArray(Ee)&&Ee.length>0||Ee&&!Array.isArray(Ee)?(N[re]=Ee,te[re]=Ee,ie++):delete this.modelRequest[re];break;case"order":Ee?(N[re]=Ee,te[re]=Ee):delete this.modelRequest[re];break;case"page":Ee?(N[re]=+Ee,te[re]=Ee):delete this.modelRequest[re];break;case"model_slugs":Array.isArray(Ee)&&Ee.length>0||Ee&&!Array.isArray(Ee)?N[re]=Ee:delete this.modelRequest[re];break;case E.I:Ee?te[re]=Ee:delete this.modelRequest[re];break;case"user_slug":Ee?N[re]=Ee:delete this.modelRequest[re];break;case"subquery":Ee?(N[re]=Ee,te[re]=Ee):delete this.modelRequest[re]}this.modelRequest=Object.assign(this.modelRequest,N),this.sharedModels
17DataService.setModelsClearFilters(ie>0),ue&&this.setQueryParam(te,ae)}getModels(){const F={...this.modelRequest};return this.enableSearchByImage&&(F.order="slugs",F.model_slugs=this.modelSlugs,F.search_by_image=!0),this.http.post(e.c.apiBaseUrl+d.y0.models,F)}changeModelsCat(F){return this.http.post(e.c.apiModelUrl+d.y0.changeCat,F,{context:(new X._y).set(O.cM,!0)})}addToShowCaseOrDelete(F){return this.http.post(e.c.apiModelUrl+d.y0.showCase,F,{context:(new X._y).set(O.cM,!0)})}clearFilters(F=!1,ue=!0){const ae=this.route.snapshot.queryParamMap.get("query"),N=this.route.snapshot.queryParamMap.get("order");this.sharedModelsDataService.setModelsJSON({page:null,[w.IS_BOOKMARKED]:!1,[w.IS_PURCHASED]:!1,tag:null,categories:null,query:null,materials:null,colors:null,formats:null,forms:null,types:null,styles:null,renders:null,order:null,cat:null,subcat:null,model_slugs:null,[w.IS_SUBSCRIPTIONS]:null,subquery:null,[w.IS_MODELS_IN_GALLERY]:null,[w.IS_AI]:null}),F||this.sharedModelsDataService.setModelsJSON({order:N,query:ae}),this.prepareJSON(this.sharedModelsDataService.modelsJSONSource.value,ue)}getTags(){const F={...this.modelRequest};return this.enableSearchByImage&&(F.order="slugs",F.model_slugs=this.modelSlugs),this.http.post(e.c.apiBaseUrl+d.y0.tagsCloud,F)}getQueryModelsJson(){const F=this.route.snapshot.queryParams;return{page:F.page,query:F.query,subquery:F.subquery,tag:F.tag,types:F.types,[w.IS_BOOKMARKED]:F[w.IS_BOOKMARKED],[w.IS_PURCHASED]:F[w.IS_PURCHASED],order:F.order,[x.K.STYLES]:F[x.K.STYLES],[x.K.RENDERS]:F[x.K.RENDERS],[x.K.FORMATS]:F[x.K.FORMATS],forms:F.forms,[x.K.COLORS]:F[x.K.COLORS],[x.K.MATERIALS]:F[x.K.MATERIALS],categories:F.subcat,cat:F.cat,subcat:F.subcat,[E.I]:F[E.I],[w.IS_SUBSCRIPTIONS]:F[w.IS_SUBSCRIPTIONS],[w.IS_MODELS_IN_GALLERY]:F[w.IS_MODELS_IN_GALLERY]}}setQueryParam(F,ue=!1){let ae="/"+V.iw.models;location.pathname.includes("/"+V.iw.users+"/")&&!Object.keys(F).includes("query")&&(ae=this.router.url.split("?")[0]),this.router.navigate([ae],{queryParams:Object.keys(F).length>0?F:null,state:{preventScrollTop:ue},onSameUrlNavigation:"reload"}).then()}getModelsBySlugs(F){return this.http.post(e.c.apiModelUrl+d.Zr.modelsBySlug,{slugs:F},{context:(new X._y).set(O.cM,!0)})}}return(Z=H).\u0275fac=function(F){return new(F||Z)(I.KVO(X.Qq),I.KVO(W.n),I.KVO(G.o),I.KVO(B.nX),I.KVO(B.Ix),I.KVO(s.ef))},Z.\u0275prov=I.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"}),H})()},2386:(ct,ce,a)=>{a.d(ce,{i:()=>w});var e=a(1626),d=a(177),X=a(2415),x=a(7719),O=a(7019);function V(U,Z){if(1&U){const H=O.RV6();O.j41(0,"app-close-button",4),O.bIt("buttonClick",function(){O.eBV(H);const F=O.XpG();return O.Njj(F.markNotifier())}),O.k0s()}}function p(U,Z){if(1&U&&(O.qex(0),O.nrm(1,"img",8),O.bVm()),2&U){const H=O.XpG(2);O.R7$(1),O.Y8G("src",H.notifierDataPopup.image,O.B4B)}}function $(U,Z){if(1&U){const H=O.RV6();O.qex(0),O.j41(1,"div",5),O.DNE(2,p,2,1,"ng-container",3),O.j41(3,"div")(4,"h2"),O.EFF(5),O.k0s(),O.nrm(6,"div",6),O.nI1(7,"safeHtml"),O.k0s(),O.j41(8,"button",7),O.bIt("click",function(){O.eBV(H);const F=O.XpG();return O.Njj(F.handleButtonClick())}),O.EFF(9),O.k0s()(),O.bVm()}if(2&U){const H=O.XpG();O.R7$(2),O.Y8G("ngIf",H.notifierDataPopup.image),O.R7$(3),O.JRh(H.notifierDataPopup.title),O.R7$(1),O.Y8G("innerHTML",O.bMT(7,4,H.notifierDataPopup.text),O.npT),O.R7$(3),O.SpI(" ",H.notifierDataPopup.buttonText," ")}}let E=(()=>{var U;class Z{constructor(j){this.notifierService=j}markNotifier(){this.notifierService.markNotifier(this.notifierDataPopup.id,!0).subscribe()}handleButtonClick(){this.notifierDataPopup.closeNotify&&this.markNotifier(),this.notifierDataPopup.buttonLink&&window.open(this.notifierDataPopup.buttonLink,"_blank")}}return(U=Z).\u0275fac=function(j){return new(j||U)(O.rXU(w))},U.\u0275cmp=O.VBU({type:U,selectors:[["app-notification-popup"]],inputs:{notifierDataPopup:"notifierDataPopup"},standalone:!0,features:[O.aNF],decls:4,vars:2,consts:[["id","notification-popup"],[1,"notification-header"],[3,"buttonClick",4,"ngIf"],[4,"ngIf"],[3,"buttonClick"],[1,"notification"],[1,"notification-body",3,"innerHTML"],[1,"n
17otification-button",3,"click"],["alt","",3,"src"]],template:function(j,F){1&j&&(O.j41(0,"div",0)(1,"div",1),O.DNE(2,V,1,0,"app-close-button",2),O.k0s(),O.DNE(3,$,10,6,"ng-container",3),O.k0s()),2&j&&(O.R7$(2),O.Y8G("ngIf","popup-modal"!==(null==F.notifierDataPopup?null:F.notifierDataPopup.type)),O.R7$(1),O.Y8G("ngIf",F.notifierDataPopup))},dependencies:[d.MD,d.bT,X.o,x.$],styles:["@media (max-width: 575.98px){[_nghost-%COMP%]{min-width:100vw}}#notification-popup[_ngcontent-%COMP%]{background:#FFFFFF;width:524px;margin-top:80px;padding-bottom:48px;border-radius:16px}@media (max-width: 991.98px){#notification-popup[_ngcontent-%COMP%]{width:540px}}@media (max-width: 575.98px){#notification-popup[_ngcontent-%COMP%]{width:100%}}.notification[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:32px;padding:0 32px}.notification[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px}.notification[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:12px}h2[_ngcontent-%COMP%]{color:var(--gray-1000, #1B1916);font-size:24px;font-weight:700;line-height:28px;margin:0}.notification-body[_ngcontent-%COMP%]{color:#423f3c}.sticky-popup[_ngcontent-%COMP%]{padding-top:56px}.notification-header[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;background:#FFFFFF;height:56px;padding:24px 24px 8px;position:sticky;top:0;z-index:10;border-radius:16px 16px 0 0}@media (max-width: 991.98px){.notification-header[_ngcontent-%COMP%]{padding:16px 12px 8px 24px}}.notification-button[_ngcontent-%COMP%]{display:flex;width:100%;padding:12px 16px;justify-content:center;align-items:center;border:none;border-radius:8px;background:#C2E7FF;color:#00578d;font-size:16px;font-weight:500;line-height:20px}@media (hover: hover) and (pointer: fine){.notification-button[_ngcontent-%COMP%]:hover{background-color:#64b2e3;color:#fff}}.notification-button[_ngcontent-%COMP%]:active{background-color:#0881cc;color:#fff}"]}),Z})();var s=a(5697),I=a(5312),W=a(480),G=a(8141),B=a(4412),J=a(4678),z=a(2128);let w=(()=>{var U;class Z{constructor(j,F,ue,ae){this.http=j,this.backdropService=F,this.backdropComponentService=ue,this.baseHref=ae,this.NOTIFIER_REQUEST_INTERVAL=36e5,this.NOTIFIER_TIMESTAMP_KEY="notifierService_timestamp",this.lastNotifierRequestTime=0,this.notifier=new B.t([]),this.notifier$=this.notifier.asObservable(),this.notifierPopup=null,this.currentRoute=""}updateNotifierArray(j){this.notifier.next(j)}setCurrentRoute(){this.currentRoute=location.pathname.replace(new RegExp(`^${this.baseHref}`),"/")}shouldMakeNotifierRequest(){return this.loadLastRequestTime(),Date.now()-this.lastNotifierRequestTime>this.NOTIFIER_REQUEST_INTERVAL}updateLastRequestTime(j=!1){this.lastNotifierRequestTime=j?0:Date.now(),localStorage.setItem(this.NOTIFIER_TIMESTAMP_KEY,this.lastNotifierRequestTime.toString())}loadLastRequestTime(){const j=localStorage.getItem(this.NOTIFIER_TIMESTAMP_KEY);j&&(this.lastNotifierRequestTime=parseInt(j,10))}createPriorityArray(){this.setCurrentRoute();const j=this.notifierPopup.filter(N=>N.pageUrl===this.currentRoute),F=this.notifierPopup.filter(N=>N.pageUrl!==this.currentRoute&&"/"!==N.pageUrl&&""!==N.pageUrl&&this.currentRoute.includes(N.pageUrl)&&!N.exactMatch),ue=this.notifierPopup.filter(N=>(""===N.pageUrl||"/"===N.pageUrl)&&!j.some(te=>te.id===N.id));return[...j,...ue,...F].sort((N,te)=>("popup-modal"===N.type?0:1)-("popup-modal"===te.type?0:1))}showPopup(j){if(this.notifierPopup.length&&void 0===this.backdropComponentService.getLastBackdropComponent()){const F=this.createPriorityArray();if(F.length){const ue=j.createComponent(E);ue.instance.notifierDataPopup=F[0],this.backdropComponentService.createBackdropComponent(j,{inZIndex:700,screenStop:!0,closeOnBackgroundClick:!1,insertBackdropStyles:{display:"flex",alignItems:"start",justifyContent:"center",overflow:"auto",paddingBottom:"80px"}},ue)}}}getNotifier(j,F){this.updateLastRequestTime();const ue=JSON.stringify({locale:F});return this.http.post(I.c.apiNotifierUrl+s.kB.getNotifier,ue,{context:(new e._y).set(W.cM,!0)}).pipe((0,G.M)(ae=>{if(ae.success){const N=ae.data.filter(te=>"stripe"===te.type);this.updateNotifierArray(N),this.notifierPopup=ae.data.filter(te=>"popup"===te.type||"popup-modal"===te.type)}this.showPopup(j)}))}markNotifier(j,F=!1){const ue=JSON.stringify({id:j});return this.http.post(I.c.apiNotifierUrl+s.kB.markNotifier,ue,{context:(new e._y).set(W.cM,!0)}).pipe((0,G.M)({next:ae=>{if(ae.success)if(F)this.notifierPopup=this.notifierPopup.filter(N=>N.id!==j),this.backdropComponentService.hideAndDestroyService();else{const te=this.notifier.value.filter(ie=>ie.id!==j);this.updateNotifierArray(te)}},error:ae=>{"error: already marked"===ae?.error?.message&&this.backdropComponentService.hideAndDestroyService()}}))}}return(U=Z).\u0275fac=function(j){return new(j||U)(O.KVO(e.Qq),O.KVO(J.u),O.KVO(z.v),O.KVO(d.kB))},U.\u0275prov=O.jDH({token:U,factory:U.\u0275fac,providedIn:"root"}),Z})()},5016:(ct,ce,a)=>{a.d(ce,{Sc:()=>G,_C:()=>I,jz:()=>W});var e=a(7019),d=a(1626),X=a(5312),x=a(5697),O=a(4412),V=a(7673),p=a(9417),$=a(5558),E=a(6354);const s="mySearchStory",I=6;var W=function(B){return B.MODELS="models",B.GALLERY="gallery",B.JOB="work",B.FORUM="forum",B.BLOGS="blogs",B.PEOPLE="profil",B}(W||{});let G=(()=>{var B;class J{constructor(){this.http=(0,e.WQX)(d.Qq),this.locale=(0,e.WQX)(e.xe9),this.searchPlaceholderDefault={en:"Search 3D models, textures, materials...",ru:"\u041d\u0430\u0439\u0442\u0438 3D \u043c\u043e\u0434\u0435\u043b\u0438, \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u044b, \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b...",es:"Buscar modelos 3D, texturas, materiales..."},this.searchPlaceholderSource=new O.t(this.searchPlaceholderDefault),this.searchPlaceholderObservable=this.searchPlaceholderSource.asObservable().pipe((0,$.n)(w=>(0,V.of)(w[this.locale]))),this.form=new p.gE({searchControl:new p.MJ("")}),this.profileForm=new p.gE({profileSearchControl:new p.MJ("")})}getHintsList(w){return this.http.post(X.c.apiBaseUrl+x.y0.hints,{query:w}).pipe((0,E.T)(U=>U.data[0]?(U.data=U.data.map(Z=>({id:Z.id,weight:Z.weight,query:Z.query,category:Z.category,categoryParent:Z.categoryParent})),U.data[0]&&U.data.length>I&&(U.data=U.data.slice(0,I)),U):null))}getStoryArray(){return localStorage.getItem(s)?JSON.parse(localStorage.getItem(s)):[]}updateLocaleStorage(w){w=w.slice(0,I+1),localStorage.setItem(s,JSON.stringify(w))}addQueryToLocalStorage(w){const U=this.getStoryArray(),H=w.replace(/http[s]?:\/\/(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\\(\\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+/g,"").trim(),j=H.toLowerCase();if(H.length&&!U.some(F=>F.toLowerCase()===j)){U.push(H);const F=U.slice(-1*I);localStorage.setItem(s,JSON.stringify(F))}}setSearchPlaceholder(w){this.searchPlaceholderSource.next(w)}resetSearchPlaceholder(){this.searchPlaceholderSource.next(this.searchPlaceholderDefault)}}return(B=J).\u0275fac=function(w){return new(w||B)},B.\u0275prov=e.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}),J})()},5695:(ct,ce,a)=>{a.d(ce,{D:()=>J});var e=a(1626),d=a(5312),X=a(5697),x=a(480),O=a(1180),V=a(7019),p=a(8202),$=a(430),E=a(5979),s=a(3432),I=a(5116),W=a(
177784),G=a(8830);a(647);let J=(()=>{var z;class w{constructor(Z,H,j,F,ue,ae,N,te,ie){this.http=Z,this.authService=H,this.router=j,this.sharedGlobalDataService=F,this.sharedModelsDataService=ue,this.subscribeHandlerService=ae,this.dddCookieService=N,this.cartService=te,this.imageBaseUrl=ie}userFinance(){this.subscribeHandlerService.takeOne(this.getUserFinance(),Z=>{const H=this.sharedGlobalDataService.userDataSource.getValue();H&&H.user&&(H.user.userFinance=Z.data),this.sharedGlobalDataService.setUserData(H)})}userUpdate(Z){this.imageBaseUrl.urls=[...Z.data.backends],this.sharedGlobalDataService.setUserData(Z.data),this.sharedGlobalDataService.setStatToken(Z.data.stat_token),Z.data.user?.slug?(this.dddCookieService.initThumbmark(),this.sharedGlobalDataService.setAuthorized(Z.data.user.slug),this.authService.checkUserRole("ROLE_MODERATOR_MODELS")&&this.sharedModelsDataService.setModelsModerator(!0),this.authService.checkUserRole("ROLE_MODERATOR_COMMENTS")&&this.sharedModelsDataService.setCommentsModerator(!0),this.userFinance()):(this.authService.cleanAuthData(!1,!1),this.cartService.checkLocaleModels()),this.dddCookieService.isCanShowCookieBanner(!!Z.data.cookie_banner),this.sharedGlobalDataService.setPolygonMasterLink(Z.data.menu.polygon_master_link)}getUserFinance(){return this.http.post(d.c.apiUsersUrl+X.Cf.finance,null,{context:(new e._y).set(x.cM,!0)})}setUserEmailNotification(Z){return this.http.post(d.c.apiUsersUrl+X.Cf.userSetEmailNotification,{isReceiveEmails:Z},{context:(new e._y).set(x.cM,!0)})}getUser(){return this.http.get(d.c.apiBaseUrl+X.y0.user,{context:(new e._y).set(x.sF,!0)})}userDataInLocalStorage(Z,H){let j={isRegister:H};if(localStorage.getItem(Z)){const ae=JSON.parse(localStorage.getItem(Z)||"");ae.isRegister=H,j=ae}const F=Z,ue=JSON.stringify(j);localStorage.setItem(F,ue)}isRegisterFromLocalStorage(Z){let H=!1;return localStorage.getItem(Z)&&(H=JSON.parse(localStorage.getItem(Z)||"").isRegister),H}switchUser(Z,H=null){this.sharedGlobalDataService.authorizedSource.value&&localStorage.getItem("skyAuthToken")&&this.subscribeHandlerService.takeOne(this.authService.switchUser(Z),j=>{200===j.status&&j.data.token&&(this.cartService.clearStorageModels(),localStorage.setItem("skyAuthToken",j.data.token),localStorage.setItem("skyRefreshToken",j.data.refresh_token),this.subscribeHandlerService.takeOne(this.authService.authGlobal(j.data.token),F=>{200===F.status&&"OK"===F.message&&this.subscribeHandlerService.takeOne(this.getUser(),ue=>{ue.data.user&&(this.subscribeHandlerService.takeOne(this.cartService.mergeAndUpdate([]),()=>{}),H&&this.router.navigate([H]).then()),this.userUpdate(ue)})}))})}}return(z=w).\u0275fac=function(Z){return new(Z||z)(V.KVO(e.Qq),V.KVO(p.u),V.KVO($.Ix),V.KVO(E.o),V.KVO(s.n),V.KVO(I.e),V.KVO(W.u),V.KVO(G.mx),V.KVO(O.sT))},z.\u0275prov=V.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),w})()},7566:(ct,ce,a)=>{a.d(ce,{E:()=>p,w:()=>V});var e=a(7019),d=a(1626),X=a(5312),x=a(5697),O=a(1180);const V=[{ru:"\u0428\u043a\u0430\u0444-\u0432\u0438\u0442\u0440\u0438\u043d\u0430 \u0441 \u0430\u0440\u043e\u0447\u043d\u044b\u043c\u0438 \u0441\u0442\u0435\u043a\u043b\u044f\u043d\u043d\u044b\u043c\u0438 \u0434\u0432\u0435\u0440\u0446\u0430\u043c\u0438",en:"Display cabinet with arched glass doors",es:"Vitrina con puertas de cristal arqueadas"},{ru:"\u0420\u0438\u043c\u0441\u043a\u0430\u044f \u0448\u0442\u043e\u0440\u0430 \u0441 \u043f\u043e\u043c\u043f\u043e\u043d\u0430\u043c\u0438 \u0438 \u043a\u0430\u043d\u0442\u043e\u043c \u043f\u043e \u043f\u0435\u0440\u0438\u043c\u0435\u0442\u0440\u0443, \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0434\u0435\u043a\u043e\u0440 \u2013 \u043a\u0438\u0441\u0442\u0438",en:"Roman shade with pom-pom trim around the edges and decorative tassels",es:"Estor romano con ribete de pompones en los bordes y borlas decorativas"},{ru:"\u041a\u0440\u0435\u0441\u043b\u043e \u0441 \u043f\u043b\u0435\u0442\u0451\u043d\u043e\u0439 \u0441\u043f\u0438\u043d\u043a\u043e\u0439 \u0438 \u0434\u0435\u0440\u0435\u0432\u044f\u043d\u043d\u044b\u043c \u043a\u0430\u0440\u043a\u0430\u0441\u043e\u043c",en:"Armchair with a woven back and woo
17den frame",es:"Sill\xf3n con respaldo tejido y estructura de madera"},{ru:"\u0421\u043a\u0443\u043b\u044c\u043f\u0442\u0443\u0440\u0430 \u0438\u0437 \u043c\u0435\u0442\u0430\u043b\u043b\u0430 \u0432 \u0432\u0438\u0434\u0435 \u043b\u0435\u043d\u0442\u044b",en:"Metal sculpture shaped like a ribbon",es:"Escultura de metal con forma de cinta"}];let p=(()=>{var $;class E{constructor(){this.httpClient=(0,e.WQX)(d.Qq),this.sky=(0,e.WQX)(O.ef)}getNearest(I){return this.httpClient.post(X.c.apiImagesSearch+x.q1.nearest,{query:I,es_index:"images-search",n_images:100,image_weight:0,text_weight:1,locale:this.sky?"en":"ru"})}}return($=E).\u0275fac=function(I){return new(I||$)},$.\u0275prov=e.jDH({token:$,factory:$.\u0275fac}),E})()},2128:(ct,ce,a)=>{a.d(ce,{v:()=>J});var e=a(7019),d=a(9969),X=a(162),x=a(177);const O=["backdrop"],V=["insertElement"];function p(z,w){if(1&z){const U=e.RV6();e.j41(0,"div",4),e.bIt("click",function(){e.eBV(U);const H=e.XpG();return e.Njj(H.backdropComponentService.backdrop())}),e.qSk(),e.j41(1,"svg",5),e.nrm(2,"path",6)(3,"path",7),e.k0s()()}}const $=function(z,w){return{animationIn:z,animationOut:w}},E=function(z,w){return{value:z,params:w}};let s=(()=>{var z;class w{constructor(Z,H){this.viewContainerRef=Z,this.backdropComponentService=H,this.state=void 0}insertTemplate(Z){const H=this.viewContainerRef.createEmbeddedView(Z);this.insertElement.insert(H)}insertComponent(Z){this.insertElement.insert(Z.hostView)}onAnimationDone(Z){"closed"===Z.toState&&this.backdropComponentService.backdrop()}hideAndDestroy(){this.state="closed"}onClick(Z){!this.mainParams.closeOnBackgroundClick||Z.target!==this.backdrop.nativeElement||!Z.target||this.hideAndDestroy()}}return(z=w).\u0275fac=function(Z){return new(Z||z)(e.rXU(e.c1b),e.rXU(J))},z.\u0275cmp=e.VBU({type:z,selectors:[["app-backdrop"]],viewQuery:function(Z,H){if(1&Z&&(e.GBs(O,5),e.GBs(V,7,e.c1b)),2&Z){let j;e.mGM(j=e.lsd())&&(H.backdrop=j.first),e.mGM(j=e.lsd())&&(H.insertElement=j.first)}},standalone:!0,features:[e.aNF],decls:5,vars:9,consts:[[1,"backdrop",3,"ngStyle","click"],["backdrop",""],["insertElement",""],["class","close",3,"click",4,"ngIf"],[1,"close",3,"click"],["id","id-close-button","width","36","height","36","viewBox","0 0 36 36","fill","none","xmlns","http://www.w3.org/2000/svg"],["id","id-close-path1","d","M1 35L35 0.999999","stroke","#D0D0D0","stroke-width","2","stroke-linecap","round"],["id","id-close-path2","d","M35 35L0.999999 0.999999","stroke","#D0D0D0","stroke-width","2","stroke-linecap","round"]],template:function(Z,H){1&Z&&(e.j41(0,"div",0,1),e.bIt("@fadeInOut.done",function(F){return H.onAnimationDone(F)})("click",function(F){return H.onClick(F)}),e.eu8(2,null,2),e.DNE(4,p,4,0,"div",3),e.k0s()),2&Z&&(e.Y8G("@fadeInOut",e.l_i(6,E,H.state,e.l_i(3,$,H.mainParams.animationIn,H.mainParams.animationOut)))("ngStyle",H.backdropStylesInsert),e.R7$(4),e.Y8G("ngIf",H.mainParams.showCloseBtn))},dependencies:[x.MD,x.bT,x.B3],styles:["[_nghost-%COMP%]{position:absolute}.backdrop[_ngcontent-%COMP%]{opacity:1}.close[_ngcontent-%COMP%]{position:fixed;top:24px;right:24px;width:36px;height:36px;cursor:pointer}"],data:{animation:[(0,d.hZ)("fadeInOut",X.N)]}}),w})();var I=a(1413),W=a(6977),G=a(6697),B=a(7471);let J=(()=>{var z;class w{constructor(){this.backdropComponentClosed=new I.B,this.insertComponentsArray=[],this.backdropComponentsArray=[],this.defaultMainParams={inZIndex:80,inTransparency:30,animationIn:"100ms ease-in",animationOut:"100ms ease-out",screenStop:!1,showCloseBtn:!1,closeOnBackgroundClick:!0}}backdropComponentComplete(Z){return this.backdropComponentClosed.asObservable().pipe((0,W.Q)(Z),(0,G.s)(1))}createBackdropComponent(Z,H,j,F,ue){const ae={...this.defaultMainParams,...H};let N={backgroundColor:`rgba(0, 0, 0, ${(ae.inTransparency||0)/100})`,zIndex:ae.inZIndex?.toString()};H?.insertBackdropStyles&&(N={...N,...H.insertBackdropStyles}),ae.screenStop&&(this.windowScreenStopService(!0),N.overscrollBehavior="none");const te=Z.createComponent(s);te.instance.mainParams=ae,te.instance.backdropStylesInsert=N,void 0!==j&&(te.instance.insertComponent(j),this.insertComponentsArray.push(j)),void 0!==F&&te.instance.insertTemplate(F),ue&&te.location.nativeElement.appendChild(ue),this.backdropComponentsArray.push(te)}windowScreenStopService(Z){document.body.style.overflow=Z?"hidden":""}hideAndDestroyService(){this.getLastBackdropComponent()?.instance.hideAndDestroy()}backdrop(){this.backdropComponentClosed.next(!0);const Z=this.insertComponentsArray.pop();Z&&Z.destroy();const H=this.backdropComponentsArray.pop();H&&H.destroy(),this.windowScreenStopService(!1)}
17setBaseViewContainer(Z){this.baseViewContainerRef=Z}LoginInPopup(Z){const H=Z||this.baseViewContainerRef;if(H&&!this.getLastBackdropComponent()){const j=H.createComponent(B.LoginComponent);j.instance.inPopup=!0,this.createBackdropComponent(H,{inZIndex:700,screenStop:!1,insertBackdropStyles:{display:"flex",alignItems:"start",justifyContent:"center",overflow:"auto",paddingTop:"80px",paddingBottom:"80px"}},j)}}getLastBackdropComponent(){return this.backdropComponentsArray[this.backdropComponentsArray.length-1]}}return(z=w).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=e.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),w})()},4678:(ct,ce,a)=>{a.d(ce,{u:()=>Z});var e=a(7019),d=a(1413),X=a(1584),x=a(6697),O=a(6977),V=a(8839),p=a(8793),$=a(9974),E=a(4360),s=a(5343),W=a(3703),G=a(1397),B=a(8750);function J(H,j){return j?F=>(0,p.x)(j.pipe((0,x.s)(1),function I(){return(0,$.N)((H,j)=>{H.subscribe((0,E._)(j,s.l))})}()),F.pipe(J(H))):(0,G.Z)((F,ue)=>(0,B.Tg)(H(F,ue)).pipe((0,x.s)(1),(0,W.u)(F)))}var w=a(8141),U=a(9079);let Z=(()=>{var H;class j{constructor(){this.backdropEl=document.querySelector(".backdrop"),this.enableAnimate=!1,this.preventClose=!1,this.backdropClosed=new d.B,this.transitionClose="0s",this.params={},this.delayNumber=0}change(ue){return ue instanceof e.abz?this.backdropClosed.asObservable().pipe((0,U.pQ)(ue),(0,x.s)(1)):this.backdropClosed.asObservable().pipe((0,O.Q)(ue),(0,x.s)(1))}changeDelay(ue){return this.change(ue).pipe(function z(H,j=V.E){const F=(0,X.O)(H,j);return J(()=>F)}(this.delayNumber),(0,w.M)(()=>this.enableAnimate=!1))}backdrop(ue,ae=1,N="0s",te="0s",ie=!1,re,Ee){let Re;if(this.params=Ee??{},ue){if(this.transitionClose=te,this.calculateDelay(te),this.backdropEl.style.zIndex=`${re??""}`,ie&&(document.body.style.overflowY="hidden",this.backdropEl.style.overflow="auto"),!this.backdropEl.classList.contains("backdrop-active")){for(const[wt,At]of Object.entries(this.params))this.backdropEl.style[wt]=At;const Mt=this.backdropEl;(void 0!==this.params.backdrop&&this.params.backdrop||void 0===this.params.backdrop)&&Mt.addEventListener("click",wt=>{Re=wt.target,this.close(wt.target)}),Mt.style.setProperty("--backdrop-transition",N),Mt.classList.add("backdrop-active"),Mt.style.setProperty("--backdrop-opacity",`rgba(0,0,0,.${ae})`)}}else this.backdropEl.removeEventListener("click",()=>this.close(Re)),this.drop()}close(ue){ue!==this.backdropEl||!ue||this.preventClose||(this.backdropEl.removeEventListener("click",()=>this.close(ue)),this.drop())}drop(){this.backdropClosed.next(!0),this.backdropEl.style.setProperty("--backdrop-transition",this.transitionClose),this.backdropEl.style.setProperty("--backdrop-opacity",""),this.backdropEl.classList.remove("backdrop-active"),document.body.style.overflowY="",this.backdropEl.style.overflow="",this.backdropEl.style.position="",this.backdropEl.style.height="",this.enableAnimate?(0,X.O)(this.delayNumber).subscribe(()=>{this.backdropEl.style.display="",this.backdropEl.style.zIndex="",this.backdropEl.style.placeItems=""}):(this.backdropEl.style.display="",this.backdropEl.style.zIndex="",this.backdropEl.style.placeItems="")}calculateDelay(ue){const ae=+ue.replace(/[^0-9.]+/,"");this.delayNumber=ue.match(/^\d/)?1e3*ae:1e3*+`0${ae}`}}return(H=j).\u0275fac=function(ue){return new(ue||H)},H.\u0275prov=e.jDH({token:H,factory:H.\u0275fac,providedIn:"root"}),j})()},7784:(ct,ce,a)=>{a.d(ce,{u:()=>ke});var e=a(5312),d=a(4412),X=a(6648),x=a(467);const O=2592e5,V="thumbmark",p="https://api.thumbmarkjs.com",$={exclude:[],include:[],stabilize:["private","iframe"],logging:!0,timeout:5e3,cache_api_call:!0,cache_lifetime_in_ms:0,performance:!1,experimental:!1,property_name_factory:Se=>`${V}_${Se}`},I={private:[{exclude:["canvas"],browsers:["firefox","safari>=17","brave"]},{exclude:["audio"],browsers:["samsungbrowser","safari"]},{exclude:["fonts"],browsers:["firefox"]},{exclude:["audio.sampleHash","hardware.deviceMemory","header.acceptLanguage.q","system.hardwareConcurrency","plugins"],browsers:["brave"]},{exclude:["tls.extensions"],browsers:["firefox","chrome","safari"]},{exclude:["header.acceptLanguage"],browsers:["edge","chrome"]}
17],iframe:[{exclude:["system.applePayVersion","system.cookieEnabled"],browsers:["safari"]},{exclude:["permissions"]}],vpn:[{exclude:["ip"]}]},W=typeof window<"u"?window.OfflineAudioContext||window.webkitOfflineAudioContext:null;function G(Se){let Ne=0;for(let tt=0;tt<Se.length;++tt)Ne+=Math.abs(Se[tt]);return Ne}function B(Se,Ne,tt){let lt=[];for(let $e=0;$e<Se[0].data.length;$e++){let Be=[];for(let ve=0;ve<Se.length;ve++)Be.push(Se[ve].data[$e]);lt.push(J(Be))}const pt=new Uint8ClampedArray(lt);return new ImageData(pt,Ne,tt)}function J(Se){if(0===Se.length)return 0;const Ne={};for(const lt of Se)Ne[lt]=(Ne[lt]||0)+1;let tt=Se[0];for(const lt in Ne)Ne[lt]>Ne[tt]&&(tt=parseInt(lt,10));return tt}function z(Se){return Se^=Se>>>16,Se=Math.imul(Se,2246822507),Se^=Se>>>13,Se=Math.imul(Se,3266489909),(Se^=Se>>>16)>>>0}const w=new Uint32Array([597399067,2869860233,951274213,2716044179]);function U(Se,Ne){return Se<<Ne|Se>>>32-Ne}function Z(Se,Ne=0){if(Ne=Ne?0|Ne:0,"string"==typeof Se&&(Se=function(pt){if(typeof TextEncoder<"u")return(new TextEncoder).encode(pt).buffer;const $e=[];for(let Be=0;Be<pt.length;Be++){let ve=pt.charCodeAt(Be);ve<128?$e.push(ve):ve<2048?$e.push(192|ve>>6,128|63&ve):ve<55296||ve>=57344?$e.push(224|ve>>12,128|ve>>6&63,128|63&ve):(Be++,ve=65536+((1023&ve)<<10|1023&pt.charCodeAt(Be)),$e.push(240|ve>>18,128|ve>>12&63,128|ve>>6&63,128|63&ve))}return new Uint8Array($e).buffer}(Se)),!(Se instanceof ArrayBuffer))throw new TypeError("Expected key to be ArrayBuffer or string");const tt=new Uint32Array([Ne,Ne,Ne,Ne]);var pt,$e;(function(pt,$e){const Be=pt.byteLength/16|0,ve=new Uint32Array(pt,0,4*Be);for(let Ce=0;Ce<Be;Ce++){const oe=ve.subarray(4*Ce,4*(Ce+1));oe[0]=Math.imul(oe[0],w[0]),oe[0]=U(oe[0],15),oe[0]=Math.imul(oe[0],w[1]),$e[0]=$e[0]^oe[0],$e[0]=U($e[0],19),$e[0]=$e[0]+$e[1],$e[0]=Math.imul($e[0],5)+1444728091,oe[1]=Math.imul(oe[1],w[1]),oe[1]=U(oe[1],16),oe[1]=Math.imul(oe[1],w[2]),$e[1]=$e[1]^oe[1],$e[1]=U($e[1],17),$e[1]=$e[1]+$e[2],$e[1]=Math.imul($e[1],5)+197830471,oe[2]=Math.imul(oe[2],w[2]),oe[2]=U(oe[2],17),oe[2]=Math.imul(oe[2],w[3]),$e[2]=$e[2]^oe[2],$e[2]=U($e[2],15),$e[2]=$e[2]+$e[3],$e[2]=Math.imul($e[2],5)+2530024501,oe[3]=Math.imul(oe[3],w[3]),oe[3]=U(oe[3],18),oe[3]=Math.imul(oe[3],w[0]),$e[3]=$e[3]^oe[3],$e[3]=U($e[3],13),$e[3]=$e[3]+$e[0],$e[3]=Math.imul($e[3],5)+850148119}})(Se,tt),function(pt,$e){const Be=pt.byteLength/16|0,ve=pt.byteLength%16,Ce=new Uint32Array(4),oe=new Uint8Array(pt,16*Be,ve);switch(ve){case 15:Ce[3]=Ce[3]^oe[14]<<16;case 14:Ce[3]=Ce[3]^oe[13]<<8;case 13:Ce[3]=Ce[3]^oe[12],Ce[3]=Math.imul(Ce[3],w[3]),Ce[3]=U(Ce[3],18),Ce[3]=Math.imul(Ce[3],w[0]),$e[3]=$e[3]^Ce[3];case 12:Ce[2]=Ce[2]^oe[11]<<24;case 11:Ce[2]=Ce[2]^oe[10]<<16;case 10:Ce[2]=Ce[2]^oe[9]<<8;case 9:Ce[2]=Ce[2]^oe[8],Ce[2]=Math.imul(Ce[2],w[2]),Ce[2]=U(Ce[2],17),Ce[2]=Math.imul(Ce[2],w[3]),$e[2]=$e[2]^Ce[2];case 8:Ce[1]=Ce[1]^oe[7]<<24;case 7:Ce[1]=Ce[1]^oe[6]<<16;case 6:Ce[1]=Ce[1]^oe[5]<<8;case 5:Ce[1]=Ce[1]^oe[4],Ce[1]=Math.imul(Ce[1],w[1]),Ce[1]=U(Ce[1],16),Ce[1]=Math.imul(Ce[1],w[2]),$e[1]=$e[1]^Ce[1];case 4:Ce[0]=Ce[0]^oe[3]<<24;case 3:Ce[0]=Ce[0]^oe[2]<<16;case 2:Ce[0]=Ce[0]^oe[1]<<8;case 1:Ce[0]=Ce[0]^oe[0],Ce[0]=Math.imul(Ce[0],w[0]),Ce[0]=U(Ce[0],15),Ce[0]=Math.imul(Ce[0],w[1]),$e[0]=$e[0]^Ce[0]}}(Se,tt),($e=tt)[0]=$e[0]^(pt=Se).byteLength,$e[1]=$e[1]^pt.byteLength,$e[2]=$e[2]^pt.byteLength,$e[3]=$e[3]^pt.byteLength,$e[0]=$e[0]+$e[1]|0,$e[0]=$e[0]+$e[2]|0,$e[0]=$e[0]+$e[3]|0,$e[1]=$e[1]+$e[0]|0,$e[2]=$e[2]+$e[0]|0,$e[3]=$e[3]+$e[0]|0,$e[0]=z($e[0]),$e[1]=z($e[1]),$e[2]=z($e[2]),$e[3]=z($e[3]),$e[0]=$e[0]+$e[1]|0,$e[0]=$e[0]+$e[2]|0,$e[0]=$e[0]+$e[3]|0,$e[1]=$e[1]+$e[0]|0,$e[2]=$e[2]+$e[0]|0,$e[3]=$e[3]+$e[0]|0;const lt=new Uint8Array(tt.buffer);return Array.from(lt).map(pt=>pt.toString(16).padStart(2,"0")).join("")}function j(Se){return F.apply(this,arguments)}function F(){return(F=(0,x.A)(function*(Se){for(var Ne;!document.body;)yield ue(50);const tt=document.createElement("iframe");tt.setAttribute("frameBorder","0");const lt=tt.style;lt.setProperty("position","fixed"),lt.setProperty("display","block","important"),lt.setProperty("visibility","visible"),lt.setProperty("border","0"),lt.setProperty("opacity","0"),tt.src="about:blank",document.body.appendChild(tt);const pt=tt.contentDocument||(null===(Ne=tt.contentWindow)||void 0===Ne?void 0:Ne.document);if(!pt)throw new Error("Iframe document is not accessible");Se({iframe:pt}),setTimeout(()=>{document.body.removeChild(tt)},0)})).apply(this,arguments)}function ue(Se,Ne){return new Promise(tt=>setTimeout(tt,Se,Ne))}const ae=["Arial","Arial Black","Arial Narrow","Arial Rounded MT","Arimo","Archivo","Barlow","Bebas Neue","Bitter","Bookman","Calibri","Cabin","Candara","Century","Century Gothic","Comic Sans MS","Constantia","Courier","Courier New","Crimson Text","DM Mono","DM Sans","DM Serif Display","DM Serif Text","Dosis","Droid Sans","Exo","Fira Code","Fira Sans","Franklin Gothic Medium","Garamond","Geneva","Georgia","Gill Sans","Helvetica","Impact","Inconsolata","Indie Flower","Inter","Josefin Sans","Karla","Lato","Lexend","Lucida Bright","Lucida Console","Lucida Sans Unicode","Manrope","Merriweather","Merriweather Sans","Montserrat","Myriad","Noto Sans","Nunito","Nunito Sans","Open Sans","Optima","Orbitron","Oswald","Pacifico","Palatino","Perpetua","PT Sans","PT Serif","Poppins","Prompt","Public Sans","Quicksand","Rajdhani","Recursive","Roboto","Roboto Condensed","Rockwell","Rubik","Segoe Print","Segoe Script","Segoe UI","Sora","Source Sans Pro","Space Mono","Tahoma","Taviraj","Times","Times New Roman","Titillium Web","Trebuchet MS","Ubuntu","Varela Round","Verdana","Work Sans"],N=["monospace","sans-serif","serif"];function te(Se,Ne){return Se.font=`72px ${Ne}`,Se.measureText("WwMmLli0Oo").width}function ie(){var Se;const Ne=document.createElement("canvas"),tt=null!==(Se=Ne.getContext("webgl"))&&void 0!==Se?Se:Ne.getContext("experimental-webgl");
17if(tt&&"getParameter"in tt)try{const lt=(tt.getParameter(tt.VENDOR)||"").toString(),pt=(tt.getParameter(tt.RENDERER)||"").toString();let $e={vendor:lt,renderer:pt,version:(tt.getParameter(tt.VERSION)||"").toString(),shadingLanguageVersion:(tt.getParameter(tt.SHADING_LANGUAGE_VERSION)||"").toString()};if(!pt.length||!lt.length){const Be=tt.getExtension("WEBGL_debug_renderer_info");if(Be){const ve=(tt.getParameter(Be.UNMASKED_VENDOR_WEBGL)||"").toString(),Ce=(tt.getParameter(Be.UNMASKED_RENDERER_WEBGL)||"").toString();ve&&($e.vendorUnmasked=ve),Ce&&($e.rendererUnmasked=Ce)}}return $e}catch{}return"undefined"}function re(){const Se=new Float32Array(1),Ne=new Uint8Array(Se.buffer);return Se[0]=1/0,Se[0]=Se[0]-Se[0],Ne[3]}const Ee=(Se,Ne,tt,lt)=>{const pt=(tt-Ne)/lt;let $e=0;for(let Be=0;Be<lt;Be++)$e+=Se(Ne+(Be+.5)*pt);return $e*pt},Mt=["accelerometer","accessibility","accessibility-events","ambient-light-sensor","background-fetch","background-sync","bluetooth","camera","clipboard-read","clipboard-write","device-info","display-capture","gyroscope","geolocation","local-fonts","magnetometer","microphone","midi","nfc","notifications","payment-handler","persistent-storage","push","speaker","storage-access","top-level-storage-access","window-management","query"];function wt(){var Se,Ne,tt,lt,pt,$e;if(typeof navigator>"u")return{name:"unknown",version:"unknown"};const Be=navigator.userAgent,ve=[/(?<name>SamsungBrowser)\/(?<version>\d+(?:\.\d+)+)/,/(?<name>EdgA|EdgiOS|Edg)\/(?<version>\d+(?:\.\d+)+)/,/(?<name>OPR|OPX)\/(?<version>\d+(?:\.\d+)+)/,/Opera[\s\/](?<version>\d+(?:\.\d+)+)/,/Opera Mini\/(?<version>\d+(?:\.\d+)+)/,/Opera Mobi\/(?<version>\d+(?:\.\d+)+)/,/(?<name>Vivaldi)\/(?<version>\d+(?:\.\d+)+)/,/(?<name>Brave)\/(?<version>\d+(?:\.\d+)+)/,/(?<name>CriOS)\/(?<version>\d+(?:\.\d+)+)/,/(?<name>FxiOS)\/(?<version>\d+(?:\.\d+)+)/,/(?<name>Chrome|Chromium)\/(?<version>\d+(?:\.\d+)+)/,/(?<name>Firefox|Waterfox|Iceweasel|IceCat)\/(?<version>\d+(?:\.\d+)+)/,/Version\/(?<version1>[\d.]+).*Safari\/[\d.]+|(?<name>Safari)\/(?<version2>[\d.]+)/,/(?<name>MSIE|Trident|IEMobile).+?(?<version>\d+(?:\.\d+)+)/,/(?<name>[A-Za-z]+)\/(?<version>\d+(?:\.\d+)+)/],Ce={edg:"Edge",edga:"Edge",edgios:"Edge",opr:"Opera",opx:"Opera",crios:"Chrome",fxios:"Firefox",samsung:"SamsungBrowser",vivaldi:"Vivaldi",brave:"Brave"};for(const oe of ve){const De=Be.match(oe);if(De){let rt=null===(Se=De.groups)||void 0===Se?void 0:Se.name,St=(null===(Ne=De.groups)||void 0===Ne?void 0:Ne.version)||(null===(tt=De.groups)||void 0===tt?void 0:tt.version1)||(null===(lt=De.groups)||void 0===lt?void 0:lt.version2);if(rt||!(null!==(pt=De.groups)&&void 0!==pt&&pt.version1)&&!(null!==($e=De.groups)&&void 0!==$e&&$e.version2)||(rt="Safari"),!rt&&oe.source.includes("Opera Mini")&&(rt="Opera Mini"),!rt&&oe.source.includes("Opera Mobi")&&(rt="Opera Mobi"),!rt&&oe.source.includes("Opera")&&(rt="Opera"),!rt&&De[1]&&(rt=De[1]),!St&&De[2]&&(St=De[2]),rt)return{name:Ce[rt.toLowerCase()]||rt,version:St||"unknown"}}}return{name:"unknown",version:"unknown"}}function At(){if(typeof navigator>"u"||!navigator.userAgent)return!1;const Se=navigator.userAgent;return/Mobi|Android|iPhone|iPod|IEMobile|Opera Mini|Opera Mobi|webOS|BlackBerry|Windows Phone/i.test(Se)&&!/iPad/i.test(Se)}function Et(){let Se=[];const Ne={"prefers-contrast":["high","more","low","less","forced","no-preference"],"any-hover":["hover","none"],"any-pointer":["none","coarse","fine"],pointer:["none","coarse","fine"],hover:["hover","none"],update:["fast","slow"],"inverted-colors":["inverted","none"],"prefers-reduced-motion":["reduce","no-preference"],"prefers-reduced-transparency":["reduce","no-preference"],scripting:["none","initial-only","enabled"],"forced-colors":["active","none"]};return Object.keys(Ne).forEach(tt=>{Ne[tt].forEach(lt=>{matchMedia(`(${tt}: ${lt})`).matches&&Se.push(`${tt}: ${lt}`)})}),Se}function It(){if("https:"===window.location.protocol&&"function"==typeof window.ApplePaySession)try{const Se=window.ApplePaySession.supportsVersion;for(let Ne=15;Ne>0;Ne--)if(Se(Ne))return Ne}catch{return 0}return 0}const bt="SamsungBrowser"!==wt().name?1:3;let st,ne=null;function fe(Se){const Ne=[];return function tt(lt){if(lt&&lt.toJSON&&"function"==typeof lt.toJSON&&(lt=lt.toJSON()),void 0===lt)return;if("number"==typeof lt)return isFinite(lt)?""+lt:"null";if("object"!=typeof lt)return JSON.stringify(lt);let pt,$e;if(Array.isArray(lt)){for($e="[",pt=0;pt<lt.length;pt++)pt&&($e+=","),$e+=tt(lt[pt])||"null";return $e+"]"}if(null===lt)return"null";if(-1!==Ne.indexOf(lt))throw new TypeError("Converting circular structure to JSON");const Be=Ne.push(lt)-1,ve=Object.keys(lt).sort();for($e="",pt=0;pt<ve.length;pt++){const Ce=ve[pt],oe=tt(lt[Ce]);oe&&($e&&($e+=","),$e+=JSON.stringify(Ce)+":"+oe)}return Ne.splice(Be,1),"{"+$e+"}"}(Se)||""}const le=["\u{1d504}","\u{1d505}","\u212d","\u{1d507}","\u{1d508}","\u{1d509}","\u{1d538}","\u{1d539}","\u2102","\u{1d53b}","\u{1d53c}","\u{1d53d}"],Ue=["\u03b2","\u03c8","\u03bb","\u03b5","\u03b6","\u03b1","\u03be","\u03bc","\u03c1","\u03c6","\u03ba","\u03c4","\u03b7","\u03c3","\u03b9","\u03c9","\u03b3","\u03bd","\u03c7","\u03b4","\u03b8","\u03c0","\u03c5","\u03bf"];function Fe(Se,Ne){return`<math><mrow>${Ne}</mrow></math>`}function nt(){let Se="<mo>\u220f</mo>";return le.forEach((Ne,tt)=>{const lt=2*tt,pt=Ue.slice(lt,lt+2);2===pt.length&&(Se+=`<mmultiscripts><mi>${Ne}</mi><none/><mi>${pt[1]}</mi><mprescripts></mprescripts><mi>${pt[0]}</mi><none/></mmultiscripts>`)}),Fe(0,`<munderover><mmultiscripts>${Se}</mmultiscripts></munderover>`)}function _t(){const Se=[];return le.forEach((Ne,tt)=>{const lt=2*tt,pt=Ue.slice(lt,lt+2);2===pt.length&&Se.push(Fe(0,`<mmultiscripts><mi>${Ne}</mi><none/><mi>${pt[1]}</mi><mprescripts></mprescripts><mi>${pt[0]}</mi><none/></mmultiscripts>`))}),Se}const Ge={audio:(Se=(0,x.A)(function*(){return W?(0,x.A)(function*(){return new Promise((Ne,tt)=>{try{const lt=new W(1,5e3,44100),pt=lt.createBufferSource(),$e=lt.createOscillator();$e.frequency.value=1e3;const Be=lt.createDynamicsCompressor();let ve;Be.threshold.value=-50,Be.knee.value=40,Be.ratio.value=12,Be.attack.value=0,Be.release.value=.2,$e.connect(Be),Be.connect(lt.destination),$e.start(),lt.oncomplete=Ce=>{ve=Ce.renderedBuffer.getChannelData(0),Ne({sampleHash:G(ve),maxChannels:lt.destination.maxChannelCount,channelCountMode:pt.channelCountMode})},lt.startRendering()}catch(lt){console.error("Error creating audio fingerprint:",lt),tt(lt)}})})():null}),function(){return Se.apply(this,arguments)}),canvas:function(){var Se=(0,x.A)(function*(){return new Promise(Ne=>{const tt=Array.from({length:3},()=>function(){const lt=document.createElement("canvas"),pt=lt.getContext("2d");if(!pt)return null;lt.width=280,lt.height=20;const $e=pt.createLinearGradient(0,0,lt.width,lt.height);$e.addColorStop(0,"red"),$e.addColorStop(.16666666666666666,"orange"),$e.addColorStop(.3333333333333333,"yellow"),$e.addColorStop(.5,"green"),$e.addColorStop(.6666666666666666,"blue"),$e.addColorStop(.8333333333333334,"indigo"),$e.addColorStop(1,"violet"),pt.fillStyle=$e,pt.fillRect(0,0,lt.width,lt.height);const Be="Random Text WMwmil10Oo";
17return pt.font="23.123px Arial",pt.fillStyle="black",pt.fillText(Be,-5,15),pt.fillStyle="rgba(0, 0, 255, 0.5)",pt.fillText(Be,-3.3,17.7),pt.beginPath(),pt.moveTo(0,0),pt.lineTo(2*lt.width/7,lt.height),pt.strokeStyle="white",pt.lineWidth=2,pt.stroke(),pt.getImageData(0,0,lt.width,lt.height)}()).filter(lt=>null!==lt);Ne(0!==tt.length?{commonPixelsHash:Z(B(tt,280,20).data.toString()).toString()}:null)})});return function(){return Se.apply(this,arguments)}}(),fonts:function(){var Se=(0,x.A)(function*(Ne){return new Promise(tt=>{try{j(function(){var lt=(0,x.A)(function*({iframe:pt}){const $e=pt.createElement("canvas").getContext("2d");if(!$e)return void tt(null);const Be=N.map(Ce=>te($e,Ce));let ve={};ae.forEach(Ce=>{const oe=te($e,Ce);Be.includes(oe)||(ve[Ce]=oe)}),tt(ve)});return function(pt){return lt.apply(this,arguments)}}())}catch{tt(null)}})});return function(tt){return Se.apply(this,arguments)}}(),hardware:function(){return new Promise((Se,Ne)=>{const tt=void 0!==navigator.deviceMemory?navigator.deviceMemory:0,lt=window.performance&&window.performance.memory?window.performance.memory:0;Se({videocard:ie(),architecture:re(),deviceMemory:tt.toString()||"undefined",jsHeapSizeLimit:lt.jsHeapSizeLimit||0})})},locales:function(){return new Promise(Se=>{Se({languages:navigator.language,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone})})},math:function(){return new Promise(Se=>{Se({acos:Math.acos(.5),asin:Ee(Math.asin,-1,1,97),cos:Ee(Math.cos,0,Math.PI,97),largeCos:Math.cos(1e20),largeSin:Math.sin(1e20),largeTan:Math.tan(1e20),sin:Ee(Math.sin,-Math.PI,Math.PI,97),tan:Ee(Math.tan,0,2*Math.PI,97)})})},permissions:function(){var Se=(0,x.A)(function*(Ne){const tt=Ne?.permissions_to_check||Mt;return function Re(Se,Ne){const tt={};return Ne.forEach(lt=>{const pt=function($e){if(0===$e.length)return null;const Be={};$e.forEach(oe=>{const De=String(oe);Be[De]=(Be[De]||0)+1});let ve=$e[0],Ce=1;return Object.keys(Be).forEach(oe=>{Be[oe]>Ce&&(ve=oe,Ce=Be[oe])}),ve}(Se.map($e=>lt in $e?$e[lt]:void 0).filter($e=>void 0!==$e));pt&&(tt[lt]=pt)}),tt}(yield Promise.all(Array.from({length:3},()=>{return(lt=(0,x.A)(function*(pt){const $e={};for(const Be of pt)try{const ve=yield navigator.permissions.query({name:Be});$e[Be]=ve.state.toString()}catch{}return $e}),function(pt){return lt.apply(this,arguments)})(tt);var lt})),tt)});return function(tt){return Se.apply(this,arguments)}}(),plugins:function(){var Se=(0,x.A)(function*(){const Ne=[];if(navigator.plugins)for(let tt=0;tt<navigator.plugins.length;tt++){const lt=navigator.plugins[tt];Ne.push([lt.name,lt.filename,lt.description].join("|"))}return new Promise(tt=>{tt({plugins:Ne})})});return function(){return Se.apply(this,arguments)}}(),screen:function(){return new Promise(Se=>{if(typeof matchMedia>"u"||typeof screen>"u")return void Se(null);const Ne={is_touchscreen:navigator.maxTouchPoints>0,maxTouchPoints:navigator.maxTouchPoints,colorDepth:screen.colorDepth,mediaMatches:Et()};At()&&navigator.maxTouchPoints>0&&(Ne.resolution=function(){const tt=window.screen.width,lt=window.screen.height;return`${Math.max(tt,lt).toString()}x${Math.min(tt,lt).toString()}`}()),Se(Ne)})},system:function(){return new Promise(Se=>{const Ne=wt();Se({platform:window.navigator.platform,productSub:navigator.productSub,product:navigator.product,useragent:navigator.userAgent,hardwareConcurrency:navigator.hardwareConcurrency,browser:{name:Ne.name,version:Ne.version},mobile:At(),applePayVersion:It(),cookieEnabled:window.navigator.cookieEnabled})})},webgl:function(){var Se=(0,x.A)(function*(){typeof document<"u"&&(st=document.createElement("canvas"),st.width=200,st.height=100,ne=st.getContext("webgl"));try{if(!ne)throw new Error("WebGL not supported");return{commonPixelsHash:Z(B(Array.from({length:bt},()=>function(){try{if(!ne)throw new Error("WebGL not supported");const tt="\n          attribute vec2 position;\n          void main() {\n              gl_Position = vec4(position, 0.0, 1.0);\n          }\n      ",lt="\n          precision mediump float;\n          void main() {\n              gl_FragColor = vec4(0.812, 0.195, 0.553, 0.921); // Set line color\n          }\n      ",pt=ne.createShader(ne.VERTEX_SHADER),$e=ne.createShader(ne.FRAGMENT_SHADER);if(!pt||!$e)throw new Error("Failed to create shaders");if(ne.shaderSource(pt,tt),ne.shaderSource($e,lt),ne.compileShader(pt),!ne.getShaderParameter(pt,ne.COMPILE_STATUS))throw new Error("Vertex shader compilation failed: "+ne.getShaderInfoLog(pt));if(ne.compileShader($e),!ne.getShaderParameter($e,ne.COMPILE_STATUS))throw new Error("Fragment shader compilation failed: "+ne.getShaderInfoLog($e));const Be=ne.createProgram();if(!Be)throw new Error("Failed to create shader program");if(ne.attachShader(Be,pt),ne.attachShader(Be,$e),ne.linkProgram(Be),!ne.getProgramParameter(Be,ne.LINK_STATUS))throw new Error("Shader program linking failed: "+ne.getProgramInfoLog(Be));ne.useProgram(Be);const ve=137,Ce=new Float32Array(4*ve),oe=2*Math.PI/ve;for(let Nt=0;Nt<ve;Nt++){const Yt=Nt*oe;Ce[4*Nt]=0,Ce[4*Nt+1]=0,Ce[4*Nt+2]=Math.cos(Yt)*(st.width/2),Ce[4*Nt+3]=Math.sin(Yt)*(st.height/2)}const De=ne.createBuffer();ne.bindBuffer(ne.ARRAY_BUFFER,De),ne.bufferData(ne.ARRAY_BUFFER,Ce,ne.STATIC_DRAW);const rt=ne.getAttribLocation(Be,"position");ne.enableVertexAttribArray(rt),ne.vertexAttribPointer(rt,2,ne.FLOAT,!1,0,0),ne.viewport(0,0,st.width,st.height),ne.clearColor(0,0,0,1),ne.clear(ne.COLOR_BUFFER_BIT),ne.drawArrays(ne.LINES,0,2*ve);const St=new Uint8ClampedArray(st.width*st.height*4);return ne.readPixels(0,0,st.width,st.height,ne.RGBA,ne.UNSIGNED_BYTE,St),new ImageData(St,st.width,st.height)}catch{return new ImageData(1,1)}finally{ne&&(ne.bindBuffer(ne.ARRAY_BUFFER,null),ne.useProgram(null),ne.viewport(0,0,ne.drawingBufferWidth,ne.drawingBufferHeight),ne.clearColor(0,0,0,0))}}()),st.width,st.height).data.toString()).toString()}}catch{return{webgl:"unsupported"}}});return function(){return Se.apply(this,arguments)}}(),webrtc:function(){var Se=(0,x.A)(function*(Ne){return new Promise(tt=>{try{const lt=window.RTCPeerConnection||window.webkitRTCPeerConnection||window.mozRTCPeerConnection;if(!lt)return void tt({supported:!1,error:"WebRTC not supported"});const pt=new lt({iceCandidatePoolSize:1,iceServers:[]});
17pt.createDataChannel(""),(0,x.A)(function*(){try{const $e={offerToReceiveAudio:!0,offerToReceiveVideo:!0},Be=yield pt.createOffer($e);yield pt.setLocalDescription(Be);const ve=Be.sdp||"",Ce=[...new Set((ve.match(/extmap:\d+ [^\n\r]+/g)||[]).map(tn=>tn.replace(/extmap:\d+ /,"")))].sort(),oe=tn=>{const We=ve.match(new RegExp(`m=${tn} [^\\s]+ [^\\s]+ ([^\\n\\r]+)`));return We?We[1].split(" "):[]},De=(tn,We)=>We.map(_e=>{const at=new RegExp(`(rtpmap|fmtp|rtcp-fb):${_e} (.+)`,"g"),dt=[...ve.matchAll(at)];if(!dt.length)return null;const xt={};return dt.forEach(Lt=>{const[Qt,Zt,gn]=Lt,hn=gn.split("/");"rtpmap"===Zt?(xt.mimeType=`${tn}/${hn[0]}`,xt.clockRate=+hn[1],"audio"===tn&&(xt.channels=+hn[2]||1)):"rtcp-fb"===Zt?(xt.feedbackSupport=xt.feedbackSupport||[],xt.feedbackSupport.push(gn)):"fmtp"===Zt&&(xt.sdpFmtpLine=gn)}),xt}).filter(Boolean),rt=De("audio",oe("audio")),St=De("video",oe("video")),Nt={audio:{count:rt.length,hash:Z(fe(rt))},video:{count:St.length,hash:Z(fe(St))},extensionsHash:Z(fe(Ce))},zt=Math.floor(.9*(Ne?.timeout||5e3)),Cn=yield new Promise(tn=>{const We=setTimeout(()=>{pt.removeEventListener("icecandidate",_e),pt.close(),tn({supported:!0,...Nt,timeout:!0})},zt),_e=at=>{const dt=at.candidate;dt&&dt.candidate&&(clearTimeout(We),pt.removeEventListener("icecandidate",_e),pt.close(),tn({supported:!0,...Nt,candidateType:dt.type||""}))};pt.addEventListener("icecandidate",_e)});tt({details:Cn,hash:Z(fe(Cn))})}catch($e){pt.close(),tt({supported:!0,error:`WebRTC offer failed: ${$e.message}`})}})()}catch(lt){tt({supported:!1,error:`WebRTC error: ${lt.message}`})}})});return function(tt){return Se.apply(this,arguments)}}(),speech:function(){var Se=(0,x.A)(function*(){return new Promise(Ne=>{try{if(typeof window>"u"||!window.speechSynthesis||"function"!=typeof window.speechSynthesis.getVoices)return void Ne({supported:!1,error:"Speech Synthesis API not supported"});let tt=!1,lt=null;const pt=ve=>{if(!tt){tt=!0,lt&&clearTimeout(lt);try{const Ce=ve.map(De=>{const rt=St=>St.replace(/\\/g,"\\\\").replace(/,/g,"\\,");return[rt(De.voiceURI||""),rt(De.name||""),rt(De.lang||""),De.localService?"1":"0",De.default?"1":"0"].join(",")});Ce.sort();const oe={voiceCount:ve.length,voicesHash:Z(fe(Ce))};Ne({details:oe,hash:Z(fe(oe))})}catch(Ce){Ne({supported:!0,error:`Voice processing failed: ${Ce.message}`})}}},$e=window.speechSynthesis.getVoices();if($e.length>0)return void pt($e);lt=setTimeout(()=>{const ve=window.speechSynthesis.getVoices();pt(ve)},800);const Be=()=>{window.speechSynthesis.removeEventListener("voiceschanged",Be);const ve=window.speechSynthesis.getVoices();pt(ve)};window.speechSynthesis.addEventListener("voiceschanged",Be)}catch(tt){Ne({supported:!1,error:`Speech Synthesis error: ${tt.message}`})}})});return function(){return Se.apply(this,arguments)}}()},Ct={mathml:function(){var Se=(0,x.A)(function*(){return new Promise(Ne=>{try{j(function(){var tt=(0,x.A)(function*({iframe:lt}){try{if(!function(Ce){try{const oe=Ce.createElement("math");oe.innerHTML="<mrow><mi>x</mi></mrow>",oe.style.position="absolute",oe.style.visibility="hidden",Ce.body.appendChild(oe);const De=oe.getBoundingClientRect();return Ce.body.removeChild(oe),De.width>0&&De.height>0}catch{return!1}}(lt))return void Ne({supported:!1,error:"MathML not supported"});const pt=[Fe(0,"<msubsup><mo>\u222b</mo><mi>a</mi><mi>b</mi></msubsup><mfrac><mrow><mi>f</mi><mo>(</mo><mi>x</mi><mo>)</mo></mrow><mrow><mi>g</mi><mo>(</mo><mi>x</mi><mo>)</mo></mrow></mfrac><mi>dx</mi>"),Fe(0,"<mfrac><mrow><mi>\u03c0</mi><mo>\xd7</mo><msup><mi>r</mi><mn>2</mn></msup></mrow><mrow><mn>2</mn><mi>\u03c3</mi></mrow></mfrac>"),Fe(0,"<mo>[</mo><mtable><mtr><mtd><mi>\u03b1</mi></mtd><mtd><mi>\u03b2</mi></mtd></mtr><mtr><mtd><mi>\u03b3</mi></mtd><mtd><mi>\u03b4</mi></mtd></mtr></mtable><mo>]</mo>"),nt(),..._t()],$e=[];let Be="";pt.forEach((Ce,oe)=>{const De=function(rt,St){try{const Nt=St.createElement("math");Nt.innerHTML=rt.replace(/<\/?math>/g,""),Nt.style.whiteSpace="nowrap",Nt.style.position="absolute",Nt.style.visibility="hidden",Nt.style.top="-9999px",St.body.appendChild(Nt);const Yt=Nt.getBoundingClientRect(),zt=(St.defaultView||window).getComputedStyle(Nt),Cn={dimensions:{width:Yt.width,height:Yt.height},fontInfo:{fontFamily:zt.fontFamily,fontSize:zt.fontSize,fontWeight:zt.fontWeight,fontStyle:zt.fontStyle,lineHeight:zt.lineHeight,fontVariant:zt.fontVariant||"normal",fontStretch:zt.fontStretch||"normal",fontSizeAdjust:zt.fontSizeAdjust||"none",textRendering:zt.textRendering||"auto",fontFeatureSettings:zt.fontFeatureSettings||"normal",fontVariantNumeric:zt.fontVariantNumeric||"normal",fontKerning:zt.fontKerning||"auto"}};return St.body.removeChild(Nt),Cn}catch(Nt){return{error:Nt.message}}}(Ce,lt);$e.push({width:De.dimensions.width,height:De.dimensions.height}),0===oe&&De.fontInfo&&(Be=Z(fe(De.fontInfo)))});const ve={fontStyleHash:Be,dimensions:$e};Ne({details:ve,hash:Z(fe(ve))})}catch(pt){Ne({supported:!1,error:`MathML error: ${pt.message}`})}});return function(lt){return tt.apply(this,arguments)}}())}catch(tt){Ne({supported:!1,error:`MathML error: ${tt.message}`})}})});return function(){return Se.apply(this,arguments)}}()},ze={},mt={timeout:"true"};var Se;function yt(Se,Ne){var tt;let lt=wt();if("unknown"===lt.name&&Se.system&&"object"==typeof Se.system&&!Array.isArray(Se.system)){const De=Se.system.browser;De&&"object"==typeof De&&!Array.isArray(De)&&(lt={name:De.name||"unknown",version:De.version||"unknown"})}const pt=lt.name.toLowerCase(),$e=lt.version.split(".")[0]||"0",Be=parseInt($e,10),ve=[...Ne?.exclude||[]],Ce=Ne?.stabilize||[],oe=Ne?.include||[];for(const De of Ce){const rt=I[De];if(rt)for(const St of rt){const Nt=!("browsers"in St),Yt=!Nt&&(null===(tt=St.browsers)||void 0===tt?void 0:tt.some(zt=>{const Cn=zt.match(/(.+?)(>=)(\d+)/);if(Cn){const[,tn,,We]=Cn,_e=parseInt(We,10);return pt===tn&&Be>=_e}return pt===zt}));(Nt||Yt)&&ve.push(...St.exclude)}}return function De(rt,St=""){const Nt={};for(const[Yt,zt]of Object.entries(rt)){const Cn=St?`${St}.${Yt}`:Yt;if("object"!=typeof zt||Array.isArray(zt)||null===zt){const tn=ve.some(_e=>Cn.startsWith(_e)),We=oe.some(_e=>Cn.startsWith(_e));tn&&!We||(Nt[Yt]=zt)}else{const tn=De(zt,Cn);Object.keys(tn).length>0&&(Nt[Yt]=tn)}}return Nt}(Se)}const ut="visitor_id";function ht(Se){return Se.storage_property_name?Se.storage_property_name:Se.property_name_factory(ut)}const me=`${V}_${ut}`;function et(Se,Ne){try{localStorage.setItem(ht(Ne),Se)}catch{}}function Ae(Se){try{const Ne=localStorage.getItem(Se.property_name_factory("cache"));return JSON.parse(Ne)||{}}catch{}return{}}
17function de(Se){return Se.cache_lifetime_in_ms>O?Date.now()+O:Date.now()+Se.cache_lifetime_in_ms}let Te=null,Ie=null;const ye=(Se,Ne)=>{if(Se.cache_api_call){if(Ie)return Promise.resolve(Ie);const Ce=function(oe){const De=Ae(oe);if(De&&De.apiResponse&&De.apiResponseExpiry&&Date.now()<=De.apiResponseExpiry)return De.apiResponse}(Se);if(Ce)return Promise.resolve(Ce);if(Te)return Te}const tt=`${Se.api_endpoint||p}/thumbmark`,lt=function(Ce){try{const oe=ht(Ce);let De=localStorage.getItem(oe);return De||oe===me||(De=localStorage.getItem(me),De&&et(De,Ce)),De}catch{return null}}(Se),pt={components:Ne,options:Se,clientHash:Z(fe(Ne)),version:"1.7.1"};if(lt&&(pt.visitorId=lt),Se.metadata){const Ce="function"==typeof Se.metadata?Se.metadata():Se.metadata;Ce&&(("string"==typeof Ce?Ce.length:JSON.stringify(Ce).length)>1e3?console.error("ThumbmarkJS: Metadata exceeds 1000 characters. Skipping metadata."):pt.metadata=Ce)}const $e=fetch(tt,{method:"POST",headers:{"x-api-key":Se.api_key,Authorization:"custom-authorized","Content-Type":"application/json"},body:JSON.stringify(pt)}).then(Ce=>{if(!Ce.ok)throw 403===Ce.status?new Error("INVALID_API_KEY"):new Error(`HTTP error! status: ${Ce.status}`);return Ce.json()}).then(Ce=>{return Ce.visitorId&&Ce.visitorId!==lt&&et(Ce.visitorId,Se),Ie=Ce,De=Ce,!(oe=Se).cache_api_call||!oe.cache_lifetime_in_ms||function(rt,St){const Nt={...Ae(rt),...St};try{localStorage.setItem(rt.property_name_factory("cache"),JSON.stringify(Nt))}catch{}}(oe,{apiResponseExpiry:de(oe),apiResponse:De}),Te=null,Ce;var oe,De}).catch(Ce=>{if(console.error("Error fetching pro data",Ce),Te=null,"INVALID_API_KEY"===Ce.message)throw Ce;return null}),Be=Se.timeout||5e3,ve=new Promise(Ce=>{setTimeout(()=>{const oe=Ae(Se);Ce(oe&&oe.apiResponse?oe.apiResponse:{info:{timed_out:!0},...lt&&{visitorId:lt}})},Be)});return Te=Promise.race([$e,ve]),Te};function Oe(){return Oe=(0,x.A)(function*(Se){var Ne;if(typeof document>"u"||typeof window>"u")return{thumbmark:"",components:{},info:{},version:"1.7.1",error:"Browser environment required"};const tt={...$,...Se},lt=tt.logging&&!sessionStorage.getItem("_tmjs_l")&&Math.random()<1e-4,pt={...Ge,...ze},{elapsed:$e,resolvedComponents:Be}=yield Le(pt,tt);let ve={},Ce={};if(lt||tt.experimental){const{elapsed:tn,resolvedComponents:We}=yield Le(Ct,tt);ve=We,Ce=tn}const oe=tt.api_key?ye(tt,Be):null;let De=null;if(oe)try{De=yield oe}catch(tn){if(tn instanceof Error&&"INVALID_API_KEY"===tn.message)return{error:"Invalid API key or quota exceeded",components:{},info:{},version:"1.7.1",thumbmark:""};throw tn}const rt={...$e,...Ce},St=tt.performance?{elapsed:rt}:{},Nt=yt(De?.components||{},tt),Yt={...Be,...Nt},zt=De?.info||{uniqueness:{score:"api only"}},Cn=null!==(Ne=De?.thumbmark)&&void 0!==Ne?Ne:Z(fe(Yt));return lt&&(tn=(0,x.A)(function*(We,_e,at,dt={}){var xt;const Lt=`${p}/log`,Qt={thumbmark:We,components:_e,experimental:dt,version:"1.7.1",options:at,path:null===(xt=window?.location)||void 0===xt?void 0:xt.pathname};sessionStorage.setItem("_tmjs_l","1");try{yield fetch(Lt,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Qt)})}catch{}}),function(We,_e,at){return tn.apply(this,arguments)}
17)(Cn,Yt,tt,ve).catch(()=>{}),{...De?.visitorId&&{visitorId:De.visitorId},thumbmark:Cn,components:Yt,info:zt,version:"1.7.1",...St,...Object.keys(ve).length>0&&tt.experimental&&{experimental:ve},...De?.requestId&&{requestId:De.requestId},...De?.metadata&&{metadata:De.metadata}};var tn}),Oe.apply(this,arguments)}function Le(Se,Ne){return ee.apply(this,arguments)}function ee(){return ee=(0,x.A)(function*(Se,Ne){const tt={...$,...Ne},lt=Object.entries(Se).filter(([De])=>{var rt;return!(null!==(rt=tt?.exclude)&&void 0!==rt&&rt.includes(De))}).filter(([De])=>{var rt,St,Nt,Yt;return null!==(rt=tt?.include)&&void 0!==rt&&rt.some(zt=>zt.includes("."))?null===(St=tt?.include)||void 0===St?void 0:St.some(zt=>zt.startsWith(De)):0===(null===(Nt=tt?.include)||void 0===Nt?void 0:Nt.length)||(null===(Yt=tt?.include)||void 0===Yt?void 0:Yt.includes(De))}),pt=lt.map(([De])=>De),$e=lt.map(([De,rt])=>rt(Ne)),Be=yield(De=$e,rt=tt?.timeout||5e3,St=mt,Promise.all(De.map(Nt=>{const Yt=performance.now();return Promise.race([Nt.then(tn=>({value:tn,elapsed:performance.now()-Yt})).catch(()=>({value:St,elapsed:performance.now()-Yt})),(zt=rt,Cn=St,new Promise(tn=>{setTimeout(()=>tn(Cn),zt)})).then(tn=>({value:tn,elapsed:performance.now()-Yt}))]);var zt,Cn}))),ve={},Ce={};var De,rt,St;Be.forEach((De,rt)=>{var St;null!=De.value&&(Ce[pt[rt]]=De.value,ve[pt[rt]]=null!==(St=De.elapsed)&&void 0!==St?St:0)});const oe=yt(Ce,tt);return{elapsed:ve,resolvedComponents:oe}}),ee.apply(this,arguments)}class Je{constructor(Ne){this.options={...$,...Ne}}get(Ne){var tt=this;return(0,x.A)(function*(){return function Ye(Se){return Oe.apply(this,arguments)}({...tt.options,...Ne})})()}getVersion(){return"1.7.1"}includeComponent(Ne,tt){((Se,Ne,tt)=>{ze[Se]=Ne})(Ne,tt)}}var on=a(6697),On=a(7019),He=a(1626),Ft=a(2490);let ke=(()=>{var Se;class Ne{constructor(lt,pt){this.http=lt,this.cookie=pt,this.showBanner=new d.t(!1),this.showBanner$=this.showBanner.asObservable()}isCanShowCookieBanner(lt=!1){this.showBanner.next(lt)}setCookie(lt,pt,$e){return this.http.get(e.c.apiCookieBannerUrl+"?consent="+pt+"&user_slug="+lt+"&till="+$e,{withCredentials:!0})}initThumbmark(){const lt=new Je,pt=new Date,$e=pt.getFullYear();pt.setFullYear($e+1),(0,X.H)(lt.get()).pipe((0,on.s)(1)).subscribe(Be=>{this.cookie.set("tm",Be.thumbmark,{domain:`.${location.hostname}`,path:"/",secure:!0,sameSite:"None",expires:pt})})}}return(Se=Ne).\u0275fac=function(lt){return new(lt||Se)(On.KVO(He.Qq),On.KVO(Ft.O))},Se.\u0275prov=On.jDH({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Ne})()},6019:(ct,ce,a)=>{a.d(ce,{V:()=>O});var e=a(1110),d=a(4412),X=a(4871),x=a(7019);let O=(()=>{var V;class p{constructor(){this.components=[],this.croppedImageData=new d.t(null),this.cropPositionStore=[],this.croppedComponents=[],this.croppedImageData.subscribe(E=>{if(this.croppedComponents.forEach(s=>s.destroy()),this.croppedComponents=[],E?.imageData.imageData){const s=E.viewContainerRef.createComponent(X.i);s.location.nativeElement.style.display="none",this.croppedComponents.push(s);const I=E.imageData.imageData.split(/;base64,/)[1];s.instance.makeRequest("",I,!0),this.cropPositionStore.push(E.imageData)}})}open(E,s){this.reset();const I=E.createComponent(e.v);I.instance.component=I,I.instance.params=s}reset(){this.components.forEach(E=>E.destroy()),this.components=[]}drop(){this.croppedImageData.next(null),this.cropPositionStore=[],this.croppedComponents.forEach(E=>E.destroy())}}return(V=p).\u0275fac=function(E){return new(E||V)},V.\u0275prov=x.jDH({token:V,factory:V.\u0275fac,providedIn:"root"}),p})()},3587:(ct,ce,a)=>{a.d(ce,{z:()=>x});var e=a(7019),d=a(1180),X=a(177);let x=(()=>{var O;class V{constructor(){this.locate=(0,e.WQX)(X.aZ),this.locales=(0,e.WQX)(d.YZ),this.locale=(0,e.WQX)(e.xe9),this.variables={ru:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439",en:"English",es:"Espa\xf1ol"},this.selectors=this.locales.map($=>({lang:$,title:this.variables[$]}))}changeLang($){const E=location.pathname.split("/")[1];let s;if(this.locales.some(I=>I===E)){const I=location.pathname.split("/");I[1]="en"===$?"":$,s=I.join("/").replace("//","/")}else s="en"===$?location.pathname:`/${$+location.pathname}`;localStorage.setItem(d.kg,$),window.location.href=this.locate.normalize(location.origin+s+location.search)}setLocale(){const $=this.locale;this.currentLang=this.locales.some(E=>E===$)?$:"en"}}return(O=V).\u0275fac=function($){return new($||O)},O.\u0275prov=e.jDH({token:O,factory:O.\u0275fac,providedIn:"root"}),V})()},6069:(ct,ce,a)=>{a.d(ce,{h:()=>ae});var e=a(7019),d=a(177);function X(N,te){if(1&N){const ie=e.RV6();e.j41(0,"button",9),e.bIt("click",function(){e.eBV(ie);const Ee=e.XpG(3);return Ee.options.defaultAction.action(),e.Njj(Ee.resetDestroyTimer.emit())}),e.EFF(1),e.k0s()}if(2&N){const ie=e.XpG(3);e.R7$(1),e.SpI("",ie.options.defaultAction.text," ")}}function x(N,te){if(1&N&&(e.j41(0,"div",4),e.qSk(),e.j41(1,"svg",5),e.nrm(2,"path",6),e.k0s(),e.joV(),e.nrm(3,"div",7),e.DNE(4,X,2,1,"button",8),e.k0s()),2&N){const ie=e.XpG(2);e.R7$(3),e.Y8G("innerHtml",ie.text,e.npT),e.R7$(1),e.Y8G("ngIf",null==ie.options?null:ie.options.defaultAction)}}function O(N,te){if(1&N&&(e.j41(0,"div",4),e.qSk(),e.j41(1,"svg",5),e.nrm(2,"circle",10)(3,"line",11)(4,"line",12),e.k0s(),e.joV(),e.nrm(5,"div",7),e.k0s()),2&N){const ie=e.XpG(2);e.R7$(5),e.Y8G("innerHtml",ie.text,e.npT)}}function V(N,te){if(1&N&&(e.j41(0,"div",2),e.DNE(1,x,5,2,"div",3),e.DNE(2,O,6,1,"div",3),e.k0s()),2&N){const ie=e.XpG();e.Y8G("ngSwitch",ie.type),e.R7$(1),e.Y8G("ngSwitchCase","default"),e.R7$(1),e.Y8G("ngSwitchCase","error")}}function p(N,te){}let $=(()=>{var N;class te{constructor(){this.el=(0,e.WQX)(e.aKT),this.renderer=(0,e.WQX)(e.sFG),this.cd=(0,e.WQX)(e.gRc),this.unsubscribe=new e.bkB,this.text="",this.type="default",this.resetDestroyTimer=new e.bkB}ngOnInit(){this.renderer.appendChild(document.body,this.el.nativeElement)}setParams(re,Ee,Re){"string"==typeof re?this.text=re:this.template=re,this.type=Ee,this.el.nativeElement.children[0].style.backgroundColor="default"===Ee?"var(--n-600)":"var(--red-300)",this.options=Re,this.cd.markForCheck()}ngOnDestroy(){this.unsubscribe.emit()}}
17return(N=te).\u0275fac=function(re){return new(re||N)},N.\u0275cmp=e.VBU({type:N,selectors:[["app-popup-bar"]],standalone:!0,features:[e.aNF],decls:3,vars:3,consts:[[3,"ngSwitch",4,"ngIf"],[3,"ngIf","ngTemplateOutlet"],[3,"ngSwitch"],["style","display: flex; align-items: center; gap: 8px",4,"ngSwitchCase"],[2,"display","flex","align-items","center","gap","8px"],["width","18","height","18","viewBox","0 0 18 18","fill","none","xmlns","http://www.w3.org/2000/svg",2,"min-width","18px"],["fill-rule","evenodd","clip-rule","evenodd","d","M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9ZM18 9C18 13.9706 13.9706 18 9 18C4.02944 18 0 13.9706 0 9C0 4.02944 4.02944 0 9 0C13.9706 0 18 4.02944 18 9ZM13.887 5.84395C14.0618 5.62308 14.0303 5.29753 13.8166 5.11682C13.6029 4.9361 13.2879 4.96866 13.113 5.18953L7.74763 11.9666L4.86521 8.78087C4.67661 8.57243 4.36021 8.56145 4.1585 8.75637C3.9568 8.95128 3.94619 9.27826 4.13479 9.48671L7.0172 12.6724C7.43045 13.1291 8.13844 13.1049 8.52159 12.621L13.887 5.84395Z","fill","currentColor"],[3,"innerHtml"],["class","sky-btn-rect sky-btn-black",3,"click",4,"ngIf"],[1,"sky-btn-rect","sky-btn-black",3,"click"],["r","8.5","cy","9","cx","9","stroke","currentColor","stroke-width","1"],["x1","5","y1","5","x2","13","y2","13","stroke","currentColor","stroke-width","1","stroke-linecap","round"],["x1","5","y1","13","x2","13","y2","5","stroke","currentColor","stroke-width","1","stroke-linecap","round"]],template:function(re,Ee){1&re&&(e.j41(0,"div"),e.DNE(1,V,3,3,"div",0),e.DNE(2,p,0,0,"ng-template",1),e.k0s()),2&re&&(e.R7$(1),e.Y8G("ngIf",Ee.text),e.R7$(1),e.Y8G("ngIf",Ee.template)("ngTemplateOutlet",Ee.template))},dependencies:[d.bT,d.ux,d.e1,d.T3],styles:["[_nghost-%COMP%]{display:flex;justify-content:center;position:fixed;width:100%;z-index:1000;padding:0 30px}[_nghost-%COMP%] > div[_ngcontent-%COMP%]{display:flex;animation:.3s ease-out _ngcontent-%COMP%_show;transition:opacity .3s ease-out;border-radius:12px;color:var(--gray-000);padding:16px 24px;max-width:500px;word-break:break-word}[_nghost-%COMP%] > div[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:8px;align-self:center;word-break:normal}@media (min-width: 768px){[_nghost-%COMP%]{bottom:24px;font-size:14px;line-height:16px}}@media (max-width: 767.98px){[_nghost-%COMP%]{top:24px;font-size:12px;line-height:14px}}.closing[_nghost-%COMP%]{animation:.3s ease-in _ngcontent-%COMP%_closing;opacity:0}@keyframes _ngcontent-%COMP%_show{0%{opacity:0}to{opacity:1}}@keyframes _ngcontent-%COMP%_closing{0%{opacity:1}to{opacity:0}}"],changeDetection:0}),te})();var E=a(9969),s=a(1584),I=a(9079);let W=(()=>{var N;class te{transform(re,Ee){switch(Ee){case"number":case"string":case"object":case"function":return typeof re===Ee;case"array":return Array.isArray(re);case"templateRef":return re instanceof e.C4Q;default:return!1}}}return(N=te).\u0275fac=function(re){return new(re||N)},N.\u0275pipe=e.EJ8({name:"typeOf",type:N,pure:!0,standalone:!0}),te})();function G(N,te){if(1&N&&(e.j41(0,"div",6),e.qSk(),e.j41(1,"svg",7),e.nrm(2,"circle",8)(3,"line",9)(4,"line",10),e.k0s(),e.joV(),e.nrm(5,"div",11),e.k0s()),2&N){const ie=e.XpG(2);e.R7$(5),e.Y8G("innerHtml",ie.initialData.data,e.npT)}}function B(N,te){if(1&N){const ie=e.RV6();e.j41(0,"button",15),e.bIt("click",function(){e.eBV(ie);const Ee=e.XpG(3);return e.Njj(Ee.close())}),e.EFF(1),e.k0s()}if(2&N){const ie=e.XpG(3);e.R7$(1),e.SpI("",ie.initialData.defaultAction.text," ")}}function J(N,te){if(1&N&&(e.j41(0,"div",12),e.qSk(),e.j41(1,"svg",7),e.nrm(2,"path",13),e.k0s(),e.joV(),e.nrm(3,"div",11),e.DNE(4,B,2,1,"button",14),e.k0s()),2&N){const ie=e.XpG(2);e.R7$(3),e.Y8G("innerHtml",ie.initialData.data,e.npT),e.R7$(1),e.Y8G("ngIf",null==ie.initialData?null:ie.initialData.defaultAction)}}function z(N,te){if(1&N&&(e.j41(0,"div",3),e.DNE(1,G,6,1,"div",4),e.DNE(2,J,5,2,"div",5),e.k0s()),2&N){const ie=e.XpG();e.Y8G("ngSwitch",ie.initialData.messageType),e.R7$(1),e.Y8G("ngSwitchCase","error")}}function w(N,te){}function U(N,te){if(1&N&&e.DNE(0,w,0,0,"ng-template",16),2&N){const ie=e.XpG();e.Y8G("ngTemplateOutlet",ie.initialData.data)}}const Z=function(N){return{backgroundColor:N}};let H=(()=>{var N;class te{constructor(){this.popupBarService=(0,e.WQX)(ae),this.destroyRef=(0,e.WQX)(e.abz),this.hostAnimation=window.matchMedia("(min-width: 768px)").matches?"desktop":"mobile"}ngOnInit(){this.initialData=Object.assign({timeOut:1800,messageType:"default"},this.data??{}),(0,s.O)(this.initialData.timeOut).pipe((0,I.pQ)(this.destroyRef)).subscribe(()=>this.destroy())}close(){this.initialData.defaultAction&&this.initialData.defaultAction.action(),this.destroy()}destroy(){this.popupBarService.destroy()}}
17return(N=te).\u0275fac=function(re){return new(re||N)},N.\u0275cmp=e.VBU({type:N,selectors:[["app-popup-bar"]],hostVars:1,hostBindings:function(re,Ee){2&re&&e.zvX("@hostAnimation",Ee.hostAnimation)},standalone:!0,features:[e.aNF],decls:5,vars:11,consts:[[3,"ngStyle"],[3,"ngSwitch",4,"ngIf"],[4,"ngIf"],[3,"ngSwitch"],["class","error",4,"ngSwitchCase"],["class","default",4,"ngSwitchDefault"],[1,"error"],["width","18","height","18","viewBox","0 0 18 18","fill","none","xmlns","http://www.w3.org/2000/svg",2,"min-width","18px"],["r","8.5","cy","9","cx","9","stroke","currentColor","stroke-width","1"],["x1","5","y1","5","x2","13","y2","13","stroke","currentColor","stroke-width","1","stroke-linecap","round"],["x1","5","y1","13","x2","13","y2","5","stroke","currentColor","stroke-width","1","stroke-linecap","round"],[3,"innerHtml"],[1,"default"],["fill-rule","evenodd","clip-rule","evenodd","d","M17 9C17 13.4183 13.4183 17 9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9ZM18 9C18 13.9706 13.9706 18 9 18C4.02944 18 0 13.9706 0 9C0 4.02944 4.02944 0 9 0C13.9706 0 18 4.02944 18 9ZM13.887 5.84395C14.0618 5.62308 14.0303 5.29753 13.8166 5.11682C13.6029 4.9361 13.2879 4.96866 13.113 5.18953L7.74763 11.9666L4.86521 8.78087C4.67661 8.57243 4.36021 8.56145 4.1585 8.75637C3.9568 8.95128 3.94619 9.27826 4.13479 9.48671L7.0172 12.6724C7.43045 13.1291 8.13844 13.1049 8.52159 12.621L13.887 5.84395Z","fill","currentColor"],["class","sky-btn-rect sky-btn-black",3,"click",4,"ngIf"],[1,"sky-btn-rect","sky-btn-black",3,"click"],[3,"ngTemplateOutlet"]],template:function(re,Ee){1&re&&(e.j41(0,"div",0),e.DNE(1,z,3,2,"div",1),e.nI1(2,"typeOf"),e.DNE(3,U,1,1,null,2),e.nI1(4,"typeOf"),e.k0s()),2&re&&(e.Y8G("ngStyle",e.eq3(9,Z,"default"===Ee.initialData.messageType?"var(--n-600)":"var(--red-300)")),e.R7$(1),e.Y8G("ngIf",e.i5U(2,3,Ee.initialData.data,"string")),e.R7$(2),e.Y8G("ngIf",e.i5U(4,6,Ee.initialData.data,"templateRef")))},dependencies:[d.bT,d.ux,d.e1,d.T3,d.fG,d.B3,W],styles:["[_nghost-%COMP%]{display:flex;justify-content:center;position:fixed;width:100%;z-index:1000;padding:0 30px}[_nghost-%COMP%] > div[_ngcontent-%COMP%]{display:flex;border-radius:12px;color:var(--gray-000);padding:16px 24px;max-width:500px;word-break:break-word}[_nghost-%COMP%] > div[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:8px;align-self:center;word-break:normal}[_nghost-%COMP%]   .error[_ngcontent-%COMP%], [_nghost-%COMP%]   .default[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}[_nghost-%COMP%]   .error[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%], [_nghost-%COMP%]   .default[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%]{max-width:18px}@media (min-width: 768px){[_nghost-%COMP%]{bottom:24px;font-size:14px;line-height:16px}}@media (max-width: 767.98px){[_nghost-%COMP%]{top:24px;font-size:12px;line-height:14px}}"],data:{animation:[(0,E.hZ)("hostAnimation",[(0,E.kY)("void => desktop",[(0,E.iF)({opacity:0,transform:"translateY(100%)"}),(0,E.i0)("200ms ease-out",(0,E.iF)({opacity:1,transform:"translateY(0)"}))]),(0,E.kY)("void => mobile",[(0,E.iF)({opacity:0,transform:"translateY(-100%)"}),(0,E.i0)("200ms ease-out",(0,E.iF)({opacity:1,transform:"translateY(0)"}))]),(0,E.kY)(":leave",[(0,E.i0)("200ms ease-in",(0,E.iF)({opacity:0}))])])]},changeDetection:0}),te})();var j=a(174),F=a(6977),ue=a(6697);let ae=(()=>{var N;class te{constructor(){this.translate=(0,e.WQX)(j.D),this.platformId=(0,e.WQX)(e.Agw),this.components=[],this.popups=[],this.timer=0}show(re,Ee,Re=1800,Mt="default",wt){if((0,d.UE)(this.platformId)){this.reset();const At=re.createComponent($);At.instance.setParams(Ee,Mt,wt),At.instance.resetDestroyTimer.pipe((0,F.Q)(At.instance.unsubscribe),(0,ue.s)(1)).subscribe(()=>{window.clearTimeout(this.timer),this.reset()}),this.components.push(At),this.timer=window.setTimeout(()=>this.reset(),Re)}}showGlobalError(re,Ee=1800){this.show(re,this.translate.transform("errors.global.serverError"),Ee,"error")}reset(){(0,d.UE)(this.platformId)&&(this.components.forEach(re=>{re.location.nativeElement.classList.add("closing"),window.setTimeout(()=>re.destroy(),300)}),this.components=[],window.clearTimeout(this.timer))}showPopup(re){this.clear();const Ee=this.viewContainerRef.createComponent(H);Ee.instance.data=re,this.popups.push(Ee)}showGlobalErrorPopup(re=1800){this.showPopup({messageType:"error",data:this.translate.transform("errors.global.serverError"),timeOut:re})}destroy(){this.clear()}clear(){this.popups.forEach(re=>{if(re){const Ee=this.viewContainerRef.indexOf(re.hostView);Ee>=0&&this.viewContainerRef.remove(Ee)}}),this.popups=[]}}
17return(N=te).\u0275fac=function(re){return new(re||N)},N.\u0275prov=e.jDH({token:N,factory:N.\u0275fac,providedIn:"root"}),te})()},7985:(ct,ce,a)=>{a.d(ce,{I:()=>E});var e=a(4412),d=a(5312),X=a(5697),x=a(8141),O=a(7019),V=a(1626),p=a(8181),$=a(3432);let E=(()=>{var s;class I{constructor(G,B,J){this.httpClient=G,this.modelsListService=B,this.sharedModelsDataService=J,this.imageBase64=new e.t(null),this.imageData=new e.t(""),this.imageDTO=[]}getNearest(G,B){return this.httpClient.post(d.c.apiImagesSearch+X.q1.nearest,{url:G||null,base64_img:B,es_index:"images-search",n_images:100}).pipe((0,x.M)(J=>this.imageDTO=J.search_result??[]))}setImageData(G,B){let J="";const z=new Uint8Array(G),w=z.byteLength;for(let U=0;U<w;U++)J+=String.fromCharCode(z[U]);this.imageData.next(`data:${B};base64, ${this.getBtoa(G)}`)}getBtoa(G){let B="";const J=new Uint8Array(G),z=J.byteLength;for(let w=0;w<z;w++)B+=String.fromCharCode(J[w]);return window.btoa(B)}dropImageAndReloadCatalog(){this.imageData.next(null),this.imageBase64.next(null),this.modelsListService.enableSearchByImage=!1,this.modelsListService.modelSlugs=[],this.sharedModelsDataService.setModelsJSON({search_image:null}),this.modelsListService.clearFilters(!0)}dropImage(){this.imageData.next(null),this.imageBase64.next(null),this.modelsListService.enableSearchByImage=!1,this.modelsListService.modelSlugs=[],this.sharedModelsDataService.setModelsJSON({search_image:null})}}return(s=I).\u0275fac=function(G){return new(G||s)(O.KVO(V.Qq),O.KVO(p.cO),O.KVO($.n))},s.\u0275prov=O.jDH({token:s,factory:s.\u0275fac,providedIn:"root"}),I})()},5116:(ct,ce,a)=>{a.d(ce,{e:()=>s});var e=a(7019),d=a(8810),X=a(1594),x=a(6697),O=a(9437),V=a(6977),p=a(8207),$=a(430),E=a(177);let s=(()=>{var I;class W{constructor(){this.router=(0,e.WQX)($.Ix),this.baseUrl=(0,e.WQX)(E.kB),this.platformId=(0,e.WQX)(e.Agw)}takeOne(B,J,z=new p.I,w=!0){z.isLoading=!0,B.pipe((0,X.$)()).subscribe({next:U=>{J(U),z.isLoading=!1},error:U=>{z.isLoading=!1,404===U.status&&!w&&this.router.navigate(["/404"],{skipLocationChange:!0}).then()}})}requestBySignal(B){B.extras?.loading?.set(!0),B.req.pipe((0,x.s)(1),(0,O.W)(J=>B.err?B.err(J):(0,d.$)(()=>J))).subscribe({next:J=>{B.success&&B.success(J),B.extras?.loading?.set(!1)},error:J=>{B.extras?.loading?.set(!1),404===J.status&&!B.extras?.skipNotFound&&(0,E.UE)(this.platformId)&&(location.href=`${this.baseUrl}404`),404===J.status&&!B.extras?.skipNotFound&&(0,E.Vy)(this.platformId)}})}subjectSubscribe(B,J,z){B.pipe((0,V.Q)(z)).subscribe({next:J})}}return(I=W).\u0275fac=function(B){return new(B||I)},I.\u0275prov=e.jDH({token:I,factory:I.\u0275fac,providedIn:"root"}),W})()},8664:(ct,ce,a)=>{a.d(ce,{q:()=>O});var e=a(7019),d=a(430),X=a(5979),x=a(710);const O=()=>{const V=(0,e.WQX)(X.o),p=(0,e.WQX)(d.Ix);return!!V.authorizedSource.getValue()||p.navigate([x.iw.authLogin],{queryParams:{referer_url:location.pathname}}).then(()=>!1)}},8513:(ct,ce,a)=>{a.d(ce,{V:()=>j});var e=a(7019),d=a(5695),X=a(1413),x=a(1985),O=a(4412),V=a(8810),p=a(6977),$=a(9437),E=a(1594),s=a(5116),I=a(8830),W=a(1180),G=a(710),B=a(8202),J=a(2415),z=a(174),w=a(2128),U=a(5979),Z=a(6069);let H=(()=>{var F;class ue{constructor(N,te,ie,re,Ee,Re){this.subscribeHandlerService=N,this.backdropComponentService=te,this.sharedGlobalDataService=ie,this.viewContainerRef=re,this.popupBarService=Ee,this.uUserService=Re}newsletterSubscription(N){const te=this.sharedGlobalDataService.userDataSource.value.user?.slug;this.subscribeHandlerService.takeOne(this.uUserService.setUserEmailNotification(N).pipe((0,$.W)(ie=>(this.popupBarService.showGlobalError(this.viewContainerRef),this.backdropComponentService.hideAndDestroyService(),(0,V.$)(()=>ie)))),()=>{this.backdropComponentService.hideAndDestroyService(),this.uUserService.userDataInLocalStorage(te,!1)})}}return(F=ue).\u0275fac=function(N){return new(N||F)(e.rXU(s.e),e.rXU(w.v),e.rXU(U.o),e.rXU(e.c1b),e.rXU(Z.h),e.rXU(d.D))},F.\u0275cmp=e.VBU({type:F,selectors:[["app-newsletter-subscription-popup"]],standalone:!0,features:[e.aNF],decls:51,vars:12,consts:[[1,"newsletter-subscription-button"],[3,"buttonClick"],["width","154","height","145","viewBox","0 0 154 145","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_27488_18176)"],["d","M66.674 71.2996C65.5172 73.5659 62.5312 78.811 61.3744 81.0773L67.4972 91.0372C67.4972 91.2462 72.4901 80.7398 72.4901 80.7398C70.5532 77.5948 68.6163 74.4445 66.6794 71.2996H66.674Z","fill","#C2E7FF"],["d","M74.7901 101.817C74.6018 102.214 101.03 119.46 111.349 126.173C113.566 127.615 116.54
171 126.945 117.913 124.689C124.386 114.06 141.124 86.5266 140.903 86.3605C140.64 86.1622 131.638 97.4562 114.583 119.551C88.0579 107.47 75.0214 101.33 74.7901 101.812V101.817Z","fill","#C2E7FF"],["d","M48.7114 52.457L68.6455 27.3028L128.383 8.31519L54.8826 15.7784L48.7114 52.457Z","fill","#C2E7FF"],["d","M35.017 0.760973C65.6417 3.20943 97.7676 5.86683 128.387 8.31529C104.385 10.8763 78.8827 13.2229 54.8811 15.7785C48.2579 10.7691 41.6348 5.76504 35.0116 0.755615L35.017 0.760973Z","stroke","#0881CC","stroke-width","1.52291","stroke-linejoin","round"],["d","M68.6448 27.3023C88.2614 21.1356 108.771 14.476 128.382 8.30933C116.46 23.2465 103.649 38.6766 91.7263 53.6084C84.0325 44.8379 76.3386 36.0674 68.6394 27.2969L68.6448 27.3023Z","stroke","#0881CC","stroke-width","1.52291","stroke-linejoin","round"],["d","M54.7821 16.084C52.8614 27.8869 50.6285 40.6543 48.7078 52.4572C55.0888 44.4153 62.2608 35.3448 68.6418 27.3083","stroke","#0881CC","stroke-width","1.52291","stroke-linejoin","round"],["d","M48.7114 52.4569L80.2347 40.5146","stroke","#0881CC","stroke-width","1.52291","stroke-miterlimit","10"],["d","M139.047 84.2359L76.3604 100.066C74.6149 100.507 73.5588 102.273 74.0014 104.011L83.6244 141.798C84.067 143.536 85.8408 144.587 87.5863 144.147L150.273 128.316C152.019 127.876 153.075 126.109 152.632 124.371L143.009 86.5849C142.567 84.8468 140.793 83.7951 139.047 84.2359Z","stroke","#0881CC","stroke-width","1.52291","stroke-linejoin","round"],["d","M83.9211 142.241L104.495 115.388","stroke","#0881CC","stroke-width","1.52291","stroke-linejoin","round"],["d","M122.003 110.69L152.81 125.782","stroke","#0881CC","stroke-width","1.52291","stroke-linejoin","round"],["d","M74.3295 101.603L112.341 119.294C113.627 119.862 115.155 119.481 116.022 118.383L142.003 84.9351","stroke","#0881CC","stroke-width","1.52291","stroke-linejoin","round"],["d","M69.7617 122.24C71.3008 121.721 72.8237 121.158 74.3305 120.553","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M61.9801 124.443C63.4923 124.1 64.9936 123.709 66.4789 123.275","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M52.5487 125.862C54.5502 125.718 56.5409 125.471 58.5155 125.134","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M45.0165 125.873C46.534 125.981 48.0515 126.024 49.5691 125.997","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M37.1921 124.641C38.7689 125.032 40.3671 125.338 41.9761 125.557","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M16.4518 109.083C20.1911 115.967 26.4592 121.518 34.0723 123.725","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M13.7689 102.509C14.0972 103.65 14.4846 104.769 14.9313 105.868","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M12.5789 95.4954C12.6488 96.7276 12.7887 97.9599 12.9986 99.1761","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M12.8981 89.1465C12.7474 90.1109 12.6451 91.086 12.5859 92.0611","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M7.82444 51.7708C3.08438 57.2088 -0.0792416 65.0524 1.82539 72.2638C3.93985 80.2628 11.9296 84.4472 19.688 85.2455C27.2797 86.0331 37.6368 84.3775 42.5651 77.9376C45.1531 74.5623 45.3575 69.8636 41.5375 67.2651C38.5299 65.2185 34.414 65.6578 31.1051 66.6276C22.1899 69.2421 16.0563 77.3376 13.619 85.9795","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M13.1218 46.8418C12.2392 47.5008 11.389 48.208 10.5764 48.9474","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M19.6167 42.7864C18.4113 43.4079 17.2381 44.0829 16.0919 44.8062","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M27.6023 39.4055C26.0094 39.9413 24.4435 40.5521 22.9044 41.2218","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M37.3976 36.8821C35.5683 37.2196 33.7498 37.6214 31.9474 38.0983","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M46.6267 35.7893C44.6737 35.8911 42.7206 36.0786 40.7837 36.3411","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M49.1147 105.627C53.4943 9
176.9903 43.4062 92.8756 39.414 100.816C35.4218 108.756 45.37 113.026 49.1147 105.627Z","stroke","#0881CC","stroke-width","1.52291","stroke-linejoin","round"],["d","M53.2632 102.252C47.6085 105.032 46.6401 110.363 49.2118 111.794C52.0096 113.347 57.1855 111.119 59.0094 106.018C60.7741 101.084 57.5621 91.0648 47.3664 90.5023C40.5872 90.1326 31.9626 95.1956 32.5813 105.97C33.7757 126.656 60.914 123.002 72.783 116.107","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M65.7055 71.787L61.5519 79.6146C61.0623 80.5361 61.1054 81.6452 61.6595 82.5292L66.3888 90.0246C66.9484 90.9086 67.933 91.4283 68.9768 91.3854L77.8597 91.0532C78.9034 91.0157 79.8504 90.421 80.34 89.4995L84.4936 81.6719C84.9832 80.7504 84.9402 79.6414 84.386 78.7574L79.6567 71.262C79.0971 70.378 78.1125 69.8583 77.0688 69.9011L68.1859 70.2333C67.1421 70.2708 66.1951 70.8655 65.7055 71.787Z","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M67.0913 70.8872L72.1327 79.2184C72.6922 80.1024 73.6768 80.6221 74.7206 80.5792L84.5451 80.1828","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M79.2461 90.4853L73.9303 82.0684C73.3708 81.1844 72.3862 80.6647 71.3424 80.7075L61.3727 81.0826","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["d","M67.4885 91.0372C68.5756 88.7013 71.2877 83.7722 72.3748 81.4363","stroke","#0881CC","stroke-width","1.52291","stroke-linecap","round","stroke-linejoin","round"],["id","clip0_27488_18176"],["width","153","height","145","fill","white","transform","translate(0.5)"],[1,"newsletter-subscription-body"],[3,"innerHTML"],[1,"newsletter-buttons"],[3,"click"]],template:function(N,te){1&N&&(e.j41(0,"div",0)(1,"app-close-button",1),e.bIt("buttonClick",function(){return te.newsletterSubscription(!1)}),e.k0s()(),e.qSk(),e.j41(2,"svg",2)(3,"g",3),e.nrm(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7)(8,"path",8)(9,"path",9)(10,"path",10)(11,"path",11)(12,"path",12)(13,"path",13)(14,"path",14)(15,"path",15)(16,"path",16)(17,"path",17)(18,"path",18)(19,"path",19)(20,"path",20)(21,"path",21)(22,"path",22)(23,"path",23)(24,"path",24)(25,"path",25)(26,"path",26)(27,"path",27)(28,"path",28)(29,"path",29)(30,"path",30)(31,"path",31)(32,"path",32)(33,"path",33)(34,"path",34)(35,"path",35),e.k0s(),e.j41(36,"defs")(37,"clipPath",36),e.nrm(38,"rect",37),e.k0s()()(),e.joV(),e.j41(39,"div",38),e.nrm(40,"h2",39),e.nI1(41,"translate"),e.j41(42,"div",40)(43,"button",41),e.bIt("click",function(){return te.newsletterSubscription(!1)}),e.EFF(44),e.nI1(45,"translate"),e.k0s(),e.j41(46,"button",41),e.bIt("click",function(){return te.newsletterSubscription(!0)}),e.EFF(47),e.nI1(48,"translate"),e.k0s()(),e.nrm(49,"p",39),e.nI1(50,"translate"),e.k0s()),2&N&&(e.R7$(40),e.Y8G("innerHTML",e.bMT(41,4,"users.newsletter-subscription.title"),e.npT),e.R7$(4),e.SpI(" ",e.bMT(45,6,"users.newsletter-subscription.not-now")," "),e.R7$(3),e.SpI(" ",e.bMT(48,8,"users.newsletter-subscription.subscribe")," "),e.R7$(2),e.Y8G("innerHTML",e.bMT(50,10,"users.newsletter-subscription.info"),e.npT))},dependencies:[J.o,z.D],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;margin-top:auto;margin-bottom:auto;gap:48px;padding:48px 32px;background:var(--gray-0, #FFF);width:564px;border-radius:16px;box-shadow:0 0 16px #6c92a966}@media (max-width: 767.98px){[_nghost-%COMP%]{min-width:100vw;border-radius:16px 16px 0 0;margin-bottom:0}}[_nghost-%COMP%]   .newsletter-subscription-button[_ngcontent-%COMP%]{position:absolute;padding:0;margin-top:0;display:flex;align-items:center;justify-content:center;width:44px;height:44px;top:8px;right:8px}[_nghost-%COMP%]   .newsletter-subscription-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:32px}[_nghost-%COMP%]   .newsletter-subscription-body[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:var(--gray-120, var(--gray-120, #000));text-align:center;font-size:24px;font-weight:700;line-height:130%;margin:0}[_nghost-%COMP%]   .newsletter-subscription-body[_ngcontent-%COMP%]   .newsletter-buttons[_ngcontent-%COMP%]{display:flex;align-items:center;gap:24px}[_nghost-%COMP%]   .newsletter-subscription-body[_ngcontent-%COMP%]   .newsletter-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:12px 16px;font-size:16px;font-weight:500;line-height:20px;border-radius:var(--4-angle, 8px);border:none}[_nghost-%COMP%]   .newsletter-subscription-body[_ngcontent-%COMP%]   .newsletter-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:first-child{background:var(--gray-200, #F7F6F5);color:var(--blue-500, #026CAD)}@media (hover: hover) and (pointer: fine){[_nghost-%COMP%]   .newsletter-subscription-body[_ngcontent-%COMP%]   .newsletter-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:first-child:hover{background:var(--blue-100, #E3F4FC)}}[_nghost-%COMP%]   .newsletter-subscription-body[_ngcontent-%COMP%]   .newsletter-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:first-child:active{background:var(--blue-200, #C2E7FF);color:var(--blue-700, #004879)}[_nghost-%COMP%]   .newsletter-subscription-body[_ngcontent-%COMP%]   .newsletter-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:last-child{background:var(--blue-400, #0881CC);color:var(--gray-000, #FFF)}@media (hover: hover) and (pointer: fine){[_nghost-%COMP%]   .newsletter-subscription-body[_ngcontent-%COMP%]   .newsletter-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:last-child:hover{background:var(--blue-500, #026CAD)}}[_nghost-%COMP%]   .newsletter-subscription-body[_ngcontent-%COMP%]   .newsletter-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:last-child:active{background:var(--blue-600, #00578D)}[_nghost-%COMP%]   .newsletter-subscription-body[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--gray-700, #92908C);text-align:center;font-size:14px;line-height:16px;margin:0}"]}),ue})(),j=(()=>{var F;class ue{constructor(){this.userService=(0,e.WQX)(d.D),this.subscribeHandlerService=(0,e.WQX)(s.e),this.cartService=(0,e.WQX)(I.mx),this.authService=(0,e.WQX)(B.u),this.backdropComponentService=(0,e.WQX)(w.v),this.imageBaseUrl=(0,e.WQX)(W.sT),this.sky=(0,e.WQX)(W.ef),this.runApp=new X.B,this.init$=(new x.c).pipe((0,p.Q)(this.runApp)),this.showError=ne
17w O.t(null)}clearGoogleAuthQueryParams(){const N=window.location.pathname+window.location.hash;window.history.replaceState({},"",N)}init(){this.cartService.checkLocaleModels();const N=new URLSearchParams(window.location.search),te=window.location.search&&N.get("state")?.includes(W.hS);if(te&&N.get("error")&&this.clearGoogleAuthQueryParams(),te){let ie=N.get("state");return ie=decodeURIComponent(ie.replace(W.hS,"")),void this.subscribeHandlerService.takeOne(this.authService.googleAuth(N).pipe((0,$.W)(re=>{this.clearGoogleAuthQueryParams();try{this.authService.cleanAuthData(!0,!1)}catch{}return this.showError.next(re),this.userService.getUser().subscribe({next:Ee=>{this.userService.userUpdate(Ee),this.cartServiceMergeAndUpdate(Ee.data),this.runApp.next()},error:Ee=>this.errorHandler(Ee)}),(0,V.$)(()=>re)})),re=>{if(re.data.token&&re.data.refresh_token){const Ee=re.data;localStorage.setItem("skyAuthToken",Ee.token),localStorage.setItem("skyRefreshToken",Ee.refresh_token),this.authService.authGlobal(Ee.token).pipe((0,E.$)()).subscribe({next:()=>{this.userService.getUser().subscribe({next:Re=>{this.userService.userUpdate(Re),this.cartServiceMergeAndUpdate(Re.data),Ee.isRegister&&this.userService.userDataInLocalStorage(Re.data.user?.slug,!0),window.location.href=ie},error:Re=>{this.errorHandler(Re)}})},error:Re=>{this.errorHandler(Re)}})}else this.runApp.next()})}this.userService.getUser().subscribe({next:ie=>{this.userService.userUpdate(ie),this.cartServiceMergeAndUpdate(ie.data),this.runApp.next()},error:ie=>this.errorHandler(ie)})}showPopupForNewsletter(N){const te=N.createComponent(H);this.backdropComponentService.createBackdropComponent(N,{inZIndex:700,screenStop:!0,closeOnBackgroundClick:!1,insertBackdropStyles:{display:"flex",alignItems:"start",justifyContent:"center",overflow:"auto"}},te)}cartServiceMergeAndUpdate(N){N.user&&!location.pathname.match(new RegExp(`^/${G.iw.authLogout}`))&&this.subscribeHandlerService.takeOne(this.cartService.mergeAndUpdate(this.cartService.modelsInCart.value),()=>{})}errorHandler(N){this.imageBaseUrl.urls=this.sky?["https://b5.3dsky.org"]:["https://b5.3ddd.ru"],this.showError.next(N),this.runApp.next()}}return(F=ue).\u0275fac=function(N){return new(N||F)},F.\u0275prov=e.jDH({token:F,factory:F.\u0275fac,providedIn:"root"}),ue})()},480:(ct,ce,a)=>{a.d(ce,{cM:()=>U,kK:()=>ue,sF:()=>Z});var e=a(7019),d=a(1626),X=a(4412),x=a(983),O=a(1584),V=a(8810),p=a(8202),$=a(2498),E=a(9437),s=a(5558),I=a(5964),W=a(6697),G=a(430),B=a(5979),J=a(710),z=a(8513),w=a(5697);const U=new d.rx(()=>!1),Z=new d.rx(()=>!1);let H=!1;const j=new X.t(null);function F(ae,N){return ae.clone({headers:ae.headers.set("Authorization","Bearer "+N)})}const ue=(ae,N)=>{const te=(0,e.WQX)(p.u),ie=(0,e.WQX)(G.Ix),re=(0,e.WQX)(B.o),Ee=(0,e.WQX)(z.V);function Re(){ie.navigate([]).then(()=>H=!1)}if("GET"===ae.method&&(ae=ae.clone({headers:ae.headers.set("Cache-Control","no-cache").set("Pragma","no-cache").set("Content-Type","application/json")})),ae.context.get(Z)&&(ae=ae.clone({withCredentials:!0})),ae.context.get(U)){const wt=localStorage.getItem("skyAuthToken");wt&&(ae=ae.clone({headers:ae.headers.set("Authorization","Bearer "+wt)}))}return N(ae).pipe((0,E.W)(wt=>wt instanceof d.yz&&401===wt?.status&&("ERROR"===wt?.error?.message||"user_is_not_enabled"===wt?.error?.message)&&location.pathname!==`/${J.iw.authLogin}`?(te.cleanAuthData(),ie.navigate(["/"],{onSameUrlNavigation:"reload"}).then(),x.w):wt instanceof d.yz&&401===wt.status&&!ae.url.includes(w.KR.login)?function Mt(wt){const At=re.userDataSource.value;if(!H){H=!0,j.next(null);const Et=localStorage.getItem("skyRefreshToken");return Et?te.refreshToken({refresh_token:Et}).pipe((0,$.L)({count:2,delay:(It,bt)=>"bad_credentials"===It.message?(te.cleanAuthData(),j.complete(),Re(),x.w):bt<2?(0,O.O)(2e3):(0,V.$)(()=>It)}),(0,E.W)(It=>(Ee.showError.next(It),x.w)),(0,s.n)(It=>(localStorage.setItem("skyAuthToken",It.data.token),localStorage.setItem("skyRefreshToken",It.data.refresh_token),j.next(It.data.token),H=!1,N(F(wt,It.data.token))))):(At?(te.cleanAuthData(),ie.navigate(["/"+J.iw.authLogin]).then(()=>{H=!1})):Re(),x.w)}return j.pipe((0,I.p)(Et=>null!==Et),(0,W.s)(1),(0,s.n)(Et=>N(F(wt,Et))))}(ae):(0,V.$)(()=>wt)))}},243:(ct,ce,a)=>{a.d(ce,{i:()=>x});var e=a(7019);const d="model_attr:";let x=(()=>{var O;class V{write($,E){if($)try{localStorage.setItem(d+$,JSON.stringify({...E,ts:Date.now()}))}catch{}}readAndClear($){const E=d+$;let s=null;try{s=localStorage.getItem(E),null!==s&&localStorage.removeItem(E)}catch{return null}if(!s)return null;try{const I=JSON.parse(s);if(Date.now()-I.ts>3e4)return null;const{ts:W,...G}=I;return G}catch{return null}}}return(O=V).\u0275fac=function($){return new($||O)},O.\u0275prov=e.jDH({token:O,factory:O.\u0275fac,providedIn:"root"}),V})()},8526:(ct,ce,a)=>{a.d(ce,{T:()=>E});var e=a(7019),d=a(647),X=a(5697),x=a(710),O=a(1180),V=a(177),p=a(345),$=a(174);let E=(()=>{var s;class I{constructor(G,B,J,z,w,U,Z,H,j){this.seoTitle=G,this.meta=B,this.translate=J,this.locate=z,this.sky=w,this.imageBaseUrl=U,this.locale=Z,this.baseHref=H,this.locales=j,this.defaultTitle=this.sky?"3dsky":"3ddd",this.title=this.translate.transform("head.default.title",[{"@@domain":this.sky?"3dsky":"3ddd"}]),this.defaultDescription=this.translate.transform("head.default.description"),this.defaultLogoUrl=`${location.origin}/ng-assets/images/site-logo-icons/${this.sky?"sky":"3ddd"}.jpg`,this.noImageUrl=`${location.origin}/${d.JW.images}no-image.svg`,this.metaDefs=[]}setMetaTags(G,B,J){this.seoTitle.setTitle(G),this.meta.updateTag({property:"og:title",content:G}),this.meta.updateTag({name:"twitter:title",content:G}),B&&(this.meta.updateTag({name:"description",content:B}),this.meta.updateTag({name:"twitter:description",content:B}),this.meta.updateTag({property:"og:description",content:B})),J&&J.forEach(z=>{this.meta.updateTag(z),this.metaDefs.push(z)})}setSchema(G){this.schema?this.schema.innerText=JSON.stringify(G):(this.schema=document.createElement("script"),this.schema.type="application/ld+json",this.schema.innerText=JSON.stringify(G),document.head.insertAdjacentElement("beforeend",this.schema))}
17resetMetaTags(){this.metaDefs.forEach(G=>{this.meta.removeTag(G.name?`name="${G.name}"`:`property="${G.property}"`)}),this.metaDefs=[],this.seoTitle.setTitle(this.title),document.documentElement.setAttribute("lang",this.locale),this.meta.updateTag({name:"twitter:title",content:this.title}),this.meta.updateTag({name:"twitter:description",content:this.defaultDescription}),this.meta.updateTag({name:"twitter:card",content:"summary_large_image"}),this.meta.updateTag({name:"twitter:image",content:this.defaultLogoUrl}),this.meta.updateTag({property:"og:type",content:"website"}),this.meta.updateTag({property:"og:title",content:this.title}),this.meta.updateTag({property:"og:description",content:this.defaultDescription}),this.meta.updateTag({property:"og:url",content:location.origin}),this.meta.updateTag({property:"og:image",content:this.defaultLogoUrl}),this.meta.updateTag({name:"description",content:this.defaultDescription}),this.meta.removeTag("name=robots"),this.setSchema({"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":`${location.origin+this.baseHref}#website`,url:this.locate.normalize(location.origin+this.baseHref),name:this.defaultTitle,alternateName:location.hostname,inLanguage:`${this.locale}-${this.locale.toUpperCase()}`,description:this.defaultDescription,potentialAction:{"@type":"SearchAction",target:`${location.origin+this.baseHref+x.iw.models}?query={query}`,query:"required"}},{"@type":"Organization","@id":`${location.origin+this.baseHref}#organization`,name:this.sky?"3dsky":"3ddd",url:this.locate.normalize(location.origin+this.baseHref),logo:`${location.origin}/ng-assets/images/site-logo-icons/${this.sky?"3dsky":"3ddd"}-512.png`,sameAs:[this.sky?"https://www.instagram.com/3dsky_org":"https://vk.com/3ddd_ru",this.sky?"https://www.facebook.com/www.3dsky.org":"https://t.me/official_3ddd"]}]})}updateCanonical(G){document.querySelector('link[rel="canonical"]').setAttribute("href",this.locate.normalize(G))}handleSchemaModels(G){const B=this.sky?X.oT.modelPopupEn:X.oT.modelPopup;return[...G].map((J,z)=>{const w="pro"===J.model_type.toLowerCase()?this.sky?J.price_usd:J.price:0;let U=this.noImageUrl;return Array.isArray(J.images)&&J.images.length&&(U=this.imageBaseUrl.baseUrl+B+J.images[0].web_path),{"@type":"ListItem",position:z+1,item:{"@type":"Product",url:location.origin+"/"+x.iw.modelShow+"/"+J.slug,name:this.sky?J.title_en:J.title,image:U,offers:{"@type":"Offer",price:w,priceCurrency:this.sky?"USD":"RUB",availability:"https://schema.org/OnlineOnly"}}}})}handleSchemaGalleries(G,B=null){return[...G].map((J,z)=>({"@type":"ListItem",position:z+1,item:{"@type":"VisualArtwork",name:J.title,artform:"3D Art",url:location.origin+this.baseHref+x.iw.galleryShow+"/"+J.slug,image:this.imageBaseUrl.baseUrl+X.oT.galleryBigAng+J.image,description:J.description,datePublished:J.created_at?.split(" ")[0],award:B&&0===z?B:""}}))}update(G){this.sky&&(this.locales.forEach(B=>{"en"===B||document.querySelector(`link[hreflang="${B}"]`)?.setAttribute("href",this.locate.normalize(location.origin+`/${B}`+G))}),document.querySelector('link[hreflang="x-default"]')?.setAttribute("href",this.locate.normalize(location.origin+G)),document.querySelector('link[hreflang="en"]')?.setAttribute("href",this.locate.normalize(location.origin+G))),this.updateCanonical(location.origin+location.pathname)}}return(s=I).\u0275fac=function(G){return new(G||s)(e.KVO(p.hE),e.KVO(p.W8),e.KVO($.D),e.KVO(V.aZ),e.KVO(O.ef),e.KVO(O.sT),e.KVO(e.xe9),e.KVO(V.kB),e.KVO(O.YZ))},s.\u0275prov=e.jDH({token:s,factory:s.\u0275fac,providedIn:"root"}),I})()},7191:(ct,ce,a)=>{a.d(ce,{p:()=>x});var e=a(7019),d=a(177),X=a(1180);let x=(()=>{var O;class V{constructor(){this.currencyPipe=(0,e.WQX)(d.oe),this.sky=(0,e.WQX)(X.ef)}transform($,E,s,I,W,G){if("string"==typeof $||"number"==typeof $){E=E?E.toUpperCase():this.sky?"USD":"RUB",I||(I="symbol-narrow"),W||(W="1.0-2");let B=this.currencyPipe.transform($,E,I,W,G).replace(new RegExp(",","g"),".");if(s){const J=B.replace(new RegExp("[.\\d\\s]","g"),"");B=B.replace(J,`<span class="currency">${J}</span>`)}return B}return""}}return(O=V).\u0275fac=function($){return new($||O)},O.\u0275pipe=e.EJ8({name:"currencySky",type:O,pure:!0,standalone:!0}),V})()},6537:(ct,ce,a)=>{a.d(ce,{U:()=>X});var e=a(7019),d=a(1180);let X=(()=>{var x;class O{constructor(){this.imageBaseUrl=(0,e.WQX)(d.sT)}transform(p){const $=p.match(/^\//)?"":"/";return this.imageBaseUrl.baseUrl+$+p}}return(x=O).\u0275fac=function(p){return new(p||x)},x.\u0275pipe=e.EJ8({name:"imageBaseUrl",type:x,pure:!0,standalone:!0}),O})()},5349:(ct,ce,a)=>{a.d(ce,{L:()=>X});var e=a(7019),d=a(1180);let X=(()=>{var x;class O{constructor(){this.sky=(0,e.WQX)(d.ef),this.locale=(0,e.WQX)(e.xe9)}transform(p,$){switch(this.locale){case"ru":return p;case"en":return $;default:return this.sky?$:p}}}return(x=O).\u0275fac=function(p){return new(p||x)},x.\u0275pipe=e.EJ8({name:"langConverter",type:x,pure:!0,standalone:!0}),O})()},7719:(ct,ce,a)=>{a.d(ce,{$:()=>X});var e=a(7019),d=a(345);let X=(()=>{var x;class O{constructor(){this.domSanitizer=(0,e.WQX)(d.up)}transform(p){return this.domSanitizer.bypassSecurityTrustHtml(p=p??"")}}return(x=O).\u0275fac=function(p){return new(p||x)},x.\u0275pipe=e.EJ8({name:"safeHtml",type:x,pure:!0,standalone:!0}),O})()},685:(ct,ce,a)=>{a.d(ce,{d:()=>X});var e=a(7019),d=a(345);let X=(()=>{var x;class O{constructor(){this.domSanitizer=(0,e.WQX)(d.up)}transform(p){return this.domSanitizer.sanitize(e.WPN.URL,p)}}return(x=O).\u0275fac=function(p){return new(p||x)},x.\u0275pipe=e.EJ8({name:"safeUrl",type:x,pure:!0,standalone:!0}),O})()},174:(ct,ce,a)=>{a.d(ce,{D:()=>te});var e=a(7019);const d=JSON.parse('{"global":{"viewedModelsTitle":{"ru":"\u0412\u044b \u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438","en":"Recently viewed 3D models","es":"Modelos 3D vistos re
17cientemente"}},"cookieBanner":{"text":{"ru":"\u041c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043a\u0443\u043a\u0438 \u0444\u0430\u0439\u043b\u044b \u0438 \u042f\u043d\u0434\u0435\u043a\u0441.\u041c\u0435\u0442\u0440\u0438\u043a\u0443 (\u041e\u041e\u041e \\"\u042f\u043d\u0434\u0435\u043a\u0441\\") \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0442\u0440\u0430\u0444\u0438\u043a\u0430 \u0438 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u0432\u043d\u0435\u0448\u043d\u0438\u043c\u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u043c\u0438. \u041c\u044b \u0442\u0430\u043a\u0436\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0432\u0430\u0448\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043d\u0430\u0448\u0435\u0433\u043e \u0441\u0430\u0439\u0442\u0430 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430\u043c \u043f\u043e \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0442\u044c \u044d\u0442\u0443 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0438\u043c \u0438\u043b\u0438 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043e\u043d\u0438 \u0441\u043e\u0431\u0440\u0430\u043b\u0438 \u043e \u0432\u0430\u0441 \u0438\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u0432\u0430\u0448\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432. \u041c\u044b \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0442\u044c\u0441\u044f \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043a\u0443\u043a\u0438 \u0444\u0430\u0439\u043b\u043e\u0432.","en":"","es":""},"textSky":{"ru":"\u041c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043a\u0443\u043a\u0438 \u0444\u0430\u0439\u043b\u044b \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0442\u0440\u0430\u0444\u0438\u043a\u0430 \u0438 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u0432\u043d\u0435\u0448\u043d\u0438\u043c\u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u043c\u0438. \u041c\u044b \u0442\u0430\u043a\u0436\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0432\u0430\u0448\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043d\u0430\u0448\u0435\u0433\u043e \u0441\u0430\u0439\u0442\u0430 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430\u043c \u043f\u043e \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0442\u044c \u044d\u0442\u0443 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0438\u043c \u0438\u043b\u0438 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043e\u043d\u0438 \u0441\u043e\u0431\u0440\u0430\u043b\u0438 \u043e \u0432\u0430\u0441 \u0438\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u0432\u0430\u0448\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432. \u041c\u044b \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0442\u044c\u0441\u044f \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043a\u0443\u043a\u0438 \u0444\u0430\u0439\u043b\u043e\u0432.","en":"We use cookies to improve your experience on our site, to analyze our traffic and to interact with external platforms. We also share information about your use of our site with our analytics partners who may combine it with other information that you\'ve provided to them or that they\'ve collected from your use of their services. We recommend you to accept using of Cookies.","es":"Utilizamos cookies para mejorar tu experiencia en nuestro sitio, analizar el tr\xe1fico y con servicios de terceros. Tambi\xe9n compartimos informaci\xf3n sobre tu uso del sitio con nuestros socios anal\xedticos, quienes pueden combinarla con otra informaci\xf3n que nos hayas proporcionado o que hayan recopilado mientras usabas sus servicios. Te recomendamos aceptar las cookies para mejorar tu experiencia."}
17,"accept":{"ru":"\u042f \u0441\u043e\u0433\u043b\u0430\u0448\u0430\u044e\u0441\u044c","en":"I agree","es":"Acepto"},"moreInfo":{"ru":"\u0411\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438","en":"More information","es":"Saber m\xe1s"}},"mainPage":{"newModels":{"ru":"\u041d\u043e\u0432\u044b\u0435 3D \u043c\u043e\u0434\u0435\u043b\u0438","en":"Get fresh 3D models daily","es":"Modelos 3D nuevos cada d\xeda"}},"subCategory":{"button":{"ru":"\u041a\u0430\u0442\u0430\u043b\u043e\u0433","en":"Catalog","es":"Cat\xe1logo"},"title":{"ru":"\u041a\u0430\u0442\u0430\u043b\u043e\u0433","en":"Catalog","es":"Cat\xe1logo"}}}'),X=JSON.parse('{"global":{"signIn":{"ru":"\u0412\u043e\u0439\u0442\u0438","en":"Sign in","es":"Iniciar sesi\xf3n"},"or":{"ru":"\u0438\u043b\u0438","en":"or","es":"o"},"signUp":{"ru":"\u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f","en":"Sign up","es":"Registrarte"},"signUpWithGoogle":{"ru":"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0441 Google","en":"Sign up with Google","es":"Continuar con Google"},"signInWithGoogle":{"ru":"\u0412\u043e\u0439\u0442\u0438 c Google","en":"Sign in with Google","es":"Iniciar sesi\xf3n con Google"},"buttonGo":{"ru":"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c","en":"Continue","es":"Continuar"},"buttonBack":{"ru":"\u041d\u0430\u0437\u0430\u0434","en":"Back","es":"Atr\xe1s"},"buttonResend":{"ru":"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e","en":"Resend","es":"Reenviar"},"errorHeader":{"ru":"\u041e\u0448\u0438\u0431\u043a\u0430 :(","en":"Error :(","es":"Error :("},"buttonToModels":{"ru":"\u041a \u043f\u043e\u0438\u0441\u043a\u0443 \u043c\u043e\u0434\u0435\u043b\u0435\u0439","en":"To the models search","es":"Volver a la b\xfasqueda de modelos"}},"error":{"inputErrorEmail":{"ru":"\u0422\u043e\u043b\u044c\u043a\u043e email \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 [email protected]","en":"Email in the [email protected] format only","es":"Solo se acepta el formato: [email protected]"},"inputErrorUsername":{"ru":"\u0422\u043e\u043b\u044c\u043a\u043e \u043b\u0430\u0442\u0438\u043d\u0438\u0446\u0430 \u0438 \u0446\u0438\u0444\u0440\u044b, \u043c\u0438\u043d. \u0434\u043b\u0438\u043d\u0430 3 \u0441\u0438\u043c\u0432\u043e\u043b\u0430","en":"Latin letters and numbers only, min length is 3 characters","es":"Solo se permiten letras latinas y n\xfameros. Longitud m\xednima: 3 caracteres"},"inputErrorPass":{"ru":"\u0422\u043e\u043b\u044c\u043a\u043e \u043b\u0430\u0442\u0438\u043d\u0438\u0446\u0430, \u0446\u0438\u0444\u0440\u044b \u0438 \u0437\u043d\u0430\u043a\u0438 \u043f\u0443\u043d\u043a\u0442\u0443\u0430\u0446\u0438\u0438, \u043c\u0438\u043d. \u0434\u043b\u0438\u043d\u0430 6 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432","en":"Latin letters, numbers and punctuation marks only, min length is 6 characters","es":"Solo se permiten letras latinas, n\xfameros y signos de puntuaci\xf3n. Longitud m\xednima: 6 caracteres"},"inputErrorPass2":{"ru":"\u041f\u0430\u0440\u043e\u043b\u0438 \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442","en":"Password mismatch","es":"Las contrase\xf1as no coinciden"}},"input":{"placeholderEmail":{"ru":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 email","en":"Enter email","es":"Ingresa tu email"},"placeholderNickname":{"ru":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f","en":"Enter username","es":"Ingresa tu nombre de usuario"},"placeholderPass":{"ru":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u044c","en":"Enter password","es":"Crear contrase\xf1a"},"placeholderPass2":{"ru":"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u044c","en":"Enter password again","es":"Confirmar contrase\xf1a"},"placeholderCode":{"ru":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u0434 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f","en":"Enter verification code","es":"Ingrese el c\xf3digo de verificaci\xf3n"}},"login":{"loginHeader":{"ru":"\u0412\u0445\u043e\u0434","en":"Sign in","es":"Iniciar sesi\xf3n"},"loginForgotPass":{"ru":"\u041d\u0435 \u043f\u043e\u043c\u043d\u044e \u043f\u0430\u0440\u043e\u043b\u044c","en":"Forgot password","es":"Olvid\xe9 mi contrase\xf1a"},"2FAHeader":{"ru":"\u041f\u043e\u0434\u043e\u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c","en":"Suspicious activity","es":"Actividad sospechosa"},"2FA1":{"ru":"<p>\u041c\u044b \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0438, \u0447\u0442\u043e \u0432\u044b \u0432\u043e\u0448\u043b\u0438 \u0438\u0437 \u043d\u043e\u0432\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430. \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u044b, \u043c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u043f\u0438\u0441\u044c\u043c\u043e \u0441 \u043a\u043e\u0434\u043e\u043c \u043d\u0430 \u0432\u0430\u0448 email <b>@@email</b></p> \u0412\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435\u0441\u044c \u044d\u0442\u0438\u043c \u043a\u043e\u0434\u043e\u043c \u0434\u043b\u044f \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438. \u
170415\u0441\u043b\u0438 \u043f\u0438\u0441\u044c\u043c\u043e \u043d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442, <b>\u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043f\u0430\u043f\u043a\u0443 \u0421\u043f\u0430\u043c</b>, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435\u0441\u044c <a href=\\"@@link\\" target=\\"_blank\\">\u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u043d\u0430\u0448\u0438\u043c\u0438 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u044f\u043c\u0438</a>.","en":"<p>We noticed that you are logging in from unusual place. For ensuring that it is you we sent a letter with code to email <b>@@email</b></p> Use this code to verify your sign in. If you can not find the letter in a mailbox, <b>check Spam folder</b>, and also refer to <a href=\\"@@link\\" target=\\"_blank\\">other our recommendations</a>.","es":"<p>Hemos notado que est\xe1 iniciando sesi\xf3n desde un lugar inusual. Para asegurarnos de que sea usted, le hemos enviado un correo con un c\xf3digo a <b>@@email</b></p> Use este c\xf3digo para verificar su inicio de sesi\xf3n. Si no encuentra el correo en la bandeja de entrada, <b>revise la carpeta de Spam</b> y consulte <a href=\\"@@link\\" target=\\"_blank\\">nuestras recomendaciones</a>."},"resendCode":{"ru":"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u0438\u0441\u044c\u043c\u043e \u0441 \u043d\u043e\u0432\u044b\u043c \u043a\u043e\u0434\u043e\u043c \u0447\u0435\u0440\u0435\u0437 @@timeLeft \u0441\u0435\u043a...","en":"Send an email with a new code in @@timeLeft sec...","es":"Enviar un nuevo c\xf3digo en @@timeLeft s..."},"buttonResendCode":{"ru":"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u0438\u0441\u044c\u043c\u043e \u0441 \u043d\u043e\u0432\u044b\u043c \u043a\u043e\u0434\u043e\u043c","en":"Send an email with a new code","es":"Enviar un correo con un nuevo c\xf3digo"},"agree":{"ru":"\u041d\u0430\u0436\u0438\u043c\u0430\u044f \u043a\u043d\u043e\u043f\u043a\u0443 \xab\u0412\u043e\u0439\u0442\u0438\xbb, \u0432\u044b \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442\u0435 <a href=\\"/faq/254/show\\" target=\\"_blank\\">\u0423\u0441\u043b\u043e\u0432\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0430\u0442\u043e\u0432</a> \u0438 \u0441\u043e\u0433\u043b\u0430\u0448\u0430\u0435\u0442\u0435\u0441\u044c \u0441 <a href=\\"/faq/257/show\\" target=\\"_blank\\">\u041f\u043e\u043b\u0438\u0442\u0438\u043a\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438</a>","en":"By clicking \\"Sign in\\" you agree to <a href=\\"/faq/115/show\\" target=\\"_blank\\">The Terms of Use for Customers</a> and agree to <a href=\\"/faq/113/show\\" target=\\"_blank\\">The Privacy policy</a>","es":"Al hacer clic en \\"Iniciar sesi\xf3n\\", aceptas <a href=\\"/faq/115/show\\" target=\\"_blank\\">los T\xe9rminos de uso para clientes</a> y <a href=\\"/faq/113/show\\" target=\\"_blank\\">la Pol\xedtica de privacidad</a>"}},"recovery":{"continue":{"ru":"\u041d\u0430\u0436\u0438\u043c\u0430\u044f \u043a\u043d\u043e\u043f\u043a\u0443 \xab\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c\xbb, \u0432\u044b \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442\u0435 <a href=\\"/faq/254/show\\" target=\\"_blank\\">\u0423\u0441\u043b\u043e\u0432\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0430\u0442\u043e\u0432</a> \u0438 \u0441\u043e\u0433\u043b\u0430\u0448\u0430\u0435\u0442\u0435\u0441\u044c \u0441 <a href=\\"/faq/257/show\\" target=\\"_blank\\">\u041f\u043e\u043b\u0438\u0442\u0438\u043a\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438</a>","en":"By clicking \\"Continue\\" you agree to <a href=\\"/faq/115/show\\" target=\\"_blank\\">The Terms of Use for Customers</a> and agree to <a href=\\"/faq/113/show\\" target=\\"_blank\\">The Privacy policy</a>","es":"Al hacer clic en \\"Continuar\\", aceptas <a href=\\"/faq/115/show\\" target=\\"_blank\\">los T\xe9rminos de uso para clientes</a> y <a href=\\"/faq/113/show\\" target=\\"_blank\\">la Pol\xedtica de privacidad</a>"}},"registration":{"registerHeader":{"ru":"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u043f\u043e email","en":"Sign up with email","es":"Registro por email"},"registerCheck1":{"ru":"\u041f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0443 \u0441 \u043d\u043e\u0432\u043e\u0441\u0442\u044f\u043c\u0438 \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u043e\u0442 @@site","en":"Get emails with updates & news from @@site","es":"Recibir correos con novedades y actualizaciones de @@site"},"registerCheck2":{"ru":"\u041d\u0430\u0436\u0438\u043c\u0430\u044f \u043a\u043d\u043e\u043f\u043a\u0443 \xab\u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f\xbb, \u0432\u044b \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442\u0435 <a href=\\"/faq/254/show\\" target=\\"_blank\\">\u0423\u0441\u043b\u043e\u0432\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0430\u0442\u043e\u0432</a> \u0438 \u0441\u043e\u0433\u043b\u0430\u0448\u0430\u0435\u0442\u0435\u0441\u044c \u0441 <a href=\\"/faq/257/show\\" target=\\"_blank\\">
17\u041f\u043e\u043b\u0438\u0442\u0438\u043a\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438</a>","en":"By clicking \\"Sign up\\" you agree to <a href=\\"/faq/115/show\\" target=\\"_blank\\">The Terms of Use for Customers</a> and agree to <a href=\\"/faq/113/show\\" target=\\"_blank\\">The Privacy policy</a>","es":"Al hacer clic en \\"Registrarse\\", aceptas <a href=\\"/faq/115/show\\" target=\\"_blank\\">los T\xe9rminos de uso para clientes</a> y <a href=\\"/faq/113/show\\" target=\\"_blank\\">la Pol\xedtica de privacidad</a>"}},"info":{"arHeader":{"ru":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c","en":"Reset password","es":"Restablecer contrase\xf1a"},"arHeader2":{"ru":"\u041f\u0440\u0438\u0434\u0443\u043c\u0430\u0439\u0442\u0435 \u043d\u043e\u0432\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c","en":"Create a new password","es":"Crear una nueva contrase\xf1a"},"RSHeader":{"ru":"\u0421\u043f\u0430\u0441\u0438\u0431\u043e!<br> \u0412\u0430\u0448 \u0430\u043a\u043a\u0430\u0443\u043d\u0442 \u0441\u043e\u0437\u0434\u0430\u043d","en":"Thank you!<br> Your account successfully created","es":"\xa1Gracias!<br> Su cuenta se ha creado correctamente"},"RS1":{"ru":"\u0414\u043b\u044f \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u0438\u0437 \u043f\u0438\u0441\u044c\u043c\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u043d\u0430 \u0432\u0430\u0448 email <b>@@email</b>. \u0415\u0441\u043b\u0438 \u043f\u0438\u0441\u044c\u043c\u043e \u043d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442, <b>\u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043f\u0430\u043f\u043a\u0443 \u0421\u043f\u0430\u043c</b>.","en":"To complete registration, follow the link from the letter, that we sent to your email <b>@@email</b>. If you can not find the letter in a mailbox, <b>check Spam folder</b>.","es":"Para completar el registro, siga el enlace de la carta que enviamos a su email <b>@@email</b>. Si no puede encontrar la carta en el buz\xf3n, <b>revise la carpeta de Spam</b>."},"resendEmail":{"ru":"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e \u0447\u0435\u0440\u0435\u0437 @@timeLeft \u0441\u0435\u043a...","en":"Resend in @@timeLeft sec...","es":"Reenviar en @@timeLeft seg..."},"RNFHeader":{"ru":"\u0412\u0430\u0448 \u0430\u043a\u043a\u0430\u0443\u043d\u0442 \u043d\u0435 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d","en":"Your account is not verified","es":"Su cuenta no est\xe1 verificada"},"RNF1":{"ru":"\u0414\u043b\u044f \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u0438\u0437 \u043f\u0438\u0441\u044c\u043c\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u043d\u0430 \u0432\u0430\u0448 email <b>@@email</b>. \u0415\u0441\u043b\u0438 \u043f\u0438\u0441\u044c\u043c\u043e \u043d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442, <b>\u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043f\u0430\u043f\u043a\u0443 \u0421\u043f\u0430\u043c</b>.","en":"To verify the account, follow the link from letter, that we sent to your email <b>@@email</b>. If you can not find the letter in a mailbox, <b>check Spam folder</b>.","es":"Para verificar la cuenta, siga el enlace de la carta que enviamos a su email <b>@@email</b>. Si no puede encontrar la carta en el buz\xf3n, <b>revise la carpeta de Spam</b>."},"CSHeader":{"ru":"\u041f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u044f\u0435\u043c!","en":"Congratulations!","es":"\xa1Felicidades!"},"CS1":{"ru":"\u0412\u0430\u0448 \u0430\u043a\u043a\u0430\u0443\u043d\u0442 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d.","en":"Your account has been verified.","es":"Su cuenta ha sido verificada."},"CE1":{"ru":"<b>@@error. </b> \u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c \u0430\u043a\u043a\u0430\u0443\u043d\u0442. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438 \u0441\u043b\u0435\u0434\u0443\u0439\u0442\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u043c \u0438\u043b\u0438 \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0432 <a href=\\"/feedbacks/new\\" target=\\"_blank\\">\u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443</a>.","en":"<b>@@error. </b> Verification of the account is failed. Try to sign in and follow the instructions or contact to the <a href=\\"/feedbacks/new\\" target=\\"_blank\\">support</a>.","es":"<b>@@error. </b> La verificaci\xf3n de la cuenta ha fallado. Intente iniciar sesi\xf3n y siga las instrucciones o p\xf3ngase en contacto con el <a href=\\"/feedbacks/new\\" target=\\"_blank\\">soporte</a>."},"RRSHeader":{"ru":"\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043f\u043e\u0447\u0442\u0443","en":"Check your email","es":"Revisa tu correo"},"RRS1":{"ru":"\u0421\u0441\u044b\u043b\u043a\u0430 \u0434\u043b\u044f \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u043e\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0430 \u043d\u0430 \u0432\u0430\u0448 email <b>@@email</b>. \u0415\u0441\u043b\u0438 \u043f\u0438\u0441\u044c\u043c\u043e \u043d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442, <b>\u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043f\u0430\u043f\u043a\u0443 \u0421\u043f\u0430\u043c</b>.","en":"A link to reset your password has been sent to your email <b>@@email</b>. If you can not find the letter in a mailbox, <b>check Spam folder</b>.","es":"Te hemos enviado un enlace para restablecer tu contrase\xf1a a tu correo: <b>@@email</b>. Si no lo encuentras en la bandeja de entrada, <b>revise la carpeta de Spam</b>."},"RRS2Header":{"ru":"\u0423\u0441\u043f\u0435\u0445!","en":"Success!","es":"\xa1\xc9xito!"},"RRS21":{"ru":"\u0412\u043e\u0439\u0434\u0438\u0442\u0435 \u043d\u0430 \u0441\u0430\u0439\u0442 \u0441 \u043d\u043e\u0432\u044b\u043c \u043f\u0430\u0440\u043e\u043b\u0435\u043c","en":"Use the new password to sign in the site","es":"Use la nueva contrase\xf1a para iniciar sesi\xf3n en el sitio"},"logout1":{"ru":"\u0412\u044b \u0443\u0436\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u043d\u0430 \u0441\u0430\u0439\u0442\u0435! <br> \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u044b\u0439\u0442\u0438 \u0438\u0437 \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438.","en":"You have already signed in now! <br> Please sign out of the current account.","es":"\xa1Ya has iniciado sesi\xf3n! <br> Por favor, cierra la sesi\xf3n de la cuenta actual."},"buttonLogout":{"ru":"\u0412\u044b\u0439\u0442\u0438","en":"Sign out","es":"Cerrar sesi\xf3n"},"HE1":{"ru":"\u041d\u0430 \u0433\u043b\u0430\u0432\u043d\u0443\u044e","en":"Home page","es":"P\xe1gina de inicio"}},"user":{"readOnly":{"ru":"\u0412\u044b \u0431\u044b\u043b\u0438 \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u044b \u0432 \u0440\u0435\u0436\u0438\u043c \xab\u0422\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u0435\u043d\u0438\u0435\xbb \u0438 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c, \u043b\u0430\u0439\u043a\u0430\u0442\u044c \u0438 \u0434\u0438\u0437\u043b\u0430\u0439\u043a\u0430\u0442\u044c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438","en":"You\'ve been switched to \\"Read Only\\" mode and can\'t create, like or dislike comments","es":"Ha sido cambiado al modo \\"Solo lectura\\" y no puede crear, dar me gusta o 
17no me gusta a los comentarios"}}}'),x=JSON.parse('{"global":{"filters":{"ru":"\u0424\u0438\u043b\u044c\u0442\u0440\u044b","en":"Filters","es":"Filtros"}},"seo":{"title":{"ru":"\u041a\u0430\u0442\u0430\u043b\u043e\u0433 3D \u043c\u043e\u0434\u0435\u043b\u0435\u0439","en":"3D models catalog","es":"Cat\xe1logo de 3D modelos"},"description":{"ru":"\u041a\u0440\u0443\u043f\u043d\u0435\u0439\u0448\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 3D \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u043e\u0442 3ddd \u0432 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f\u0445: \u043c\u0435\u0431\u0435\u043b\u044c, \u0434\u0435\u043a\u043e\u0440, \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u0435, \u0442\u0435\u0445\u043d\u0438\u043a\u0430, \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u044f, \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b, \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u044b, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 \u043c\u043d\u043e\u0433\u043e\u0435 \u0434\u0440\u0443\u0433\u043e\u0435. \u0412\u0441\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 3ds Max. \u0420\u0435\u043d\u0434\u0435\u0440-\u0434\u0432\u0438\u0436\u043a\u0438: Vray, Corona. \u0424\u043e\u0440\u043c\u0430\u0442\u044b \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430: fbx, obj","en":"The largest catalog of 3D models from 3dsky in the categories: furniture, decor, lighting, technique, plants, characters, as well as materials, textures, scripts and much more. All models are available for download in 3ds Max format. Render engines: Vray, Corona. Export formats: fbx, obj","es":"El cat\xe1logo m\xe1s grande de 3D modelos de 3dsky en las categor\xedas: muebles, decoraci\xf3n, iluminaci\xf3n, t\xe9cnica, plantas, personajes, as\xed como materiales, texturas, scripts y mucho m\xe1s. Todos los modelos est\xe1n disponibles para descargar en formato 3ds Max. Motores de renderizado: Vray, Corona. Formatos de exportaci\xf3n: fbx, obj"},"descriptionWithCategory":{"ru":"\u041a\u0440\u0443\u043f\u043d\u0435\u0439\u0448\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 3D \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u043e\u0442 3ddd. \u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f: @@cat / @@subcat. \u0412\u0441\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u043b\u044f \u043f\u043e\u043a\u0443\u043f\u043a\u0438 \u0438 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 3ds Max. \u0420\u0435\u043d\u0434\u0435\u0440-\u0434\u0432\u0438\u0436\u043a\u0438: Vray, Corona. \u0424\u043e\u0440\u043c\u0430\u0442\u044b \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430: fbx, obj","en":"The largest catalog of 3D models from 3dsky. Categories: @@cat / @@subcat. All models are available for download in 3ds Max format. Render engines: Vray, Corona. Export formats: fbx, obj","es":"El cat\xe1logo m\xe1s grande de 3D modelos de 3dsky. Categor\xedas: @@cat / @@subcat. Todos los modelos est\xe1n disponibles para descargar en formato 3ds Max. Motores de renderizado: Vray, Corona. Formatos de exportaci\xf3n: fbx, obj"},"imageAlt":{"ru":"\u041a\u0430\u0442\u0430\u043b\u043e\u0433 3D \u043c\u043e\u0434\u0435\u043b\u0435\u0439","en":"3D models catalog","es":"Cat\xe1logo de 3D modelos"}},"filters":{"clearFilters":{"ru":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b","en":"Clear filters","es":"Limpiar filtros"},"clear":{"ru":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c","en":"Clear","es":"Vaciar el carrito"},"apply":{"ru":"\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c","en":"Apply","es":"Aplicar"},"close":{"ru":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c","en":"Close","es":"Cerrar"},"style":{"ru":"\u0421\u0442\u0438\u043b\u044c","en":"Style","es":"Estilo"},"render":{"ru":"\u0420\u0435\u043d\u0434\u0435\u0440","en":"Render","es":"Renderizado"},"format":{"ru":"\u0424\u043e\u0440\u043c\u0430\u0442","en":"Format","es":"Formato"},"form":{"ru":"\u0424\u043e\u0440\u043c\u0430","en":"Form","es":"Forma"},"material":{"ru":"\u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b","en":"Material","es":"Material"},"color":{"ru":"\u0426\u0432\u0435\u0442","en":"Color","es":"Color"},"favorites":{"ru":"\u0418\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435","en":"Favorites","es":"Favoritos"},"purchases":{"ru":"\u041f\u043e\u043a\u0443\u043f\u043a\u0438","en":"Purchases","es":"Compras"},"subscriptions":{"ru":"\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0438","en":"Subscriptions","es":"Suscripciones"},"modelsInGallery":{"ru":"\u041c\u043e\u0434\u0435\u043b\u0438 \u0435\u0441\u0442\u044c \u0432 \u0433\u0430\u043b\u0435\u0440\u0435\u0435","en":"The models are in the gallery","es":"Los modelos est\xe1n en la galer\xeda"},"modelsInGalleryTooltip":{"ru":"3D \u043c\u043e\u0434\u0435\u043b\u0438,<br>\u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u0432 \u0413\u0430\u043b\u0435\u0440\u0435\u0435","en":"3D models<br>marked in Gallery","es":"Modelos 3D<br>marcados en la Galer\xeda"},"modelsInGalleryChip":{"ru":"\u041c\u043e\u0434\u0435\u043b\u0438 \u0432 \u0433\u0430\u043b\u0435\u0440\u0435\u0435","en":"Models in gallery","es":"Modelos en la galer\xeda"},"ai":{"ru":"\u0418\u0418","en":"AI","es":"IA"},"aiMobile":{"ru":"\u0421\u043e\u0437\u0434\u0430\u043d\u043e \u0441 \u0418\u0418","en":"Created with AI","es":"Creados con IA"},"aiTooltip":{"ru":"3D \u043c\u043e\u0434\u0435\u043b\u0438, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0418\u0418","en":"3D models created with AI","es":"Modelos 3D creados con IA"},"aiChip":{"ru":"\u0421\u043e\u0437\u0434\u0430\u043d\u043e \u0441 \u0418\u0418","en":"Created with AI","es":"Creados con IA"}},"info":{"noResult1":{"ru":"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0448\u043b\u043e\u0441\u044c","en":"0 results found","es":"No se encontraron resultados"},"noResult2":{"ru":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0444\u0438\u043b\u044c\u0442\u0440\u044b \u0438\u043b\u0438 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u0443\u044e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e","en":"Please, modify filters or choose a different category","es":"Por favor, modifique los filtros o elija una categor\xeda diferente"},"noResult21":{"ru":"\u0417\u0434\u0435\u0441\u044c \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432\u0430\u0448\u0438 \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438","en":"Here we`ll store your favorite models","es":"Aqu\xed guardaremos tus modelos favoritos"},"noResult22":{"ru":"\u0427\u0442\u043e\u0431\u044b \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043f\u043e\u0442\u0435\u0440\u044f\u043b\u043e\u0441\u044c","en":"So that nothing gets lost","es":"Para que nada se pierda"},"noResult31":{"ru":"\u0417\u0434\u0435\u0441\u044c \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432\u0430\u0448\u0438 \u043f\u043e\u043a\u0443\u043f\u043a\u0438","en":"Here we store your purchases","es":"Aqu\xed guardamos tus compras"},"noResult32":{"ru":"\u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0439\u0442\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0438 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e","en":"So you can download them for free any time","es":"Para que puedas descargarlos gratis en cualquier momento"},"modelsResultPlural":{"ru":"\u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0439\u0442\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0438 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e","en":"So you can download them for free any time","es":"Para que puedas descargarlos gratis en cualquier momento"}},"paginator":{"next":{"ru":"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","en":"Next Page","es":"P\xe1gina siguiente"},"back":{"ru":"\u041d\u0430\u0437\u0430\u0434","en":"Backward","es":"Atr\xe1s"},"pages":{"ru":"\u0438\u0437 @@pages","en":"of @@pages","es":"de @@pages"},"forward":{"ru":"\u0412\u043f\u0435\u0440\u0451\u0434","en":"Forward","es":"Adelante"},"TotalPagePluralOne":{"ru":"\u0412\u0441\u0435\u0433\u043e @@pagesCount \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","en":"Total pages @@pagesCount","es":"Total de @@pagesCount p\xe1gina"},"TotalPagePluralFew":{"ru":"\u0412\u0441\u0435\u0433\u043e @@pagesCount \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b","en":"Total pages @@pagesCount","es":"Total de @@pagesCount p\xe1ginas"},"TotalPagePluralMany":{"ru":"\u0412\u0441\u0435\u0433\u043e @@pagesCount \u0441\u0442\u0440\u0430\u043d\u0438\u0446","en":"Total pages @@pagesCount","es":"Total de @@pagesCount p\xe1ginas"},"TotalPagePluralOther":{"ru":"\u0412\u0441\u0435\u0433\u043e @@pagesCount \u0441\u0442\u0440\u0430\u043d\u0438\u0446","en":"Total pages @@pagesCount","es":"Total de @@pagesCount p\xe1ginas"}}
17,"plural":{"one":{"ru":"\u041d\u0430\u0439\u0434\u0435\u043da @@modelsResultCount \u043c\u043e\u0434\u0435\u043b\u044c","en":"@@modelsResultCount model found","es":"@@modelsResultCount modelo encontrado"},"few":{"ru":"\u041d\u0430\u0439\u0434\u0435\u043d\u043e @@modelsResultCount \u043c\u043e\u0434\u0435\u043b\u0438","en":"@@modelsResultCount models found","es":"@@modelsResultCount modelos encontrados"},"many":{"ru":"\u041d\u0430\u0439\u0434\u0435\u043d\u043e @@modelsResultCount \u043c\u043e\u0434\u0435\u043b\u0435\u0439","en":"@@modelsResultCount models found","es":"@@modelsResultCount modelos encontrados"},"other":{"ru":"\u041d\u0430\u0439\u0434\u0435\u043d\u043e @@modelsResultCount \u043c\u043e\u0434\u0435\u043b\u0435\u0439","en":"@@modelsResultCount models found","es":"@@modelsResultCount modelos encontrados"}}}');var O=a(1551);const V=JSON.parse('{"400":{"title":{"ru":"\u0423 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f \u0441 \u0442\u0430\u043a\u0438\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c","en":"You already have a collection with the same name","es":"Ya tienes una colecci\xf3n con este nombre"}},"404":{"title":{"ru":"\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430","en":"Page not found","es":"P\xe1gina no encontrada"},"description":{"ru":"\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u0430 \u0438\u043b\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0430","en":"Link removed or invalid","es":"Enlace eliminado o inv\xe1lido"},"toMainPage":{"ru":"\u041d\u0430 \u0433\u043b\u0430\u0432\u043d\u0443\u044e","en":"To main page","es":"Ir a la p\xe1gina principal"}},"global":{"serverError":{"ru":"\u041e\u0448\u0438\u0431\u043a\u0430 \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043f\u043e\u0437\u0436\u0435","en":"Server error. Try later","es":"Error del servidor. Int\xe9ntalo m\xe1s tarde"}},"form":{"maxLength":{"ru":"\u041c\u0430\u043a\u0441\u0438\u043c\u0443\u043c @@count \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432","en":"Maximum @@count characters","es":"M\xe1ximo @@count caracteres"},"maxImgSize":{"ru":"\u041e\u0431\u044a\u0435\u043c \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0442\u044c @@count","en":"Image size must not exceed @@count","es":"l tama\xf1o de la imagen no debe superar los @@count"},"profileDataSite":{"ru":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043e\u0434\u043d\u0443 \u0432\u043d\u0435\u0448\u043d\u044e\u044e \u0441\u0441\u044b\u043b\u043a\u0443","en":"Insert only one external link","es":"Inserta solo un enlace externo"}}}'),p=JSON.parse('{"collectionList":{"shareLink":{"ru":"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f c\u0441\u044b\u043b\u043a\u043e\u0439","en":"Share link","es":"Compartir enlace"},"LinkCopied":{"ru":"\u0421\u0441\u044b\u043b\u043a\u0430 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0430","en":"Link copied","es":"Enlace copiado"}},"collectionListPlural":{"one":{"ru":"@@modelsCount \u043c\u043e\u0434\u0435\u043b\u044c","en":"@@modelsCount model","es":"@@modelsCount modelo"},"few":{"ru":"@@modelsCount \u043c\u043e\u0434\u0435\u043b\u0438","en":"@@modelsCount models","es":"@@modelsCount modelos"},"many":{"ru":"@@modelsCount \u043c\u043e\u0434\u0435\u043b\u0435\u0439","en":"@@modelsCount models","es":"@@modelsCount modelos"},"other":{"ru":"@@modelsCount \u043c\u043e\u0434\u0435\u043b\u0435\u0439","en":"@@modelsCount models","es":"@@modelsCount modelos"}},"collectionListSeo":{"title":{"ru":"@@title - \u041a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f 3D \u041c\u043e\u0434\u0435\u043b\u0435\u0439","en":"@@title - 3D Models Collection","es":"@@title - Colecci\xf3n de Modelos 3D"},"description":{"ru":"\u041c\u043e\u0434\u0435\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f: @@list. \u0412\u0441\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 3ds Max. \u0420\u0435\u043d\u0434\u0435\u0440-\u0434\u0432\u0438\u0436\u043a\u0438: Vray, Corona. \u0424\u043e\u0440\u043c\u0430\u0442\u044b \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430: fbx, obj","en":"Models available for download: @@list. All models are available for download in 3ds Max format. Render engines: Vray, Corona. Export formats: fbx, obj","es":"Modelos disponibles para descargar: @@list. Todos los modelos est\xe1n disponibles para descargar en formato 3ds Max. Motores de renderizado: Vray, Corona. Formatos de exportaci\xf3n: fbx, obj"}},"bookmarkListPopup":{"favorites":{"ru":"\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e","en":"Default","es":"Predeterminado"},"title":{"ru":"\u041c\u043e\u0434\u0435\u043b\u044c \u0432 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f\u0445","en":"Model in collections","es":"Modelo en cole
17cciones"},"public":{"ru":"\u041f\u0443\u0431\u043b\u0438\u0447\u043d\u0430\u044f \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f","en":"Shared collection","es":"Colecci\xf3n p\xfablica"},"publicLimitExceeded":{"ru":"\u0414\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442 \u043b\u0438\u043c\u0438\u0442 \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0439<br>\u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 \u0432 200 \u043c\u043e\u0434\u0435\u043b\u0435\u0439","en":"Reached limit of 200 models for<br>public collection","es":"L\xedmite alcanzado de 200 modelos<br>para colecci\xf3n p\xfablica"},"goToCollection":{"ru":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e","en":"Go to collection","es":"Ir a la colecci\xf3n"},"modelCollectionAdded":{"ru":"\u041c\u043e\u0434\u0435\u043b\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u0432 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e \xab@@name\xbb","en":"The model added to collection \\"@@name\\"","es":"El modelo fue a\xf1adido a la colecci\xf3n \\"@@name\\""},"modelCollectionDeleted":{"ru":"\u041c\u043e\u0434\u0435\u043b\u044c \u0443\u0434\u0430\u043b\u0435\u043d\u0430 \u0438\u0437 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 \xab@@name\xbb","en":"The model removed from collection \\"@@name\\"","es":"El modelo fue eliminado de la colecci\xf3n \\"@@name\\""},"modelAdded":{"ru":"\u041c\u043e\u0434\u0435\u043b\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u0432 \xab\u0418\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435\xbb","en":"The model added to \\"Favorites\\"","es":"El modelo fue a\xf1adido a \\"Favoritos\\""},"modelDeleted":{"ru":"\u041c\u043e\u0434\u0435\u043b\u044c \u0443\u0434\u0430\u043b\u0435\u043d\u0430 \u0438\u0437 \xab\u0418\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e\xbb","en":"The model removed from \\"Favorites\\"","es":"El modelo fue eliminado de \\"Favoritos\\""},"change":{"ru":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c","en":"Change","es":"Cambiar"},"articleAdded":{"ru":"\u0421\u0442\u0430\u0442\u044c\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u0432 \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435","en":"The article added to favorites","es":"El art\xedculo fue a\xf1adido a favoritos"},"articleRemoved":{"ru":"\u0421\u0442\u0430\u0442\u044c\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u0430 \u0438\u0437 \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e","en":"The article removed from favorites","es":"El art\xedculo fue eliminado de favoritos"},"galleryAdded":{"ru":"\u0420\u0430\u0431\u043e\u0442\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u0432 \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435","en":"The work added to favorites","es":"La obra fue a\xf1adida a favoritos"},"galleryRemoved":{"ru":"\u0420\u0430\u0431\u043e\u0442\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u0430 \u0438\u0437 \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e","en":"The work removed from favorites","es":"La obra fue eliminada de favoritos"}}}'),$=JSON.parse('{"default":{"title":{"ru":"3D \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u043b\u044f \u0434\u0438\u0437\u0430\u0439\u043d\u0430 \u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u2013 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043d\u0430 @@domain","en":"3D models for design and architecture \u2013 download on @@domain","es":"Modelos 3D para dise\xf1o y arquitectura \u2014 descarga en @@domain"},"description":{"ru":"\u041c\u0438\u043b\u043b\u0438\u043e\u043d 3D \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u044c\u0435\u0440\u043e\u0432 \u0438 \u044d\u043a\u0441\u0442\u0435\u0440\u044c\u0435\u0440\u043e\u0432: \u043c\u0435\u0431\u0435\u043b\u044c, \u0434\u0435\u043a\u043e\u0440, \u0442\u0435\u0445\u043d\u0438\u043a\u0430, \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u044f \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438. \u
170421\u043a\u0430\u0447\u0438\u0432\u0430\u0439 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u043a\u0443\u043f\u0430\u0439 \u043f\u043e \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0446\u0435\u043d\u0435. \u0424\u043e\u0440\u043c\u0430\u0442 3ds Max. \u0420\u0435\u043d\u0434\u0435\u0440-\u0434\u0432\u0438\u0436\u043a\u0438: V-Ray, Corona. \u0424\u043e\u0440\u043c\u0430\u0442\u044b \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430: FBX, OBJ","en":"Million of 3D models for interiors, exteriors, furniture, appliances, plants, and more. Download free or buy at fixed prices. Format: 3ds Max. Render engines: V-Ray, Corona. Export formats: FBX, OBJ","es":"Millones de modelos 3D para interiores, exteriores, mobiliario, electrodom\xe9sticos, plantas y m\xe1s. Descarga gratis o compra a precios fijos. Formato: 3ds Max. Motores de render: V-Ray, Corona. Formatos de exportaci\xf3n: FBX, OBJ"}}}'),E=JSON.parse('{"global":{"paymentWaitingTitle":{"ru":"\u041e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u043f\u043b\u0430\u0442\u0435\u0436\u0430","en":"Payment waiting","es":"Esperando pago"},"paymentWaitingDescription":{"ru":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043d\u0435 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0439\u0442\u0435 \u044d\u0442\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0434\u043e \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u043e\u043f\u043b\u0430\u0442\u044b","en":"Please, don`t close this page until payment is confirmed","es":"Por favor, no cierres esta p\xe1gina hasta que se confirme el pago"},"cart":{"ru":"\u041a\u043e\u0440\u0437\u0438\u043d\u0430","en":"Cart","es":"Carrito"},"toCart":{"ru":"\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443","en":"Add to cart","es":"A\xf1adir al carrito"},"inCart":{"ru":"\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0435","en":"Added to cart","es":"A\xf1adido al carrito"},"payWay":{"ru":"\u0421\u043f\u043e\u0441\u043e\u0431 \u043e\u043f\u043b\u0430\u0442\u044b","en":"Payment method","es":"M\xe9todo de pago"},"agreement":{"ru":"\u041d\u0430\u0436\u0438\u043c\u0430\u044f \u043a\u043d\u043e\u043f\u043a\u0443 \\"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c\\", \u0432\u044b \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442\u0435 <a class=\\"not-real-a\\" href=\\"/faq/254/show\\" target=\\"_blank\\">\u0423\u0441\u043b\u043e\u0432\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0430\u0442\u043e\u0432</a> \u0438 \u0441\u043e\u0433\u043b\u0430\u0448\u0430\u0435\u0442\u0435\u0441\u044c \u0441 <a class=\\"not-real-a\\" href=\\"/faq/257/show\\" target=\\"_blank\\">\u041f\u043e\u043b\u0438\u0442\u0438\u043a\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438</a>","en":"By clicking \\"Pay\\" you agree to <a class=\\"not-real-a\\" href=\\"/faq/115/show\\" target=\\"_blank\\">The Terms of Use for Customers</a> and agree to <a class=\\"not-real-a\\" href=\\"/faq/113/show\\" target=\\"_blank\\">The Privacy policy</a>","es":"Al hacer clic en Pagar aceptas los <a class=\\"not-real-a\\" href=\\"/faq/115/show\\" target=\\"_blank\\">T\xe9rminos de uso</a> y la <a class=\\"not-real-a\\" href=\\"/faq/113/show\\" target=\\"_blank\\">Pol\xedtica de privacidad</a>"},"inCatalog":{"ru":"\u0412 \u043a\u0430\u0442\u0430\u043b\u043e\u0433","en":"Go to catalog","es":"Ir al cat\xe1logo"},"delete":{"ru":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","en":"Remove","es":"Eliminar"},"deleteSuccess":{"ru":"\u041c\u043e\u0434\u0435\u043b\u044c <b>\xab@@model\xbb</b> \u0443\u0434\u0430\u043b\u0435\u043d\u0430 \u0438\u0437 \u043a\u043e\u0440\u0437\u0438\u043d\u044b","en":"Model <b>\\"@@model\\"</b> has been removed from the cart","es":"El modelo <b>\\"@@model\\"</b> ha sido eliminado del carrito"},"deleteSelectedSuccess":{"ru":"\u0412\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u044b \u0438\u0437 \u043a\u043e\u0440\u0437\u0438\u043d\u044b","en":"Selected models has been removed from the cart","es":"Los modelos seleccionados han sido eliminados del carrito"},"cancel":{"ru":"\u041e\u0442\u043c\u0435\u043d\u0430","en":"Cancel","es":"Cancelar"},"deleteQuestion":{"ru":"\u0412\u044b \u0442\u043e\u0447\u043d\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u044c \xab@@model\xbb \u0438\u0437 \u043a\u043e\u0440\u0437\u0438\u043d\u044b?","en":"Are you sure you want to delete the model \\"@@model\\" from the cart?","es":"\xbfEst\xe1s seguro de que deseas eliminar el modelo \\"@@model\\" del carrito?"},"deleteAllQuestion":{"ru":"\u0412\u044b \u0442\u043e\u0447\u043d\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u043a\u043e\u0440\u0437\u0438\u043d\u0443?","en":"Are you sure you want to clear the cart?","es":"\xbfEst\xe1s seguro de que deseas vaciar el carrito?"},"pay":{"ru":"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c","en":"Pay","es":"Pagar"},"allPurchases":{"ru":"\u0412\u0441\u0435 \u043a\u0443\u043f\u043b\u0435\u043d\u043d\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0432 <a class=\\"not-real-a\\" href=\\"/user/purchases\\">\u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043f\u043e\u043a\u0443\u043f\u043e\u043a</a>","en":"All purchased models are available for download in the <a class=\\"not-real-a\\" href=\\"/user/purchases\\">purchase history</a>","es":"Todos los modelos comprados est\xe1n disponibles para descargar en el <a class=\\"not-real-a\\" href=\\"/user/purchases\\">historial de compras</a>"},"allAccessesPurchased":{"ru":"\u0411\u0430\u043b\u0430\u043d\u0441 \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u0432 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0432 <a class=\\"not-real-a\\" href=\\"/user\\">\u0432\u0430\u0448\u0435\u043c \u043f\u0440\u043e\u0444\u0438\u043b\u0435</a>
17","en":"Accesses balance is displayed in <a class=\\"not-real-a\\" href=\\"/user\\">your profile</a>","es":"El saldo de accesos se muestra en <a class=\\"not-real-a\\" href=\\"/user\\">tu perfil</a>"},"totalPurchased":{"ru":"\u041a\u0443\u043f\u043b\u0435\u043d\u043e:","en":"You bought:","es":"Has comprado:"},"minRequired":{"ru":"<p class=\\"d-none d-sm-block\\">\u0412\u0430\u043c \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 <span> @@price </span> \u0434\u043e \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b \u043f\u043e\u043a\u0443\u043f\u043a\u0438.</p><p class=\\"d-none d-sm-block\\" style=\\"font-weight: bold\\">\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u0438\u043b\u0438 \u0435\u0449\u0451 \u043e\u0434\u043d\u0443 PRO \u043c\u043e\u0434\u0435\u043b\u044c</p><p class=\\"d-sm-none\\">\u0412\u0430\u043c \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 <span> @@price </span> \u0434\u043e \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b \u043f\u043e\u043a\u0443\u043f\u043a\u0438. <span>\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u0438\u043b\u0438 \u0435\u0449\u0451 \u043e\u0434\u043d\u0443 PRO \u043c\u043e\u0434\u0435\u043b\u044c</span></p>","en":"<p class=\\"d-none d-sm-block\\">You are <span> @@price </span> short of the minimum purchase amount.</p><p class=\\"d-none d-sm-block\\" style=\\"font-weight: bold\\">Add one more PRO model or one more credit</p><p class=\\"d-sm-none\\">You are <span> @@price </span> short of the minimum purchase amount. <span>Add one more PRO model or one more credit</span></p>","es":"<p class=\\"d-none d-sm-block\\">Te faltan <span> @@price </span> para alcanzar el importe m\xednimo de compra.</p><p class=\\"d-none d-sm-block\\" style=\\"font-weight: bold\\">A\xf1ade un modelo PRO o un cr\xe9dito m\xe1s.</p><p class=\\"d-sm-none\\">Te faltan <span> @@price </span> para alcanzar el importe m\xednimo de compra. <span>A\xf1ade un modelo PRO o un cr\xe9dito m\xe1s.</span></p>"},"maxAccessError":{"ru":"\u041c\u0430\u043a\u0441\u0438\u043c\u0443\u043c  100 \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u0432","en":"Maximum 100 credits","es":"M\xe1ximo 100 cr\xe9ditos"},"moreCart":{"ru":"\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 \u043f\u043e\u043a\u0443\u043f\u043a\u0438 @@val","en":"Minimum purchase amount @@val","es":"Importe m\xednimo de compra es @@val"},"clearAll":{"ru":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u043a\u043e\u0440\u0437\u0438\u043d\u0443","en":"Clear the cart","es":"Vaciar el carrito"},"clearAllMob":{"ru":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c","en":"Clear","es":"Vaciar el carrito"},"viewedModelsTitle":{"ru":"\u0412\u044b \u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438","en":"Recently viewed","es":"Visto recientemente"},"viewedModelsMore":{"ru":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435","en":"Show more","es":"Mostrar m\xe1s"},"selectAll":{"ru":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u043c\u043e\u0434\u0435\u043b\u0438","en":"Select all models","es":"Seleccionar todos los modelos"},"deleteAllSelected":{"ru":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0435","en":"Remove selected","es":"Eliminar seleccionados"},"removeSelected":{"ru":"\u0412\u044b \u0442\u043e\u0447\u043d\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0438\u0437 \u043a\u043e\u0440\u0437\u0438\u043d\u044b?","en":"Are you sure you want to remove the selected models from the cart?","es":"\xbfEst\xe1s seguro de que deseas eliminar los modelos seleccionados del carrito?"},"details":{"ru":"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435","en":"Learn more","es":"Saber m\xe1s"},"cartSeoTitle":{"ru":"\u041a\u043e\u0440\u0437\u0438\u043d\u0430","en":"Cart","es":"Carrito"}},"deleteSelectedPlural":{"zero":{"ru":"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043e","en":"Nothing selected","es":"Nada seleccionado"},"one":{"ru":"@@count \u0432\u044b\u0431\u0440\u0430\u043d\u043e","en":"@@count selected","es":"@@count seleccionado"},"few":{"ru":"@@count \u0432\u044b\u0431\u0440\u0430\u043d\u043e","en":"@@count selected","es":"@@count seleccionados"},"many":{"ru":"@@count \u0432\u044b\u0431\u0440\u0430\u043d\u043e","en":"@@count selected","es":"@@count seleccionados"},"other":{"ru":"@@count \u0432\u044b\u0431\u0440\u0430\u043d\u043e","en":"@@count selected","es":"@@count seleccionados"}},"paymentModelsCountPlural":{"one":{"ru":"<span>@@count</span> <span>PRO \u043c\u043e\u0434\u0435\u043b\u044c</span>","en":"<span>@@count</span> <span>PRO model</span>","es":"<span>@@count</span> <span>modelo PRO</span>"},"few":{"ru":"<span>@@count</span> <span>PRO \u043c\u043e\u0434\u0435\u043b\u0438</span>","en":"<span>@@count</span> <span>PRO models</span>","es":"<span>@@count</span> <span>modelos PRO</span>"},"many":{"ru":"<span>@@count</span> <span>PRO \u043c\u043e\u0434\u0435\u043b\u0435\u0439</span>","en":"<span>@@count</span> <span>PRO models</span>","es":"<span>@@count</span> <span>modelos PRO</span>"},"other":{"ru":"<span>@@count</span> <span>PRO \u043c\u043e\u0434\u0435\u043b\u0435\u0439</span>","en":"<span>@@count</span> <span>PRO models</span>","es":"<span>@@count</span> <span>modelos PRO</span>"}},"modelCart":{"platform":{"ru":"\u041f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430","en":"Platform","es":"Plataforma"},"render":{"ru":"\u0420\u0435\u043d\u0434\u0435\u0440","en":"Render","es":"Renderizado"},"bookmark":{"ru":"\u0412 \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435","en":"To favorites","es":"A favoritos"},"bookmarked":{"ru":"\u0412 \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u043c","en":"In favorites","es":"En favoritos"},"delete":{"ru":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","en":"Delete","es":"Eliminar"}},"payment":{"total":{"ru":"\u0418\u0442\u043e\u0433\u043e","en":"Total","es":"Total"},"subscriptionThirtyFree":{"ru":"\u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438 30 FREE","en":"subscription 30 FREE","es":"suscripci\xf3n 30 FREE"}},"errors":{"notAuthAdd":{"ru":"\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0443\u0439\u0442\u0435\u0441\u044c, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u0438 \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443","en":"Sign in to continue adding models to your cart","es":"Inicia sesi\xf3n para continuar a\xf1adiendo modelos al carrito"},"serverAddLimit":{"ru":"\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 100 \u043c\u043e\u0434\u0435\u043b\u0435\u0439","en":"More than 100 models cannot be added to the cart","es":"No se pueden a\xf1adir m\xe1s de 100 modelos al carrito"},"alreadyExist":{"ru":"\u041c\u043e\u0434\u0435\u043b\u044c \u0443\u0436\u0435 \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0435","en":"Model is already in the cart","es":"El modelo ya est\xe1 en el carrito"},"alreadyPurchased":{"ru":"\u041c\u043e\u0434\u0435\u043b\u044c \u0443\u0436\u0435 \u043a\u0443\u043f\u043b\u0435\u043d\u0430","en":"Model is already purchased","es":"El modelo ya ha sido comprado"},"available":{"ru":"\u041c\u043e\u0434\u0435\u043b\u044c \u043d\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0434\u043b\u044f \u043f\u043e\u043a\u0443\u043f\u043a\u0438","en":"Model is not available for purchase","es":"El modelo no est\xe1 disponible para compra"}},"accessesProPlural":{"one":{"ru":"\u0434\u043e\u0441\u0442\u0443\u043f","en":"credit","es":"cr\xe9dito"},"few":{"ru":"\u0434\u043e\u0441\u0442\u0443\u043f\u0430","en":"credits","es":"cr\xe9ditos"},"many":{"ru":"\u0434\u043e\u0441\u0442\u0443\u043f\u043e\u0432","en":"credits","es":"cr\xe9ditos"},"other":{"ru":"\u0434\u043e\u0441\u0442\u0443\u043f\u0430","en":"credits","es":"cr\xe9ditos"}},"account":{"accessesToProModels":{"ru":"\u0414\u043e\u0441\u0442\u0443\u043f\u044b \u043a PRO \u043c\u043e\u0434\u0435\u043b\u044f\u043c","en":"Credits","es":"Cr\xe9ditos"},"subscriptionFree":{"ru":"\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 30 FREE \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0432 \u0434\u0435\u043d\u044c","en":"Subscription 30 FREE models per day","es":"30 modelos FREE por d\xeda"},"freeTopInfo":{"ru":"<span style=\\"font-weight: 700;\\">3</span>  FREE \u043c\u043e\u0434\u0435\u043b\u0438 \u0432 \u0434\u0435\u043d\u044c \u0431\u0435\u0437 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438","en":"<span style=\\"font-weight: 700;\\">3</span> FREE models per day without subscription","es":"<span style=\\"font-weight: 700;\\">3</span> modelos FREE al d\xeda sin suscripci\xf3n"},"subscriptionFreeTopInfo":{"ru":"\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 \xab30 FREE \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0432 \u0434\u0435\u043d\u044c\xbb \u0434\u043e&nbsp;","en":"Subscription \\"30 FREE models per day\\" until&nbsp;","es":"Suscripci\xf3n: \\"30 modelos FREE por d\xeda\\" hasta&nbsp;"},"howUseAccessesAndLimit":{"ru":"\u041a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430\u043c\u0438 \u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u043e\u0439","en":"How to use the credits and the subscription","es":"C\xf3mo usar los cr\xe9ditos y la suscripci\xf3n"},"oneAccessOnePro":{"ru":"1 \u0434\u043e\u0441\u0442\u0443\u043f \u2014 1 PRO \u043c\u043e\u0434\u0435\u043b\u044c. \u041a\u0443\u043f\u0438\u0442\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u0432 \u0438 \u0442\u0440\u0430\u0442\u044c\u0442\u0435 \u0438\u0445 \u043d\u0430 PRO \u043c\u043e\u0434\u0435\u043b\u0438. <span style=\\"font-weight: 400\\">\u041c\u043e\u0436\u043d\u043e \u043a\u0443\u043f\u0438\u0442\u044c \u043c\u0438\u043d\u0438\u043c\u0443\u043c 2 \u0434\u043e\u0441\u0442\u0443\u043f\u0430, \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c \u2014 200</span>","en":"One credit equals one PRO model. Purchase credits first, then just redeem them for PRO models.  <span style=\\"font-weight: 400\\">Purchase limits: 2 to 200 credits at a time</span>","es":"Un cr\xe9dito equivale a un modelo PRO. Primero, adquiere los cr\xe9ditos que necesites y luego canj\xe9alos por modelos PRO. <span style=\\"font-weight: 400\\">
17L\xedmites de compra: de 2 a 200 cr\xe9ditos por vez</span>"},"blueButton":{"ru":"\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0437\u0430 1 \u0434\u043e\u0441\u0442\u0443\u043f","en":"Download for 1 credit","es":"Descargar por 1 cr\xe9dito"},"greenButton":{"ru":"\u0421\u043a\u0430\u0447\u0430\u0442\u044c","en":"Download","es":"Descargar"},"afterPurchasingAccess":{"ru":"\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u043a\u0443\u043f\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430, \u043d\u0430\u0439\u0434\u0438\u0442\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0443\u044e \u0432\u0430\u043c PRO \u043c\u043e\u0434\u0435\u043b\u044c. \u041d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043a\u043d\u043e\u043f\u043a\u0430 \xab\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0437\u0430 1 \u0434\u043e\u0441\u0442\u0443\u043f\xbb.<br><p style=\\"font-weight: 500\\">\u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u044b \u043d\u0430\u0436\u043c\u0451\u0442\u0435 \u044d\u0442\u0443 \u043a\u043d\u043e\u043f\u043a\u0443 \u2014 \u0441\u043f\u0438\u0448\u0435\u043c \u0434\u043e\u0441\u0442\u0443\u043f \u0438 \u043d\u0430\u0447\u043d\u0451\u0442\u0441\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435.</p>","en":"After purchasing credits, find a suitable PRO model. The \\"Download for 1 credit\\" button will appear on the model page. As soon as you click this button, one credit debited from your balance and the download starts.","es":"Despu\xe9s de comprar los cr\xe9ditos, busca un modelo PRO adecuado. El bot\xf3n \\"Descargar por 1 cr\xe9dito\\" aparecer\xe1 en la p\xe1gina del modelo. En cuanto hagas clic en este bot\xf3n, se descontar\xe1 un cr\xe9dito de tu saldo y la descarga comenzar\xe1."},"afterUseAccess":{"ru":"\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043a\u043d\u043e\u043f\u043a\u0430 \xab\u0421\u043a\u0430\u0447\u0430\u0442\u044c\xbb \u0438 \u043c\u043e\u0434\u0435\u043b\u044c \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0442\u044c \u043d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0437 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e. \u041d\u0430\u0439\u0442\u0438 \u0438 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u044b \u043a\u0443\u043f\u0438\u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0432 \u043b\u0438\u0447\u043d\u043e\u043c \u043a\u0430\u0431\u0438\u043d\u0435\u0442\u0435 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <a class=\\"not-real-a\\" href=\\"/user/purchases\\">\u041a\u0443\u043f\u043b\u0435\u043d\u043d\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438</a>.","en":"After successful use of the credit, the \\"Download\\" button will appear on the model page and you can download the model an unlimited number of times for free. You can also find and download the model in the section <a class=\\"not-real-a\\" href=\\"/user/purchases\\">Purchased models</a> of your personal account.","es":"Tras haber usado el cr\xe9dito con \xe9xito, el bot\xf3n \\"Descargar\\" aparecer\xe1 en la p\xe1gina del modelo y podr\xe1s descargar el modelo un n\xfamero ilimitado de veces de forma gratuita. Tambi\xe9n puedes encontrar y descargar el modelo en la secci\xf3n <a class=\\"not-real-a\\" href=\\"/user/purchases\\">Modelos comprados</a> de tu cuenta personal."},"byDefaultFree":{"ru":"\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u0441\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0434\u043e 3 FREE \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0432 \u0434\u0435\u043d\u044c. <span style=\\"font-weight: 500\\">
17\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u044d\u0442\u043e\u0442 \u043b\u0438\u043c\u0438\u0442 \u0434\u043e 30 FREE \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0432 \u0434\u0435\u043d\u044c \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u043e\u043f\u043b\u0430\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0435\u0440\u0438\u043e\u0434\u0430</span>","en":"By default, all users have up to 3 FREE models available for download per day. <span style=\\"font-weight: 500\\">Subscription increases this limit to 30 FREE models per day during the paid time</span>","es":"Por defecto, todos los usuarios pueden descargar hasta 3 modelos FREE al d\xeda. <span style=\\"font-weight: 500\\">La suscripci\xf3n aumenta este l\xedmite a 30 modelos FREE por d\xeda durante el tiempo pagado</span>"},"attentionInfo":{"ru":"\u041f\u043e\u0432\u0442\u043e\u0440\u043d\u044b\u0435 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u043e\u0434\u043d\u043e\u0439 FREE \u043c\u043e\u0434\u0435\u043b\u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0442 \u0434\u043d\u0435\u0432\u043d\u043e\u0439 \u043b\u0438\u043c\u0438\u0442","en":"Repeated downloads of the same FREE model will reduce the daily limit","es":"Las descargas repetidas del mismo modelo FREE reducen el l\xedmite diario"},"addition":{"ru":"\u041b\u0438\u043c\u0438\u0442 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0435\u043d\u044c \u0432 00:00 \u043f\u043e \u043c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u043e\u043c\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438","en":"The limit is updated every day at 00:00 (UTC+3)","es":"El l\xedmite se actualiza cada d\xeda a las 00:00 (UTC+3)"},"support":{"ru":"\u0415\u0441\u043b\u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438 \u0438\u043b\u0438 \u0432\u043e\u043f\u0440\u043e\u0441\u044b, \u043f\u0438\u0448\u0438\u0442\u0435 \u0432 <a class=\\"not-real-a\\" href=\\"/feedbacks/new\\">\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443. </a> <span style=\\"color: #5E5E5E\\">\u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u043d\u043e\u043c\u0435\u0440 \u0437\u0430\u043a\u0430\u0437\u0430. \u0415\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u0445 \u0438\u043b\u0438 \u043d\u0430 \u043f\u043e\u0447\u0442\u0435. \u0422\u0430\u043a \u043c\u044b \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043d\u0430\u0439\u0434\u0451\u043c \u0432\u0430\u0448 \u0437\u0430\u043a\u0430\u0437 \u0438 \u043f\u043e\u043c\u043e\u0436\u0435\u043c</span>","en":"If you have any problems or questions, contact to <a class=\\"not-real-a\\" href=\\"/feedbacks/new\\">support. </a> We will help you figure it out! <span style=\\"color: #5E5E5E\\">Indicate the order number. It can be found in messages or by mail. This will help you find your order faster and provide assistance</span>","es":"Si tienes alg\xfan problema o pregunta, contacta con el <a class=\\"not-real-a\\" href=\\"/feedbacks/new\\">soporte. </a> \xa1Te ayudaremos! <span style=\\"color: #5E5E5E\\">Indica el n\xfamero de pedido. Se puede encontrar en los mensajes o en el correo. Esto ayudar\xe1 a encontrar tu pedido m\xe1s r\xe1pido y brindar asistencia</span>"},"topUpYouBalance":{"ru":"\u0414\u043e\u0441\u0442\u0443\u043f\u044b \u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0430","en":"Credits & Subscription","es":"Cr\xe9ditos y suscripci\xf3n"},"topUpYouBalanceAuthorized":{"ru":"\u041f\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0431\u0430\u043b\u0430\u043d\u0441","en":"Top up your balance","es":"Recargar saldo"},"youHave":{"ru":"\u0423 \u0432\u0430\u0441:&nbsp;","en":"You have:&nbsp;","es":"Usar mi saldo:&nbsp;"},"additionTitleFree":{"ru":"\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 30 FREE \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0432 \u0434\u0435\u043d\u044c","en":"Subscription 30 FREE models per day","es":"Suscripci\xf3n: 30 modelos FREE por d\xeda"},"additionTitlePro":{"ru":"\u0414\u043e\u0441\u0442\u0443\u043f\u044b \u043a PRO \u043c\u043e\u0434\u0435\u043b\u044f\u043c","en":"Credits","es":"Cr\xe9ditos"},"minAccessError":{"ru":"\u041c\u0438\u043d\u0438\u043c\u0443\u043c  @@min \u0434\u043e\u0441\u0442\u0443\u043f\u0430","en":"Minimum @@min credits","es":"M\xednimo @@min cr\xe9ditos"},"maxAccessError":{"ru":"\u041c\u0430\u043a\u0441\u0438\u043c\u0443\u043c  @@max \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u0432","en":"Maximum @@max credits","es":"M\xe1ximo @@max cr\xe9ditos"},"additionInfoPro":{"ru":"\u0414\u043e\u0441\u0442\u0443\u043f \u0441\u0442\u043e\u0438\u0442 @@price. \u0415\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442\u044c \u043d\u0430 \u043b\u044e\u0431\u0443\u044e PRO \u043c\u043e\u0434\u0435\u043b\u044c. \u041c\u043e\u0436\u043d\u043e \u043a\u0443\u043f\u0438\u0442\u044c \u043e\u0442 2 \u0434\u043e @@max \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u0432 \u0437\u0430 \u043e\u0434\u0438\u043d \u0440\u0430\u0437","en":"Each credit costs @@price and redeems for one PRO model. Purchase limits: 2 to @@max credits at a time","es":"Cada cr\xe9dito cuesta @@price y puede canjearse por un modelo PRO. L\xedmites de compra: de 2 a @@max cr\xe9ditos por transacci\xf3n"},"additionInfoFree":{"ru":"\u0423\u0432\u0435\u043b\u0438\u0447\u0438\u043c \u043b\u0438\u043c\u0438\u0442 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0439 FREE \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0441 3 \u0434\u043e 30 \u0432 \u0434\u0435\u043d\u044c","en":"Increase the FREE model download limit from 3 to 30 per day","es":"Aumenta tu l\xedmite diario de 3 a 30 modelos eligiendo un plan de suscripci\xf3n"},"selectPeriodFree":{"ru":"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u0435\u0440\u0438\u043e\u0434 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438:","en":"Select your subscription plan:","es":"Selecciona tu plan de suscripci\xf3n:"},"cartAccessDescription":{"ru":"\u0414\u043e\u0441\u0442\u0443\u043f \u0441\u0442\u043e\u0438\u0442  @@price. \u0415\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0430 \u043b\u044e\u0431\u0443\u044e PRO \u043c\u043e\u0434\u0435\u043b\u044c","en":"Each credit costs @@price and redeems for one PRO model","es":"Cada cr\xe9dito vale @@price y te permite descargar un modelo PRO"},"accountSeoTitle":{"ru":"\u0414\u043e\u0441\u0442\u0443\u043f\u044b \u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0430","en":"Credits & Subscription","es":"Cr\xe9ditos y suscripci\xf3n"}},"accountTopInfo":{"one":{"ru":"<span style=\\"font-weight: 700;\\">@@count</span> <span>\u0434\u043e\u0441\u0442\u0443\u043f \u043a PRO \u043c\u043e\u0434\u0435\u043b\u044f\u043c</span>","en":"<span style=\\"font-weight: 700;\\">@@count</span> <span>credit</span>","es":"<span style=\\"font-weight: 700;\\">@@count</span> <span>cr\xe9dito</span>"},"few":{"ru":"<span style=\\"font-weight: 700;\\">@@count</span> <span>\u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a PRO \u043c\u043e\u0434\u0435\u043b\u044f\u043c</span>","en":"<span style=\\"font-weight: 700;\\">@@count</span> <span>credits</span>","es":"<span style=\\"font-weight: 700;\\">@@count</span> <span>cr\xe9ditos</span>"},"many":{"ru":"<span style=\\"font-weight: 700;\\">@@count</span> <span>\u0434\u043e\u0441\u0442\u0443\u043f\u043e\u0432 \u043a PRO \u043c\u043e\u0434\u0435\u043b\u044f\u043c</span>","en":"<span style=\\"font-weight: 700;\\">@@count</span> <span>credits</span>","es":"<span style=\\"font-weight: 700;\\">@@count</span> <span>cr\xe9ditos</span>"},"other":{"ru":"<span style=\\"font-weight: 700;\\">@@count</span> <span>\u0434\u043e\u0441\u0442\u0443\u043f\u043e\u0432 \u043a PRO \u043c\u043e\u0434\u0435\u043b\u044f\u043c</span>","en":"<span style=\\"font-weight: 700;\\">@@count</span> <span>credits</span>","es":"<span style=\\"font-weight: 700;\\">@@count</span> <span>cr\xe9ditos</span>"}}}');var s=a(177);const I=JSON.parse('{"seo":{"title":{"ru":"@@title - \u041f\u043e\u0434\u0431\u043e\u0440\u043a\u0430 3D \u041c\u043e\u0434\u0435\u043b\u0435\u0439","en":"@@title - 3D Models Selection","es":"@@title - Selecci\xf3n de 3D modelos"},"description":{"ru":"\u041c\u043e\u0434\u0435\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f, @@list \u2013 \u0444\u043e\u0440\u043c\u0430\u0442\u044b obj, fbx, 3ds Max, \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b Vray, Mental Ray, Corona","en":"Models available for download, @@list \u2013 formats obj, fbx, 3ds Max, materials Vray, Mental Ray, Corona","es":"Modelos disponibles para descargar, @@list \u2013 formatos obj, fbx, 3ds Max, materiales Vray, Mental Ray, Corona"}}}'),W=JSON.parse('{"timeLeftSecondsPlural":{"one":{"ru":"\u0421\u0435\u043a\u0443\u043d\u0434\u0430","en":"Second","es":"Segundo"},"few":{"ru":"\u0421\u0435\u043a\u0443\u043d\u0434\u044b","en":"Seconds","es":"Segundos"},"many":{"ru":"\u0421\u0435\u043a\u0443\u043d\u0434","en":"Seconds","es":"Segundos"},"other":{"ru":"\u0421\u0435\u043a\u0443\u043d\u0434","en":"Seconds","es":"Segundos"}},"timeLeftMinutesPlural":{"one":{"ru":"\u041c\u0438\u043d\u0443\u0442\u0430","en":"Minute","es":"Minuto"},"few":{"ru":"\u041c\u0438\u043d\u0443\u0442\u044b","en":"Minutes","es":"Minutos"},"many":{"ru":"\u041c\u0438\u043d\u0443\u0442","en":"Minutes","es":"Minutos"},"other":{"ru":"\u041c\u0438\u043d\u0443\u0442","en":"Minutes","es":"Minutos"}},"timeLeftHoursPlural":{"one":{"ru":"\u0427\u0430\u0441","en":"Hour","es":"Hora"},"few":{"ru":"\u0427\u0430\u0441\u0430","en":"Hours","es":"Horas"},"many":{"ru":"\u0427\u0430\u0441\u043e\u0432","en":"Hours","es":"Horas"},"other":{"ru":"\u0427\u0430\u0441\u043e\u0432","en":"Hours","es":"Horas"}},"timeLeftDaysPlural":{"one":{"ru":"\u0414\u0435\u043d\u044c","en":"Day","es":"D\xeda"},"few":{"ru":"\u0414\u043d\u044f","en":"Days","es":"D\xedas"},"many":{"ru":"\u0414\u043d\u0435\u0439","en":"Days","es":"D\xedas"},"other":{"ru":"\u0414\u043d\u0435\u0439","en":"Days","es":"D\xedas"}},"winner":{"title":{"ru":"\u0422\u043e\u043f \u043c\u043e\u0434\u0435\u043b\u044c","en":"Hot model","es":"Top Modelo"},"timeLeftComment":{"ru":"\u041c\u043e\u0434\u0435\u043b\u044c \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0432 \u0422\u043e\u043f\u0435, \u0434\u043e \u0442\u0435\u0445 \u043f\u043e\u0440, \u043f\u043e\u043a\u0430 \u0435\u0451 \u043c\u0435\u0441\u0442\u043e \u043d\u0435 \u0437\u0430\u0439\u043c\u0451\u0442 \u0434\u0440\u0443\u0433\u0430\u044f &ndash; \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u043b\u0430\u0439\u043a\u043e\u0432 \u0438\u043b\u0438 \u043d\u0435 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u0441\u044f 14 \u0434\u043d\u0435\u0439 \u0441 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438","en":"A model stays in the Top until it\'s moved by another model with more likes or until 14 days have passed from the date of the model publication","es":"Un modelo permanece en el Top hasta que sea desplazado por otro modelo con m\xe1s likes o hasta que hayan pasado 14 d\xedas desde su publicaci\xf3n"},"timeLeftRemainingScale":{"ru":"\u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c","en":"Remaining","es":"Restante"},"timeLeftRemaining":{"ru":"\u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0438\u0437","en":"Remaining out of","es":"Tiempo restante en el Top"},"timeLeftRemainingDays":{"ru":"\u0434\u043d\u0435\u0439","en":"days","es":"d\xedas"},"timeLeftOutOfDays":{"ru":"14 \u0434\u043d\u0435\u0439","en":"14 days","es":"14 d\xedas"}},"models":{"title":{"ru":"\u0413\u043e\u043b\u043e\u0441\u0443\u0439 \u0437\u0430 \u043c\u043e\u0434\u0435\u043b\u0438","en":"Vote for the models","es":"Vota por los modelos"},"text":{"ru":"\u041c\u043e\u0434\u0435\u043b\u0438, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 14 \u0434\u043d\u0435\u0439 \u0438 \u0432\u044b\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u043f\u043e \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0443: \u0431\u043e\u043b\u044c\u0448\u0435 \u043b\u0430\u0439\u043a\u043e\u0432 \u2014 \u0431\u043b\u0438\u0436\u0435 \u043a \u0422\u043e\u043f\u0443","en":"Models published in the last 14 days and ranked by rating: more likes \u2014 closer to the Top","es":"Modelos publicados en los \xfaltimos 14 d\xedas y clasificados por valoraci\xf3n: m\xe1s likes \u2014 m\xe1s cerca del Top"}},"seo":{"title":{"ru":"\u0422\u043e\u043f \u043c\u043e\u0434\u0435\u043b\u044c - \u041b\u
170443\u0447\u0448\u0438\u0435 \u043d\u043e\u0432\u044b\u0435 3D \u043c\u043e\u0434\u0435\u043b\u0438 \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439","en":"Hot model - The best new 3D models according to users","es":"Top Modelo - Los mejores 3D modelos nuevos seg\xfan los usuarios"},"award":{"ru":"\u0422\u043e\u043f \u043c\u043e\u0434\u0435\u043b\u044c","en":"Hot model","es":"Top Modelo"},"description":{"ru":"\u0420\u0435\u0439\u0442\u0438\u043d\u0433 \u043b\u0443\u0447\u0448\u0438\u0445 3D \u043c\u043e\u0434\u0435\u043b\u0435\u0439, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0434\u0432\u0435 \u043d\u0435\u0434\u0435\u043b\u0438, \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f\u0445: \u043c\u0435\u0431\u0435\u043b\u044c, \u0434\u0435\u043a\u043e\u0440, \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u0435, \u0442\u0435\u0445\u043d\u0438\u043a\u0430, \u0440\u0430\u0441\u0442\u0435\u043d\u0438\u044f, \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b, \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u044b, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 \u043c\u043d\u043e\u0433\u043e\u0435 \u0434\u0440\u0443\u0433\u043e\u0435. \u0412\u0441\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 3ds Max. \u0420\u0435\u043d\u0434\u0435\u0440-\u0434\u0432\u0438\u0436\u043a\u0438: Vray, Corona. \u0424\u043e\u0440\u043c\u0430\u0442\u044b \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430: fbx, obj","en":"Rating of the best 3D models published in the last two weeks according to users in the categories: furniture, decor, lighting, technique, plants, characters, as well as materials, textures, scripts and much more. All models are available for download in 3ds Max format. Render engines: Vray, Corona. Export formats: fbx, obj","es":"Ranking de los mejores 3D modelos publicados en las \xfaltimas dos semanas seg\xfan los usuarios en las categor\xedas: muebles, decoraci\xf3n, iluminaci\xf3n, t\xe9cnica, plantas, personajes, as\xed como materiales, texturas, scripts y mucho m\xe1s. Todos los modelos est\xe1n disponibles para descargar en formato 3ds Max. Motores de renderizado: Vray, Corona. Formatos de exportaci\xf3n: fbx, obj"},"ogImage":{"ru":"https://3ddd.ru/ng-assets/images/logo_new.svg","en":"https://3dsky.org/ng-assets/images/logo_sky_new.svg","es":"https://3dsky.org/ng-assets/images/logo_sky_new.svg"},"ogImageAlt":{"ru":"logo 3ddd.ru","en":"logo 3dsky.org","es":"logo 3dsky.org"},"ogSiteName":{"ru":"3ddd","en":"3dsky","es":"3dsky"}}}'),G=JSON.parse('{"royaltyFree":{"title":{"ru":"Royalty free","en":"Royalty free","es":"Royalty free"},"subtitle":{"ru":"\u041a\u0440\u0430\u0442\u043a\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438","en":"Brief description of the license","es":"Descripci\xf3n breve de la licencia"},"infoFirst":{"ru":"\u0414\u043b\u044f \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0438\u0445 \u0438 \u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432","en":"For commercial and personal projects","es":"Para proyectos comerciales y personales"},"infoSecond":{"ru":"\u041d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0440\u0430\u0437 \u0438 \u043d\u0430\u0432\u0441\u0435\u0433\u0434\u0430","en":"Unlimited usage forever","es":"N\xfamero ilimitado de usos y sin l\xedmite de tiempo"},"infoThird":{"ru":"\u0412 \u043b\u044e\u0431\u043e\u0439 \u0442\u043e\u0447\u043a\u0435 \u043f\u043b\u0430\u043d\u0435\u0442\u044b","en":"Worldwide","es":"V\xe1lido en cualquier parte del mundo"},"alertSubtitle":{"ru":"\u0417\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u0442\u0441\u044f:","en":"Prohibited:","es":"Prohibido:"},"alertFirst":{"ru":"\u041f\u0440\u043e\u0434\u0430\u0432\u0430\u0442\u044c \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u0438","en":"Selling or transferring models","es":"Vender o transferir los modelos"},"alertSecond":{"ru":"\u0412\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u0438 \u0432 \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442","en":"Posting models on the Internet","es":"Publicar los modelos en Internet"},"alertThird":{"ru":"\u0418\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0434\u0430\u0436\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435","en":"Modifying models for resale","es":"Modificar los modelos para su reventa"},"bottomLink":{"ru":"\u041f\u043e\u043b\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f","en":"Full description of terms of use","es":"Descripci\xf3n completa de los t\xe9rminos de uso"}}}'),B=JSON.parse('{"global":{"title":{"en":"Search by image","ru":"\u041f\u043e\u0438\u0441\u043a \u043f\u043e \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435","es":"Buscar por imagen"},"imageTitle":{"en":"Drag an image here","ru":"\u041f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0441\u044e\u0434\u0430","es":"Arrastra una imagen aqu\xed"},"imageSubTitle":{"en":"Paste from clipboard or click the button","ru":"\u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0438\u0437 \u0431\u0443\u0444\u0435\u0440\u0430 \u043e\u0431\u043c\u0435\u043d\u0430 \u0438\u043b\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443","es":"Pega de
17sde el portapapeles o haz clic en el bot\xf3n"},"getFile":{"en":"Select a file","ru":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0444\u0430\u0439\u043b","es":"Seleccionar archivo"},"search":{"en":"Search","ru":"\u041d\u0430\u0439\u0442\u0438","es":"Buscar"},"formatError":{"en":"Wrong format. Upload an image in formats: png, jpg, svg","ru":"\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442. \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u0445: png, jpg, svg","es":"Formato incorrecto. Sube una imagen en formatos: png, jpg, svg"},"placeholder":{"en":"Paste image link","ru":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f","es":"Pega el enlace de la imagen"},"findByImage":{"en":"Found from the image","ru":"\u041d\u0430\u0439\u0434\u0435\u043d\u043e \u043f\u043e \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435","es":"Encontrado por imagen"},"uploadingImage":{"en":"Uploading an image","ru":"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f","es":"Subiendo imagen"},"searchByImage":{"ru":"\u041f\u043e\u0438\u0441\u043a \u043f\u043e \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435","en":"Search by image","es":"Buscar por imagen"}}}'),J=JSON.parse('{"global":{"title":{"ru":"\u0417\u0430\u043a\u0430\u0437","en":"Order","es":"Pedido"},"limitPro":{"ru":"\u0414\u043e\u0441\u0442\u0443\u043f\u044b","en":"Credits","es":"Cr\xe9ditos"},"limitFree":{"ru":"\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 30 FREE \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0432 \u0434\u0435\u043d\u044c","en":"Subscription 30 FREE models per day","es":"Suscripci\xf3n: 30 modelos FREE por d\xeda"},"enlargeLimitFree":{"ru":"\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 30 FREE \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0432 \u0434\u0435\u043d\u044c \u043d\u0430","en":"Subscription 30 FREE models per day for","es":"Suscripci\xf3n de 30 modelos FREE por d\xeda por"},"more":{"ru":"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435","en":"More","es":"M\xe1s"},"limitProDescr":{"ru":"\u041c\u043e\u0436\u043d\u043e \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442\u044c \u043d\u0430 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 PRO \u043c\u043e\u0434\u0435\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u0435\u0449\u0451 \u043d\u0435 \u043f\u043e\u043a\u0443\u043f\u0430\u043b\u0438","en":"You can redeem credits for PRO models","es":"Puedes canjear tus cr\xe9ditos por modelos PRO"},"limitFreeDescr":{"ru":"\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0442\u044c \u0434\u043e 30 FREE \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0432 \u0434\u0435\u043d\u044c \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u043a\u0443\u043f\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0435\u0440\u0438\u043e\u0434\u0430","en":"Allows you to download up to 30 FREE models per day during the selected period","es":"Permite descargar hasta 30 FREE modelos por d\xeda durante el per\xedodo seleccionado"},"total":{"ru":"\u0418\u0442\u043e\u0433\u043e:","en":"Total:","es":"Total:"},"purchased":{"ru":"\u041a\u0443\u043f\u043b\u0435\u043d\u043e:","en":"Purchased:","es":"Comprado:"},"purchasedModels":{"ru":"\u041a\u0443\u043f\u043b\u0435\u043d\u043d\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438","en":"Purchased models","es":"Modelos comprados"},"taxes":{"ru":"\u0421\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0437\u0430\u043a\u0430\u0437\u0430: @@cost + \u043d\u0430\u043b\u043e\u0433: @@tax","en":"Order cost: @@cost + taxes: @@tax","es":"Costo del pedido: @@cost + impuestos: @@tax"},"accessFaqUrl":{"ru":"/faq/125/show","en":"/faq/166/show","es":"/faq/166/show"},"accessFreeFaqUrl":{"ru":"/faq/227/show","en":"/faq/228/show","es":"/faq/228/show"}}
17,"accessesProPlural":{"one":{"ru":"@@val \u0434\u043e\u0441\u0442\u0443\u043f","en":"@@val credit","es":"@@val cr\xe9dito"},"few":{"ru":"@@val \u0434\u043e\u0441\u0442\u0443\u043f\u0430","en":"@@val credits","es":"@@val cr\xe9ditos"},"many":{"ru":"@@val \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u0432","en":"@@val credits","es":"@@val cr\xe9ditos"},"other":{"ru":"@@val \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u0432","en":"@@val credits","es":"@@val cr\xe9ditos"}},"accessesFreeMonthPlural":{"one":{"ru":"@@val \u043c\u0435\u0441\u044f\u0446","en":"@@val month","es":"@@val mes"},"few":{"ru":"@@val \u043c\u0435\u0441\u044f\u0446\u0430","en":"@@val months","es":"@@val meses"},"many":{"ru":"@@val \u043c\u0435\u0441\u044f\u0446\u0435\u0432","en":"@@val months","es":"@@val meses"},"other":{"ru":"@@val \u043c\u0435\u0441\u044f\u0446\u0435\u0432","en":"@@val months","es":"@@val meses"}},"accessesFreeDayPlural":{"one":{"ru":"@@val \u0434\u0435\u043d\u044c","en":"@@val day","es":"@@val d\xeda"},"few":{"ru":"@@val \u0434\u043d\u044f","en":"@@val days","es":"@@val d\xedas"},"many":{"ru":"@@val \u0434\u043d\u0435\u0439","en":"@@val days","es":"@@val d\xedas"},"other":{"ru":"@@val \u0434\u043d\u0435\u0439","en":"@@val days","es":"@@val d\xedas"}},"modelsCountPlural":{"one":{"ru":"@@count \u043c\u043e\u0434\u0435\u043b\u044c","en":"@@count model","es":"@@count modelo"},"few":{"ru":"@@count \u043c\u043e\u0434\u0435\u043b\u0438","en":"@@count models","es":"@@count modelos"},"many":{"ru":"@@count \u043c\u043e\u0434\u0435\u043b\u0435\u0439","en":"@@count models","es":"@@count modelos"},"other":{"ru":"@@count \u043c\u043e\u0434\u0435\u043b\u0438","en":"@@count models","es":"@@count modelos"}}}'),z=JSON.parse('{"global":{"favorites":{"ru":"\u0418\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435","en":"Favorites","es":"Favoritos"}}}'),w=JSON.parse('{"subscribersPlural":{"one":{"ru":"\u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a","en":"follower","es":"seguidor"},"few":{"ru":"\u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u0430","en":"followers","es":"seguidores"},"many":{"ru":"\u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432","en":"followers","es":"seguidores"},"other":{"ru":"\u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432","en":"followers","es":"seguidores"}},"subscribedToPlural":{"one":{"ru":"\u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0430","en":"following","es":"siguiendo"},"few":{"ru":"\u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438","en":"following","es":"siguiendo"},"many":{"ru":"\u043f\u043e\u0434\u043f\u0438\u0441\u043e\u043a","en":"following","es":"siguiendo"},"other":{"ru":"\u043f\u043e\u0434\u043f\u0438\u0441\u043e\u043a","en":"following","es":"siguiendo"}},"forum":{"posts":{"ru":"\u0412\u0441\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f","en":"\u0412\u0441\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f","es":"Todos los mensajes"},"threads":{"ru":"\u0422\u0435\u043c\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f","en":"\u0422\u0435\u043c\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f","es":"Temas del usuario"},"no-threads":{"ru":"\u0423 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0435\u0442 \u0442\u0435\u043c \u043d\u0430 \u0444\u043e\u0440\u0443\u043c\u0435","en":"\u0423 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0435\u0442 \u0442\u0435\u043c \u043d\u0430 \u0444\u043e\u0440\u0443\u043c\u0435","es":"\u0423 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0435\u0442 \u0442\u0435\u043c \u043d\u0430 \u0444\u043e\u0440\u0443\u043c\u0435"}},"global":{"models":{"ru":"\u041c\u043e\u0434\u0435\u043b\u0438","en":"Models","es":"Modelos"},"gallery":{"ru":"\u0413\u0430\u043b\u0435\u0440\u0435\u044f","en":"Gallery","es":"Galer\xeda"},"forum":{"ru":"\u0424\u043e\u0440\u0443\u043c","en":"Forum","es":"Foro"},"blogs":{"ru":"\u0411\u043b\u043e\u0433","en":"Blog","es":"Blog"},"activity":{"ru":"\u0410\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c","en":"Activity","es":"Actividad"},"follow":{"ru":"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f","en":"Follow","es":"Seguir"},"unfollow":{"ru":"\u0412\u044b \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b","en":"Unfollow","es":"Dejar de seguir"},"unfollow-tooltip":{"ru":"\u0412\u044b \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b","en":"You\'re Following","es":"Sigues"},"details":{"ru":"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435","en":"Details","es":"Detalles"},"location":{"ru":"\u0413\u043e\u0440\u043e\u0434","en":"Location","es":"Ubicaci\xf3n"},"birthday":{"ru":"\u0414\u0435\u043d\u044c \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f","en":"Birthday","es":"Cumplea\xf1os"},"gender":{"ru":"\u041f\u043e\u043b","en":"Gender","es":"G\xe9nero"},"gender-male":{"ru":"\u041c\u0443\u0436\u0441\u043a\u043e\u0439","en":"Male","es":"Masculino"},"gender-female":{"ru":"\u0416\u0435\u043d\u0441\u043a\u0438\u0439","en":"Female","es":"Femenino"},"site":{"ru":"\u0421\u0430\u0439\u0442","en":"Site","es":"Sitio"},"message":{"ru":"\u041d\u0430\u043f\u0438\u0441\u0430\u0442\u044c","en":"Message","es":"Mensaje"},"user-awards":{"ru":"\u041c\u0435\u0434\u0430\u043b\u0438 @@username","en":"@@username\'s Medals","es":"Medallas de @@username"},"on-site":{"ru":"\u043d\u0430 3ddd","en":"on 3dsky","es":"en 3dsky"},"portfolio":{"ru":"\u041f\u043e\u0440\u0442\u0444\u043e\u043b\u0438\u043e","en":"portfolio","es":"portafolio"},"model-search":{"ru":"\u041d\u0430\u0439\u0442\u0438 3D \u043c\u043e\u0434\u0435\u043b\u0438","en":"Search 3D models","es":"Buscar modelos 3D"},"admin-menu":{"ru":"\u041c\u0435\u043d\u044e \u0430\u0434\u043c\u0438\u043d\u0430","en":"Admin menu","es":"Men\xfa de administrador"}},"seo":{"title":{"ru":"@@username - 3D \u043c\u043e\u0434\u0435\u043b\u0438 \u0438 \u0433\u0430\u043b\u0435\u0440\u0435\u044f \u0440\u0430\u0431\u043e\u0442 \u043d\u0430 3ddd.ru","en":"@@username - 3D Models and Artwork Gallery on 3dsky.org","es":"@@username - 3D Modelos y galer\xeda de trabajos en 3dsky.org"},"description":{"ru":"\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f @@username \u043d\u0430 3ddd.ru \u2013 3D \u043c\u043e\u0434\u0435\u043b\u0435\u0439: @@models, \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432: @@subscribers.","en":"Explore @@username portfolio on 3dsky.org \u2013 3D models: @@models, subscribers: @@subscribers.","es":"Explora el portafolio de @@username en 3dsky.org \u2013 3D modelos: @@models, seguidores: @@subscribers."},"title-models":{"ru":"@@username - 3D \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u043d\u0430 3ddd.ru","en":"@@username\'s 3D Models - Download and Buy on 3dsky.org","es":"3D modelos de @@username - Descargar y comprar en 3dsky.org"},"description-models":{"ru":"\u041a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f 3D \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u043e\u0442 @@username \u043d\u0430 3ddd.ru. \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0439\u0442\u0435 \u0438 \u043f\u043e\u043a\u0443\u043f\u0430\u0439\u0442\u0435 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432. \u0414\u043e\u0441\u0442\u0443\u043f\u043d\u043e @@models \u043c\u043e\u0434\u0435\u043b\u0435\u0439.","en":"Download or buy high-quality 3D models by @@username on 3dsky.org. @@models models available for your projects.","es":"Descarga o compra 3D modelos de alta calidad por @@username en 3dsky.org. @@models modelos disponibles para tus proyectos."},"title-gallery":{"ru":"@@username - \u0413\u0430\u043b\u0435\u0440\u0435\u044f 3D \u0440\u0430\u0431\u043e\u0442 \u043d\u0430 3ddd.ru - 3D \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u043d\u0430 3ddd.ru","en":"@@username - \u0413\u0430\u043b\u0435\u0440\u0435\u044f 3D \u0440\u0430\u0431\u043e\u0442 \u043d\u0430 3ddd.ru - 3D \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u043d\u0430 3ddd.ru","es":"@@username - Galer\xeda de 3D trabajos en 3dsky.org - Modelos 3D para descargar"},"description-gallery":{"ru":"\u0413\u0430\u043b\u0435\u0440\u0435\u044f 3D \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439 \u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 @@username \u043d\u0430 3ddd.ru. @@total \u0440\u0430\u0431\u043e\u0442 \u0434\u043b\u044f \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0435\u043d\u0438\u044f \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f.","en":"\u0413\u0430\u043b\u0435\u0440\u0435\u044f 3D \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439 \u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 @@username \u043d\u0430 3ddd.ru. @@total \u0440\u0430\u0431\u043e\u0442 \u0434\u043b\u044f \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0435\u043d\u0438\u044f \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f.","es":"Galer\xeda de 3D visualizaciones y proyectos de @@username en 3dsky.org. @@total trabajos para inspiraci\xf3n y uso."},"title-forum":{"ru":"@@username - \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0430 \u0444\u043e\u0440\u0443\u043c\u0435 3ddd.ru","en":"@@username - \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0430 \u0444\u043e\u0440\u0443\u043c\u0435 3ddd.ru","es":"@@username - Mensajes en el foro de 3dsky.org"},"description-forum":{"ru":"\u0412\u0441\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f @@username \u043d\u0430 \u0444\u043e\u0440\u0443\u043c\u0435 3ddd.ru. \u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f 3D-\u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432.","en":"\u0412\u0441\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f @@username \u043d\u0430 \u0444\u043e\u0440\u0443\u043c\u0435 3ddd.ru. \u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f 3D-\u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432.","es":"Todos los mensajes de @@username en el foro de 3dsky.org. Discusiones sobre 3D-modelado y proyectos."},"title-forum-threads":{"ru":"@@username - \u0422\u0435\u043c\u044b \u043d\u0430 \u0444\u043e\u0440\u0443\u043c\u0435 3ddd.ru","en":"@@username - \u0422\u0435\u043c\u044b \u043d\u0430 \u0444\u043e\u0440\u0443\u043c\u0435 3ddd.ru","es":"@@username - Temas en el foro de 3dsky.org"},"description-forum-threads":{"ru":"\u0421\u043f\u0438\u0441\u043e\u043a \u0442\u0435\u043c, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0445 @@username \u043d\u0430 \u0444\u043e\u0440\u0443\u043c\u0435 3ddd.ru. \u041e\u0431\u043c\u0435\u043d \u043e\u043f\u044b\u0442\u043e\u043c \u0438 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 3D-\u0433\u0440\u0430\u0444\u0438\u043a\u0438.","en":"\u0421\u043f\u0438\u0441\u043e\u043a \u0442\u0435\u043c, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0445 @@username \u043d\u0430 \u0444\u043e\u0440\u0443\u043c\u0435 3ddd.ru. \u041e\u0431\u043c\u0435\u043d \u043e\u043f\u044b\u0442\u043e\u043c \u0438 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 3D-\u0433\u0440\u0430\u0444\u0438\u043a\u0438.","es":"Lista de temas creados por @@username en el foro de 3dsky.org. Intercambio de experiencias y discusi\xf3n sobre gr\xe1ficos 3D."},"title-blogs":{"ru":"@@username - \u0411\u043b\u043e\u0433 \u043e 3D-\u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043d\u0430 3ddd.ru","en":"@@username - \u0411\u043b\u043e\u0433 \u043e 3D-\u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043d\u0430 3ddd.ru","es":"@@username - Blog sobre 3D-modelado en 3dsky.org"},"description-blogs":{"ru":"\u0427\u0438\u0442\u0430\u0439\u0442\u0435 \u0431\u043b\u043e\u0433 @@username \u043d\u0430 3ddd.ru. \u0421\u043e\u0432\u0435\u0442\u044b, \u043d\u043e\u0432\u043e\u0441\u0442\u0438 \u0438 \u0443\u0440\u043e\u043a\u0438 \u043f\u043e 3D-\u0433\u0440\u0430\u0444\u0438\u043a\u0435. @@total \u0437\u0430\u043f\u0438\u0441\u0435\u0439.","en":"\u0427\u0438\u0442\u0430\u0439\u0442\u0435 \u0431\u043b\u043e\u0433 @@username \u043d\u0430 3ddd.ru. \u0421\u043e\u0432\u0435\u0442\u044b, \u043d\u043e\u0432\u043e\u0441\u0442\u0438 \u0438 \u0443\u0440\u043e\u043a\u0438 \u043f\u043e 3D-\u0433\u0440\u0430\u0444\u0438\u043a\u0435. @@total \u0437\u0430\u043f\u0438\u0441\u0435\u0439.","es":"Lee el blog de @@username en 3dsky.org. Consejos, noticias y tutoriales sobre gr\xe1ficos 3D. @@total entradas."},"schema-org-models-name":{"ru":"3D \u043c\u043e\u0434\u0435\u043b\u0438","en":"3D models","es":"3D modelos"},"schema-org-models-description":{"ru":"\u041a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f 3D \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f","en":"\u041a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f 3D \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f","es":"Colecci\xf3n de modelos 3D del usuario"}},"newsletter-subscription":{"title":{"ru":"\u041f\u043e\u0434\u043f\u0438\u0448\u0438\u0442\u0435\u0441\u044c \u043d\u0430 \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0443 <br>\u0441 \u043d\u043e\u0432\u043e\u0441\u0442\u044f\u043c\u0438 \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u043e\u0442 3ddd","en":"Get emails with updates <br>& news from 3dsky","es":"Recibir correos con novedades <br>y actualizaciones de 3dsky"},"not-now":{"ru":"\u041d\u0435 \u0441\u0435\u0439\u0447\u0430\u0441","en":"Not now","es":"Ahora no"},"subscribe":{"ru":"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f","en":"Subscribe","es":"Suscribirse"},"info":{"ru":"\u0423\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u043e\u0439 \u043c\u043e\u0436\u043d\u043e <br>\u0432 \u043b\u0438\u0447\u043d\u043e\u043c \u043a\u0430\u0431\u0438\u043d\u0435\u0442\u0435","en":"You can manage your subscription <br>in your account settings","es":"Puedes gestionar tu suscripci\xf3n en <br>la configuraci\xf3n de tu cuenta"}}}'),U=JSON.parse('{"global":{"main":{"ru":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f","en":"Main","es":"Inicio"},"catalog":{"ru":"3D \u041c\u043e\u0434\u0435\u043b\u0438","en":"3D Models","es":"Modelos 3D"},"gallery":{"ru":"\u0413\u0430\u043b\u0435\u0440\u0435\u044f","en":"Gallery","es":"Galer\xeda"},"work":{"ru":"\u0420\u0430\u0431\u043e\u0442\u0430","en":"Work","es":"Trabajo"},"forum":{"ru":"\u0424\u043e\u0440\u0443\u043c","en":"Forum","es":"Foro"},"blogs":{"ru":"\u0411\u043b\u043e\u0433\u0438","en":"Blogs","es":"Blogs"},"blog":{"ru":"\u0411\u043b\u043e\u0433","en":"Blog","es":"Blog"},"aiSearch":{"ru":"\u0418\u0418 \u043f\u043e\u0438\u0441\u043a 3D \u043c\u043e\u0434\u0435\u043b\u0435\u0439","en":"3D Model Search with AI","es":"B\xfasqueda de modelos con IA"},"userAccount":{"ru":"\u0414\u043e\u0441\u0442\u0443\u043f\u044b \u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0430","en":"Credits & subscription","es":"Cr\xe9ditos y suscripci\xf3n"},"proAccess":{"ru":"\u0414\u043e\u0441\u0442\u0443\u043f\u044b \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f PRO \u043c\u043e\u0434\u0435\u043b\u0435\u0439","en":"Your credits for downloading PRO models","es":"Tus cr\xe9ditos para descargar modelos PRO"},"freeAccess":{"ru":"\u0414\u043d\u0435\u0432\u043d\u043e\u0439 \u043b\u0438\u043c\u0438\u0442 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f FREE \u043c\u043e\u0434\u0435\u043b\u0435\u0439","en":"Daily download limit for FREE models","es":"L\xedmite diario para descargar modelos FREE"},"join":{"ru":"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f","en":"Join","es":"Registrarse"},"signIn"
17:{"ru":"\u0412\u043e\u0439\u0442\u0438","en":"Sign in","es":"Iniciar sesi\xf3n"},"profile":{"ru":"\u041f\u0440\u043e\u0444\u0438\u043b\u044c","en":"Profile","es":"Perfil"},"logOut":{"ru":"\u0412\u044b\u0439\u0442\u0438","en":"Log out","es":"Cerrar sesi\xf3n"},"balance":{"ru":"\u0411\u0430\u043b\u0430\u043d\u0441:","en":"Balance:","es":"Saldo:"},"topUp":{"ru":"\u041f\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c","en":"Top up","es":"Recargar"},"purchasedModels":{"ru":"\u041a\u0443\u043f\u043b\u0435\u043d\u043d\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438","en":"Purchased models","es":"Modelos comprados"},"myModels":{"ru":"\u041c\u043e\u0438 \u043c\u043e\u0434\u0435\u043b\u0438","en":"My models","es":"Mis modelos"},"profit":{"ru":"\u0414\u043e\u0445\u043e\u0434","en":"Profit","es":"Ganancias"},"favorites":{"ru":"\u0418\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435","en":"Favorites","es":"Favoritos"},"messages":{"ru":"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f","en":"Messages","es":"Mensajes"},"notifications":{"ru":"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f","en":"Notifications","es":"Notificaciones"}},"creditsPlural":{"one":{"ru":"<span style=\\"font-weight: 700\\">@@count</span><span> PRO</span>","en":"<span style=\\"font-weight: 700\\">@@count</span><span> Credit</span>","es":"<span style=\\"font-weight: 700\\">@@count</span><span> cr\xe9dito</span>"},"few":{"ru":"<span style=\\"font-weight: 700\\">@@count</span><span> PRO</span>","en":"<span style=\\"font-weight: 700\\">@@count</span><span> Credits</span>","es":"<span style=\\"font-weight: 700\\">@@count</span><span> cr\xe9ditos</span>"},"many":{"ru":"<span style=\\"font-weight: 700\\">@@count</span><span> PRO</span>","en":"<span style=\\"font-weight: 700\\">@@count</span><span> Credits</span>","es":"<span style=\\"font-weight: 700\\">@@count</span><span> cr\xe9ditos</span>"},"other":{"ru":"<span style=\\"font-weight: 700\\">@@count</span><span> PRO</span>","en":"<span style=\\"font-weight: 700\\">@@count</span><span> Credits</span>","es":"<span style=\\"font-weight: 700\\">@@count</span><span> cr\xe9ditos</span>"}}}'),Z=JSON.parse('{"filters":{"models":{"ru":"\u0421 \u043c\u043e\u0434\u0435\u043b\u044f\u043c\u0438","en":"\u0421 \u043c\u043e\u0434\u0435\u043b\u044f\u043c\u0438","es":"\u0421 \u043c\u043e\u0434\u0435\u043b\u044f\u043c\u0438"},"favorites":{"ru":"\u0418\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435","en":"\u0418\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435","es":"\u0418\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435"},"following":{"ru":"\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0438","en":"\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0438","es":"\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0438"},"award":{"ru":"Award","en":"Award","es":"Award"},"hill-king":{"ru":"3D \u0433\u043e\u0440\u0430","en":"3D \u0433\u043e\u0440\u0430","es":"3D \u0433\u043e\u0440\u0430"},"mobileTitle":{"ru":"\u0424\u0438\u043b\u044c\u0442\u0440\u044b","en":"\u0424\u0438\u043b\u044c\u0442\u0440\u044b","es":"\u0424\u0438\u043b\u044c\u0442\u0440\u044b"},"mobileClear":{"ru":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c","en":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c","es":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c"},"mobileClearFilters":{"ru":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b","en":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b","es":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b"},"mobileApply":{"ru":"\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c","en":"\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c","es":"\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c"},"mobileClose":{"ru":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c","en":"","es":""},"all":{"ru":"\u0412\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u044b","en":"\u0412\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u044b","es":"\u0412\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u044b"}
17,"awardTooltip":{"ru":"\u041b\u0443\u0447\u0448\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b 3ddd.ru","en":"\u041b\u0443\u0447\u0448\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b 3ddd.ru","es":"\u041b\u0443\u0447\u0448\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b 3ddd.ru"},"mountainTooltip":{"ru":"\u041b\u0443\u0447\u0448\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439","en":"\u041b\u0443\u0447\u0448\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439","es":"\u041b\u0443\u0447\u0448\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439"},"categories":{"ru":"\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","en":"\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","es":"\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438"}},"filtersOrder":{"relevance":{"ru":"\u0420\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u044b\u0435","en":"\u0420\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u044b\u0435","es":"\u0420\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u044b\u0435"},"new":{"ru":"\u041d\u043e\u0432\u044b\u0435","en":"\u041d\u043e\u0432\u044b\u0435","es":"\u041d\u043e\u0432\u044b\u0435"},"popular":{"ru":"\u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435","en":"\u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435","es":"\u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435"},"views":{"ru":"\u0411\u043e\u043b\u044c\u0448\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432","en":"\u0411\u043e\u043b\u044c\u0448\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432","es":"\u0411\u043e\u043b\u044c\u0448\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432"},"comments":{"ru":"\u0411\u043e\u043b\u044c\u0448\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432","en":"\u0411\u043e\u043b\u044c\u0448\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432","es":"\u0411\u043e\u043b\u044c\u0448\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432"}},"global":{"admin-menu":{"ru":"\u041c\u043e\u0434\u0435\u0440\u0430\u0446\u0438\u044f","en":"Admin menu","es":"Men\xfa de administrador"},"noResultTitle":{"ru":"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0448\u043b\u043e\u0441\u044c","en":"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0448\u043b\u043e\u0441\u044c","es":"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0448\u043b\u043e\u0441\u044c"},"noResultText":{"ru":"\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0438\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0444\u0438\u043b\u044c\u0442\u0440\u044b","en":"\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0438\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0444\u0438\u043b\u044c\u0442\u0440\u044b","es":"\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0438\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0444\u0438\u043b\u044c\u0442\u0440\u044b"},"noResultTitleFavorites":{"ru":"\u0417\u0434\u0435\u0441\u044c \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0432 \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435","en":"\u0417\u0434\u0435\u0441\u044c \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0432 \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435","es":"\u0417\u0434\u0435\u0441\u044c \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0432 \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435"},"noResultTitleFollowing":{"ru":"\u0417\u0434\u0435\u0441\u044c \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0430\u0432\u0442\u043e\u0440\u043e\u0432, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u044b \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b","en":"\u0417\u0434\u0435\u0441\u044c \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0430\u0432\u0442\u043e\u0440\u043e\u0432, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u044b \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b","es":"\u0417\u0434\u0435\u0441\u044c \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0430\u0432\u0442\u043e\u0440\u043e\u0432, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u044b \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b"},"noResultImgAlt":{"ru":"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0448\u043b\u043e\u0441\u044c","en":"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0448\u043b\u043e\u0441\u044c","es":"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0448\u043b\u043e\u0441\u044c"},"labels":{"ru":"\u043c\u043e\u0434\u0435\u043b\u0438","en":"\u043c\u043e\u0434\u0435\u043b\u0438","es":"\u043c\u043e\u0434\u0435\u043b\u0438"}},"totalPlural":{"one":{"ru":"\u041d\u0430\u0439\u0434\u0435\u043d\u0430 @@total \u0440\u0430\u0431\u043e\u0442\u0430","en":"\u041d\u0430\u0439\u0434\u0435\u043d\u0430 @@total \u0440\u0430\u0431\u043e\u0442\u0430","es":"\u041d\u0430\u0439\u0434\u0435\u043d\u0430 @@total \u0440\u0430\u0431\u043e\u0442\u0430"},"few":{"ru":"\u041d\u0430\u0439\u0434\u0435\u043d\u043e @@total \u0440\u0430\u0431\u043e\u0442\u044b","en":"\u041d\u0430\u0439\u0434\u0435\u043d\u043e @@total \u0440\u0430\u0431\u043e\u0442\u044b","es":"\u041d\u0430\u0439\u0434\u0435\u043d\u043e @@total \u0440\u0430\u0431\u043e\u0442\u044b"},"many":{"ru":"\u041d\u0430\u0439\u0434\u0435\u043d\u043e @@total \u0440\u0430\u0431\u043e\u0442","en":"\u041d\u0430\u0439\u0434\u0435\u043d\u043e @@total \u0440\u0430\u0431\u043e\u0442","es":"\u041d\u0430\u0439\u0434\u0435\u043d\u043e @@total \u0440\u0430\u0431\u043e\u0442"},"other":{"ru":"\u041d\u0430\u0439\u0434\u0435\u043d\u043e @@total \u0440\u0430\u0431\u043e\u0442","en":"\u041d\u0430\u0439\u0434\u0435\u043d\u043e @@total \u0440\u0430\u0431\u043e\u0442","es":"\u041d\u0430\u0439\u0434\u0435\u043d\u043e @@total \u0440\u0430\u0431\u043e\u0442"}},"tooltip":{"isTop":{"ru":"\u0426\u0430\u0440\u044c \u0433\u043e\u0440\u044b \u2013 \u043b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0434\u0432\u0435 \u043d\u0435\u0434\u0435\u043b\u0438, \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439","en":"\u0426\u0430\u0440\u044c \u0433\u043e\u0440\u044b \u2013 \u043b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0434\u0432\u0435 \u043d\u0435\u0434\u0435\u043b\u0438, \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439","es":"\u0426\u0430\u0440\u044c \u0433\u043e\u0440\u044b \u2013 \u043b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0434\u0432\u0435 \u043d\u0435\u0434\u0435\u043b\u0438, \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439"},"isMountain":{"ru":"\u041f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u044c \u0426\u0430\u0440\u044f \u0433\u043e\u0440\u044b \u2013 \u043b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439","en":"\u041f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u044c \u0426\u0430\u0440\u044f \u0433\u043e\u0440\u044b \u2013 \u043b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439","es":"\u041f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u044c \u0426\u0430\u0440\u044f \u0433\u043e\u0440\u044b \u2013 \u043b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439"},"isAward":{"ru":"Award \u2013 \u043b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b 3ddd.ru","en":"Award \u2013 \u043b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b 3ddd.ru","es":"Award \u2013 \u043b\u0443\u0447\u0448\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u043c\u043d\u0435\u043d\u0438\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b 3ddd.ru"},"labels":{"ru":"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u0438<br>\u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435","en":"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u0438<br>\u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435","es":"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u0438<br>\u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435"}},"seo":{"title":{"ru":"\u0413\u0430\u043b\u0435\u0440\u0435\u044f 2D \u0438 3D \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432","en":"\u0413\u0430\u043b\u0435\u0440\u0435\u044f 2D \u0438 3D \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432","es":"\u0413\u0430\u043b\u0435\u0440\u0435\u044f 2D \u0438 3D \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432"},"title-category":{"ru":"\u0413\u0430\u043b\u0435\u0440\u0435\u044f 2D \u0438 3D \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 - @@category","en":"\u0413\u0430\u043b\u0435\u0440\u0435\u044f 2D \u0438 3D \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 - @@category","es":"\u0413\u0430\u043b\u0435\u0440\u0435\u044f 2D \u0438 3D \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 - @@category"},"description":{"ru":"\u041c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e 2D \u0438 3D \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439 \u0432 \u0433\u0430\u043b\u0435\u0440\u0435\u0435 \u043d\u0430 3ddd: \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430, \u0438\u043d\u0442\u0435\u0440\u044c\u0435\u0440, \u043e\u0431\u044a\u0435\u043a\u0442\u044b, \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0438, \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435, 2D \u0430\u0440\u0442 \u0438 \u043c\u043d\u043e\u0433\u043e\u0435 \u0434\u0440\u0443\u0433\u043e\u0435","en":"\u041c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e 2D \u0438 3D \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439 \u0432 \u0433\u0430\u043b\u0435\u0440\u0435\u0435 \u043d\u0430 3ddd: \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430, \u0438\u043d\u0442\u0435\u0440\u044c\u0435\u0440, \u043e\u0431\u044a\u0435\u043a\u0442\u044b, \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0438, \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435, 2D \u0430\u0440\u0442 \u0438 \u043c\u043d\u043e\u0433\u043e\u0435 \u0434\u0440\u0443\u0433\u043e\u0435","es":"\u041c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e 2D \u0438 3D \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439 \u0432 \u0433\u0430\u043b\u0435\u0440\u0435\u0435 \u043d\u0430 3ddd: \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430, \u0438\u043d\u0442\u0435\u0440\u044c\u0435\u0440, \u043e\u0431\u044a\u0435\u043a\u0442\u044b, \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u0436\u0438, \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435, 2D \u0430\u0440\u0442 \u0438 \u043c\u043d\u043e\u0433\u043e\u0435 \u0434\u0440\u0443\u0433\u043e\u0435"},"description-category":{"ru":"\u041c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e 2D \u0438 3D \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439 \u0432 \u0433\u0430\u043b\u0435\u0440\u0435\u0435 \u043d\u0430 3ddd: @@category","en":"\u041c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e 2D \u0438 3D \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439 \u0432 \u0433\u0430\u043b\u0435\u0440\u0435\u0435 \u043d\u0430 3ddd: @@category","es":"\u041c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e 2D \u0438 3D \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439 \u0432 \u0433\u0430\u043b\u0435\u0440\u0435\u0435 \u043d\u0430 3ddd: @@category"},"og-image-alt":{"ru":"\u0413\u0430\u043b\u0435\u0440\u0435\u044f \u0440\u0430\u0431\u043e\u0442 \u043d\u0430 3ddd.ru","en":"\u0413\u0430\u043b\u0435\u0440\u0435\u044f \u0440\u0430\u0431\u043e\u0442 \u043d\u0430 3ddd.ru","es":"\u0413\u0430\u043b\u0435\u0440\u0435\u044f \u0440\u0430\u0431\u043e\u0442 \u043d\u0430 3ddd.ru"},"og-image-alt-category":{"ru":"@@category - \u0413\u0430\u043b\u0435\u0440\u0435\u044f \u0440\u0430\u0431\u043e\u0442","en":"@@category - \u0413\u0430\u043b\u0435\u0440\u0435\u044f \u0440\u0430\u0431\u043e\u0442","es":"@@category - \u0413\u0430\u043b\u0435\u0440\u0435\u044f \u0440\u0430\u0431\u043e\u0442"}}}'),H=JSON.parse('{"accessFreeDayPlural":{"one":{"ru":"\u0434\u0435\u043d\u044c","en":"day","es":"d\xeda"},"few":{"ru":"\u0434\u043d\u044f","en":"days","es":"d\xedas"},"many":{"ru":"\u0434\u043d\u0435\u0439","en":"days","es":"d\xedas"},"other":{"ru":"\u0434\u043d\u044f","en":"days","es":"d\xedas"}},"accessFreeMonthPlural":{"one":{"ru":"\u043c\u0435\u0441\u044f\u0446","en":"month","es":"mes"},"few":{"ru":"\u043c\u0435\u0441\u044f\u0446\u0430","en":"months","es":"meses"},"many":{"ru":"\u043c\u0435\u0441\u044f\u0446\u0435\u0432","en":"months","es":"meses"},"other":{"ru":"\u043c\u0435\u0441\u044f\u0446\u0430","en":"months","es":"meses"}}}'),j=JSON.parse('{"global":{"uploadModel":{"ru":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u044c","en":"Upload model","es":"Subir modelo"},"rules":{"ru":"\u041f\u0440\u0430\u0432\u0438\u043b\u0430","en":"Rules","es":"Reglas"},"help":{"ru":"\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430","en":"Support","es":"Soporte"},"3dKing":{"ru":"\u0426\u0430\u0440\u044c 3D \u0433\u043e\u0440\u044b","en":"3D mountain king","es":"Rey de la monta\xf1a 3D"},"polyExpert":{"ru":"\u041c\u0430\u0441\u0442\u0435\u0440 \u043f\u043e\u043b\u0438\u0433\u043e\u043d\u0430","en":"Polygon Expert","es":"Maestro del Pol\xedgono"},"topModel":{"ru":"\u0422\u043e\u043f \u043c\u043e\u0434\u0435\u043b\u044c","en":"Hot Model","es":"Top Modelo"}
17,"modelCollections":{"ru":"\u041a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 \u043c\u043e\u0434\u0435\u043b\u0435\u0439","en":"Model Collections","es":"Colecciones de modelos"},"ads":{"ru":"\u0420\u0435\u043a\u043b\u0430\u043c\u0430","en":"Ads","es":"Anuncios"},"termsOfUse":{"ru":"\u0423\u0441\u043b\u043e\u0432\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f","en":"Terms of use","es":"T\xe9rminos de uso"},"privacyPolicy":{"ru":"\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","en":"Privacy policy","es":"Pol\xedtica de privacidad"},"corporateClients":{"ru":"\u041a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u043c \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u0435\u043b\u044f\u043c","en":"Corporate clients","es":"Clientes corporativos"},"placeBrandModels":{"ru":"\u0420\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u0438 \u0431\u0440\u0435\u043d\u0434\u0430","en":"ranslate me","es":"ranslate me"}}}'),F=JSON.parse('{"seo":{"title":{"ru":"\u0411\u043b\u043e\u0433 \u043e 3D-\u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0438 \u0434\u0438\u0437\u0430\u0439\u043d\u0435 - \u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0430 @@domain","en":"3D Modeling and Design Blog - read on @@domain","es":"Blog de modelado y dise\xf1o 3D - lee en @@domain"},"description":{"ru":"\u0412 \u0431\u043b\u043e\u0433\u0435 \u043d\u0430 @@domain \u0432\u044b \u043d\u0430\u0439\u0434\u0451\u0442\u0435: \u0443\u0440\u043e\u043a\u0438 \u043f\u043e 3D/2D \u0433\u0440\u0430\u0444\u0438\u043a\u0435 \u0438 \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e, \u0441\u0442\u0430\u0442\u044c\u0438 \u043e \u0434\u0438\u0437\u0430\u0439\u043d\u0435, \u043d\u043e\u0432\u043e\u0441\u0442\u0438 \u0441\u0430\u0439\u0442\u0430 \u0438 3D-\u0438\u043d\u0434\u0443\u0441\u0442\u0440\u0438\u0438, \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0435 \u0438 \u043b\u0438\u0447\u043d\u044b\u0435 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438","en":"Discover: 3D/2D graphics and modeling tutorials, design articles, latest the site and 3D industry news, personal experience and expert insights on @@domain blog","es":"En el blog de @@domain encontrar\xe1s tutoriales de modelado y gr\xe1ficos 3D/2D, art\xedculos sobre dise\xf1o, noticias del sitio y de la industria 3D, adem\xe1s de experiencias personales y aportes de expertos"}},"bread\u0421rumbs":{"blogList":{"ru":"\u0411\u043b\u043e\u0433\u0438","en":"Blog","es":"Blog"},"ariaLabel":{"ru":"\u0425\u043b\u0435\u0431\u043d\u044b\u0435 \u043a\u0440\u043e\u0448\u043a\u0438","en":"Breadcrumbs","es":"Migas de pan"},"edit":{"ru":"\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c","en":"edit","es":"edit"}}}'),ue=JSON.parse('{"global":{"createdByAi":{"ru":"\u0421\u043e\u0437\u0434\u0430\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0418\u0418","en":"Created with AI","es":"Creado con IA"}}}'),ae=JSON.parse('{"global":{"linkCopied":{"ru":"\u0421\u0441\u044b\u043b\u043a\u0430 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0430","en":"Link copied","es":"Enlace copiado"},"copyLink":{"ru":"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443","en":"Copy link","es":"Copiar enlace"},"dataSaved":{"ru":"\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u044b","en":"Changes saved","es":"Cambios guardados"}},"navs":{"gallery":{"ru":"\u0413\u0430\u043b\u0435\u0440\u0435\u044f","en":"Gallery","es":"Galer\xeda"},"forum":{"ru":"\u0424\u043e\u0440\u0443\u043c","en":"Forum","es":"Foro"},"blogs":{"ru":"\u0411\u043b\u043e\u0433\u0438","en":"Blogs","es":"Blogs"},"favorite":{"ru":"\u0418\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435","en":"Favorites","es":"Favoritos"},"Subscriptions":{"ru":"\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0438","en":"Subscriptions","es":"Suscripciones"},"purchases":{"ru":"\u041f\u043e\u043a\u0443\u043f\u043a\u0438","en":"Purchases","es":"Compras"},"ownModels":{"ru":"\u041c\u043e\u0438 \u043c\u043e\u0434\u0435\u043b\u0438","en":"My Models","es":"Mis modelos"},"income":{"ru":"\u0414\u043e\u0445\u043e\u0434","en":"Earnings","es":"Ingresos"},"profile":{"ru":"\u041f\u0440\u043e\u0444\u0438\u043b\u044c","en":"Profile","es":"Perfil"}},"title":{"blogs":{"ru":"\u041f\u0440\u043e\u0444\u0438\u043b\u044c - \u0431\u043b\u043e\u0433\u0438","en":"Profile - blogs","es":"Perfil - blogs"},"profile":{"ru":"\u041f\u0440\u043e\u0444\u0438\u043b\u044c","en":"Profile","es":"Perfil"}},"profileNav":{"data":{"ru":"\u041c\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435","en":"My Data","es":"Mis datos"},"settings":{"ru":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438","en":"Settings","es":"Configuraci\xf3n"},"portfolio":{"ru":"\u041f\u043e\u0440\u0442\u0444\u043e\u043b\u0438\u043e","en":"Portfolio","es":"Portafolio"},"exit":{"ru":"\u0412\u044b\u0445\u043e\u0434","en":"Log out","es":"Cerrar sesi\xf3n"},"awards":{"ru":"\u041d\u0430\u0433\u0440\u0430\u0434\u044b","en":"Awards","es":"Premios"}},"profile":{"edit":{"ru":"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c","en":"Edit","es":"Editar"},"publicDataTitle":{"ru":"\u041f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435","en":"Public information","es":"Informaci\xf3n p\xfablica"},"nonPublicDataTitle":{"ru":"\u041d\u0435\u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435","en":"Private information","es":"Informaci\xf3n privadae"},"rating":{"ru":"@@percent% \u0430\u0432\u0442\u043e\u0440\u0441\u043a\u0438\u0445 \u043e\u0442\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439","en":"@@percent% royalty rate","es":"@@percent% Tasa de regal\xedas"},"karma":{"ru":"@@karma \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c","en":"@@karma activity","es":"@@karma actividad"},"publicProfile":{"ru":"\u041f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u043f\u0440\u043e\u0444\u0438\u043b\u044c","en":"Public profile","es":"Perfil p\xfablico"},"createdAt":{"ru":"\u0414\u0430\u0442\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438","en":"Registration date","es":"Fecha de registro"}},"edit":{"0":{"ru":"\u041c\u0443\u0436\u0441\u043a\u043e\u0439","en":"Male","es":"Masculino"},"1":{"ru":"\u0416\u0435\u043d\u0441\u043a\u0438\u0439","en":"Female","es":"Femenino"},"nickName":{"ru":"\u041d\u0438\u043a \u043d\u0430 \u0441\u0430\u0439\u0442\u0435","en":"Username","es":"Nombre de usuario"},"nickNamePlaceholder":{"ru":"translate me","en":"translate me","es":"translate me"},"location":{"ru":"\u041c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435","en":"Location","es":"Ubicaci\xf3n"},"locationPlaceholder":{"ru":"\u041e\u0442\u043a\u0443\u0434\u0430 \u0432\u044b?","en":"Where are you from?","es":"\xbfDe d\xf3nde eres?"},"birthdate":{"ru":"\u0414\u0435\u043d\u044c \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f","en":"Date of birth","es":"Fecha de nacimiento"},"gender":{"ru":"\u041f\u043e\u043b","en":"Gender","es":"G\xe9nero"},"site":{"ru":"\u0421\u0430\u0439\u0442","en":"Website","es":"Sitio web"},"sitePlaceholder":{"ru":"\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0432\u0430\u0448 \u0441\u0430\u0439\u0442","en":"Link to your website","es":"Enlace a tu sitio"},"occupation":{"ru":"\u0421\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f","en":"Area of expertise","es":"\xc1rea de especializaci\xf3n"},"occupationPlaceholder":{"ru":"3D-\u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440, \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u043e\u0440\u2026","en":"3D visualizer, architect...","es":"Visualizador 3D, arquitecto..."},"sign":{"ru":"\u041e \u0441\u0435\u0431\u0435","en":"About me","es":"Sobre m\xed"},"signPlaceholder":{"ru":"\u041f\u0430\u0440\u0430 \u0441\u043b\u043e\u0432 \u043e \u0441\u0435\u0431\u0435, \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0430\u0445 \u0438\u043b\u0438 \u043e\u043f\u044b\u0442\u0435","en":"A few words about yourself, interests, or experience","es":"Unas palabras sobre ti, tus intereses o experiencia"},"fio":{"ru":"\u0424\u0418\u041e","en":"Full name","es":"Nombre completo"},"fioPlaceholder":{"ru":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0444\u0430\u043c\u0438\u043b\u0438\u044e, \u0438\u043c\u044f, \u043e\u0442\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e","en":"Enter your full name","es":"Ingrese su nombre completo"},"email":{"ru":"\u0415-mail","en":"Email","es":"Correo electr\xf3nico"},"emailPlaceholder":{"ru":"[email protected]","en":"[email protected]","es":"[email protected]"},"notSelectedGender":{"ru":"\u041d\u0435 \u0432\u044b\u0431\u0440\u0430\u043d","en":"Not selected","es":"No seleccionado"}},"settings":{"title":{"ru":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438","en":"Settings","es":"Configuraci\xf3n"},"receiveMail":{"ru":"\u041f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043f\u043e e-mail","en":"Receive email notifications","es":"Recibir notificaciones por correo electr\xf3nico"},"receiveMailDesc":{"ru":"\u0412\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0432\u0441\u0435 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u0441\u0432\u043e\u044e \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0443\u044e \u043f\u043e\u0447\u0442\u0443, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u0443\u044e \u0432 \u043f\u0440\u043e\u0444\u0438\u043b\u0435.","en":"You\'ll receive all notifications at the email address in your profile","es":"Recibir\xe1s todas las notificaciones en el correo electr\xf3nico de tu perfil"},"twoFactor":{"ru":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0432\u0443\u0445\u0444\u0430\u043a\u0442\u043e\u0440\u043d\u0443\u044e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e","en":"Use two\u2011factor authentication","es":"Usar autenticaci\xf3n de dos factores"}},"submitter":{"submit":{"ru":"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c","en":"Save","es":"Guardar"},"cancel":{"ru":"\u041e\u0442\u043c\u0435\u043d\u0430","en":"Cancel","es":"Cancelar"}},"modalExit":{"title":{"ru":"\u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430","en":"Log out","es":"Cerrar sesi\xf3n"},"exit":{"ru":"\u041d\u0430 \u044d\u0442\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435","en":"On this device","es":"En este dispositivo"},"exitAll":{"ru":"\u041d\u0430 \u0432\u0441\u0435\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0445","en":"On all devices","es":"En todos los dispositivos"}}}'),N=JSON.parse('{"global":{"aiSearchButton":{"ru":"\u0418\u0418 \u043f\u043e\u0438\u0441\u043a","en":"AI search","es":"Buscar con IA"},"title":{"ru":"\u041d\u0430\u0439\u0434\u0438\u0442\u0435 3D \u043c\u043e\u0434\u0435\u043b\u0438 \u0441&nbsp;\u043f\u043e\u043c\u043e\u0449\u044c\u044e&nbsp;\u0418\u0418","en":"Find 3D Models with&nbsp;AI","es":"Encuentra modelos 3D con&nbsp;IA"},"recommendation":{"ru":"\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 \u0442\u0440\u0451\u0445 \u0441\u043b\u043e\u0432 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u2014 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0431\u0443\u0434\u0435\u0442 \u043b\u0443\u0447\u0448\u0435","en":"Use at least three words for better results in your query","es":"Usa al menos tres palabras en tu consulta para obtener mejores resultados"},"description":{"ru":"\u041e\u043f\u0438\u0448\u0438\u0442\u0435 \u0446\u0432\u0435\u0442, \u0441\u0442\u0438\u043b\u044c, \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b, \u0444\u043e\u0440\u043c\u0443 \u0441\u0432\u043e\u0438\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438. \u
17041d\u0430\u0448 \u0418\u0418 \u043f\u043e\u0434\u0431\u0435\u0440\u0451\u0442 \u043c\u043e\u0434\u0435\u043b\u0438 \u043f\u043e \u0441\u043c\u044b\u0441\u043b\u0443 \u0437\u0430\u043f\u0440\u043e\u0441\u0430","en":"Describe the color, style, material, or shape in your own words. Our AI understands your vision and finds the perfect match.","es":"Describe el color, estilo, material o forma con tus propias palabras. Nuestra IA encontrar\xe1 el modelo perfecto."},"placeholder":{"ru":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438","en":"Describe your model","es":"Describe tu modelo"},"clear":{"ru":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c","en":"Clear","es":"Borrar"},"noResultTitle":{"ru":"\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e","en":"Nothing found","es":"No se ha encontrado nada"},"noResultSubtitle":{"ru":"\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438","en":"Try describing the model differently","es":"Intenta describir el modelo con otras palabras"},"examplesTitle":{"ru":"\u041f\u0440\u0438\u043c\u0435\u0440\u044b:","en":"Examples:","es":"Ejemplos:"}},"seo":{"title":{"ru":"\u0418\u0418 \u043f\u043e\u0438\u0441\u043a 3D \u043c\u043e\u0434\u0435\u043b\u0435\u0439","en":"AI search for 3D models","es":"B\xfasqueda de 3D modelos con IA"},"description":{"ru":"\u041d\u0430\u0439\u0434\u0438\u0442\u0435 \u043d\u0443\u0436\u043d\u0443\u044e 3D \u043c\u043e\u0434\u0435\u043b\u044c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 3ddd \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0418\u0418 \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044e","en":"Find the 3D model you need in the 3dsky catalog using AI search by description","es":"Encuentra el 3D modelo que necesitas en el cat\xe1logo de 3dsky mediante la b\xfasqueda con IA por descripci\xf3n"}}}');let te=(()=>{var ie;class re{constructor(){this.translateJson={},this.locale=(0,e.WQX)(e.xe9)}transform(Re,Mt){const wt=Re.split(".");switch(wt[0]){case"main":this.translateJson=d;break;case"auth":this.translateJson=X;break;case"models":this.translateJson=x;break;case"model":this.translateJson=O;break;case"errors":this.translateJson=V;break;case"collection":this.translateJson=p;break;case"head":this.translateJson=$;break;case"seo-collection":this.translateJson=I;break;case"search-by-picture":this.translateJson=B;break;case"polygon-master":this.translateJson=W;break;case"cart":this.translateJson=E;break;case"info-popup":this.translateJson=G;break;case"users":this.translateJson=w;break;case"galleries":this.translateJson=Z;break;case"order":this.translateJson=J;break;case"model-card":this.translateJson=z;break;case"header":this.translateJson=U;break;case"payment":this.translateJson=H;break;case"footer":this.translateJson=j;break;case"blog":this.translateJson=F;break;case"global":this.translateJson=ue;break;case"profile":this.translateJson=ae;break;case"ai-search":this.translateJson=N;break;default:throw Error(`\u041d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d ${wt[0]}.json \u0441 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u043c.`)}let At=this.translateJson[wt[1]][wt[2]][(0,s.kF)(this.locale)];if(typeof Mt<"u")for(const[Et,It]of Object.entries(Mt[0]))At=At.replace(new RegExp(Et,"gi"),It);return At.trim()}}return(ie=re).\u0275fac=function(Re){return new(Re||ie)},ie.\u0275pipe=e.EJ8({name:"translate",type:ie,pure:!0,standalone:!0}),re})()},5979:(ct,ce,a)=>{a.d(ce,{o:()=>x});var e=a(4412),d=a(8830),X=a(7019);let x=(()=>{var O;class V{constructor(){this.authorizedSource=new e.t(null),this.authorized=this.authorizedSource.asObservable(),this.polygonMasterLinkSource=new e.t(""),this.polygonMasterLink=this.polygonMasterLinkSource.asObservable(),this.userDataSource=new e.t(void 0),this.userData=this.userDataSource.asObservable(),this.statTokenSource=new e.t(void 0)}setAuthorized($){this.authorizedSource.next($)}setPolygonMasterLink($){this.polygonMasterLinkSource.next($)}setStatToken($){this.statTokenSource.next($)}setUserData($){this.userDataSource.next($)}getLocalViewedModels(){let $=localStorage.getItem(d.X7)?JSON.parse(localStorage.getItem(d.X7)):[];const E=[],s=Date.parse((new Date).toISOString());return $=$.slice(0,60),$.forEach(I=>{Date.parse(new Date(new Date(I.date).setDate(new Date(I.date).getDate()+30)).toISOString())>s&&E.push(I)}),localStorage.setItem(d.X7,JSON.stringify(E)),E}}return(O=V).\u0275fac=function($){return new($||O)},O.\u0275prov=X.jDH({token:O,factory:O.\u0275fac,providedIn:"root"}),V})()},3432:(ct,ce,a)=>{a.d(ce,{n:()=>x});var e=a(7019),d=a(4412),X=a(430);let x=(()=>{var O;class V{constructor(){this.MODELS_PER_PAGE=60,this.route=(0,e.WQX)(X.nX),this.modelsResultCountSource=new d.t(-1),this.modelsResultCount=this.modelsResultCountSource.asObservable(),this.modelsJSONSource=new d.t(this.route.
17snapshot.queryParams),this.refreshModelsListSource=new d.t([!1,!0,!1]),this.refreshModelsList=this.refreshModelsListSource.asObservable(),this.modelsClearFiltersSource=new d.t(!1),this.modelsClearFilters=this.modelsClearFiltersSource.asObservable(),this.modelsCatsObjSource=new d.t(null),this.modelsCatsObj=this.modelsCatsObjSource.asObservable(),this.modelsModeratorSource=new d.t(!1),this.modelsModerator=this.modelsModeratorSource.asObservable(),this.commentsModeratorSource=new d.t(!1),this.commentsModerator=this.commentsModeratorSource.asObservable(),this.modelsModeratorPanelSource=new d.t(!1),this.modelsModeratorPanel=this.modelsModeratorPanelSource.asObservable(),this.modelsModeratorCheckedSource=new d.t([]),this.modelsModeratorChecked=this.modelsModeratorCheckedSource.asObservable(),this.allModelSlugInCurrentCatalogPage=[]}setModelsResultCount($){this.modelsResultCountSource.next($)}setModelsJSON($){const E=Object.assign({},this.modelsJSONSource.value,$);this.modelsJSONSource.next(E)}setRefreshModelsList($,E=!0,s=!1){this.refreshModelsListSource.next([$,E,s])}setModelsClearFilters($){this.modelsClearFiltersSource.next($)}setModelsCatsObj($){this.modelsCatsObjSource.next($)}setModelsModerator($){this.modelsModeratorSource.next($)}setCommentsModerator($){this.commentsModeratorSource.next($)}setModelsModeratorPanel($){this.modelsModeratorPanelSource.next($)}setModelsModeratorChecked($){const E=[...this.modelsModeratorCheckedSource.value];if(E.includes($)){const s=E.findIndex(I=>I===$);E.splice(s,1)}else E.push($);this.modelsModeratorCheckedSource.next(E)}}return(O=V).\u0275fac=function($){return new($||O)},O.\u0275prov=e.jDH({token:O,factory:O.\u0275fac,providedIn:"root"}),V})()},5312:(ct,ce,a)=>{a.d(ce,{c:()=>e});const e={production:!0,proto:"https",locale:"ru",sky:!1,apiBaseUrl:"https://3ddd.ru",apiModelUrl:"https://models.3ddd.ru",apiAuthBaseUrl:"https://auth.3ddd.ru",apiLikeBaseUrl:"https://likes.3ddd.ru",apiTagBaseUrl:"https://tags.3ddd.ru",apiLabelsBaseUrl:"https://labels.3ddd.ru",apiCommentsBaseUrl:"https://comments.3ddd.ru",apiCookieBannerUrl:"https://gdpr.3ddd.ru/setCookieBannerAgree",apiBookmarksUrl:"https://bookmarks.3ddd.ru",apiGalleryUrl:"https://gallery.3ddd.ru",apiForumUrl:"https://forum.3ddd.ru",apiWorkUrl:"https://work.3ddd.ru",apiBlogUrl:"https://blog.3ddd.ru",apiBannersUrl:"https://banners.3ddd.ru",apiStatUrl:"https://stat.3ddd.ru",apiNotifierUrl:"https://notifier.3ddd.ru",apiCartUrl:"https://cart.3ddd.ru",apiImagesSearch:"https://images-search.3ddd.ru",apiUsersUrl:"https://users.3ddd.ru",apiOrderDetail:"https://orders.3ddd.ru",apiSubscribersUrl:"https://user-subscriber.3ddd.ru",apiPromoBannersUrl:"https://promo-banners.3ddd.ru",apiAdminUrl:"https://admin.3ddd.ru"}},5713:(ct,ce,a)=>{var e=a(345);
18/**
19         * @license
20         * Copyright Google LLC All Rights Reserved.
21         *
22         * Use of this source code is governed by an MIT-style license that can be
23         * found in the LICENSE file at https://angular.io/license
24         */const d=void 0,x=["ru",[["AM","PM"],d,d],d,[["\u0412","\u041f","\u0412","\u0421","\u0427","\u041f","\u0421"],["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"],["\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","\u0432\u0442\u043e\u0440\u043d\u0438\u043a","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043f\u044f\u0442\u043d\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043e\u0442\u0430"],["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"]],d,[["\u042f","\u0424","\u041c","\u0410","\u041c","\u0418","\u0418","\u0410","\u0421","\u041e","\u041d","\u0414"],["\u044f\u043d\u0432.","\u0444\u0435\u0432\u0440.","\u043c\u0430\u0440.","\u0430\u043f\u0440.","\u043c\u0430\u044f","\u0438\u044e\u043d.","\u0438\u044e\u043b.","\u0430\u0432\u0433.","\u0441\u0435\u043d\u0442.","\u043e\u043a\u0442.","\u043d\u043e\u044f\u0431.","\u0434\u0435\u043a."],["\u044f\u043d\u0432\u0430\u0440\u044f","\u0444\u0435\u0432\u0440\u0430\u043b\u044f","\u043c\u0430\u0440\u0442\u0430","\u0430\u043f\u0440\u0435\u043b\u044f","\u043c\u0430\u044f","\u0438\u044e\u043d\u044f","\u0438\u044e\u043b\u044f","\u0430\u0432\u0433\u0443\u0441\u0442\u0430","\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f","\u043e\u043a\u0442\u044f\u0431\u0440\u044f","\u043d\u043e\u044f\u0431\u0440\u044f","\u0434\u0435\u043a\u0430\u0431\u0440\u044f"]],[["\u042f","\u0424","\u041c","\u0410","\u041c","\u0418","\u0418","\u0410","\u0421","\u041e","\u041d","\u0414"],["\u044f\u043d\u0432.","\u0444\u0435\u0432\u0440.","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440.","\u043c\u0430\u0439","\u0438\u044e\u043d\u044c","\u0438\u044e\u043b\u044c","\u0430\u0432\u0433.","\u0441\u0435\u043d\u0442.","\u043e\u043a\u0442.","\u043d\u043e\u044f\u0431.","\u0434\u0435\u043a."],["\u044f\u043d\u0432\u0430\u0440\u044c","\u0444\u0435\u0432\u0440\u0430\u043b\u044c","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440\u0435\u043b\u044c","\u043c\u0430\u0439","\u0438\u044e\u043d\u044c","\u0438\u044e\u043b\u044c","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c","\u043e\u043a\u0442\u044f\u0431\u0440\u044c","\u043d\u043e\u044f\u0431\u0440\u044c","\u0434\u0435\u043a\u0430\u0431\u0440\u044c"]],[["\u0434\u043e \u043d.\u044d.","\u043d.\u044d."],["\u0434\u043e \u043d. \u044d.","\u043d. \u044d."],["\u0434\u043e \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430","\u043e\u0442 \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430"]],1,[6,0],["dd.MM.y","d MMM y '\u0433'.","d MMMM y '\u0433'.","EEEE, d MMMM y '\u0433'."],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}
24, {0}",d,d,d],[",","\xa0",";","%","+","-","E","\xd7","\u2030","\u221e","\u043d\u0435\xa0\u0447\u0438\u0441\u043b\u043e",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"RUB","\u20bd","\u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0439 \u0440\u0443\u0431\u043b\u044c",{BYN:[d,"\u0440."],GEL:[d,"\u10da"],PHP:[d,"\u20b1"],RON:[d,"L"],RUB:["\u20bd"],RUR:["\u0440."],THB:["\u0e3f"],TMT:["\u0422\u041c\u0422"],TWD:["NT$"],UAH:["\u20b4"],XXX:["XXXX"]},"ltr",function X(Y){const m=Math.floor(Math.abs(Y)),P=Y.toString().replace(/^[^.]*\.?/,"").length;return 0===P&&m%10==1&&m%100!=11?1:0===P&&m%10===Math.floor(m%10)&&m%10>=2&&m%10<=4&&!(m%100>=12&&m%100<=14)?3:0===P&&m%10==0||0===P&&m%10===Math.floor(m%10)&&m%10>=5&&m%10<=9||0===P&&m%100===Math.floor(m%100)&&m%100>=11&&m%100<=14?4:5}],O=void 0,p=["es",[["a.\xa0m.","p.\xa0m."],O,O],O,[["D","L","M","X","J","V","S"],["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["DO","LU","MA","MI","JU","VI","SA"]],O,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene","feb","mar","abr","may","jun","jul","ago","sept","oct","nov","dic"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],O,[["a. C.","d. C."],O,["antes de Cristo","despu\xe9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1}, {0}",O,O,O],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{AUD:[O,"$"],BRL:[O,"R$"],BYN:[O,"\u0440."],CAD:[O,"$"],CNY:[O,"\xa5"],EGP:[],ESP:["\u20a7"],GBP:[O,"\xa3"],HKD:[O,"$"],ILS:[O,"\u20aa"],INR:[O,"\u20b9"],JPY:[O,"\xa5"],KRW:[O,"\u20a9"],MXN:[O,"$"],NZD:[O,"$"],PHP:[O,"\u20b1"],RON:[O,"L"],THB:["\u0e3f"],TWD:[O,"NT$"],USD:["US$","$"],XAF:[],XCD:[O,"$"],XOF:[]},"ltr",function V(Y){const h=Y,m=Math.floor(Math.abs(Y)),P=Y.toString().replace(/^[^.]*\.?/,"").length,K=parseInt(Y.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return 1===h?1:0===K&&0!==m&&m%1e6==0&&0===P||!(K>=0&&K<=5)?4:5}];var $=a(5312),E=a(7019),s=a(1626),I=a(710),W=a(7784),G=a(430),B=a(5964),J=a(8513),z=a(6069),w=a(8526),U=a(1180),Z=a(3587),H=a(2386),j=a(5979),F=a(5695),ue=a(152),ae=a(177);let te=(()=>{var Y;class h{constructor(){this.router=(0,E.WQX)(G.Ix),this.viewportScroller=(0,E.WQX)(ae.Xr),this.platformId=(0,E.WQX)(E.Agw),this.preventScrollTop=!1}initScrollListener(){(0,ae.UE)(this.platformId)&&(this.router.events.pipe((0,B.p)(P=>P instanceof G.wF)).subscribe(()=>{this.preventScrollTop=!!this.router.getCurrentNavigation()?.extras?.state?.preventScrollTop}),this.router.events.pipe((0,ue.B)(100),(0,B.p)(P=>P instanceof G.OY)).subscribe(P=>{this.preventScrollTop||(P.position?this.viewportScroller.scrollToPosition(P.position):P.anchor?this.viewportScroller.scrollToAnchor(P.anchor):window.scrollTo({top:0,left:0,behavior:"instant"}))}))}}return(Y=h).\u0275fac=function(P){return new(P||Y)},Y.\u0275prov=E.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"}),h})();var ie=a(4173),re=a(2490),Ee=a(5116),Re=a(174);let Mt=(()=>{var Y;class h{constructor(){this.sharedGlobalDataService=(0,E.WQX)(j.o),this.cookieService=(0,E.WQX)(re.O),this.dddCookieService=(0,E.WQX)(W.u),this.subscribeHandlerService=(0,E.WQX)(Ee.e),this.sky=(0,E.WQX)(U.ef),this.infoUrl=this.sky?"/faq/category/10007/show":"/faq/255/show"}processCookieBanner(P){let c=Math.floor(Date.now()/1e3);c+=28944e3;const v=this.sharedGlobalDataService.authorizedSource.value;v&&this.subscribeHandlerService.takeOne(this.dddCookieService.setCookie(v,P,c),()=>{}),this.cookieService.set("CookieConsent_"+(this.sky?"en":"ru"),P+"|"+c,335),this.dddCookieService.isCanShowCookieBanner(!1)}}return(Y=h).\u0275fac=function(P){return new(P||Y)},Y.\u0275cmp=E.VBU({type:Y,selectors:[["app-cookie-banner"]],standalone:!0,features:[E.aNF],decls:12,vars:12,consts:[[1,"container"],[1,"cookie-banner-text"],[1,"cookie-banner-actions"],[3,"click"],["target","_blank",3,"href"]],template:function(P,K){1&P&&(E.j41(0,"div",0)(1,"div",1),E.EFF(2),E.nI1(3,"translate"),E.nI1(4,"translate"),E.k0s(),E.j41(5,"div",2)(6,"button",3),E.bIt("click",function(){return K.processCookieBanner(1)}),E.EFF(7),E.nI1(8,"translate"),E.k0s(),E.j41(9,"a",4),E.EFF(10),E.nI1(11,"translate"),E.k0s()()()),2&P&&(E.R7$(2),E.JRh(K.sky?E.bMT(3,4,"main.cookieBanner.textSky"):E.bMT(4,6,"main.cookieBanner.text")),E.R7$(5),E.JRh(E.bMT(8,8,"main.cookieBanner.accept")),E.R7$(2),E.Y8G("href",K.infoUrl,E.B4B),E.R7$(1),E.JRh(E.bMT(11,10,"main.cookieBanner.moreInfo")))},dependencies:[Re.D],styles:["[_nghost-%COMP%]{display:block;position:fixed;bottom:0;left:0;width:100%;background-color:#f1f6f9;padding-top:16px;z-index:200}@media (min-width: 992px){[_nghost-%COMP%]{padding-bottom:24px}}@media (max-width: 991.98px){[_nghost-%COMP%]{padding-bottom:16px}}[_nghost-%COMP%]   .cookie-banner-text[_ngcontent-%COMP%]{text-align:center;font-size:14px;line-height:16px;color:#757575}[_nghost-%COMP%]   .cookie-banner-actions[_ngcontent-%COMP%]{margin-top:16px;display:flex;flex-wrap:wrap;gap:16px;justify-content:center}[_nghost-%COMP%]   .cookie-banner-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], [_nghost-%COMP%]   .cookie-banner-actions[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{border-radius:4px;outline:none;text-align:center}[_nghost-%COMP%]   .cookie-banner-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{line-height:20px;font-weight:500;color:#fff;padding:8px 16px;background-color:#4182aa;border:0;box-shadow:none;background-image:none}[_nghost-%COMP%]   .cookie-banner-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover, [_nghost-%COMP%]   .cookie-banner-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active{background-color:#125884}[_nghost-%COMP%]   .cookie-banner-actions[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding:10px 20px;font-size:14px;line-height:16px;color:#4182aa;text-decoration:none;border:0}[_nghost-%COMP%]   .cookie-banner-actions[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, [_nghost-%COMP%]   .cookie-banner-actions[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active{box-shadow:inset 0 0 0 1px #4182aa}"]}),h})();function wt(Y,h){1&Y&&E.nrm(0,"app-cookie-banner")}let At=(()=>{var Y;class h{constructor(){this.router=(0,E.WQX)(G.Ix),this.userService=(0,E.WQX)(F.D),this.viewContainerRef
24=(0,E.WQX)(E.c1b),this.appInitService=(0,E.WQX)(J.V),this.popupBarService=(0,E.WQX)(z.h),this.seoService=(0,E.WQX)(w.T),this.languageSelectorService=(0,E.WQX)(Z.z),this.sharedGlobalDataService=(0,E.WQX)(j.o),this.routeScrollService=(0,E.WQX)(te),this.modalService=(0,E.WQX)(ie.B),this.notifierService=(0,E.WQX)(H.i),this.dddCookieService=(0,E.WQX)(W.u),this.sky=(0,E.WQX)(U.ef),this.popupBarService.viewContainerRef=this.viewContainerRef,this.modalService.viewContainerRef=this.viewContainerRef,history.state?.reloadWithoutQuery&&this.router.navigateByUrl(location.pathname).then(),this.seoService.resetMetaTags(),this.routeScrollService.initScrollListener(),this.appInitService.showError.subscribe(P=>{P&&(P.status>=500||0===P.status||401===P.status)&&this.popupBarService.showGlobalError(this.viewContainerRef,3e3)}),this.sky&&this.languageSelectorService.setLocale()}ngOnInit(){this.router.events.pipe((0,B.p)(K=>K instanceof G.wF)).subscribe(()=>{null===this.notifierService.notifierPopup||this.notifierService.shouldMakeNotifierRequest()?this.notifierService.getNotifier(this.viewContainerRef,this.sky?"en":"ru").subscribe():this.notifierService.notifierPopup?.length&&this.notifierService.showPopup(this.viewContainerRef),this.seoService.update(this.router.url)});const P=this.sharedGlobalDataService.userDataSource.value?.user?.slug;P&&this.userService.isRegisterFromLocalStorage(P)&&this.appInitService.showPopupForNewsletter(this.viewContainerRef)}}return(Y=h).\u0275fac=function(P){return new(P||Y)},Y.\u0275cmp=E.VBU({type:Y,selectors:[["app-root"]],decls:3,vars:3,consts:[[4,"ngIf"]],template:function(P,K){1&P&&(E.nrm(0,"router-outlet"),E.DNE(1,wt,1,0,"app-cookie-banner",0),E.nI1(2,"async")),2&P&&(E.R7$(1),E.Y8G("ngIf",E.bMT(2,1,K.dddCookieService.showBanner$)))},dependencies:[ae.bT,G.n3,Mt,ae.Jj],styles:["[_nghost-%COMP%]{display:grid;grid-template-rows:0 1fr;min-height:100vh}"]}),h})();var Et=a(9969);
25/**
26         * @license Angular v16.2.12
27         * (c) 2010-2022 Google LLC. https://angular.io/
28         * License: MIT
29         */function bt(Y){return new E.wOt(3e3,!1)}function on(Y){switch(Y.length){case 0:return new Et.sf;case 1:return Y[0];default:return new Et.ui(Y)}}function On(Y,h,m=new Map,P=new Map){const K=[],c=[];let v=-1,A=null;if(h.forEach(_=>{const L=_.get("offset"),pe=L==v,Ve=pe&&A||new Map;_.forEach((ft,Gt)=>{let Wt=Gt,Kt=ft;if("offset"!==Gt)switch(Wt=Y.normalizePropertyName(Wt,K),Kt){case Et.FX:Kt=m.get(Gt);break;case Et.kp:Kt=P.get(Gt);break;default:Kt=Y.normalizeStyleValue(Gt,Wt,Kt,K)}Ve.set(Wt,Kt)}),pe||c.push(Ve),A=Ve,v=L}),K.length)throw function Ie(Y){return new E.wOt(3502,!1)}();return c}function He(Y,h,m,P){switch(h){case"start":Y.onStart(()=>P(m&&Ft(m,"start",Y)));break;case"done":Y.onDone(()=>P(m&&Ft(m,"done",Y)));break;case"destroy":Y.onDestroy(()=>P(m&&Ft(m,"destroy",Y)))}}function Ft(Y,h,m){const c=ke(Y.element,Y.triggerName,Y.fromState,Y.toState,h||Y.phaseName,m.totalTime??Y.totalTime,!!m.disabled),v=Y._data;return null!=v&&(c._data=v),c}function ke(Y,h,m,P,K="",c=0,v){return{element:Y,triggerName:h,fromState:m,toState:P,phaseName:K,totalTime:c,disabled:!!v}}function Se(Y,h,m){let P=Y.get(h);return P||Y.set(h,P=m),P}function Ne(Y){const h=Y.indexOf(":");return[Y.substring(1,h),Y.slice(h+1)]}const tt=(()=>typeof document>"u"?null:document.documentElement)();function lt(Y){const h=Y.parentNode||Y.host||null;return h===tt?null:h}let $e=null,Be=!1;function De(Y,h){for(;h;){if(h===Y)return!0;h=lt(h)}return!1}function rt(Y,h,m){if(m)return Array.from(Y.querySelectorAll(h));const P=Y.querySelector(h);return P?[P]:[]}let Nt=(()=>{var Y;class h{validateStyleProperty(P){return function ve(Y){$e||($e=function oe(){return typeof document<"u"?document.body:null}()||{},Be=!!$e.style&&"WebkitAppearance"in $e.style);let h=!0;return $e.style&&!function pt(Y){return"ebkit"==Y.substring(1,6)}(Y)&&(h=Y in $e.style,!h&&Be&&(h="Webkit"+Y.charAt(0).toUpperCase()+Y.slice(1)in $e.style)),h}(P)}matchesElement(P,K){return!1}containsElement(P,K){return De(P,K)}getParentElement(P){return lt(P)}query(P,K,c){return rt(P,K,c)}computeStyle(P,K,c){return c||""}animate(P,K,c,v,A,_=[],L){return new Et.sf(c,v)}}return(Y=h).\u0275fac=function(P){return new(P||Y)},Y.\u0275prov=E.jDH({token:Y,factory:Y.\u0275fac}),h})(),Yt=(()=>{class h{}return h.NOOP=new Nt,h})();
29const zt=1e3,We="ng-enter",_e="ng-leave",at="ng-trigger",dt=".ng-trigger",xt="ng-animating",Lt=".ng-animating";function Qt(Y){if("number"==typeof Y)return Y;const h=Y.match(/^(-?[\.\d]+)(m?s)/);return!h||h.length<2?0:Zt(parseFloat(h[1]),h[2])}function Zt(Y,h){return"s"===h?Y*zt:Y}function gn(Y,h,m){return Y.hasOwnProperty("duration")?Y:function hn(Y,h,m){let K,c=0,v="";if("string"==typeof Y){const A=Y.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===A)return h.push(bt()),{duration:0,delay:0,easing:""};K=Zt(parseFloat(A[1]),A[2]);const _=A[3];null!=_&&(c=Zt(parseFloat(_),A[4]));const L=A[5];L&&(v=L)}else K=Y;if(!m){let A=!1,_=h.length;K<0&&(h.push(function st(){return new E.wOt(3100,!1)}()),A=!0),c<0&&(h.push(function ne(){return new E.wOt(3101,!1)}()),A=!0),A&&h.splice(_,0,bt())}return{duration:K,delay:c,easing:v}}(Y,h,m)}function Tn(Y,h={}){return Object.keys(Y).forEach(m=>{h[m]=Y[m]}),h}function Yn(Y){const h=new Map;return Object.keys(Y).forEach(m=>{h.set(m,Y[m])}),h}function Zn(Y,h=new Map,m){if(m)for(let[P,K]of m)h.set(P,K);for(let[P,K]of Y)h.set(P,K);return h}function jn(Y,h,m){h.forEach((P,K)=>{const c=Qn(K);m&&!m.has(K)&&m.set(K,Y.style[c]),Y.style[c]=P})}function Sn(Y,h){h.forEach((m,P)=>{const K=Qn(P);Y.style[K]=""})}function Mn(Y){return Array.isArray(Y)?1==Y.length?Y[0]:(0,Et.K2)(Y):Y}const Lo=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ln(Y){let h=[];if("string"==typeof Y){let m;for(;m=Lo.exec(Y);)h.push(m[1]);Lo.lastIndex=0}return h}function Xn(Y,h,m){const P=Y.toString(),K=P.replace(Lo,(c,v)=>{let A=h[v];return null==A&&(m.push(function le(Y){return new E.wOt(3003,!1)}()),A=""),A.toString()});return K==P?Y:K}function qn(Y){const h=[];let m=Y.next();for(;!m.done;)h.push(m.value),m=Y.next();return h}const Eo=/-+([a-z0-9])/g;function Qn(Y){return Y.replace(Eo,(...h)=>h[1].toUpperCase())}function ro(Y,h,m){switch(h.type){case 7:return Y.visitTrigger(h,m);case 0:return Y.visitState(h,m);case 1:return Y.visitTransition(h,m);case 2:return Y.visitSequence(h,m);case 3:return Y.visitGroup(h,m);case 4:return Y.visitAnimate(h,m);case 5:return Y.visitKeyframes(h,m);case 6:return Y.visitStyle(h,m);case 8:return Y.visitReference(h,m);case 9:return Y.visitAnimateChild(h,m);case 10:return Y.visitAnimateRef(h,m);case 11:return Y.visitQuery(h,m);case 12:return Y.visitStagger(h,m);default:throw function Ue(Y){return new E.wOt(3004,!1)}()}}function Ir(Y,h){return window.getComputedStyle(Y)[h]}const Me="*";function Dt(Y,h){const m=[];return"string"==typeof Y?Y.split(/\s*,\s*/).forEach(P=>function be(Y,h,m){if(":"==Y[0]){const _=function je(Y,h){switch(Y){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(m,P)=>parseFloat(P)>parseFloat(m);case":decrement":return(m,P)=>parseFloat(P)<parseFloat(m);default:return h.push(function we(Y){return new E.wOt(3016,!1)}()),"* => *"}}(Y,m);if("function"==typeof _)return void h.push(_);Y=_}const P=Y.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==P||P.length<4)return m.push(function et(Y){return new E.wOt(3015,!1)}()),h;const K=P[1],c=P[2],v=P[3];h.push(qt(K,v));"<"==c[0]&&!(K==Me&&v==Me)&&h.push(qt(v,K))}(P,m,h)):m.push(Y),m}const qe=new Set(["true","1"]),kt=new Set(["false","0"]);function qt(Y,h){const m=qe.has(Y)||kt.has(Y),P=qe.has(h)||kt.has(h);return(K,c)=>{let v=Y==Me||Y==K,A=h==Me||h==c;return!v&&m&&"boolean"==typeof K&&(v=K?qe.has(Y):kt.has(Y)),!A&&P&&"boolean"==typeof c&&(A=c?qe.has(h):kt.has(h)),v&&A}}const Pn=new RegExp("s*:selfs*,?","g");function an(Y,h,m,P){return new xn(Y).build(h,m,P)}class xn{constructor(h){this._driver=h}build(h,m,P){const K=new ur(m);return this._resetContextStyleTimingState(K),ro(this,Mn(h),K)}_resetContextStyleTimingState(h){h.currentQuerySelector="",h.collectedStyles=new Map,h.collectedStyles.set("",new Map),h.currentTime=0}visitTrigger(h,m){let P=m.queryCount=0,K=m.depCount=0;const c=[],v=[];return"@"==h.name.charAt(0)&&m.errors.push(function nt(){return new E.wOt(3006,!1)}()),h.definitions.forEach(A=>{if(this._resetContextStyleTimingState(m),0==A.type){const _=A,L=_.name;
29L.toString().split(/\s*,\s*/).forEach(pe=>{_.name=pe,c.push(this.visitState(_,m))}),_.name=L}else if(1==A.type){const _=this.visitTransition(A,m);P+=_.queryCount,K+=_.depCount,v.push(_)}else m.errors.push(function _t(){return new E.wOt(3007,!1)}())}),{type:7,name:h.name,states:c,transitions:v,queryCount:P,depCount:K,options:null}}visitState(h,m){const P=this.visitStyle(h.styles,m),K=h.options&&h.options.params||null;if(P.containsDynamicStyles){const c=new Set,v=K||{};P.styles.forEach(A=>{A instanceof Map&&A.forEach(_=>{Ln(_).forEach(L=>{v.hasOwnProperty(L)||c.add(L)})})}),c.size&&(qn(c.values()),m.errors.push(function Ge(Y,h){return new E.wOt(3008,!1)}()))}return{type:0,name:h.name,style:P,options:K?{params:K}:null}}visitTransition(h,m){m.queryCount=0,m.depCount=0;const P=ro(this,Mn(h.animation),m);return{type:1,matchers:Dt(h.expr,m.errors),animation:P,queryCount:m.queryCount,depCount:m.depCount,options:Fn(h.options)}}visitSequence(h,m){return{type:2,steps:h.steps.map(P=>ro(this,P,m)),options:Fn(h.options)}}visitGroup(h,m){const P=m.currentTime;let K=0;const c=h.steps.map(v=>{m.currentTime=P;const A=ro(this,v,m);return K=Math.max(K,m.currentTime),A});return m.currentTime=K,{type:3,steps:c,options:Fn(h.options)}}visitAnimate(h,m){const P=function io(Y,h){if(Y.hasOwnProperty("duration"))return Y;if("number"==typeof Y)return zo(gn(Y,h).duration,0,"");const m=Y;if(m.split(/\s+/).some(c=>"{"==c.charAt(0)&&"{"==c.charAt(1))){const c=zo(0,0,"");return c.dynamic=!0,c.strValue=m,c}const K=gn(m,h);return zo(K.duration,K.delay,K.easing)}(h.timings,m.errors);m.currentAnimateTimings=P;let K,c=h.styles?h.styles:(0,Et.iF)({});if(5==c.type)K=this.visitKeyframes(c,m);else{let v=h.styles,A=!1;if(!v){A=!0;const L={};P.easing&&(L.easing=P.easing),v=(0,Et.iF)(L)}m.currentTime+=P.duration+P.delay;const _=this.visitStyle(v,m);_.isEmptyStep=A,K=_}return m.currentAnimateTimings=null,{type:4,timings:P,style:K,options:null}}visitStyle(h,m){const P=this._makeStyleAst(h,m);return this._validateStyleAst(P,m),P}_makeStyleAst(h,m){const P=[],K=Array.isArray(h.styles)?h.styles:[h.styles];for(let A of K)"string"==typeof A?A===Et.kp?P.push(A):m.errors.push(new E.wOt(3002,!1)):P.push(Yn(A));let c=!1,v=null;return P.forEach(A=>{if(A instanceof Map&&(A.has("easing")&&(v=A.get("easing"),A.delete("easing")),!c))for(let _ of A.values())if(_.toString().indexOf("{{")>=0){c=!0;break}}),{type:6,styles:P,easing:v,offset:h.offset,containsDynamicStyles:c,options:null}}_validateStyleAst(h,m){const P=m.currentAnimateTimings;let K=m.currentTime,c=m.currentTime;P&&c>0&&(c-=P.duration+P.delay),h.styles.forEach(v=>{"string"!=typeof v&&v.forEach((A,_)=>{const L=m.collectedStyles.get(m.currentQuerySelector),pe=L.get(_);let Ve=!0;pe&&(c!=K&&c>=pe.startTime&&K<=pe.endTime&&(m.errors.push(function mt(Y,h,m,P,K){return new E.wOt(3010,!1)}()),Ve=!1),c=pe.startTime),Ve&&L.set(_,{startTime:c,endTime:K}),m.options&&function _o(Y,h,m){const P=h.params||{},K=Ln(Y);K.length&&K.forEach(c=>{P.hasOwnProperty(c)||m.push(function fe(Y){return new E.wOt(3001,!1)}())})}(A,m.options,m.errors)})})}visitKeyframes(h,m){const P={type:5,styles:[],options:null};if(!m.currentAnimateTimings)return m.errors.push(function Ot(){return new E.wOt(3011,!1)}()),P;let c=0;const v=[];let A=!1,_=!1,L=0;const pe=h.steps.map(Dn=>{const yn=this._makeStyleAst(Dn,m);let kn=null!=yn.offset?yn.offset:function En(Y){if("string"==typeof Y)return null;let h=null;if(Array.isArray(Y))Y.forEach(m=>{if(m instanceof Map&&m.has("offset")){const P=m;h=parseFloat(P.get("offset")),P.delete("offset")}});else if(Y instanceof Map&&Y.has("offset")){const m=Y;h=parseFloat(m.get("offset")),m.delete("offset")}return h}(yn.styles),Hn=0;return null!=kn&&(c++,Hn=yn.offset=kn),_=_||Hn<0||Hn>1,A=A||Hn<L,L=Hn,v.push(Hn),yn});_&&m.errors.push(function Qe(){return new E.wOt(3012,!1)}()),A&&m.errors.push(function yt(){return new E.wOt(3200,!1)}());const Ve=h.steps.length;let ft=0;c>0&&c<Ve?m.errors.push(function ut(){return new E.wOt(3202,!1)}()):0==c&&(ft=1/(Ve-1));const Gt=Ve-1,Wt=m.currentTime,Kt=m.currentAnimateTimings,nn=Kt.duration;return pe.forEach((Dn,yn)=>{const kn=ft>0?yn==Gt?1:ft*yn:v[yn],Hn=kn*nn;
29m.currentTime=Wt+Kt.delay+Hn,Kt.duration=Hn,this._validateStyleAst(Dn,m),Dn.offset=kn,P.styles.push(Dn)}),P}visitReference(h,m){return{type:8,animation:ro(this,Mn(h.animation),m),options:Fn(h.options)}}visitAnimateChild(h,m){return m.depCount++,{type:9,options:Fn(h.options)}}visitAnimateRef(h,m){return{type:10,animation:this.visitReference(h.animation,m),options:Fn(h.options)}}visitQuery(h,m){const P=m.currentQuerySelector,K=h.options||{};m.queryCount++,m.currentQuery=h;const[c,v]=function Un(Y){const h=!!Y.split(/\s*,\s*/).find(m=>":self"==m);return h&&(Y=Y.replace(Pn,"")),Y=Y.replace(/@\*/g,dt).replace(/@\w+/g,m=>dt+"-"+m.slice(1)).replace(/:animating/g,Lt),[Y,h]}(h.selector);m.currentQuerySelector=P.length?P+" "+c:c,Se(m.collectedStyles,m.currentQuerySelector,new Map);const A=ro(this,Mn(h.animation),m);return m.currentQuery=null,m.currentQuerySelector=P,{type:11,selector:c,limit:K.limit||0,optional:!!K.optional,includeSelf:v,animation:A,originalSelector:h.selector,options:Fn(h.options)}}visitStagger(h,m){m.currentQuery||m.errors.push(function ht(){return new E.wOt(3013,!1)}());const P="full"===h.timings?{duration:0,delay:0,easing:"full"}:gn(h.timings,m.errors,!0);return{type:12,animation:ro(this,Mn(h.animation),m),timings:P,options:null}}}class ur{constructor(h){this.errors=h,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Fn(Y){return Y?(Y=Tn(Y)).params&&(Y.params=function po(Y){return Y?Tn(Y):null}(Y.params)):Y={},Y}function zo(Y,h,m){return{duration:Y,delay:h,easing:m}}function so(Y,h,m,P,K,c,v=null,A=!1){return{type:1,element:Y,keyframes:h,preStyleProps:m,postStyleProps:P,duration:K,delay:c,totalTime:K+c,easing:v,subTimeline:A}}class Go{constructor(){this._map=new Map}get(h){return this._map.get(h)||[]}append(h,m){let P=this._map.get(h);P||this._map.set(h,P=[]),P.push(...m)}has(h){return this._map.has(h)}clear(){this._map.clear()}}const Vr=new RegExp(":enter","g"),Vn=new RegExp(":leave","g");function Xt(Y,h,m,P,K,c=new Map,v=new Map,A,_,L=[]){return(new fn).buildKeyframes(Y,h,m,P,K,c,v,A,_,L)}class fn{buildKeyframes(h,m,P,K,c,v,A,_,L,pe=[]){L=L||new Go;const Ve=new ho(h,m,L,K,c,pe,[]);Ve.options=_;const ft=_.delay?Qt(_.delay):0;Ve.currentTimeline.delayNextStep(ft),Ve.currentTimeline.setStyles([v],null,Ve.errors,_),ro(this,P,Ve);const Gt=Ve.timelines.filter(Wt=>Wt.containsAnimation());if(Gt.length&&A.size){let Wt;for(let Kt=Gt.length-1;Kt>=0;Kt--){const nn=Gt[Kt];if(nn.element===m){Wt=nn;break}}Wt&&!Wt.allowOnlyTimelineStyles()&&Wt.setStyles([A],null,Ve.errors,_)}return Gt.length?Gt.map(Wt=>Wt.buildKeyframes()):[so(m,[],[],[],0,ft,"",!1)]}visitTrigger(h,m){}visitState(h,m){}visitTransition(h,m){}visitAnimateChild(h,m){const P=m.subInstructions.get(m.element);if(P){const K=m.createSubContext(h.options),c=m.currentTimeline.currentTime,v=this._visitSubInstructions(P,K,K.options);c!=v&&m.transformIntoNewTimeline(v)}m.previousNode=h}visitAnimateRef(h,m){const P=m.createSubContext(h.options);P.transformIntoNewTimeline(),this._applyAnimationRefDelays([h.options,h.animation.options],m,P),this.visitReference(h.animation,P),m.transformIntoNewTimeline(P.currentTimeline.currentTime),m.previousNode=h}_applyAnimationRefDelays(h,m,P){for(const K of h){const c=K?.delay;if(c){const v="number"==typeof c?c:Qt(Xn(c,K?.params??{},m.errors));P.delayNextStep(v)}}}_visitSubInstructions(h,m,P){let c=m.currentTimeline.currentTime;const v=null!=P.duration?Qt(P.duration):null,A=null!=P.delay?Qt(P.delay):null;return 0!==v&&h.forEach(_=>{const L=m.appendInstructionToTimeline(_,v,A);c=Math.max(c,L.duration+L.delay)}),c}visitReference(h,m){m.updateOptions(h.options,!0),ro(this,h.animation,m),m.previousNode=h}visitSequence(h,m){const P=m.subContextCount;let K=m;const c=h.options;if(c&&(c.params||c.delay)&&(K=m.createSubContext(c),K.transformIntoNewTimeline(),null!=c.delay)){6==K.previousNode.type&&(K.currentTimeline.snapshotCurrentStyles(),K.previousNode=An);const v=Qt(c.delay);K.delayNextStep(v)}h.steps.length&&(h.steps.forEach(v=>ro(this,v,K)),K.currentTimeline.applyStylesToKeyframe(),K.subContextCount>P&&K.transformIntoNewTimeline()),m.previousNode=h}visitGroup(h,m){const P=[];let K=m.currentTimeline.currentTime;const c=h.options&&h.options.delay?Qt(h.options.delay):0;h.steps.forEach(v=>{const A=m.createSubContext(h.options);c&&A.delayNextStep(c),ro(this,v,A),K=Math.max(K,A.currentTimeline.currentTime),P.pu
29sh(A.currentTimeline)}),P.forEach(v=>m.currentTimeline.mergeTimelineCollectedStyles(v)),m.transformIntoNewTimeline(K),m.previousNode=h}_visitTiming(h,m){if(h.dynamic){const P=h.strValue;return gn(m.params?Xn(P,m.params,m.errors):P,m.errors)}return{duration:h.duration,delay:h.delay,easing:h.easing}}visitAnimate(h,m){const P=m.currentAnimateTimings=this._visitTiming(h.timings,m),K=m.currentTimeline;P.delay&&(m.incrementTime(P.delay),K.snapshotCurrentStyles());const c=h.style;5==c.type?this.visitKeyframes(c,m):(m.incrementTime(P.duration),this.visitStyle(c,m),K.applyStylesToKeyframe()),m.currentAnimateTimings=null,m.previousNode=h}visitStyle(h,m){const P=m.currentTimeline,K=m.currentAnimateTimings;!K&&P.hasCurrentStyleProperties()&&P.forwardFrame();const c=K&&K.easing||h.easing;h.isEmptyStep?P.applyEmptyStep(c):P.setStyles(h.styles,c,m.errors,m.options),m.previousNode=h}visitKeyframes(h,m){const P=m.currentAnimateTimings,K=m.currentTimeline.duration,c=P.duration,A=m.createSubContext().currentTimeline;A.easing=P.easing,h.styles.forEach(_=>{A.forwardTime((_.offset||0)*c),A.setStyles(_.styles,_.easing,m.errors,m.options),A.applyStylesToKeyframe()}),m.currentTimeline.mergeTimelineCollectedStyles(A),m.transformIntoNewTimeline(K+c),m.previousNode=h}visitQuery(h,m){const P=m.currentTimeline.currentTime,K=h.options||{},c=K.delay?Qt(K.delay):0;c&&(6===m.previousNode.type||0==P&&m.currentTimeline.hasCurrentStyleProperties())&&(m.currentTimeline.snapshotCurrentStyles(),m.previousNode=An);let v=P;const A=m.invokeQuery(h.selector,h.originalSelector,h.limit,h.includeSelf,!!K.optional,m.errors);m.currentQueryTotal=A.length;let _=null;A.forEach((L,pe)=>{m.currentQueryIndex=pe;const Ve=m.createSubContext(h.options,L);c&&Ve.delayNextStep(c),L===m.element&&(_=Ve.currentTimeline),ro(this,h.animation,Ve),Ve.currentTimeline.applyStylesToKeyframe(),v=Math.max(v,Ve.currentTimeline.currentTime)}),m.currentQueryIndex=0,m.currentQueryTotal=0,m.transformIntoNewTimeline(v),_&&(m.currentTimeline.mergeTimelineCollectedStyles(_),m.currentTimeline.snapshotCurrentStyles()),m.previousNode=h}visitStagger(h,m){const P=m.parentContext,K=m.currentTimeline,c=h.timings,v=Math.abs(c.duration),A=v*(m.currentQueryTotal-1);let _=v*m.currentQueryIndex;switch(c.duration<0?"reverse":c.easing){case"reverse":_=A-_;break;case"full":_=P.currentStaggerTime}const pe=m.currentTimeline;_&&pe.delayNextStep(_);const Ve=pe.currentTime;ro(this,h.animation,m),m.previousNode=h,P.currentStaggerTime=K.currentTime-Ve+(K.startTime-P.currentTimeline.startTime)}}const An={};class ho{constructor(h,m,P,K,c,v,A,_){this._driver=h,this.element=m,this.subInstructions=P,this._enterClassName=K,this._leaveClassName=c,this.errors=v,this.timelines=A,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=An,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=_||new er(this._driver,m,0),A.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(h,m){if(!h)return;const P=h;let K=this.options;null!=P.duration&&(K.duration=Qt(P.duration)),null!=P.delay&&(K.delay=Qt(P.delay));const c=P.params;if(c){let v=K.params;v||(v=this.options.params={}),Object.keys(c).forEach(A=>{(!m||!v.hasOwnProperty(A))&&(v[A]=Xn(c[A],v,this.errors))})}}_copyOptions(){const h={};if(this.options){const m=this.options.params;if(m){const P=h.params={};Object.keys(m).forEach(K=>{P[K]=m[K]})}}return h}createSubContext(h=null,m,P){const K=m||this.element,c=new ho(this._driver,K,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(K,P||0));return c.previousNode=this.previousNode,c.currentAnimateTimings=this.currentAnimateTimings,c.options=this._copyOptions(),c.updateOptions(h),c.currentQueryIndex=this.currentQueryIndex,c.currentQueryTotal=this.currentQueryTotal,c.parentContext=this,this.subContextCount++,c}transformIntoNewTimeline(h){return this.previousNode=An,this.currentTimeline=this.currentTimeline.fork(this.element,h),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(h,m,P){const K={duration:m??h.duration,delay:this.currentTimeline.currentTime+(P??0)+h.delay,easing:""},c=new eo(this._driver,h.element,h.keyframes,h.preStyleProps,h.postStyleProps,K,h.stretchStartingKeyframe);return this.timelines.push(c),K}incrementTime(h){this.currentTimeline.forwardTime(this.currentTimeline.duration+h)}delayNextStep(h){h>0&&this.currentTimeline.delayNextStep(h)}invokeQuery(h,m,P,K,c,v){let A=[];
29if(K&&A.push(this.element),h.length>0){h=(h=h.replace(Vr,"."+this._enterClassName)).replace(Vn,"."+this._leaveClassName);let L=this._driver.query(this.element,h,1!=P);0!==P&&(L=P<0?L.slice(L.length+P,L.length):L.slice(0,P)),A.push(...L)}return!c&&0==A.length&&v.push(function me(Y){return new E.wOt(3014,!1)}()),A}}class er{constructor(h,m,P,K){this._driver=h,this.element=m,this.startTime=P,this._elementTimelineStylesLookup=K,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(m),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(m,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(h){const m=1===this._keyframes.size&&this._pendingStyles.size;this.duration||m?(this.forwardTime(this.currentTime+h),m&&this.snapshotCurrentStyles()):this.startTime+=h}fork(h,m){return this.applyStylesToKeyframe(),new er(this._driver,h,m||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(h){this.applyStylesToKeyframe(),this.duration=h,this._loadKeyframe()}_updateStyle(h,m){this._localTimelineStyles.set(h,m),this._globalTimelineStyles.set(h,m),this._styleSummary.set(h,{time:this.currentTime,value:m})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(h){h&&this._previousKeyframe.set("easing",h);for(let[m,P]of this._globalTimelineStyles)this._backFill.set(m,P||Et.kp),this._currentKeyframe.set(m,Et.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(h,m,P,K){m&&this._previousKeyframe.set("easing",m);const c=K&&K.params||{},v=function Kn(Y,h){const m=new Map;let P;return Y.forEach(K=>{if("*"===K){P=P||h.keys();for(let c of P)m.set(c,Et.kp)}else Zn(K,m)}),m}(h,this._globalTimelineStyles);for(let[A,_]of v){const L=Xn(_,c,P);this._pendingStyles.set(A,L),this._localTimelineStyles.has(A)||this._backFill.set(A,this._globalTimelineStyles.get(A)??Et.kp),this._updateStyle(A,L)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((h,m)=>{this._currentKeyframe.set(m,h)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((h,m)=>{this._currentKeyframe.has(m)||this._currentKeyframe.set(m,h)}))}snapshotCurrentStyles(){for(let[h,m]of this._localTimelineStyles)this._pendingStyles.set(h,m),this._updateStyle(h,m)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const h=[];for(let m in this._currentKeyframe)h.push(m);return h}
29mergeTimelineCollectedStyles(h){h._styleSummary.forEach((m,P)=>{const K=this._styleSummary.get(P);(!K||m.time>K.time)&&this._updateStyle(P,m.value)})}buildKeyframes(){this.applyStylesToKeyframe();const h=new Set,m=new Set,P=1===this._keyframes.size&&0===this.duration;let K=[];this._keyframes.forEach((A,_)=>{const L=Zn(A,new Map,this._backFill);L.forEach((pe,Ve)=>{pe===Et.FX?h.add(Ve):pe===Et.kp&&m.add(Ve)}),P||L.set("offset",_/this.duration),K.push(L)});const c=h.size?qn(h.values()):[],v=m.size?qn(m.values()):[];if(P){const A=K[0],_=new Map(A);A.set("offset",0),_.set("offset",1),K=[A,_]}return so(this.element,K,c,v,this.duration,this.startTime,this.easing,!1)}}class eo extends er{constructor(h,m,P,K,c,v,A=!1){super(h,m,v.delay),this.keyframes=P,this.preStyleProps=K,this.postStyleProps=c,this._stretchStartingKeyframe=A,this.timings={duration:v.duration,delay:v.delay,easing:v.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let h=this.keyframes,{delay:m,duration:P,easing:K}=this.timings;if(this._stretchStartingKeyframe&&m){const c=[],v=P+m,A=m/v,_=Zn(h[0]);_.set("offset",0),c.push(_);const L=Zn(h[0]);L.set("offset",Yo(A)),c.push(L);const pe=h.length-1;for(let Ve=1;Ve<=pe;Ve++){let ft=Zn(h[Ve]);const Gt=ft.get("offset");ft.set("offset",Yo((m+Gt*P)/v)),c.push(ft)}P=v,m=0,K="",h=c}return so(this.element,h,this.preStyleProps,this.postStyleProps,P,m,K,!0)}}function Yo(Y,h=3){const m=Math.pow(10,h-1);return Math.round(Y*m)/m}class Qo{}const Tr=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Rr extends Qo{normalizePropertyName(h,m){return Qn(h)}normalizeStyleValue(h,m,P,K){let c="";const v=P.toString().trim();if(Tr.has(m)&&0!==P&&"0"!==P)if("number"==typeof P)c="px";else{const A=P.match(/^[+-]?[\d\.]+([a-z]*)$/);A&&0==A[1].length&&K.push(function Fe(Y,h){return new E.wOt(3005,!1)}())}return v+c}}function tr(Y,h,m,P,K,c,v,A,_,L,pe,Ve,ft){return{type:0,element:Y,triggerName:h,isRemovalTransition:K,fromState:m,fromStyles:c,toState:P,toStyles:v,timelines:A,queriedElements:_,preStyleProps:L,postStyleProps:pe,totalTime:Ve,errors:ft}}
29const Gn={};class Ar{constructor(h,m,P){this._triggerName=h,this.ast=m,this._stateStyles=P}match(h,m,P,K){return function go(Y,h,m,P,K){return Y.some(c=>c(h,m,P,K))}(this.ast.matchers,h,m,P,K)}buildStyles(h,m,P){let K=this._stateStyles.get("*");return void 0!==h&&(K=this._stateStyles.get(h?.toString())||K),K?K.buildStyles(m,P):new Map}build(h,m,P,K,c,v,A,_,L,pe){const Ve=[],ft=this.ast.options&&this.ast.options.params||Gn,Wt=this.buildStyles(P,A&&A.params||Gn,Ve),Kt=_&&_.params||Gn,nn=this.buildStyles(K,Kt,Ve),Dn=new Set,yn=new Map,kn=new Map,Hn="void"===K,wo={params:dr(Kt,ft),delay:this.ast.options?.delay},lo=pe?[]:Xt(h,m,this.ast.animation,c,v,Wt,nn,wo,L,Ve);let Wn=0;if(lo.forEach(Po=>{Wn=Math.max(Po.duration+Po.delay,Wn)}),Ve.length)return tr(m,this._triggerName,P,K,Hn,Wt,nn,[],[],yn,kn,Wn,Ve);lo.forEach(Po=>{const Ro=Po.element,Bi=Se(yn,Ro,new Set);Po.preStyleProps.forEach(Ao=>Bi.add(Ao));const xo=Se(kn,Ro,new Set);Po.postStyleProps.forEach(Ao=>xo.add(Ao)),Ro!==m&&Dn.add(Ro)});const bo=qn(Dn.values());return tr(m,this._triggerName,P,K,Hn,Wt,nn,lo,bo,yn,kn,Wn)}}function dr(Y,h){const m=Tn(h);for(const P in Y)Y.hasOwnProperty(P)&&null!=Y[P]&&(m[P]=Y[P]);return m}class $r{constructor(h,m,P){this.styles=h,this.defaultParams=m,this.normalizer=P}buildStyles(h,m){const P=new Map,K=Tn(this.defaultParams);return Object.keys(h).forEach(c=>{const v=h[c];null!==v&&(K[c]=v)}),this.styles.styles.forEach(c=>{"string"!=typeof c&&c.forEach((v,A)=>{v&&(v=Xn(v,K,m));const _=this.normalizer.normalizePropertyName(A,m);v=this.normalizer.normalizeStyleValue(A,_,v,m),P.set(A,v)})}),P}}class Jo{constructor(h,m,P){this.name=h,this.ast=m,this._normalizer=P,this.transitionFactories=[],this.states=new Map,m.states.forEach(K=>{this.states.set(K.name,new $r(K.style,K.options&&K.options.params||{},P))}),ko(this.states,"true","1"),ko(this.states,"false","0"),m.transitions.forEach(K=>{this.transitionFactories.push(new Ar(h,K,this.states))}),this.fallbackTransition=function Cr(Y,h,m){return new Ar(Y,{type:1,animation:{type:2,steps:[],options:null},matchers:[(v,A)=>!0],options:null,queryCount:0,depCount:0},h)}(h,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(h,m,P,K){return this.transitionFactories.find(v=>v.match(h,m,P,K))||null}matchStyles(h,m,P){return this.fallbackTransition.buildStyles(h,m,P)}}function ko(Y,h,m){Y.has(h)?Y.has(m)||Y.set(m,Y.get(h)):Y.has(m)&&Y.set(h,Y.get(m))}const cn=new Go;class Xi{constructor(h,m,P){this.bodyNode=h,this._driver=m,this._normalizer=P,this._animations=new Map,this._playersById=new Map,this.players=[]}register(h,m){const P=[],c=an(this._driver,m,P,[]);if(P.length)throw function ye(Y){return new E.wOt(3503,!1)}();this._animations.set(h,c)}_buildPlayer(h,m,P){const K=h.element,c=On(this._normalizer,h.keyframes,m,P);return this._driver.animate(K,c,h.duration,h.delay,h.easing,[],!0)}create(h,m,P={}){const K=[],c=this._animations.get(h);let v;const A=new Map;if(c?(v=Xt(this._driver,m,c,We,_e,new Map,new Map,P,cn,K),v.forEach(pe=>{const Ve=Se(A,pe.element,new Map);pe.postStyleProps.forEach(ft=>Ve.set(ft,null))})):(K.push(function Ye(){return new E.wOt(3300,!1)}()),v=[]),K.length)throw function Oe(Y){return new E.wOt(3504,!1)}();A.forEach((pe,Ve)=>{pe.forEach((ft,Gt)=>{pe.set(Gt,this._driver.computeStyle(Ve,Gt,Et.kp))})});const L=on(v.map(pe=>{const Ve=A.get(pe.element);return this._buildPlayer(pe,new Map,Ve)}));return this._playersById.set(h,L),L.onDestroy(()=>this.destroy(h)),this.players.push(L),L}destroy(h){const m=this._getPlayer(h);m.destroy(),this._playersById.delete(h);const P=this.players.indexOf(m);P>=0&&this.players.splice(P,1)}_getPlayer(h){const m=this._playersById.get(h);if(!m)throw function Le(Y){return new E.wOt(3301,!1)}();return m}listen(h,m,P,K){const c=ke(m,"","","");return He(this._getPlayer(h),P,c,K),()=>{}}command(h,m,P,K){if("register"==P)return void this.register(h,K[0]);if("create"==P)return void this.create(h,m,K[0]||{});const c=this._getPlayer(h);switch(P){case"play":c.play();break;case"pause":c.pause();break;case"reset":c.reset();break;case"restart":c.restart();break;case"finish":c.finish();break;case"init":c.init();break;case"setPosition":c.setPosition(parseFloat(K[0]));break;
29case"destroy":this.destroy(h)}}}const Zo="ng-animate-queued",Ho="ng-animate-disabled",fo=[],Ki={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ao={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Nn="__ng_removed";class Lr{get params(){return this.options.params}constructor(h,m=""){this.namespaceId=m;const P=h&&h.hasOwnProperty("value");if(this.value=function se(Y){return Y??null}(P?h.value:h),P){const c=Tn(h);delete c.value,this.options=c}else this.options={};this.options.params||(this.options.params={})}absorbOptions(h){const m=h.params;if(m){const P=this.options.params;Object.keys(m).forEach(K=>{null==P[K]&&(P[K]=m[K])})}}}const Wo="void",ir=new Lr(Wo);class Mo{constructor(h,m,P){this.id=h,this.hostElement=m,this._engine=P,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+h,zn(m,this._hostClassName)}listen(h,m,P,K){if(!this._triggers.has(m))throw function ee(Y,h){return new E.wOt(3302,!1)}();if(null==P||0==P.length)throw function xe(Y){return new E.wOt(3303,!1)}();if(!function ge(Y){return"start"==Y||"done"==Y}(P))throw function Ze(Y,h){return new E.wOt(3400,!1)}();const c=Se(this._elementListeners,h,[]),v={name:m,phase:P,callback:K};c.push(v);const A=Se(this._engine.statesByElement,h,new Map);return A.has(m)||(zn(h,at),zn(h,at+"-"+m),A.set(m,ir)),()=>{this._engine.afterFlush(()=>{const _=c.indexOf(v);_>=0&&c.splice(_,1),this._triggers.has(m)||A.delete(m)})}}register(h,m){return!this._triggers.has(h)&&(this._triggers.set(h,m),!0)}_getTrigger(h){const m=this._triggers.get(h);if(!m)throw function Ke(Y){return new E.wOt(3401,!1)}();return m}trigger(h,m,P,K=!0){const c=this._getTrigger(m),v=new T(this.id,m,h);let A=this._engine.statesByElement.get(h);A||(zn(h,at),zn(h,at+"-"+m),this._engine.statesByElement.set(h,A=new Map));let _=A.get(m);const L=new Lr(P,this.id);if(!(P&&P.hasOwnProperty("value"))&&_&&L.absorbOptions(_.options),A.set(m,L),_||(_=ir),L.value!==Wo&&_.value===L.value){if(!function na(Y,h){const m=Object.keys(Y),P=Object.keys(h);if(m.length!=P.length)return!1;for(let K=0;K<m.length;K++){const c=m[K];if(!h.hasOwnProperty(c)||Y[c]!==h[c])return!1}return!0}(_.params,L.params)){const Kt=[],nn=c.matchStyles(_.value,_.params,Kt),Dn=c.matchStyles(L.value,L.params,Kt);Kt.length?this._engine.reportError(Kt):this._engine.afterFlush(()=>{Sn(h,nn),jn(h,Dn)})}return}const ft=Se(this._engine.playersByElement,h,[]);ft.forEach(Kt=>{Kt.namespaceId==this.id&&Kt.triggerName==m&&Kt.queued&&Kt.destroy()});let Gt=c.matchTransition(_.value,L.value,h,L.params),Wt=!1;if(!Gt){if(!K)return;Gt=c.fallbackTransition,Wt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:h,triggerName:m,transition:Gt,fromState:_,toState:L,player:v,isFallbackTransition:Wt}),Wt||(zn(h,Zo),v.onStart(()=>{So(h,Zo)})),v.onDone(()=>{let Kt=this.players.indexOf(v);Kt>=0&&this.players.splice(Kt,1);const nn=this._engine.playersByElement.get(h);if(nn){let Dn=nn.indexOf(v);Dn>=0&&nn.splice(Dn,1)}}),this.players.push(v),ft.push(v),v}deregister(h){this._triggers.delete(h),this._engine.statesByElement.forEach(m=>m.delete(h)),this._elementListeners.forEach((m,P)=>{this._elementListeners.set(P,m.filter(K=>K.name!=h))})}clearElementCache(h){this._engine.statesByElement.delete(h),this._elementListeners.delete(h);const m=this._engine.playersByElement.get(h);m&&(m.forEach(P=>P.destroy()),this._engine.playersByElement.delete(h))}_signalRemovalForInnerTriggers(h,m){const P=this._engine.driver.query(h,dt,!0);P.forEach(K=>{if(K[Nn])return;const c=this._engine.fetchNamespacesByElement(K);c.size?c.forEach(v=>v.triggerLeaveAnimation(K,m,!1,!0)):this.clearElementCache(K)}),this._engine.afterFlushAnimationsDone(()=>P.forEach(K=>this.clearElementCache(K)))}triggerLeaveAnimation(h,m,P,K){const c=this._engine.statesByElement.get(h),v=new Map;if(c){const A=[];if(c.forEach((_,L)=>{if(v.set(L,_.value),this._triggers.has(L)){const pe=this.trigger(h,L,Wo,K);pe&&A.push(pe)}}),A.length)return this._engine.markElementAsRemoved(this.id,h,!0,m,v),P&&on(A).onDone(()=>this._engine.processLeaveNode(h)),!0}return!1}prepareLeaveAnimationListeners(h){const m=this._elementListeners.get(h),P=this._engine.statesByElement.get(h);if(m&&P){const K=new Set;m.forEach(c=>{const v=c.name;if(K.has(v))return;K.add(v);const _=this._triggers.get(v).fallbackTransition,L=P.get(v)||ir,pe=new Lr(Wo),Ve=new T(this.id,v,h);this._engine.totalQueuedPlayers++,this._queue.push({element:h,triggerName:v,transition:_,fromState:L,toState:pe,player:Ve,isFallbackTransition:!0})})}}removeNode(h,m){const P=this._engine;if(h.childElementCount&&this._signalRemovalForInnerTriggers(h,m),this.triggerLeaveAnimation(h,m,!0))return;let K=!1;if(P.totalAnimations){const c=P.players.length?P.playersByQueriedElement.get(h):[];if(c&&c.length)K=!0;else{let v=h;for(;v=v.parentNode;)if(P.statesByElement.get(v)){K=!0;break}}}if(this.prepareLeaveAnimationListeners(h),K)P.markElementAsRemoved(this.id,h,!1,m);else{const c=h[Nn];(!c||c===Ki)&&(P.afterFlush(()=>this.clearElementCache(h)),P.destroyInnerAnimations(h),P._onRemovalComplete(h,m))}}insertNode(h,m){zn(h,this._hostClassName)}drainQueuedTransitions(h){const m=[];return this._queue.forEach(P=>{const K=P.player;if(K.destroyed)return;const c=P.element,v=this._elementListeners.get(c);v&&v.forEach(A=>
29{if(A.name==P.triggerName){const _=ke(c,P.triggerName,P.fromState.value,P.toState.value);_._data=h,He(P.player,A.phase,_,A.callback)}}),K.markedForDestroy?this._engine.afterFlush(()=>{K.destroy()}):m.push(P)}),this._queue=[],m.sort((P,K)=>{const c=P.transition.ast.depCount,v=K.transition.ast.depCount;return 0==c||0==v?c-v:this._engine.driver.containsElement(P.element,K.element)?1:-1})}destroy(h){this.players.forEach(m=>m.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,h)}}class Gr{_onRemovalComplete(h,m){this.onRemovalComplete(h,m)}constructor(h,m,P){this.bodyNode=h,this.driver=m,this._normalizer=P,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(K,c)=>{}}get queuedPlayers(){const h=[];return this._namespaceList.forEach(m=>{m.players.forEach(P=>{P.queued&&h.push(P)})}),h}createNamespace(h,m){const P=new Mo(h,m,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,m)?this._balanceNamespaceList(P,m):(this.newHostElements.set(m,P),this.collectEnterElement(m)),this._namespaceLookup[h]=P}_balanceNamespaceList(h,m){const P=this._namespaceList,K=this.namespacesByHostElement;if(P.length-1>=0){let v=!1,A=this.driver.getParentElement(m);for(;A;){const _=K.get(A);if(_){const L=P.indexOf(_);P.splice(L+1,0,h),v=!0;break}A=this.driver.getParentElement(A)}v||P.unshift(h)}else P.push(h);return K.set(m,h),h}register(h,m){let P=this._namespaceLookup[h];return P||(P=this.createNamespace(h,m)),P}registerTrigger(h,m,P){let K=this._namespaceLookup[h];K&&K.register(m,P)&&this.totalAnimations++}destroy(h,m){h&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const P=this._fetchNamespace(h);this.namespacesByHostElement.delete(P.hostElement);const K=this._namespaceList.indexOf(P);K>=0&&this._namespaceList.splice(K,1),P.destroy(m),delete this._namespaceLookup[h]}))}_fetchNamespace(h){return this._namespaceLookup[h]}fetchNamespacesByElement(h){const m=new Set,P=this.statesByElement.get(h);if(P)for(let K of P.values())if(K.namespaceId){const c=this._fetchNamespace(K.namespaceId);c&&m.add(c)}return m}trigger(h,m,P,K){if(R(m)){const c=this._fetchNamespace(h);if(c)return c.trigger(m,P,K),!0}return!1}insertNode(h,m,P,K){if(!R(m))return;const c=m[Nn];if(c&&c.setForRemoval){c.setForRemoval=!1,c.setForMove=!0;const v=this.collectedLeaveElements.indexOf(m);v>=0&&this.collectedLeaveElements.splice(v,1)}if(h){const v=this._fetchNamespace(h);v&&v.insertNode(m,P)}K&&this.collectEnterElement(m)}collectEnterElement(h){this.collectedEnterElements.push(h)}markElementAsDisabled(h,m){m?this.disabledNodes.has(h)||(this.disabledNodes.add(h),zn(h,Ho)):this.disabledNodes.has(h)&&(this.disabledNodes.delete(h),So(h,Ho))}removeNode(h,m,P){if(R(m)){const K=h?this._fetchNamespace(h):null;K?K.removeNode(m,P):this.markElementAsRemoved(h,m,!1,P);const c=this.namespacesByHostElement.get(m);c&&c.id!==h&&c.removeNode(m,P)}else this._onRemovalComplete(m,P)}markElementAsRemoved(h,m,P,K,c){this.collectedLeaveElements.push(m),m[Nn]={namespaceId:h,setForRemoval:K,hasAnimation:P,removedBeforeQueried:!1,previousTriggersValues:c}}listen(h,m,P,K,c){return R(m)?this._fetchNamespace(h).listen(m,P,K,c):()=>{}}_buildInstruction(h,m,P,K,c){return h.transition.build(this.driver,h.element,h.fromState.value,h.toState.value,P,K,h.fromState.options,h.toState.options,m,c)}destroyInnerAnimations(h){let m=this.driver.query(h,dt,!0);m.forEach(P=>this.destroyActiveAnimationsForElement(P)),0!=this.playersByQueriedElement.size&&(m=this.driver.query(h,Lt,!0),m.forEach(P=>this.finishActiveQueriedAnimationOnElement(P)))}destroyActiveAnimationsForElement(h){const m=this.playersByElement.get(h);m&&m.forEach(P=>{P.queued?P.markedForDestroy=!0:P.destroy()})}finishActiveQueriedAnimationOnElement(h){const m=this.playersByQueriedElement.get(h);m&&m.forEach(P=>P.finish())}whenRenderingDone(){return new Promise(h=>{if(this.players.length)return on(this.players).onDone(()=>h());h()})}processLeaveNode(h){const m=h[Nn];if(m&&m.setForRemoval){if(h[Nn]=Ki,m.namespaceId){this.destroyInnerAnimations(h);const P=this._fetchNamespace(m.namespaceId);P&&P.clearElementCache(h)}this._onRemovalComplete(h,m.setForRemoval)}h.classList?.contains(Ho)&&this.markElementAsDisabled(h,!1),this.driver.query(h,".ng-animate-disabled",!0).forEac
29h(P=>{this.markElementAsDisabled(P,!1)})}flush(h=-1){let m=[];if(this.newHostElements.size&&(this.newHostElements.forEach((P,K)=>this._balanceNamespaceList(P,K)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let P=0;P<this.collectedEnterElements.length;P++)zn(this.collectedEnterElements[P],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const P=[];try{m=this._flushAnimations(P,h)}finally{for(let K=0;K<P.length;K++)P[K]()}}else for(let P=0;P<this.collectedLeaveElements.length;P++)this.processLeaveNode(this.collectedLeaveElements[P]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(P=>P()),this._flushFns=[],this._whenQuietFns.length){const P=this._whenQuietFns;this._whenQuietFns=[],m.length?on(m).onDone(()=>{P.forEach(K=>K())}):P.forEach(K=>K())}}reportError(h){throw function Vt(Y){return new E.wOt(3402,!1)}()}_flushAnimations(h,m){const P=new Go,K=[],c=new Map,v=[],A=new Map,_=new Map,L=new Map,pe=new Set;this.disabledNodes.forEach(Ht=>{pe.add(Ht);const rn=this.driver.query(Ht,".ng-animate-queued",!0);for(let un=0;un<rn.length;un++)pe.add(rn[un])});const Ve=this.bodyNode,ft=Array.from(this.statesByElement.keys()),Gt=vo(ft,this.collectedEnterElements),Wt=new Map;let Kt=0;Gt.forEach((Ht,rn)=>{const un=We+Kt++;Wt.set(rn,un),Ht.forEach(vn=>zn(vn,un))});const nn=[],Dn=new Set,yn=new Set;for(let Ht=0;Ht<this.collectedLeaveElements.length;Ht++){const rn=this.collectedLeaveElements[Ht],un=rn[Nn];un&&un.setForRemoval&&(nn.push(rn),Dn.add(rn),un.hasAnimation?this.driver.query(rn,".ng-star-inserted",!0).forEach(vn=>Dn.add(vn)):yn.add(rn))}const kn=new Map,Hn=vo(ft,Array.from(Dn));Hn.forEach((Ht,rn)=>{const un=_e+Kt++;kn.set(rn,un),Ht.forEach(vn=>zn(vn,un))}),h.push(()=>{Gt.forEach((Ht,rn)=>{const un=Wt.get(rn);Ht.forEach(vn=>So(vn,un))}),Hn.forEach((Ht,rn)=>{const un=kn.get(rn);Ht.forEach(vn=>So(vn,un))}),nn.forEach(Ht=>{this.processLeaveNode(Ht)})});const wo=[],lo=[];for(let Ht=this._namespaceList.length-1;Ht>=0;Ht--)this._namespaceList[Ht].drainQueuedTransitions(m).forEach(un=>{const vn=un.player,Io=un.element;if(wo.push(vn),this.collectedEnterElements.length){const no=Io[Nn];if(no&&no.setForMove){if(no.previousTriggersValues&&no.previousTriggersValues.has(un.triggerName)){const Kr=no.previousTriggersValues.get(un.triggerName),hr=this.statesByElement.get(un.element);if(hr&&hr.has(un.triggerName)){const Ei=hr.get(un.triggerName);Ei.value=Kr,hr.set(un.triggerName,Ei)}}return void vn.destroy()}}const pr=!Ve||!this.driver.containsElement(Ve,Io),mo=kn.get(Io),co=Wt.get(Io),to=this._buildInstruction(un,P,co,mo,pr);if(to.errors&&to.errors.length)return void lo.push(to);if(pr)return vn.onStart(()=>Sn(Io,to.fromStyles)),vn.onDestroy(()=>jn(Io,to.toStyles)),void K.push(vn);if(un.isFallbackTransition)return vn.onStart(()=>Sn(Io,to.fromStyles)),vn.onDestroy(()=>jn(Io,to.toStyles)),void K.push(vn);const ts=[];to.timelines.forEach(no=>{no.stretchStartingKeyframe=!0,this.disabledNodes.has(no.element)||ts.push(no)}),to.timelines=ts,P.append(Io,to.timelines),v.push({instruction:to,player:vn,element:Io}),to.queriedElements.forEach(no=>Se(A,no,[]).push(vn)),to.preStyleProps.forEach((no,Kr)=>{if(no.size){let hr=_.get(Kr);hr||_.set(Kr,hr=new Set),no.forEach((Ei,Oi)=>hr.add(Oi))}}),to.postStyleProps.forEach((no,Kr)=>{let hr=L.get(Kr);hr||L.set(Kr,hr=new Set),no.forEach((Ei,Oi)=>hr.add(Oi))})});if(lo.length){const Ht=[];lo.forEach(rn=>{Ht.push(function Bt(Y,h){return new E.wOt(3505,!1)}())}),wo.forEach(rn=>rn.destroy()),this.reportError(Ht)}const Wn=new Map,bo=new Map;v.forEach(Ht=>{const rn=Ht.element;P.has(rn)&&(bo.set(rn,rn),this._beforeAnimationBuild(Ht.player.namespaceId,Ht.instruction,Wn))}),K.forEach(Ht=>{const rn=Ht.element;this._getPreviousPlayers(rn,!1,Ht.namespaceId,Ht.triggerName,null).forEach(vn=>{Se(Wn,rn,[]).push(vn),vn.destroy()})});const Po=nn.filter(Ht=>zi(Ht,_,L)),Ro=new Map;mn(Ro,this.driver,yn,L,Et.kp).forEach(Ht=>{zi(Ht,_,L)&&Po.push(Ht)});const xo=new Map;Gt.forEach((Ht,rn)=>{mn(xo,this.driver,new Set(Ht),_,Et.FX)}),Po.forEach(Ht=>{const rn=Ro.get(Ht),un=xo.get(Ht);Ro.set(Ht,new Map([...rn?.entries()??[],...un?.entries()??[]]))});const Ao=[],ji=[],si={};v.forEach(Ht=>{const{element:rn,player:un,instruction:vn}=Ht;if(P.has(rn)){if(pe.has(rn))return un.onDestroy(()=>jn(rn,vn.toStyles)),un.disabled=!0,un.overrideTotalTime(vn.totalTime),void K.push(un);let Io=si;if(bo.size>1){let mo=rn;const co=[];for(;mo=mo.parentNode;){const to=bo.get(mo);if(to){Io=to;break}co.push(mo)}
29co.forEach(to=>bo.set(to,Io))}const pr=this._buildAnimation(un.namespaceId,vn,Wn,c,xo,Ro);if(un.setRealPlayer(pr),Io===si)Ao.push(un);else{const mo=this.playersByElement.get(Io);mo&&mo.length&&(un.parentPlayer=on(mo)),K.push(un)}}else Sn(rn,vn.fromStyles),un.onDestroy(()=>jn(rn,vn.toStyles)),ji.push(un),pe.has(rn)&&K.push(un)}),ji.forEach(Ht=>{const rn=c.get(Ht.element);if(rn&&rn.length){const un=on(rn);Ht.setRealPlayer(un)}}),K.forEach(Ht=>{Ht.parentPlayer?Ht.syncPlayerEvents(Ht.parentPlayer):Ht.destroy()});for(let Ht=0;Ht<nn.length;Ht++){const rn=nn[Ht],un=rn[Nn];if(So(rn,_e),un&&un.hasAnimation)continue;let vn=[];if(A.size){let pr=A.get(rn);pr&&pr.length&&vn.push(...pr);let mo=this.driver.query(rn,Lt,!0);for(let co=0;co<mo.length;co++){let to=A.get(mo[co]);to&&to.length&&vn.push(...to)}}const Io=vn.filter(pr=>!pr.destroyed);Io.length?ei(this,rn,Io):this.processLeaveNode(rn)}return nn.length=0,Ao.forEach(Ht=>{this.players.push(Ht),Ht.onDone(()=>{Ht.destroy();const rn=this.players.indexOf(Ht);this.players.splice(rn,1)}),Ht.play()}),Ao}afterFlush(h){this._flushFns.push(h)}afterFlushAnimationsDone(h){this._whenQuietFns.push(h)}_getPreviousPlayers(h,m,P,K,c){let v=[];if(m){const A=this.playersByQueriedElement.get(h);A&&(v=A)}else{const A=this.playersByElement.get(h);if(A){const _=!c||c==Wo;A.forEach(L=>{L.queued||!_&&L.triggerName!=K||v.push(L)})}}return(P||K)&&(v=v.filter(A=>!(P&&P!=A.namespaceId||K&&K!=A.triggerName))),v}_beforeAnimationBuild(h,m,P){const c=m.element,v=m.isRemovalTransition?void 0:h,A=m.isRemovalTransition?void 0:m.triggerName;for(const _ of m.timelines){const L=_.element,pe=L!==c,Ve=Se(P,L,[]);this._getPreviousPlayers(L,pe,v,A,m.toState).forEach(Gt=>{const Wt=Gt.getRealPlayer();Wt.beforeDestroy&&Wt.beforeDestroy(),Gt.destroy(),Ve.push(Gt)})}Sn(c,m.fromStyles)}_buildAnimation(h,m,P,K,c,v){const A=m.triggerName,_=m.element,L=[],pe=new Set,Ve=new Set,ft=m.timelines.map(Wt=>{const Kt=Wt.element;pe.add(Kt);const nn=Kt[Nn];if(nn&&nn.removedBeforeQueried)return new Et.sf(Wt.duration,Wt.delay);const Dn=Kt!==_,yn=function ta(Y){const h=[];return Ai(Y,h),h}((P.get(Kt)||fo).map(Wn=>Wn.getRealPlayer())).filter(Wn=>!!Wn.element&&Wn.element===Kt),kn=c.get(Kt),Hn=v.get(Kt),wo=On(this._normalizer,Wt.keyframes,kn,Hn),lo=this._buildPlayer(Wt,wo,yn);if(Wt.subTimeline&&K&&Ve.add(Kt),Dn){const Wn=new T(h,A,Kt);Wn.setRealPlayer(lo),L.push(Wn)}return lo});L.forEach(Wt=>{Se(this.playersByQueriedElement,Wt.element,[]).push(Wt),Wt.onDone(()=>function S(Y,h,m){let P=Y.get(h);if(P){if(P.length){const K=P.indexOf(m);P.splice(K,1)}0==P.length&&Y.delete(h)}return P}(this.playersByQueriedElement,Wt.element,Wt))}),pe.forEach(Wt=>zn(Wt,xt));const Gt=on(ft);return Gt.onDestroy(()=>{pe.forEach(Wt=>So(Wt,xt)),jn(_,m.toStyles)}),Ve.forEach(Wt=>{Se(K,Wt,[]).push(Gt)}),Gt}_buildPlayer(h,m,P){return m.length>0?this.driver.animate(h.element,m,h.duration,h.delay,h.easing,P):new Et.sf(h.duration,h.delay)}}class T{constructor(h,m,P){this.namespaceId=h,this.triggerName=m,this.element=P,this._player=new Et.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(h){this._containsRealPlayer||(this._player=h,this._queuedCallbacks.forEach((m,P)=>{m.forEach(K=>He(h,P,void 0,K))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(h.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(h){this.totalTime=h}syncPlayerEvents(h){const m=this._player;m.triggerCallback&&h.onStart(()=>m.triggerCallback("start")),h.onDone(()=>this.finish()),h.onDestroy(()=>this.destroy())}_queueEvent(h,m){Se(this._queuedCallbacks,h,[]).push(m)}onDone(h){this.queued&&this._queueEvent("done",h),this._player.onDone(h)}onStart(h){this.queued&&this._queueEvent("start",h),this._player.onStart(h)}onDestroy(h){this.queued&&this._queueEvent("destroy",h),this._player.onDestroy(h)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(h){this.queued||this._player.setPosition(h)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(h){const m=this._player;m.triggerCallback&&m.triggerCallback(h)}}function R(Y){return Y&&1===Y.nodeType}function jt(Y,h){const m=Y.style.display;return Y.style.display=h??"none",m}function mn(Y,h,m,P,K){const c=[];m.forEach(_=>c.push(jt(_)));const v=[];P.forEach((_,L)=>{const pe=new Map;_.forEach(Ve=>
29{const ft=h.computeStyle(L,Ve,K);pe.set(Ve,ft),(!ft||0==ft.length)&&(L[Nn]=ao,v.push(L))}),Y.set(L,pe)});let A=0;return m.forEach(_=>jt(_,c[A++])),v}function vo(Y,h){const m=new Map;if(Y.forEach(A=>m.set(A,[])),0==h.length)return m;const K=new Set(h),c=new Map;function v(A){if(!A)return 1;let _=c.get(A);if(_)return _;const L=A.parentNode;return _=m.has(L)?L:K.has(L)?1:v(L),c.set(A,_),_}return h.forEach(A=>{const _=v(A);1!==_&&m.get(_).push(A)}),m}function zn(Y,h){Y.classList?.add(h)}function So(Y,h){Y.classList?.remove(h)}function ei(Y,h,m){on(m).onDone(()=>Y.processLeaveNode(h))}function Ai(Y,h){for(let m=0;m<Y.length;m++){const P=Y[m];P instanceof Et.ui?Ai(P.players,h):h.push(P)}}function zi(Y,h,m){const P=m.get(Y);if(!P)return!1;let K=h.get(Y);return K?P.forEach(c=>K.add(c)):h.set(Y,P),m.delete(Y),!0}class hi{constructor(h,m,P){this.bodyNode=h,this._driver=m,this._normalizer=P,this._triggerCache={},this.onRemovalComplete=(K,c)=>{},this._transitionEngine=new Gr(h,m,P),this._timelineEngine=new Xi(h,m,P),this._transitionEngine.onRemovalComplete=(K,c)=>this.onRemovalComplete(K,c)}registerTrigger(h,m,P,K,c){const v=h+"-"+K;let A=this._triggerCache[v];if(!A){const _=[],pe=an(this._driver,c,_,[]);if(_.length)throw function Te(Y,h){return new E.wOt(3404,!1)}();A=function nr(Y,h,m){return new Jo(Y,h,m)}(K,pe,this._normalizer),this._triggerCache[v]=A}this._transitionEngine.registerTrigger(m,K,A)}register(h,m){this._transitionEngine.register(h,m)}destroy(h,m){this._transitionEngine.destroy(h,m)}onInsert(h,m,P,K){this._transitionEngine.insertNode(h,m,P,K)}onRemove(h,m,P){this._transitionEngine.removeNode(h,m,P)}disableAnimations(h,m){this._transitionEngine.markElementAsDisabled(h,m)}process(h,m,P,K){if("@"==P.charAt(0)){const[c,v]=Ne(P);this._timelineEngine.command(c,m,v,K)}else this._transitionEngine.trigger(h,m,P,K)}listen(h,m,P,K,c){if("@"==P.charAt(0)){const[v,A]=Ne(P);return this._timelineEngine.listen(v,m,A,c)}return this._transitionEngine.listen(h,m,P,K,c)}flush(h=-1){this._transitionEngine.flush(h)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(h){this._transitionEngine.afterFlushAnimationsDone(h)}}let gi=(()=>{class h{constructor(P,K,c){this._element=P,this._startStyles=K,this._endStyles=c,this._state=0;let v=h.initialStylesByElement.get(P);v||h.initialStylesByElement.set(P,v=new Map),this._initialStyles=v}start(){this._state<1&&(this._startStyles&&jn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(jn(this._element,this._initialStyles),this._endStyles&&(jn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(h.initialStylesByElement.delete(this._element),this._startStyles&&(Sn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Sn(this._element,this._endStyles),this._endStyles=null),jn(this._element,this._initialStyles),this._state=3)}}return h.initialStylesByElement=new WeakMap,h})();function ti(Y){let h=null;return Y.forEach((m,P)=>{(function fi(Y){return"display"===Y||"position"===Y})(P)&&(h=h||new Map,h.set(P,m))}),h}class Hr{constructor(h,m,P,K){this.element=h,this.keyframes=m,this.options=P,this._specialStyles=K,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=P.duration,this._delay=P.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(h=>h()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const h=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,h,this.options),this._finalKeyframe=h.length?h[h.length-1]:new Map;const m=()=>this._onFinish();this.domPlayer.addEventListener("finish",m),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",m)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(h){const m=[];return h.forEach(P=>{m.push(Object.fromEntries(P))}),m}_triggerWebAnimation(h,m,P){return h.animate(this._convertKeyframesToObject(m),P)}onStart(h){this._originalOnStartFns.push(h),this._onStartFns.push(h)}onDone(h){this._originalOnDoneFns.push(h),this._onDoneFns.push(h)}onDestroy(h){this._onDestroyFns.push(h)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(h=>h()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(h=>h()),this._onDestroyFns=[])}setPosition(h){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=h*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const h=new Map;this.hasStarted()&&this._finalKeyframe.forEach((P,K)=>{"offset"!==K&&h.set(K,this._finished?P:Ir(this.element,K))}),this.currentSnapshot=h}triggerCallback(h){const m="start"===h?this._onStartFns:this._onDoneFns;m.forEach(P=>P()),m.length=0}}class mi{validateStyleProperty(h){return!0}validateAnimatableStyleProperty(h){return!0}matchesElement(h,m){return!1}containsElement(h,m){return De(h,m)}getParentElement(h){return lt(h)}query(h,m,P){return rt(h,m,P)}computeStyle(h,m,P){return window.getComputedStyle(h)[m]}animate(h,m,P,K,c,v=[]){const _={duration:P,delay:K,fill:0==K?"both":"forwards"};c&&(_.easing=c);const L=new Map,pe=v.filter(Gt=>Gt instanceof Hr);(function No(Y,h){return 0===Y||0===h})(P,K)&&pe.forEach(Gt=>{Gt.currentSnapshot.forEach((Wt,Kt)=>L.set(Kt,Wt))});let Ve=function dn(Y){return Y.length?Y[0]instanceof Map?Y:Y.map(h=>Yn(h)):[]}(m).map(Gt=>Zn(Gt));Ve=function $o(Y,h,m){if(m.size&&h.length){let P=h[0],K=[];if(m.forEach((c,v)=>{P.has(v)||K.push(v),P.set(v,c)}),K.length)for(let c=1;c<h.length;c++){let v=h[c];
29K.forEach(A=>v.set(A,Ir(Y,A)))}}return h}(h,Ve,L);const ft=function Yi(Y,h){let m=null,P=null;return Array.isArray(h)&&h.length?(m=ti(h[0]),h.length>1&&(P=ti(h[h.length-1]))):h instanceof Map&&(m=ti(h)),m||P?new gi(Y,m,P):null}(h,Ve);return new Hr(h,Ve,_,ft)}}
30/**
31         * @license Angular v16.2.12
32         * (c) 2010-2022 Google LLC. https://angular.io/
33         * License: MIT
34         */let yr=(()=>{var Y;class h extends Et.S6{constructor(P,K){super(),this._nextAnimationId=0,this._renderer=P.createRenderer(K.body,{id:"0",encapsulation:E.gXe.None,styles:[],data:{animation:[]}})}build(P){const K=this._nextAnimationId.toString();this._nextAnimationId++;const c=Array.isArray(P)?(0,Et.K2)(P):P;return _i(this._renderer,null,K,"register",[c]),new To(K,this._renderer)}}return(Y=h).\u0275fac=function(P){return new(P||Y)(E.KVO(E._9s),E.KVO(ae.qQ))},Y.\u0275prov=E.jDH({token:Y,factory:Y.\u0275fac}),h})();class To extends Et.Ro{constructor(h,m){super(),this._id=h,this._renderer=m}create(h,m){return new Fi(this._id,h,m||{},this._renderer)}}class Fi{constructor(h,m,P,K){this.id=h,this.element=m,this._renderer=K,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",P)}_listen(h,m){return this._renderer.listen(this.element,`@@${this.id}:${h}`,m)}_command(h,...m){return _i(this._renderer,this.element,this.id,h,m)}onDone(h){this._listen("done",h)}onStart(h){this._listen("start",h)}onDestroy(h){this._listen("destroy",h)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(h){this._command("setPosition",h)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function _i(Y,h,m,P,K){return Y.setProperty(h,`@@${m}:${P}`,K)}const Wr="@.disabled";let Do=(()=>{var Y;class h{constructor(P,K,c){this.delegate=P,this.engine=K,this._zone=c,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,K.onRemovalComplete=(v,A)=>{const _=A?.parentNode(v);_&&A.removeChild(_,v)}}createRenderer(P,K){const v=this.delegate.createRenderer(P,K);if(!(P&&K&&K.data&&K.data.animation)){let Ve=this._rendererCache.get(v);return Ve||(Ve=new Xr("",v,this.engine,()=>this._rendererCache.delete(v)),this._rendererCache.set(v,Ve)),Ve}const A=K.id,_=K.id+"-"+this._currentId;this._currentId++,this.engine.register(_,P);const L=Ve=>{Array.isArray(Ve)?Ve.forEach(L):this.engine.registerTrigger(A,_,P,Ve.name,Ve)};return K.data.animation.forEach(L),new ni(this,_,v,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(P,K,c){P>=0&&P<this._microtaskId?this._zone.run(()=>K(c)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(v=>{const[A,_]=v;A(_)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([K,c]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return(Y=h).\u0275fac=function(P){return new(P||Y)(E.KVO(E._9s),E.KVO(hi),E.KVO(E.SKi))},Y.\u0275prov=E.jDH({token:Y,factory:Y.\u0275fac}),h})();class Xr{constructor(h,m,P,K){this.namespaceId=h,this.delegate=m,this.engine=P,this._onDestroy=K}get data(){return this.delegate.data}destroyNode(h){this.delegate.destroyNode?.(h)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(h,m){return this.delegate.createElement(h,m)}createComment(h){return this.delegate.createComment(h)}createText(h){return this.delegate.createText(h)}appendChild(h,m){this.delegate.appendChild(h,m),this.engine.onInsert(this.namespaceId,m,h,!1)}insertBefore(h,m,P,K=!0){this.delegate.insertBefore(h,m,P),this.engine.onInsert(this.namespaceId,m,h,K)}removeChild(h,m,P){this.engine.onRemove(this.namespaceId,m,this.delegate)}selectRootElement(h,m){return this.delegate.selectRootElement(h,m)}parentNode(h){return this.delegate.parentNode(h)}nextSibling(h){return this.delegate.nextSibling(h)}setAttribute(h,m,P,K){this.delegate.setAttribute(h,m,P,K)}removeAttribute(h,m,P){this.delegate.removeAttribute(h,m,P)}addClass(h,m){this.delegate.addClass(h,m)}removeClass(h,m){this.delegate.removeClass(h,m)}setStyle(h,m,P,K){this.delegate.setStyle(h,m,P,K)}removeStyle(h,m,P){this.delegate.removeStyle(h,m,P)}setProperty(h,m,P){"@"==m.charAt(0)&&m==Wr?this.disableAnimations(h,!!P):this.delegate.setProperty(h,m,P)}setValue(h,m){this.delegate.setValue(h,m)}listen(h,m,P){return this.delegate.listen(h,m,P)}disableAnimations(h,m){this.engine.disableAnimations(h,m)}}class ni extends Xr{constructor(h,m,P,K,c){super(m,P,K,c),this.factory=h,this.namespaceId=m}setProperty(h,m,P){"@"==m.charAt(0)?"."==m.charAt(1)&&m==Wr?this.disableAnimations(h,P=void 0===P||!!P):this.engine.process(this.namespaceId,h,m.slice(1),P):this.delegate.setProperty(h,m,P)}listen(h,m,P){if("@"==m.charAt(0)){const K=function vi(Y){switch(Y){case"body":return document.body;case"document":return document;case"window":return window;default:return Y}}(h);let c=m.slice(1),v="";return"@"!=c.charAt(0)&&([c,v]=function Qi(Y){const h=Y.indexOf(".");return[Y.substring(0,h),Y.slice(h+1)]}(c)),this.engine.listen(this.namespaceId,K,c,v,A=>{this.factory.scheduleListenerCallback(A._data||-1,P,A)})}return this.delegate.listen(h,m,P)}}const Sr=[{provide:Et.S6,useClass:yr},{provide:Qo,useFactory:function Ji(){return new Rr}},{provide:hi,useClass:(()=>{var Y;class h extends hi{constructor(P,K,c,v){super(P.body,K,c)}ngOnDestroy(){this.flush()}}return(Y=h).\u0275fac=function(P){return new(P||Y)(E.KVO(ae.qQ),E.KVO(Yt),E.KVO(Qo),E.KVO(E.o8S))},Y.\u0275prov=E.jDH({token:Y,factory:Y.\u0275fac}),h})()},{provide:E._9s,useFactory:function Ci(Y,h,m){return new Do(Y,h,m)},deps:[e.B7,hi,E.SKi]}],Ni=[{provide:Yt,useFactory:()=>new mi},{provide:E.bc$,useValue:"BrowserAnimations"},...Sr];var ii=a(9242),es=a(647),Mi=a(480),bi=a(5349);let Pi=(()=>{var Y;class h{}return(Y=h).\u0275fac=function(P){return new(P||Y)},Y.\u0275mod=E.$C({type:Y,bootstrap:[At]}),Y.\u0275inj=E.G2t({providers:[(0,s.$R)((0,s.b$)([Mi.kK])),[...Ni],(0,G.lh)(I.JZ,(0,G.Ii)({onSameUrlNavigation:"reload"}),(0,G.oH)({scrollPositionRestoration:"disabled"})),es.kX,{provide:U.sT,useExisting:es.kX},{provide:U.UP,useValue:"/ng-assets/images/svg_icons/no_avatar.svg"},re.O,{provide:ii.gq,useValue:es.om[(0,ae.kF)($.c.locale)]},{provide:ii.pI,useValue:(0,ae.kF)($.c.locale)},{provide:E.hnV,useFactory:U.Kn,deps:[J.V],multi:!0},{provide:E.xe9,useFactory:U.JK},Re.D,ae.oe,{provide:E.Ocv,useValue:$.c.sky?"USD":"RUB"},{provide:ae.kB,useFactory:()=>{const m=(0,U.JK)();return $.c.sky?"en"===m?"/":`/${m}/`:"/"}},{provide:U.ef,useValue:$.c.sky},bi.L],imports:[e.Bb,ii.tA]}),h})();(0,ae.EO)(x,"ru"),(0,ae.EO)(p,"es"),$.c.production&&(0,E.SmG)(),e.sG().bootstrapModule(Pi).catch(Y=>console.error(Y))},4412:(ct,ce,a)=>{a.d(ce,{t:()=>d});var e=a(1413);
34class d extends e.B{constructor(x){super(),this._value=x}get value(){return this.getValue()}_subscribe(x){const O=super._subscribe(x);return!O.closed&&x.next(this._value),O}getValue(){const{hasError:x,thrownError:O,_value:V}=this;if(x)throw O;return this._throwIfClosed(),V}next(x){super.next(this._value=x)}}},1985:(ct,ce,a)=>{a.d(ce,{c:()=>$});var e=a(7707),d=a(8359),X=a(3494),x=a(1203),O=a(1026),V=a(8071),p=a(9786);let $=(()=>{class W{constructor(B){B&&(this._subscribe=B)}lift(B){const J=new W;return J.source=this,J.operator=B,J}subscribe(B,J,z){const w=function I(W){return W&&W instanceof e.vU||function s(W){return W&&(0,V.T)(W.next)&&(0,V.T)(W.error)&&(0,V.T)(W.complete)}(W)&&(0,d.Uv)(W)}(B)?B:new e.Ms(B,J,z);return(0,p.Y)(()=>{const{operator:U,source:Z}=this;w.add(U?U.call(w,Z):Z?this._subscribe(w):this._trySubscribe(w))}),w}_trySubscribe(B){try{return this._subscribe(B)}catch(J){B.error(J)}}forEach(B,J){return new(J=E(J))((z,w)=>{const U=new e.Ms({next:Z=>{try{B(Z)}catch(H){w(H),U.unsubscribe()}},error:w,complete:z});this.subscribe(U)})}_subscribe(B){var J;return null===(J=this.source)||void 0===J?void 0:J.subscribe(B)}[X.s](){return this}pipe(...B){return(0,x.m)(B)(this)}toPromise(B){return new(B=E(B))((J,z)=>{let w;this.subscribe(U=>w=U,U=>z(U),()=>J(w))})}}return W.create=G=>new W(G),W})();function E(W){var G;return null!==(G=W??O.$.Promise)&&void 0!==G?G:Promise}},1413:(ct,ce,a)=>{a.d(ce,{B:()=>p});var e=a(1985),d=a(8359);const x=(0,a(1853).L)(E=>function(){E(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var O=a(7908),V=a(9786);let p=(()=>{class E extends e.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(I){const W=new $(this,this);return W.operator=I,W}_throwIfClosed(){if(this.closed)throw new x}next(I){(0,V.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const W of this.currentObservers)W.next(I)}})}error(I){(0,V.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=I;const{observers:W}=this;for(;W.length;)W.shift().error(I)}})}complete(){(0,V.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:I}=this;for(;I.length;)I.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var I;return(null===(I=this.observers)||void 0===I?void 0:I.length)>0}_trySubscribe(I){return this._throwIfClosed(),super._trySubscribe(I)}_subscribe(I){return this._throwIfClosed(),this._checkFinalizedStatuses(I),this._innerSubscribe(I)}_innerSubscribe(I){const{hasError:W,isStopped:G,observers:B}=this;return W||G?d.Kn:(this.currentObservers=null,B.push(I),new d.yU(()=>{this.currentObservers=null,(0,O.o)(B,I)}))}_checkFinalizedStatuses(I){const{hasError:W,thrownError:G,isStopped:B}=this;W?I.error(G):B&&I.complete()}asObservable(){const I=new e.c;return I.source=this,I}}return E.create=(s,I)=>new $(s,I),E})();class $ extends p{constructor(s,I){super(),this.destination=s,this.source=I}next(s){var I,W;null===(W=null===(I=this.destination)||void 0===I?void 0:I.next)||void 0===W||W.call(I,s)}error(s){var I,W;null===(W=null===(I=this.destination)||void 0===I?void 0:I.error)||void 0===W||W.call(I,s)}complete(){var s,I;null===(I=null===(s=this.destination)||void 0===s?void 0:s.complete)||void 0===I||I.call(s)}_subscribe(s){var I,W;return null!==(W=null===(I=this.source)||void 0===I?void 0:I.subscribe(s))&&void 0!==W?W:d.Kn}}},7707:(ct,ce,a)=>{a.d(ce,{Ms:()=>z,vU:()=>W});var e=a(8071),d=a(8359),X=a(1026),x=a(5334),O=a(5343);const V=E("C",void 0,void 0);function E(j,F,ue){return{kind:j,value:F,error:ue}}var s=a(9270),I=a(9786);class W extends d.yU{constructor(F){super(),this.isStopped=!1,F?(this.destination=F,(0,d.Uv)(F)&&F.add(this)):this.destination=H}static create(F,ue,ae){return new z(F,ue,ae)}next(F){this.isStopped?Z(function $(j){return E("N",j,void 0)}(F),this):this._next(F)}error(F){this.isStopped?Z(function p(j){return E("E",void 0,j)}
34(F),this):(this.isStopped=!0,this._error(F))}complete(){this.isStopped?Z(V,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(F){this.destination.next(F)}_error(F){try{this.destination.error(F)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const G=Function.prototype.bind;function B(j,F){return G.call(j,F)}class J{constructor(F){this.partialObserver=F}next(F){const{partialObserver:ue}=this;if(ue.next)try{ue.next(F)}catch(ae){w(ae)}}error(F){const{partialObserver:ue}=this;if(ue.error)try{ue.error(F)}catch(ae){w(ae)}else w(F)}complete(){const{partialObserver:F}=this;if(F.complete)try{F.complete()}catch(ue){w(ue)}}}class z extends W{constructor(F,ue,ae){let N;if(super(),(0,e.T)(F)||!F)N={next:F??void 0,error:ue??void 0,complete:ae??void 0};else{let te;this&&X.$.useDeprecatedNextContext?(te=Object.create(F),te.unsubscribe=()=>this.unsubscribe(),N={next:F.next&&B(F.next,te),error:F.error&&B(F.error,te),complete:F.complete&&B(F.complete,te)}):N=F}this.destination=new J(N)}}function w(j){X.$.useDeprecatedSynchronousErrorHandling?(0,I.l)(j):(0,x.m)(j)}function Z(j,F){const{onStoppedNotification:ue}=X.$;ue&&s.f.setTimeout(()=>ue(j,F))}const H={closed:!0,next:O.l,error:function U(j){throw j},complete:O.l}},8359:(ct,ce,a)=>{a.d(ce,{Kn:()=>V,yU:()=>O,Uv:()=>p});var e=a(8071);const X=(0,a(1853).L)(E=>function(I){E(this),this.message=I?`${I.length} errors occurred during unsubscription:\n${I.map((W,G)=>`${G+1}) ${W.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=I});var x=a(7908);class O{constructor(s){this.initialTeardown=s,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let s;if(!this.closed){this.closed=!0;const{_parentage:I}=this;if(I)if(this._parentage=null,Array.isArray(I))for(const B of I)B.remove(this);else I.remove(this);const{initialTeardown:W}=this;if((0,e.T)(W))try{W()}catch(B){s=B instanceof X?B.errors:[B]}const{_finalizers:G}=this;if(G){this._finalizers=null;for(const B of G)try{$(B)}catch(J){s=s??[],J instanceof X?s=[...s,...J.errors]:s.push(J)}}if(s)throw new X(s)}}add(s){var I;if(s&&s!==this)if(this.closed)$(s);else{if(s instanceof O){if(s.closed||s._hasParent(this))return;s._addParent(this)}(this._finalizers=null!==(I=this._finalizers)&&void 0!==I?I:[]).push(s)}}_hasParent(s){const{_parentage:I}=this;return I===s||Array.isArray(I)&&I.includes(s)}_addParent(s){const{_parentage:I}=this;this._parentage=Array.isArray(I)?(I.push(s),I):I?[I,s]:s}_removeParent(s){const{_parentage:I}=this;I===s?this._parentage=null:Array.isArray(I)&&(0,x.o)(I,s)}remove(s){const{_finalizers:I}=this;I&&(0,x.o)(I,s),s instanceof O&&s._removeParent(this)}}O.EMPTY=(()=>{const E=new O;return E.closed=!0,E})();const V=O.EMPTY;function p(E){return E instanceof O||E&&"closed"in E&&(0,e.T)(E.remove)&&(0,e.T)(E.add)&&(0,e.T)(E.unsubscribe)}function $(E){(0,e.T)(E)?E():E.unsubscribe()}},1026:(ct,ce,a)=>{a.d(ce,{$:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4572:(ct,ce,a)=>{a.d(ce,{z:()=>s});var e=a(1985),d=a(3073),X=a(6648),x=a(3669),O=a(6450),V=a(9326),p=a(8496),$=a(4360),E=a(5225);function s(...G){const B=(0,V.lI)(G),J=(0,V.ms)(G),{args:z,keys:w}=(0,d.D)(G);if(0===z.length)return(0,X.H)([],B);const U=new e.c(function I(G,B,J=x.D){return z=>{W(B,()=>{const{length:w}=G,U=new Array(w);let Z=w,H=w;for(let j=0;j<w;j++)W(B,()=>{const F=(0,X.H)(G[j],B);let ue=!1;F.subscribe((0,$._)(z,ae=>{U[j]=ae,ue||(ue=!0,H--),H||z.next(J(U.slice()))},()=>{--Z||z.complete()}))},z)},z)}}(z,B,w?Z=>(0,p.e)(w,Z):x.D));return J?U.pipe((0,O.I)(J)):U}function W(G,B,J){G?(0,E.N)(J,G,B):B()}},8793:(ct,ce,a)=>{a.d(ce,{x:()=>O});var e=a(6365),X=a(9326),x=a(6648);function O(...V){return function d(){return(0,e.U)(1)}()((0,x.H)(V,(0,X.lI)(V)))}},983:(ct,ce,a)=>{a.d(ce,{w:()=>d});const d=new(a(1985).c)(O=>O.complete())},7468:(ct,ce,a)=>{a.d(ce,{p:()=>$});var e=a(1985),d=a(3073),X=a(8750),x=a(9326),O=a(4360),V=a(6450),p=a(8496);function $(...E){const s=(0,x.ms)(E),{args:I,keys:W}=(0,d.D)(E),G=new e.c(B=>{const{length:J}=I;if(!J)return void B.complete();const z=new Array(J);let w=J,U=J;for(let Z=0;Z<J;Z++){let H=!1;(0,X.Tg)(I[Z]).subscribe((0,O._)(B,j=>{H||(H=!0,U--),z[Z]=j},()=>w--,void 0,()=>{(!w||!H)&&(U||B.next(W?(0,p.e)(W,z):z),B.complete())}))}});return s?G.pipe((0,V.I)(s)):G}},6648:(ct,ce,a)=>{a.d(ce,{H:()=>ae});var e=a(8750),d=a(5225),X=a(9974),x=a(4360);function O(N,te=0){return(0,X.N)((ie,re)=>{ie.subscribe((0,x._)(re,Ee=>(0,d.N)(re,N,()=>re.next(Ee),te),()=>(0,d.N)(re,N,()=>re.complete(),te),Ee=>(0,d.N)(re,N,()=>re.error(Ee),te)))})}function V(N,te=0){return(0,X.N)((ie,re)=>{re.add(N.schedule(()=>ie.subscribe(re),te))})}var E=a(1985),I=a(4761),W=a(8071);function B(N,te){if(!N)throw new Error("Iterable cannot be null");return new E.c(ie=>{(0,d.N)(ie,te,()=>{const re=N[Symbol.asyncIterator]();(0,d.N)(ie,te,()=>{re.next().then(Ee=>{Ee.done?ie.complete():ie.next(Ee.value)})},0,!0)})})}var J=a(5055),z=a(9858),w=a(7441),U=a(5397),Z=a(7953),H=a(591),j=a(5196);
34function ae(N,te){return te?function ue(N,te){if(null!=N){if((0,J.l)(N))return function p(N,te){return(0,e.Tg)(N).pipe(V(te),O(te))}(N,te);if((0,w.X)(N))return function s(N,te){return new E.c(ie=>{let re=0;return te.schedule(function(){re===N.length?ie.complete():(ie.next(N[re++]),ie.closed||this.schedule())})})}(N,te);if((0,z.y)(N))return function $(N,te){return(0,e.Tg)(N).pipe(V(te),O(te))}(N,te);if((0,Z.T)(N))return B(N,te);if((0,U.x)(N))return function G(N,te){return new E.c(ie=>{let re;return(0,d.N)(ie,te,()=>{re=N[I.l](),(0,d.N)(ie,te,()=>{let Ee,Re;try{({value:Ee,done:Re}=re.next())}catch(Mt){return void ie.error(Mt)}Re?ie.complete():ie.next(Ee)},0,!0)}),()=>(0,W.T)(re?.return)&&re.return()})}(N,te);if((0,j.U)(N))return function F(N,te){return B((0,j.C)(N),te)}(N,te)}throw(0,H.L)(N)}(N,te):(0,e.Tg)(N)}},3726:(ct,ce,a)=>{a.d(ce,{R:()=>s});var e=a(8750),d=a(1985),X=a(1397),x=a(7441),O=a(8071),V=a(6450);const p=["addListener","removeListener"],$=["addEventListener","removeEventListener"],E=["on","off"];function s(J,z,w,U){if((0,O.T)(w)&&(U=w,w=void 0),U)return s(J,z,w).pipe((0,V.I)(U));const[Z,H]=function B(J){return(0,O.T)(J.addEventListener)&&(0,O.T)(J.removeEventListener)}(J)?$.map(j=>F=>J[j](z,F,w)):function W(J){return(0,O.T)(J.addListener)&&(0,O.T)(J.removeListener)}(J)?p.map(I(J,z)):function G(J){return(0,O.T)(J.on)&&(0,O.T)(J.off)}(J)?E.map(I(J,z)):[];if(!Z&&(0,x.X)(J))return(0,X.Z)(j=>s(j,z,w))((0,e.Tg)(J));if(!Z)throw new TypeError("Invalid event target");return new d.c(j=>{const F=(...ue)=>j.next(1<ue.length?ue:ue[0]);return Z(F),()=>H(F)})}function I(J,z){return w=>U=>J[w](z,U)}},8750:(ct,ce,a)=>{a.d(ce,{Tg:()=>G});var e=a(1635),d=a(7441),X=a(9858),x=a(1985),O=a(5055),V=a(7953),p=a(591),$=a(5397),E=a(5196),s=a(8071),I=a(5334),W=a(3494);function G(j){if(j instanceof x.c)return j;if(null!=j){if((0,O.l)(j))return function B(j){return new x.c(F=>{const ue=j[W.s]();if((0,s.T)(ue.subscribe))return ue.subscribe(F);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(j);if((0,d.X)(j))return function J(j){return new x.c(F=>{for(let ue=0;ue<j.length&&!F.closed;ue++)F.next(j[ue]);F.complete()})}(j);if((0,X.y)(j))return function z(j){return new x.c(F=>{j.then(ue=>{F.closed||(F.next(ue),F.complete())},ue=>F.error(ue)).then(null,I.m)})}(j);if((0,V.T)(j))return U(j);if((0,$.x)(j))return function w(j){return new x.c(F=>{for(const ue of j)if(F.next(ue),F.closed)return;F.complete()})}(j);if((0,E.U)(j))return function Z(j){return U((0,E.C)(j))}(j)}throw(0,p.L)(j)}function U(j){return new x.c(F=>{(function H(j,F){var ue,ae,N,te;return(0,e.sH)(this,void 0,void 0,function*(){try{for(ue=(0,e.xN)(j);!(ae=yield ue.next()).done;)if(F.next(ae.value),F.closed)return}catch(ie){N={error:ie}}finally{try{ae&&!ae.done&&(te=ue.return)&&(yield te.call(ue))}finally{if(N)throw N.error}}F.complete()})})(j,F).catch(ue=>F.error(ue))})}},7786:(ct,ce,a)=>{a.d(ce,{h:()=>V});var e=a(6365),d=a(8750),X=a(983),x=a(9326),O=a(6648);function V(...p){const $=(0,x.lI)(p),E=(0,x.R0)(p,1/0),s=p;return s.length?1===s.length?(0,d.Tg)(s[0]):(0,e.U)(E)((0,O.H)(s,$)):X.w}},7673:(ct,ce,a)=>{a.d(ce,{of:()=>X});var e=a(9326),d=a(6648);function X(...x){const O=(0,e.lI)(x);return(0,d.H)(x,O)}},8810:(ct,ce,a)=>{a.d(ce,{$:()=>X});var e=a(1985),d=a(8071);function X(x,O){const V=(0,d.T)(x)?x:()=>x,p=$=>$.error(V());return new e.c(O?$=>O.schedule(p,0,$):p)}},1584:(ct,ce,a)=>{a.d(ce,{O:()=>O});var e=a(1985),d=a(8839),X=a(9470);function O(V=0,p,$=d.b){let E=-1;return null!=p&&((0,X.m)(p)?$=p:E=p),new e.c(s=>{let I=function x(V){return V instanceof Date&&!isNaN(V)}(V)?+V-$.now():V;I<0&&(I=0);let W=0;return $.schedule(function(){s.closed||(s.next(W++),0<=E?this.schedule(void 0,E):s.complete())},I)})}},4360:(ct,ce,a)=>{a.d(ce,{_:()=>d});var e=a(7707);function d(x,O,V,p,$){return new X(x,O,V,p,$)}class X extends e.vU{constructor(O,V,p,$,E,s){super(O),this.onFinalize=E,this.shouldUnsubscribe=s,this._next=V?function(I){try{V(I)}catch(W){O.error(W)}}:super._next,this._error=$?function(I){try{$(I)}catch(W){O.error(W)}finally{this.unsubscribe()}}:super._error,this._complete=p?function(){try{p()}catch(I){O.error(I)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var O;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:V}=this;super.unsubscribe(),!V&&(null===(O=this.onFinalize)||void 0===O||O.call(this))}}}},9437:(ct,ce,a)=>{a.d(ce,{W:()=>x});var e=a(8750),d=a(4360),X=a(9974);function x(O){return(0,X.N)((V,p)=>{let s,$=null,E=!1;$=V.subscribe((0,d._)(p,void 0,void 0,I=>
34{s=(0,e.Tg)(O(I,x(O)(V))),$?($.unsubscribe(),$=null,s.subscribe(p)):E=!0})),E&&($.unsubscribe(),$=null,s.subscribe(p))})}},274:(ct,ce,a)=>{a.d(ce,{H:()=>X});var e=a(1397),d=a(8071);function X(x,O){return(0,d.T)(O)?(0,e.Z)(x,O,1):(0,e.Z)(x,1)}},152:(ct,ce,a)=>{a.d(ce,{B:()=>x});var e=a(8839),d=a(9974),X=a(4360);function x(O,V=e.E){return(0,d.N)((p,$)=>{let E=null,s=null,I=null;const W=()=>{if(E){E.unsubscribe(),E=null;const B=s;s=null,$.next(B)}};function G(){const B=I+O,J=V.now();if(J<B)return E=this.schedule(void 0,B-J),void $.add(E);W()}p.subscribe((0,X._)($,B=>{s=B,I=V.now(),E||(E=V.schedule(G,O),$.add(E))},()=>{W(),$.complete()},void 0,()=>{s=E=null}))})}},9901:(ct,ce,a)=>{a.d(ce,{U:()=>X});var e=a(9974),d=a(4360);function X(x){return(0,e.N)((O,V)=>{let p=!1;O.subscribe((0,d._)(V,$=>{p=!0,V.next($)},()=>{p||V.next(x),V.complete()}))})}},5964:(ct,ce,a)=>{a.d(ce,{p:()=>X});var e=a(9974),d=a(4360);function X(x,O){return(0,e.N)((V,p)=>{let $=0;V.subscribe((0,d._)(p,E=>x.call(O,E,$++)&&p.next(E)))})}},980:(ct,ce,a)=>{a.d(ce,{j:()=>d});var e=a(9974);function d(X){return(0,e.N)((x,O)=>{try{x.subscribe(O)}finally{O.add(X)}})}},1594:(ct,ce,a)=>{a.d(ce,{$:()=>p});var e=a(9350),d=a(5964),X=a(6697),x=a(9901),O=a(3774),V=a(3669);function p($,E){const s=arguments.length>=2;return I=>I.pipe($?(0,d.p)((W,G)=>$(W,G,I)):V.D,(0,X.s)(1),s?(0,x.U)(E):(0,O.v)(()=>new e.G))}},6354:(ct,ce,a)=>{a.d(ce,{T:()=>X});var e=a(9974),d=a(4360);function X(x,O){return(0,e.N)((V,p)=>{let $=0;V.subscribe((0,d._)(p,E=>{p.next(x.call(O,E,$++))}))})}},3703:(ct,ce,a)=>{a.d(ce,{u:()=>d});var e=a(6354);function d(X){return(0,e.T)(()=>X)}},6365:(ct,ce,a)=>{a.d(ce,{U:()=>X});var e=a(1397),d=a(3669);function X(x=1/0){return(0,e.Z)(d.D,x)}},1397:(ct,ce,a)=>{a.d(ce,{Z:()=>$});var e=a(6354),d=a(8750),X=a(9974),x=a(5225),O=a(4360),p=a(8071);function $(E,s,I=1/0){return(0,p.T)(s)?$((W,G)=>(0,e.T)((B,J)=>s(W,B,G,J))((0,d.Tg)(E(W,G))),I):("number"==typeof s&&(I=s),(0,X.N)((W,G)=>function V(E,s,I,W,G,B,J,z){const w=[];let U=0,Z=0,H=!1;const j=()=>{H&&!w.length&&!U&&s.complete()},F=ae=>U<W?ue(ae):w.push(ae),ue=ae=>{B&&s.next(ae),U++;let N=!1;(0,d.Tg)(I(ae,Z++)).subscribe((0,O._)(s,te=>{G?.(te),B?F(te):s.next(te)},()=>{N=!0},void 0,()=>{if(N)try{for(U--;w.length&&U<W;){const te=w.shift();J?(0,x.N)(s,J,()=>ue(te)):ue(te)}j()}catch(te){s.error(te)}}))};return E.subscribe((0,O._)(s,F,()=>{H=!0,j()})),()=>{z?.()}}(W,G,E,I)))}},2498:(ct,ce,a)=>{a.d(ce,{L:()=>V});var e=a(9974),d=a(4360),X=a(3669),x=a(1584),O=a(8750);function V(p=1/0){let $;$=p&&"object"==typeof p?p:{count:p};const{count:E=1/0,delay:s,resetOnSuccess:I=!1}=$;return E<=0?X.D:(0,e.N)((W,G)=>{let J,B=0;const z=()=>{let w=!1;J=W.subscribe((0,d._)(G,U=>{I&&(B=0),G.next(U)},void 0,U=>{if(B++<E){const Z=()=>{J?(J.unsubscribe(),J=null,z()):w=!0};if(null!=s){const H="number"==typeof s?(0,x.O)(s):(0,O.Tg)(s(U,B)),j=(0,d._)(G,()=>{j.unsubscribe(),Z()},()=>{G.complete()});H.subscribe(j)}else Z()}else G.error(U)})),w&&(J.unsubscribe(),J=null,z())};z()})}},7647:(ct,ce,a)=>{a.d(ce,{u:()=>O});var e=a(8750),d=a(1413),X=a(7707),x=a(9974);function O(p={}){const{connector:$=(()=>new d.B),resetOnError:E=!0,resetOnComplete:s=!0,resetOnRefCountZero:I=!0}=p;return W=>{let G,B,J,z=0,w=!1,U=!1;const Z=()=>{B?.unsubscribe(),B=void 0},H=()=>{Z(),G=J=void 0,w=U=!1},j=()=>{const F=G;H(),F?.unsubscribe()};return(0,x.N)((F,ue)=>{z++,!U&&!w&&Z();const ae=J=J??$();ue.add(()=>{z--,0===z&&!U&&!w&&(B=V(j,I))}),ae.subscribe(ue),!G&&z>0&&(G=new X.Ms({next:N=>ae.next(N),error:N=>{U=!0,Z(),B=V(H,E,N),ae.error(N)},complete:()=>{w=!0,Z(),B=V(H,s),ae.complete()}}),(0,e.Tg)(F).subscribe(G))})(W)}}function V(p,$,...E){if(!0===$)return void p();if(!1===$)return;const s=new X.Ms({next:()=>{s.unsubscribe(),p()}});return(0,e.Tg)($(...E)).subscribe(s)}},9172:(ct,ce,a)=>{a.d(ce,{Z:()=>x});var e=a(8793),d=a(9326),X=a(9974);function x(...O){const V=(0,d.lI)(O);return(0,X.N)((p,$)=>{(V?(0,e.x)(O,p,V):(0,e.x)(O,p)).subscribe($)})}},5558:(ct,ce,a)=>{a.d(ce,{n:()=>x});var e=a(8750),d=a(9974),X=a(4360);function x(O,V){return(0,d.N)((p,$)=>{let E=null,s=0,I=!1;const W=()=>I&&!E&&$.complete();p.subscribe((0,X._)($,G=>{E?.unsubscribe();let B=0;const J=s++;(0,e.Tg)(O(G,J)).subscribe(E=(0,X._)($,z=>$.next(V?V(G,z,J,B++):z),()=>{E=null,W()}))},()=>{I=!0,W()}))})}},6697:(ct,ce,a)=>{a.d(ce,{s:()=>x});var e=a(983),d=a(9974),X=a(4360);function x(O){return O<=0?()=>e.w:(0,d.N)((V,p)=>{let $=0;V.subscribe((0,X._)(p,E=>{++$<=O&&(p.next(E),O<=$&&p.complete())}))})}},6977:(ct,ce,a)=>{a.d(ce,{Q:()=>O});var e=a(9974),d=a(4360),X=a(8750),x=a(5343);function O(V){return(0,e.N)((p,$)=>{(0,X.Tg)(V).subscribe((0,d._)($,()=>$.complete(),x.l)),!$.closed&&p.subscribe($)})}},8141:(ct,ce,a)=>{a.d(ce,{M:()=>O});var e=a(8071),d=a(9974),X=a(4360),x=a(3669);function O(V,p,$){const E=(0,e.T)(V)||p||$?{next:V,error:p,complete:$}:V;return E?(0,d.N)((s,I)=>{var W;null===(W=E.subscribe)||void 0===W||W.call(E);let G=!0;s.subscribe((0,X._)(I,B=>{var J;null===(J=E.next)||void 0===J||J.call(E,B),I.next(B)},()=>{var B;G=!1,null===(B=E.complete)||void 0===B||B.call(E),I.complete()},B=>{var J;G=!1,null===(J=E.error)||void 0===J||J.call(E,B),I.error(B)},()=>{var B,J;G&&(null===(B=E.unsubscribe)||void 0===B||B.call(E)),null===(J=E.finalize)||void 0===J||J.call(E)}))}):x.D}},3774:(ct,ce,a)=>{a.d(ce,{v:()=>x});var e=a(9350),d=a(9974),X=a(4360);function x(V=O){return(0,d.N)((p,$)=>{let E=!1;p.subscribe((0,X._)($,s=>{E=!0,$.next(s)},()=>E?$.complete():$.error(V())))})}function O(){return new e.G}},8839:(ct,ce,a)=>{a.d(ce,{b:()=>s,E:()=>E});var e=a(8359);class d extends e.yU{constructor(W,G){super()}schedule(W,G=0){return this}}const X={setInterval(I,W,...G){const{delegate:B}=X;return B?.setInterval?B.setInterval(I,W,...G):setInterval(I,W,...G)},clearInterval(I){const{delegate:W}=X;return(W?.clearInterval||clearInterval)(I)},delegate:void 0};
vendor: 1,390 bytes, line 34
34var x=a(7908),V=a(6129);class p{constructor(W,G=p.now){this.schedulerActionCtor=W,this.now=G}schedule(W,G=0,B){return new this.schedulerActionCtor(this,W).schedule(B,G)}}p.now=V.U.now;const E=new class $ extends p{constructor(W,G=p.now){super(W,G),this.actions=[],this._active=!1}flush(W){const{actions:G}=this;if(this._active)return void G.push(W);let B;this._active=!0;do{if(B=W.execute(W.state,W.delay))break}while(W=G.shift());if(this._active=!1,B){for(;W=G.shift();)W.unsubscribe();throw B}}}(class O extends d{constructor(W,G){super(W,G),this.scheduler=W,this.work=G,this.pending=!1}schedule(W,G=0){var B;if(this.closed)return this;this.state=W;const J=this.id,z=this.scheduler;return null!=J&&(this.id=this.recycleAsyncId(z,J,G)),this.pending=!0,this.delay=G,this.id=null!==(B=this.id)&&void 0!==B?B:this.requestAsyncId(z,this.id,G),this}requestAsyncId(W,G,B=0){return X.setInterval(W.flush.bind(W,this),B)}recycleAsyncId(W,G,B=0){if(null!=B&&this.delay===B&&!1===this.pending)return G;null!=G&&X.clearInterval(G)}execute(W,G){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const B=this._execute(W,G);if(B)return B;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(W,G){let J,B=!1;try{this.work(W)}catch(z){B=!0,J=z||new Error("Scheduled action threw falsy error")}if(B)return this.unsubscribe(),J}
34unsubscribe(){if(!this.closed){const{id:W,scheduler:G}=this,{actions:B}=G;this.work=this.state=this.scheduler=null,this.pending=!1,(0,x.o)(B,this),null!=W&&(this.id=this.recycleAsyncId(G,W,null)),this.delay=null,super.unsubscribe()}}}),s=E},6129:(ct,ce,a)=>{a.d(ce,{U:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},9270:(ct,ce,a)=>{a.d(ce,{f:()=>e});const e={setTimeout(d,X,...x){const{delegate:O}=e;return O?.setTimeout?O.setTimeout(d,X,...x):setTimeout(d,X,...x)},clearTimeout(d){const{delegate:X}=e;return(X?.clearTimeout||clearTimeout)(d)},delegate:void 0}},4761:(ct,ce,a)=>{a.d(ce,{l:()=>d});const d=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(ct,ce,a)=>{a.d(ce,{s:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(ct,ce,a)=>{a.d(ce,{G:()=>d});const d=(0,a(1853).L)(X=>function(){X(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(ct,ce,a)=>{a.d(ce,{R0:()=>V,lI:()=>O,ms:()=>x});var e=a(8071),d=a(9470);function X(p){return p[p.length-1]}function x(p){return(0,e.T)(X(p))?p.pop():void 0}function O(p){return(0,d.m)(X(p))?p.pop():void 0}function V(p,$){return"number"==typeof X(p)?p.pop():$}},3073:(ct,ce,a)=>{a.d(ce,{D:()=>O});const{isArray:e}=Array,{getPrototypeOf:d,prototype:X,keys:x}=Object;function O(p){if(1===p.length){const $=p[0];if(e($))return{args:$,keys:null};if(function V(p){return p&&"object"==typeof p&&d(p)===X}($)){const E=x($);return{args:E.map(s=>$[s]),keys:E}}}return{args:p,keys:null}}},7908:(ct,ce,a)=>{function e(d,X){if(d){const x=d.indexOf(X);0<=x&&d.splice(x,1)}}a.d(ce,{o:()=>e})},1853:(ct,ce,a)=>{function e(d){const x=d(O=>{Error.call(O),O.stack=(new Error).stack});return x.prototype=Object.create(Error.prototype),x.prototype.constructor=x,x}a.d(ce,{L:()=>e})},8496:(ct,ce,a)=>{function e(d,X){return d.reduce((x,O,V)=>(x[O]=X[V],x),{})}a.d(ce,{e:()=>e})},9786:(ct,ce,a)=>{a.d(ce,{Y:()=>X,l:()=>x});var e=a(1026);let d=null;function X(O){if(e.$.useDeprecatedSynchronousErrorHandling){const V=!d;if(V&&(d={errorThrown:!1,error:null}),O(),V){const{errorThrown:p,error:$}=d;if(d=null,p)throw $}}else O()}function x(O){e.$.useDeprecatedSynchronousErrorHandling&&d&&(d.errorThrown=!0,d.error=O)}},5225:(ct,ce,a)=>{function e(d,X,x,O=0,V=!1){const p=X.schedule(function(){x(),V?d.add(this.schedule(null,O)):this.unsubscribe()},O);if(d.add(p),!V)return p}a.d(ce,{N:()=>e})},3669:(ct,ce,a)=>{function e(d){return d}a.d(ce,{D:()=>e})},7441:(ct,ce,a)=>{a.d(ce,{X:()=>e});const e=d=>d&&"number"==typeof d.length&&"function"!=typeof d},7953:(ct,ce,a)=>{a.d(ce,{T:()=>d});var e=a(8071);function d(X){return Symbol.asyncIterator&&(0,e.T)(X?.[Symbol.asyncIterator])}},8071:(ct,ce,a)=>{function e(d){return"function"==typeof d}a.d(ce,{T:()=>e})},5055:(ct,ce,a)=>{a.d(ce,{l:()=>X});var e=a(3494),d=a(8071);function X(x){return(0,d.T)(x[e.s])}},5397:(ct,ce,a)=>{a.d(ce,{x:()=>X});var e=a(4761),d=a(8071);function X(x){return(0,d.T)(x?.[e.l])}},9858:(ct,ce,a)=>{a.d(ce,{y:()=>d});var e=a(8071);function d(X){return(0,e.T)(X?.then)}},5196:(ct,ce,a)=>{a.d(ce,{C:()=>X,U:()=>x});var e=a(1635),d=a(8071);function X(O){return(0,e.AQ)(this,arguments,function*(){const p=O.getReader();try{for(;;){const{value:$,done:E}=yield(0,e.N3)(p.read());if(E)return yield(0,e.N3)(void 0);yield yield(0,e.N3)($)}}finally{p.releaseLock()}})}function x(O){return(0,d.T)(O?.getReader)}},9470:(ct,ce,a)=>{a.d(ce,{m:()=>d});var e=a(8071);function d(X){return X&&(0,e.T)(X.schedule)}},9974:(ct,ce,a)=>{a.d(ce,{N:()=>X,S:()=>d});var e=a(8071);function d(x){return(0,e.T)(x?.lift)}function X(x){return O=>{if(d(O))return O.lift(function(V){try{return x(V,this)}catch(p){this.error(p)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(ct,ce,a)=>{a.d(ce,{I:()=>x});var e=a(6354);const{isArray:d}=Array;function x(O){return(0,e.T)(V=>function X(O,V){return d(V)?O(...V):O(V)}(O,V))}},5343:(ct,ce,a)=>{function e(){}a.d(ce,{l:()=>e})},1203:(ct,ce,a)=>{a.d(ce,{F:()=>d,m:()=>X});var e=a(3669);function d(...x){return X(x)}function X(x){return 0===x.length?e.D:1===x.length?x[0]:function(V){return x.reduce((p,$)=>$(p),V)}}},5334:(ct,ce,a)=>{a.d(ce,{m:()=>X});var e=a(1026),d=a(9270);function X(x){d.f.setTimeout(()=>{const{onUnhandledError:O}=e.$;if(!O)throw x;O(x)})}},591:(ct,ce,a)=>{function e(d){return new TypeError(`You provided ${null!==d&&"object"==typeof d?"an invali
34d object":`'${d}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}a.d(ce,{L:()=>e})},9969:(ct,ce,a)=>{a.d(ce,{FX:()=>Z,K2:()=>p,MA:()=>G,P:()=>J,Ro:()=>d,S6:()=>e,hZ:()=>x,i0:()=>O,i7:()=>s,iF:()=>$,kY:()=>I,kp:()=>X,sf:()=>w,ui:()=>U,wk:()=>E});
35/**
36         * @license Angular v16.2.12
37         * (c) 2010-2022 Google LLC. https://angular.io/
38         * License: MIT
39         */
40class e{}class d{}const X="*";function x(H,j){return{type:7,name:H,definitions:j,options:{}}}function O(H,j=null){return{type:4,styles:j,timings:H}}function p(H,j=null){return{type:2,steps:H,options:j}}function $(H){return{type:6,styles:H,offset:null}}function E(H,j,F){return{type:0,name:H,styles:j,options:F}}function s(H){return{type:5,steps:H}}function I(H,j,F=null){return{type:1,expr:H,animation:j,options:F}}function G(H=null){return{type:9,options:H}}function J(H,j,F=null){return{type:11,selector:H,animation:j,options:F}}class w{constructor(j=0,F=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=j+F}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(j=>j()),this._onDoneFns=[])}onStart(j){this._originalOnStartFns.push(j),this._onStartFns.push(j)}onDone(j){this._originalOnDoneFns.push(j),this._onDoneFns.push(j)}onDestroy(j){this._onDestroyFns.push(j)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(j=>j()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(j=>j()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(j){this._position=this.totalTime?j*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(j){const F="start"==j?this._onStartFns:this._onDoneFns;F.forEach(ue=>ue()),F.length=0}}class U{constructor(j){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=j;let F=0,ue=0,ae=0;const N=this.players.length;0==N?queueMicrotask(()=>this._onFinish()):this.players.forEach(te=>{te.onDone(()=>{++F==N&&this._onFinish()}),te.onDestroy(()=>{++ue==N&&this._onDestroy()}),te.onStart(()=>{++ae==N&&this._onStart()})}),this.totalTime=this.players.reduce((te,ie)=>Math.max(te,ie.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(j=>j()),this._onDoneFns=[])}init(){this.players.forEach(j=>j.init())}onStart(j){this._onStartFns.push(j)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(j=>j()),this._onStartFns=[])}onDone(j){this._onDoneFns.push(j)}onDestroy(j){this._onDestroyFns.push(j)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(j=>j.play())}pause(){this.players.forEach(j=>j.pause())}restart(){this.players.forEach(j=>j.restart())}finish(){this._onFinish(),this.players.forEach(j=>j.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(j=>j.destroy()),this._onDestroyFns.forEach(j=>j()),this._onDestroyFns=[])}reset(){this.players.forEach(j=>j.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(j){const F=j*this.totalTime;this.players.forEach(ue=>{const ae=ue.totalTime?Math.min(1,F/ue.totalTime):1;ue.setPosition(ae)})}getPosition(){const j=this.players.reduce((F,ue)=>null===F||ue.totalTime>F.totalTime?ue:F,null);return null!=j?j.getPosition():0}beforeDestroy(){this.players.forEach(j=>{j.beforeDestroy&&j.beforeDestroy()})}triggerCallback(j){const F="start"==j?this._onStartFns:this._onDoneFns;F.forEach(ue=>ue()),F.length=0}}const Z="!"},177:(ct,ce,a)=>{a.d(ce,{AJ:()=>ho,B3:()=>Or,EO:()=>dn,GH:()=>qt,IJ:()=>Oo,Jj:()=>kt,MD:()=>An,N0:()=>Fr,P9:()=>Xt,Pc:()=>an,QT:()=>X,QX:()=>kr,Sm:()=>J,Sq:()=>Ln,T3:()=>cr,UE:()=>Kn,VF:()=>O,Vy:()=>Bo,WO:()=>Ur,Xr:()=>Rr,YU:()=>Sn,ZD:()=>x,_b:()=>uo,aZ:()=>w,bT:()=>Eo,e1:()=>ro,fG:()=>Ir,fw:()=>z,hb:()=>G,hj:()=>$,kB:()=>B,kF:()=>Re,kt:()=>ni,oe:()=>Vr,pM:()=>Ln,qQ:()=>V,ux:()=>$o,vh:()=>po});var e=a(7019);
41/**
42         * @license Angular v16.2.12
43         * (c) 2010-2022 Google LLC. https://angular.io/
44         * License: MIT
45         */let d=null;function X(){return d}function x(c){d||(d=c)}class O{}const V=new e.nKC("DocumentToken");let p=(()=>{var c;class v{historyGo(_){throw new Error("Not implemented")}}return(c=v).\u0275fac=function(_){return new(_||c)},c.\u0275prov=e.jDH({token:c,factory:function(){return(0,e.WQX)(E)},providedIn:"platform"}),v})();const $=new e.nKC("Location Initialized");let E=(()=>{var c;class v extends p{constructor(){super(),this._doc=(0,e.WQX)(V),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return X().getBaseHref(this._doc)}onPopState(_){const L=X().getGlobalEventTarget(this._doc,"window");return L.addEventListener("popstate",_,!1),()=>L.removeEventListener("popstate",_)}onHashChange(_){const L=X().getGlobalEventTarget(this._doc,"window");return L.addEventListener("hashchange",_,!1),()=>L.removeEventListener("hashchange",_)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(_){this._location.pathname=_}pushState(_,L,pe){this._history.pushState(_,L,pe)}replaceState(_,L,pe){this._history.replaceState(_,L,pe)}forward(){this._history.forward()}back(){this._history.back()}historyGo(_=0){this._history.go(_)}getState(){return this._history.state}}return(c=v).\u0275fac=function(_){return new(_||c)},c.\u0275prov=e.jDH({token:c,factory:function(){return new c},providedIn:"platform"}),v})();function s(c,v){if(0==c.length)return v;if(0==v.length)return c;let A=0;return c.endsWith("/")&&A++,v.startsWith("/")&&A++,2==A?c+v.substring(1):1==A?c+v:c+"/"+v}function I(c){const v=c.match(/#|\?|$/),A=v&&v.index||c.length;return c.slice(0,A-("/"===c[A-1]?1:0))+c.slice(A)}function W(c){return c&&"?"!==c[0]?"?"+c:c}let G=(()=>{var c;class v{historyGo(_){throw new Error("Not implemented")}}return(c=v).\u0275fac=function(_){return new(_||c)},c.\u0275prov=e.jDH({token:c,factory:function(){return(0,e.WQX)(J)},providedIn:"root"}),v})();const B=new e.nKC("appBaseHref");let J=(()=>{var c;class v extends G{constructor(_,L){super(),this._platformLocation=_,this._removeListenerFns=[],this._baseHref=L??this._platformLocation.getBaseHrefFromDOM()??(0,e.WQX)(V).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.on
45HashChange(_))}getBaseHref(){return this._baseHref}prepareExternalUrl(_){return s(this._baseHref,_)}path(_=!1){const L=this._platformLocation.pathname+W(this._platformLocation.search),pe=this._platformLocation.hash;return pe&&_?`${L}${pe}`:L}pushState(_,L,pe,Ve){const ft=this.prepareExternalUrl(pe+W(Ve));this._platformLocation.pushState(_,L,ft)}replaceState(_,L,pe,Ve){const ft=this.prepareExternalUrl(pe+W(Ve));this._platformLocation.replaceState(_,L,ft)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return(c=v).\u0275fac=function(_){return new(_||c)(e.KVO(p),e.KVO(B,8))},c.\u0275prov=e.jDH({token:c,factory:c.\u0275fac,providedIn:"root"}),v})(),z=(()=>{var c;class v extends G{constructor(_,L){super(),this._platformLocation=_,this._baseHref="",this._removeListenerFns=[],null!=L&&(this._baseHref=L)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}path(_=!1){let L=this._platformLocation.hash;return null==L&&(L="#"),L.length>0?L.substring(1):L}prepareExternalUrl(_){const L=s(this._baseHref,_);return L.length>0?"#"+L:L}pushState(_,L,pe,Ve){let ft=this.prepareExternalUrl(pe+W(Ve));0==ft.length&&(ft=this._platformLocation.pathname),this._platformLocation.pushState(_,L,ft)}replaceState(_,L,pe,Ve){let ft=this.prepareExternalUrl(pe+W(Ve));0==ft.length&&(ft=this._platformLocation.pathname),this._platformLocation.replaceState(_,L,ft)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return(c=v).\u0275fac=function(_){return new(_||c)(e.KVO(p),e.KVO(B,8))},c.\u0275prov=e.jDH({token:c,factory:c.\u0275fac}),v})(),w=(()=>{var c;class v{constructor(_){this._subject=new e.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=_;const L=this._locationStrategy.getBaseHref();this._basePath=function j(c){if(new RegExp("^(https?:)?//").test(c)){const[,A]=c.split(/\/\/[^\/]+/);return A}return c}(I(H(L))),this._locationStrategy.onPopState(pe=>{this._subject.emit({url:this.path(!0),pop:!0,state:pe.state,type:pe.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(_=!1){return this.normalize(this._locationStrategy.path(_))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(_,L=""){return this.path()==this.normalize(_+W(L))}normalize(_){return v.stripTrailingSlash(function Z(c,v){if(!c||!v.startsWith(c))return v;const A=v.substring(c.length);return""===A||["/",";","?","#"].includes(A[0])?A:v}(this._basePath,H(_)))}prepareExternalUrl(_){return _&&"/"!==_[0]&&(_="/"+_),this._locationStrategy.prepareExternalUrl(_)}go(_,L="",pe=null){this._locationStrategy.pushState(pe,"",_,L),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+W(L)),pe)}replaceState(_,L="",pe=null){this._locationStrategy.replaceState(pe,"",_,L),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+W(L)),pe)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(_=0){this._locationStrategy.historyGo?.(_)}onUrlChange(_){return this._urlChangeListeners.push(_),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(L=>{this._notifyUrlChangeListeners(L.url,L.state)})),()=>{const L=this._urlChangeListeners.indexOf(_);this._urlChangeListeners.splice(L,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(_="",L){this._urlChangeListeners.forEach(pe=>pe(_,L))}subscribe(_,L,pe){return this._subject.subscribe({next:_,error:L,complete:pe})}}return(c=v).normalizeQueryParams=W,c.joinWithSlash=s,c.stripTrailingSlash=I,c.\u0275fac=function(_){return new(_||c)(e.KVO(G))},c.\u0275prov=e.jDH({token:c,factory:function(){return function U(){return new w((0,e.KVO)(G))}()},providedIn:"root"}),v})();function H(c){return c.replace(/\/index.html$/,"")}const F={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var ue=function(c){return c[c.Decimal=0]="Decimal",c[c.Percent=1]="Percent",c[c.Currency=2]="Currency",c[c.Scientific=3]="Scientific",c}(ue||{}),ae=function(c){return c[c.Zero=0]="Zero",c[c.One=1]="One",c[c.Two=2]="Two",c[c.Few=3]="Few",c[c.Many=4]="Many",c[c.Other=5]="Other",c}(ae||{}),N=function(c){return c[c.Format=0]="Format",c[c.Standalone=1]="Standalone",c}(N||{}),te=function(c){return c[c.Narrow=0]="Narrow",c[c.Abbreviated=1]="Abbreviated",c[c.Wide=2]="Wide",c[c.Short=3]="Short",c}(te||{}),ie=function(c){return c[c.Short=0]="Short",c[c.Medium=1]="Medium",c[c.Long=2]="Long",c[c.Full=3]="Full",c}(ie||{}),re=function(c){return c[c.Decimal=0]="Decimal",c[c.Group=1]="Group",c[c.List=2]="List",c[c.PercentSign=3]="PercentSign",c[c.PlusSign=4]="PlusSign",c[c.MinusSign=5]="MinusSign",c[c.Exponential=6]="Exponential",c[c.SuperscriptingExponent=7]="SuperscriptingExponent",c[c.PerMille=8]="PerMille",c[c.Infinity=9]="Infinity",c[c.NaN=10]="NaN",c[c.TimeSeparator=11]="TimeSeparator",c[c.CurrencyDecimal=12]="CurrencyDecimal",c[c.CurrencyGroup=13]="CurrencyGroup",c}(re||{});function Re(c){return(0,e.H5H)(c)[e.KH2.LocaleId]}function st(c,v){return yt((0,e.H5H)(c)[e.KH2.DateFormat],v)}function ne(c,v){return yt((0,e.H5H)(c)[e.KH2.TimeFormat],v)}function fe(c,v){return yt((0,e.H5H)(c)[e.KH2.DateTimeFormat],v)}function le(c,v){const A=(0,e.H5H)(c),_=A[e.KH2.NumberSymbols][v];if(typeof _>"u"){if(v===re.CurrencyDecimal)return A[e.KH2.NumberSymbols][re.Decimal];if(v===re.CurrencyGroup)return A[e.KH2.NumberSymbols][re.Group]}return _}function Ue(c,v){return(0,e.H5H)(c)[e.KH2.NumberFormats][v]}const Ct=e.mq5;function ze(c){if(!c[e.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${c[e.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function yt(c,v){for(let A=v;A>-1;A--)if(typeof c[A]<"u")return c[A];throw new Error("Locale data API: locale data undefined")}function ut(c){const[v,A]=c.split(":");return{hours:+v,minutes:+A}}const we=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ae={},de=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Te=function(c){return c[c.Short=0]="Short",c[c.ShortGMT=1]="ShortGMT",c[c.Long=2]="Long",c[c.Extended=3]="Extended",c}(Te||{}),Ie=function(c){return c[c.FullYear=0]="FullYear",c[c.Month=1]="Month",c[c.Date=2]="Date",c[c.Hours=3]="Hours",c[c.Minutes=4]="Minutes",c[c.Seconds=5]="Seconds",c[c.FractionalSeconds=6]="FractionalSeconds",c[c.Day=7]="Day",c}(Ie||{}),ye=function(c){return c[c.DayPeriods=0]="DayPeriods",c[c.Days=1]="Days",c[c.Months=2]="Months",c[c.Eras=3]="Eras",c}(ye||{});function Ye(c,v,A,_){let L=function Be(c){if(Ce(c))return c;if("number"==typeof c&&!isNaN(c))return new Date(c);if("string"==typeof c){if(c=c.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(c)){const[L,pe=1,Ve=1]=c.split("-").map(ft=>+ft);return Oe(L,pe-1,Ve)}const A=parseFloat(c);if(!isNaN(c-A))return new Date(A);let _;if(_=c.match(we))return function ve(c){const v=new Date(0);let A=0,_=0;const L=c[8]?v.setUTCFullYear:v.setFullYear,pe=c[8]?v.setUTCHours:v.setHours;c[9]&&(A=Number(c[9]+c[10]),_=Number(c[9]+c[11])),L.call(v,Number(c[1]),Number(c[2])-1,Number(c[3]));const Ve=Number(c[4]||0)-A,ft=Number(c[5]||0)-_,Gt=Number(c[6]||0),Wt=Math.floor(1e3*parseFloat("0."+(c[7]||0)));return pe.call(v,Ve,ft,Gt,Wt),v}(_)}const v=new Date(c);if(!Ce(v))throw new Error(`Unable to convert "${c}" into a date`);return v}(c);v=Le(A,v)||v;let ft,Ve=[];for(;v;){if(ft=de.exec(v),!ft){Ve.push(v);break}{Ve=Ve.concat(ft.slice(1));const Kt=Ve.pop();if(!Kt)break;v=Kt}}let Gt=L.getTimezoneOffset();_&&(Gt=lt(_,Gt),L=function $e(c,v,A){const _=A?-1:1,L=c.getTimezoneOffset();return function pt(c,v){return(c=new Date(c.getTime())).setMinutes(c.getMinutes()+v),c}(c,_*(lt(v,L)-L))}(L,_,!0));let Wt="";return Ve.forEach(Kt=>{const nn=function tt(c){if(Ne[c])return Ne[c];let v;switch(c){case"G":case"GG":case"GGG":v=gt(ye.Eras,te.Abbreviated);break;case"GGGG":v=gt(ye.Eras,te.Wide);break;case"GGGGG":v=gt(ye.Eras,te.Narrow);break;case"y":v=Ke(Ie.FullYear,1,0,!1,!0);break;case"yy":v=Ke(Ie.FullYear,2,0,!0,!0);break;case"yyy":v=Ke(Ie.FullYear,3,0,!1,!0);break;case"yyyy":v=Ke(Ie.FullYear,4,0,!1,!0);break;case"Y":v=Se(1);break;case"YY":v=Se(2,!0);break;case"YYY":v=Se(3);break;case"YYYY":v=Se(4);break;case"M":case"L":v=Ke(Ie.Month,1,1);break;case"MM":case"LL":v=Ke(Ie.Month,2,1);break;case"MMM":v=gt(ye.Months,te.Abbreviated);break;case"MMMM":v=gt(ye.Months,te.Wide);break;case"MMMMM":v=gt(ye.Months,te.Narrow);break;case"LLL":v=gt(ye.Months,te.Abbreviated,N.Standalone);break;case"LLLL":v=gt(ye.Months,te.Wide,N.Standalone);break;case"LLLLL":v=gt(ye.Months,te.Narrow,N.Standalone);break;case"w":v=ke(1);break;case"ww":v=ke(2);break;case"W":v=ke(1,!0);break;case"d":v=Ke(Ie.Date,1);break;case"dd":v=Ke(Ie.Date,2);break;case"c":case"cc":v=Ke(Ie.Day,1);break;case"ccc":v=gt(ye.Days,te.Abbreviated,N.Standalone);break;case"cccc":v=gt(ye.Days,te.Wide,N.Standalone);break;case"ccccc":v=gt(ye.Days,te.Narrow,N.Standalone);break;case"cccccc":v=gt(ye.Days,te.Short,N.Standalone);break;case"E":case"EE":case"EEE":v=gt(ye.Days,te.Abbreviated);break;case"EEEE":v=gt(ye.Days,te.Wide);break;case"EEEEE":v=gt(ye.Days,te.Narrow);break;case"EEEEEE":v=gt(ye.Days,te.Short);break;case"a":case"aa":case"aaa":v=gt(ye.DayPeriods,te.Abbreviated);break;case"aaaa":v=gt(ye.DayPeriods,te.Wide);break;case"aaaaa":v=gt(ye.DayPeriods,te.Narrow);break;
45case"b":case"bb":case"bbb":v=gt(ye.DayPeriods,te.Abbreviated,N.Standalone,!0);break;case"bbbb":v=gt(ye.DayPeriods,te.Wide,N.Standalone,!0);break;case"bbbbb":v=gt(ye.DayPeriods,te.Narrow,N.Standalone,!0);break;case"B":case"BB":case"BBB":v=gt(ye.DayPeriods,te.Abbreviated,N.Format,!0);break;case"BBBB":v=gt(ye.DayPeriods,te.Wide,N.Format,!0);break;case"BBBBB":v=gt(ye.DayPeriods,te.Narrow,N.Format,!0);break;case"h":v=Ke(Ie.Hours,1,-12);break;case"hh":v=Ke(Ie.Hours,2,-12);break;case"H":v=Ke(Ie.Hours,1);break;case"HH":v=Ke(Ie.Hours,2);break;case"m":v=Ke(Ie.Minutes,1);break;case"mm":v=Ke(Ie.Minutes,2);break;case"s":v=Ke(Ie.Seconds,1);break;case"ss":v=Ke(Ie.Seconds,2);break;case"S":v=Ke(Ie.FractionalSeconds,1);break;case"SS":v=Ke(Ie.FractionalSeconds,2);break;case"SSS":v=Ke(Ie.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":v=Je(Te.Short);break;case"ZZZZZ":v=Je(Te.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":v=Je(Te.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":v=Je(Te.Long);break;default:return null}return Ne[c]=v,v}(Kt);Wt+=nn?nn(L,A,Gt):"''"===Kt?"'":Kt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Wt}function Oe(c,v,A){const _=new Date(0);return _.setFullYear(c,v,A),_.setHours(0,0,0),_}function Le(c,v){const A=Re(c);if(Ae[A]=Ae[A]||{},Ae[A][v])return Ae[A][v];let _="";switch(v){case"shortDate":_=st(c,ie.Short);break;case"mediumDate":_=st(c,ie.Medium);break;case"longDate":_=st(c,ie.Long);break;case"fullDate":_=st(c,ie.Full);break;case"shortTime":_=ne(c,ie.Short);break;case"mediumTime":_=ne(c,ie.Medium);break;case"longTime":_=ne(c,ie.Long);break;case"fullTime":_=ne(c,ie.Full);break;case"short":const L=Le(c,"shortTime"),pe=Le(c,"shortDate");_=ee(fe(c,ie.Short),[L,pe]);break;case"medium":const Ve=Le(c,"mediumTime"),ft=Le(c,"mediumDate");_=ee(fe(c,ie.Medium),[Ve,ft]);break;case"long":const Gt=Le(c,"longTime"),Wt=Le(c,"longDate");_=ee(fe(c,ie.Long),[Gt,Wt]);break;case"full":const Kt=Le(c,"fullTime"),nn=Le(c,"fullDate");_=ee(fe(c,ie.Full),[Kt,nn])}return _&&(Ae[A][v]=_),_}function ee(c,v){return v&&(c=c.replace(/\{([^}]+)}/g,function(A,_){return null!=v&&_ in v?v[_]:A})),c}function xe(c,v,A="-",_,L){let pe="";(c<0||L&&c<=0)&&(L?c=1-c:(c=-c,pe=A));let Ve=String(c);for(;Ve.length<v;)Ve="0"+Ve;return _&&(Ve=Ve.slice(Ve.length-v)),pe+Ve}function Ke(c,v,A=0,_=!1,L=!1){return function(pe,Ve){let ft=function Vt(c,v){switch(c){case Ie.FullYear:return v.getFullYear();case Ie.Month:return v.getMonth();case Ie.Date:return v.getDate();case Ie.Hours:return v.getHours();case Ie.Minutes:return v.getMinutes();case Ie.Seconds:return v.getSeconds();case Ie.FractionalSeconds:return v.getMilliseconds();case Ie.Day:return v.getDay();default:throw new Error(`Unknown DateType value "${c}".`)}}(c,pe);if((A>0||ft>-A)&&(ft+=A),c===Ie.Hours)0===ft&&-12===A&&(ft=12);else if(c===Ie.FractionalSeconds)return function Ze(c,v){return xe(c,3).substring(0,v)}(ft,v);const Gt=le(Ve,re.MinusSign);return xe(ft,v,Gt,_,L)}}function gt(c,v,A=N.Format,_=!1){return function(L,pe){return function Bt(c,v,A,_,L,pe){switch(A){case ye.Months:return function At(c,v,A){const _=(0,e.H5H)(c),pe=yt([_[e.KH2.MonthsFormat],_[e.KH2.MonthsStandalone]],v);return yt(pe,A)}(v,L,_)[c.getMonth()];case ye.Days:return function wt(c,v,A){const _=(0,e.H5H)(c),pe=yt([_[e.KH2.DaysFormat],_[e.KH2.DaysStandalone]],v);return yt(pe,A)}(v,L,_)[c.getDay()];case ye.DayPeriods:const Ve=c.getHours(),ft=c.getMinutes();if(pe){const Wt=function mt(c){const v=(0,e.H5H)(c);return ze(v),(v[e.KH2.ExtraData][2]||[]).map(_=>"string"==typeof _?ut(_):[ut(_[0]),ut(_[1])])}(v),Kt=function Ot(c,v,A){const _=(0,e.H5H)(c);ze(_);const pe=yt([_[e.KH2.ExtraData][0],_[e.KH2.ExtraData][1]],v)||[];return yt(pe,A)||[]}(v,L,_),nn=Wt.findIndex(Dn=>{if(Array.isArray(Dn)){const[yn,kn]=Dn,Hn=Ve>=yn.hours&&ft>=yn.minutes,wo=Ve<kn.hours||Ve===kn.hours&&ft<kn.minutes;if(yn.hours<kn.hours){if(Hn&&wo)return!0}else if(Hn||wo)return!0}else if(Dn.hours===Ve&&Dn.minutes===ft)return!0;return!1});if(-1!==nn)return Kt[nn]}return function Mt(c,v,A){const _=(0,e.H5H)(c),pe=yt([_[e.KH2.DayPeriodsFormat],_[e.KH2.DayPeriodsStandalone]],v);return yt(pe,A)}(v,L,_)[Ve<12?0:1];case ye.Eras:return function Et(c,v){return yt((0,e.H5H)(c)[e.KH2.Eras
45],v)}(v,_)[c.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${A}`)}}(L,pe,c,v,A,_)}}function Je(c){return function(v,A,_){const L=-1*_,pe=le(A,re.MinusSign),Ve=L>0?Math.floor(L/60):Math.ceil(L/60);switch(c){case Te.Short:return(L>=0?"+":"")+xe(Ve,2,pe)+xe(Math.abs(L%60),2,pe);case Te.ShortGMT:return"GMT"+(L>=0?"+":"")+xe(Ve,1,pe);case Te.Long:return"GMT"+(L>=0?"+":"")+xe(Ve,2,pe)+":"+xe(Math.abs(L%60),2,pe);case Te.Extended:return 0===_?"Z":(L>=0?"+":"")+xe(Ve,2,pe)+":"+xe(Math.abs(L%60),2,pe);default:throw new Error(`Unknown zone width "${c}"`)}}}const on=0,On=4;function Ft(c){return Oe(c.getFullYear(),c.getMonth(),c.getDate()+(On-c.getDay()))}function ke(c,v=!1){return function(A,_){let L;if(v){const pe=new Date(A.getFullYear(),A.getMonth(),1).getDay()-1,Ve=A.getDate();L=1+Math.floor((Ve+pe)/7)}else{const pe=Ft(A),Ve=function He(c){const v=Oe(c,on,1).getDay();return Oe(c,0,1+(v<=On?On:On+7)-v)}(pe.getFullYear()),ft=pe.getTime()-Ve.getTime();L=1+Math.round(ft/6048e5)}return xe(L,c,le(_,re.MinusSign))}}function Se(c,v=!1){return function(A,_){return xe(Ft(A).getFullYear(),c,le(_,re.MinusSign),v)}}const Ne={};function lt(c,v){c=c.replace(/:/g,"");const A=Date.parse("Jan 01, 1970 00:00:00 "+c)/6e4;return isNaN(A)?v:A}function Ce(c){return c instanceof Date&&!isNaN(c.valueOf())}const oe=/^(\d+)?\.((\d+)(-(\d+))?)?$/,De=22,rt=".",St="0",Nt=";",Yt=",",zt="#";function We(c,v,A,_,L,pe,Ve=!1){let ft="",Gt=!1;if(isFinite(c)){let Wt=function Qt(c){let _,L,pe,Ve,ft,v=Math.abs(c)+"",A=0;for((L=v.indexOf(rt))>-1&&(v=v.replace(rt,"")),(pe=v.search(/e/i))>0?(L<0&&(L=pe),L+=+v.slice(pe+1),v=v.substring(0,pe)):L<0&&(L=v.length),pe=0;v.charAt(pe)===St;pe++);if(pe===(ft=v.length))_=[0],L=1;else{for(ft--;v.charAt(ft)===St;)ft--;for(L-=pe,_=[],Ve=0;pe<=ft;pe++,Ve++)_[Ve]=Number(v.charAt(pe))}return L>De&&(_=_.splice(0,De-1),A=L-1,L=1),{digits:_,exponent:A,integerLen:L}}(c);Ve&&(Wt=function Lt(c){if(0===c.digits[0])return c;const v=c.digits.length-c.integerLen;return c.exponent?c.exponent+=2:(0===v?c.digits.push(0,0):1===v&&c.digits.push(0),c.integerLen+=2),
45c}(Wt));let Kt=v.minInt,nn=v.minFrac,Dn=v.maxFrac;if(pe){const Wn=pe.match(oe);if(null===Wn)throw new Error(`${pe} is not a valid digit info`);const bo=Wn[1],Po=Wn[3],Ro=Wn[5];null!=bo&&(Kt=gn(bo)),null!=Po&&(nn=gn(Po)),null!=Ro?Dn=gn(Ro):null!=Po&&nn>Dn&&(Dn=nn)}!function Zt(c,v,A){if(v>A)throw new Error(`The minimum number of digits after fraction (${v}) is higher than the maximum (${A}).`);let _=c.digits,L=_.length-c.integerLen;const pe=Math.min(Math.max(v,L),A);let Ve=pe+c.integerLen,ft=_[Ve];if(Ve>0){_.splice(Math.max(c.integerLen,Ve));for(let nn=Ve;nn<_.length;nn++)_[nn]=0}else{L=Math.max(0,L),c.integerLen=1,_.length=Math.max(1,Ve=pe+1),_[0]=0;for(let nn=1;nn<Ve;nn++)_[nn]=0}if(ft>=5)if(Ve-1<0){for(let nn=0;nn>Ve;nn--)_.unshift(0),c.integerLen++;_.unshift(1),c.integerLen++}else _[Ve-1]++;for(;L<Math.max(0,pe);L++)_.push(0);let Gt=0!==pe;const Wt=v+c.integerLen,Kt=_.reduceRight(function(nn,Dn,yn,kn){return kn[yn]=(Dn+=nn)<10?Dn:Dn-10,Gt&&(0===kn[yn]&&yn>=Wt?kn.pop():Gt=!1),Dn>=10?1:0},0);Kt&&(_.unshift(Kt),c.integerLen++)}(Wt,nn,Dn);let yn=Wt.digits,kn=Wt.integerLen;const Hn=Wt.exponent;let wo=[];for(Gt=yn.every(Wn=>!Wn);kn<Kt;kn++)yn.unshift(0);for(;kn<0;kn++)yn.unshift(0);kn>0?wo=yn.splice(kn,yn.length):(wo=yn,yn=[0]);const lo=[];for(yn.length>=v.lgSize&&lo.unshift(yn.splice(-v.lgSize,yn.length).join(""));yn.length>v.gSize;)lo.unshift(yn.splice(-v.gSize,yn.length).join(""));yn.length&&lo.unshift(yn.join("")),ft=lo.join(le(A,_)),wo.length&&(ft+=le(A,L)+wo.join("")),Hn&&(ft+=le(A,re.Exponential)+"+"+Hn)}else ft=le(A,re.Infinity);return ft=c<0&&!Gt?v.negPre+ft+v.negSuf:v.posPre+ft+v.posSuf,ft}function xt(c,v="-"){const A={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},_=c.split(Nt),L=_[0],pe=_[1],Ve=-1!==L.indexOf(rt)?L.split(rt):[L.substring(0,L.lastIndexOf(St)+1),L.substring(L.lastIndexOf(St)+1)],ft=Ve[0],Gt=Ve[1]||"";A.posPre=ft.substring(0,ft.indexOf(zt));for(let Kt=0;Kt<Gt.length;Kt++){const nn=Gt.charAt(Kt);nn===St?A.minFrac=A.maxFrac=Kt+1:nn===zt?A.maxFrac=Kt+1:A.posSuf+=nn}const Wt=ft.split(Yt);if(A.gSize=Wt[1]?Wt[1].length:0,A.lgSize=Wt[2]||Wt[1]?(Wt[2]||Wt[1]).length:0,pe){const Kt=L.length-A.posPre.length-A.posSuf.length,nn=pe.indexOf(zt);A.negPre=pe.substring(0,nn).replace(/'/g,""),A.negSuf=pe.slice(nn+Kt).replace(/'/g,"")}else A.negPre=v+A.posPre,A.negSuf=A.posSuf;return A}function gn(c){const v=parseInt(c);if(isNaN(v))throw new Error("Invalid integer literal when parsing "+c);return v}let hn=(()=>{var c;class v{}return(c=v).\u0275fac=function(_){return new(_||c)},c.\u0275prov=e.jDH({token:c,factory:function(_){let L=null;return _?L=new _:(pe=e.KVO(e.xe9),L=new Yn(pe)),L;var pe},providedIn:"root"}),v})();let Yn=(()=>{var c;class v extends hn{constructor(_){super(),this.locale=_}getPluralCategory(_,L){switch(Ct(L||this.locale)(_)){case ae.Zero:return"zero";case ae.One:return"one";case ae.Two:return"two";case ae.Few:return"few";case ae.Many:return"many";default:return"other"}}}return(c=v).\u0275fac=function(_){return new(_||c)(e.KVO(e.xe9))},c.\u0275prov=e.jDH({token:c,factory:c.\u0275fac}),v})();function dn(c,v,A){return(0,e.XSP)(c,v,A)}function uo(c,v){v=encodeURIComponent(v);for(const A of c.split(";")){const _=A.indexOf("="),[L,pe]=-1==_?[A,""]:[A.slice(0,_),A.slice(_+1)];if(L.trim()===v)return decodeURIComponent(pe)}return null}const Zn=/\s+/,jn=[];let Sn=(()=>{var c;class v{constructor(_,L,pe,Ve){this._iterableDiffers=_,this._keyValueDiffers=L,this._ngEl=pe,this._renderer=Ve,this.initialClasses=jn,this.stateMap=new Map}set klass(_){this.initialClasses=null!=_?_.trim().split(Zn):jn}set ngClass(_){this.rawClass="string"==typeof _?_.trim().split(Zn):_}ngDoCheck(){for(const L of this.initialClasses)this._updateState(L,!0);const _=this.rawClass;if(Array.isArray(_)||_ instanceof Set)for(const L of _)this._updateState(L,!0);else if(null!=_)for(const L of Object.keys(_))this._updateState(L,!!_[L]);this._applyStateDiff()}_updateState(_,L){const pe=this.stateMap.get(_);void 0!==pe?(pe.enabled!==L&&(pe.changed=!0,pe.enabled=L),pe.touched=!0):this.stateMap.set(_,{enabled:L,changed:!0,touched:!0})}_applyStateDiff(){for(const _ of this.stateMap){const L=_[0],pe=_[1];pe.changed?(this._toggleClass(L,pe.enabled),pe.changed=!1):pe.touched||(pe.enabled&&this._toggleClass(L,!1),this.stateMap.delete(L)),pe.touched=!1}}_toggleClass(_,L){(_=_.trim()).length>
450&&_.split(Zn).forEach(pe=>{L?this._renderer.addClass(this._ngEl.nativeElement,pe):this._renderer.removeClass(this._ngEl.nativeElement,pe)})}}return(c=v).\u0275fac=function(_){return new(_||c)(e.rXU(e._q3),e.rXU(e.MKu),e.rXU(e.aKT),e.rXU(e.sFG))},c.\u0275dir=e.FsC({type:c,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),v})();class Lo{constructor(v,A,_,L){this.$implicit=v,this.ngForOf=A,this.index=_,this.count=L}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Ln=(()=>{var c;class v{set ngForOf(_){this._ngForOf=_,this._ngForOfDirty=!0}set ngForTrackBy(_){this._trackByFn=_}get ngForTrackBy(){return this._trackByFn}constructor(_,L,pe){this._viewContainer=_,this._template=L,this._differs=pe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(_){_&&(this._template=_)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const _=this._ngForOf;!this._differ&&_&&(this._differ=this._differs.find(_).create(this.ngForTrackBy))}if(this._differ){const _=this._differ.diff(this._ngForOf);_&&this._applyChanges(_)}}_applyChanges(_){const L=this._viewContainer;_.forEachOperation((pe,Ve,ft)=>{if(null==pe.previousIndex)L.createEmbeddedView(this._template,new Lo(pe.item,this._ngForOf,-1,-1),null===ft?void 0:ft);else if(null==ft)L.remove(null===Ve?void 0:Ve);else if(null!==Ve){const Gt=L.get(Ve);L.move(Gt,ft),Xn(Gt,pe)}});for(let pe=0,Ve=L.length;pe<Ve;pe++){const Gt=L.get(pe).context;Gt.index=pe,Gt.count=Ve,Gt.ngForOf=this._ngForOf}_.forEachIdentityChange(pe=>{Xn(L.get(pe.currentIndex),pe)})}static ngTemplateContextGuard(_,L){return!0}}return(c=v).\u0275fac=function(_){return new(_||c)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU(e._q3))},c.\u0275dir=e.FsC({type:c,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),v})();function Xn(c,v){c.context.$implicit=v.item}let Eo=(()=>{var c;class v{constructor(_,L){this._viewContainer=_,this._context=new Qn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=L}set ngIf(_){this._context.$implicit=this._context.ngIf=_,this._updateView()}set ngIfThen(_){Ko("ngIfThen",_),this._thenTemplateRef=_,this._thenViewRef=null,this._updateView()}set ngIfElse(_){Ko("ngIfElse",_),this._elseTemplateRef=_,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(_,L){return!0}}return(c=v).\u0275fac=function(_){return new(_||c)(e.rXU(e.c1b),e.rXU(e.C4Q))},c.\u0275dir=e.FsC({type:c,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),v})();class Qn{constructor(){this.$implicit=null,this.ngIf=null}}function Ko(c,v){if(v&&!v.createEmbeddedView)throw new Error(`${c} must be a TemplateRef, but received '${(0,e.Tbb)(v)}'.`)}class No{constructor(v,A){this._viewContainerRef=v,this._templateRef=A,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(v){v&&!this._created?this.create():!v&&this._created&&this.destroy()}}let $o=(()=>{var c;class v{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(_){this._ngSwitch=_,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(_){this._defaultViews.push(_)}_matchCase(_){const L=_==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||L,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),L}_updateDefaultCases(_){if(this._defaultViews.length>0&&_!==this._defaultUsed){this._defaultUsed=_;for(const L of this._defaultViews)L.enforceState(_)}}}return(c=v).\u0275fac=function(_){return new(_||c)},c.\u0275dir=e.FsC({type:c,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),v})(),ro=(()=>{var c;class v{constructor(_,L,pe){this.ngSwitch=pe,pe._addCase(),this._view=new No(_,L
45)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return(c=v).\u0275fac=function(_){return new(_||c)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU($o,9))},c.\u0275dir=e.FsC({type:c,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),v})(),Ir=(()=>{var c;class v{constructor(_,L,pe){pe._addDefault(new No(_,L))}}return(c=v).\u0275fac=function(_){return new(_||c)(e.rXU(e.c1b),e.rXU(e.C4Q),e.rXU($o,9))},c.\u0275dir=e.FsC({type:c,selectors:[["","ngSwitchDefault",""]],standalone:!0}),v})(),Oo=(()=>{var c;class v{constructor(_){this._localization=_,this._caseViews={}}set ngPlural(_){this._updateView(_)}addCase(_,L){this._caseViews[_]=L}_updateView(_){this._clearViews();const pe=function Tn(c,v,A,_){let L=`=${c}`;if(v.indexOf(L)>-1||(L=A.getPluralCategory(c,_),v.indexOf(L)>-1))return L;if(v.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${c}"`)}(_,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[pe])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(_){_&&(this._activeView=_,this._activeView.create())}}return(c=v).\u0275fac=function(_){return new(_||c)(e.rXU(hn))},c.\u0275dir=e.FsC({type:c,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0}),v})(),Ur=(()=>{var c;class v{constructor(_,L,pe,Ve){this.value=_;const ft=!isNaN(Number(_));Ve.addCase(ft?`=${_}
45`:_,new No(pe,L))}}return(c=v).\u0275fac=function(_){return new(_||c)(e.kS0("ngPluralCase"),e.rXU(e.C4Q),e.rXU(e.c1b),e.rXU(Oo,1))},c.\u0275dir=e.FsC({type:c,selectors:[["","ngPluralCase",""]],standalone:!0}),v})(),Or=(()=>{var c;class v{constructor(_,L,pe){this._ngEl=_,this._differs=L,this._renderer=pe,this._ngStyle=null,this._differ=null}set ngStyle(_){this._ngStyle=_,!this._differ&&_&&(this._differ=this._differs.find(_).create())}ngDoCheck(){if(this._differ){const _=this._differ.diff(this._ngStyle);_&&this._applyChanges(_)}}_setStyle(_,L){const[pe,Ve]=_.split("."),ft=-1===pe.indexOf("-")?void 0:e.czy.DashCase;null!=L?this._renderer.setStyle(this._ngEl.nativeElement,pe,Ve?`${L}${Ve}`:L,ft):this._renderer.removeStyle(this._ngEl.nativeElement,pe,ft)}_applyChanges(_){_.forEachRemovedItem(L=>this._setStyle(L.key,null)),_.forEachAddedItem(L=>this._setStyle(L.key,L.currentValue)),_.forEachChangedItem(L=>this._setStyle(L.key,L.currentValue))}}return(c=v).\u0275fac=function(_){return new(_||c)(e.rXU(e.aKT),e.rXU(e.MKu),e.rXU(e.sFG))},c.\u0275dir=e.FsC({type:c,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),v})(),cr=(()=>{var c;class v{constructor(_){this._viewContainerRef=_,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(_){if(_.ngTemplateOutlet||_.ngTemplateOutletInjector){const L=this._viewContainerRef;if(this._viewRef&&L.remove(L.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:pe,ngTemplateOutletContext:Ve,ngTemplateOutletInjector:ft}=this;this._viewRef=L.createEmbeddedView(pe,Ve,ft?{injector:ft}:void 0)}else this._viewRef=null}else this._viewRef&&_.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return(c=v).\u0275fac=function(_){return new(_||c)(e.rXU(e.c1b))},c.\u0275dir=e.FsC({type:c,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.OA$]}),v})();function Me(c,v){return new e.wOt(2100,!1)}class Dt{createSubscription(v,A){return(0,e.O8t)(()=>v.subscribe({next:A,error:_=>{throw _}}))}dispose(v){(0,e.O8t)(()=>v.unsubscribe())}}class be{createSubscription(v,A){return v.then(A,_=>{throw _})}dispose(v){}}const je=new be,qe=new Dt;let kt=(()=>{var c;class v{constructor(_){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=_}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(_){return this._obj?_!==this._obj?(this._dispose(),this.transform(_)):this._latestValue:(_&&this._subscribe(_),this._latestValue)}_subscribe(_){this._obj=_,this._strategy=this._selectStrategy(_),this._subscription=this._strategy.createSubscription(_,L=>this._updateLatestValue(_,L))}_selectStrategy(_){if((0,e.jNT)(_))return je;if((0,e.zjR)(_))return qe;throw Me()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(_,L){_===this._obj&&(this._latestValue=L,this._ref.markForCheck())}}return(c=v).\u0275fac=function(_){return new(_||c)(e.rXU(e.gRc,16))},c.\u0275pipe=e.EJ8({name:"async",type:c,pure:!1,standalone:!0}),v})(),qt=(()=>{var c;class v{transform(_){if(null==_)return null;if("string"!=typeof _)throw Me();return _.toLowerCase()}}return(c=v).\u0275fac=function(_){return new(_||c)},c.\u0275pipe=e.EJ8({name:"lowercase",type:c,pure:!0,standalone:!0}),v})(),an=(()=>{var c;class v{transform(_){if(null==_)return null;if("string"!=typeof _)throw Me();return _.toUpperCase()}}return(c=v).\u0275fac=function(_){return new(_||c)},c.\u0275pipe=e.EJ8({name:"uppercase",type:c,pure:!0,standalone:!0}),v})();const xn=new e.nKC("DATE_PIPE_DEFAULT_TIMEZONE"),Un=new e.nKC("DATE_PIPE_DEFAULT_OPTIONS");let po=(()=>{var c;class v{constructor(_,L,pe){this.locale=_,this.defaultTimezone=L,this.defaultOptions=pe}transform(_,L,pe,Ve){if(null==_||""===_||_!=_)return null;try{return Ye(_,L??this.defaultOptions?.dateFormat??"mediumDate",Ve||this.locale,pe??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ft){throw Me()}}}return(c=v).\u0275fac=function(_){return new(_||c)(e.rXU(e.xe9,16),e.rXU(xn,24),e.rXU(Un,24))},c.\u0275pipe=e.EJ8({name:"date",type:c,pure:!0,standalone:!0}),v})(),kr=(()=>{var c;class v{constructor(_){this._locale=_}transform(_,L,pe){if(!vr(_))return null;pe=pe||this._locale;try{return function dt(c,v,A){return We(c,xt(Ue(v,ue.Decimal),le(v,re.MinusSign)),v,re.Group,re.Decimal,A)}(Vn(_),pe,L)}catch(Ve){throw Me()}}}return(c=v).\u0275fac=function(_){return new(_||c)(e.rXU(e.xe9,16))},c.\u0275pipe=e.EJ8({name:"number",type:c,pure:!0,standalone:!0}),v})(),Vr=(()=>{var c;class v{constructor(_,L="USD"){this._locale=_,this._defaultCurrencyCode=L}transform(_,L=this._defaultCurrencyCode,pe="symbol",Ve,ft){if(!vr(_))return null;
45ft=ft||this._locale,"boolean"==typeof pe&&(pe=pe?"symbol":"code");let Gt=L||this._defaultCurrencyCode;"code"!==pe&&(Gt="symbol"===pe||"symbol-narrow"===pe?function ht(c,v,A="en"){const _=function Ge(c){return(0,e.H5H)(c)[e.KH2.Currencies]}(A)[c]||F[c]||[],L=_[1];return"narrow"===v&&"string"==typeof L?L:_[0]||c}(Gt,"symbol"===pe?"wide":"narrow",ft):pe);try{return function _e(c,v,A,_,L){const Ve=xt(Ue(v,ue.Currency),le(v,re.MinusSign));return Ve.minFrac=function et(c){let v;const A=F[c];return A&&(v=A[2]),"number"==typeof v?v:2}(_),Ve.maxFrac=Ve.minFrac,We(c,Ve,v,re.CurrencyGroup,re.CurrencyDecimal,L).replace("\xa4",A).replace("\xa4","").trim()}(Vn(_),ft,Gt,L,Ve)}catch(Wt){throw Me()}}}return(c=v).\u0275fac=function(_){return new(_||c)(e.rXU(e.xe9,16),e.rXU(e.Ocv,16))},c.\u0275pipe=e.EJ8({name:"currency",type:c,pure:!0,standalone:!0}),v})();function vr(c){return!(null==c||""===c||c!=c)}function Vn(c){if("string"==typeof c&&!isNaN(Number(c)-parseFloat(c)))return Number(c);if("number"!=typeof c)throw new Error(`${c} is not a number`);return c}let Xt=(()=>{var c;class v{transform(_,L,pe){if(null==_)return null;if(!this.supports(_))throw Me();return _.slice(L,pe)}supports(_){return"string"==typeof _||Array.isArray(_)}}return(c=v).\u0275fac=function(_){return new(_||c)},c.\u0275pipe=e.EJ8({name:"slice",type:c,pure:!1,standalone:!0}),v})(),An=(()=>{var c;class v{}return(c=v).\u0275fac=function(_){return new(_||c)},c.\u0275mod=e.$C({type:c}),c.\u0275inj=e.G2t({}),v})();const ho="browser",er="server";function Kn(c){return c===ho}function Bo(c){return c===er}let Rr=(()=>{var c;class v{}return(c=v).\u0275prov=(0,e.jDH)({token:c,providedIn:"root",factory:()=>new tr((0,e.KVO)(V),window)}),v})();class tr{constructor(v,A){this.document=v,this.window=A,this.offset=()=>[0,0]}setOffset(v){this.offset=Array.isArray(v)?()=>v:v}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(v){this.supportsScrolling()&&this.window.scrollTo(v[0],v[1])}scrollToAnchor(v){if(!this.supportsScrolling())return;const A=function Gn(c,v){const A=c.getElementById(v)||c.getElementsByName(v)[0];if(A)return A;if("function"==typeof c.createTreeWalker&&c.body&&"function"==typeof c.body.attachShadow){const _=c.createTreeWalker(c.body,NodeFilter.SHOW_ELEMENT);let L=_.currentNode;for(;L;){const pe=L.shadowRoot;if(pe){const Ve=pe.getElementById(v)||pe.querySelector(`[name="${v}"]`);if(Ve)return Ve}L=_.nextNode()}}return null}(this.document,v);A&&(this.scrollToElement(A),A.focus())}setHistoryScrollRestoration(v){this.supportsScrolling()&&(this.window.history.scrollRestoration=v)}scrollToElement(v){const A=v.getBoundingClientRect(),_=A.left+this.window.pageXOffset,L=A.top+this.window.pageYOffset,pe=this.offset();this.window.scrollTo(_-pe[0],L-pe[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Fr{}const ko=c=>c.src,cn=new e.nKC("ImageLoader",{providedIn:"root",factory:()=>ko}),zi=new e.nKC("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let hi=(()=>{var c;class v{constructor(){this.preloadedImages=(0,e.WQX)(zi),this.document=(0,e.WQX)(V)}createPreloadLinkTag(_,L,pe,Ve){if(this.preloadedImages.has(L))return;this.preloadedImages.add(L);
45const ft=_.createElement("link");_.setAttribute(ft,"as","image"),_.setAttribute(ft,"href",L),_.setAttribute(ft,"rel","preload"),_.setAttribute(ft,"fetchpriority","high"),Ve&&_.setAttribute(ft,"imageSizes",Ve),pe&&_.setAttribute(ft,"imageSrcset",pe),_.appendChild(this.document.head,ft)}}return(c=v).\u0275fac=function(_){return new(_||c)},c.\u0275prov=e.jDH({token:c,factory:c.\u0275fac,providedIn:"root"}),v})();const gi=/^((\s*\d+w\s*(,|$)){1,})$/,mi=[1,2],Do={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},Xr=new e.nKC("ImageConfig",{providedIn:"root",factory:()=>Do});let ni=(()=>{var c;class v{constructor(){this.imageLoader=(0,e.WQX)(cn),this.config=function vi(c){let v={};return c.breakpoints&&(v.breakpoints=c.breakpoints.sort((A,_)=>A-_)),Object.assign({},Do,c,v)}((0,e.WQX)(Xr)),this.renderer=(0,e.WQX)(e.sFG),this.imgElement=(0,e.WQX)(e.aKT).nativeElement,this.injector=(0,e.WQX)(e.zZn),this.isServer=Bo((0,e.WQX)(e.Agw)),this.preloadLinkCreator=(0,e.WQX)(hi),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const _=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),_,this.sizes)}ngOnChanges(_){if(_.ngSrc&&!_.ngSrc.isFirstChange()){const L=this._renderedSrc;this.updateSrcAndSrcset(!0);const pe=this._renderedSrc;null!==this.lcpObserver&&L&&pe&&L!==pe&&this.injector.get(e.SKi).runOutsideAngular(()=>{this.lcpObserver?.updateImage(L,pe)})}}callImageLoader(_){let L=_;return this.loaderParams&&(L.loaderParams=this.loaderParams),this.imageLoader(L)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const _=gi.test(this.ngSrcset);return this.ngSrcset.split(",").filter(pe=>""!==pe).map(pe=>{pe=pe.trim();const Ve=_?parseFloat(pe):parseFloat(pe)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:Ve})} ${pe}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:_}=this.config;let L=_;return"100vw"===this.sizes?.trim()&&(L=_.filter(Ve=>Ve>=640)),L.map(Ve=>`${this.callImageLoader({src:this.ngSrc,width:Ve})} ${Ve}w`).join(", ")}updateSrcAndSrcset(_=!1){_&&(this._renderedSrc=null);const L=this.getRewrittenSrc();let pe;return this.setHostAttribute("src",L),this.ngSrcset?pe=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(pe=this.getAutomaticSrcset()),pe&&this.setHostAttribute("srcset",pe),pe}getFixedSrcset(){return mi.map(L=>`${this.callImageLoader({src:this.ngSrc,width:this.width*L})} ${L}x`).join(", ")}shouldGenerateAutomaticSrcset(){let _=!1;return this.sizes||(_=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==ko&&!_}ngOnDestroy(){}setHostAttribute(_,L){this.renderer.setAttribute(this.imgElement,_,L)}}return(c=v).\u0275fac=function(_){return new(_||c)},c.\u0275dir=e.FsC({type:c,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(_,L){2&_&&e.xc7("position",L.fill?"absolute":null)("width",L.fill?"100%":null)("height",L.fill?"100%":null)("inset",L.fill?"0px":null)},inputs:{ngSrc:["ngSrc","ngSrc",K],ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",e.Udg],height:["height","height",e.Udg],loading:"loading",priority:["priority","priority",e.L39],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",e.L39],fill:["fill","fill",e.L39],src:"src",srcset:"srcset"},standalone:!0,features:[e.GFd,e.OA$]}),v})();function K(c){return"string"==typeof c?c:(0,e.rcV)(c)}},1626:(ct,ce,a)=>{a.d(ce,{$R:()=>ke,Qq:()=>bt,_y:()=>ue,b$:()=>Se,rx:()=>F,yz:()=>Et});var e=a(7019),d=a(7673),X=a(6648),x=a(1985),O=a(274),V=a(5964),p=a(6354),$=a(980),E=a(5558),s=a(177);
46/**
47         * @license Angular v16.2.12
48         * (c) 2010-2022 Google LLC. https://angular.io/
49         * License: MIT
50         */class I{}class W{}class G{constructor(_e){this.normalizedNames=new Map,this.lazyUpdate=null,_e?"string"==typeof _e?this.lazyInit=()=>{this.headers=new Map,_e.split("\n").forEach(at=>{const dt=at.indexOf(":");if(dt>0){const xt=at.slice(0,dt),Lt=xt.toLowerCase(),Qt=at.slice(dt+1).trim();this.maybeSetNormalizedName(xt,Lt),this.headers.has(Lt)?this.headers.get(Lt).push(Qt):this.headers.set(Lt,[Qt])}})}:typeof Headers<"u"&&_e instanceof Headers?(this.headers=new Map,_e.forEach((at,dt)=>{this.setHeaderEntries(dt,at)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(_e).forEach(([at,dt])=>{this.setHeaderEntries(at,dt)})}:this.headers=new Map}has(_e){return this.init(),this.headers.has(_e.toLowerCase())}get(_e){this.init();const at=this.headers.get(_e.toLowerCase());return at&&at.length>0?at[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(_e){return this.init(),this.headers.get(_e.toLowerCase())||null}append(_e,at){return this.clone({name:_e,value:at,op:"a"})}set(_e,at){return this.clone({name:_e,value:at,op:"s"})}delete(_e,at){return this.clone({name:_e,value:at,op:"d"})}maybeSetNormalizedName(_e,at){this.normalizedNames.has(at)||this.normalizedNames.set(at,_e)}init(){this.lazyInit&&(this.lazyInit instanceof G?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(_e=>this.applyUpdate(_e)),this.lazyUpdate=null))}
50copyFrom(_e){_e.init(),Array.from(_e.headers.keys()).forEach(at=>{this.headers.set(at,_e.headers.get(at)),this.normalizedNames.set(at,_e.normalizedNames.get(at))})}clone(_e){const at=new G;return at.lazyInit=this.lazyInit&&this.lazyInit instanceof G?this.lazyInit:this,at.lazyUpdate=(this.lazyUpdate||[]).concat([_e]),at}applyUpdate(_e){const at=_e.name.toLowerCase();switch(_e.op){case"a":case"s":let dt=_e.value;if("string"==typeof dt&&(dt=[dt]),0===dt.length)return;this.maybeSetNormalizedName(_e.name,at);const xt=("a"===_e.op?this.headers.get(at):void 0)||[];xt.push(...dt),this.headers.set(at,xt);break;case"d":const Lt=_e.value;if(Lt){let Qt=this.headers.get(at);if(!Qt)return;Qt=Qt.filter(Zt=>-1===Lt.indexOf(Zt)),0===Qt.length?(this.headers.delete(at),this.normalizedNames.delete(at)):this.headers.set(at,Qt)}else this.headers.delete(at),this.normalizedNames.delete(at)}}setHeaderEntries(_e,at){const dt=(Array.isArray(at)?at:[at]).map(Lt=>Lt.toString()),xt=_e.toLowerCase();this.headers.set(xt,dt),this.maybeSetNormalizedName(_e,xt)}forEach(_e){this.init(),Array.from(this.normalizedNames.keys()).forEach(at=>_e(this.normalizedNames.get(at),this.headers.get(at)))}}class J{encodeKey(_e){return Z(_e)}encodeValue(_e){return Z(_e)}decodeKey(_e){return decodeURIComponent(_e)}decodeValue(_e){return decodeURIComponent(_e)}}const w=/%(\d[a-f0-9])/gi,U={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Z(We){return encodeURIComponent(We).replace(w,(_e,at)=>U[at]??_e)}function H(We){return`${We}`}class j{constructor(_e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=_e.encoder||new J,_e.fromString){if(_e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function z(We,_e){const at=new Map;return We.length>0&&We.replace(/^\?/,"").split("&").forEach(xt=>{const Lt=xt.indexOf("="),[Qt,Zt]=-1==Lt?[_e.decodeKey(xt),""]:[_e.decodeKey(xt.slice(0,Lt)),_e.decodeValue(xt.slice(Lt+1))],gn=at.get(Qt)||[];gn.push(Zt),at.set(Qt,gn)}),at}(_e.fromString,this.encoder)}else _e.fromObject?(this.map=new Map,Object.keys(_e.fromObject).forEach(at=>{const dt=_e.fromObject[at],xt=Array.isArray(dt)?dt.map(H):[H(dt)];this.map.set(at,xt)})):this.map=null}has(_e){return this.init(),this.map.has(_e)}get(_e){this.init();const at=this.map.get(_e);return at?at[0]:null}getAll(_e){return this.init(),this.map.get(_e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(_e,at){return this.clone({param:_e,value:at,op:"a"})}appendAll(_e){const at=[];return Object.keys(_e).forEach(dt=>{const xt=_e[dt];Array.isArray(xt)?xt.forEach(Lt=>{at.push({param:dt,value:Lt,op:"a"})}):at.push({param:dt,value:xt,op:"a"})}),this.clone(at)}set(_e,at){return this.clone({param:_e,value:at,op:"s"})}delete(_e,at){return this.clone({param:_e,value:at,op:"d"})}toString(){return this.init(),this.keys().map(_e=>{const at=this.encoder.encodeKey(_e);return this.map.get(_e).map(dt=>at+"="+this.encoder.encodeValue(dt)).join("&")}).filter(_e=>""!==_e).join("&")}clone(_e){const at=new j({encoder:this.encoder});return at.cloneFrom=this.cloneFrom||this,at.updates=(this.updates||[]).concat(_e),at}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(_e=>this.map.set(_e,this.cloneFrom.map.get(_e))),this.updates.forEach(_e=>{switch(_e.op){case"a":case"s":const at=("a"===_e.op?this.map.get(_e.param):void 0)||[];at.push(H(_e.value)),this.map.set(_e.param,at);break;case"d":if(void 0===_e.value){this.map.delete(_e.param);break}{let dt=this.map.get(_e.param)||[];const xt=dt.indexOf(H(_e.value));-1!==xt&&dt.splice(xt,1),dt.length>0?this.map.set(_e.param,dt):this.map.delete(_e.param)}}}),this.cloneFrom=this.updates=null)}}class F{constructor(_e){this.defaultValue=_e}}class ue{constructor(){this.map=new Map}set(_e,at){return this.map.set(_e,at),this}get(_e){return this.map.has(_e)||this.map.set(_e,_e.defaultValue()),this.map.get(_e)}delete(_e){return this.map.delete(_e),this}has(_e){return this.map.has(_e)}keys(){return this.map.keys()}}function N(We){return typeof ArrayBuffer<"u"&&We instanceof ArrayBuffer}function te(We){return typeof Blob<"u"&&We instanceof Blob}function ie(We){return typeof FormData<"u"&&We instanceof FormData}class Ee{constructor(_e,at,dt,xt){let Lt;if(this.url=at,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=_e.toUpperCase(),function ae(We){switch(We){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||xt?(this.body=void 0!==dt?dt:null,Lt=xt):Lt=dt,Lt&&(this.reportProgress=!!Lt.reportProgress,this.withCredentials=!!Lt.withCredentials,Lt.responseType&&(this.responseType=Lt.responseType),Lt.headers&&(this.headers=Lt.headers),Lt.context&&(this.context=Lt.context),Lt.params&&(this.params=Lt.params)),this.headers||(this.headers=new G),this.context||(this.context=new ue),this.params){const Qt=this.params.toString();if(0===Qt.length)this.urlWithParams=at;else{const Zt=at.indexOf("?");this.urlWithParams=at+(-1===Zt?"?":Zt<at.length-1?"&":"")+Qt}}else this.params=new j,this.urlWithParams=at}serializeBody(){return null===this.body?null:N(this.body)||te(this.body)||ie(this.body)||function re(We){return typeof URLSearchParams<"u"&&We instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof j?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||ie(this.body)?null:te(this.body)?this.body.type||null:N(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof j?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(_e={}){const at=_e.method||this.method,dt=_e.url||this.url,xt=_e.responseType||this.responseType,Lt=void 0!==_e.body?_e.body:this.body,Qt=void 0!==_e.withCredentials?_e.withCredentials:this.withCredentials,Zt=void 0!==_e.reportProgress?_e.reportProgress:this.reportProgress;let gn=_e.headers||this.headers,hn=_e.params||this.params;const Tn=_e.context??this.context;return void 0!==_e.setHeaders&&(gn=Object.keys(_e.setHeaders).reduce((Yn,dn)=>Yn.set(dn,_e.setHeaders[dn]),gn)),_e.setParams&&(hn=Object.keys(_e.setParams).reduce((Yn,dn)=>Yn.set(dn,_e.setParams[dn]),hn)),new Ee(at,dt,Lt,{params:hn,headers:gn,context:Tn,reportProgress:Zt,responseType:xt,withCredentials:Qt})}}
50var Re=function(We){return We[We.Sent=0]="Sent",We[We.UploadProgress=1]="UploadProgress",We[We.ResponseHeader=2]="ResponseHeader",We[We.DownloadProgress=3]="DownloadProgress",We[We.Response=4]="Response",We[We.User=5]="User",We}(Re||{});class Mt{constructor(_e,at=200,dt="OK"){this.headers=_e.headers||new G,this.status=void 0!==_e.status?_e.status:at,this.statusText=_e.statusText||dt,this.url=_e.url||null,this.ok=this.status>=200&&this.status<300}}class wt extends Mt{constructor(_e={}){super(_e),this.type=Re.ResponseHeader}clone(_e={}){return new wt({headers:_e.headers||this.headers,status:void 0!==_e.status?_e.status:this.status,statusText:_e.statusText||this.statusText,url:_e.url||this.url||void 0})}}class At extends Mt{constructor(_e={}){super(_e),this.type=Re.Response,this.body=void 0!==_e.body?_e.body:null}clone(_e={}){return new At({body:void 0!==_e.body?_e.body:this.body,headers:_e.headers||this.headers,status:void 0!==_e.status?_e.status:this.status,statusText:_e.statusText||this.statusText,url:_e.url||this.url||void 0})}}class Et extends Mt{constructor(_e){super(_e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${_e.url||"(unknown url)"}`:`Http failure response for ${_e.url||"(unknown url)"}: ${_e.status} ${_e.statusText}`,this.error=_e.error||null}}function It(We,_e){return{body:_e,headers:We.headers,context:We.context,observe:We.observe,params:We.params,reportProgress:We.reportProgress,responseType:We.responseType,withCredentials:We.withCredentials}}let bt=(()=>{var We;class _e{constructor(dt){this.handler=dt}request(dt,xt,Lt={}){let Qt;if(dt instanceof Ee)Qt=dt;else{let hn,Tn;hn=Lt.headers instanceof G?Lt.headers:new G(Lt.headers),Lt.params&&(Tn=Lt.params instanceof j?Lt.params:new j({fromObject:Lt.params})),Qt=new Ee(dt,xt,void 0!==Lt.body?Lt.body:null,{headers:hn,context:Lt.context,params:Tn,reportProgress:Lt.reportProgress,responseType:Lt.responseType||"json",withCredentials:Lt.withCredentials})}const Zt=(0,d.of)(Qt).pipe((0,O.H)(hn=>this.handler.handle(hn)));if(dt instanceof Ee||"events"===Lt.observe)return Zt;const gn=Zt.pipe((0,V.p)(hn=>hn instanceof At));switch(Lt.observe||"body"){case"body":switch(Qt.responseType){case"arraybuffer":return gn.pipe((0,p.T)(hn=>{if(null!==hn.body&&!(hn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return hn.body}));case"blob":return gn.pipe((0,p.T)(hn=>{if(null!==hn.body&&!(hn.body instanceof Blob))throw new Error("Response is not a Blob.");return hn.body}));case"text":return gn.pipe((0,p.T)(hn=>{if(null!==hn.body&&"string"!=typeof hn.body)throw new Error("Response is not a string.");return hn.body}));default:return gn.pipe((0,p.T)(hn=>hn.body))}case"response":return gn;default:throw new Error(`Unreachable: unhandled observe type ${Lt.observe}}`)}}delete(dt,xt={}){return this.request("DELETE",dt,xt)}get(dt,xt={}){return this.request("GET",dt,xt)}head(dt,xt={}){return this.request("HEAD",dt,xt)}jsonp(dt,xt){return this.request("JSONP",dt,{params:(new j).append(xt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(dt,xt={}){return this.request("OPTIONS",dt,xt)}patch(dt,xt,Lt={}){return this.request("PATCH",dt,It(Lt,xt))}post(dt,xt,Lt={}){return this.request("POST",dt,It(Lt,xt))}put(dt,xt,Lt={}){return this.request("PUT",dt,It(Lt,xt))}}return(We=_e).\u0275fac=function(dt){return new(dt||We)(e.KVO(I))},We.\u0275prov=e.jDH({token:We,factory:We.\u0275fac}),_e})();function _t(We,_e){return _e(We)}const mt=new e.nKC(""),Ot=new e.nKC("");let yt=(()=>{var We;class _e extends I{constructor(dt,xt){super(),this.backend=dt,this.injector=xt,this.chain=null,this.pendingTasks=(0,e.WQX)(e.$K3)}handle(dt){if(null===this.chain){const Lt=Array.from(new Set([...this.injector.get(mt),...this.injector.get(Ot,[])]));this.chain=Lt.reduceRight((Qt,Zt)=>function Ct(We,_e,at){return(dt,xt)=>at.runInContext(()=>_e(dt,Lt=>We(Lt,xt)))}(Qt,Zt,this.injector),_t)}const xt=this.pendingTasks.add();return this.chain(dt,Lt=>this.backend.handle(Lt)).pipe((0,$.j)(()=>this.pendingTasks.remove(xt)))}}return(We=_e).\u0275fac=function(dt){return new(dt||We)(e.KVO(W),e.KVO(e.uvJ))},We.\u0275prov=e.jDH({token:We,factory:We.\u0275fac}),_e})();const Oe=/^\)\]\}',?\n/;let ee=(()=>{var We;class _e{constructor(dt){this.xhrFactory=dt}handle(dt){if("JSONP"===dt.method)throw new e.wOt(-2800,!1);const xt=this.xhrFactory;return(xt.\u0275loadImpl?(0,X.H)(xt.\u0275loadImpl()):(0,d.of)(null)).pipe((0,E.n)(()=>new x.c(Qt=>{const Zt=xt.build();if(Zt.open(dt.method,dt.urlWithParams),dt.withCredentials&&(Zt.withCredentials=!0),dt.headers.forEac
50h((Sn,Mn)=>Zt.setRequestHeader(Sn,Mn.join(","))),dt.headers.has("Accept")||Zt.setRequestHeader("Accept","application/json, text/plain, */*"),!dt.headers.has("Content-Type")){const Sn=dt.detectContentTypeHeader();null!==Sn&&Zt.setRequestHeader("Content-Type",Sn)}if(dt.responseType){const Sn=dt.responseType.toLowerCase();Zt.responseType="json"!==Sn?Sn:"text"}const gn=dt.serializeBody();let hn=null;const Tn=()=>{if(null!==hn)return hn;const Sn=Zt.statusText||"OK",Mn=new G(Zt.getAllResponseHeaders()),_o=function Le(We){return"responseURL"in We&&We.responseURL?We.responseURL:/^X-Request-URL:/m.test(We.getAllResponseHeaders())?We.getResponseHeader("X-Request-URL"):null}(Zt)||dt.url;return hn=new wt({headers:Mn,status:Zt.status,statusText:Sn,url:_o}),hn},Yn=()=>{let{headers:Sn,status:Mn,statusText:_o,url:Lo}=Tn(),Ln=null;204!==Mn&&(Ln=typeof Zt.response>"u"?Zt.responseText:Zt.response),0===Mn&&(Mn=Ln?200:0);let Xn=Mn>=200&&Mn<300;if("json"===dt.responseType&&"string"==typeof Ln){const qn=Ln;Ln=Ln.replace(Oe,"");try{Ln=""!==Ln?JSON.parse(Ln):null}catch(Eo){Ln=qn,Xn&&(Xn=!1,Ln={error:Eo,text:Ln})}}Xn?(Qt.next(new At({body:Ln,headers:Sn,status:Mn,statusText:_o,url:Lo||void 0})),Qt.complete()):Qt.error(new Et({error:Ln,headers:Sn,status:Mn,statusText:_o,url:Lo||void 0}))},dn=Sn=>{const{url:Mn}=Tn(),_o=new Et({error:Sn,status:Zt.status||0,statusText:Zt.statusText||"Unknown Error",url:Mn||void 0});Qt.error(_o)};let uo=!1;const Zn=Sn=>{uo||(Qt.next(Tn()),uo=!0);let Mn={type:Re.DownloadProgress,loaded:Sn.loaded};Sn.lengthComputable&&(Mn.total=Sn.total),"text"===dt.responseType&&Zt.responseText&&(Mn.partialText=Zt.responseText),Qt.next(Mn)},jn=Sn=>{let Mn={type:Re.UploadProgress,loaded:Sn.loaded};Sn.lengthComputable&&(Mn.total=Sn.total),Qt.next(Mn)};return Zt.addEventListener("load",Yn),Zt.addEventListener("error",dn),Zt.addEventListener("timeout",dn),Zt.addEventListener("abort",dn),dt.reportProgress&&(Zt.addEventListener("progress",Zn),null!==gn&&Zt.upload&&Zt.upload.addEventListener("progress",jn)),Zt.send(gn),Qt.next({type:Re.Sent}),()=>{Zt.removeEventListener("error",dn),Zt.removeEventListener("abort",dn),Zt.removeEventListener("load",Yn),Zt.removeEventListener("timeout",dn),dt.reportProgress&&(Zt.removeEventListener("progress",Zn),null!==gn&&Zt.upload&&Zt.upload.removeEventListener("progress",jn)),Zt.readyState!==Zt.DONE&&Zt.abort()}})))}}return(We=_e).\u0275fac=function(dt){return new(dt||We)(e.KVO(s.N0))},We.\u0275prov=e.jDH({token:We,factory:We.\u0275fac}),_e})();const xe=new e.nKC("XSRF_ENABLED"),Ke=new e.nKC("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),gt=new e.nKC("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Bt{}let Je=(()=>{var We;class _e{constructor(dt,xt,Lt){this.doc=dt,this.platform=xt,this.cookieName=Lt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const dt=this.doc.cookie||"";return dt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,s._b)(dt,this.cookieName),this.lastCookieString=dt),this.lastToken}}return(We=_e).\u0275fac=function(dt){return new(dt||We)(e.KVO(s.qQ),e.KVO(e.Agw),e.KVO(Ke))},We.\u0275prov=e.jDH({token:We,factory:We.\u0275fac}),_e})();function on(We,_e){const at=We.url.toLowerCase();if(!(0,e.WQX)(xe)||"GET"===We.method||"HEAD"===We.method||at.startsWith("http://")||at.startsWith("https://"))return _e(We);const dt=(0,e.WQX)(Bt).getToken(),xt=(0,e.WQX)(gt);return null!=dt&&!We.headers.has(xt)&&(We=We.clone({headers:We.headers.set(xt,dt)})),_e(We)}var He=function(We){return We[We.Interceptors=0]="Interceptors",We[We.LegacyInterceptors=1]="LegacyInterceptors",We[We.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",We[We.NoXsrfProtection=3]="NoXsrfProtection",We[We.JsonpSupport=4]="JsonpSupport",We[We.RequestsMadeViaParent=5]="RequestsMadeViaParent",We[We.Fetch=6]="Fetch",We}(He||{});function ke(...We){const _e=[bt,ee,yt,{provide:I,useExisting:yt},{provide:W,useExisting:ee},{provide:mt,useValue:on,multi:!0},{provide:xe,useValue:!0},{provide:Bt,useClass:Je}];for(const at of We)_e.push(...at.\u0275providers);return(0,e.EmA)(_e)}function Se(We){return function Ft(We,_e){return{\u0275kind:We,\u0275providers:_e}}(He.Interceptors,We.map(_e=>({provide:mt,useValue:_e,multi:!0})))}},7019:(ct,ce,a)=>{a.d(ce,{bc$:()=>bv,iLQ:()=>jd,sZ2:()=>Ch,hnV:()=>w1,Hbi:()=>x4,o8S:()=>qs,BIS:()=>Pv,gRc:()=>g4,Ql9:()=>Rb,Ocv:()=>Ib,abz:()=>Pa,Z63:()=>Ca,aKT:()=>ba,uvJ:()=>li,zcH:()=>Gi,bkB:()=>ci,$GK:()=>Oe,nKC:()=>Je,zZn:()=>zr,_q3:()=>Wd,MKu:()=>Xd,xe9:()=>pc,Co$:()=>Mm,Vns:()=>ps,NEm:()=>i4,SKi:()=>Xo,Xx1:()=>cl,Agw:()=>pu,PLl:()=>yh,sFG:()=>Bv,_9s:()=>Sh,czy:()=>_l,WPN:()=>as,kdw:()=>ul,C4Q:()=>Va,NYb:()=>t4,giA:()=>L1,RxE:()=>Dh,c1b:()=>uc,gXe:()=>Tn,mal:()=>$h,Af3:()=>Nl,L39:()=>U4,EWP:()=>es,Ol2:()=>Pm,w6W:()=>EM,oH4:()=>U1,QZP:()=>vg,SmG:()=>h4,Rfq:()=>Z,WQX:()=>_e,QuC:()=>zo,EmA:()=>iu,Udg:()=>V4,fpN:()=>w4,HJs:()=>G4,vPA:()=>v,O8t:()=>Wt,H3F:()=>x1,H8p:()=>lu,$K3:()=>I1,KH2:()=>Ys,wOt:()=>N,WHO:()=>A1,e01:()=>F1,lNU:()=>ae,h9k:()=>lh,$MX:()=>Sl,ZF7:()=>ws,Kcf:()=>K_,e5t:()=>J_,UyX:()=>Y_,cWb:()=>z_,osQ:()=>Q_,H5H:()=>pd,Zy3:()=>te,mq5:()=>Xf,JZv:()=>Vt,LfX:()=>et,plB:()=>xd,jNT:()=>Zu,zjR:()=>Qg,XSP:()=>Ey,TL$:()=>U_,Tbb:()=>z,rcV:()=>Di,Vt3:()=>Uu,GFd:()=>Ig,OA$:()=>Hn,Jv_:()=>ym,aNF:()=>Em,R7$:()=>eg,BMQ:()=>$u,HbH:()=>Cf,ZvI:()=>Ff,AVh:()=>ad,wni:()=>s1,VBU:()=>qt,FsC:()=>po,jDH:()=>yt,G2t:()=>ht,$C:()=>yo,EJ8:()=>ur,rXU:()=>Ls,nrm:()=>Qu,eu8:()=>Ju,bVm:()=>ql,qex:()=>Zl,k0s:()=>Jl,j41:()=>Ql,RV6:()=>Yg,xGo:()=>pp,KVO:()=>tn,kS0:()=>Tc,QTQ:()=>ng,bIt:()=>qu,lsd:()=>a1,joV:()=>Zd,qSk:()=>Jd,XpG:()=>ef,nI1:()=>$m,bMT:()=>Gm,i5U:()=>Hm,brH:()=>Wm,ii3:()=>Xm,SdG:()=>nf,NAR:()=>tf,Y8G:()=>zu,FS9:()=>td,Mz_:()=>ec,FCK:()=>nd,lJ4:()=>km,eq3:()=>Tm,l_i:()=>Rm,sMw:()=>Am,ziG:()=>Fm,s1E:()=>Lm,mGM:()=>r1,sdS:()=>Xg,Njj:()=>za,EBC:()=>Uh,tSv:()=>jh,eBV:()=>Ka,npT:()=>ch,B4B:()=>ou,n$t:()=>dh,Aen:()=>Yr,xc7:()=>sd,Kam:()=>ed,zvX:()=>dd,DNE:()=>Gg,C5r:()=>d1,EFF:()=>Sf,JRh:()=>cd,SpI:()=>oc,Lme:()=>ud,GBs:()=>i1});var e=a(1413),d=a(8359),X=a(1985),x=a(7786),O=a(4412),V=a(7673),p=a(7647),$=a(5558),E=a(3669),s=a(9974),I=a(4360);function G(t,n){return t===n}
51/**
52         * @license Angular v16.2.12
53         * (c) 2010-2022 Google LLC. https://angular.io/
54         * License: MIT
55         */function B(t){for(let n in t)if(t[n]===B)return n;throw Error("Could not find renamed property on target object.")}function J(t,n){for(const o in n)n.hasOwnProperty(o)&&!t.hasOwnProperty(o)&&(t[o]=n[o])}function z(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(z).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const o=n.indexOf("\n");return-1===o?n:n.substring(0,o)}function w(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const U=B({__forward_ref__:B});function Z(t){return t.__forward_ref__=Z,t.toString=function(){return z(this())},t}function H(t){return j(t)?t():t}function j(t){return"function"==typeof t&&t.hasOwnProperty(U)&&t.__forward_ref__===Z}function F(t){return t&&!!t.\u0275providers}const ae="https://g.co/ng/security#xss";
55class N extends Error{constructor(n,o){super(te(n,o)),this.code=n}}function te(t,n){return`NG0${Math.abs(t)}${n?": "+n:""}`}function ie(t){return"string"==typeof t?t:null==t?"":String(t)}function wt(t,n){throw new N(-201,!1)}function Ct(t,n){null==t&&function ze(t,n,o,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${o} ${r} ${n} <=Actual]`))}(n,t,null,"!=")}function yt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ht(t){return{providers:t.providers||[],imports:t.imports||[]}}function me(t){return we(t,Te)||we(t,ye)}function et(t){return null!==me(t)}function we(t,n){return t.hasOwnProperty(n)?t[n]:null}function de(t){return t&&(t.hasOwnProperty(Ie)||t.hasOwnProperty(Ye))?t[Ie]:null}const Te=B({\u0275prov:B}),Ie=B({\u0275inj:B}),ye=B({ngInjectableDef:B}),Ye=B({ngInjectorDef:B});var Oe=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(Oe||{});let Le;function ee(){return Le}function xe(t){const n=Le;return Le=t,n}function Ze(t,n,o){const r=me(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:o&Oe.Optional?null:void 0!==n?n:void wt(z(t))}const Vt=globalThis;class Je{constructor(n,o){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof o?this.__NG_ELEMENT_ID__=o:void 0!==o&&(this.\u0275prov=yt({token:this,providedIn:o.providedIn||"root",factory:o.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Be={},ve="__NG_DI_FLAG__",Ce="ngTempTokenPath",De=/\n/gm,St="__source";let Nt;function zt(t){const n=Nt;return Nt=t,n}function Cn(t,n=Oe.Default){if(void 0===Nt)throw new N(-203,!1);return null===Nt?Ze(t,void 0,n):Nt.get(t,n&Oe.Optional?null:void 0,n)}function tn(t,n=Oe.Default){return(ee()||Cn)(H(t),n)}function _e(t,n=Oe.Default){return tn(t,at(n))}function at(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function dt(t){const n=[];for(let o=0;o<t.length;o++){const r=H(t[o]);if(Array.isArray(r)){if(0===r.length)throw new N(900,!1);let i,l=Oe.Default;for(let u=0;u<r.length;u++){const g=r[u],M=Lt(g);"number"==typeof M?-1===M?i=g.token:l|=M:i=g}n.push(tn(i,l))}else n.push(tn(r))}return n}function xt(t,n){return t[ve]=n,t.prototype[ve]=n,t}function Lt(t){return t[ve]}function gn(t){return{toString:t}.toString()}var hn=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(hn||{}),Tn=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Tn||{});const Yn={},dn=[],uo=B({\u0275cmp:B}),Zn=B({\u0275dir:B}),jn=B({\u0275pipe:B}),Sn=B({\u0275mod:B}),Mn=B({\u0275fac:B}),_o=B({__NG_ELEMENT_ID__:B}),Lo=B({__NG_ENV_ID__:B});function Ln(t,n,o){let r=t.length;for(;;){const i=t.indexOf(n,o);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const l=n.length;if(i+l===r||t.charCodeAt(i+l)<=32)return i}o=i+1}}function Xn(t,n,o){let r=0;for(;r<o.length;){const i=o[r];if("number"==typeof i){if(0!==i)break;r++;const l=o[r++],u=o[r++],g=o[r++];t.setAttribute(n,u,g,l)}else{const l=i,u=o[++r];Eo(l)?t.setProperty(n,l,u):t.setAttribute(n,l,u),r++}}return r}function qn(t){return 3===t||4===t||6===t}function Eo(t){return 64===t.charCodeAt(0)}function Qn(t,n){if(null!==n&&0!==n.length)if(null===t||0===t.length)t=n.slice();else{let o=-1;for(let r=0;r<n.length;r++){const i=n[r];"number"==typeof i?o=i:0===o||Ko(t,o,i,null,-1===o||2===o?n[++r]:null)}}return t}function Ko(t,n,o,r,i){let l=0,u=t.length;if(-1===n)u=-1;else for(;l<t.length;){const g=t[l++];if("number"==typeof g){if(g===n){u=-1;break}if(g>n){u=l-1;break}}}for(;l<t.length;){const g=t[l];if("number"==typeof g)break;if(g===o){if(null===r)return void(null!==i&&(t[l+1]=i));if(r===t[l+1])return void(t[l+2]=i)}l++,null!==r&&l++,null!==i&&l++}-1!==u&&(t.splice(u,0,n),l=u+1),t.splice(l++,0,o),null!==r&&t.splice(l++,0,r),null!==i&&t.splice(l++,0,i)}const No="ng-template";function $o(t,n,o){let r=0,i=!0;for(;r<t.length;){let l=t[r++];if("string"==typeof l&&i){const u=t[r++];if(o&&"class"===l&&-1!==Ln(u.toLowerCase(),n,0))return!0}else{if(1===l){for(;r<t.length&&"string"==typeof(l=t[r++]);)if(l.toLowerCase()===n)return!0;return!1}"number"==typeof l&&(i=!1)}}return!1}function ro(t){return 4===t.type&&t.value!==No}function Ir(t,n,o){return n===(4!==t.type||o?t.value:No)}function Ti(t,n,o){let r=4;const i=t.attrs||[],l=function Zr(t){for(let n=0;n<t.length;n++)if(qn(t[n]))return n;return t.length}(i);let u=!1;for(let g=0;g<n.length;g++){const M=n[g];if("number"!=typeof M){if(!u)if(4&r){if(r=2|1&r,""!==M&&!Ir(t,M,o)||""===M&&1===n.length){if(Oo(r))return!1;u=!0}}
55else{const k=8&r?M:n[++g];if(8&r&&null!==t.attrs){if(!$o(t.attrs,k,o)){if(Oo(r))return!1;u=!0}continue}const Pe=Ur(8&r?"class":M,i,ro(t),o);if(-1===Pe){if(Oo(r))return!1;u=!0;continue}if(""!==k){let Xe;Xe=Pe>l?"":i[Pe+1].toLowerCase();const ot=8&r?Xe:null;if(ot&&-1!==Ln(ot,k,0)||2&r&&k!==Xe){if(Oo(r))return!1;u=!0}}}}else{if(!u&&!Oo(r)&&!Oo(M))return!1;if(u&&Oo(M))continue;u=!1,r=M|1&r}}return Oo(r)||u}function Oo(t){return 0==(1&t)}function Ur(t,n,o,r){if(null===n)return-1;let i=0;if(r||!o){let l=!1;for(;i<n.length;){const u=n[i];if(u===t)return i;if(3===u||6===u)l=!0;else{if(1===u||2===u){let g=n[++i];for(;"string"==typeof g;)g=n[++i];continue}if(4===u)break;if(0===u){i+=4;continue}}i+=l?1:2}return-1}return function Me(t,n){let o=t.indexOf(4);if(o>-1)for(o++;o<t.length;){const r=t[o];if("number"==typeof r)return-1;if(r===n)return o;o++}return-1}(n,t)}function Or(t,n,o=!1){for(let r=0;r<n.length;r++)if(Ti(t,n[r],o))return!0;return!1}function Dt(t,n){e:for(let o=0;o<n.length;o++){const r=n[o];if(t.length===r.length){for(let i=0;i<t.length;i++)if(t[i]!==r[i])continue e;return!0}}return!1}function be(t,n){return t?":not("+n.trim()+")":n}function je(t){let n=t[0],o=1,r=2,i="",l=!1;for(;o<t.length;){let u=t[o];if("string"==typeof u)if(2&r){const g=t[++o];i+="["+u+(g.length>0?'="'+g+'"':"")+"]"}else 8&r?i+="."+u:4&r&&(i+=" "+u);else""!==i&&!Oo(u)&&(n+=be(l,i),i=""),r=u,l=l||!Oo(r);o++}return""!==i&&(n+=be(l,i)),n}function qt(t){return gn(()=>{const n=Go(t),o={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===hn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Tn.Emulated,styles:t.styles||dn,_:null,schemas:t.schemas||null,tView:null,id:""};kr(o);const r=t.dependencies;return o.directiveDefs=qo(r,!1),o.pipeDefs=qo(r,!0),o.id=function vr(t){let n=0;const o=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const i of o)n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(o),o})}function Pn(t){return En(t)||io(t)}function an(t){return null!==t}function yo(t){return gn(()=>({type:t.type,bootstrap:t.bootstrap||dn,declarations:t.declarations||dn,imports:t.imports||dn,exports:t.exports||dn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Un(t,n){if(null==t)return Yn;const o={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],l=i;Array.isArray(i)&&(l=i[1],i=i[0]),o[i]=r,n&&(n[i]=l)}return o}function po(t){return gn(()=>{const n=Go(t);return kr(n),n})}function ur(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function En(t){return t[uo]||null}function io(t){return t[Zn]||null}function Fn(t){return t[jn]||null}function zo(t){const n=En(t)||io(t)||Fn(t);return null!==n&&n.standalone}function so(t,n){const o=t[Sn]||null;if(!o&&!0===n)throw new Error(`Type ${z(t)} does not have '\u0275mod' property.`);return o}function Go(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||Yn,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||dn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Un(t.inputs,n),outputs:Un(t.outputs)}}function kr(t){t.features?.forEach(n=>n(t))}function qo(t,n){if(!t)return null;const o=n?Fn:Pn;return()=>("function"==typeof t?t():t).map(r=>o(r)).filter(an)}const Vn=0,Xt=1,fn=2,An=3,ho=4,er=5,eo=6,Yo=7,Kn=8,Bo=9,Qo=10,ln=11,Tr=12,Rr=13,tr=14,Gn=15,Ar=16,Fr=17,go=18,dr=19,$r=20,nr=21,Jo=22,Cr=23,ko=24,cn=25,Zo=1,Ri=2,Ho=7,or=9,fo=11;function ao(t){return Array.isArray(t)&&"object"==typeof t[Zo]}function Nn(t){return Array.isArray(t)&&!0===t[Zo]}function Lr(t){return 0!=(4&t.flags)}
55function Wo(t){return t.componentOffset>-1}function ir(t){return 1==(1&t.flags)}function Mo(t){return!!t.template}function Gr(t){return 0!=(512&t[fn])}function yr(t,n){return t.hasOwnProperty(Mn)?t[Mn]:null}const To=Symbol("SIGNAL");function _i(t,n){return(null===t||"object"!=typeof t)&&Object.is(t,n)}let oo=null,Wr=!1;function Do(t){const n=oo;return oo=t,n}const Xr={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function ni(t){if(Wr)throw new Error("");if(null===oo)return;const n=oo.nextProducerIndex++;ri(oo),n<oo.producerNode.length&&oo.producerNode[n]!==t&&yi(oo)&&oi(oo.producerNode[n],oo.producerIndexOfThis[n]),oo.producerNode[n]!==t&&(oo.producerNode[n]=t,oo.producerIndexOfThis[n]=yi(oo)?qi(t,oo,n):0),oo.producerLastReadVersion[n]=t.version}function vi(t){if(!yi(t)||t.dirty){if(!t.producerMustRecompute(t)&&!Ni(t))return void(t.dirty=!1);t.producerRecomputeValue(t),t.dirty=!1}}function Qi(t){if(void 0===t.liveConsumerNode)return;const n=Wr;Wr=!0;try{for(const o of t.liveConsumerNode)o.dirty||Ji(o)}finally{Wr=n}}function Li(){return!1!==oo?.consumerAllowSignalWrites}function Ji(t){t.dirty=!0,Qi(t),t.consumerMarkedDirty?.(t)}function Ci(t){return t&&(t.nextProducerIndex=0),Do(t)}function Sr(t,n){if(Do(n),t&&void 0!==t.producerNode&&void 0!==t.producerIndexOfThis&&void 0!==t.producerLastReadVersion){if(yi(t))for(let o=t.nextProducerIndex;o<t.producerNode.length;o++)oi(t.producerNode[o],t.producerIndexOfThis[o]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Ni(t){ri(t);for(let n=0;n<t.producerNode.length;n++){const o=t.producerNode[n],r=t.producerLastReadVersion[n];if(r!==o.version||(vi(o),r!==o.version))return!0}return!1}function Zi(t){if(ri(t),yi(t))for(let n=0;n<t.producerNode.length;n++)oi(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function qi(t,n,o){if(ii(t),ri(t),0===t.liveConsumerNode.length)for(let r=0;r<t.producerNode.length;r++)t.producerIndexOfThis[r]=qi(t.producerNode[r],t,r);return t.liveConsumerIndexOfThis.push(o),t.liveConsumerNode.push(n)-1}function oi(t,n){if(ii(t),ri(t),1===t.liveConsumerNode.length)for(let r=0;r<t.producerNode.length;r++)oi(t.producerNode[r],t.producerIndexOfThis[r]);const o=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[o],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[o],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){const r=t.liveConsumerIndexOfThis[n],i=t.liveConsumerNode[n];ri(i),i.producerIndexOfThis[r]=n}}function yi(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function ri(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function ii(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function es(t,n){const o=Object.create(Y);o.computation=t,n?.equal&&(o.equal=n.equal);const r=()=>{if(vi(o),ni(o),o.value===Pi)throw o.error;return o.value};return r[To]=o,r}const Mi=Symbol("UNSET"),bi=Symbol("COMPUTING"),Pi=Symbol("ERRORED"),Y=(()=>({...Xr,value:Mi,dirty:!0,error:null,equal:_i,producerMustRecompute:t=>t.value===Mi||t.value===bi,producerRecomputeValue(t){if(t.value===bi)throw new Error("Detected cycle in computations.");const n=t.value;t.value=bi;const o=Ci(t);let r;try{r=t.computation()}catch(i){r=Pi,t.error=i}finally{Sr(t,o)}n!==Mi&&n!==Pi&&r!==Pi&&t.equal(n,r)?t.value=n:(t.value=r,t.version++)}}))();let m=function h(){throw new Error};function P(){m()}let c=null;function v(t,n){const o=Object.create(_);function r(){return ni(o),o.value}return o.value=t,n?.equal&&(o.equal=n.equal),r.set=pe,r.update=Ve,r.mutate=ft,r.asReadonly=Gt,r[To]=o,r}const _=(()=>({...Xr,equal:_i,readonlyFn:void 0}))();function L(t){t.version++,Qi(t),c?.()}function pe(t){const n=this[To];Li()||P(),n.equal(n.value,t)||(n.value=t,L(n))}function Ve(t){Li()||P(),pe.call(this,t(this[To].value))}function ft(t){const n=this[To];Li()||P(),t(n.value),L(n)}function Gt(){const t=this[To];if(void 0===t.readonlyFn){const n=()=>this();n[To]=t,t.readonlyFn=n}return t.readonlyFn}function Wt(t){const n=Do(null);try{return t()}finally{Do(n)}}const nn=()=>{},Dn=(()=>({...Xr,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule(t.ref)},hasRun:!1,cleanupFn:nn}))();class kn{constructor(n,o,r){this.previousValue=n,this.currentValue=o,this.firstChange=r}isFirstChange(){return this.firstChange}}function Hn(){return wo}function wo(t){return t.type.prototype.ngOnChanges&&(t.setInput=Wn),lo}function lo(){const t=Po(this),n=t?.current;if(n){const o=t.previous;
55if(o===Yn)t.previous=n;else for(let r in n)o[r]=n[r];t.current=null,this.ngOnChanges(n)}}function Wn(t,n,o,r){const i=this.declaredInputs[o],l=Po(t)||function Ro(t,n){return t[bo]=n}(t,{previous:Yn,current:null}),u=l.current||(l.current={}),g=l.previous,M=g[i];u[i]=new kn(M&&M.currentValue,n,g===Yn),t[r]=n}Hn.ngInherit=!0;const bo="__ngSimpleChanges__";function Po(t){return t[bo]||null}const Ao=function(t,n,o){},ji="svg";function Ht(t){for(;Array.isArray(t);)t=t[Vn];return t}function un(t,n){return Ht(n[t])}function vn(t,n){return Ht(n[t.index])}function pr(t,n){return t.data[n]}function mo(t,n){return t[n]}function co(t,n){const o=n[t];return ao(o)?o:o[Vn]}function no(t,n){return null==n?null:t[n]}function Kr(t){t[Fr]=0}function hr(t){1024&t[fn]||(t[fn]|=1024,Oi(t,1))}function Ei(t){1024&t[fn]&&(t[fn]&=-1025,Oi(t,-1))}function Oi(t,n){let o=t[An];if(null===o)return;o[er]+=n;let r=o;for(o=o[An];null!==o&&(1===n&&1===r[er]||-1===n&&0===r[er]);)o[er]+=n,r=o,o=o[An]}function oa(t,n){if(256==(256&t[fn]))throw new N(911,!1);null===t[nr]&&(t[nr]=[]),t[nr].push(n)}const _n={lFrame:gs(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function yc(){return _n.bindingsEnabled}function ns(){return null!==_n.skipHydrationRootTNode}function Tt(){return _n.lFrame.lView}function Bn(){return _n.lFrame.tView}function Ka(t){return _n.lFrame.contextLView=t,t[Kn]}function za(t){return _n.lFrame.contextLView=null,t}function jo(){let t=Ya();for(;null!==t&&64===t.type;)t=t.parent;return t}function Ya(){return _n.lFrame.currentTNode}function Nr(t,n){const o=_n.lFrame;o.currentTNode=t,o.isParent=n}function Qa(){return _n.lFrame.isParent}function Ja(){_n.lFrame.isParent=!1}function sr(){const t=_n.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function b(){return _n.lFrame.bindingIndex++}function C(t){const n=_n.lFrame,o=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,o}function he(t,n){const o=_n.lFrame;o.bindingIndex=o.bindingRootIndex=t,$t(n)}function $t(t){_n.lFrame.currentDirectiveIndex=t}function vt(t){const n=_n.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function pn(){return _n.lFrame.currentQueryIndex}function In(t){_n.lFrame.currentQueryIndex=t}function Fo(t){const n=t[Xt];return 2===n.type?n.declTNode:1===n.type?t[eo]:null}function $n(t,n,o){if(o&Oe.SkipSelf){let i=n,l=t;for(;!(i=i.parent,null!==i||o&Oe.Host||(i=Fo(l),null===i||(l=l[tr],10&i.type))););if(null===i)return!1;n=i,t=l}const r=_n.lFrame=Vi();return r.currentTNode=n,r.lView=t,!0}function gr(t){const n=Vi(),o=t[Xt];_n.lFrame=n,n.currentTNode=o.firstChild,n.lView=t,n.tView=o,n.contextLView=t,n.bindingIndex=o.bindingStartIndex,n.inI18n=!1}function Vi(){const t=_n.lFrame,n=null===t?null:t.child;return null===n?gs(t):n}function gs(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function Si(){const t=_n.lFrame;return _n.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Za=Si;function ia(){const t=Si();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function fr(){return _n.lFrame.selectedIndex}function os(t){_n.lFrame.selectedIndex=t}function Co(){const t=_n.lFrame;return pr(t.tView,t.selectedIndex)}function Jd(){_n.lFrame.currentNamespace=ji}function Zd(){!function C0(){_n.lFrame.currentNamespace=null}()}let ep=!0;function qa(){return ep}function $i(t){ep=t}function el(t,n){for(let o=n.directiveStart,r=n.directiveEnd;o<r;o++){const l=t.data[o].type.prototype,{ngAfterContentInit:u,ngAfterContentChecked:g,ngAfterViewInit:M,ngAfterViewChecked:k,ngOnDestroy:Q}=l;u&&(t.contentHooks??=[]).push(-o,u),g&&((t.contentHooks??=[]).push(o,g),(t.contentCheckHooks??=[]).push(o,g)),M&&(t.viewHooks??=[]).push(-o,M),k&&((t.viewHooks??=[]).push(o,k),(t.viewCheckHooks??=[]).push(o,k)),null!=Q&&(t.destroyHooks??=[]).push(o,Q)}}function tl(t,n,o){tp(t,n,3,o)}function nl(t,n,o,r){(3&t[fn])===o&&tp(t,n,o,r)}function Oc(t,n){let o=t[fn];(3&o)===n&&(o&=8191,o+=1,t[fn]=o)}function tp(t,n,o,r){const l=r??-1,u=n.length-1;let g=0;for(let M=void 0!==r?65535&t[Fr]:0;M<u;M++)if("number"==typeof n[M+1]){if(g=n[M],null!=r&&g>=r)break}else n[M]<0&&(t[Fr]+=65536),(g<l||-1==l)&&(M0(t,o,n,M),t[Fr]=(4294901760&t[Fr])+M+2),M++}function np(t,n){Ao(4,t,n);const o=Do(null);try{n.call(t)}finally{Do(o),Ao(5,t,n)}}
55function M0(t,n,o,r){const i=o[r]<0,l=o[r+1],g=t[i?-o[r]:o[r]];i?t[fn]>>13<t[Fr]>>16&&(3&t[fn])===n&&(t[fn]+=8192,np(g,l)):np(g,l)}const fs=-1;class sa{constructor(n,o,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=o,this.injectImpl=r}}function Dc(t){return t!==fs}function aa(t){return 32767&t}function la(t,n){let o=function O0(t){return t>>16}(t),r=n;for(;o>0;)r=r[tr],o--;return r}let wc=!0;function ol(t){const n=wc;return wc=t,n}const op=255,rp=5;let S0=0;const ai={};function rl(t,n){const o=ip(t,n);if(-1!==o)return o;const r=n[Xt];r.firstCreatePass&&(t.injectorIndex=n.length,xc(r.data,t),xc(n,null),xc(r.blueprint,null));const i=il(t,n),l=t.injectorIndex;if(Dc(i)){const u=aa(i),g=la(i,n),M=g[Xt].data;for(let k=0;k<8;k++)n[l+k]=g[u+k]|M[u+k]}return n[l+8]=i,l}function xc(t,n){t.push(0,0,0,0,0,0,0,0,n)}function ip(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function il(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let o=0,r=null,i=n;for(;null!==i;){if(r=hp(i),null===r)return fs;if(o++,i=i[tr],-1!==r.injectorIndex)return r.injectorIndex|o<<16}return fs}function Ic(t,n,o){!function D0(t,n,o){let r;"string"==typeof o?r=o.charCodeAt(0)||0:o.hasOwnProperty(_o)&&(r=o[_o]),null==r&&(r=o[_o]=S0++);const i=r&op;n.data[t+(i>>rp)]|=1<<i}(t,n,o)}function sp(t,n,o){if(o&Oe.Optional||void 0!==t)return t;wt()}function ap(t,n,o,r){if(o&Oe.Optional&&void 0===r&&(r=null),!(o&(Oe.Self|Oe.Host))){const i=t[Bo],l=xe(void 0);try{return i?i.get(n,r,o&Oe.Optional):Ze(n,r,o&Oe.Optional)}finally{xe(l)}}return sp(r,0,o)}function lp(t,n,o,r=Oe.Default,i){if(null!==t){if(2048&n[fn]&&!(r&Oe.Self)){const u=function R0(t,n,o,r,i){let l=t,u=n;for(;null!==l&&null!==u&&2048&u[fn]&&!(512&u[fn]);){const g=cp(l,u,o,r|Oe.Self,ai);if(g!==ai)return g;let M=l.parent;if(!M){const k=u[$r];if(k){const Q=k.get(o,ai,r);if(Q!==ai)return Q}M=hp(u),u=u[tr]}l=M}return i}(t,n,o,r,ai);if(u!==ai)return u}const l=cp(t,n,o,r,ai);if(l!==ai)return l}return ap(n,o,r,i)}function cp(t,n,o,r,i){const l=function I0(t){if("string"==typeof t)return t.charCodeAt(0)||0;const n=t.hasOwnProperty(_o)?t[_o]:void 0;return"number"==typeof n?n>=0?n&op:T0:n}(o);if("function"==typeof l){if(!$n(n,t,r))return r&Oe.Host?sp(i,0,r):ap(n,o,r,i);try{let u;if(u=l(r),null!=u||r&Oe.Optional)return u;wt()}finally{Za()}}else if("number"==typeof l){let u=null,g=ip(t,n),M=fs,k=r&Oe.Host?n[Gn][eo]:null;for((-1===g||r&Oe.SkipSelf)&&(M=-1===g?il(t,n):n[g+8],M!==fs&&dp(r,!1)?(u=n[Xt],g=aa(M),n=la(M,n)):g=-1);-1!==g;){const Q=n[Xt];if(up(l,g,Q.data)){const Pe=x0(g,n,o,u,r,k);if(Pe!==ai)return Pe}M=n[g+8],M!==fs&&dp(r,n[Xt].data[g+8]===k)&&up(l,g,n)?(u=Q,g=aa(M),n=la(M,n)):g=-1}}return i}function x0(t,n,o,r,i,l){const u=n[Xt],g=u.data[t+8],Q=sl(g,u,o,null==r?Wo(g)&&wc:r!=u&&0!=(3&g.type),i&Oe.Host&&l===g);return null!==Q?rs(n,u,Q,g):ai}function sl(t,n,o,r,i){const l=t.providerIndexes,u=n.data,g=1048575&l,M=t.directiveStart,Q=l>>20,Xe=i?g+Q:t.directiveEnd;for(let ot=r?g:g+Q;ot<Xe;ot++){const Pt=u[ot];if(ot<M&&o===Pt||ot>=M&&Pt.type===o)return ot}if(i){const ot=u[M];if(ot&&Mo(ot)&&ot.type===o)return M}return null}function rs(t,n,o,r){let i=t[o];const l=n.data;if(function b0(t){return t instanceof sa}(i)){const u=i;u.resolving&&function Ee(t,n){const o=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new N(-200,`Circular dependency in DI detected for ${t}${o}`)}(function re(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():ie(t)}(l[o]));const g=ol(u.canSeeViewProviders);u.resolving=!0;const k=u.injectImpl?xe(u.injectImpl):null;$n(t,r,Oe.Default);try{i=t[o]=u.factory(void 0,l,t,r),n.firstCreatePass&&o>=r.directiveStart&&function y0(t,n,o){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:l}=n.type.prototype;if(r){const u=wo(n);(o.preOrderHooks??=[]).push(t,u),(o.preOrderCheckHooks??=[]).push(t,u)}i&&(o.preOrderHooks??=[]).push(0-t,i),l&&((o.preOrderHooks??=[]).push(t,l),(o.preOrderCheckHooks??=[]).push(t,l))}(o,l[o],n)}finally{null!==k&&xe(k),ol(g),u.resolving=!1,Za()}}return i}function up(t,n,o){return!!(o[n+(t>>rp)]&1<<t)}function dp(t,n){return!(t&Oe.Self||t&Oe.Host&&n)}class mr{constructor(n,o){this._tNode=n,this._lView=o}get(n,o,r){return lp(this._tNode,this._lView,n,at(r),o)}}function T0(){return new mr(jo(),Tt())}function pp(t){return gn(()=>{const n=t.prototype.constructor,o=n[Mn]||kc(n),r=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){const l=i[Mn]||kc(i);if(l&&l!==o)return l;i=Object.getPrototypeOf(i)}return l=>new l})}function kc(t){return j(t)?()=>{const n=kc(H(t));return n&&n()}:yr(t)}function hp(t){const n=t[Xt],o=n.type;return 2===o?n.declTNode:1===o?t[eo]:null}function Tc(t){return function w0(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const o=t.attrs;if(o){const r=o.length;let i=0;for(;i<r;){const l=o[i];if(qn(l))break;if(0===l)i+=2;else if("number"==typeof l)for(i++;i<r&&"string"==typeof o[i];)i++;else{if(l===n)return o[i+1];i+=2}}}return null}(jo(),t)}const _s="__parameters__";function Cs(t,n,o){return gn(()=>{const r=function Rc(t){return function(...o){if(t){const r=t(...o);for(const i in r)this[i]=r[i]}}}(n);function i(...l){if(this instanceof i)return r.apply(this,l),this;const u=new i(...l);return g.annotation=u,g;function g(M,k,Q){const Pe=M.hasOwnProperty(_s)?M[_s]:Object.defineProperty(M,_s,{value:[]})[_s];for(;Pe.length<=Q;)Pe.push(null);return(Pe[Q]=Pe[Q]||[]).push(u),M}}return o&&(i.prototype=Object.create(o.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}function Ms(t,n){t.forEach(o=>Array.isArray(o)?Ms(o,n):n(o))}function fp(t,n,o){n>=t.length?t.push(o):t.splice(n,0,o)}function al(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function da(t,n){const o=[];for(let r=0;r<t;r++)o.push(n);return o}function wr(t,n,o){let r=bs(t,n);return r>=0?t[1|r]=o:(r=~r,function U0(t,n,o,r){let i=t.length;if(i==n)t.push(o,r);else if(1===i)t.push(r,t[0]),t[0]=o;
55else{for(i--,t.push(t[i-1],t[i]);i>n;)t[i]=t[i-2],i--;t[n]=o,t[n+1]=r}}(t,r,n,o)),r}function Ac(t,n){const o=bs(t,n);if(o>=0)return t[1|o]}function bs(t,n){return function mp(t,n,o){let r=0,i=t.length>>o;for(;i!==r;){const l=r+(i-r>>1),u=t[l<<o];if(n===u)return l<<o;u>n?i=l:r=l+1}return~(i<<o)}(t,n,1)}const cl=xt(Cs("Optional"),8),ul=xt(Cs("SkipSelf"),4);function fl(t){return 128==(128&t.flags)}var _l=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(_l||{});const a_=/^>|^->|<!--|-->|--!>|<!-$/g,l_=/(<|>)/g,c_="\u200b$1\u200b";const jc=new Map;let u_=0;const Vc="__ngContext__";function ar(t,n){ao(n)?(t[Vc]=n[dr],function p_(t){jc.set(t[dr],t)}(n)):t[Vc]=n}let $c;function Gc(t,n){return $c(t,n)}function ga(t){const n=t[An];return Nn(n)?n[An]:n}function Lp(t){return Bp(t[Tr])}function Np(t){return Bp(t[ho])}function Bp(t){for(;null!==t&&!Nn(t);)t=t[ho];return t}function Os(t,n,o,r,i){if(null!=r){let l,u=!1;Nn(r)?l=r:ao(r)&&(u=!0,r=r[Vn]);const g=Ht(r);0===t&&null!==o?null==i?$p(n,o,g):is(n,o,g,i||null,!0):1===t&&null!==o?is(n,o,g,i||null,!0):2===t?function Pl(t,n,o){const r=Ml(t,n);r&&function k_(t,n,o,r){t.removeChild(n,o,r)}(t,r,n,o)}(n,g,u):3===t&&n.destroyNode(g),null!=l&&function A_(t,n,o,r,i){const l=o[Ho];l!==Ht(o)&&Os(n,t,r,l,i);for(let g=fo;g<o.length;g++){const M=o[g];ma(M[Xt],M,t,n,r,l)}}(n,t,l,o,i)}}function Hc(t,n){return t.createComment(function wp(t){return t.replace(a_,n=>n.replace(l_,c_))}(n))}function Cl(t,n,o){return t.createElement(n,o)}function Up(t,n){const o=t[or],r=o.indexOf(n);Ei(n),o.splice(r,1)}function yl(t,n){if(t.length<=fo)return;const o=fo+n,r=t[o];if(r){const i=r[Ar];null!==i&&i!==t&&Up(i,r),n>0&&(t[o-1][ho]=r[ho]);const l=al(t,fo+n);!function P_(t,n){ma(t,n,n[ln],2,null,null),n[Vn]=null,n[eo]=null}(r[Xt],r);const u=l[go];null!==u&&u.detachView(l[Xt]),r[An]=null,r[ho]=null,r[fn]&=-129}return r}function Wc(t,n){if(!(256&n[fn])){const o=n[ln];n[Cr]&&Zi(n[Cr]),n[ko]&&Zi(n[ko]),o.destroyNode&&ma(t,n,o,3,null,null),function S_(t){let n=t[Tr];if(!n)return Xc(t[Xt],t);for(;n;){let o=null;if(ao(n))o=n[Tr];else{const r=n[fo];r&&(o=r)}if(!o){for(;n&&!n[ho]&&n!==t;)ao(n)&&Xc(n[Xt],n),n=n[An];null===n&&(n=t),ao(n)&&Xc(n[Xt],n),o=n&&n[ho]}n=o}}(n)}}function Xc(t,n){if(!(256&n[fn])){n[fn]&=-129,n[fn]|=256,function I_(t,n){let o;if(null!=t&&null!=(o=t.destroyHooks))for(let r=0;r<o.length;r+=2){const i=n[o[r]];if(!(i instanceof sa)){const l=o[r+1];if(Array.isArray(l))for(let u=0;u<l.length;u+=2){const g=i[l[u]],M=l[u+1];Ao(4,g,M);try{M.call(g)}finally{Ao(5,g,M)}}else{Ao(4,i,l);try{l.call(i)}finally{Ao(5,i,l)}}}}}(t,n),function x_(t,n){const o=t.cleanup,r=n[Yo];if(null!==o)for(let l=0;l<o.length-1;l+=2)if("string"==typeof o[l]){const u=o[l+3];u>=0?r[u]():r[-u].unsubscribe(),l+=2}else o[l].call(r[o[l+1]]);null!==r&&(n[Yo]=null);const i=n[nr];if(null!==i){n[nr]=null;for(let l=0;l<i.length;l++)(0,i[l])()}}(t,n),1===n[Xt].type&&n[ln].destroy();const o=n[Ar];if(null!==o&&Nn(n[An])){o!==n[An]&&Up(o,n);const r=n[go];null!==r&&r.detachView(t)}!function h_(t){jc.delete(t[dr])}(n)}}function Kc(t,n,o){return function Vp(t,n,o){let r=n;for(;null!==r&&40&r.type;)r=(n=r).parent;if(null===r)return o[Vn];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:l}=t.data[r.directiveStart+i];if(l===Tn.None||l===Tn.Emulated)return null}return vn(r,o)}}(t,n.parent,o)}function is(t,n,o,r,i){t.insertBefore(n,o,r,i)}function $p(t,n,o){t.appendChild(n,o)}function Gp(t,n,o,r,i){null!==r?is(t,n,o,r,i):$p(t,n,o)}function Ml(t,n){return t.parentNode(n)}function Hp(t,n,o){return Xp(t,n,o)}let zc,El,Zc,Ol,Xp=function Wp(t,n,o){return 40&t.type?vn(t,o):null};function bl(t,n,o,r){const i=Kc(t,r,n),l=n[ln],g=Hp(r.parent||n[eo],r,n);if(null!=i)if(Array.isArray(o))for(let M=0;M<o.length;M++)Gp(l,i,o[M],g,!1);else Gp(l,i,o,g,!1);void 0!==zc&&zc(l,r,n,o,i)}function fa(t,n){if(null!==n){const o=n.type;if(3&o)return vn(n,t);if(4&o)return Yc(-1,t[n.index]);if(8&o){const r=n.child;if(null!==r)return fa(t,r);{const i=t[n.index];return Nn(i)?Yc(-1,i):Ht(i)}}if(32&o)return Gc(n,t)()||Ht(t[n.index]);{const r=zp(t,n);return null!==r?Array.isArray(r)?r[0]:fa(ga(t[Gn]),r):fa(t,n.next)}}return null}function zp(t,n){return null!==n?t[Gn][eo].projection[n.projection]:null}function Yc(t,n){const o=fo+t+1;if(o<n.length){const r=n[o],i=r[Xt].firstChild;if(null!==i)return fa(r,i)}return n[Ho]}function Qc(t,n,o,r,i,l,u){for(;null!=o;){const g=r[o.index],M=o.type;if(u&&0===n&&(g&&ar(Ht(g),r),o.flags|=2),32!=(32&o.flags))if(8&M)Qc(t,n,o.child,r,i,l,!1),Os(n,t,i,g,l);else if(32&M){const k=Gc(o,r);let Q;for(;Q=k();)Os(n,t,i,Q,l);Os(n,t,i,g,l)}
55else 16&M?Qp(t,n,r,o,i,l):Os(n,t,i,g,l);o=u?o.projectionNext:o.next}}function ma(t,n,o,r,i,l){Qc(o,r,t.firstChild,n,i,l,!1)}function Qp(t,n,o,r,i,l){const u=o[Gn],M=u[eo].projection[r.projection];if(Array.isArray(M))for(let k=0;k<M.length;k++)Os(n,t,i,M[k],l);else{let k=M;const Q=u[An];fl(r)&&(k.flags|=128),Qc(t,n,k,Q,i,l,!0)}}function Jp(t,n,o){""===o?t.removeAttribute(n,"class"):t.setAttribute(n,"class",o)}function Zp(t,n,o){const{mergedAttrs:r,classes:i,styles:l}=o;null!==r&&Xn(t,n,r),null!==i&&Jp(t,n,i),null!==l&&function L_(t,n,o){t.setAttribute(n,"style",o)}(t,n,l)}function Ss(t){return function Jc(){if(void 0===El&&(El=null,Vt.trustedTypes))try{El=Vt.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return El}()?.createHTML(t)||t}function U_(t){Zc=t}function Ds(){if(void 0!==Zc)return Zc;if(typeof document<"u")return document;throw new N(210,!1)}function qc(){if(void 0===Ol&&(Ol=null,Vt.trustedTypes))try{Ol=Vt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ol}function qp(t){return qc()?.createHTML(t)||t}function th(t){return qc()?.createScriptURL(t)||t}class ss{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ae})`}}class V_ extends ss{getTypeName(){return"HTML"}}class $_ extends ss{getTypeName(){return"Style"}}class G_ extends ss{getTypeName(){return"Script"}}class H_ extends ss{getTypeName(){return"URL"}}class W_ extends ss{getTypeName(){return"ResourceURL"}}function Di(t){return t instanceof ss?t.changingThisBreaksApplicationSecurity:t}function ws(t,n){const o=function X_(t){return t instanceof ss&&t.getTypeName()||null}(t);if(null!=o&&o!==n){if("ResourceURL"===o&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${o} (see ${ae})`)}return o===n}function K_(t){return new V_(t)}function z_(t){return new $_(t)}function Y_(t){return new G_(t)}function Q_(t){return new H_(t)}function J_(t){return new W_(t)}class Z_{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const o=(new window.DOMParser).parseFromString(Ss(n),"text/html").body;return null===o?this.inertDocumentHelper.getInertBodyElement(n):(o.removeChild(o.firstChild),o)}catch{return null}}}class q_{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const o=this.inertDocument.createElement("template");return o.innerHTML=Ss(n),o}}const tv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Sl(t){return(t=String(t)).match(tv)?t:"unsafe:"+t}function wi(t){const n={};for(const o of t.split(","))n[o]=!0;return n}function _a(...t){const n={};for(const o of t)for(const r in o)o.hasOwnProperty(r)&&(n[r]=!0);return n}const oh=wi("area,br,col,hr,img,wbr"),rh=wi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ih=wi("rp,rt"),eu=_a(oh,_a(rh,wi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),_a(ih,wi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),_a(ih,rh)),tu=wi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),sh=_a(tu,wi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),wi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),nv=wi("script,style,template");class ov{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let o=n.firstChild,r=!0;for(;o;)if(o.nodeType===Node.ELEMENT_NODE?r=this.startElement(o):o.nodeType===Node.TEXT_NODE?this.chars(o.nodeValue):this.sanitizedSomething=!0,r&&o.firstChild)o=o.firstChild;else for(;o;){o.nodeType===Node.ELEMENT_NODE&&this.endElement(o);let i=this.checkClobberedElement(o,o.nextSibling);if(i){o=i;break}o=this.checkClobberedElement(o,o.parentNode)}return this.buf.join("")}startElement(n){const o=n.nodeName.toLowerCase();if(!eu.hasOwnProperty(o))return this.sanitizedSomething=!0,!nv.hasOwnProperty(o);this.buf.push("<"),this.buf.push(o);const r=n.attributes;for(let i=0;i<r.length;i++){const l=r.item(i),u=l.name,g=u.toLowerCase();if(!sh.hasOwnProperty(g)){this.sanitizedSomething=!0;continue}let M=l.value;tu[g]&&(M=Sl(M)),this.buf.push(" ",u,'="',ah(M),'"')}return this.buf.push(">"),!0}endElement(n){const o=n.nodeName.toLowerCase();eu.hasOwnProperty(o)&&!oh.hasOwnProperty(o)&&(this.buf.push("</"),this.buf.push(o),this.buf.push(">"))}chars(n){this.buf.push(ah(n))}checkClobberedElement(n,o){if(o&&(n.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return o}}const rv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,iv=/([^\#-~ |!])/g;function ah(t){return t.replace(/&/g,"&amp;").replace(rv,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(iv,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Dl;function lh(t,n){let o=null;try{Dl=Dl||function nh(t){const n=new q_(t);return function ev(){try{return!!(new window.DOMParser).parseFromString(Ss(""),"text/html")}catch{return!1}}()?new Z_(n):n}(t);let r=n?String(n):"";o=Dl.getInertBodyElement(r);let i=5,l=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=l,l=o.innerHTML,o=Dl.getInertBodyElement(r)}while(r!==l);return Ss((new ov).sanitizeChildren(nu(o)||o))}finally{if(o){const r=nu(o)||o;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function nu(t){return"content"in t&&function sv(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var as=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(as||{});function ch(t){const n=va();return n?qp(n.sanitize(as.HTML,t)||""):ws(t,"HTML")?qp(Di(t)):lh(Ds(),ie(t))}function ou(t){const n=va();return n?n.sanitize(as.URL,t)||"":ws(t,"URL")?Di(t):Sl(ie(t))}function uh(t){const n=va();if(n)return th(n.sanitize(as.RESOURCE_URL,t)||"");if(ws(t,"ResourceURL"))return th(Di(t));throw new N(904,!1)}function dh(t,n,o){return function dv(t,n){return"src"===n&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===n&&("base"===t||"link"===t)?uh:ou}(n,o)(t)}function va(){const t=Tt();return t&&t[Qo].sanitizer}const Ca=new Je("ENVIRONMENT_INITIALIZER"),ph=new Je("INJECTOR",-1),hh=new Je("INJECTOR_DEF_TYPES");class ru{get(n,o=Be){if(o===Be){const r=new Error(`NullInjectorError: No provider for ${z(n)}!`);throw r.name="NullInjectorError",r}return o}}function iu(t){return{\u0275providers:t}}function pv(...t){return{\u0275providers:gh(0,t),\u0275fromNgModule:!0}}function gh(t,...n){const o=[],r=new Set;let i;const l=u=>{o.push(u)};return Ms(n,u=>{const g=u;wl(g,l,[],r)&&(i||=[],i.push(g))}),void 0!==i&&fh(i,l),o}function fh(t,n){for(let o=0;o<t.length;o++){const{ngModule:r,providers:i}
55=t[o];su(i,l=>{n(l,r)})}}function wl(t,n,o,r){if(!(t=H(t)))return!1;let i=null,l=de(t);const u=!l&&En(t);if(l||u){if(u&&!u.standalone)return!1;i=t}else{const M=t.ngModule;if(l=de(M),!l)return!1;i=M}const g=r.has(i);if(u){if(g)return!1;if(r.add(i),u.dependencies){const M="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const k of M)wl(k,n,o,r)}}else{if(!l)return!1;{if(null!=l.imports&&!g){let k;r.add(i);try{Ms(l.imports,Q=>{wl(Q,n,o,r)&&(k||=[],k.push(Q))})}finally{}void 0!==k&&fh(k,n)}if(!g){const k=yr(i)||(()=>new i);n({provide:i,useFactory:k,deps:dn},i),n({provide:hh,useValue:i,multi:!0},i),n({provide:Ca,useValue:()=>tn(i),multi:!0},i)}const M=l.providers;if(null!=M&&!g){const k=t;su(M,Q=>{n(Q,k)})}}}return i!==t&&void 0!==t.providers}function su(t,n){for(let o of t)F(o)&&(o=o.\u0275providers),Array.isArray(o)?su(o,n):n(o)}const hv=B({provide:String,useValue:B});function au(t){return null!==t&&"object"==typeof t&&hv in t}function ls(t){return"function"==typeof t}const lu=new Je("Set Injector scope."),xl={},fv={};let cu;function Il(){return void 0===cu&&(cu=new ru),cu}class li{}class xs extends li{get destroyed(){return this._destroyed}constructor(n,o,r,i){super(),this.parent=o,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,du(n,u=>this.processProvider(u)),this.records.set(ph,Is(void 0,this)),i.has("environment")&&this.records.set(li,Is(void 0,this));const l=this.records.get(lu);null!=l&&"string"==typeof l.value&&this.scopes.add(l.value),this.injectorDefTypes=new Set(this.get(hh.multi,dn,Oe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const o of this._ngOnDestroyHooks)o.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const o of n)o()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const o=zt(this),r=xe(void 0);try{return n()}finally{zt(o),xe(r)}}get(n,o=Be,r=Oe.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Lo))return n[Lo](this);r=at(r);const l=zt(this),u=xe(void 0);try{if(!(r&Oe.SkipSelf)){let M=this.records.get(n);if(void 0===M){const k=function yv(t){return"function"==typeof t||"object"==typeof t&&t instanceof Je}(n)&&me(n);M=k&&this.injectableDefInScope(k)?Is(uu(n),xl):null,this.records.set(n,M)}if(null!=M)return this.hydrate(n,M)}return(r&Oe.Self?Il():this.parent).get(n,o=r&Oe.Optional&&o===Be?null:o)}catch(g){if("NullInjectorError"===g.name){if((g[Ce]=g[Ce]||[]).unshift(z(n)),l)throw g;return function Qt(t,n,o,r){const i=t[Ce];throw n[St]&&i.unshift(n[St]),t.message=function Zt(t,n,o,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let i=z(n);if(Array.isArray(n))i=n.map(z).join(" -> ");else if("object"==typeof n){let l=[];for(let u in n)if(n.hasOwnProperty(u)){let g=n[u];l.push(u+":"+("string"==typeof g?JSON.stringify(g):z(g)))}i=`{${l.join(", ")}}`}return`${o}${r?"("+r+")":""}[${i}]: ${t.replace(De,"\n  ")}`}("\n"+t.message,i,o,r),t.ngTokenPath=i,t[Ce]=null,t}(g,n,"R3InjectorError",this.source)}throw g}finally{xe(u),zt(l)}}resolveInjectorInitializers(){const n=zt(this),o=xe(void 0);try{const i=this.get(Ca.multi,dn,Oe.Self);for(const l of i)l()}finally{zt(n),xe(o)}}toString(){const n=[],o=this.records;for(const r of o.keys())n.push(z(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new N(205,!1)}processProvider(n){let o=ls(n=H(n))?n:H(n&&n.provide);const r=function _v(t){return au(t)?Is(void 0,t.useValue):Is(vh(t),xl)}(n);if(ls(n)||!0!==n.multi)this.records.get(o);else{let i=this.records.get(o);i||(i=Is(void 0,xl,!0),i.factory=()=>dt(i.multi),this.records.set(o,i)),o=n,i.multi.push(n)}this.records.set(o,r)}hydrate(n,o){return o.value===xl&&(o.value=fv,o.value=o.factory()),"object"==typeof o.value&&o.value&&function Cv(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(o.value)&&this._ngOnDestroyHooks.add(o.value),o.value}injectableDefInScope(n){if(!n.providedIn)return!1;const o=H(n.providedIn);return"string"==typeof o?"any"===o||this.scopes.has(o):this.injectorDefTypes.has(o)}removeOnDestroy(n){const o=this._onDestroyHooks.indexOf(n);-1!==o&&this._onDestroyHooks.splice(o,1)}}function uu(t){const n=me(t),o=null!==n?n.factory:yr(t);if(null!==o)return o;if(t instanceof Je)throw new N(204,!1);if(t instanceof Function)return function mv(t){const n=t.length;if(n>0)throw da(n,"?"),new N(204,!1);const o=function Ae(t){return t&&(t[Te]||t[ye])||null}(t);return null!==o?()=>o.factory(t):()=>new t}(t);throw new N(204,!1)}function vh(t,n,o){let r;if(ls(t)){const i=H(t);return yr(i)||uu(i)}if(au(t))r=()=>H(t.useValue);else if(function _h(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...dt(t.deps||[]));else if(function mh(t){return!(!t||!t.useExisting)}(t))r=()=>tn(H(t.useExisting));else{const i=H(t&&(t.useClass||t.provide));if(!function vv(t){return!!t.deps}(t))return yr(i)||uu(i);r=()=>new i(...dt(t.deps))}return r}function Is(t,n,o=!1){return{factory:t,value:n,multi:o?[]:void 0}}function du(t,n){for(const o of t)Array.isArray(o)?du(o,n):o&&F(o)?du(o.\u0275providers,n):n(o)}const Ch=new Je("AppId",{providedIn:"root",factory:()=>Mv}),Mv="ng",yh=new Je("Platform Initializer"),pu=new Je("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),bv=new Je("AnimationModuleType"),Pv=new Je("CSP nonce",{providedIn:"root",factory:()=>Ds().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Mh=(t,n,o)=>null;function yu(t,n,o=!1){return Mh(t,n,o)}class Rv{}class Eh{}class Fv{resolveComponentFactory(n){throw function Av(t){const n=Error(`No component factory found for ${z(t)}.`);return n.ngComponent=t,n}(n)}}let Ll=(()=>{class n{}return n.NULL=new Fv,n})();function Lv(){return Rs(jo(),Tt())}function Rs(t,n){return new ba(vn(t,n))}let ba=(()=>{class n{constructor(r){this.nativeElement=r}}return n.__NG_ELEMENT_ID__=Lv,n})();function Nv(t){return t instanceof ba?t.nativeElement:t}class Sh{}let Bv=(()=>{class n{constructor(){this.destroyNode=null}}return n.__NG_ELEMENT_ID__=()=>function jv(){const t=Tt(),o=co(jo().index,t);return(ao(o)?o:t)[ln]}(),n})(),Uv=(()=>{var t;class n{}return(t=n).\u0275prov=yt({token:t,providedIn:"root",factory:()=>null}),n})();class Dh{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const Vv=new Dh("16.2.12"),Pu={};function Nl(t){if(!ee()&&!function Yt(){return Nt}())throw new N(-203,!1)}
55function kh(t,n=null,o=null,r){const i=Th(t,n,o,r);return i.resolveInjectorInitializers(),i}function Th(t,n=null,o=null,r,i=new Set){const l=[o||dn,pv(t)];return r=r||("object"==typeof t?void 0:z(t)),new xs(l,n||Il(),r||null,i)}let zr=(()=>{var t;class n{static create(r,i){if(Array.isArray(r))return kh({name:""},i,r,"");{const l=r.name??"";return kh({name:l},r.parent,r.providers,l)}}}return(t=n).THROW_IF_NOT_FOUND=Be,t.NULL=new ru,t.\u0275prov=yt({token:t,providedIn:"any",factory:()=>tn(ph)}),t.__NG_ELEMENT_ID__=-1,n})();function Eu(t){return t.ngOriginalError}class Gi{constructor(){this._console=console}handleError(n){const o=this._findOriginalError(n);this._console.error("ERROR",n),o&&this._console.error("ORIGINAL ERROR",o)}_findOriginalError(n){let o=n&&Eu(n);for(;o&&Eu(o);)o=Eu(o);return o||null}}let Pa=(()=>{var t;class n{}return(t=n).__NG_ELEMENT_ID__=zv,t.__NG_ENV_ID__=o=>o,n})();class Kv extends Pa{constructor(n){super(),this._lView=n}onDestroy(n){return oa(this._lView,n),()=>function ra(t,n){if(null===t[nr])return;const o=t[nr].indexOf(n);-1!==o&&t[nr].splice(o,1)}(this._lView,n)}}function zv(){return new Kv(Tt())}function Ou(t){return n=>{setTimeout(t,void 0,n)}}const ci=class Yv extends e.B{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,o,r){let i=n,l=o||(()=>null),u=r;if(n&&"object"==typeof n){const M=n;i=M.next?.bind(M),l=M.error?.bind(M),u=M.complete?.bind(M)}this.__isAsync&&(l=Ou(l),i&&(i=Ou(i)),u&&(u=Ou(u)));const g=super.subscribe({next:i,error:l,complete:u});return n instanceof d.yU&&n.add(g),g}};function Ah(...t){}class Xo{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:o=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ci(!1),this.onMicrotaskEmpty=new ci(!1),this.onStable=new ci(!1),this.onError=new ci(!1),typeof Zone>"u")throw new N(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&o,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function Qv(){const t="function"==typeof Vt.requestAnimationFrame;let n=Vt[t?"requestAnimationFrame":"setTimeout"],o=Vt[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&o){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const i=o[Zone.__symbol__("OriginalDelegate")];i&&(o=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:o}}().nativeRequestAnimationFrame,function qv(t){const n=()=>{!function Zv(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Vt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Du(t),t.isCheckStableRunning=!0,Su(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Du(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(o,r,i,l,u,g)=>{if(function tC(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(g))return o.invokeTask(i,l,u,g);try{return Fh(t),o.invokeTask(i,l,u,g)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===l.type||t.shouldCoalesceRunChangeDetection)&&n(),Lh(t)}},onInvoke:(o,r,i,l,u,g,M)=>{try{return Fh(t),o.invoke(i,l,u,g,M)}finally{t.shouldCoalesceRunChangeDetection&&n(),Lh(t)}},onHasTask:(o,r,i,l)=>{o.hasTask(i,l),r===i&&("microTask"==l.change?(t._hasPendingMicrotasks=l.microTask,Du(t),Su(t)):"macroTask"==l.change&&(t.hasPendingMacrotasks=l.macroTask))},onHandleError:(o,r,i,l)=>(o.handleError(i,l),t.runOutsideAngular(()=>t.onError.emit(l)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Xo.isInAngularZone())throw new N(909,!1)}static assertNotInAngularZone(){if(Xo.isInAngularZone())throw new N(909,!1)}run(n,o,r){return this._inner.run(n,o,r)}runTask(n,o,r,i){const l=this._inner,u=l.scheduleEventTask("NgZoneEvent: "+i,n,Jv,Ah,Ah);try{return l.runTask(u,o,r)}finally{l.cancelTask(u)}}runGuarded(n,o,r){return this._inner.runGuarded(n,o,r)}runOutsideAngular(n){return this._outer.run(n)}}const Jv={};function Su(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Du(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Fh(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Lh(t){t._nesting--,Su(t)}class eC{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ci,this.onMicrotaskEmpty=new ci,this.onStable=new ci,this.onError=ne
55w ci}run(n,o,r){return n.apply(o,r)}runGuarded(n,o,r){return n.apply(o,r)}runOutsideAngular(n){return n()}runTask(n,o,r,i){return n.apply(o,r)}}const Nh=new Je("",{providedIn:"root",factory:Bh});function Bh(){const t=_e(Xo);let n=!0;const o=new X.c(i=>{n=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{i.next(n),i.complete()})}),r=new X.c(i=>{let l;t.runOutsideAngular(()=>{l=t.onStable.subscribe(()=>{Xo.assertNotInAngularZone(),queueMicrotask(()=>{!n&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(n=!0,i.next(!0))})})});const u=t.onUnstable.subscribe(()=>{Xo.assertInAngularZone(),n&&(n=!1,t.runOutsideAngular(()=>{i.next(!1)}))});return()=>{l.unsubscribe(),u.unsubscribe()}});return(0,x.h)(o,r.pipe((0,p.u)()))}function jh(t){return t.ownerDocument.defaultView}function Uh(t){return t.ownerDocument}function xi(t){return t instanceof Function?t():t}function $h(t,n){!n&&Nl();const o=n?.injector??_e(zr);if(!function Fs(t){return"browser"===(t??_e(zr)).get(pu)}(o))return{destroy(){}};let r;const i=o.get(Pa).onDestroy(()=>r?.()),l=o.get(wu),u=l.handler??=new Hh,g=o.get(Xo),M=o.get(Gi,null,{optional:!0}),k=new Gh(g,M,()=>{r?.(),t()});return r=()=>{u.unregister(k),i()},u.register(k),{destroy:r}}class Gh{constructor(n,o,r){this.zone=n,this.errorHandler=o,this.callbackFn=r}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){this.errorHandler?.handleError(n)}}}class Hh{constructor(){this.executingCallbacks=!1,this.callbacks=new Set,this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new N(102,!1)}register(n){(this.executingCallbacks?this.deferredCallbacks:this.callbacks).add(n)}unregister(n){this.callbacks.delete(n),this.deferredCallbacks.delete(n)}execute(){this.executingCallbacks=!0;for(const n of this.callbacks)n.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.callbacks.add(n);this.deferredCallbacks.clear()}destroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}let wu=(()=>{var t;class n{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(t=n).\u0275prov=yt({token:t,providedIn:"root",factory:()=>new t}),n})();function Ea(t){for(;t;){t[fn]|=64;const n=ga(t);if(Gr(t)&&!n)return t;t=n}return null}const Xh=new Je("",{providedIn:"root",factory:()=>!1});let jl=null;function Qh(t,n){return t[n]??qh()}function Jh(t,n){const o=qh();o.producerNode?.length&&(t[n]=jl,o.lView=t,jl=Zh())}const lC={...Xr,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Ea(t.lView)},lView:null};function Zh(){return Object.create(lC)}function qh(){return jl??=Zh(),jl}const wn={};function eg(t){tg(Bn(),Tt(),fr()+t,!1)}function tg(t,n,o,r){if(!r)if(3==(3&n[fn])){const l=t.preOrderCheckHooks;null!==l&&tl(n,l,o)}else{const l=t.preOrderHooks;null!==l&&nl(n,l,0,o)}os(o)}function Ls(t,n=Oe.Default){const o=Tt();return null===o?tn(t,n):lp(jo(),o,H(t),n)}function ng(){throw new Error("invalid")}function Ul(t,n,o,r,i,l,u,g,M,k,Q){const Pe=n.blueprint.slice();return Pe[Vn]=i,Pe[fn]=140|r,(null!==k||t&&2048&t[fn])&&(Pe[fn]|=2048),Kr(Pe),Pe[An]=Pe[tr]=t,Pe[Kn]=o,Pe[Qo]=u||t&&t[Qo],Pe[ln]=g||t&&t[ln],Pe[Bo]=M||t&&t[Bo]||null,Pe[eo]=l,Pe[dr]=function d_(){return u_++}(),Pe[Jo]=Q,Pe[$r]=k,Pe[Gn]=2==n.type?t[Gn]:Pe,Pe}function Ns(t,n,o,r,i){let l=t.data[n];if(null===l)l=function xu(t,n,o,r,i){const l=Ya(),u=Qa(),M=t.data[n]=function mC(t,n,o,r,i,l){let u=n?n.injectorIndex:-1,g=0;return ns()&&(g|=128),{type:o,index:r,insertBeforeIndex:null,injectorIndex:u,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:g,providerIndexes:0,value:i,attrs:l,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,u?l:l&&l.parent,o,n,r,i);return null===t.firstChild&&(t.firstChild=M),null!==l&&(u?null==l.child&&null!==M.parent&&(l.child=M):null===l.next&&(l.next=M,M.prev=l)),M}(t,n,o,r,i),function D(){return _n.lFrame.inI18n}()&&(l.flags|=32);else if(64&l.type){l.type=o,l.value=r,l.attrs=i;const u=function Ui(){const t=_n.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}();l.injectorIndex=null===u?-1:u.injectorIndex}return Nr(l,!0),l}function Oa(t,n,o,r){if(0===o)return-1;const i=n.length;for(let l=0;l<o;l++)n.push(r),t.blueprint.push(r),t.data.push(null);return i}function og(t,n,o,r,i){const l=Qh(n,Cr),u=fr(),g=2&r;try{os(-1),g&&n.length>cn&&tg(t,n,cn,!1),Ao(g?2:0,i);const k=g?l:null,Q=Ci(k);try{null!==k&&(k.dirty=!1),o(r,i)}finally{Sr(k,Q)}}finally{g&&null===n[Cr]&&Jh(n,Cr),os(u),Ao(g?3:1,i)}}function Iu(t,n,o){if(Lr(n)){const r=Do(null);try{const l=n.directiveEnd;for(let u=n.directiveStart;u<l;u++){const g=t.data[u];g.contentQueries&&g.contentQueries(1,o[u],u)}}finally{Do(r)}}}function ku(t,n,o){yc()&&(function PC(t,n,o,r){const i=o.directiveStart,l=o.directiveEnd;Wo(o)&&function IC(t,n,o){const r=vn(n,t),i=rg(o);let u=16;o.signals?u=4096:o.onPush&&(u=64);const g=Vl(t,Ul(t,i,null,u,r,n,null,t[Qo].rendererFactory.createRenderer(r,o),null,null,null));t[n.index]=g}
55(n,o,t.data[i+o.componentOffset]),t.firstCreatePass||rl(o,n),ar(r,n);const u=o.initialInputs;for(let g=i;g<l;g++){const M=t.data[g],k=rs(n,t,g,o);ar(k,n),null!==u&&kC(0,g-i,k,M,0,u),Mo(M)&&(co(o.index,n)[Kn]=rs(n,t,g,o))}}(t,n,o,vn(o,n)),64==(64&o.flags)&&cg(t,n,o))}function Tu(t,n,o=vn){const r=n.localNames;if(null!==r){let i=n.index+1;for(let l=0;l<r.length;l+=2){const u=r[l+1],g=-1===u?o(n,t):t[u];t[i++]=g}}}function rg(t){const n=t.tView;return null===n||n.incompleteFirstPass?t.tView=Ru(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function Ru(t,n,o,r,i,l,u,g,M,k,Q){const Pe=cn+r,Xe=Pe+i,ot=function uC(t,n){const o=[];for(let r=0;r<n;r++)o.push(r<t?null:wn);return o}(Pe,Xe),Pt="function"==typeof k?k():k;return ot[Xt]={type:t,blueprint:ot,template:o,queries:null,viewQuery:g,declTNode:n,data:ot.slice().fill(null,Pe),bindingStartIndex:Pe,expandoStartIndex:Xe,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof l?l():l,pipeRegistry:"function"==typeof u?u():u,firstChild:null,schemas:M,consts:Pt,incompleteFirstPass:!1,ssrId:Q}}let ig=t=>null;function sg(t,n,o,r){for(let i in t)if(t.hasOwnProperty(i)){o=null===o?{}:o;const l=t[i];null===r?ag(o,n,i,l):r.hasOwnProperty(i)&&ag(o,n,r[i],l)}return o}function ag(t,n,o,r){t.hasOwnProperty(o)?t[o].push(n,r):t[o]=[n,r]}function xr(t,n,o,r,i,l,u,g){const M=vn(n,o);let Q,k=n.inputs;!g&&null!=k&&(Q=k[r])?(Bu(t,o,Q,r,i),Wo(n)&&function CC(t,n){const o=co(n,t);16&o[fn]||(o[fn]|=64)}(o,n.index)):3&n.type&&(r=function vC(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(r),i=null!=u?u(i,n.value||"",r):i,l.setProperty(M,r,i))}function Au(t,n,o,r){if(yc()){const i=null===r?null:{"":-1},l=function OC(t,n){const o=t.directiveRegistry;let r=null,i=null;if(o)for(let l=0;l<o.length;l++){const u=o[l];if(Or(n,u.selectors,!1))if(r||(r=[]),Mo(u))if(null!==u.findHostDirectiveDefs){const g=[];i=i||new Map,u.findHostDirectiveDefs(u,g,i),r.unshift(...g,u),Fu(t,n,g.length)}else r.unshift(u),Fu(t,n,0);else i=i||new Map,u.findHostDirectiveDefs?.(u,r,i),r.push(u)}return null===r?null:[r,i]}(t,o);let u,g;null===l?u=g=null:[u,g]=l,null!==u&&lg(t,n,o,u,i,g),i&&function SC(t,n,o){if(n){const r=t.localNames=[];for(let i=0;i<n.length;i+=2){const l=o[n[i+1]];if(null==l)throw new N(-301,!1);r.push(n[i],l)}}}(o,r,i)}o.mergedAttrs=Qn(o.mergedAttrs,o.attrs)}function lg(t,n,o,r,i,l){for(let k=0;k<r.length;k++)Ic(rl(o,n),t,r[k].type);!function wC(t,n,o){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+o,t.providerIndexes=n}(o,t.data.length,r.length);for(let k=0;k<r.length;k++){const Q=r[k];Q.providersResolver&&Q.providersResolver(Q)}let u=!1,g=!1,M=Oa(t,n,r.length,null);for(let k=0;k<r.length;k++){const Q=r[k];o.mergedAttrs=Qn(o.mergedAttrs,Q.hostAttrs),xC(t,o,n,M,Q),DC(M,Q,i),null!==Q.contentQueries&&(o.flags|=4),(null!==Q.hostBindings||null!==Q.hostAttrs||0!==Q.hostVars)&&(o.flags|=64);const Pe=Q.type.prototype;!u&&(Pe.ngOnChanges||Pe.ngOnInit||Pe.ngDoCheck)&&((t.preOrderHooks??=[]).push(o.index),u=!0),!g&&(Pe.ngOnChanges||Pe.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(o.index),g=!0),M++}!function _C(t,n,o){const i=n.directiveEnd,l=t.data,u=n.attrs,g=[];let M=null,k=null;for(let Q=n.directiveStart;Q<i;Q++){const Pe=l[Q],Xe=o?o.get(Pe):null,Pt=Xe?Xe.outputs:null;M=sg(Pe.inputs,Q,M,Xe?Xe.inputs:null),k=sg(Pe.outputs,Q,k,Pt);const Ut=null===M||null===u||ro(n)?null:TC(M,Q,u);g.push(Ut)}null!==M&&(M.hasOwnProperty("class")&&(n.flags|=8),M.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=g,n.inputs=M,n.outputs=k}(t,o,l)}function cg(t,n,o){const r=o.directiveStart,i=o.directiveEnd,l=o.index,u=function it(){return _n.lFrame.currentDirectiveIndex}();try{os(l);for(let g=r;g<i;g++){const M=t.data[g],k=n[g];$t(g),(null!==M.hostBindings||0!==M.hostVars||null!==M.hostAttrs)&&EC(M,k)}}finally{os(-1),$t(u)}}function EC(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}
55function Fu(t,n,o){n.componentOffset=o,(t.components??=[]).push(n.index)}function DC(t,n,o){if(o){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)o[n.exportAs[r]]=t;Mo(n)&&(o[""]=t)}}function xC(t,n,o,r,i){t.data[r]=i;const l=i.factory||(i.factory=yr(i.type)),u=new sa(l,Mo(i),Ls);t.blueprint[r]=u,o[r]=u,function MC(t,n,o,r,i){const l=i.hostBindings;if(l){let u=t.hostBindingOpCodes;null===u&&(u=t.hostBindingOpCodes=[]);const g=~n.index;(function bC(t){let n=t.length;for(;n>0;){const o=t[--n];if("number"==typeof o&&o<0)return o}return 0})(u)!=g&&u.push(g),u.push(o,r,l)}}(t,n,r,Oa(t,o,i.hostVars,wn),i)}function ui(t,n,o,r,i,l){const u=vn(t,n);!function Lu(t,n,o,r,i,l,u){if(null==l)t.removeAttribute(n,i,o);else{const g=null==u?ie(l):u(l,r||"",i);t.setAttribute(n,i,g,o)}}(n[ln],u,l,t.value,o,r,i)}function kC(t,n,o,r,i,l){const u=l[n];if(null!==u)for(let g=0;g<u.length;)ug(r,o,u[g++],u[g++],u[g++])}function ug(t,n,o,r,i){const l=Do(null);try{const u=t.inputTransforms;null!==u&&u.hasOwnProperty(r)&&(i=u[r].call(n,i)),null!==t.setInput?t.setInput(n,i,o,r):n[r]=i}finally{Do(l)}}function TC(t,n,o){let r=null,i=0;for(;i<o.length;){const l=o[i];if(0!==l)if(5!==l){if("number"==typeof l)break;if(t.hasOwnProperty(l)){null===r&&(r=[]);const u=t[l];for(let g=0;g<u.length;g+=2)if(u[g]===n){r.push(l,u[g+1],o[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function dg(t,n,o,r){return[t,!0,!1,n,null,0,r,o,null,null,null]}function pg(t,n){const o=t.contentQueries;if(null!==o)for(let r=0;r<o.length;r+=2){const l=o[r+1];if(-1!==l){const u=t.data[l];In(o[r]),u.contentQueries(2,n[l],l)}}}function Vl(t,n){return t[Tr]?t[Rr][ho]=n:t[Tr]=n,t[Rr]=n,n}function Nu(t,n,o){In(0);const r=Do(null);try{n(t,o)}finally{Do(r)}}function hg(t){return t[Yo]||(t[Yo]=[])}function gg(t){return t.cleanup||(t.cleanup=[])}function fg(t,n,o){return(null===t||Mo(t))&&(o=function rn(t){for(;Array.isArray(t);){if("object"==typeof t[Zo])return t;t=t[Vn]}return null}(o[n.index])),o[ln]}function mg(t,n){const o=t[Bo],r=o?o.get(Gi,null):null;r&&r.handleError(n)}function Bu(t,n,o,r,i){for(let l=0;l<o.length;){const u=o[l++],g=o[l++];ug(t.data[u],n[u],r,g,i)}}function Ii(t,n,o){const r=un(n,t);!function jp(t,n,o){t.setValue(n,o)}(t[ln],r,o)}function RC(t,n){const o=co(n,t),r=o[Xt];!function AC(t,n){for(let o=n.length;o<t.blueprint.length;o++)n.push(t.blueprint[o])}(r,o);const i=o[Vn];null!==i&&null===o[Jo]&&(o[Jo]=yu(i,o[Bo])),ju(r,o,o[Kn])}function ju(t,n,o){gr(n);try{const r=t.viewQuery;null!==r&&Nu(1,r,o);const i=t.template;null!==i&&og(t,n,i,1,o),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&pg(t,n),t.staticViewQueries&&Nu(2,t.viewQuery,o);const l=t.components;null!==l&&function FC(t,n){for(let o=0;o<n.length;o++)RC(t,n[o])}(n,l)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{n[fn]&=-5,ia()}}let _g=(()=>{var t;class n{constructor(){this.all=new Set,this.queue=new Map}create(r,i,l){const u=typeof Zone>"u"?null:Zone.current,g=function Kt(t,n,o){const r=Object.create(Dn);o&&(r.consumerAllowSignalWrites=!0),r.fn=t,r.schedule=n;const i=u=>{r.cleanupFn=u};return r.ref={notify:()=>Ji(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Ni(r))return;r.hasRun=!0;const u=Ci(r);try{r.cleanupFn(),r.cleanupFn=nn,r.fn(i)}finally{Sr(r,u)}},cleanup:()=>r.cleanupFn()},r.ref}(r,Q=>{this.all.has(Q)&&this.queue.set(Q,u)},l);let M;this.all.add(g),g.notify();const k=()=>{g.cleanup(),M?.(),this.all.delete(g),this.queue.delete(g)};return M=i?.onDestroy(k),{destroy:k}}flush(){if(0!==this.queue.size)for(const[r,i]of this.queue)this.queue.delete(r),i?i.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(t=n).\u0275prov=yt({token:t,providedIn:"root",factory:()=>new t}),n})();function vg(t,n){!n?.injector&&Nl();const o=n?.injector??_e(zr),r=o.get(_g),i=!0!==n?.manualCleanup?o.get(Pa):null;return r.create(t,i,!!n?.allowSignalWrites)}function $l(t,n,o){let r=o?t.styles:null,i=o?t.classes:null,l=0;if(null!==n)for(let u=0;u<n.length;u++){const g=n[u];"number"==typeof g?l=g:1==l?i=w(i,g):2==l&&(r=w(r,g+": "+n[++u]+";"))}o?t.styles=r:t.stylesWithoutHost=r,o?t.classes=i:t.classesWithoutHost=i}function Sa(t,n,o,r,i=!1){for(;null!==o;){const l=n[o.index];null!==l&&r.push(Ht(l)),Nn(l)&&Cg(l,r);const u=o.type;
55if(8&u)Sa(t,n,o.child,r);else if(32&u){const g=Gc(o,n);let M;for(;M=g();)r.push(M)}else if(16&u){const g=zp(n,o);if(Array.isArray(g))r.push(...g);else{const M=ga(n[Gn]);Sa(M[Xt],M,g,r,!0)}}o=i?o.projectionNext:o.next}return r}function Cg(t,n){for(let o=fo;o<t.length;o++){const r=t[o],i=r[Xt].firstChild;null!==i&&Sa(r[Xt],r,i,n)}t[Ho]!==t[Vn]&&n.push(t[Ho])}function Gl(t,n,o,r=!0){const i=n[Qo],l=i.rendererFactory,u=i.afterRenderEventManager;l.begin?.(),u?.begin();try{yg(t,n,t.template,o)}catch(M){throw r&&mg(n,M),M}finally{l.end?.(),i.effectManager?.flush(),u?.end()}}function yg(t,n,o,r){const i=n[fn];if(256!=(256&i)){n[Qo].effectManager?.flush(),gr(n);try{Kr(n),function y(t){return _n.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==o&&og(t,n,o,2,r);const u=3==(3&i);if(u){const k=t.preOrderCheckHooks;null!==k&&tl(n,k,null)}else{const k=t.preOrderHooks;null!==k&&nl(n,k,0,null),Oc(n,0)}if(function NC(t){for(let n=Lp(t);null!==n;n=Np(n)){if(!n[Ri])continue;const o=n[or];for(let r=0;r<o.length;r++){hr(o[r])}}}(n),Mg(n,2),null!==t.contentQueries&&pg(t,n),u){const k=t.contentCheckHooks;null!==k&&tl(n,k)}else{const k=t.contentHooks;null!==k&&nl(n,k,1),Oc(n,1)}!function cC(t,n){const o=t.hostBindingOpCodes;if(null===o)return;const r=Qh(n,ko);try{for(let i=0;i<o.length;i++){const l=o[i];if(l<0)os(~l);else{const u=l,g=o[++i],M=o[++i];he(g,u),r.dirty=!1;const k=Ci(r);try{M(2,n[u])}finally{Sr(r,k)}}}}finally{null===n[ko]&&Jh(n,ko),os(-1)}}(t,n);const g=t.components;null!==g&&Pg(n,g,0);const M=t.viewQuery;if(null!==M&&Nu(2,M,r),u){const k=t.viewCheckHooks;null!==k&&tl(n,k)}else{const k=t.viewHooks;null!==k&&nl(n,k,2),Oc(n,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),n[fn]&=-73,Ei(n)}finally{ia()}}}function Mg(t,n){for(let o=Lp(t);null!==o;o=Np(o))for(let r=fo;r<o.length;r++)bg(o[r],n)}function BC(t,n,o){bg(co(n,t),o)}function bg(t,n){if(!function ts(t){return 128==(128&t[fn])}(t))return;const o=t[Xt],r=t[fn];if(80&r&&0===n||1024&r||2===n)yg(o,t,o.template,t[Kn]);else if(t[er]>0){Mg(t,1);const i=o.components;null!==i&&Pg(t,i,1)}}function Pg(t,n,o){for(let r=0;r<n.length;r++)BC(t,n[r],o)}class Da{get rootNodes(){const n=this._lView,o=n[Xt];return Sa(o,n,o.firstChild,[])}constructor(n,o){this._lView=n,this._cdRefInjectingView=o,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Kn]}set context(n){this._lView[Kn]=n}get destroyed(){return 256==(256&this._lView[fn])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[An];if(Nn(n)){const o=n[8],r=o?o.indexOf(this):-1;r>-1&&(yl(n,r),al(o,r))}this._attachedToViewContainer=!1}Wc(this._lView[Xt],this._lView)}onDestroy(n){oa(this._lView,n)}markForCheck(){Ea(this._cdRefInjectingView||this._lView)}detach(){this._lView[fn]&=-129}reattach(){this._lView[fn]|=128}detectChanges(){Gl(this._lView[Xt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new N(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function O_(t,n){ma(t,n,n[ln],2,null,null)}(this._lView[Xt],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new N(902,!1);this._appRef=n}}class jC extends Da{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;Gl(n[Xt],n,n[Kn],!1)}checkNoChanges(){}get context(){return null}}class Eg extends Ll{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const o=En(n);return new wa(o,this.ngModule)}}function Og(t){const n=[];for(let o in t)t.hasOwnProperty(o)&&n.push({propName:t[o],templateName:o});return n}class VC{constructor(n,o){this.injector=n,this.parentInjector=o}get(n,o,r){r=at(r);const i=this.injector.get(n,Pu,r);return i!==Pu||o===Pu?i:this.parentInjector.get(n,o,r)}}class wa extends Eh{get inputs(){const n=this.componentDef,o=n.inputTransforms,r=Og(n.inputs);if(null!==o)for(const i of r)o.hasOwnProperty(i.propName)&&(i.transform=o[i.propName]);return r}get outputs(){return Og(this.componentDef.outputs)}constructor(n,o){super(),this.componentDef=n,this.ngModule=o,this.componentType=n.type,this.selector=function qe(t){return t.map(je).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!o}create(n,o,r,i){let l=(i=i||this.ngModule)instanceof li?i:i?.injector;l&&null!==this.componentDef.getStandaloneInjector&&(l=this.componentDef.getStandaloneInjector(l)||l);const u=l?new VC(n,l):n,g=u.get(Sh,null);if(null===g)throw new N(407,!1);const Pe={rendererFactory:g,sanitizer:u.get(Uv,null),effectManager:u.get(_g,null),afterRenderEventManager:u.get(wu,null)},Xe=g.createRenderer(null,this.componentDef),ot=this.componentDef.selectors[0][0]||"div",Pt=r?function dC(t,n,o,r){const l=r.get(Xh,!1)||o===Tn.ShadowDom,u=t.selectRootElement(n,l);return function pC(t){ig(t)}(u),u}(Xe,r,this.componentDef.encapsulation,u):Cl(Xe,ot,function UC(t){const n=t.toLowerCase();
55return"svg"===n?ji:"math"===n?"math":null}(ot)),sn=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Rt=null;null!==Pt&&(Rt=yu(Pt,u,!0));const bn=Ru(0,null,null,1,0,null,null,null,null,null,null),Rn=Ul(null,bn,null,sn,null,null,Pe,Xe,u,null,Rt);let Jn,Er;gr(Rn);try{const ki=this.componentDef;let ea,zd=null;ki.findHostDirectiveDefs?(ea=[],zd=new Map,ki.findHostDirectiveDefs(ki,ea,zd),ea.push(ki)):ea=[ki];const H4=function GC(t,n){const o=t[Xt],r=cn;return t[r]=n,Ns(o,r,2,"#host",null)}(Rn,Pt),W4=function HC(t,n,o,r,i,l,u){const g=i[Xt];!function WC(t,n,o,r){for(const i of t)n.mergedAttrs=Qn(n.mergedAttrs,i.hostAttrs);null!==n.mergedAttrs&&($l(n,n.mergedAttrs,!0),null!==o&&Zp(r,o,n))}(r,t,n,u);let M=null;null!==n&&(M=yu(n,i[Bo]));const k=l.rendererFactory.createRenderer(n,o);let Q=16;o.signals?Q=4096:o.onPush&&(Q=64);const Pe=Ul(i,rg(o),null,Q,i[t.index],t,l,k,null,null,M);return g.firstCreatePass&&Fu(g,t,r.length-1),Vl(i,Pe),i[t.index]=Pe}(H4,Pt,ki,ea,Rn,Pe,Xe);Er=pr(bn,cn),Pt&&function KC(t,n,o,r){if(r)Xn(t,o,["ng-version",Vv.full]);else{const{attrs:i,classes:l}=function kt(t){const n=[],o=[];let r=1,i=2;for(;r<t.length;){let l=t[r];if("string"==typeof l)2===i?""!==l&&n.push(l,t[++r]):8===i&&o.push(l);else{if(!Oo(i))break;i=l}r++}return{attrs:n,classes:o}}(n.selectors[0]);i&&Xn(t,o,i),l&&l.length>0&&Jp(t,o,l.join(" "))}}(Xe,ki,Pt,r),void 0!==o&&function zC(t,n,o){const r=t.projection=[];for(let i=0;i<n.length;i++){const l=o[i];r.push(null!=l?Array.from(l):null)}}(Er,this.ngContentSelectors,o),Jn=function XC(t,n,o,r,i,l){const u=jo(),g=i[Xt],M=vn(u,i);lg(g,i,u,o,null,r);for(let Q=0;Q<o.length;Q++)ar(rs(i,g,u.directiveStart+Q,u),i);cg(g,i,u),M&&ar(M,i);const k=rs(i,g,u.directiveStart+u.componentOffset,u);if(t[Kn]=i[Kn]=k,null!==l)for(const Q of l)Q(k,n);return Iu(g,u,t),k}(W4,ki,ea,zd,Rn,[YC]),ju(bn,Rn,null)}finally{ia()}return new $C(this.componentType,Jn,Rs(Er,Rn),Rn,Er)}}class $C extends Rv{constructor(n,o,r,i,l){super(),this.location=r,this._rootLView=i,this._tNode=l,this.previousInputValues=null,this.instance=o,this.hostView=this.changeDetectorRef=new jC(i),this.componentType=n}setInput(n,o){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),o))return;const l=this._rootLView;Bu(l[Xt],l,i,n,o),this.previousInputValues.set(n,o),Ea(co(this._tNode.index,l))}}get injector(){return new mr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function YC(){const t=jo();el(Tt()[Xt],t)}function Uu(t){let n=function Sg(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),o=!0;const r=[t];for(;n;){let i;if(Mo(t))i=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new N(903,!1);i=n.\u0275dir}if(i){if(o){r.push(i);const u=t;u.inputs=Hl(t.inputs),u.inputTransforms=Hl(t.inputTransforms),u.declaredInputs=Hl(t.declaredInputs),u.outputs=Hl(t.outputs);const g=i.hostBindings;g&&qC(t,g);const M=i.viewQuery,k=i.contentQueries;if(M&&JC(t,M),k&&ZC(t,k),J(t.inputs,i.inputs),J(t.declaredInputs,i.declaredInputs),J(t.outputs,i.outputs),null!==i.inputTransforms&&(null===u.inputTransforms&&(u.inputTransforms={}),J(u.inputTransforms,i.inputTransforms)),Mo(i)&&i.data.animation){const Q=t.data;Q.animation=(Q.animation||[]).concat(i.data.animation)}}const l=i.features;if(l)for(let u=0;u<l.length;u++){const g=l[u];g&&g.ngInherit&&g(t),g===Uu&&(o=!1)}}n=Object.getPrototypeOf(n)}!function QC(t){let n=0,o=null;for(let r=t.length-1;r>=0;r--){const i=t[r];i.hostVars=n+=i.hostVars,i.hostAttrs=Qn(i.hostAttrs,o=Qn(o,i.hostAttrs))}}(r)}function Hl(t){return t===Yn?{}:t===dn?[]:t}function JC(t,n){const o=t.viewQuery;t.viewQuery=o?(r,i)=>{n(r,i),o(r,i)}:n}function ZC(t,n){const o=t.contentQueries;t.contentQueries=o?(r,i,l)=>{n(r,i,l),o(r,i,l)}:n}function qC(t,n){const o=t.hostBindings;t.hostBindings=o?(r,i)=>{n(r,i),o(r,i)}:n}function Ig(t){const n=t.inputConfig,o={};for(const r in n)if(n.hasOwnProperty(r)){const i=n[r];Array.isArray(i)&&i[2]&&(o[r]=i[2])}t.inputTransforms=o}function Wl(t){return!!Vu(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function Vu(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function di(t,n,o){return t[n]=o}function xa(t,n){return t[n]}function lr(t,n,o){return!Object.is(t[n],o)&&(t[n]=o,!0)}function cs(t,n,o,r){const i=lr(t,n,o);return lr(t,n+1,r)||i}function jr(t,n,o,r,i,l){const u=cs(t,n,o,r);return cs(t,n+2,i,l)||u}function $u(t,n,o,r){const i=Tt();return lr(i,b(),n)&&(Bn(),ui(Co(),i,t,n,o,r)),$u}function js(t,n,o,r){return lr(t,b(),o)?n+ie(o)+r:wn}function Us(t,n,o,r,i,l){const g=cs(t,function f(){return _n.lFrame.bindingIndex}(),o,i);return C(2),g?n+ie(o)+r+ie(i)+l:wn}function Gg(t,n,o,r,i,l,u,g){const M=Tt(),k=Bn(),Q=t+cn,Pe=k.firstCreatePass?function E2(t,n,o,r,i,l,u,g,M){const k=n.consts,Q=Ns(n,t,4,u||null,no(k,g));Au(n,o,Q,no(k,M)),el(n,Q);const Pe=Q.tView=Ru(2,Q,r,i,l,n.directiveRegistry,n.pipeRegistry,null,n.schemas,k,null);return null!==n.queries&&(n.queries.template(n,Q),Pe.queries=n.queries.embeddedTView(Q)),Q}(Q,k,M,n,o,r,i,l,u):k.data[Q];Nr(Pe,!1);const Xe=Hg(k,M,Pe,t);qa()&&bl(k,M,Xe,Pe),ar(Xe,M),Vl(M,M[Q]=dg(Xe,M,Xe,Pe)),ir(Pe)&&ku(k,M,Pe),null!=u&&Tu(M,Pe,g)}let Hg=function Wg(t,n,o,r){return $i(!0),n[ln].createComment("")};function Xg(t){return mo(function Qd(){return _n.lFrame.contextLView}(),cn+t)}function zu(t,n,o){const r=Tt();return lr(r,b(),n)&&xr(Bn(),Co(),r,t,n,r[ln],o,!1),zu}function Yu(t,n,o,r,i){const u=i?"class":"style";Bu(t,o,n.inputs[u],u,r)}function Ql(t,n,o,r){const i=Tt(),l=Bn(),u=cn+t,g=i[ln],M=l.firstCreatePass?function w2(t,n,o,r,i,l){const u=n.consts,M=Ns(n,t,2,r,no(u,i));return Au(n,o,M,no(u,l)),null!==M.attrs&&$l(M,M.attrs,!1),null!==M.mergedAttrs&&$l(M,M.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,M),M}(u,l,i,n,o,r):l.data[u],k=Kg(l,i,M,g,n,t);i[u]=k;const Q=ir(M);return Nr(M,!0),Zp(g,k,M),32!=(32&M.flags)&&qa()&&bl(l,i,k,M),0===function Wa(){return _n.lFrame.elementDepthCount}()&&ar(k,i),function vc(){_n.lFrame.elementDepthCount++}(),Q&&(ku(l,i,M),Iu(l,M,i)),null!==r&&Tu(i,M),Ql}function Jl(){let t=jo();Qa()?Ja():(t=t.parent,Nr(t,!1));const n=t;(function Mc(t){return _n.skipHydrationRootTNode===t})(n)&&function Pc(){_n.skipHydrationRootTNode=null}(),function Cc(){_n.lFrame.elementDepthCount--}();const o=Bn();return o.firstCreatePass&&(el(o,t),Lr(t)&&o.queries.elementEnd(t)),null!=n.classesWithoutHost&&function P0(t){return 0!=(8&t.flags)}(n)&&Yu(o,n,Tt(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function E0(t){return 0!=(16&t.flags)}(n)&&Yu(o,n,Tt(),n.stylesWithoutHost,!1),Jl}function Qu(t,n,o,r){return Ql(t,n,o,r),Jl(),Qu}let Kg=(t,n,o,r,i,l)=>($i(!0),Cl(r,i,function qd(){return _n.lFrame.currentNamespace}()));function Zl(t,n,o){const r=Tt(),i=Bn(),l=t+cn,u=i.firstCreatePass?function k2(t,n,o,r,i){const l=n.consts,u=no(l,r),g=Ns(n,t,8,"ng-container",u);return null!==u&&$l(g,u,!0),Au(n,o,g,no(l,i)),null!==n.queries&&n.queries.elementStart(n,g),g}(l,i,r,n,o):i.data[l];Nr(u,!0);const g=zg(i,r,u,t);return r[l]=g,qa()&&bl(i,r,g,u),ar(g,r),ir(u)&&(ku(i,r,u),Iu(i,u,r)),null!=o&&Tu(r,u),Zl}function ql(){let t=jo();const n=Bn();return Qa()?Ja():(t=t.parent,Nr(t,!1)),n.firstCreatePass&&(el(n,t),Lr(t)&&n.queries.elementEnd(t)),ql}function Ju(t,n,o){return Zl(t,n,o),ql(),Ju}let zg=(t,n,o,r)=>($i(!0),Hc(n[ln],""));function Yg(){return Tt()}function Zu(t){return!!t&&"function"==typeof t.then}function Qg(t){return!!t&&"function"==typeof t.subscribe}function qu(t,n,o,r){const i=Tt(),l=Bn(),u=jo();return Jg(l,i,i[ln],u,t,n,r),qu}function ed(t,n){const o=jo(),r=Tt(),i=Bn();return Jg(i,r,fg(vt(i.data),o,r),o,t,n),ed}function Jg(t,n,o,r,i,l,u){const g=ir(r),k=t.firstCreatePass&&gg(t),Q=n[Kn],Pe=hg(n);let Xe=!0;if(3&r.type||u){const Ut=vn(r,n),Jt=u?u(Ut):Ut,sn=Pe.length,Rt=u?Rn=>u(Ht(Rn[r.index])):r.index;let bn=null;if(!u&&g&&(bn=function A2(t,n,o,r){const i=t.cleanup;if(null!=i)for(let l=0;l<i.length-1;l+=2){const u=i[l];if(u===o&&i[l+1]===r){const g=n[Yo],M=i[l+2];return g.length>M?g[M]:null}"string"==typeof u&&(l+=2)}return null}(t,n,i,r.index)),null!==bn)(bn.__ngLastListenerFn__||bn).__ngNextListenerFn__=l,bn.__ngLastListenerFn__=l,Xe=!1;else{l=qg(r,n,Q,l,!1);const Rn=o.listen(Jt,i,l);Pe.push(l,Rn),k&&k.push(i,Rt,sn,sn+1)}}else l=qg(r,n,Q,l,!1);const ot=r.outputs;let Pt;if(Xe&&null!==ot&&(Pt=ot[i])){const Ut=Pt.length;if(Ut)for(let Jt=0;Jt<Ut;Jt+=2){const Jn=n[Pt[Jt]][Pt[Jt+1]].subscribe(l),Er=Pe.length;Pe.push(l,Jn),k&&k.push(i,r.index,Er,-(Er+1))}}}function Zg(t,n,o,r){try{return Ao(6,n,o),!1!==o(r)}catch(i){return mg(t,i),!1}finally{Ao(7,n,o)}}function qg(t,n,o,r,i){return function l(u){if(u===Function)return r;
55Ea(t.componentOffset>-1?co(t.index,n):n);let M=Zg(n,o,r,u),k=l.__ngNextListenerFn__;for(;k;)M=Zg(n,o,k,u)&&M,k=k.__ngNextListenerFn__;return i&&!1===M&&u.preventDefault(),M}}function ef(t=1){return function m0(t){return(_n.lFrame.contextLView=function _0(t,n){for(;t>0;)n=n[tr],t--;return n}(t,_n.lFrame.contextLView))[Kn]}(t)}function F2(t,n){let o=null;const r=function cr(t){const n=t.attrs;if(null!=n){const o=n.indexOf(5);if(!(1&o))return n[o+1]}return null}(t);for(let i=0;i<n.length;i++){const l=n[i];if("*"!==l){if(null===r?Or(t,l,!0):Dt(r,l))return i}else o=i}return o}function tf(t){const n=Tt()[Gn][eo];if(!n.projection){const r=n.projection=da(t?t.length:1,null),i=r.slice();let l=n.child;for(;null!==l;){const u=t?F2(l,t):0;null!==u&&(i[u]?i[u].projectionNext=l:r[u]=l,i[u]=l),l=l.next}}}function nf(t,n=0,o){const r=Tt(),i=Bn(),l=Ns(i,cn+t,16,null,o||null);null===l.projection&&(l.projection=n),Ja(),(!r[Jo]||ns())&&32!=(32&l.flags)&&function R_(t,n,o){Qp(n[ln],0,n,o,Kc(t,o,n),Hp(o.parent||n[eo],o,n))}(i,r,l)}function td(t,n,o){return ec(t,"",n,"",o),td}function ec(t,n,o,r,i){const l=Tt(),u=js(l,n,o,r);return u!==wn&&xr(Bn(),Co(),l,t,u,l[ln],i,!1),ec}function nd(t,n,o,r,i,l,u){const g=Tt(),M=Us(g,n,o,r,i,l);return M!==wn&&xr(Bn(),Co(),g,t,M,g[ln],u,!1),nd}function tc(t,n){return t<<17|n<<2}function Hi(t){return t>>17&32767}function od(t){return 2|t}function us(t){return(131068&t)>>2}function rd(t,n){return-131069&t|n<<2}function id(t){return 1|t}function pf(t,n,o,r,i){const l=t[o+1],u=null===n;let g=r?Hi(l):us(l),M=!1;for(;0!==g&&(!1===M||u);){const Q=t[g+1];V2(t[g],n)&&(M=!0,t[g+1]=r?id(Q):od(Q)),g=r?Hi(Q):us(Q)}M&&(t[o+1]=r?od(l):id(l))}function V2(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&bs(t,n)>=0}const Vo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function hf(t){return t.substring(Vo.key,Vo.keyEnd)}function $2(t){return t.substring(Vo.value,Vo.valueEnd)}function gf(t,n){const o=Vo.textEnd;return o===n?-1:(n=Vo.keyEnd=function W2(t,n,o){for(;n<o&&t.charCodeAt(n)>32;)n++;return n}(t,Vo.key=n,o),Ks(t,n,o))}function ff(t,n){const o=Vo.textEnd;let r=Vo.key=Ks(t,n,o);return o===r?-1:(r=Vo.keyEnd=function X2(t,n,o){let r;for(;n<o&&(45===(r=t.charCodeAt(n))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)n++;return n}(t,r,o),r=_f(t,r,o),r=Vo.value=Ks(t,r,o),r=Vo.valueEnd=function K2(t,n,o){let r=-1,i=-1,l=-1,u=n,g=u;for(;u<o;){const M=t.charCodeAt(u++);if(59===M)return g;34===M||39===M?g=u=vf(t,M,u,o):n===u-4&&85===l&&82===i&&76===r&&40===M?g=u=vf(t,41,u,o):M>32&&(g=u),l=i,i=r,r=-33&M}return g}(t,r,o),_f(t,r,o))}function mf(t){Vo.key=0,Vo.keyEnd=0,Vo.value=0,Vo.valueEnd=0,Vo.textEnd=t.length}function Ks(t,n,o){for(;n<o&&t.charCodeAt(n)<=32;)n++;return n}function _f(t,n,o,r){return(n=Ks(t,n,o))<o&&n++,n}function vf(t,n,o,r){let i=-1,l=o;for(;l<r;){const u=t.charCodeAt(l++);if(u==n&&92!==i)return l;i=92==u&&92===i?0:u}throw new Error}function sd(t,n,o){return Qr(t,n,o,!1),sd}function ad(t,n){return Qr(t,n,null,!0),ad}function Yr(t){Jr(bf,z2,t,!1)}function z2(t,n){for(let o=function H2(t){return mf(t),ff(t,Ks(t,0,Vo.textEnd))}(n);o>=0;o=ff(n,o))bf(t,hf(n),$2(n))}function Cf(t){Jr(ey,pi,t,!0)}function pi(t,n){for(let o=function G2(t){return mf(t),gf(t,Ks(t,0,Vo.textEnd))}(n);o>=0;o=gf(n,o))wr(t,hf(n),!0)}function Qr(t,n,o,r){const i=Tt(),l=Bn(),u=C(2);l.firstUpdatePass&&Mf(l,t,u,r),n!==wn&&lr(i,u,n)&&Pf(l,l.data[fr()],i,i[ln],t,i[u+1]=function ny(t,n){return null==t||""===t||("string"==typeof n?t+=n:"object"==typeof t&&(t=z(Di(t)))),t}(n,o),r,u)}function Jr(t,n,o,r){const i=Bn(),l=C(2);i.firstUpdatePass&&Mf(i,null,l,r);const u=Tt();if(o!==wn&&lr(u,l,o)){const g=i.data[fr()];if(Of(g,r)&&!yf(i,l)){let M=r?g.classesWithoutHost:g.stylesWithoutHost;null!==M&&(o=w(M,o||"")),Yu(i,g,u,o,r)}else!function ty(t,n,o,r,i,l,u,g){i===wn&&(i=dn);let M=0,k=0,Q=0<i.length?i[0]:null,Pe=0<l.length?l[0]:null;for(;null!==Q||null!==Pe;){const Xe=M<i.length?i[M+1]:void 0,ot=k<l.length?l[k+1]:void 0;let Ut,Pt=null;Q===Pe?(M+=2,k+=2,Xe!==ot&&(Pt=Pe,Ut=ot)):null===Pe||null!==Q&&Q<Pe?(M+=2,Pt=Q):(k+=2,Pt=Pe,Ut=ot),null!==Pt&&Pf(t,n,o,r,Pt,Ut,u,g),Q=M<i.length?i[M]:null,Pe=k<l.length?l[k]:null}}(i,g,u,u[ln],u[l+1],u[l+1]=function q2(t,n,o){if(null==o||""===o)return dn;const r=[],i=Di(o);if(Array.isArray(i))for(let l=0;l<i.length;l++)t(r,i[l],!0);else if("object"==typeof i)for(const l in i)i.hasOwnProperty(l)&&t(r,l,i[l]);else"string"==typeof i&&n(r,i);return r}(t,n,o),r,l)}}function yf(t,n){return n>=t.expandoStartIndex}function Mf(t,n,o,r){const i=t.data;if(null===i[o+1]){const l=i[fr()],u=yf(t,o);Of(l,r)&&null===n&&!u&&(n=!1),n=function Y2(t,n,o,r){const i=vt(t);let l=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(o=Ra(o=ld(null,t,n,o,r),n.attrs,r),l=null);else{const u=n.directiveStylingLast;if(-1===u||t[u]!==i)if(o=ld(i,t,n,o,r),null===l){let M=function Q2(t,n,o){const r=o?n.classBindings:n.styleBindings;if(0!==us(r))return t[Hi(r)]}
55(t,n,r);void 0!==M&&Array.isArray(M)&&(M=ld(null,t,n,M[1],r),M=Ra(M,n.attrs,r),function J2(t,n,o,r){t[Hi(o?n.classBindings:n.styleBindings)]=r}(t,n,r,M))}else l=function Z2(t,n,o){let r;const i=n.directiveEnd;for(let l=1+n.directiveStylingLast;l<i;l++)r=Ra(r,t[l].hostAttrs,o);return Ra(r,n.attrs,o)}(t,n,r)}return void 0!==l&&(r?n.residualClasses=l:n.residualStyles=l),o}(i,l,n,r),function j2(t,n,o,r,i,l){let u=l?n.classBindings:n.styleBindings,g=Hi(u),M=us(u);t[r]=o;let Q,k=!1;if(Array.isArray(o)?(Q=o[1],(null===Q||bs(o,Q)>0)&&(k=!0)):Q=o,i)if(0!==M){const Xe=Hi(t[g+1]);t[r+1]=tc(Xe,g),0!==Xe&&(t[Xe+1]=rd(t[Xe+1],r)),t[g+1]=function N2(t,n){return 131071&t|n<<17}(t[g+1],r)}else t[r+1]=tc(g,0),0!==g&&(t[g+1]=rd(t[g+1],r)),g=r;else t[r+1]=tc(M,0),0===g?g=r:t[M+1]=rd(t[M+1],r),M=r;k&&(t[r+1]=od(t[r+1])),pf(t,Q,r,!0),pf(t,Q,r,!1),function U2(t,n,o,r,i){const l=i?t.residualClasses:t.residualStyles;null!=l&&"string"==typeof n&&bs(l,n)>=0&&(o[r+1]=id(o[r+1]))}(n,Q,t,r,l),u=tc(g,M),l?n.classBindings=u:n.styleBindings=u}(i,l,n,o,u,r)}}function ld(t,n,o,r,i){let l=null;const u=o.directiveEnd;let g=o.directiveStylingLast;for(-1===g?g=o.directiveStart:g++;g<u&&(l=n[g],r=Ra(r,l.hostAttrs,i),l!==t);)g++;return null!==t&&(o.directiveStylingLast=g),r}function Ra(t,n,o){const r=o?1:2;let i=-1;if(null!==n)for(let l=0;l<n.length;l++){const u=n[l];"number"==typeof u?i=u:i===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),wr(t,u,!!o||n[++l]))}return void 0===t?null:t}function bf(t,n,o){wr(t,n,Di(o))}function ey(t,n,o){const r=String(n);""!==r&&!r.includes(" ")&&wr(t,r,o)}function Pf(t,n,o,r,i,l,u,g){if(!(3&n.type))return;const M=t.data,k=M[g+1],Q=function B2(t){return 1==(1&t)}(k)?Ef(M,n,o,i,us(k),u):void 0;nc(Q)||(nc(l)||function L2(t){return 2==(2&t)}(k)&&(l=Ef(M,null,o,i,g,u)),function F_(t,n,o,r,i){if(n)i?t.addClass(o,r):t.removeClass(o,r);else{let l=-1===r.indexOf("-")?void 0:_l.DashCase;null==i?t.removeStyle(o,r,l):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),l|=_l.Important),t.setStyle(o,r,i,l))}}(r,u,un(fr(),o),i,l))}function Ef(t,n,o,r,i,l){const u=null===n;let g;for(;i>0;){const M=t[i],k=Array.isArray(M),Q=k?M[1]:M,Pe=null===Q;let Xe=o[i+1];Xe===wn&&(Xe=Pe?dn:void 0);let ot=Pe?Ac(Xe,r):Q===r?Xe:void 0;if(k&&!nc(ot)&&(ot=Ac(M,r)),nc(ot)&&(g=ot,u))return g;const Pt=t[i+1];i=u?Hi(Pt):us(Pt)}if(null!==n){let M=l?n.residualClasses:n.residualStyles;null!=M&&(g=Ac(M,r))}return g}function nc(t){return void 0!==t}function Of(t,n){return 0!=(t.flags&(n?8:16))}function Sf(t,n=""){const o=Tt(),r=Bn(),i=t+cn,l=r.firstCreatePass?Ns(r,i,1,n,null):r.data[i],u=Df(r,o,l,n,t);o[i]=u,qa()&&bl(r,o,u,l),Nr(l,!1)}let Df=(t,n,o,r,i)=>($i(!0),function vl(t,n){return t.createText(n)}(n[ln],r));function cd(t){return oc("",t,""),cd}function oc(t,n,o){const r=Tt(),i=js(r,t,n,o);return i!==wn&&Ii(r,fr(),i),oc}function ud(t,n,o,r,i){const l=Tt(),u=Us(l,t,n,o,r,i);return u!==wn&&Ii(l,fr(),u),ud}function Ff(t,n,o){Jr(wr,pi,js(Tt(),t,n,o),!0)}function dd(t,n,o){const r=Tt();if(lr(r,b(),n)){const l=Bn(),u=Co();xr(l,u,r,t,n,fg(vt(l.data),u,r),o,!0)}return dd}const ds=void 0;var Py=["en",[["a","p"],["AM","PM"],ds],[["AM","PM"],ds,ds],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ds,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ds,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ds,"{1} 'at' {0}",ds],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function by(t){const o=Math.floor(Math.abs(t)),r=t.toString().replace(/^[^.]*\.?/,"").length;return 1===o&&0===r?1:5}];let zs={};function Ey(t,n,o){"string"!=typeof n&&(o=n,n=t[Ys.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),zs[n]=t,o&&(zs[n][Ys.ExtraData]=o)}function pd(t){const n=function Oy(t){return t.toLowerCase().replace(/_/g,"-")}(t);let o=Kf(n);if(o)return o;const r=n.split("-")[0];if(o=Kf(r),o)return o;if("en"===r)return Py;throw new N(701,!1)}function Xf(t){return pd(t)[Ys.PluralCase]}function Kf(t){return t in zs||(zs[t]=Vt.ng&&Vt.ng.common&&Vt.ng.common.locales&&Vt.ng.common.locales[t]),zs[t]}var Ys=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Ys||{});const Qs="en-US";let zf=Qs;function fd(t,n,o,r,i){if(t=H(t),Array.isArray(t))for(let l=0;l<t.length;l++)fd(t[l],n,o,r,i);else{const l=Bn(),u=Tt(),g=jo();let M=ls(t)?t:H(t.provide);const k=vh(t),Q=1048575&g.providerIndexes,Pe=g.directiveStart,Xe=g.providerIndexes>>20;if(ls(t)||!t.multi){const ot=new sa(k,i,Ls),Pt=_d(M,n,i?Q:Q+Xe,Pe);-1===Pt?(Ic(rl(g,u),l,M),md(l,t,n.length),n.push(M),g.directiveStart++,g.directiveEnd++,i&&(g.providerIndexes+=1048576),o.push(ot),u.push(ot)):(o[Pt]=ot,u[Pt]=ot)}else{const ot=_d(M,n,Q+Xe,Pe),Pt=_d(M,n,Q,Q+Xe),Jt=Pt>=0&&o[Pt];if(i&&!Jt||!i&&!(ot>=0&&o[ot])){Ic(rl(g,u),l,M);const sn=function PM(t,n,o,r,i){const l=new sa(t,o,Ls);return l.multi=[],l.index=n,l.componentProviders=0,Cm(l,i,r&&!o),l}(i?bM:MM,o.length,i,r,k);!i&&Jt&&(o[Pt].providerFactory=sn),md(l,t,n.length,0),n.push(M),g.directiveStart++,g.directiveEnd++,i&&(g.providerIndexes+=1048576),o.push(sn),u.push(sn)}else md(l,t,ot>-1?ot:Pt,Cm(o[i?Pt:ot],k,!i&&r));!i&&r&&Jt&&o[Pt].componentProviders++}}}
55function md(t,n,o,r){const i=ls(n),l=function gv(t){return!!t.useClass}(n);if(i||l){const M=(l?H(n.useClass):n).prototype.ngOnDestroy;if(M){const k=t.destroyHooks||(t.destroyHooks=[]);if(!i&&n.multi){const Q=k.indexOf(o);-1===Q?k.push(o,[r,M]):k[Q+1].push(r,M)}else k.push(o,M)}}}function Cm(t,n,o){return o&&t.componentProviders++,t.multi.push(n)-1}function _d(t,n,o,r){for(let i=o;i<r;i++)if(n[i]===t)return i;return-1}function MM(t,n,o,r){return vd(this.multi,[])}function bM(t,n,o,r){const i=this.multi;let l;if(this.providerFactory){const u=this.providerFactory.componentProviders,g=rs(o,o[Xt],this.providerFactory.index,r);l=g.slice(0,u),vd(i,l);for(let M=u;M<g.length;M++)l.push(g[M])}else l=[],vd(i,l);return l}function vd(t,n){for(let o=0;o<t.length;o++)n.push((0,t[o])());return n}function ym(t,n=[]){return o=>{o.providersResolver=(r,i)=>function yM(t,n,o){const r=Bn();if(r.firstCreatePass){const i=Mo(t);fd(o,r.data,r.blueprint,i,!0),fd(n,r.data,r.blueprint,i,!1)}}(r,i?i(t):t,n)}}class ps{}class Mm{}function EM(t,n){return new Cd(t,n??null,[])}class Cd extends ps{constructor(n,o,r){super(),this._parent=o,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Eg(this);const i=so(n);this._bootstrapComponents=xi(i.bootstrap),this._r3Injector=Th(n,o,[{provide:ps,useValue:this},{provide:Ll,useValue:this.componentFactoryResolver},...r],z(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(o=>o()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class yd extends Mm{constructor(n){super(),this.moduleType=n}create(n){return new Cd(this.moduleType,n,[])}}class bm extends ps{constructor(n){super(),this.componentFactoryResolver=new Eg(this),this.instance=null;const o=new xs([...n.providers,{provide:ps,useValue:this},{provide:Ll,useValue:this.componentFactoryResolver}],n.parent||Il(),n.debugName,new Set(["environment"]));this.injector=o,n.runEnvironmentInitializers&&o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Pm(t,n,o=null){return new bm({providers:t,parent:n,debugName:o,runEnvironmentInitializers:!0}).injector}let SM=(()=>{var t;class n{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const i=gh(0,r.type),l=i.length>0?Pm([i],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,l)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}}return(t=n).\u0275prov=yt({token:t,providedIn:"environment",factory:()=>new t(tn(li))}),n})();function Em(t){t.getStandaloneInjector=n=>n.get(SM).getOrCreateStandaloneInjector(t)}function km(t,n,o){const r=sr()+t,i=Tt();return i[r]===wn?di(i,r,o?n.call(o):n()):xa(i,r)}function Tm(t,n,o,r){return Nm(Tt(),sr(),t,n,o,r)}function Rm(t,n,o,r,i){return Bm(Tt(),sr(),t,n,o,r,i)}function Am(t,n,o,r,i,l){return jm(Tt(),sr(),t,n,o,r,i,l)}function Fm(t,n,o,r,i,l,u){return Um(Tt(),sr(),t,n,o,r,i,l,u)}function Lm(t,n,o,r,i,l,u,g){const M=sr()+t,k=Tt(),Q=jr(k,M,o,r,i,l);return lr(k,M+4,u)||Q?di(k,M+5,g?n.call(g,o,r,i,l,u):n(o,r,i,l,u)):xa(k,M+5)}function ja(t,n){const o=t[n];return o===wn?void 0:o}function Nm(t,n,o,r,i,l){const u=n+o;return lr(t,u,i)?di(t,u+1,l?r.call(l,i):r(i)):ja(t,u+1)}function Bm(t,n,o,r,i,l,u){const g=n+o;return cs(t,g,i,l)?di(t,g+2,u?r.call(u,i,l):r(i,l)):ja(t,g+2)}function jm(t,n,o,r,i,l,u,g){const M=n+o;return function Xl(t,n,o,r,i){const l=cs(t,n,o,r);return lr(t,n+2,i)||l}(t,M,i,l,u)?di(t,M+3,g?r.call(g,i,l,u):r(i,l,u)):ja(t,M+3)}function Um(t,n,o,r,i,l,u,g,M){const k=n+o;return jr(t,k,i,l,u,g)?di(t,k+4,M?r.call(M,i,l,u,g):r(i,l,u,g)):ja(t,k+4)}function $m(t,n){const o=Bn();let r;const i=t+cn;o.firstCreatePass?(r=function jM(t,n){if(n)for(let o=n.length-1;o>=0;o--){const r=n[o];if(t===r.name)return r}}(n,o.pipeRegistry),o.data[i]=r,r.onDestroy&&(o.destroyHooks??=[]).push(i,r.onDestroy)):r=o.data[i];const l=r.factory||(r.factory=yr(r.type)),g=xe(Ls);try{const M=ol(!1),k=l();return ol(M),function D2(t,n,o,r){o>=t.data.length&&(t.data[o]=null,t.blueprint[o]=null),n[o]=r}(o,Tt(),i,k),k}finally{xe(g)}}function Gm(t,n,o){const r=t+cn,i=Tt(),l=mo(i,r);return Ua(i,r)?Nm(i,sr(),n,l.transform,o,l):l.transform(o)}function Hm(t,n,o,r){const i=t+cn,l=Tt(),u=mo(l,i);return Ua(l,i)?Bm(l,sr(),n,u.transform,o,r,u):u.transform(o,r)}function Wm(t,n,o,r,i){const l=t+cn,u=Tt(),g=mo(u,l);return Ua(u,l)?jm(u,sr(),n,g.transform,o,r,i,g):g.transform(o,r,i)}function Xm(t,n,o,r,i,l){const u=t+cn,g=Tt(),M=mo(g,u);return Ua(g,u)?Um(g,sr(),n,M.transform,o,r,i,l,M):M.transform(o,r,i,l)}function Ua(t,n){return t[Xt].data[n].pure}
55function VM(){return this._results[Symbol.iterator]()}class bd{get changes(){return this._changes||(this._changes=new ci)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const o=bd.prototype;o[Symbol.iterator]||(o[Symbol.iterator]=VM)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,o){return this._results.reduce(n,o)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,o){const r=this;r.dirty=!1;const i=function Br(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function B0(t,n,o){if(t.length!==n.length)return!1;for(let r=0;r<t.length;r++){let i=t[r],l=n[r];if(o&&(i=o(i),l=o(l)),l!==i)return!1}return!0}(r._results,i,o))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function GM(t,n,o,r=!0){const i=n[Xt];if(function D_(t,n,o,r){const i=fo+r,l=o.length;r>0&&(o[i-1][ho]=n),r<l-fo?(n[ho]=o[i],fp(o,fo+r,n)):(o.push(n),n[ho]=null),n[An]=o;const u=n[Ar];null!==u&&o!==u&&function w_(t,n){const o=t[or];n[Gn]!==n[An][An][Gn]&&(t[Ri]=!0),null===o?t[or]=[n]:o.push(n)}(u,n);const g=n[go];null!==g&&g.insertView(t),n[fn]|=128}(i,n,t,o),r){const l=Yc(o,t),u=n[ln],g=Ml(u,t[Ho]);null!==g&&function E_(t,n,o,r,i,l){r[Vn]=i,r[eo]=n,ma(t,r,o,1,i,l)}(i,t[eo],u,n,g,l)}}let Va=(()=>{class n{}return n.__NG_ELEMENT_ID__=XM,n})();const HM=Va,WM=class extends HM{constructor(n,o,r){super(),this._declarationLView=n,this._declarationTContainer=o,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,o){return this.createEmbeddedViewImpl(n,o)}createEmbeddedViewImpl(n,o,r){const i=function $M(t,n,o,r){const i=n.tView,g=Ul(t,i,o,4096&t[fn]?4096:16,null,n,null,null,null,r?.injector??null,r?.hydrationInfo??null);g[Ar]=t[n.index];const k=t[go];return null!==k&&(g[go]=k.createEmbeddedView(i)),ju(i,g,o),g}(this._declarationLView,this._declarationTContainer,n,{injector:o,hydrationInfo:r});return new Da(i)}};function XM(){return lc(jo(),Tt())}function lc(t,n){return 4&t.type?new WM(n,t,Rs(t,n)):null}let uc=(()=>{class n{}return n.__NG_ELEMENT_ID__=ZM,n})();function ZM(){return qm(jo(),Tt())}const qM=uc,Jm=class extends qM{constructor(n,o,r){super(),this._lContainer=n,this._hostTNode=o,this._hostLView=r}get element(){return Rs(this._hostTNode,this._hostLView)}get injector(){return new mr(this._hostTNode,this._hostLView)}get parentInjector(){const n=il(this._hostTNode,this._hostLView);if(Dc(n)){const o=la(n,this._hostLView),r=aa(n);return new mr(o[Xt].data[r+8],o)}return new mr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const o=Zm(this._lContainer);return null!==o&&o[n]||null}get length(){return this._lContainer.length-fo}createEmbeddedView(n,o,r){let i,l;"number"==typeof r?i=r:null!=r&&(i=r.index,l=r.injector);const g=n.createEmbeddedViewImpl(o||{},l,null);return this.insertImpl(g,i,false),g}createComponent(n,o,r,i,l){const u=n&&!function ua(t){return"function"==typeof t}(n);let g;if(u)g=o;else{const Ut=o||{};g=Ut.index,r=Ut.injector,i=Ut.projectableNodes,l=Ut.environmentInjector||Ut.ngModuleRef}const M=u?n:new wa(En(n)),k=r||this.parentInjector;if(!l&&null==M.ngModule){const Jt=(u?k:this.parentInjector).get(li,null);Jt&&(l=Jt)}En(M.componentType??{});const ot=M.create(k,i,null,l);return this.insertImpl(ot.hostView,g,false),ot}insert(n,o){return this.insertImpl(n,o,!1)}insertImpl(n,o,r){const i=n._lView;if(function Dr(t){return Nn(t[An])}(i)){const M=this.indexOf(n);if(-1!==M)this.detach(M);
55else{const k=i[An],Q=new Jm(k,k[eo],k[An]);Q.detach(Q.indexOf(n))}}const u=this._adjustIndex(o),g=this._lContainer;return GM(g,i,u,!r),n.attachToViewContainerRef(),fp(Pd(g),u,n),n}move(n,o){return this.insert(n,o)}indexOf(n){const o=Zm(this._lContainer);return null!==o?o.indexOf(n):-1}remove(n){const o=this._adjustIndex(n,-1),r=yl(this._lContainer,o);r&&(al(Pd(this._lContainer),o),Wc(r[Xt],r))}detach(n){const o=this._adjustIndex(n,-1),r=yl(this._lContainer,o);return r&&null!=al(Pd(this._lContainer),o)?new Da(r):null}_adjustIndex(n,o=0){return n??this.length+o}};function Zm(t){return t[8]}function Pd(t){return t[8]||(t[8]=[])}function qm(t,n){let o;const r=n[t.index];return Nn(r)?o=r:(o=dg(r,n,null,t),n[t.index]=o,Vl(n,o)),e1(o,n,t,r),new Jm(o,t,n)}let e1=function t1(t,n,o,r){if(t[Ho])return;let i;i=8&o.type?Ht(r):function eb(t,n){const o=t[ln],r=o.createComment(""),i=vn(n,t);return is(o,Ml(o,i),r,function T_(t,n){return t.nextSibling(n)}(o,i),!1),r}(n,o),t[Ho]=i};class Ed{constructor(n){this.queryList=n,this.matches=null}clone(){return new Ed(this.queryList)}setDirty(){this.queryList.setDirty()}}class Od{constructor(n=[]){this.queries=n}createEmbeddedView(n){const o=n.queries;if(null!==o){const r=null!==n.contentQueries?n.contentQueries[0]:o.length,i=[];for(let l=0;l<r;l++){const u=o.getByIndex(l);i.push(this.queries[u.indexInDeclarationView].clone())}return new Od(i)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let o=0;o<this.queries.length;o++)null!==u1(n,o).matches&&this.queries[o].setDirty()}}class n1{constructor(n,o,r=null){this.predicate=n,this.flags=o,this.read=r}}class Sd{constructor(n=[]){this.queries=n}elementStart(n,o){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,o)}elementEnd(n){for(let o=0;o<this.queries.length;o++)this.queries[o].elementEnd(n)}embeddedTView(n){let o=null;for(let r=0;r<this.length;r++){const i=null!==o?o.length:0,l=this.getByIndex(r).embeddedTView(n,i);l&&(l.indexInDeclarationView=r,null!==o?o.push(l):o=[l])}return null!==o?new Sd(o):null}template(n,o){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,o)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class Dd{constructor(n,o=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=o}elementStart(n,o){this.isApplyingToNode(o)&&this.matchTNode(n,o)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,o){this.elementStart(n,o)}embeddedTView(n,o){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,o),new Dd(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const o=this._declarationNodeIndex;let r=n.parent;for(;null!==r&&8&r.type&&r.index!==o;)r=r.parent;return o===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(n,o){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const l=r[i];this.matchTNodeWithReadOption(n,o,ob(o,l)),this.matchTNodeWithReadOption(n,o,sl(o,n,l,!1,!1))}else r===Va?4&o.type&&this.matchTNodeWithReadOption(n,o,-1):this.matchTNodeWithReadOption(n,o,sl(o,n,r,!1,!1))}matchTNodeWithReadOption(n,o,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===ba||i===uc||i===Va&&4&o.type)this.addMatch(o.index,-2);else{const l=sl(o,n,i,!1,!1);null!==l&&this.addMatch(o.index,l)}else this.addMatch(o.index,r)}}addMatch(n,o){null===this.matches?this.matches=[n,o]:this.matches.push(n,o)}}function ob(t,n){const o=t.localNames;if(null!==o)for(let r=0;r<o.length;r+=2)if(o[r]===n)return o[r+1];return null}function ib(t,n,o,r){return-1===o?function rb(t,n){return 11&t.type?Rs(t,n):4&t.type?lc(t,n):null}(n,t):-2===o?function sb(t,n,o){return o===ba?Rs(n,t):o===Va?lc(n,t):o===uc?qm(n,t):void 0}(t,n,r):rs(t,t[Xt],o,n)}function o1(t,n,o,r){const i=n[go].queries[r];if(null===i.matches){const l=t.data,u=o.matches,g=[];for(let M=0;M<u.length;M+=2){const k=u[M];g.push(k<0?null:ib(n,l[k],u[M+1],o.metadata.read))}i.matches=g}return i.matches}function wd(t,n,o,r){const i=t.queries.getByIndex(o),l=i.matches;if(null!==l){const u=o1(t,n,i,o);for(let g=0;g<l.length;g+=2){const M=l[g];if(M>0)r.push(u[g/2]);
55else{const k=l[g+1],Q=n[-M];for(let Pe=fo;Pe<Q.length;Pe++){const Xe=Q[Pe];Xe[Ar]===Xe[An]&&wd(Xe[Xt],Xe,k,r)}if(null!==Q[or]){const Pe=Q[or];for(let Xe=0;Xe<Pe.length;Xe++){const ot=Pe[Xe];wd(ot[Xt],ot,k,r)}}}}}return r}function r1(t){const n=Tt(),o=Bn(),r=pn();In(r+1);const i=u1(o,r);if(t.dirty&&function to(t){return 4==(4&t[fn])}(n)===(2==(2&i.metadata.flags))){if(null===i.matches)t.reset([]);else{const l=i.crossesNgTemplate?wd(o,n,r,[]):o1(o,n,i,r);t.reset(l,Nv),t.notifyOnChanges()}return!0}return!1}function i1(t,n,o){const r=Bn();r.firstCreatePass&&(c1(r,new n1(t,n,o),-1),2==(2&n)&&(r.staticViewQueries=!0)),l1(r,Tt(),n)}function s1(t,n,o,r){const i=Bn();if(i.firstCreatePass){const l=jo();c1(i,new n1(n,o,r),l.index),function lb(t,n){const o=t.contentQueries||(t.contentQueries=[]);n!==(o.length?o[o.length-1]:-1)&&o.push(t.queries.length-1,n)}(i,t),2==(2&o)&&(i.staticContentQueries=!0)}l1(i,Tt(),o)}function a1(){return function ab(t,n){return t[go].queries[n].queryList}(Tt(),pn())}function l1(t,n,o){const r=new bd(4==(4&o));(function fC(t,n,o,r){const i=hg(n);i.push(o),t.firstCreatePass&&gg(t).push(r,i.length-1)})(t,n,r,r.destroy),null===n[go]&&(n[go]=new Od),n[go].queries.push(new Ed(r))}function c1(t,n,o){null===t.queries&&(t.queries=new Sd),t.queries.track(new Dd(n,o))}function u1(t,n){return t.queries.getByIndex(n)}function d1(t,n){return lc(t,n)}function xd(t){return!!so(t)}const w1=new Je("Application Initializer");let Ad=(()=>{var t;class n{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i}),this.appInits=_e(w1,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const l of this.appInits){const u=l();if(Zu(u))r.push(u);else if(Qg(u)){const g=new Promise((M,k)=>{u.subscribe({complete:M,error:k})});r.push(g)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{i()}).catch(l=>{this.reject(l)}),0===r.length&&i(),this.initialized=!0}}return(t=n).\u0275fac=function(r){return new(r||t)},t.\u0275prov=yt({token:t,factory:t.\u0275fac,providedIn:"root"}),n})(),x1=(()=>{var t;class n{log(r){console.log(r)}warn(r){console.warn(r)}}return(t=n).\u0275fac=function(r){return new(r||t)},t.\u0275prov=yt({token:t,factory:t.\u0275fac,providedIn:"platform"}),n})();const pc=new Je("LocaleId",{providedIn:"root",factory:()=>_e(pc,Oe.Optional|Oe.SkipSelf)||function xb(){return typeof $localize<"u"&&$localize.locale||Qs}()}),Ib=new Je("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let I1=(()=>{var t;class n{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new O.t(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(t=n).\u0275fac=function(r){return new(r||t)},t.\u0275prov=yt({token:t,factory:t.\u0275fac,providedIn:"root"}),n})();class Tb{constructor(n,o){this.ngModuleFactory=n,this.componentFactories=o}}let Rb=(()=>{var t;class n{compileModuleSync(r){return new yd(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const i=this.compileModuleSync(r),u=xi(so(r).declarations).reduce((g,M)=>{const k=En(M);return k&&g.push(new wa(k)),g},[]);return new Tb(i,u)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}}return(t=n).\u0275fac=function(r){return new(r||t)},t.\u0275prov=yt({token:t,factory:t.\u0275fac,providedIn:"root"}),n})();const A1=new Je(""),F1=new Je("");let Nd,t4=(()=>{var t;class n{constructor(r,i,l){this._ngZone=r,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Nd||(function n4(t){Nd=t}(l),l.addToWindow(i)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>
55{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Xo.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(r)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,i,l){let u=-1;i&&i>0&&(u=setTimeout(()=>{this._callbacks=this._callbacks.filter(g=>g.timeoutId!==u),r(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:r,timeoutId:u,updateCb:l})}whenStable(r,i,l){if(l&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,i,l),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,i,l){return[]}}return(t=n).\u0275fac=function(r){return new(r||t)(tn(Xo),tn(L1),tn(F1))},t.\u0275prov=yt({token:t,factory:t.\u0275fac}),n})(),L1=(()=>{var t;class n{constructor(){this._applications=new Map}registerApplication(r,i){this._applications.set(r,i)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,i=!0){return Nd?.findTestabilityInTree(this,r,i)??null}}return(t=n).\u0275fac=function(r){return new(r||t)},t.\u0275prov=yt({token:t,factory:t.\u0275fac,providedIn:"platform"}),n})(),Wi=null;const N1=new Je("AllowMultipleToken"),Bd=new Je("PlatformDestroyListeners"),jd=new Je("appBootstrapListener");class i4{constructor(n,o){this.name=n,this.token=o}}function U1(t,n,o=[]){const r=`Platform: ${n}`,i=new Je(r);return(l=[])=>{let u=Ud();if(!u||u.injector.get(N1,!1)){const g=[...o,...l,{provide:i,useValue:!0}];t?t(g):function s4(t){if(Wi&&!Wi.get(N1,!1))throw new N(400,!1);(function B1(){!function K(t){m=t}(()=>{throw new N(600,!1)})})(),Wi=t;const n=t.get($1);(function j1(t){t.get(yh,null)?.forEach(o=>o())})(t)}(function V1(t=[],n){return zr.create({name:n,providers:[{provide:lu,useValue:"platform"},{provide:Bd,useValue:new Set([()=>Wi=null])},...t]})}(g,r))}return function l4(t){const n=Ud();if(!n)throw new N(401,!1);return n}()}}function Ud(){return Wi?.get($1)??null}let $1=(()=>{var t;class n{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,i){const l=function c4(t="zone.js",n){return"noop"===t?new eC:"zone.js"===t?new Xo(n):t}(i?.ngZone,function G1(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return l.run(()=>{const u=function OM(t,n,o){return new Cd(t,n,o)}(r.moduleType,this.injector,function z1(t){return[{provide:Xo,useFactory:t},{provide:Ca,multi:!0,useFactory:()=>{const n=_e(d4,{optional:!0});return()=>n.initialize()}},{provide:K1,useFactory:u4},{provide:Nh,useFactory:Bh}]}(()=>l)),g=u.injector.get(Gi,null);return l.runOutsideAngular(()=>{const M=l.onError.subscribe({next:k=>{g.handleError(k)}});u.onDestroy(()=>{gc(this._modules,u),M.unsubscribe()})}),function H1(t,n,o){try{const r=o();return Zu(r)?r.catch(i=>{throw n.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>t.handleError(r)),r}}(g,l,()=>{const M=u.injector.get(Ad);
55return M.runInitializers(),M.donePromise.then(()=>(function Yf(t){Ct(t,"Expected localeId to be defined"),"string"==typeof t&&(zf=t.toLowerCase().replace(/_/g,"-"))}(u.injector.get(pc,Qs)||Qs),this._moduleDoBootstrap(u),u))})})}bootstrapModule(r,i=[]){const l=W1({},i);return function o4(t,n,o){const r=new yd(o);return Promise.resolve(r)}(0,0,r).then(u=>this.bootstrapModuleFactory(u,l))}_moduleDoBootstrap(r){const i=r.injector.get(qs);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(l=>i.bootstrap(l));else{if(!r.instance.ngDoBootstrap)throw new N(-403,!1);r.instance.ngDoBootstrap(i)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new N(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const r=this._injector.get(Bd,null);r&&(r.forEach(i=>i()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(t=n).\u0275fac=function(r){return new(r||t)(tn(zr))},t.\u0275prov=yt({token:t,factory:t.\u0275fac,providedIn:"platform"}),n})();function W1(t,n){return Array.isArray(n)?n.reduce(W1,t):{...t,...n}}let qs=(()=>{var t;class n{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=_e(K1),this.zoneIsStable=_e(Nh),this.componentTypes=[],this.components=[],this.isStable=_e(I1).hasPendingTasks.pipe((0,$.n)(r=>r?(0,V.of)(!1):this.zoneIsStable),function W(t,n=E.D){return t=t??G,(0,s.N)((o,r)=>{let i,l=!0;o.subscribe((0,I._)(r,u=>{const g=n(u);(l||!t(i,g))&&(l=!1,i=g,r.next(u))}))})}(),(0,p.u)()),this._injector=_e(li)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,i){const l=r instanceof Eh;if(!this._injector.get(Ad).done)throw!l&&zo(r),new N(405,!1);let g;g=l?r:this._injector.get(Ll).resolveComponentFactory(r),this.componentTypes.push(g.componentType);const M=function r4(t){return t.isBoundToModule}(g)?void 0:this._injector.get(ps),Q=g.create(zr.NULL,[],i||g.selector,M),Pe=Q.location.nativeElement,Xe=Q.injector.get(A1,null);return Xe?.registerApplication(Pe),Q.onDestroy(()=>{this.detachView(Q.hostView),gc(this.components,Q),Xe?.unregisterApplication(Pe)}),this._loadComponent(Q),Q}tick(){if(this._runningTick)throw new N(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const i=r;this._views.push(i),i.attachToAppRef(this)}detachView(r){const i=r;gc(this._views,i),i.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const i=this._injector.get(jd,[]);i.push(...this._bootstrapListeners),i.forEach(l=>l(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>gc(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new N(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(t=n).\u0275fac=function(r){return new(r||t)},t.\u0275prov=yt({token:t,factory:t.\u0275fac,providedIn:"root"}),n})();function gc(t,n){const o=t.indexOf(n);o>-1&&t.splice(o,1)}const K1=new Je("",{providedIn:"root",factory:()=>_e(Gi).handleError.bind(void 0)});function u4(){const t=_e(Xo),n=_e(Gi);return o=>t.runOutsideAngular(()=>n.handleError(o))}let d4=(()=>{var t;class n{constructor(){this.zone=_e(Xo),this.applicationRef=_e(qs)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(t=n).\u0275fac=function(r){return new(r||t)},t.\u0275prov=yt({token:t,factory:t.\u0275fac,providedIn:"root"}),n})();function h4(){}let g4=(()=>{class n{}return n.__NG_ELEMENT_ID__=f4,n})();function f4(t){return function m4(t,n,o){if(Wo(t)&&!o){const r=co(t.index,n);return new Da(r,r)}return 47&t.type?new Da(n[Gn],n):null}(jo(),Tt(),16==(16&t))}class q1{constructor(){}supports(n){return Wl(n)}create(n){return new M4(n)}}
vendor: 6,068 bytes, line 55
55const y4=(t,n)=>n;class M4{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||y4}forEachItem(n){let o;for(o=this._itHead;null!==o;o=o._next)n(o)}forEachOperation(n){let o=this._itHead,r=this._removalsHead,i=0,l=null;for(;o||r;){const u=!r||o&&o.currentIndex<t0(r,i,l)?o:r,g=t0(u,i,l),M=u.currentIndex;if(u===r)i--,r=r._nextRemoved;else if(o=o._next,null==u.previousIndex)i++;else{l||(l=[]);const k=g-i,Q=M-i;if(k!=Q){for(let Xe=0;Xe<k;Xe++){const ot=Xe<l.length?l[Xe]:l[Xe]=0,Pt=ot+Xe;Q<=Pt&&Pt<k&&(l[Xe]=ot+1)}l[u.previousIndex]=Q-k}}g!==M&&n(u,g,M)}}forEachPreviousItem(n){let o;for(o=this._previousItHead;null!==o;o=o._nextPrevious)n(o)}forEachAddedItem(n){let o;for(o=this._additionsHead;null!==o;o=o._nextAdded)n(o)}forEachMovedItem(n){let o;for(o=this._movesHead;null!==o;o=o._nextMoved)n(o)}forEachRemovedItem(n){let o;for(o=this._removalsHead;null!==o;o=o._nextRemoved)n(o)}forEachIdentityChange(n){let o;for(o=this._identityChangesHead;null!==o;o=o._nextIdentityChange)n(o)}diff(n){if(null==n&&(n=[]),!Wl(n))throw new N(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let i,l,u,o=this._itHead,r=!1;if(Array.isArray(n)){this.length=n.length;for(let g=0;g<this.length;g++)l=n[g],u=this._trackByFn(g,l),null!==o&&Object.is(o.trackById,u)?(r&&(o=this._verifyReinsertion(o,l,u,g)),Object.is(o.item,l)||this._addIdentityChange(o,l)):(o=this._mismatch(o,l,u,g),r=!0),o=o._next}else i=0,function s2(t,n){if(Array.isArray(t))for(let o=0;o<t.length;o++)n(t[o]);else{const o=t[Symbol.iterator]();let r;for(;!(r=o.next()).done;)n(r.value)}}(n,g=>{u=this._trackByFn(i,g),null!==o&&Object.is(o.trackById,u)?(r&&(o=this._verifyReinsertion(o,g,u,i)),Object.is(o.item,g)||this._addIdentityChange(o,g)):(o=this._mismatch(o,g,u,i),r=!0),o=o._next,i++}),this.length=i;return this._truncate(o),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,o,r,i){let l;return null===n?l=this._itTail:(l=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,o)||this._addIdentityChange(n,o),this._reinsertAfter(n,l,i)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(n.item,o)||this._addIdentityChange(n,o),this._moveAfter(n,l,i)):n=this._addAfter(new b4(o,r),l,i),n}_verifyReinsertion(n,o,r,i){let l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==l?n=this._reinsertAfter(l,n._prev,i):n.currentIndex!=i&&(n.currentIndex=i,this._addToMoves(n,i)),n}_truncate(n){for(;null!==n;){const o=n._next;this._addToRemovals(this._unlink(n)),n=o}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,o,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const i=n._prevRemoved,l=n._nextRemoved;return null===i?this._removalsHead=l:i._nextRemoved=l,null===l?this._removalsTail=i:l._prevRemoved=i,this._insertAfter(n,o,r),this._addToMoves(n,r),n}_moveAfter(n,o,r){return this._unlink(n),this._insertAfter(n,o,r),this._addToMoves(n,r),n}_addAfter(n,o,r){return this._insertAfter(n,o,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,o,r){const i=null===o?this._itHead:o._next;return n._next=i,n._prev=o,null===i?this._itTail=n:i._prev=n,null===o?this._itHead=n:o._next=n,null===this._linkedRecords&&(this._linkedRecords=new e0),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const o=n._prev,r=n._next;return null===o?this._itHead=r:o._next=r,null===r?this._itTail=o:r._prev=o,n}_addToMoves(n,o){return n.previousIndex===o||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new e0),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,o){return n.item=o,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class b4{constructor(n,o){this.item=n,this.trackById=o,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class P4{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,o){let r;for(r=this._head;null!==r;
55r=r._nextDup)if((null===o||o<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const o=n._prevDup,r=n._nextDup;return null===o?this._head=r:o._nextDup=r,null===r?this._tail=o:r._prevDup=o,null===this._head}}class e0{constructor(){this.map=new Map}put(n){const o=n.trackById;let r=this.map.get(o);r||(r=new P4,this.map.set(o,r)),r.add(n)}get(n,o){const i=this.map.get(n);return i?i.get(n,o):null}remove(n){const o=n.trackById;return this.map.get(o).remove(n)&&this.map.delete(o),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function t0(t,n,o){const r=t.previousIndex;if(null===r)return r;let i=0;return o&&r<o.length&&(i=o[r]),r+n+i}class n0{constructor(){}supports(n){return n instanceof Map||Vu(n)}create(){return new E4}}class E4{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(n){let o;for(o=this._mapHead;null!==o;o=o._next)n(o)}forEachPreviousItem(n){let o;for(o=this._previousMapHead;null!==o;o=o._nextPrevious)n(o)}forEachChangedItem(n){let o;for(o=this._changesHead;null!==o;o=o._nextChanged)n(o)}forEachAddedItem(n){let o;for(o=this._additionsHead;null!==o;o=o._nextAdded)n(o)}forEachRemovedItem(n){let o;for(o=this._removalsHead;null!==o;o=o._nextRemoved)n(o)}diff(n){if(n){if(!(n instanceof Map||Vu(n)))throw new N(900,!1)}else n=new Map;return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let o=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,i)=>{if(o&&o.key===i)this._maybeAddToChanges(o,r),this._appendAfter=o,o=o._next;else{const l=this._getOrCreateRecordForKey(i,r);o=this._insertBeforeOrAppend(o,l)}}),o){o._prev&&(o._prev._next=null),this._removalsHead=o;for(let r=o;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,o){if(n){const r=n._prev;return o._next=n,o._prev=r,n._prev=o,r&&(r._next=o),n===this._mapHead&&(this._mapHead=o),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=o,o._prev=this._appendAfter):this._mapHead=o,this._appendAfter=o,null}_getOrCreateRecordForKey(n,o){if(this._records.has(n)){const i=this._records.get(n);this._maybeAddToChanges(i,o);const l=i._prev,u=i._next;return l&&(l._next=u),u&&(u._prev=l),i._next=null,i._prev=null,i}const r=new O4(n);return this._records.set(n,r),r.currentValue=o,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,o){Object.is(o,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=o,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,o){n instanceof Map?n.forEach(o):Object.keys(n).forEach(r=>o(n[r],r))}}class O4{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function o0(){return new Wd([new q1])}let Wd=(()=>{var t;class n{constructor(r){this.factories=r}static create(r,i){if(null!=i){const l=i.factories.slice();r=r.concat(l)}return new n(r)}static extend(r){return{provide:n,useFactory:i=>n.create(r,i||o0()),deps:[[n,new ul,new cl]]}}find(r){const i=this.factories.find(l=>l.supports(r));if(null!=i)return i;throw new N(901,!1)}}return(t=n).\u0275prov=yt({token:t,providedIn:"root",factory:o0}),n})();function r0(){return new Xd([new n0])}let Xd=(()=>{var t;class n{constructor(r){this.factories=r}static create(r,i){if(i){const l=i.factories.slice();r=r.concat(l)}return new n(r)}static extend(r){return{provide:n,useFactory:i=>n.create(r,i||r0()),deps:[[n,new ul,new cl]]}}find(r){const i=this.factories.find(l=>l.supports(r));if(i)return i;throw new N(901,!1)}}return(t=n).\u0275prov=yt({token:t,providedIn:"root",factory:r0}),n})();const w4=U1(null,"core",[]);let x4=(()=>{var t;class n{constructor(r){}}return(t=n).\u0275fac=function(r){return new(r||t)(tn(qs))},t.\u0275mod=yo({type:t}),t.\u0275inj=ht({}),n})();function U4(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function V4(t,n=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?n:Number(t)}function G4(t){const n=En(t);if(!n)return null;const o=new wa(n);return{get selector(){return o.selector},get type(){return o.componentType},get inputs(){return o.inputs},get outputs(){return o.outputs},get ngContentSelectors(){return o.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}},9079:(ct,ce,a)=>{a.d(ce,{pQ:()=>x});var e=a(7019),d=a(1985),X=a(6977);
56/**
57         * @license Angular v16.2.12
58         * (c) 2010-2022 Google LLC. https://angular.io/
59         * License: MIT
60         */function x(de){de||((0,e.Af3)(x),de=(0,e.WQX)(e.abz));const Te=new d.c(Ie=>de.onDestroy(Ie.next.bind(Ie)));return Ie=>Ie.pipe((0,X.Q)(Te))}Error},9417:(ct,ce,a)=>{a.d(ce,{BC:()=>ht,Fm:()=>Pn,JD:()=>qo,MJ:()=>Qn,Q0:()=>je,X1:()=>Gr,YN:()=>Mo,cV:()=>Xn,cb:()=>me,gE:()=>Be,hs:()=>Ko,j4:()=>En,k0:()=>H,l_:()=>po,me:()=>B,qT:()=>Dt,vS:()=>Me,wz:()=>Xt,xH:()=>fn,y7:()=>Kn});var e=a(7019),d=a(177),X=a(6648),x=a(7468),O=a(6354);
61/**
62         * @license Angular v16.2.12
63         * (c) 2010-2022 Google LLC. https://angular.io/
64         * License: MIT
65         */let V=(()=>{var T;class S{constructor(R,ge){this._renderer=R,this._elementRef=ge,this.onChange=jt=>{},this.onTouched=()=>{}}setProperty(R,ge){this._renderer.setProperty(this._elementRef.nativeElement,R,ge)}registerOnTouched(R){this.onTouched=R}registerOnChange(R){this.onChange=R}setDisabledState(R){this.setProperty("disabled",R)}}return(T=S).\u0275fac=function(R){return new(R||T)(e.rXU(e.sFG),e.rXU(e.aKT))},T.\u0275dir=e.FsC({type:T}),S})(),p=(()=>{var T;class S extends V{}return(T=S).\u0275fac=function(){let se;return function(ge){return(se||(se=e.xGo(T)))(ge||T)}}(),T.\u0275dir=e.FsC({type:T,features:[e.Vt3]}),S})();const $=new e.nKC("NgValueAccessor"),I={provide:$,useExisting:(0,e.Rfq)(()=>B),multi:!0},G=new e.nKC("CompositionEventMode");let B=(()=>{var T;class S extends V{constructor(R,ge,jt){super(R,ge),this._compositionMode=jt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function W(){const T=(0,d.QT)()?(0,d.QT)().getUserAgent():"";return/android (\d+)/.test(T.toLowerCase())}())}writeValue(R){this.setProperty("value",R??"")}_handleInput(R){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(R)}_compositionStart(){this._composing=!0}_compositionEnd(R){this._composing=!1,this._compositionMode&&this.onChange(R)}}return(T=S).\u0275fac=function(R){return new(R||T)(e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(G,8))},T.\u0275dir=e.FsC({type:T,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(R,ge){1&R&&e.bIt("input",function(m
65n){return ge._handleInput(mn.target.value)})("blur",function(){return ge.onTouched()})("compositionstart",function(){return ge._compositionStart()})("compositionend",function(mn){return ge._compositionEnd(mn.target.value)})},features:[e.Jv_([I]),e.Vt3]}),S})();function J(T){return null==T||("string"==typeof T||Array.isArray(T))&&0===T.length}function z(T){return null!=T&&"number"==typeof T.length}const w=new e.nKC("NgValidators"),U=new e.nKC("NgAsyncValidators"),Z=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class H{static min(S){return function j(T){return S=>{if(J(S.value)||J(T))return null;const se=parseFloat(S.value);return!isNaN(se)&&se<T?{min:{min:T,actual:S.value}}:null}}(S)}static max(S){return function F(T){return S=>{if(J(S.value)||J(T))return null;const se=parseFloat(S.value);return!isNaN(se)&&se>T?{max:{max:T,actual:S.value}}:null}}(S)}static required(S){return function ue(T){return J(T.value)?{required:!0}:null}(S)}static requiredTrue(S){return function ae(T){return!0===T.value?null:{required:!0}}(S)}static email(S){return function N(T){return J(T.value)||Z.test(T.value)?null:{email:!0}}(S)}static minLength(S){return function te(T){return S=>J(S.value)||!z(S.value)?null:S.value.length<T?{minlength:{requiredLength:T,actualLength:S.value.length}}:null}(S)}static maxLength(S){return function ie(T){return S=>z(S.value)&&S.value.length>T?{maxlength:{requiredLength:T,actualLength:S.value.length}}:null}(S)}static pattern(S){return function re(T){if(!T)return Ee;let S,se;return"string"==typeof T?(se="","^"!==T.charAt(0)&&(se+="^"),se+=T,"$"!==T.charAt(T.length-1)&&(se+="$"),S=new RegExp(se)):(se=T.toString(),S=T),R=>{if(J(R.value))return null;const ge=R.value;return S.test(ge)?null:{pattern:{requiredPattern:se,actualValue:ge}}}}(S)}static nullValidator(S){return null}static compose(S){return bt(S)}static composeAsync(S){return ne(S)}}function Ee(T){return null}function Re(T){return null!=T}function Mt(T){return(0,e.jNT)(T)?(0,X.H)(T):T}function wt(T){let S={};return T.forEach(se=>{S=null!=se?{...S,...se}:S}),0===Object.keys(S).length?null:S}function At(T,S){return S.map(se=>se(T))}function It(T){return T.map(S=>function Et(T){return!T.validate}(S)?S:se=>S.validate(se))}function bt(T){if(!T)return null;const S=T.filter(Re);return 0==S.length?null:function(se){return wt(At(se,S))}}function st(T){return null!=T?bt(It(T)):null}function ne(T){if(!T)return null;const S=T.filter(Re);return 0==S.length?null:function(se){const R=At(se,S).map(Mt);return(0,x.p)(R).pipe((0,O.T)(wt))}}function fe(T){return null!=T?ne(It(T)):null}function le(T,S){return null===T?[S]:Array.isArray(T)?[...T,S]:[T,S]}function Ue(T){return T._rawValidators}function Fe(T){return T._rawAsyncValidators}function nt(T){return T?Array.isArray(T)?T:[T]:[]}function _t(T,S){return Array.isArray(T)?T.includes(S):T===S}function Ge(T,S){const se=nt(S);return nt(T).forEach(ge=>{_t(se,ge)||se.push(ge)}),se}function Ct(T,S){return nt(S).filter(se=>!_t(T,se))}class ze{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(S){this._rawValidators=S||[],this._composedValidatorFn=st(this._rawValidators)}_setAsyncValidators(S){this._rawAsyncValidators=S||[],this._composedAsyncValidatorFn=fe(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(S){this._onDestroyCallbacks.push(S)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(S=>S()),this._onDestroyCallbacks=[]}reset(S=void 0){this.control&&this.control.reset(S)}hasError(S,se){return!!this.control&&this.control.hasError(S,se)}getError(S,se){return this.control?this.control.getError(S,se):null}}class mt extends ze{get formDirective(){return null}get path(){return null}}class Ot extends ze{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Qe{constructor(S){this._cd=S}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}
65get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ht=(()=>{var T;class S extends Qe{constructor(R){super(R)}}return(T=S).\u0275fac=function(R){return new(R||T)(e.rXU(Ot,2))},T.\u0275dir=e.FsC({type:T,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(R,ge){2&R&&e.AVh("ng-untouched",ge.isUntouched)("ng-touched",ge.isTouched)("ng-pristine",ge.isPristine)("ng-dirty",ge.isDirty)("ng-valid",ge.isValid)("ng-invalid",ge.isInvalid)("ng-pending",ge.isPending)},features:[e.Vt3]}),S})(),me=(()=>{var T;class S extends Qe{constructor(R){super(R)}}return(T=S).\u0275fac=function(R){return new(R||T)(e.rXU(mt,10))},T.\u0275dir=e.FsC({type:T,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(R,ge){2&R&&e.AVh("ng-untouched",ge.isUntouched)("ng-touched",ge.isTouched)("ng-pristine",ge.isPristine)("ng-dirty",ge.isDirty)("ng-valid",ge.isValid)("ng-invalid",ge.isInvalid)("ng-pending",ge.isPending)("ng-submitted",ge.isSubmitted)},features:[e.Vt3]}),S})();const Je="VALID",on="INVALID",On="PENDING",He="DISABLED";function Ft(T){return(tt(T)?T.validators:T)||null}function Se(T,S){return(tt(S)?S.asyncValidators:T)||null}function tt(T){return null!=T&&!Array.isArray(T)&&"object"==typeof T}class $e{constructor(S,se){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(S),this._assignAsyncValidators(se)}get validator(){return this._composedValidatorFn}set validator(S){this._rawValidators=this._composedValidatorFn=S}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(S){this._rawAsyncValidators=this._composedAsyncValidatorFn=S}get parent(){return this._parent}get valid(){return this.status===Je}get invalid(){return this.status===on}get pending(){return this.status==On}get disabled(){return this.status===He}get enabled(){return this.status!==He}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(S){this._assignValidators(S)}setAsyncValidators(S){this._assignAsyncValidators(S)}addValidators(S){this.setValidators(Ge(S,this._rawValidators))}addAsyncValidators(S){this.setAsyncValidators(Ge(S,this._rawAsyncValidators))}removeValidators(S){this.setValidators(Ct(S,this._rawValidators))}removeAsyncValidators(S){this.setAsyncValidators(Ct(S,this._rawAsyncValidators))}hasValidator(S){return _t(this._rawValidators,S)}hasAsyncValidator(S){return _t(this._rawAsyncValidators,S)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(S={}){this.touched=!0,this._parent&&!S.onlySelf&&this._parent.markAsTouched(S)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(S=>S.markAllAsTouched())}markAsUntouched(S={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(se=>{se.markAsUntouched({onlySelf:!0})}),this._parent&&!S.onlySelf&&this._parent._updateTouched(S)}markAsDirty(S={}){this.pristine=!1,this._parent&&!S.onlySelf&&this._parent.markAsDirty(S)}markAsPristine(S={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(se=>{se.markAsPristine({onlySelf:!0})}),this._parent&&!S.onlySelf&&this._parent._updatePristine(S)}markAsPending(S={}){this.status=On,!1!==S.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!S.onlySelf&&this._parent.markAsPending(S)}disable(S={}){const se=this._parentMarkedDirty(S.onlySelf);this.status=He,this.errors=null,this._forEachChild(R=>{R.disable({...S,onlySelf:!0})}),this._updateValue(),!1!==S.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...S,skipPristineCheck:se}),this._onDisabledChange.forEach(R=>R(!0))}enable(S={}){const se=this._parentMarkedDirty(S.onlySelf);
65this.status=Je,this._forEachChild(R=>{R.enable({...S,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:S.emitEvent}),this._updateAncestors({...S,skipPristineCheck:se}),this._onDisabledChange.forEach(R=>R(!1))}_updateAncestors(S){this._parent&&!S.onlySelf&&(this._parent.updateValueAndValidity(S),S.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(S){this._parent=S}getRawValue(){return this.value}updateValueAndValidity(S={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Je||this.status===On)&&this._runAsyncValidator(S.emitEvent)),!1!==S.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!S.onlySelf&&this._parent.updateValueAndValidity(S)}_updateTreeValidity(S={emitEvent:!0}){this._forEachChild(se=>se._updateTreeValidity(S)),this.updateValueAndValidity({onlySelf:!0,emitEvent:S.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?He:Je}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(S){if(this.asyncValidator){this.status=On,this._hasOwnPendingAsyncValidator=!0;const se=Mt(this.asyncValidator(this));this._asyncValidationSubscription=se.subscribe(R=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(R,{emitEvent:S})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(S,se={}){this.errors=S,this._updateControlsErrors(!1!==se.emitEvent)}get(S){let se=S;return null==se||(Array.isArray(se)||(se=se.split(".")),0===se.length)?null:se.reduce((R,ge)=>R&&R._find(ge),this)}getError(S,se){const R=se?this.get(se):this;return R&&R.errors?R.errors[S]:null}hasError(S,se){return!!this.getError(S,se)}get root(){let S=this;for(;S._parent;)S=S._parent;return S}_updateControlsErrors(S){this.status=this._calculateStatus(),S&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(S)}_initObservables(){this.valueChanges=new e.bkB,this.statusChanges=new e.bkB}_calculateStatus(){return this._allControlsDisabled()?He:this.errors?on:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(On)?On:this._anyControlsHaveStatus(on)?on:Je}_anyControlsHaveStatus(S){return this._anyControls(se=>se.status===S)}_anyControlsDirty(){return this._anyControls(S=>S.dirty)}_anyControlsTouched(){return this._anyControls(S=>S.touched)}_updatePristine(S={}){this.pristine=!this._anyControlsDirty(),this._parent&&!S.onlySelf&&this._parent._updatePristine(S)}_updateTouched(S={}){this.touched=this._anyControlsTouched(),this._parent&&!S.onlySelf&&this._parent._updateTouched(S)}_registerOnCollectionChange(S){this._onCollectionChange=S}_setUpdateStrategy(S){tt(S)&&null!=S.updateOn&&(this._updateOn=S.updateOn)}_parentMarkedDirty(S){return!S&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(S){return null}_assignValidators(S){this._rawValidators=Array.isArray(S)?S.slice():S,this._composedValidatorFn=function ke(T){return Array.isArray(T)?st(T):T||null}(this._rawValidators)}_assignAsyncValidators(S){this._rawAsyncValidators=Array.isArray(S)?S.slice():S,this._composedAsyncValidatorFn=function Ne(T){return Array.isArray(T)?fe(T):T||null}(this._rawAsyncValidators)}}class Be extends $e{constructor(S,se,R){super(Ft(se),Se(R,se)),this.controls=S,this._initObservables(),this._setUpdateStrategy(se),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(S,se){return this.controls[S]?this.controls[S]:(this.controls[S]=se,se.setParent(this),se._registerOnCollectionChange(this._onCollectionChange),se)}addControl(S,se,R={}){this.registerControl(S,se),this.updateValueAndValidity({emitEvent:R.emitEvent}),this._onCollectionChange()}removeControl(S,se={}){this.controls[S]&&this.controls[S]._registerOnCollectionChange(()=>{}),delete this.controls[S],this.updateValueAndValidity({emitEvent:se.emitEvent}),this._onCollectionChange()}setControl(S,se,R={}){this.controls[S]&&this.controls[S]._registerOnCollectionChange(()=>{}),delete this.controls[S],se&&this.registerControl(S,se),this.updateV
65alueAndValidity({emitEvent:R.emitEvent}),this._onCollectionChange()}contains(S){return this.controls.hasOwnProperty(S)&&this.controls[S].enabled}setValue(S,se={}){(function pt(T,S,se){T._forEachChild((R,ge)=>{if(void 0===se[ge])throw new e.wOt(1002,"")})})(this,0,S),Object.keys(S).forEach(R=>{(function lt(T,S,se){const R=T.controls;if(!(S?Object.keys(R):R).length)throw new e.wOt(1e3,"");if(!R[se])throw new e.wOt(1001,"")})(this,!0,R),this.controls[R].setValue(S[R],{onlySelf:!0,emitEvent:se.emitEvent})}),this.updateValueAndValidity(se)}patchValue(S,se={}){null!=S&&(Object.keys(S).forEach(R=>{const ge=this.controls[R];ge&&ge.patchValue(S[R],{onlySelf:!0,emitEvent:se.emitEvent})}),this.updateValueAndValidity(se))}reset(S={},se={}){this._forEachChild((R,ge)=>{R.reset(S?S[ge]:null,{onlySelf:!0,emitEvent:se.emitEvent})}),this._updatePristine(se),this._updateTouched(se),this.updateValueAndValidity(se)}getRawValue(){return this._reduceChildren({},(S,se,R)=>(S[R]=se.getRawValue(),S))}_syncPendingControls(){let S=this._reduceChildren(!1,(se,R)=>!!R._syncPendingControls()||se);return S&&this.updateValueAndValidity({onlySelf:!0}),S}_forEachChild(S){Object.keys(this.controls).forEach(se=>{const R=this.controls[se];R&&S(R,se)})}_setUpControls(){this._forEachChild(S=>{S.setParent(this),S._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(S){for(const[se,R]of Object.entries(this.controls))if(this.contains(se)&&S(R))return!0;return!1}_reduceValue(){return this._reduceChildren({},(se,R,ge)=>((R.enabled||this.disabled)&&(se[ge]=R.value),se))}_reduceChildren(S,se){let R=S;return this._forEachChild((ge,jt)=>{R=se(R,ge,jt)}),R}_allControlsDisabled(){for(const S of Object.keys(this.controls))if(this.controls[S].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(S){return this.controls.hasOwnProperty(S)?this.controls[S]:null}}const rt=new e.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>St}),St="always";function Nt(T,S){return[...S.path,T]}function Yt(T,S,se=St){We(T,S),S.valueAccessor.writeValue(T.value),(T.disabled||"always"===se)&&S.valueAccessor.setDisabledState?.(T.disabled),function at(T,S){S.valueAccessor.registerOnChange(se=>{T._pendingValue=se,T._pendingChange=!0,T._pendingDirty=!0,"change"===T.updateOn&&xt(T,S)})}(T,S),function Lt(T,S){const se=(R,ge)=>{S.valueAccessor.writeValue(R),ge&&S.viewToModelUpdate(R)};T.registerOnChange(se),S._registerOnDestroy(()=>{T._unregisterOnChange(se)})}(T,S),function dt(T,S){S.valueAccessor.registerOnTouched(()=>{T._pendingTouched=!0,"blur"===T.updateOn&&T._pendingChange&&xt(T,S),"submit"!==T.updateOn&&T.markAsTouched()})}(T,S),function tn(T,S){if(S.valueAccessor.setDisabledState){const se=R=>{S.valueAccessor.setDisabledState(R)};T.registerOnDisabledChange(se),S._registerOnDestroy(()=>{T._unregisterOnDisabledChange(se)})}}(T,S)}function zt(T,S,se=!0){const R=()=>{};S.valueAccessor&&(S.valueAccessor.registerOnChange(R),S.valueAccessor.registerOnTouched(R)),_e(T,S),T&&(S._invokeOnDestroyCallbacks(),T._registerOnCollectionChange(()=>{}))}function Cn(T,S){T.forEach(se=>{se.registerOnValidatorChange&&se.registerOnValidatorChange(S)})}function We(T,S){const se=Ue(T);null!==S.validator?T.setValidators(le(se,S.validator)):"function"==typeof se&&T.setValidators([se]);const R=Fe(T);null!==S.asyncValidator?T.setAsyncValidators(le(R,S.asyncValidator)):"function"==typeof R&&T.setAsyncValidators([R]);const ge=()=>T.updateValueAndValidity();Cn(S._rawValidators,ge),Cn(S._rawAsyncValidators,ge)}function _e(T,S){let se=!1;if(null!==T){if(null!==S.validator){const ge=Ue(T);if(Array.isArray(ge)&&ge.length>0){const jt=ge.filter(mn=>mn!==S.validator);jt.length!==ge.length&&(se=!0,T.setValidators(jt))}}if(null!==S.asyncValidator){const ge=Fe(T);if(Array.isArray(ge)&&ge.length>0){const jt=ge.filter(mn=>mn!==S.asyncValidator);jt.length!==ge.length&&(se=!0,T.setAsyncValidators(jt))}}}const R=()=>{};return Cn(S._rawValidators,R),Cn(S._rawAsyncValidators,R),se}function xt(T,S){T._pendingDirty&&T.markAsDirty(),T.setValue(T._pendingValue,{emitModelToViewChange:!1}),S.viewToModelUpdate(T._pendingValue),T._pendingChange=!1}function Qt(T,S){We(T,S)}function uo(T,S){if(!T.hasOwnProperty("model"))return!1;const se=T.model;return!!se.isFirstChange()||!Object.is(S,se.currentValue)}
65function jn(T,S){T._syncPendingControls(),S.forEach(se=>{const R=se.control;"submit"===R.updateOn&&R._pendingChange&&(se.viewToModelUpdate(R._pendingValue),R._pendingChange=!1)})}function Sn(T,S){if(!S)return null;let se,R,ge;return Array.isArray(S),S.forEach(jt=>{jt.constructor===B?se=jt:function Zn(T){return Object.getPrototypeOf(T.constructor)===p}(jt)?R=jt:ge=jt}),ge||R||se||null}const Lo={provide:mt,useExisting:(0,e.Rfq)(()=>Xn)},Ln=(()=>Promise.resolve())();let Xn=(()=>{var T;class S extends mt{constructor(R,ge,jt){super(),this.callSetDisabledState=jt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.bkB,this.form=new Be({},st(R),fe(ge))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(R){Ln.then(()=>{const ge=this._findContainer(R.path);R.control=ge.registerControl(R.name,R.control),Yt(R.control,R,this.callSetDisabledState),R.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(R)})}getControl(R){return this.form.get(R.path)}
65removeControl(R){Ln.then(()=>{const ge=this._findContainer(R.path);ge&&ge.removeControl(R.name),this._directives.delete(R)})}addFormGroup(R){Ln.then(()=>{const ge=this._findContainer(R.path),jt=new Be({});Qt(jt,R),ge.registerControl(R.name,jt),jt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(R){Ln.then(()=>{const ge=this._findContainer(R.path);ge&&ge.removeControl(R.name)})}getFormGroup(R){return this.form.get(R.path)}updateModel(R,ge){Ln.then(()=>{this.form.get(R.path).setValue(ge)})}setValue(R){this.control.setValue(R)}onSubmit(R){return this.submitted=!0,jn(this.form,this._directives),this.ngSubmit.emit(R),"dialog"===R?.target?.method}onReset(){this.resetForm()}resetForm(R=void 0){this.form.reset(R),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(R){return R.pop(),R.length?this.form.get(R):this.form}}return(T=S).\u0275fac=function(R){return new(R||T)(e.rXU(w,10),e.rXU(U,10),e.rXU(rt,8))},T.\u0275dir=e.FsC({type:T,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(R,ge){1&R&&e.bIt("submit",function(mn){return ge.onSubmit(mn)})("reset",function(){return ge.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.Jv_([Lo]),e.Vt3]}),S})();function qn(T,S){const se=T.indexOf(S);se>-1&&T.splice(se,1)}function Eo(T){return"object"==typeof T&&null!==T&&2===Object.keys(T).length&&"value"in T&&"disabled"in T}const Qn=class extends $e{constructor(S=null,se,R){super(Ft(se),Se(R,se)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(S),this._setUpdateStrategy(se),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),tt(se)&&(se.nonNullable||se.initialValueIsDefault)&&(this.defaultValue=Eo(S)?S.value:S)}setValue(S,se={}){this.value=this._pendingValue=S,this._onChange.length&&!1!==se.emitModelToViewChange&&this._onChange.forEach(R=>R(this.value,!1!==se.emitViewToModelChange)),this.updateValueAndValidity(se)}patchValue(S,se={}){this.setValue(S,se)}reset(S=this.defaultValue,se={}){this._applyFormState(S),this.markAsPristine(se),this.markAsUntouched(se),this.setValue(this.value,se),this._pendingChange=!1}_updateValue(){}_anyControls(S){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(S){this._onChange.push(S)}_unregisterOnChange(S){qn(this._onChange,S)}registerOnDisabledChange(S){this._onDisabledChange.push(S)}_unregisterOnDisabledChange(S){qn(this._onDisabledChange,S)}_forEachChild(S){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(S){Eo(S)?(this.value=this._pendingValue=S.value,S.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=S}},Ko=Qn,cr={provide:Ot,useExisting:(0,e.Rfq)(()=>Me)},Zr=(()=>Promise.resolve())();let Me=(()=>{var T;class S extends Ot{constructor(R,ge,jt,mn,vo,zn){super(),this._changeDetectorRef=vo,this.callSetDisabledState=zn,this.control=new Qn,this._registered=!1,this.name="",this.update=new e.bkB,this._parent=R,this._setValidators(ge),this._setAsyncValidators(jt),this.valueAccessor=Sn(0,mn)}ngOnChanges(R){if(this._checkForErrors(),!this._registered||"name"in R){if(this._registered&&(this._checkName(),this.formDirective)){const ge=R.name.previousValue;this.formDirective.removeControl({name:ge,path:this._getPath(ge)})}this._setUpControl()}"isDisabled"in R&&this._updateDisabled(R),uo(R,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(R){this.viewModel=R,this.update.emit(R)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Yt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(R){Zr.then(()=>{this.control.setValue(R,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(R){const ge=R.isDisabled.currentValue,jt=0!==ge&&(0,e.L39)(ge);Zr.then(()=>{jt&&!this.control.disabled?this.control.disable():!jt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(R){return this._parent?Nt(R,this._parent):[R]}}return(T=S).\u0275fac=function(R){return new(R||T)(e.rXU(mt,9),e.rXU(w,10),e.rXU(U,10),e.rXU($,10),e.rXU(e.gRc,8),e.rXU(rt,8))},T.\u0275dir=e.FsC({type:T,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e.Jv_([cr]),e.Vt3,e.OA$]}),S})(),Dt=(()=>{var T;class S{}return(T=S).\u0275fac=function(R){return new(R||T)},T.\u0275dir=e.FsC({type:T,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),S})();const be={provide:$,useExisting:(0,e.Rfq)(()=>je),multi:!0};let je=(()=>{var T;class S extends p{writeValue(R){this.setProperty("value",R??"")}registerOnChange(R){this.onChange=ge=>{R(""==ge?null:parseFloat(ge))}}}return(T=S).\u0275fac=function(){let se;return function(ge){return(se||(se=e.xGo(T)))(ge||T)}}(),T.\u0275dir=e.FsC({type:T,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(R,ge){1&R&&e.bIt("input",function(m
65n){return ge.onChange(mn.target.value)})("blur",function(){return ge.onTouched()})},features:[e.Jv_([be]),e.Vt3]}),S})();const qe={provide:$,useExisting:(0,e.Rfq)(()=>Pn),multi:!0};let qt=(()=>{var T;class S{}return(T=S).\u0275fac=function(R){return new(R||T)},T.\u0275mod=e.$C({type:T}),T.\u0275inj=e.G2t({}),S})(),en=(()=>{var T;class S{constructor(){this._accessors=[]}add(R,ge){this._accessors.push([R,ge])}remove(R){for(let ge=this._accessors.length-1;ge>=0;--ge)if(this._accessors[ge][1]===R)return void this._accessors.splice(ge,1)}select(R){this._accessors.forEach(ge=>{this._isSameGroup(ge,R)&&ge[1]!==R&&ge[1].fireUncheck(R.value)})}_isSameGroup(R,ge){return!!R[0].control&&R[0]._parent===ge._control._parent&&R[1].name===ge.name}}return(T=S).\u0275fac=function(R){return new(R||T)},T.\u0275prov=e.jDH({token:T,factory:T.\u0275fac,providedIn:qt}),S})(),Pn=(()=>{var T;class S extends p{constructor(R,ge,jt,mn){super(R,ge),this._registry=jt,this._injector=mn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,e.WQX)(rt,{optional:!0})??St}ngOnInit(){this._control=this._injector.get(Ot),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(R){this._state=R===this.value,this.setProperty("checked",this._state)}registerOnChange(R){this._fn=R,this.onChange=()=>{R(this.value),this._registry.select(this)}}setDisabledState(R){(this.setDisabledStateFired||R||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",R),this.setDisabledStateFired=!0}fireUncheck(R){this.writeValue(R)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return(T=S).\u0275fac=function(R){return new(R||T)(e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(en),e.rXU(e.zZn))},T.\u0275dir=e.FsC({type:T,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(R,ge){1&R&&e.bIt("change",function(){return ge.onChange()})("blur",function(){return ge.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[e.Jv_([qe]),e.Vt3]}),S})();const xn=new e.nKC("NgModelWithFormControlWarning"),Un={provide:Ot,useExisting:(0,e.Rfq)(()=>po)};let po=(()=>{var T;class S extends Ot{set isDisabled(R){}constructor(R,ge,jt,mn,vo){super(),this._ngModelWarningConfig=mn,this.callSetDisabledState=vo,this.update=new e.bkB,this._ngModelWarningSent=!1,this._setValidators(R),this._setAsyncValidators(ge),this.valueAccessor=Sn(0,jt)}ngOnChanges(R){if(this._isControlChanged(R)){const ge=R.form.previousValue;ge&&zt(ge,this,!1),Yt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}uo(R,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&zt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(R){this.viewModel=R,this.update.emit(R)}_isControlChanged(R){return R.hasOwnProperty("form")}}return(T=S)._ngModelWarningSentOnce=!1,T.\u0275fac=function(R){return new(R||T)(e.rXU(w,10),e.rXU(U,10),e.rXU($,10),e.rXU(xn,8),e.rXU(rt,8))},T.\u0275dir=e.FsC({type:T,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e.Jv_([Un]),e.Vt3,e.OA$]}),S})();const ur={provide:mt,useExisting:(0,e.Rfq)(()=>En)};let En=(()=>{var T;class S extends mt{constructor(R,ge,jt){super(),this.callSetDisabledState=jt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.bkB,this._setValidators(R),this._setAsyncValidators(ge)}ngOnChanges(R){this._checkFormPresent(),R.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(_e(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(R){const ge=this.form.get(R.path);return Yt(ge,R,this.callSetDisabledState),ge.updateValueAndValidity({emitEvent:!1}),this.directives.push(R),ge}getControl(R){return this.form.get(R.path)}
65removeControl(R){zt(R.control||null,R,!1),function Mn(T,S){const se=T.indexOf(S);se>-1&&T.splice(se,1)}(this.directives,R)}addFormGroup(R){this._setUpFormContainer(R)}removeFormGroup(R){this._cleanUpFormContainer(R)}getFormGroup(R){return this.form.get(R.path)}addFormArray(R){this._setUpFormContainer(R)}removeFormArray(R){this._cleanUpFormContainer(R)}getFormArray(R){return this.form.get(R.path)}updateModel(R,ge){this.form.get(R.path).setValue(ge)}onSubmit(R){return this.submitted=!0,jn(this.form,this.directives),this.ngSubmit.emit(R),"dialog"===R?.target?.method}onReset(){this.resetForm()}resetForm(R=void 0){this.form.reset(R),this.submitted=!1}_updateDomValue(){this.directives.forEach(R=>{const ge=R.control,jt=this.form.get(R.path);ge!==jt&&(zt(ge||null,R),(T=>T instanceof Qn)(jt)&&(Yt(jt,R,this.callSetDisabledState),R.control=jt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(R){const ge=this.form.get(R.path);Qt(ge,R),ge.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(R){if(this.form){const ge=this.form.get(R.path);ge&&function Zt(T,S){return _e(T,S)}(ge,R)&&ge.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){We(this.form,this),this._oldForm&&_e(this._oldForm,this)}_checkFormPresent(){}}return(T=S).\u0275fac=function(R){return new(R||T)(e.rXU(w,10),e.rXU(U,10),e.rXU(rt,8))},T.\u0275dir=e.FsC({type:T,selectors:[["","formGroup",""]],hostBindings:function(R,ge){1&R&&e.bIt("submit",function(mn){return ge.onSubmit(mn)})("reset",function(){return ge.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e.Jv_([ur]),e.Vt3,e.OA$]}),S})();const kr={provide:Ot,useExisting:(0,e.Rfq)(()=>qo)};let qo=(()=>{var T;class S extends Ot{set isDisabled(R){}constructor(R,ge,jt,mn,vo){super(),this._ngModelWarningConfig=vo,this._added=!1,this.name=null,this.update=new e.bkB,this._ngModelWarningSent=!1,this._parent=R,this._setValidators(ge),this._setAsyncValidators(jt),this.valueAccessor=Sn(0,mn)}ngOnChanges(R){this._added||this._setUpControl(),uo(R,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(R){this.viewModel=R,this.update.emit(R)}get path(){return Nt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return(T=S)._ngModelWarningSentOnce=!1,T.\u0275fac=function(R){return new(R||T)(e.rXU(mt,13),e.rXU(w,10),e.rXU(U,10),e.rXU($,10),e.rXU(xn,8))},T.\u0275dir=e.FsC({type:T,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e.Jv_([kr]),e.Vt3,e.OA$]}),S})();const Vr={provide:$,useExisting:(0,e.Rfq)(()=>Xt),multi:!0};function vr(T,S){return null==T?`${S}`:(S&&"object"==typeof S&&(S="Object"),`${T}: ${S}`.slice(0,50))}let Xt=(()=>{var T;class S extends p{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(R){this._compareWith=R}writeValue(R){this.value=R;const jt=vr(this._getOptionId(R),R);this.setProperty("value",jt)}registerOnChange(R){this.onChange=ge=>{this.value=this._getOptionValue(ge),R(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(R){for(const ge of this._optionMap.keys())if(this._compareWith(this._optionMap.get(ge),R))return ge;return null}_getOptionValue(R){const ge=function Vn(T){return T.split(":")[0]}(R);return this._optionMap.has(ge)?this._optionMap.get(ge):R}}return(T=S).\u0275fac=function(){let se;return function(ge){return(se||(se=e.xGo(T)))(ge||T)}}(),T.\u0275dir=e.FsC({type:T,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(R,ge){1&R&&e.bIt("change",function(m
65n){return ge.onChange(mn.target.value)})("blur",function(){return ge.onTouched()})},inputs:{compareWith:"compareWith"},features:[e.Jv_([Vr]),e.Vt3]}),S})(),fn=(()=>{var T;class S{constructor(R,ge,jt){this._element=R,this._renderer=ge,this._select=jt,this._select&&(this.id=this._select._registerOption())}set ngValue(R){null!=this._select&&(this._select._optionMap.set(this.id,R),this._setElementValue(vr(this.id,R)),this._select.writeValue(this._select.value))}set value(R){this._setElementValue(R),this._select&&this._select.writeValue(this._select.value)}_setElementValue(R){this._renderer.setProperty(this._element.nativeElement,"value",R)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(T=S).\u0275fac=function(R){return new(R||T)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(Xt,9))},T.\u0275dir=e.FsC({type:T,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),S})();const An={provide:$,useExisting:(0,e.Rfq)(()=>Yo),multi:!0};function ho(T,S){return null==T?`${S}`:("string"==typeof S&&(S=`'${S}'`),S&&"object"==typeof S&&(S="Object"),`${T}: ${S}`.slice(0,50))}let Yo=(()=>{var T;class S extends p{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(R){this._compareWith=R}writeValue(R){let ge;if(this.value=R,Array.isArray(R)){const jt=R.map(mn=>this._getOptionId(mn));ge=(mn,vo)=>{mn._setSelected(jt.indexOf(vo.toString())>-1)}}else ge=(jt,mn)=>{jt._setSelected(!1)};this._optionMap.forEach(ge)}registerOnChange(R){this.onChange=ge=>{const jt=[],mn=ge.selectedOptions;if(void 0!==mn){const vo=mn;for(let zn=0;zn<vo.length;zn++){const ei=this._getOptionValue(vo[zn].value);jt.push(ei)}}else{const vo=ge.options;for(let zn=0;zn<vo.length;zn++){const So=vo[zn];if(So.selected){const ei=this._getOptionValue(So.value);jt.push(ei)}}}this.value=jt,R(jt)}}_registerOption(R){const ge=(this._idCounter++).toString();return this._optionMap.set(ge,R),ge}_getOptionId(R){for(const ge of this._optionMap.keys())if(this._compareWith(this._optionMap.get(ge)._value,R))return ge;return null}_getOptionValue(R){const ge=function er(T){return T.split(":")[0]}(R);return this._optionMap.has(ge)?this._optionMap.get(ge)._value:R}}return(T=S).\u0275fac=function(){let se;return function(ge){return(se||(se=e.xGo(T)))(ge||T)}}(),T.\u0275dir=e.FsC({type:T,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(R,ge){1&R&&e.bIt("change",function(mn){return ge.onChange(mn.target)})("blur",function(){return ge.onTouched()})},inputs:{compareWith:"compareWith"},features:[e.Jv_([An]),e.Vt3]}),S})(),Kn=(()=>{var T;class S{constructor(R,ge,jt){this._element=R,this._renderer=ge,this._select=jt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(R){null!=this._select&&(this._value=R,this._setElementValue(ho(this.id,R)),this._select.writeValue(this._select.value))}set value(R){this._select?(this._value=R,this._setElementValue(ho(this.id,R)),this._select.writeValue(this._select.value)):this._setElementValue(R)}_setElementValue(R){this._renderer.setProperty(this._element.nativeElement,"value",R)}_setSelected(R){this._renderer.setProperty(this._element.nativeElement,"selected",R)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(T=S).\u0275fac=function(R){return new(R||T)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(Yo,9))},T.\u0275dir=e.FsC({type:T,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),S})(),or=(()=>{var T;class S{}return(T=S).\u0275fac=function(R){return new(R||T)},T.\u0275mod=e.$C({type:T}),T.\u0275inj=e.G2t({imports:[qt]}),S})(),Mo=(()=>{var T;class S{static withConfig(R){return{ngModule:S,providers:[{provide:rt,useValue:R.callSetDisabledState??St}]}}}return(T=S).\u0275fac=function(R){return new(R||T)},T.\u0275mod=e.$C({type:T}),T.\u0275inj=e.G2t({imports:[or]}),S})(),Gr=(()=>{var T;class S{static withConfig(R){return{ngModule:S,providers:[{provide:xn,useValue:R.warnOnNgModelWithFormControl??"always"},{provide:rt,useValue:R.callSetDisabledState??St}]}}}return(T=S).\u0275fac=function(R){return new(R||T)},T.\u0275mod=e.$C({type:T}),T.\u0275inj=e.G2t({imports:[or]}),S})()},345:(ct,ce,a)=>{a.d(ce,{B7:()=>te,Bb:()=>yt,W8:()=>ht,hE:()=>we,sG:()=>ze,up:()=>on});var e=a(7019),d=a(177);
66/**
67         * @license Angular v16.2.12
68         * (c) 2010-2022 Google LLC. https://angular.io/
69         * License: MIT
70         */class X extends d.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class x extends X{static makeCurrent(){(0,d.ZD)(new x)}onAndCancel(ve,Ce,oe){return ve.addEventListener(Ce,oe),()=>{ve.removeEventListener(Ce,oe)}}dispatchEvent(ve,Ce){ve.dispatchEvent(Ce)}remove(ve){ve.parentNode&&ve.parentNode.removeChild(ve)}createElement(ve,Ce){return(Ce=Ce||this.getDefaultDocument()).createElement(ve)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ve){return ve.nodeType===Node.ELEMENT_NODE}isShadowRoot(ve){return ve instanceof DocumentFragment}getGlobalEventTarget(ve,Ce){return"window"===Ce?window:"document"===Ce?ve:"body"===Ce?ve.body:null}getBaseHref(ve){const Ce=function V(){return O=O||document.querySelector("base"),O?O.getAttribute("href"):null}();return null==Ce?null:function $(Be){p=p||document.createElement("a"),p.setAttribute("href",Be);const ve=p.pathname;return"/"===ve.charAt(0)?ve:`/${ve}`}(Ce)}resetBaseElement(){O=null}getUserAgent(){return window.navigator.userAgent}getCookie(ve){return(0,d._b)(document.cookie,ve)}}let p,O=null,s=(()=>{var Be;class ve{build(){return new XMLHttpRequest}}return(Be=ve).\u0275fac=function(oe){return new(oe||Be)},Be.\u0275prov=e.jDH({token:Be,factory:Be.\u0275fac}),ve})();const I=new e.nKC("EventManagerPlugins");let W=(()=>{var Be;class ve{constructor(oe,De){this._zone=De,this._eventNameToPlugin=new Map,oe.forEach(rt=>{rt.manager=this}),this._plugins=oe.slice().reverse()}addEventListener(oe,De,rt){return this._findPluginFor(De).addEventListener(oe,De,rt)}getZone(){return this._zone}_findPluginFor(oe){let De=this._eventNameToPlugin.get(oe);if(De)return De;if(De=this._plugins.find(St=>St.supports(oe)),!De)throw new e.wOt(5101,!1);return this._eventNameToPlugin.set(oe,De),De}}return(Be=ve).\u0275fac=function(oe){return new(oe||Be)(e.KVO(I),e.KVO(e.SKi))},Be.\u0275prov=e.jDH({token:Be,factory:Be.\u0275fac}),ve})();class G{constructor(ve){this._doc=ve}}const B="ng-app-id";let J=(()=>{var Be;class ve{constructor(oe,De,rt,St={}){this.doc=oe,this.appId=De,this.nonce=rt,this.platformId=St,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,d.Vy)(St),this.resetHostNodes()}
70addStyles(oe){for(const De of oe)1===this.changeUsageCount(De,1)&&this.onStyleAdded(De)}removeStyles(oe){for(const De of oe)this.changeUsageCount(De,-1)<=0&&this.onStyleRemoved(De)}ngOnDestroy(){const oe=this.styleNodesInDOM;oe&&(oe.forEach(De=>De.remove()),oe.clear());for(const De of this.getAllStyles())this.onStyleRemoved(De);this.resetHostNodes()}addHost(oe){this.hostNodes.add(oe);for(const De of this.getAllStyles())this.addStyleToHost(oe,De)}removeHost(oe){this.hostNodes.delete(oe)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(oe){for(const De of this.hostNodes)this.addStyleToHost(De,oe)}onStyleRemoved(oe){const De=this.styleRef;De.get(oe)?.elements?.forEach(rt=>rt.remove()),De.delete(oe)}collectServerRenderedStyles(){const oe=this.doc.head?.querySelectorAll(`style[${B}="${this.appId}"]`);if(oe?.length){const De=new Map;return oe.forEach(rt=>{null!=rt.textContent&&De.set(rt.textContent,rt)}),De}return null}changeUsageCount(oe,De){const rt=this.styleRef;if(rt.has(oe)){const St=rt.get(oe);return St.usage+=De,St.usage}return rt.set(oe,{usage:De,elements:[]}),De}getStyleElement(oe,De){const rt=this.styleNodesInDOM,St=rt?.get(De);if(St?.parentNode===oe)return rt.delete(De),St.removeAttribute(B),St;{const Nt=this.doc.createElement("style");return this.nonce&&Nt.setAttribute("nonce",this.nonce),Nt.textContent=De,this.platformIsServer&&Nt.setAttribute(B,this.appId),Nt}}addStyleToHost(oe,De){const rt=this.getStyleElement(oe,De);oe.appendChild(rt);const St=this.styleRef,Nt=St.get(De)?.elements;Nt?Nt.push(rt):St.set(De,{elements:[rt],usage:1})}resetHostNodes(){const oe=this.hostNodes;oe.clear(),oe.add(this.doc.head)}}return(Be=ve).\u0275fac=function(oe){return new(oe||Be)(e.KVO(d.qQ),e.KVO(e.sZ2),e.KVO(e.BIS,8),e.KVO(e.Agw))},Be.\u0275prov=e.jDH({token:Be,factory:Be.\u0275fac}),ve})();const z={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},w=/%COMP%/g,U="%COMP%",Z=`_nghost-${U}`,H=`_ngcontent-${U}`,F=new e.nKC("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function N(Be,ve){return ve.map(Ce=>Ce.replace(w,Be))}let te=(()=>{var Be;class ve{constructor(oe,De,rt,St,Nt,Yt,zt,Cn=null){this.eventManager=oe,this.sharedStylesHost=De,this.appId=rt,this.removeStylesOnCompDestroy=St,this.doc=Nt,this.platformId=Yt,this.ngZone=zt,this.nonce=Cn,this.rendererByCompId=new Map,this.platformIsServer=(0,d.Vy)(Yt),this.defaultRenderer=new ie(oe,Nt,zt,this.platformIsServer)}createRenderer(oe,De){if(!oe||!De)return this.defaultRenderer;this.platformIsServer&&De.encapsulation===e.gXe.ShadowDom&&(De={...De,encapsulation:e.gXe.Emulated});const rt=this.getOrCreateRenderer(oe,De);return rt instanceof At?rt.applyToHost(oe):rt instanceof wt&&rt.applyStyles(),rt}getOrCreateRenderer(oe,De){const rt=this.rendererByCompId;let St=rt.get(De.id);if(!St){const Nt=this.doc,Yt=this.ngZone,zt=this.eventManager,Cn=this.sharedStylesHost,tn=this.removeStylesOnCompDestroy,We=this.platformIsServer;switch(De.encapsulation){case e.gXe.Emulated:St=new At(zt,Cn,De,this.appId,tn,Nt,Yt,We);break;case e.gXe.ShadowDom:return new Mt(zt,Cn,oe,De,Nt,Yt,this.nonce,We);default:St=new wt(zt,Cn,De,tn,Nt,Yt,We)}rt.set(De.id,St)}return St}ngOnDestroy(){this.rendererByCompId.clear()}}return(Be=ve).\u0275fac=function(oe){return new(oe||Be)(e.KVO(W),e.KVO(J),e.KVO(e.sZ2),e.KVO(F),e.KVO(d.qQ),e.KVO(e.Agw),e.KVO(e.SKi),e.KVO(e.BIS))},Be.\u0275prov=e.jDH({token:Be,factory:Be.\u0275fac}),ve})();class ie{constructor(ve,Ce,oe,De){this.eventManager=ve,this.doc=Ce,this.ngZone=oe,this.platformIsServer=De,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ve,Ce){return Ce?this.doc.createElementNS(z[Ce]||Ce,ve):this.doc.createElement(ve)}createComment(ve){return this.doc.createComment(ve)}createText(ve){return this.doc.createTextNode(ve)}appendChild(ve,Ce){(Re(ve)?ve.content:ve).appendChild(Ce)}insertBefore(ve,Ce,oe){ve&&(Re(ve)?ve.content:ve).insertBefore(Ce,oe)}removeChild(ve,Ce){ve&&ve.removeChild(Ce)}selectRootElement(ve,Ce){let oe="string"==typeof ve?this.doc.querySelector(ve):ve;if(!oe)throw new e.wOt(-5104,!1);return Ce||(oe.textContent=""),oe}parentNode(ve){return ve.parentNode}nextSibling(ve){return ve.nextSibling}setAttribute(ve,Ce,oe,De){if(De){Ce=De+":"+Ce;const rt=z[De];rt?ve.setAttributeNS(rt,Ce,oe):ve.setAttribute(Ce,oe)}else ve.setAttribute(Ce,oe)}removeAttribute(ve,Ce,oe){if(oe){const De=z[oe];De?ve.removeAttributeNS(De,Ce):ve.removeAttribute(`${oe}:${Ce}`)}else ve.removeAttribute(Ce)}addClass(ve,Ce){ve.classList.add(Ce)}removeClass(ve,Ce){ve.classList.remove(Ce)}setStyle(ve,Ce,oe,De){De&(e.czy.DashCase|e.czy.Important)?ve.style.setProperty(Ce,oe,De&e.czy.Important?"important":""):ve.style[Ce]=oe}removeStyle(ve,Ce,oe){oe&e.czy.DashCase?ve.style.removeProperty(Ce):ve.style[Ce]=""}setProperty(ve,Ce,oe){ve[Ce]=oe}setValue(ve,Ce){ve.nodeValue=Ce}listen(ve,Ce,oe){if("string"==typeof ve&&!(ve=(0,d.QT)().getGlobalEventTarget(this.doc,ve)))throw new Error(`Unsupported event target ${ve} for event ${Ce}`);return this.eventManager.addEventListener(ve,Ce,this.decoratePreventDefault(oe))}decoratePreventDefault(ve){return Ce=>{if("__ngUnwrap__"===Ce)return ve;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ve(Ce)):ve(Ce))&&Ce.preventDefault()}}}function Re(Be){return"TEMPLATE"===Be.tagName&&void 0!==Be.content}class Mt extends ie{constructor(ve,Ce,oe,De,rt,St,Nt,Yt){super(ve,rt,St,Yt),this.sharedStylesHost=Ce,this.hostEl=oe,this.shadowRoot=oe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);
70const zt=N(De.id,De.styles);for(const Cn of zt){const tn=document.createElement("style");Nt&&tn.setAttribute("nonce",Nt),tn.textContent=Cn,this.shadowRoot.appendChild(tn)}}nodeOrShadowRoot(ve){return ve===this.hostEl?this.shadowRoot:ve}appendChild(ve,Ce){return super.appendChild(this.nodeOrShadowRoot(ve),Ce)}insertBefore(ve,Ce,oe){return super.insertBefore(this.nodeOrShadowRoot(ve),Ce,oe)}removeChild(ve,Ce){return super.removeChild(this.nodeOrShadowRoot(ve),Ce)}parentNode(ve){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ve)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class wt extends ie{constructor(ve,Ce,oe,De,rt,St,Nt,Yt){super(ve,rt,St,Nt),this.sharedStylesHost=Ce,this.removeStylesOnCompDestroy=De,this.styles=Yt?N(Yt,oe.styles):oe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class At extends wt{constructor(ve,Ce,oe,De,rt,St,Nt,Yt){const zt=De+"-"+oe.id;super(ve,Ce,oe,rt,St,Nt,Yt,zt),this.contentAttr=function ue(Be){return H.replace(w,Be)}(zt),this.hostAttr=function ae(Be){return Z.replace(w,Be)}(zt)}applyToHost(ve){this.applyStyles(),this.setAttribute(ve,this.hostAttr,"")}createElement(ve,Ce){const oe=super.createElement(ve,Ce);return super.setAttribute(oe,this.contentAttr,""),oe}}let Et=(()=>{var Be;class ve extends G{constructor(oe){super(oe)}supports(oe){return!0}addEventListener(oe,De,rt){return oe.addEventListener(De,rt,!1),()=>this.removeEventListener(oe,De,rt)}removeEventListener(oe,De,rt){return oe.removeEventListener(De,rt)}}return(Be=ve).\u0275fac=function(oe){return new(oe||Be)(e.KVO(d.qQ))},Be.\u0275prov=e.jDH({token:Be,factory:Be.\u0275fac}),ve})();const It=["alt","control","meta","shift"],bt={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},st={alt:Be=>Be.altKey,control:Be=>Be.ctrlKey,meta:Be=>Be.metaKey,shift:Be=>Be.shiftKey};let ne=(()=>{var Be;class ve extends G{constructor(oe){super(oe)}supports(oe){return null!=ve.parseEventName(oe)}addEventListener(oe,De,rt){const St=ve.parseEventName(De),Nt=ve.eventCallback(St.fullKey,rt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,d.QT)().onAndCancel(oe,St.domEventName,Nt))}static parseEventName(oe){const De=oe.toLowerCase().split("."),rt=De.shift();if(0===De.length||"keydown"!==rt&&"keyup"!==rt)return null;const St=ve._normalizeKey(De.pop());let Nt="",Yt=De.indexOf("code");if(Yt>-1&&(De.splice(Yt,1),Nt="code."),It.forEach(Cn=>{const tn=De.indexOf(Cn);tn>-1&&(De.splice(tn,1),Nt+=Cn+".")}),Nt+=St,0!=De.length||0===St.length)return null;const zt={};return zt.domEventName=rt,zt.fullKey=Nt,zt}static matchEventFullKeyCode(oe,De){let rt=bt[oe.key]||oe.key,St="";return De.indexOf("code.")>-1&&(rt=oe.code,St="code."),!(null==rt||!rt)&&(rt=rt.toLowerCase()," "===rt?rt="space":"."===rt&&(rt="dot"),It.forEach(Nt=>{Nt!==rt&&(0,st[Nt])(oe)&&(St+=Nt+".")}),St+=rt,St===De)}static eventCallback(oe,De,rt){return St=>{ve.matchEventFullKeyCode(St,oe)&&rt.runGuarded(()=>De(St))}}static _normalizeKey(oe){return"esc"===oe?"escape":oe}}return(Be=ve).\u0275fac=function(oe){return new(oe||Be)(e.KVO(d.qQ))},Be.\u0275prov=e.jDH({token:Be,factory:Be.\u0275fac}),ve})();const ze=(0,e.oH4)(e.fpN,"browser",[{provide:e.Agw,useValue:d.AJ},{provide:e.PLl,useValue:function nt(){x.makeCurrent()},multi:!0},{provide:d.qQ,useFactory:function Ge(){return(0,e.TL$)(document),document},deps:[]}]),mt=new e.nKC(""),Ot=[{provide:e.e01,useClass:class E{addToWindow(ve){e.JZv.getAngularTestability=(oe,De=!0)=>{const rt=ve.findTestabilityInTree(oe,De);if(null==rt)throw new e.wOt(5103,!1);return rt},e.JZv.getAllAngularTestabilities=()=>ve.getAllTestabilities(),e.JZv.getAllAngularRootElements=()=>ve.getAllRootElements(),e.JZv.frameworkStabilizers||(e.JZv.frameworkStabilizers=[]),e.JZv.frameworkStabilizers.push(oe=>{const De=e.JZv.getAllAngularTestabilities();let rt=De.length,St=!1;const Nt=function(Yt){St=St||Yt,rt--,0==rt&&oe(St)};De.forEach(Yt=>{Yt.whenStable(Nt)})})}findTestabilityInTree(ve,Ce,oe){return null==Ce?null:ve.getTestability(Ce)??(oe?(0,d.QT)().isShadowRoot(Ce)?this.findTestabilityInTree(ve,Ce.host,!0):this.findTestabilityInTree(ve,Ce.parentElement,!0):null)}},deps:[]},{provide:e.WHO,useClass:e.NYb,deps:[e.SKi,e.giA,e.e01]},{provide:e.NYb,useClass:e.NYb,deps:[e.SKi,e.giA,e.e01]}],Qe=[{provide:e.H8p,useValue:"root"},{provide:e.zcH,useFactory:function _t(){return new e.zcH},deps:[]},{provide:I,useClass:Et,multi:!0,deps:[d.qQ,e.SKi,e.Agw]},{provide:I,useClass:ne,multi:!0,deps:[d.qQ]},te,J,W,{provide:e._9s,useExisting:te},{provide:d.N0,useClass:s,deps:[]},[]];let yt=(()=>{var Be;class ve{constructor(oe){}static withServerTransition(oe){return{ngModule:ve,providers:[{provide:e.sZ2,useValue:oe.appId}]}}}return(Be=ve).\u0275fac=function(oe){return new(oe||Be)(e.KVO(mt,12))},Be.\u0275mod=e.$C({type:Be}),Be.\u0275inj=e.G2t({providers:[...Qe,...Ot],imports:[d.MD,e.Hbi]}),ve})(),ht=(()=>{var Be;class ve{constructor(oe){this._doc=oe,this._dom=(0,d.QT)()}addTag(oe,De=!1){return oe?this._getOrCreateElement(oe,De):null}addTags(oe,De=!1){return oe?oe.reduce((rt,St)=>(St&&rt.push(this._getOrCreateElement(St,De)),rt),[]):[]}getTag(oe){return oe&&this._doc.querySelector(`meta[${oe}]`)||null}getTags(oe){if(!oe)return[];const De=this._doc.querySelectorAll(`meta[${oe}]`);return De?[].slice.call(De):[]}updateTag(oe,De){if(!oe)return null;De=De||this._parseSelector(oe);const rt=this.getTag(De);return rt?this._setMetaElementAttributes(oe,rt):this._getOrCreateElement(oe,!0)}removeTag(oe){this.removeTagElement(this.getTag(oe))}removeTagElement(oe){oe&&this._dom.remove(oe)}_getOrCreateElement(oe,De=!1){if(!De){const Nt=this._parseSelector(oe),Yt=this.getTags(Nt).filter(zt=>this._containsAttributes(oe,zt))[0];if(void 0!==Yt)return Yt}const rt=this._dom.createElement("meta");return this._setMetaElementAttributes(oe,rt),this._doc.getElementsByTagName("head")[0].appendChild(rt),rt}_setMetaElementAttributes(oe,De){return Object.keys(oe).forEach(rt=>De.setAttribute(this._getMetaKeyMap(rt),oe[rt])),De}_parseSelector(oe){const De=oe.name?"name":"property";return`${De}="${oe[De]}"`}_containsAttributes(oe,De){return Object.keys(oe).every(rt=>De.getAttribute(this._getMetaKeyMap(rt))===oe[rt])}_getMetaKeyMap(oe){return me[oe]||oe}}return(Be=ve).\u0275fac=function(oe){return new(oe||Be)(e.KVO(d.qQ))},Be.\u0275prov=e.jDH({token:Be,factory:function(oe){let De=null;return De=oe?new oe:function ut(){return new ht((0,e.KVO)(d.qQ))}(),De},providedIn:"root"}),ve})();const me={httpEquiv:"http-equiv"};let we=(()=>{var Be;class ve{constructor(oe){this._doc=oe}getTitle(){return this._doc.title}setTitle(oe){this._doc.title=oe||""}}return(Be=ve).\u0275fac=function(oe){return new(oe||Be)(e.KVO(d.qQ))},Be.\u0275prov=e.jDH({token:Be,factory:function(oe){let De=null;return De=oe?new oe:function et(){return new we((0,e.KVO)(d.qQ))}(),De},providedIn:"root"}),ve})();typeof window<"u"&&window;let on=(()=>{var Be;class ve{}return(Be=ve).\u0275fac=function(oe){return new(oe||Be)},Be.\u0275prov=e.jDH({token:Be,factory:function(oe){let De=null;return De=oe?new(oe||Be):e.KVO(He),De},providedIn:"root"}),ve})(),He=(()=>{var Be;class ve extends on{constructor(oe){super(),this._doc=oe}sanitize(oe,De){if(null==De)return null;switch(oe){case e.WPN.NONE:return De;case e.WPN.HTML:return(0,e.ZF7)(De,"HTML")?(0,e.rcV)(De):(0,e.h9k)(this._doc,String(De)).toString();case e.WPN.STYLE:return(0,e.ZF7)(De,"Style")?(0,e.rcV)(De):De;case e.WPN.SCRIPT:if((0,e.ZF7)(De,"Script"))return(0,e.rcV)(De);throw new e.wOt(5200,!1);case e.WPN.URL:return(0,e.ZF7)(De,"URL")?(0,e.rcV)(De):(0,e.$MX)(String(De));case e.WPN.RESOURCE_URL:if((0,e.ZF7)(De,"ResourceURL"))return(0,e.rcV)(De);throw new e.wOt(5201,!1);default:throw new e.wOt(5202,!1)}}bypassSecurityTrustHtml(oe){return(0,e.Kcf)(oe)}bypassSecurityTrustStyle(oe){return(0,e.cWb)(oe)}bypassSecurityTrustScript(oe){return(0,e.UyX)(oe)}bypassSecurityTrustUrl(oe){return(0,e.osQ)(oe)}bypassSecurityTrustResourceUrl(oe){return(0,e.e5t)(oe)}}return(Be=ve).\u0275fac=function(oe){return new(oe||Be)(e.KVO(d.qQ))},Be.\u0275prov=e.jDH({token:Be,factory:function(oe){let De=null;return De=oe?new oe:function On(Be){return new He(Be.get(d.qQ))}(e.KVO(e.zZn)),De},providedIn:"root"}),ve})()},430:(ct,ce,a)=>{a.d(ce,{nX:()=>Fn,wF:()=>Qn,Ix:()=>
70xo,Wk:()=>si,wQ:()=>Ht,iI:()=>Tt,n3:()=>Xt,OY:()=>je,lh:()=>to,oH:()=>Ei,Ii:()=>Cc});var e=a(7019),d=a(1985),X=a(8071),O=a(6648),V=a(7673),p=a(4412),$=a(4572),E=a(9350),s=a(8793),I=a(8750);function W(f){return new d.c(y=>{(0,I.Tg)(f()).subscribe(y)})}var G=a(1203),B=a(8810),J=a(983),z=a(8359),w=a(9974),U=a(4360);function Z(){return(0,w.N)((f,y)=>{let b=null;f._refCount++;const C=(0,U._)(y,void 0,void 0,void 0,()=>{if(!f||f._refCount<=0||0<--f._refCount)return void(b=null);const D=f._connection,q=b;b=null,D&&(!q||D===q)&&D.unsubscribe(),y.unsubscribe()});f.subscribe(C),C.closed||(b=f.connect())})}class H extends d.c{constructor(y,b){super(),this.source=y,this.subjectFactory=b,this._subject=null,this._refCount=0,this._connection=null,(0,w.S)(y)&&(this.lift=y.lift)}_subscribe(y){return this.getSubject().subscribe(y)}getSubject(){const y=this._subject;return(!y||y.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:y}=this;this._subject=this._connection=null,y?.unsubscribe()}connect(){let y=this._connection;if(!y){y=this._connection=new z.yU;const b=this.getSubject();y.add(this.source.subscribe((0,U._)(b,void 0,()=>{this._teardown(),b.complete()},C=>{this._teardown(),b.error(C)},()=>this._teardown()))),y.closed&&(this._connection=null,y=z.yU.EMPTY)}return y}refCount(){return Z()(this)}}var j=a(1413),F=a(177),ue=a(6354),ae=a(5558),N=a(6697),te=a(9172),ie=a(5964),re=a(1397),Ee=a(1594),Re=a(274),Mt=a(8141),wt=a(9437);var It=a(9901);function bt(f){return f<=0?()=>J.w:(0,w.N)((y,b)=>{let C=[];y.subscribe((0,U._)(b,D=>{C.push(D),f<C.length&&C.shift()},()=>{for(const D of C)b.next(D);b.complete()},void 0,()=>{C=null}))})}var st=a(3774),ne=a(3669),le=a(3703),Ue=a(980),Fe=a(6977),nt=a(6365),_t=a(345);
71/**
72         * @license Angular v16.2.12
73         * (c) 2010-2022 Google LLC. https://angular.io/
74         * License: MIT
75         */
76const Ge="primary",Ct=Symbol("RouteTitle");class ze{constructor(y){this.params=y||{}}has(y){return Object.prototype.hasOwnProperty.call(this.params,y)}get(y){if(this.has(y)){const b=this.params[y];return Array.isArray(b)?b[0]:b}return null}getAll(y){if(this.has(y)){const b=this.params[y];return Array.isArray(b)?b:[b]}return[]}get keys(){return Object.keys(this.params)}}function mt(f){return new ze(f)}function Ot(f,y,b){const C=b.path.split("/");if(C.length>f.length||"full"===b.pathMatch&&(y.hasChildren()||C.length<f.length))return null;const D={};for(let q=0;q<C.length;q++){const he=C[q],it=f[q];if(he.startsWith(":"))D[he.substring(1)]=it;else if(he!==it.path)return null}return{consumed:f.slice(0,C.length),posParams:D}}function yt(f,y){const b=f?Object.keys(f):void 0,C=y?Object.keys(y):void 0;if(!b||!C||b.length!=C.length)return!1;let D;for(let q=0;q<b.length;q++)if(D=b[q],!ut(f[D],y[D]))return!1;return!0}function ut(f,y){if(Array.isArray(f)&&Array.isArray(y)){if(f.length!==y.length)return!1;const b=[...f].sort(),C=[...y].sort();return b.every((D,q)=>C[q]===D)}return f===y}function ht(f){return f.length>0?f[f.length-1]:null}function me(f){return function x(f){return!!f&&(f instanceof d.c||(0,X.T)(f.lift)&&(0,X.T)(f.subscribe))}(f)?f:(0,e.jNT)(f)?(0,O.H)(Promise.resolve(f)):(0,V.of)(f)}const et={exact:function Te(f,y,b){if(!Ke(f.segments,y.segments)||!Oe(f.segments,y.segments,b)||f.numberOfChildren!==y.numberOfChildren)return!1;for(const C in y.children)if(!f.children[C]||!Te(f.children[C],y.children[C],b))return!1;return!0},subset:ye},we={exact:function de(f,y){return yt(f,y)},subset:function Ie(f,y){return Object.keys(y).length<=Object.keys(f).length&&Object.keys(y).every(b=>ut(f[b],y[b]))},ignored:()=>!0};function Ae(f,y,b){return et[b.paths](f.root,y.root,b.matrixParams)&&we[b.queryParams](f.queryParams,y.queryParams)&&!("exact"===b.fragment&&f.fragment!==y.fragment)}function ye(f,y,b){return Ye(f,y,y.segments,b)}function Ye(f,y,b,C){if(f.segments.length>b.length){const D=f.segments.slice(0,b.length);return!(!Ke(D,b)||y.hasChildren()||!Oe(D,b,C))}if(f.segments.length===b.length){if(!Ke(f.segments,b)||!Oe(f.segments,b,C))return!1;for(const D in y.children)if(!f.children[D]||!ye(f.children[D],y.children[D],C))return!1;return!0}{const D=b.slice(0,f.segments.length),q=b.slice(f.segments.length);return!!(Ke(f.segments,D)&&Oe(f.segments,D,C)&&f.children[Ge])&&Ye(f.children[Ge],y,q,C)}}function Oe(f,y,b){return y.every((C,D)=>we[b](f[D].parameters,C.parameters))}class Le{constructor(y=new ee([],{}),b={},C=null){this.root=y,this.queryParams=b,this.fragment=C}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mt(this.queryParams)),this._queryParamMap}toString(){return Je.serialize(this)}}class ee{constructor(y,b){this.segments=y,this.children=b,this.parent=null,Object.values(b).forEach(C=>C.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return on(this)}}class xe{constructor(y,b){this.path=y,this.parameters=b}get parameterMap(){return this._parameterMap||(this._parameterMap=mt(this.parameters)),this._parameterMap}toString(){return lt(this)}}function Ke(f,y){return f.length===y.length&&f.every((b,C)=>b.path===y[C].path)}let gt=(()=>{var f;class y{}return(f=y).\u0275fac=function(C){return new(C||f)},f.\u0275prov=e.jDH({token:f,factory:function(){return new Bt},providedIn:"root"}),y})();class Bt{parse(y){const b=new Yt(y);return new Le(b.parseRootSegment(),b.parseQueryParams(),b.parseFragment())}serialize(y){const b=`/${On(y.root,!0)}`,C=function $e(f){const y=Object.keys(f).map(b=>{const C=f[b];return Array.isArray(C)?C.map(D=>`${Ft(b)}=${Ft(D)}`).join("&"):`${Ft(b)}=${Ft(C)}`}).filter(b=>!!b);return y.length?`?${y.join("&")}`:""}(y.queryParams);return`${b}${C}${"string"==typeof y.fragment?`#${function ke(f){return encodeURI(f)}(y.fragment)}`:""}`}}const Je=new Bt;function on(f){return f.segments.map(y=>lt(y)).join("/")}function On(f,y){if(!f.hasChildren())return on(f);if(y){const b=f.children[Ge]?On(f.children[Ge],!1):"",C=[];
76return Object.entries(f.children).forEach(([D,q])=>{D!==Ge&&C.push(`${D}:${On(q,!1)}`)}),C.length>0?`${b}(${C.join("//")})`:b}{const b=function Vt(f,y){let b=[];return Object.entries(f.children).forEach(([C,D])=>{C===Ge&&(b=b.concat(y(D,C)))}),Object.entries(f.children).forEach(([C,D])=>{C!==Ge&&(b=b.concat(y(D,C)))}),b}(f,(C,D)=>D===Ge?[On(f.children[Ge],!1)]:[`${D}:${On(C,!1)}`]);return 1===Object.keys(f.children).length&&null!=f.children[Ge]?`${on(f)}/${b[0]}`:`${on(f)}/(${b.join("//")})`}}function He(f){return encodeURIComponent(f).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ft(f){return He(f).replace(/%3B/gi,";")}function Se(f){return He(f).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ne(f){return decodeURIComponent(f)}function tt(f){return Ne(f.replace(/\+/g,"%20"))}function lt(f){return`${Se(f.path)}${function pt(f){return Object.keys(f).map(y=>`;${Se(y)}=${Se(f[y])}`).join("")}(f.parameters)}`}const Be=/^[^\/()?;#]+/;function ve(f){const y=f.match(Be);return y?y[0]:""}const Ce=/^[^\/()?;=#]+/,De=/^[^=?&#]+/,St=/^[^&#]+/;class Yt{constructor(y){this.url=y,this.remaining=y}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ee([],{}):new ee([],this.parseChildren())}parseQueryParams(){const y={};if(this.consumeOptional("?"))do{this.parseQueryParam(y)}while(this.consumeOptional("&"));return y}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const y=[];for(this.peekStartsWith("(")||y.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),y.push(this.parseSegment());let b={};this.peekStartsWith("/(")&&(this.capture("/"),b=this.parseParens(!0));let C={};return this.peekStartsWith("(")&&(C=this.parseParens(!1)),(y.length>0||Object.keys(b).length>0)&&(C[Ge]=new ee(y,b)),C}parseSegment(){const y=ve(this.remaining);if(""===y&&this.peekStartsWith(";"))throw new e.wOt(4009,!1);return this.capture(y),new xe(Ne(y),this.parseMatrixParams())}parseMatrixParams(){const y={};for(;this.consumeOptional(";");)this.parseParam(y);return y}parseParam(y){const b=function oe(f){const y=f.match(Ce);return y?y[0]:""}(this.remaining);if(!b)return;this.capture(b);let C="";if(this.consumeOptional("=")){const D=ve(this.remaining);D&&(C=D,this.capture(C))}y[Ne(b)]=Ne(C)}parseQueryParam(y){const b=function rt(f){const y=f.match(De);return y?y[0]:""}(this.remaining);if(!b)return;this.capture(b);let C="";if(this.consumeOptional("=")){const he=function Nt(f){const y=f.match(St);return y?y[0]:""}(this.remaining);he&&(C=he,this.capture(C))}const D=tt(b),q=tt(C);if(y.hasOwnProperty(D)){let he=y[D];Array.isArray(he)||(he=[he],y[D]=he),he.push(q)}else y[D]=q}parseParens(y){const b={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const C=ve(this.remaining),D=this.remaining[C.length];if("/"!==D&&")"!==D&&";"!==D)throw new e.wOt(4010,!1);let q;C.indexOf(":")>-1?(q=C.slice(0,C.indexOf(":")),this.capture(q),this.capture(":")):y&&(q=Ge);const he=this.parseChildren();b[q]=1===Object.keys(he).length?he[Ge]:new ee([],he),this.consumeOptional("//")}return b}peekStartsWith(y){return this.remaining.startsWith(y)}consumeOptional(y){return!!this.peekStartsWith(y)&&(this.remaining=this.remaining.substring(y.length),!0)}capture(y){if(!this.consumeOptional(y))throw new e.wOt(4011,!1)}}function zt(f){return f.segments.length>0?new ee([],{[Ge]:f}):f}function Cn(f){const y={};for(const C of Object.keys(f.children)){const q=Cn(f.children[C]);if(C===Ge&&0===q.segments.length&&q.hasChildren())for(const[he,it]of Object.entries(q.children))y[he]=it;else(q.segments.length>0||q.hasChildren())&&(y[C]=q)}return function tn(f){if(1===f.numberOfChildren&&f.children[Ge]){const y=f.children[Ge];return new ee(f.segments.concat(y.segments),y.children)}return f}(new ee(f.segments,y))}function We(f){return f instanceof Le}function at(f){let y;const D=zt(function b(q){const he={};for(const $t of q.children){const vt=b($t);he[$t.outlet]=vt}const it=new ee(q.url,he);return q===f&&(y=it),it}(f.root));return y??D}function dt(f,y,b,C){let D=f;
76for(;D.parent;)D=D.parent;if(0===y.length)return Qt(D,D,D,b,C);const q=function hn(f){if("string"==typeof f[0]&&1===f.length&&"/"===f[0])return new gn(!0,0,f);let y=0,b=!1;const C=f.reduce((D,q,he)=>{if("object"==typeof q&&null!=q){if(q.outlets){const it={};return Object.entries(q.outlets).forEach(([$t,vt])=>{it[$t]="string"==typeof vt?vt.split("/"):vt}),[...D,{outlets:it}]}if(q.segmentPath)return[...D,q.segmentPath]}return"string"!=typeof q?[...D,q]:0===he?(q.split("/").forEach((it,$t)=>{0==$t&&"."===it||(0==$t&&""===it?b=!0:".."===it?y++:""!=it&&D.push(it))}),D):[...D,q]},[]);return new gn(b,y,C)}(y);if(q.toRoot())return Qt(D,D,new ee([],{}),b,C);const he=function Yn(f,y,b){if(f.isAbsolute)return new Tn(y,!0,0);if(!b)return new Tn(y,!1,NaN);if(null===b.parent)return new Tn(b,!0,0);const C=xt(f.commands[0])?0:1;return function dn(f,y,b){let C=f,D=y,q=b;for(;q>D;){if(q-=D,C=C.parent,!C)throw new e.wOt(4005,!1);D=C.segments.length}return new Tn(C,!1,D-q)}(b,b.segments.length-1+C,f.numberOfDoubleDots)}(q,D,f),it=he.processChildren?jn(he.segmentGroup,he.index,q.commands):Zn(he.segmentGroup,he.index,q.commands);return Qt(D,he.segmentGroup,it,b,C)}function xt(f){return"object"==typeof f&&null!=f&&!f.outlets&&!f.segmentPath}function Lt(f){return"object"==typeof f&&null!=f&&f.outlets}function Qt(f,y,b,C,D){let he,q={};C&&Object.entries(C).forEach(([$t,vt])=>{q[$t]=Array.isArray(vt)?vt.map(pn=>`${pn}`):`${vt}`}),he=f===y?b:Zt(f,y,b);const it=zt(Cn(he));return new Le(it,q,D)}function Zt(f,y,b){const C={};return Object.entries(f.children).forEach(([D,q])=>{C[D]=q===y?b:Zt(q,y,b)}),new ee(f.segments,C)}class gn{constructor(y,b,C){if(this.isAbsolute=y,this.numberOfDoubleDots=b,this.commands=C,y&&C.length>0&&xt(C[0]))throw new e.wOt(4003,!1);const D=C.find(Lt);if(D&&D!==ht(C))throw new e.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Tn{constructor(y,b,C){this.segmentGroup=y,this.processChildren=b,this.index=C}}
76function Zn(f,y,b){if(f||(f=new ee([],{})),0===f.segments.length&&f.hasChildren())return jn(f,y,b);const C=function Sn(f,y,b){let C=0,D=y;const q={match:!1,pathIndex:0,commandIndex:0};for(;D<f.segments.length;){if(C>=b.length)return q;const he=f.segments[D],it=b[C];if(Lt(it))break;const $t=`${it}`,vt=C<b.length-1?b[C+1]:null;if(D>0&&void 0===$t)break;if($t&&vt&&"object"==typeof vt&&void 0===vt.outlets){if(!Ln($t,vt,he))return q;C+=2}else{if(!Ln($t,{},he))return q;C++}D++}return{match:!0,pathIndex:D,commandIndex:C}}(f,y,b),D=b.slice(C.commandIndex);if(C.match&&C.pathIndex<f.segments.length){const q=new ee(f.segments.slice(0,C.pathIndex),{});return q.children[Ge]=new ee(f.segments.slice(C.pathIndex),f.children),jn(q,0,D)}return C.match&&0===D.length?new ee(f.segments,{}):C.match&&!f.hasChildren()?Mn(f,y,b):C.match?jn(f,0,D):Mn(f,y,b)}function jn(f,y,b){if(0===b.length)return new ee(f.segments,{});{const C=function uo(f){return Lt(f[0])?f[0].outlets:{[Ge]:f}}(b),D={};if(Object.keys(C).some(q=>q!==Ge)&&f.children[Ge]&&1===f.numberOfChildren&&0===f.children[Ge].segments.length){const q=jn(f.children[Ge],y,b);return new ee(f.segments,q.children)}return Object.entries(C).forEach(([q,he])=>{"string"==typeof he&&(he=[he]),null!==he&&(D[q]=Zn(f.children[q],y,he))}),Object.entries(f.children).forEach(([q,he])=>{void 0===C[q]&&(D[q]=he)}),new ee(f.segments,D)}}function Mn(f,y,b){const C=f.segments.slice(0,y);let D=0;for(;D<b.length;){const q=b[D];if(Lt(q)){const $t=_o(q.outlets);return new ee(C,$t)}if(0===D&&xt(b[0])){C.push(new xe(f.segments[y].path,Lo(b[0]))),D++;continue}const he=Lt(q)?q.outlets[Ge]:`${q}`,it=D<b.length-1?b[D+1]:null;he&&it&&xt(it)?(C.push(new xe(he,Lo(it))),D+=2):(C.push(new xe(he,{})),D++)}return new ee(C,{})}function _o(f){const y={};return Object.entries(f).forEach(([b,C])=>{"string"==typeof C&&(C=[C]),null!==C&&(y[b]=Mn(new ee([],{}),0,C))}),y}function Lo(f){const y={};return Object.entries(f).forEach(([b,C])=>y[b]=`${C}`),y}function Ln(f,y,b){return f==b.path&&yt(y,b.parameters)}const Xn="imperative";class qn{constructor(y,b){this.id=y,this.url=b}}class Eo extends qn{constructor(y,b,C="imperative",D=null){super(y,b),this.type=0,this.navigationTrigger=C,this.restoredState=D}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Qn extends qn{constructor(y,b,C){super(y,b),this.urlAfterRedirects=C,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ko extends qn{constructor(y,b,C,D){super(y,b),this.reason=C,this.code=D,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class No extends qn{constructor(y,b,C,D){super(y,b),this.reason=C,this.code=D,this.type=16}}class $o extends qn{constructor(y,b,C,D){super(y,b),this.error=C,this.target=D,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ro extends qn{constructor(y,b,C,D){super(y,b),this.urlAfterRedirects=C,this.state=D,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ir extends qn{constructor(y,b,C,D){super(y,b),this.urlAfterRedirects=C,this.state=D,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ti extends qn{constructor(y,b,C,D,q){super(y,b),this.urlAfterRedirects=C,this.state=D,this.shouldActivate=q,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Oo extends qn{constructor(y,b,C,D){super(y,b),this.urlAfterRedirects=C,this.state=D,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ur extends qn{constructor(y,b,C,D){super(y,b),this.urlAfterRedirects=C,this.state=D,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Or{constructor(y){this.route=y,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class cr{constructor(y){this.route=y,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Zr{constructor(y){this.snapshot=y,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Me{constructor(y){this.snapshot=y,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Dt{constructor(y){this.snapshot=y,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class be{constructor(y){this.snapshot=y,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class je{constructor(y,b,C){this.routerEvent=y,this.position=b,this.anchor=C,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class qe{}class kt{constructor(y){this.url=y}}class en{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Pn,this.attachRef=null}}let Pn=(()=>{var f;class y{constructor(){this.contexts=new Map}onChildOutletCreated(C,D){const q=this.getOrCreateContext(C);q.outlet=D,this.contexts.set(C,q)}onChildOutletDestroyed(C){const D=this.getContext(C);D&&(D.outlet=null,D.attachRef=null)}onOutletDeactivated(){const C=this.contexts;return this.contexts=new Map,C}onOutletReAttached(C){this.contexts=C}getOrCreateContext(C){let D=this.getContext(C);return D||(D=new en,this.contexts.set(C,D)),D}getContext(C){return this.contexts.get(C)||null}}return(f=y).\u0275fac=function(C){return new(C||f)},f.\u0275prov=e.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}),y})();class an{constructor(y){this._root=y}get root(){return this._root.value}
76parent(y){const b=this.pathFromRoot(y);return b.length>1?b[b.length-2]:null}children(y){const b=yo(y,this._root);return b?b.children.map(C=>C.value):[]}firstChild(y){const b=yo(y,this._root);return b&&b.children.length>0?b.children[0].value:null}siblings(y){const b=xn(y,this._root);return b.length<2?[]:b[b.length-2].children.map(D=>D.value).filter(D=>D!==y)}pathFromRoot(y){return xn(y,this._root).map(b=>b.value)}}function yo(f,y){if(f===y.value)return y;for(const b of y.children){const C=yo(f,b);if(C)return C}return null}function xn(f,y){if(f===y.value)return[y];for(const b of y.children){const C=xn(f,b);if(C.length)return C.unshift(y),C}return[]}class Un{constructor(y,b){this.value=y,this.children=b}toString(){return`TreeNode(${this.value})`}}function po(f){const y={};return f&&f.children.forEach(b=>y[b.value.outlet]=b),y}class ur extends an{constructor(y,b){super(y),this.snapshot=b,qo(this,y)}toString(){return this.snapshot.toString()}}function En(f,y){const b=function io(f,y){const he=new Go([],{},{},"",{},Ge,y,null,{});return new kr("",new Un(he,[]))}(0,y),C=new p.t([new xe("",{})]),D=new p.t({}),q=new p.t({}),he=new p.t({}),it=new p.t(""),$t=new Fn(C,D,he,it,q,Ge,y,b.root);return $t.snapshot=b.root,new ur(new Un($t,[]),b)}class Fn{constructor(y,b,C,D,q,he,it,$t){this.urlSubject=y,this.paramsSubject=b,this.queryParamsSubject=C,this.fragmentSubject=D,this.dataSubject=q,this.outlet=he,this.component=it,this._futureSnapshot=$t,this.title=this.dataSubject?.pipe((0,ue.T)(vt=>vt[Ct]))??(0,V.of)(void 0),this.url=y,this.params=b,this.queryParams=C,this.fragment=D,this.data=q}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,ue.T)(y=>mt(y)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ue.T)(y=>mt(y)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function zo(f,y="emptyOnly"){const b=f.pathFromRoot;let C=0;if("always"!==y)for(C=b.length-1;C>=1;){const D=b[C],q=b[C-1];if(D.routeConfig&&""===D.routeConfig.path)C--;else{if(q.component)break;C--}}return function so(f){return f.reduce((y,b)=>({params:{...y.params,...b.params},data:{...y.data,...b.data},resolve:{...b.data,...y.resolve,...b.routeConfig?.data,...b._resolvedData}}),{params:{},data:{},resolve:{}})}(b.slice(C))}class Go{get title(){return this.data?.[Ct]}constructor(y,b,C,D,q,he,it,$t,vt){this.url=y,this.params=b,this.queryParams=C,this.fragment=D,this.data=q,this.outlet=he,this.component=it,this.routeConfig=$t,this._resolve=vt}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=mt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(C=>C.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class kr extends an{constructor(y,b){super(b),this.url=y,qo(this,b)}toString(){return Vr(this._root)}}function qo(f,y){y.value._routerState=f,y.children.forEach(b=>qo(f,b))}function Vr(f){const y=f.children.length>0?` { ${f.children.map(Vr).join(", ")} } `:"";return`${f.value}${y}`}function vr(f){if(f.snapshot){const y=f.snapshot,b=f._futureSnapshot;f.snapshot=b,yt(y.queryParams,b.queryParams)||f.queryParamsSubject.next(b.queryParams),y.fragment!==b.fragment&&f.fragmentSubject.next(b.fragment),yt(y.params,b.params)||f.paramsSubject.next(b.params),function Qe(f,y){if(f.length!==y.length)return!1;for(let b=0;b<f.length;++b)if(!yt(f[b],y[b]))return!1;return!0}(y.url,b.url)||f.urlSubject.next(b.url),yt(y.data,b.data)||f.dataSubject.next(b.data)}else f.snapshot=f._futureSnapshot,f.dataSubject.next(f._futureSnapshot.data)}function Vn(f,y){const b=yt(f.params,y.params)&&function Ze(f,y){return Ke(f,y)&&f.every((b,C)=>yt(b.parameters,y[C].parameters))}(f.url,y.url);return b&&!(!f.parent!=!y.parent)&&(!f.parent||Vn(f.parent,y.parent))}
76let Xt=(()=>{var f;class y{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ge,this.activateEvents=new e.bkB,this.deactivateEvents=new e.bkB,this.attachEvents=new e.bkB,this.detachEvents=new e.bkB,this.parentContexts=(0,e.WQX)(Pn),this.location=(0,e.WQX)(e.c1b),this.changeDetector=(0,e.WQX)(e.gRc),this.environmentInjector=(0,e.WQX)(e.uvJ),this.inputBinder=(0,e.WQX)(An,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(C){if(C.name){const{firstChange:D,previousValue:q}=C.name;if(D)return;this.isTrackedInParentContexts(q)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(q)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(C){return this.parentContexts.getContext(C)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const C=this.parentContexts.getContext(this.name);C?.route&&(C.attachRef?this.attach(C.attachRef,C.route):this.activateWith(C.route,C.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new e.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new e.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new e.wOt(4012,!1);this.location.detach();const C=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(C.instance),C}attach(C,D){this.activated=C,this._activatedRoute=D,this.location.insert(C.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(C.instance)}deactivate(){if(this.activated){const C=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(C)}}activateWith(C,D){if(this.isActivated)throw new e.wOt(4013,!1);this._activatedRoute=C;const q=this.location,it=C.snapshot.component,$t=this.parentContexts.getOrCreateContext(this.name).children,vt=new fn(C,$t,q.injector);this.activated=q.createComponent(it,{index:q.length,injector:vt,environmentInjector:D??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(f=y).\u0275fac=function(C){return new(C||f)},f.\u0275dir=e.FsC({type:f,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.OA$]}),y})();class fn{constructor(y,b,C){this.route=y,this.childContexts=b,this.parent=C}get(y,b){return y===Fn?this.route:y===Pn?this.childContexts:this.parent.get(y,b)}}const An=new e.nKC("");let ho=(()=>{var f;class y{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(C){this.unsubscribeFromRouteData(C),this.subscribeToRouteData(C)}unsubscribeFromRouteData(C){this.outletDataSubscriptions.get(C)?.unsubscribe(),this.outletDataSubscriptions.delete(C)}subscribeToRouteData(C){const{activatedRoute:D}=C,q=(0,$.z)([D.queryParams,D.params,D.data]).pipe((0,ae.n)(([he,it,$t],vt)=>($t={...he,...it,...$t},0===vt?(0,V.of)($t):Promise.resolve($t)))).subscribe(he=>{if(!C.isActivated||!C.activatedComponentRef||C.activatedRoute!==D||null===D.component)return void this.unsubscribeFromRouteData(C);const it=(0,e.HJs)(D.component);if(it)for(const{templateName:$t}of it.inputs)C.activatedComponentRef.setInput($t,he[$t]);else this.unsubscribeFromRouteData(C)});this.outletDataSubscriptions.set(C,q)}}return(f=y).\u0275fac=function(C){return new(C||f)},f.\u0275prov=e.jDH({token:f,factory:f.\u0275fac}),y})();function eo(f,y,b){if(b&&f.shouldReuseRoute(y.value,b.value.snapshot)){const C=b.value;C._futureSnapshot=y.value;const D=function Yo(f,y,b){return y.children.map(C=>{for(const D of b.children)if(f.shouldReuseRoute(C.value,D.value.snapshot))return eo(f,C,D);return eo(f,C)})}(f,y,b);return new Un(C,D)}{if(f.shouldAttach(y.value)){const q=f.retrieve(y.value);if(null!==q){const he=q.route;return he.value._futureSnapshot=y.value,he.children=y.children.map(it=>eo(f,it)),he}}const C=function Kn(f){return new Fn(new p.t(f.url),new p.t(f.params),new p.t(f.queryParams),new p.t(f.fragment),new p.t(f.data),f.outlet,f.component,f)}(y.value),D=y.children.map(q=>eo(f,q));return new Un(C,D)}}const Bo="ngNavigationCancelingError";function Qo(f,y){const{redirectTo:b,navigationBehaviorOptions:C}=We(y)?{redirectTo:y,navigationBehaviorOptions:void 0}:y,D=ln(!1,0,y);return D.url=b,D.navigationBehaviorOptions=C,D}function ln(f,y,b){const C=new Error("NavigationCancelingError: "+(f||""));return C[Bo]=!0,C.cancellationCode=y,b&&(C.url=b),C}function Rr(f){return f&&f[Bo]}let tr=(()=>{var f;class y{}return(f=y).\u0275fac=function(C){return new(C||f)},f.\u0275cmp=e.VBU({type:f,selectors:[["ng-component"]],standalone:!0,features:[e.aNF],decls:1,vars:0,template:function(C,D){1&C&&e.nrm(0,"router-outlet")},dependencies:[Xt],encapsulation:2}),y})();function ko(f){const y=f.children&&f.children.map(ko),b=y?{...f,children:y}:{...f};return!b.component&&!b.loadComponent&&(y||b.loadChildren)&&b.outlet&&b.outlet!==Ge&&(b.component=tr),b}function cn(f){return f.outlet||Ge}function Zo(f){if(!f)return null;if(f.routeConfig?._injector)return f.routeConfig._injector;for(let y=f.parent;y;y=y.parent){const b=y.routeConfig;if(b?._loadedInjector)return b._loadedInjector;if(b?._injector)return b._injector}return null}class qr{constructor(y,b,C,D,q){this.routeReuseStrategy=y,this.futureState=b,this.currState=C,this.forwardEvent=D,this.inputBindingEnabled=q}activate(y){const b=this.futureState._root,C=this.currState?this.currState._root:null;this.deactivateChildRoutes(b,C,y),vr(this.futureState.root),this.activateChildRoutes(b,C,y)}deactivateChildRoutes(y,b,C){const D=po(b);
76y.children.forEach(q=>{const he=q.value.outlet;this.deactivateRoutes(q,D[he],C),delete D[he]}),Object.values(D).forEach(q=>{this.deactivateRouteAndItsChildren(q,C)})}deactivateRoutes(y,b,C){const D=y.value,q=b?b.value:null;if(D===q)if(D.component){const he=C.getContext(D.outlet);he&&this.deactivateChildRoutes(y,b,he.children)}else this.deactivateChildRoutes(y,b,C);else q&&this.deactivateRouteAndItsChildren(b,C)}deactivateRouteAndItsChildren(y,b){y.value.component&&this.routeReuseStrategy.shouldDetach(y.value.snapshot)?this.detachAndStoreRouteSubtree(y,b):this.deactivateRouteAndOutlet(y,b)}detachAndStoreRouteSubtree(y,b){const C=b.getContext(y.value.outlet),D=C&&y.value.component?C.children:b,q=po(y);for(const he of Object.keys(q))this.deactivateRouteAndItsChildren(q[he],D);if(C&&C.outlet){const he=C.outlet.detach(),it=C.children.onOutletDeactivated();this.routeReuseStrategy.store(y.value.snapshot,{componentRef:he,route:y,contexts:it})}}deactivateRouteAndOutlet(y,b){const C=b.getContext(y.value.outlet),D=C&&y.value.component?C.children:b,q=po(y);for(const he of Object.keys(q))this.deactivateRouteAndItsChildren(q[he],D);C&&(C.outlet&&(C.outlet.deactivate(),C.children.onOutletDeactivated()),C.attachRef=null,C.route=null)}activateChildRoutes(y,b,C){const D=po(b);y.children.forEach(q=>{this.activateRoutes(q,D[q.value.outlet],C),this.forwardEvent(new be(q.value.snapshot))}),y.children.length&&this.forwardEvent(new Me(y.value.snapshot))}activateRoutes(y,b,C){const D=y.value,q=b?b.value:null;if(vr(D),D===q)if(D.component){const he=C.getOrCreateContext(D.outlet);this.activateChildRoutes(y,b,he.children)}else this.activateChildRoutes(y,b,C);else if(D.component){const he=C.getOrCreateContext(D.outlet);if(this.routeReuseStrategy.shouldAttach(D.snapshot)){const it=this.routeReuseStrategy.retrieve(D.snapshot);this.routeReuseStrategy.store(D.snapshot,null),he.children.onOutletReAttached(it.contexts),he.attachRef=it.componentRef,he.route=it.route.value,he.outlet&&he.outlet.attach(it.componentRef,it.route.value),vr(it.route.value),this.activateChildRoutes(y,null,he.children)}else{const it=Zo(D.snapshot);he.attachRef=null,he.route=D,he.injector=it,he.outlet&&he.outlet.activateWith(D,he.injector),this.activateChildRoutes(y,null,he.children)}}else this.activateChildRoutes(y,null,C)}}class or{constructor(y){this.path=y,this.route=this.path[this.path.length-1]}}class rr{constructor(y,b){this.component=y,this.route=b}}function fo(f,y,b){const C=f._root;return Nn(C,y?y._root:null,b,[C.value])}function ao(f,y){const b=Symbol(),C=y.get(f,b);return C===b?"function"!=typeof f||(0,e.LfX)(f)?y.get(f):f:C}function Nn(f,y,b,C,D={canDeactivateChecks:[],canActivateChecks:[]}){const q=po(y);return f.children.forEach(he=>{(function Lr(f,y,b,C,D={canDeactivateChecks:[],canActivateChecks:[]}){const q=f.value,he=y?y.value:null,it=b?b.getContext(f.value.outlet):null;if(he&&q.routeConfig===he.routeConfig){const $t=function Wo(f,y,b){if("function"==typeof b)return b(f,y);switch(b){case"pathParamsChange":return!Ke(f.url,y.url);case"pathParamsOrQueryParamsChange":return!Ke(f.url,y.url)||!yt(f.queryParams,y.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Vn(f,y)||!yt(f.queryParams,y.queryParams);default:return!Vn(f,y)}}(he,q,q.routeConfig.runGuardsAndResolvers);$t?D.canActivateChecks.push(new or(C)):(q.data=he.data,q._resolvedData=he._resolvedData),Nn(f,y,q.component?it?it.children:null:b,C,D),$t&&it&&it.outlet&&it.outlet.isActivated&&D.canDeactivateChecks.push(new rr(it.outlet.component,he))}else he&&ir(y,it,D),D.canActivateChecks.push(new or(C)),Nn(f,null,q.component?it?it.children:null:b,C,D)})(he,q[he.value.outlet],b,C.concat([he.value]),D),delete q[he.value.outlet]}),Object.entries(q).forEach(([he,it])=>ir(it,b.getContext(he),D)),D}function ir(f,y,b){const C=po(f),D=f.value;Object.entries(C).forEach(([q,he])=>{ir(he,D.component?y?y.children.getContext(q):null:y,b)}),b.canDeactivateChecks.push(new rr(D.component&&y&&y.outlet&&y.outlet.isActivated?y.outlet.component:null,D))}function Mo(f){return"function"==typeof f}function vo(f){return f instanceof E.G||"EmptyError"===f?.name}const zn=Symbol("INITIAL_VALUE");function So(){return(0,ae.n)(f=>(0,$.z)(f.map(y=>y.pipe((0,N.s)(1),(0,te.Z)(zn)))).pipe((0,ue.T)(y=>{for(const b of y)if(!0!==b){if(b===zn)return zn;if(!1===b||b instanceof Le)return b}return!0}),(0,ie.p)(y=>y!==zn),(0,N.s)(1)))}function fi(f){return(0,G.F)((0,Mt.M)(y=>{if(We(y))throw Qo(0,y)}),(0,ue.T)(y=>!0===y))}class mi{constructor(y){this.segmentGroup=y||null}}class yr{constructor(y){this.urlTree=y}
76}function To(f){return(0,B.$)(new mi(f))}function Fi(f){return(0,B.$)(new yr(f))}class Wr{constructor(y,b){this.urlSerializer=y,this.urlTree=b}noMatchError(y){return new e.wOt(4002,!1)}lineralizeSegments(y,b){let C=[],D=b.root;for(;;){if(C=C.concat(D.segments),0===D.numberOfChildren)return(0,V.of)(C);if(D.numberOfChildren>1||!D.children[Ge])return(0,B.$)(new e.wOt(4e3,!1));D=D.children[Ge]}}applyRedirectCommands(y,b,C){return this.applyRedirectCreateUrlTree(b,this.urlSerializer.parse(b),y,C)}applyRedirectCreateUrlTree(y,b,C,D){const q=this.createSegmentGroup(y,b.root,C,D);return new Le(q,this.createQueryParams(b.queryParams,this.urlTree.queryParams),b.fragment)}createQueryParams(y,b){const C={};return Object.entries(y).forEach(([D,q])=>{if("string"==typeof q&&q.startsWith(":")){const it=q.substring(1);C[D]=b[it]}else C[D]=q}),C}createSegmentGroup(y,b,C,D){const q=this.createSegments(y,b.segments,C,D);let he={};return Object.entries(b.children).forEach(([it,$t])=>{he[it]=this.createSegmentGroup(y,$t,C,D)}),new ee(q,he)}createSegments(y,b,C,D){return b.map(q=>q.path.startsWith(":")?this.findPosParam(y,q,D):this.findOrReturn(q,C))}findPosParam(y,b,C){const D=C[b.path.substring(1)];if(!D)throw new e.wOt(4001,!1);return D}findOrReturn(y,b){let C=0;for(const D of b){if(D.path===y.path)return b.splice(C),D;C++}return y}}const Do={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Xr(f,y,b,C,D){const q=ni(f,y,b);return q.matched?(C=function Gn(f,y){return f.providers&&!f._injector&&(f._injector=(0,e.Ol2)(f.providers,y,`Route: ${f.path}`)),f._injector??y}(y,C),function Hr(f,y,b,C){const D=y.canMatch;if(!D||0===D.length)return(0,V.of)(!0);const q=D.map(he=>{const it=ao(he,f);return me(function ge(f){return f&&Mo(f.canMatch)}(it)?it.canMatch(y,b):f.runInContext(()=>it(y,b)))});return(0,V.of)(q).pipe(So(),fi())}(C,y,b).pipe((0,ue.T)(he=>!0===he?q:{...Do}))):(0,V.of)(q)}function ni(f,y,b){if(""===y.path)return"full"===y.pathMatch&&(f.hasChildren()||b.length>0)?{...Do}:{matched:!0,consumedSegments:[],remainingSegments:b,parameters:{},positionalParamSegments:{}};const D=(y.matcher||Ot)(b,f,y);if(!D)return{...Do};const q={};Object.entries(D.posParams??{}).forEach(([it,$t])=>{q[it]=$t.path});const he=D.consumed.length>0?{...q,...D.consumed[D.consumed.length-1].parameters}:q;return{matched:!0,consumedSegments:D.consumed,remainingSegments:b.slice(D.consumed.length),parameters:he,positionalParamSegments:D.posParams??{}}}function vi(f,y,b,C){return b.length>0&&function Ji(f,y,b){return b.some(C=>Sr(f,y,C)&&cn(C)!==Ge)}(f,b,C)?{segmentGroup:new ee(y,Li(C,new ee(b,f.children))),slicedSegments:[]}:0===b.length&&function Ci(f,y,b){return b.some(C=>Sr(f,y,C))}(f,b,C)?{segmentGroup:new ee(f.segments,Qi(f,0,b,C,f.children)),slicedSegments:b}:{segmentGroup:new ee(f.segments,f.children),slicedSegments:b}}function Qi(f,y,b,C,D){const q={};for(const he of C)if(Sr(f,b,he)&&!D[cn(he)]){const it=new ee([],{});q[cn(he)]=it}return{...D,...q}}function Li(f,y){const b={};b[Ge]=y;for(const C of f)if(""===C.path&&cn(C)!==Ge){const D=new ee([],{});b[cn(C)]=D}return b}function Sr(f,y,b){return(!(f.hasChildren()||y.length>0)||"full"!==b.pathMatch)&&""===b.path}class oi{constructor(y,b,C,D,q,he,it){this.injector=y,this.configLoader=b,this.rootComponentType=C,this.config=D,this.urlTree=q,this.paramsInheritanceStrategy=he,this.urlSerializer=it,this.allowRedirects=!0,this.applyRedirects=new Wr(this.urlSerializer,this.urlTree)}noMatchError(y){return new e.wOt(4002,!1)}recognize(){const y=vi(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,y,Ge).pipe((0,wt.W)(b=>{if(b instanceof yr)return this.allowRedirects=!1,this.urlTree=b.urlTree,this.match(b.urlTree);throw b instanceof mi?this.noMatchError(b):b}),(0,ue.T)(b=>{const C=new Go([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ge,this.rootComponentType,null,{}),D=new Un(C,b),q=new kr("",D),he=function _e(f,y,b=null,C=null){return dt(at(f),y,b,C)}(C,[],this.urlTree.queryParams,this.urlTree.fragment);return he.queryParams=this.urlTree.queryParams,q.url=this.urlSerializer.serialize(he),this.inheritParamsAndData(q._root),{state:q,tree:he}}))}match(y){return this.processSegmentGroup(this.injector,this.config,y.root,Ge).pipe((0,wt.W)(C=>{throw C instanceof mi?this.noMatchError(C):C}))}inheritParamsAndData(y){const b=y.value,C=zo(b,this.paramsInheritanceStrategy);b.params=Object.freeze(C.params),b.data=Object.freeze(C.data),y.children.forEac
76h(D=>this.inheritParamsAndData(D))}processSegmentGroup(y,b,C,D){return 0===C.segments.length&&C.hasChildren()?this.processChildren(y,b,C):this.processSegment(y,b,C,C.segments,D,!0)}processChildren(y,b,C){const D=[];for(const q of Object.keys(C.children))"primary"===q?D.unshift(q):D.push(q);return(0,O.H)(D).pipe((0,Re.H)(q=>{const he=C.children[q],it=function Xi(f,y){const b=f.filter(C=>cn(C)===y);return b.push(...f.filter(C=>cn(C)!==y)),b}(b,q);return this.processSegmentGroup(y,it,he,q)}),function Et(f,y){return(0,w.N)(function At(f,y,b,C,D){return(q,he)=>{let it=b,$t=y,vt=0;q.subscribe((0,U._)(he,pn=>{const In=vt++;$t=it?f($t,pn,In):(it=!0,pn),C&&he.next($t)},D&&(()=>{it&&he.next($t),he.complete()})))}}(f,y,arguments.length>=2,!0))}((q,he)=>(q.push(...he),q)),(0,It.U)(null),function fe(f,y){const b=arguments.length>=2;return C=>C.pipe(f?(0,ie.p)((D,q)=>f(D,q,C)):ne.D,bt(1),b?(0,It.U)(y):(0,st.v)(()=>new E.G))}(),(0,re.Z)(q=>{if(null===q)return To(C);const he=ii(q);return function yi(f){f.sort((y,b)=>y.value.outlet===Ge?-1:b.value.outlet===Ge?1:y.value.outlet.localeCompare(b.value.outlet))}(he),(0,V.of)(he)}))}processSegment(y,b,C,D,q,he){return(0,O.H)(b).pipe((0,Re.H)(it=>this.processSegmentAgainstRoute(it._injector??y,b,it,C,D,q,he).pipe((0,wt.W)($t=>{if($t instanceof mi)return(0,V.of)(null);throw $t}))),(0,Ee.$)(it=>!!it),(0,wt.W)(it=>{if(vo(it))return function Zi(f,y,b){return 0===y.length&&!f.children[b]}(C,D,q)?(0,V.of)([]):To(C);throw it}))}processSegmentAgainstRoute(y,b,C,D,q,he,it){return function Ni(f,y,b,C){return!!(cn(f)===C||C!==Ge&&Sr(y,b,f))&&("**"===f.path||ni(y,f,b).matched)}(C,D,q,he)?void 0===C.redirectTo?this.matchSegmentAgainstRoute(y,D,C,q,he,it):it&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(y,D,b,C,q,he):To(D):To(D)}expandSegmentAgainstRouteUsingRedirect(y,b,C,D,q,he){return"**"===D.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(y,C,D,he):this.expandRegularSegmentAgainstRouteUsingRedirect(y,b,C,D,q,he)}expandWildCardWithParamsAgainstRouteUsingRedirect(y,b,C,D){const q=this.applyRedirects.applyRedirectCommands([],C.redirectTo,{});return C.redirectTo.startsWith("/")?Fi(q):this.applyRedirects.lineralizeSegments(C,q).pipe((0,re.Z)(he=>{const it=new ee(he,{});return this.processSegment(y,b,it,he,D,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(y,b,C,D,q,he){const{matched:it,consumedSegments:$t,remainingSegments:vt,positionalParamSegments:pn}=ni(b,D,q);if(!it)return To(b);const In=this.applyRedirects.applyRedirectCommands($t,D.redirectTo,pn);return D.redirectTo.startsWith("/")?Fi(In):this.applyRedirects.lineralizeSegments(D,In).pipe((0,re.Z)(Fo=>this.processSegment(y,C,b,Fo.concat(vt),he,!1)))}matchSegmentAgainstRoute(y,b,C,D,q,he){let it;if("**"===C.path){const $t=D.length>0?ht(D).parameters:{},vt=new Go(D,$t,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Mi(C),cn(C),C.component??C._loadedComponent??null,C,bi(C));it=(0,V.of)({snapshot:vt,consumedSegments:[],remainingSegments:[]}),b.children={}}else it=Xr(b,C,D,y).pipe((0,ue.T)(({matched:$t,consumedSegments:vt,remainingSegments:pn,parameters:In})=>$t?{snapshot:new Go(vt,In,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Mi(C),cn(C),C.component??C._loadedComponent??null,C,bi(C)),consumedSegments:vt,remainingSegments:pn}:null));return it.pipe((0,ae.n)($t=>null===$t?To(b):this.getChildConfig(y=C._injector??y,C,D).pipe((0,ae.n)(({routes:vt})=>{const pn=C._loadedInjector??y,{snapshot:In,consumedSegments:Fo,remainingSegments:$n}=$t,{segmentGroup:gr,slicedSegments:Vi}=vi(b,Fo,$n,vt);if(0===Vi.length&&gr.hasChildren())return this.processChildren(pn,vt,gr).pipe((0,ue.T)(Si=>null===Si?null:[new Un(In,Si)]));if(0===vt.length&&0===Vi.length)return(0,V.of)([new Un(In,[])]);const gs=cn(C)===q;return this.processSegment(pn,vt,gr,Vi,gs?Ge:q,!0).pipe((0,ue.T)(Si=>[new Un(In,Si)]))}))))}getChildConfig(y,b,C){return b.children?(0,V.of)({routes:b.children,injector:y}):b.loadChildren?void 0!==b._loadedRoutes?(0,V.of)({routes:b._loadedRoutes,injector:b._loadedInjector}):function ti(f,y,b,C){const D=y.canLoad;if(void 0===D||0===D.length)return(0,V.of)(!0);const q=D.map(he=>
76{const it=ao(he,f);return me(function T(f){return f&&Mo(f.canLoad)}(it)?it.canLoad(y,b):f.runInContext(()=>it(y,b)))});return(0,V.of)(q).pipe(So(),fi())}(y,b,C).pipe((0,re.Z)(D=>D?this.configLoader.loadChildren(y,b).pipe((0,Mt.M)(q=>{b._loadedRoutes=q.routes,b._loadedInjector=q.injector})):function oo(f){return(0,B.$)(ln(!1,3))}())):(0,V.of)({routes:[],injector:y})}}function ri(f){const y=f.value.routeConfig;return y&&""===y.path}function ii(f){const y=[],b=new Set;for(const C of f){if(!ri(C)){y.push(C);continue}const D=y.find(q=>C.value.routeConfig===q.value.routeConfig);void 0!==D?(D.children.push(...C.children),b.add(D)):y.push(C)}for(const C of b){const D=ii(C.children);y.push(new Un(C.value,D))}return y.filter(C=>!b.has(C))}function Mi(f){return f.data||{}}function bi(f){return f.resolve||{}}function c(f){return"string"==typeof f.title||null===f.title}function v(f){return(0,ae.n)(y=>{const b=f(y);return b?(0,O.H)(b).pipe((0,ue.T)(()=>y)):(0,V.of)(y)})}const A=new e.nKC("ROUTES");let _=(()=>{var f;class y{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,e.WQX)(e.Ql9)}loadComponent(C){if(this.componentLoaders.get(C))return this.componentLoaders.get(C);if(C._loadedComponent)return(0,V.of)(C._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(C);const D=me(C.loadComponent()).pipe((0,ue.T)(Ve),(0,Mt.M)(he=>{this.onLoadEndListener&&this.onLoadEndListener(C),C._loadedComponent=he}),(0,Ue.j)(()=>{this.componentLoaders.delete(C)})),q=new H(D,()=>new j.B).pipe(Z());return this.componentLoaders.set(C,q),q}loadChildren(C,D){if(this.childrenLoaders.get(D))return this.childrenLoaders.get(D);if(D._loadedRoutes)return(0,V.of)({routes:D._loadedRoutes,injector:D._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(D);const he=function L(f,y,b,C){return me(f.loadChildren()).pipe((0,ue.T)(Ve),(0,re.Z)(D=>D instanceof e.Co$||Array.isArray(D)?(0,V.of)(D):(0,O.H)(y.compileModuleAsync(D))),(0,ue.T)(D=>{C&&C(f);let q,he,it=!1;return Array.isArray(D)?(he=D,!0):(q=D.create(b).injector,he=q.get(A,[],{optional:!0,self:!0}).flat()),{routes:he.map(ko),injector:q}}))}(D,this.compiler,C,this.onLoadEndListener).pipe((0,Ue.j)(()=>{this.childrenLoaders.delete(D)})),it=new H(he,()=>new j.B).pipe(Z());return this.childrenLoaders.set(D,it),it}}return(f=y).\u0275fac=function(C){return new(C||f)},f.\u0275prov=e.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}),y})();function Ve(f){return function pe(f){return f&&"object"==typeof f&&"default"in f}(f)?f.default:f}let ft=(()=>{var f;class y{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new j.B,this.transitionAbortSubject=new j.B,this.configLoader=(0,e.WQX)(_),this.environmentInjector=(0,e.WQX)(e.uvJ),this.urlSerializer=(0,e.WQX)(gt),this.rootContexts=(0,e.WQX)(Pn),this.inputBindingEnabled=null!==(0,e.WQX)(An,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,V.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=q=>this.events.next(new cr(q)),this.configLoader.onLoadStartListener=q=>this.events.next(new Or(q))}complete(){this.transitions?.complete()}handleNavigationRequest(C){const D=++this.navigationId;this.transitions?.next({...this.transitions.value,...C,id:D})}setupNavigations(C,D,q){return this.transitions=new p.t({id:0,currentUrlTree:D,currentRawUrl:D,currentBrowserUrl:D,extractedUrl:C.urlHandlingStrategy.extract(D),urlAfterRedirects:C.urlHandlingStrategy.extract(D),rawUrl:D,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Xn,restoredState:null,currentSnapshot:q.snapshot,targetSnapshot:null,currentRouterState:q,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ie.p)(he=>0!==he.id),(0,ue.T)(he=>({...he,extractedUrl:C.urlHandlingStrategy.extract(he.rawUrl)})),(0,ae.n)(he=>{this.currentTransition=he;let it=!1,$t=!1;return(0,V.of)(he).pipe((0,Mt.M)(vt=>{this.currentNavigation={id:vt.id,initialUrl:vt.rawUrl,extractedUrl:vt.extractedUrl,trigger:vt.source,extras:vt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ae.n)(vt=>{const pn=vt.currentBrowserUrl.toString(),In=!C.navigated||vt.extractedUrl.toString()!==pn||pn!==vt.currentUrlTree.toString();if(!In&&"reload"!==(vt.extras.onSameUrlNavigation??C.onSameUrlNavigation)){const $n="";return this.events.next(new No(vt.id,this.urlSerializer.serialize(vt.rawUrl),$n,0)),vt.resolve(null),J.w}if(C.urlHandlingStrategy.shouldProcessUrl(vt.rawUrl))return(0,V.of)(vt).pipe((0,ae.n)($n=>{const gr=this.transitions?.getValue();return this.events.next(new Eo($n.id,this.urlSerializer.serialize($n.extractedUrl),$n.source,$n.restoredState)),gr!==this.transitions?.getValue()?J.w:Promise.resolve($n)}),function Pi(f,y,b,C,D,q){return(0,re.Z)(he=>function qi(f,y,b,C,D,q,he="emptyOnly"){return new oi(f,y,b,C,D,he,q).recognize()}(f,y,b,C,he.extractedUrl,D,q).pipe((0,ue.T)(({state:it,tree:$t})=>({...he,targetSnapshot:it,urlAfterRedirects:$t}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,C.config,this.urlSerializer,C.paramsInheritanceStrategy),(0,Mt.M)($n=>{he.targetSnapshot=$n.targetSnapshot,he.urlAfterRedirects=$n.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:$n.urlAfterRedirects};const gr=new ro($n.id,this.urlSerializer.serialize($n.extractedUrl),this.urlSerializer.serialize($n.urlAfterRedirects),$n.targetSnapshot);this.events.next(gr)}));if(In&&C.urlHandlingStrategy.shouldProcessUrl(vt.currentRawUrl)){const{id:$n,extractedUrl:gr,source:Vi,restoredState:gs,extras:Si}
76=vt,Za=new Eo($n,this.urlSerializer.serialize(gr),Vi,gs);this.events.next(Za);const ia=En(0,this.rootComponentType).snapshot;return this.currentTransition=he={...vt,targetSnapshot:ia,urlAfterRedirects:gr,extras:{...Si,skipLocationChange:!1,replaceUrl:!1}},(0,V.of)(he)}{const $n="";return this.events.next(new No(vt.id,this.urlSerializer.serialize(vt.extractedUrl),$n,1)),vt.resolve(null),J.w}}),(0,Mt.M)(vt=>{const pn=new Ir(vt.id,this.urlSerializer.serialize(vt.extractedUrl),this.urlSerializer.serialize(vt.urlAfterRedirects),vt.targetSnapshot);this.events.next(pn)}),(0,ue.T)(vt=>(this.currentTransition=he={...vt,guards:fo(vt.targetSnapshot,vt.currentSnapshot,this.rootContexts)},he)),function ei(f,y){return(0,re.Z)(b=>{const{targetSnapshot:C,currentSnapshot:D,guards:{canActivateChecks:q,canDeactivateChecks:he}}=b;return 0===he.length&&0===q.length?(0,V.of)({...b,guardsResult:!0}):function ta(f,y,b,C){return(0,O.H)(f).pipe((0,re.Z)(D=>function gi(f,y,b,C,D){const q=y&&y.routeConfig?y.routeConfig.canDeactivate:null;if(!q||0===q.length)return(0,V.of)(!0);const he=q.map(it=>{const $t=Zo(y)??D,vt=ao(it,$t);return me(function R(f){return f&&Mo(f.canDeactivate)}(vt)?vt.canDeactivate(f,y,b,C):$t.runInContext(()=>vt(f,y,b,C))).pipe((0,Ee.$)())});return(0,V.of)(he).pipe(So())}(D.component,D.route,b,y,C)),(0,Ee.$)(D=>!0!==D,!0))}(he,C,D,f).pipe((0,re.Z)(it=>it&&function Gr(f){return"boolean"==typeof f}(it)?function Ai(f,y,b,C){return(0,O.H)(y).pipe((0,Re.H)(D=>(0,s.x)(function zi(f,y){return null!==f&&y&&y(new Zr(f)),(0,V.of)(!0)}(D.route.parent,C),function na(f,y){return null!==f&&y&&y(new Dt(f)),(0,V.of)(!0)}(D.route,C),function Yi(f,y,b){const C=y[y.length-1],q=y.slice(0,y.length-1).reverse().map(he=>function Ki(f){const y=f.routeConfig?f.routeConfig.canActivateChild:null;return y&&0!==y.length?{node:f,guards:y}:null}(he)).filter(he=>null!==he).map(he=>W(()=>{const it=he.guards.map($t=>{const vt=Zo(he.node)??b,pn=ao($t,vt);return me(function se(f){return f&&Mo(f.canActivateChild)}(pn)?pn.canActivateChild(C,f):vt.runInContext(()=>pn(C,f))).pipe((0,Ee.$)())});return(0,V.of)(it).pipe(So())}));return(0,V.of)(q).pipe(So())}(f,D.path,b),function hi(f,y,b){const C=y.routeConfig?y.routeConfig.canActivate:null;if(!C||0===C.length)return(0,V.of)(!0);const D=C.map(q=>W(()=>{const he=Zo(y)??b,it=ao(q,he);return me(function S(f){return f&&Mo(f.canActivate)}(it)?it.canActivate(y,f):he.runInContext(()=>it(y,f))).pipe((0,Ee.$)())}));return(0,V.of)(D).pipe(So())}(f,D.route,b))),(0,Ee.$)(D=>!0!==D,!0))}(C,q,f,y):(0,V.of)(it)),(0,ue.T)(it=>({...b,guardsResult:it})))})}(this.environmentInjector,vt=>this.events.next(vt)),(0,Mt.M)(vt=>{if(he.guardsResult=vt.guardsResult,We(vt.guardsResult))throw Qo(0,vt.guardsResult);const pn=new Ti(vt.id,this.urlSerializer.serialize(vt.extractedUrl),this.urlSerializer.serialize(vt.urlAfterRedirects),vt.targetSnapshot,!!vt.guardsResult);this.events.next(pn)}),(0,ie.p)(vt=>!!vt.guardsResult||(this.cancelNavigationTransition(vt,"",3),!1)),v(vt=>{if(vt.guards.canActivateChecks.length)return(0,V.of)(vt).pipe((0,Mt.M)(pn=>{const In=new Oo(pn.id,this.urlSerializer.serialize(pn.extractedUrl),this.urlSerializer.serialize(pn.urlAfterRedirects),pn.targetSnapshot);this.events.next(In)}),(0,ae.n)(pn=>{let In=!1;return(0,V.of)(pn).pipe(function Y(f,y){return(0,re.Z)(b=>{const{targetSnapshot:C,guards:{canActivateChecks:D}}=b;if(!D.length)return(0,V.of)(b);let q=0;return(0,O.H)(D).pipe((0,Re.H)(he=>function h(f,y,b,C){const D=f.routeConfig,q=f._resolve;return void 0!==D?.title&&!c(D)&&(q[Ct]=D.title),function m(f,y,b,C){const D=function P(f){return[...Object.keys(f),...Object.getOwnPropertySymbols(f)]}(f);if(0===D.length)return(0,V.of)({});const q={};return(0,O.H)(D).pipe((0,re.Z)(he=>function K(f,y,b,C){const D=Zo(y)??C,q=ao(f,D);return me(q.resolve?q.resolve(y,b):D.runInContext(()=>q(y,b)))}(f[he],y,b,C).pipe((0,Ee.$)(),(0,Mt.M)(it=>{q[he]=it}))),bt(1),(0,le.u)(q),(0,wt.W)(he=>vo(he)?J.w:(0,B.$)(he)))}(q,f,y,C).pipe((0,ue.T)(he=>(f._resolvedData=he,f.data=zo(f,b).resolve,D&&c(D)&&(f.data[Ct]=D.title),null)))}(he.route,C,f,y)),(0,Mt.M)(()=>q++),bt(1),(0,re.Z)(he=>q===D.length?(0,V.of)(b):J.w))})}(C.paramsInheritanceStrategy,this.environmentInjector),(0,Mt.M)({next:()=>In=!0,complete:()=>{In||this.cancelNavigationTransition(pn,"",2)}}))}),(0,Mt.M)(pn=>{const In=new Ur(pn.id,this.urlSerializer.serialize(pn.extractedUrl),this.urlSerializer.serialize(pn.urlAfterRedirects),pn.targetSnapshot);this.events.next(In)}))}),v(vt=>{const pn=In=>{const Fo=[];In.routeConfig?.loadComponent&&!In.routeConfig._loadedComponent&&Fo.push(this.configLoader.loadComponent(In.routeConfig).pipe((0,Mt.M)($n=>{In.component=$n}),(0,ue.T)(()=>{})));for(const $n of In.children)Fo.push(...pn($n));return Fo};return(0,$.z)(pn(vt.targetSnapshot.root)).pipe((0,It.U)(),(0,N.s)(1))}),v(()=>this.afterPreactivation()),(0,ue.T)(vt=>{const pn=function er(f,y,b){const C=eo(f,y._root,b?b._root:void 0);return new ur(C,y)}(C.routeReuseStrategy,vt.targetSnapshot,vt.currentRouterState);return this.currentTransition=he={...vt,targetRouterState:pn},he}),(0,Mt.M)(()=>{this.events.next(new qe)}),((f,y,b,C)=>(0,ue.T)(D=>(new qr(y,D.targetRouterState,D.currentRouterState,b,C).activate(f),D)))(this.rootContexts,C.routeReuseStrategy,vt=>this.events.next(vt),this.inputBindingEnabled),(0,N.s)(1),(0,Mt.M)({next:vt=>{it=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Qn(vt.id,this.urlSerializer.serialize(vt.extractedUrl),this.urlSerializer.serialize(vt.urlAfterRedirects))),C.titleStrategy?.updateTitle(vt.targetRouterState.snapshot),vt.resolve(!0)},complete:()=>{it=!0}}),(0,Fe.Q)(this.transitionAbortSubject.pipe((0,Mt.M)(vt=>{throw vt}))),(0,Ue.j)(()=>{it||$t||this.cancelNavigationTransition(he,"",1),this.currentNavigation?.id===he.id&&(this.currentNavigation=null)}),(0,wt.W)(vt=>{if($t=!0,Rr(vt))this.events.next(new Ko(he.id,this.urlSerializer.serialize(he.extractedUrl),vt.message,vt.cancellationCode)),function Tr(f){return Rr(f)&&We(f.url)}(vt)?this.events.next(new kt(vt.url)):he.resolve(!1);else{this.events.next(new $o(he.id,this.urlSerializer.serialize(he.extractedUrl),vt,he.targetSnapshot??void 0));try{he.resolve(C.errorHandler(vt))}catch(pn){he.reject(pn)}}return J.w}
76))}))}cancelNavigationTransition(C,D,q){const he=new Ko(C.id,this.urlSerializer.serialize(C.extractedUrl),D,q);this.events.next(he),C.resolve(!1)}}return(f=y).\u0275fac=function(C){return new(C||f)},f.\u0275prov=e.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}),y})();function Gt(f){return f!==Xn}let Wt=(()=>{var f;class y{buildTitle(C){let D,q=C.root;for(;void 0!==q;)D=this.getResolvedTitleForRoute(q)??D,q=q.children.find(he=>he.outlet===Ge);return D}getResolvedTitleForRoute(C){return C.data[Ct]}}return(f=y).\u0275fac=function(C){return new(C||f)},f.\u0275prov=e.jDH({token:f,factory:function(){return(0,e.WQX)(Kt)},providedIn:"root"}),y})(),Kt=(()=>{var f;class y extends Wt{constructor(C){super(),this.title=C}updateTitle(C){const D=this.buildTitle(C);void 0!==D&&this.title.setTitle(D)}}return(f=y).\u0275fac=function(C){return new(C||f)(e.KVO(_t.hE))},f.\u0275prov=e.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}),y})(),nn=(()=>{var f;class y{}return(f=y).\u0275fac=function(C){return new(C||f)},f.\u0275prov=e.jDH({token:f,factory:function(){return(0,e.WQX)(yn)},providedIn:"root"}),y})();class Dn{shouldDetach(y){return!1}store(y,b){}shouldAttach(y){return!1}retrieve(y){return null}
76shouldReuseRoute(y,b){return y.routeConfig===b.routeConfig}}let yn=(()=>{var f;class y extends Dn{}return(f=y).\u0275fac=function(){let b;return function(D){return(b||(b=e.xGo(f)))(D||f)}}(),f.\u0275prov=e.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}),y})();const kn=new e.nKC("",{providedIn:"root",factory:()=>({})});let Hn=(()=>{var f;class y{}return(f=y).\u0275fac=function(C){return new(C||f)},f.\u0275prov=e.jDH({token:f,factory:function(){return(0,e.WQX)(wo)},providedIn:"root"}),y})(),wo=(()=>{var f;class y{shouldProcessUrl(C){return!0}extract(C){return C}merge(C,D){return C}}return(f=y).\u0275fac=function(C){return new(C||f)},f.\u0275prov=e.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}),y})();var lo=function(f){return f[f.COMPLETE=0]="COMPLETE",f[f.FAILED=1]="FAILED",f[f.REDIRECTING=2]="REDIRECTING",f}(lo||{});function Wn(f,y){f.events.pipe((0,ie.p)(b=>b instanceof Qn||b instanceof Ko||b instanceof $o||b instanceof No),(0,ue.T)(b=>b instanceof Qn||b instanceof No?lo.COMPLETE:b instanceof Ko&&(0===b.code||1===b.code)?lo.REDIRECTING:lo.FAILED),(0,ie.p)(b=>b!==lo.REDIRECTING),(0,N.s)(1)).subscribe(()=>{y()})}function bo(f){throw f}function Po(f,y,b){return y.parse("/")}const Ro={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Bi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let xo=(()=>{var f;class y{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,e.WQX)(e.H3F),this.isNgZoneEnabled=!1,this._events=new j.B,this.options=(0,e.WQX)(kn,{optional:!0})||{},this.pendingTasks=(0,e.WQX)(e.$K3),this.errorHandler=this.options.errorHandler||bo,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Po,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,e.WQX)(Hn),this.routeReuseStrategy=(0,e.WQX)(nn),this.titleStrategy=(0,e.WQX)(Wt),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,e.WQX)(A,{optional:!0})?.flat()??[],this.navigationTransitions=(0,e.WQX)(ft),this.urlSerializer=(0,e.WQX)(gt),this.location=(0,e.WQX)(F.aZ),this.componentInputBindingEnabled=!!(0,e.WQX)(An,{optional:!0}),this.eventsSubscription=new z.yU,this.isNgZoneEnabled=(0,e.WQX)(e.SKi)instanceof e.SKi&&e.SKi.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Le,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=En(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(C=>{this.lastSuccessfulId=C.id,this.currentPageId=this.browserPageId},C=>{this.console.warn(`Unhandled Navigation Error: ${C}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const C=this.navigationTransitions.events.subscribe(D=>{try{const{currentTransition:q}=this.navigationTransitions;if(null===q)return void(ji(D)&&this._events.next(D));if(D instanceof Eo)Gt(q.source)&&(this.browserUrlTree=q.extractedUrl);else if(D instanceof No)this.rawUrlTree=q.rawUrl;else if(D instanceof ro){if("eager"===this.urlUpdateStrategy){if(!q.extras.skipLocationChange){const he=this.urlHandlingStrategy.merge(q.urlAfterRedirects,q.rawUrl);this.setBrowserUrl(he,q)}this.browserUrlTree=q.urlAfterRedirects}}else if(D instanceof qe)this.currentUrlTree=q.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(q.urlAfterRedirects,q.rawUrl),this.routerState=q.targetRouterState,"deferred"===this.urlUpdateStrategy&&(q.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,q),this.browserUrlTree=q.urlAfterRedirects);
76else if(D instanceof Ko)0!==D.code&&1!==D.code&&(this.navigated=!0),(3===D.code||2===D.code)&&this.restoreHistory(q);else if(D instanceof kt){const he=this.urlHandlingStrategy.merge(D.url,q.currentRawUrl),it={skipLocationChange:q.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Gt(q.source)};this.scheduleNavigation(he,Xn,null,it,{resolve:q.resolve,reject:q.reject,promise:q.promise})}D instanceof $o&&this.restoreHistory(q,!0),D instanceof Qn&&(this.navigated=!0),ji(D)&&this._events.next(D)}catch(q){this.navigationTransitions.transitionAbortSubject.next(q)}});this.eventsSubscription.add(C)}resetRootComponentType(C){this.routerState.root.component=C,this.navigationTransitions.rootComponentType=C}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const C=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Xn,C)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(C=>{const D="popstate"===C.type?"popstate":"hashchange";"popstate"===D&&setTimeout(()=>{this.navigateToSyncWithBrowser(C.url,D,C.state)},0)}))}navigateToSyncWithBrowser(C,D,q){const he={replaceUrl:!0},it=q?.navigationId?q:null;if(q){const vt={...q};delete vt.navigationId,delete vt.\u0275routerPageId,0!==Object.keys(vt).length&&(he.state=vt)}const $t=this.parseUrl(C);this.scheduleNavigation($t,D,it,he)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(C){this.config=C.map(ko),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(C,D={}){const{relativeTo:q,queryParams:he,fragment:it,queryParamsHandling:$t,preserveFragment:vt}=D,pn=vt?this.currentUrlTree.fragment:it;let Fo,In=null;switch($t){case"merge":In={...this.currentUrlTree.queryParams,...he};break;case"preserve":In=this.currentUrlTree.queryParams;break;default:In=he||null}null!==In&&(In=this.removeEmptyProps(In));try{Fo=at(q?q.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof C[0]||!C[0].startsWith("/"))&&(C=[]),Fo=this.currentUrlTree.root}return dt(Fo,C,In,pn??null)}navigateByUrl(C,D={skipLocationChange:!1}){const q=We(C)?C:this.parseUrl(C),he=this.urlHandlingStrategy.merge(q,this.rawUrlTree);return this.scheduleNavigation(he,Xn,null,D)}navigate(C,D={skipLocationChange:!1}){return function Ao(f){for(let y=0;y<f.length;y++)if(null==f[y])throw new e.wOt(4008,!1)}(C),this.navigateByUrl(this.createUrlTree(C,D),D)}serializeUrl(C){return this.urlSerializer.serialize(C)}parseUrl(C){let D;try{D=this.urlSerializer.parse(C)}catch(q){D=this.malformedUriErrorHandler(q,this.urlSerializer,C)}return D}isActive(C,D){let q;if(q=!0===D?{...Ro}:!1===D?{...Bi}:D,We(C))return Ae(this.currentUrlTree,C,q);const he=this.parseUrl(C);return Ae(this.currentUrlTree,he,q)}removeEmptyProps(C){return Object.keys(C).reduce((D,q)=>{const he=C[q];return null!=he&&(D[q]=he),D},{})}scheduleNavigation(C,D,q,he,it){if(this.disposed)return Promise.resolve(!1);let $t,vt,pn;it?($t=it.resolve,vt=it.reject,pn=it.promise):pn=new Promise((Fo,$n)=>{$t=Fo,vt=$n});const In=this.pendingTasks.add();return Wn(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(In))}),this.navigationTransitions.handleNavigationRequest({source:D,restoredState:q,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:C,extras:he,resolve:$t,reject:vt,promise:pn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),pn.catch(Fo=>Promise.reject(Fo))}setBrowserUrl(C,D){const q=this.urlSerializer.serialize(C);if(this.location.isCurrentPathEqualTo(q)||D.extras.replaceUrl){const it={...D.extras.state,...this.generateNgRouterState(D.id,this.browserPageId)};this.location.replaceState(q,"",it)}else{const he={...D.extras.state,...this.generateNgRouterState(D.id,this.browserPageId+1)};this.location.go(q,"",he)}}restoreHistory(C,D=!1){if("computed"===this.canceledNavigationResolution){const he=this.currentPageId-this.browserPageId;0!==he?this.location.historyGo(he):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===he&&(this.resetState(C),this.browserUrlTree=C.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(D&&this.resetState(C),this.resetUrlToCurrentUrlTree())}resetState(C){this.routerState=C.currentRouterState,this.currentUrlTree=C.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,C.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(C,D){return"computed"===this.canceledNavigationResolution?{navigationId:C,\u0275routerPageId:D}:{navigationId:C}}}return(f=y).\u0275fac=function(C){return new(C||f)},f.\u0275prov=e.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}),y})();function ji(f){return!(f instanceof qe||f instanceof kt)}let si=(()=>{var f;class y{constructor(C,D,q,he,it,$t){this.router=C,this.route=D,this.tabIndexAttribute=q,this.renderer=he,this.el=it,this.locationStrategy=$t,this.href=null,this.commands=null,this.onChanges=new j.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const vt=it.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===vt||"area"===vt,this.isAnchorElement?this.subscription=C.events.subscribe(pn=>{pn instanceof Qn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(C){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",C)}ngOnChanges(C){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(C){null!=C?(this.commands=Array.isArray(C)?C:[C],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(C,D,q,he,it){return!!(null===this.urlTree||this.isAnchorElement&&(0!==C||D||q||he||it||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const C=null===this.href?null:(0,e.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",C)}applyAttributeValue(C,D){const q=this.renderer,he=this.el.nativeElement;null!==D?q.setAttribute(he,C,D):q.removeAttribute(he,C)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(f=y).\u0275fac=function(C){return new(C||f)(e.rXU(xo),e.rXU(Fn),e.kS0("tabindex"),e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(F.hb))},f.\u0275dir=e.FsC({type:f,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(C,D){1&C&&e.bIt("click",function(he){return D.onClick(he.button,he.ctrlKey,he.shiftKey,he.altKey,he.metaKey)}),2&C&&e.BMQ("target",D.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",e.L39],skipLocationChange:["skipLocationChange","skipLocationChange",e.L39],replaceUrl:["replaceUrl","replaceUrl",e.L39],routerLink:"routerLink"},standalone:!0,features:[e.GFd,e.OA$]}),y})(),Ht=(()=>{var f;class y{get isActive(){return this._isActive}constructor(C,D,q,he,it){this.router=C,this.element=D,this.renderer=q,this.cdr=he,this.link=it,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.bkB,this.routerEventsSubscription=C.events.subscribe($t=>{$t instanceof Qn&&this.update()})}ngAfterContentInit(){(0,V.of)(this.links.changes,(0,V.of)(null)).pipe((0,nt.U)()).subscribe(C=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const C=[...this.links.toArray(),this.link].filter(D=>!!D).map(D=>D.onChanges);this.linkInputChangesSubscription=(0,O.H)(C).pipe((0,nt.U)()).subscribe(D=>{this._isActive!==this.isLinkActive(this.router)(D)&&this.update()})}set routerLinkActive(C){const D=Array.isArray(C)?C:C.split(" ");this.classes=D.filter(q=>!!q)}ngOnChanges(C){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const C=this.hasActiveLinks();this._isActive!==C&&(this._isActive=C,this.cdr.markForCheck(),this.classes.forEac
76h(D=>{C?this.renderer.addClass(this.element.nativeElement,D):this.renderer.removeClass(this.element.nativeElement,D)}),C&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(C))})}isLinkActive(C){const D=function rn(f){return!!f.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return q=>!!q.urlTree&&C.isActive(q.urlTree,D)}hasActiveLinks(){const C=this.isLinkActive(this.router);return this.link&&C(this.link)||this.links.some(C)}}return(f=y).\u0275fac=function(C){return new(C||f)(e.rXU(xo),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(si,8))},f.\u0275dir=e.FsC({type:f,selectors:[["","routerLinkActive",""]],contentQueries:function(C,D,q){if(1&C&&e.wni(q,si,5),2&C){let he;e.mGM(he=e.lsd())&&(D.links=he)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.OA$]}),y})();class un{}let pr=(()=>{var f;class y{constructor(C,D,q,he,it){this.router=C,this.injector=q,this.preloadingStrategy=he,this.loader=it}setUpPreloading(){this.subscription=this.router.events.pipe((0,ie.p)(C=>C instanceof Qn),(0,Re.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(C,D){const q=[];for(const he of D){he.providers&&!he._injector&&(he._injector=(0,e.Ol2)(he.providers,C,`Route: ${he.path}`));const it=he._injector??C,$t=he._loadedInjector??it;(he.loadChildren&&!he._loadedRoutes&&void 0===he.canLoad||he.loadComponent&&!he._loadedComponent)&&q.push(this.preloadConfig(it,he)),(he.children||he._loadedRoutes)&&q.push(this.processRoutes($t,he.children??he._loadedRoutes))}return(0,O.H)(q).pipe((0,nt.U)())}preloadConfig(C,D){return this.preloadingStrategy.preload(D,()=>{let q;q=D.loadChildren&&void 0===D.canLoad?this.loader.loadChildren(C,D):(0,V.of)(null);const he=q.pipe((0,re.Z)(it=>null===it?(0,V.of)(void 0):(D._loadedRoutes=it.routes,D._loadedInjector=it.injector,this.processRoutes(it.injector??C,it.routes))));if(D.loadComponent&&!D._loadedComponent){const it=this.loader.loadComponent(D);return(0,O.H)([he,it]).pipe((0,nt.U)())}return he})}}return(f=y).\u0275fac=function(C){return new(C||f)(e.KVO(xo),e.KVO(e.Ql9),e.KVO(e.uvJ),e.KVO(un),e.KVO(_))},f.\u0275prov=e.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}),y})();const mo=new e.nKC("");let co=(()=>{var f;class y{constructor(C,D,q,he,it={}){this.urlSerializer=C,this.transitions=D,this.viewportScroller=q,this.zone=he,this.options=it,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},it.scrollPositionRestoration=it.scrollPositionRestoration||"disabled",it.anchorScrolling=it.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(C=>{C instanceof Eo?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=C.navigationTrigger,this.restoredId=C.restoredState?C.restoredState.navigationId:0):C instanceof Qn?(this.lastId=C.id,this.scheduleScrollEvent(C,this.urlSerializer.parse(C.urlAfterRedirects).fragment)):C instanceof No&&0===C.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(C,this.urlSerializer.parse(C.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(C=>{C instanceof je&&(C.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(C.position):C.anch
76or&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(C.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(C,D){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new je(C,"popstate"===this.lastSource?this.store[this.restoredId]:null,D))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(f=y).\u0275fac=function(C){e.QTQ()},f.\u0275prov=e.jDH({token:f,factory:f.\u0275fac}),y})();function to(f,...y){return(0,e.EmA)([{provide:A,multi:!0,useValue:f},[],{provide:Fn,useFactory:ts,deps:[xo]},{provide:e.iLQ,multi:!0,useFactory:Oi},y.map(b=>b.\u0275providers)])}function ts(f){return f.routerState.root}function Dr(f,y){return{\u0275kind:f,\u0275providers:y}}function Ei(f={}){return Dr(4,[{provide:mo,useFactory:()=>{const b=(0,e.WQX)(F.Xr),C=(0,e.WQX)(e.SKi),D=(0,e.WQX)(ft),q=(0,e.WQX)(gt);return new co(q,D,b,C,f)}}])}function Oi(){const f=(0,e.WQX)(e.zZn);return y=>{const b=f.get(e.o8S);if(y!==b.components[0])return;const C=f.get(xo),D=f.get(oa);1===f.get(ra)&&C.initialNavigation(),f.get(Wa,null,e.$GK.Optional)?.setUpPreloading(),f.get(mo,null,e.$GK.Optional)?.init(),C.resetRootComponentType(b.componentTypes[0]),D.closed||(D.next(),D.complete(),D.unsubscribe())}}const oa=new e.nKC("",{factory:()=>new j.B}),ra=new e.nKC("",{providedIn:"root",factory:()=>1}),Wa=new e.nKC("");function vc(f){return Dr(0,[{provide:Wa,useExisting:pr},{provide:un,useExisting:f}])}function Cc(f){return Dr(5,[{provide:kn,useValue:f}])}const Xa=new e.nKC("ROUTER_FORROOT_GUARD"),bc=[F.aZ,{provide:gt,useClass:Bt},xo,Pn,{provide:Fn,useFactory:ts,deps:[xo]},_,[]];function Pc(){return new e.NEm("Router",xo)}let Tt=(()=>{var f;class y{constructor(C){}static forRoot(C,D){return{ngModule:y,providers:[bc,[],{provide:A,multi:!0,useValue:C},{provide:Xa,useFactory:jo,deps:[[xo,new e.Xx1,new e.kdw]]},{provide:kn,useValue:D||{}},D?.useHash?{provide:F.hb,useClass:F.fw}:{provide:F.hb,useClass:F.Sm},{provide:mo,useFactory:()=>{const f=(0,e.WQX)(F.Xr),y=(0,e.WQX)(e.SKi),b=(0,e.WQX)(kn),C=(0,e.WQX)(ft),D=(0,e.WQX)(gt);return b.scrollOffset&&f.setOffset(b.scrollOffset),new co(D,C,f,y,b)}},D?.preloadingStrategy?vc(D.preloadingStrategy).\u0275providers:[],{provide:e.NEm,multi:!0,useFactory:Pc},D?.initialNavigation?Ya(D):[],D?.bindToComponentInputs?Dr(8,[ho,{provide:An,useExisting:ho}]).\u0275providers:[],[{provide:Ui,useFactory:Oi},{provide:e.iLQ,multi:!0,useExisting:Ui}]]}}static forChild(C){return{ngModule:y,providers:[{provide:A,multi:!0,useValue:C}]}}}return(f=y).\u0275fac=function(C){return new(C||f)(e.KVO(Xa,8))},f.\u0275mod=e.$C({type:f}),f.\u0275inj=e.G2t({}),y})();function jo(f){return"guarded"}function Ya(f){return["disabled"===f.initialNavigation?Dr(3,[{provide:e.hnV,multi:!0,useFactory:()=>{const y=(0,e.WQX)(xo);return()=>{y.setUpLocationChangeListener()}}},{provide:ra,useValue:2}]).\u0275providers:[],"enabledBlocking"===f.initialNavigation?Dr(2,[{provide:ra,useValue:0},{provide:e.hnV,multi:!0,deps:[e.zZn],useFactory:y=>{const b=y.get(F.hj,Promise.resolve());return()=>b.then(()=>new Promise(C=>{const D=y.get(xo),q=y.get(oa);Wn(D,()=>{C(!0)}),y.get(ft).afterPreactivation=()=>(C(!0),q.closed?(0,V.of)(void 0):q),D.initialNavigation()}))}}]).\u0275providers:[]]}const Ui=new e.nKC("")},9242:(ct,ce,a)=>{a.d(ce,{gq:()=>$,ob:()=>z,pI:()=>x,tA:()=>w});var e=a(7019),d=a(177),X=a(1413);const x=new e.nKC("recaptcha-language"),O=new e.nKC("recaptcha-base-url"),V=new e.nKC("recaptcha-nonce-tag"),$=(new e.nKC("recaptcha-settings"),new e.nKC("recaptcha-v3-site-key")),s_loadScript=function E(H,j,F,ue,ae){window.ng2recaptchaloaded=()=>{j(grecaptcha)};const N=document.createElement("script");N.innerHTML="",N.src=`${ue||"https://www.google.com/recaptcha/api.js"}?render=${H}&onload=ng2recaptchaloaded${F}`,ae&&N.setAttribute("nonce",ae),N.async=!0,N.defer=!0,document.head.appendChild(N)};let z=(()=>{var H;class j{constructor(ue,ae,N,te,ie,re){this.onLoadComplete=Ee=>{this.grecaptcha=Ee,this.actionBacklog&&this.actionBacklog.length>0&&(this.actionBacklog.forEach(([Re,Mt])=>this.executeActionWithSubject(Re,Mt)),this.actionBacklog=void 0)},this.zone=ue,this.isBrowser=(0,d.UE)(N),this.siteKey=ae,this.nonce=ie,this.language=re,this.baseUrl=te,this.init()}get onExecute(){return this.onExecuteSubject||(this.onExecuteSubject=ne
76w X.B,this.onExecuteObservable=this.onExecuteSubject.asObservable()),this.onExecuteObservable}get onExecuteError(){return this.onExecuteErrorSubject||(this.onExecuteErrorSubject=new X.B,this.onExecuteErrorObservable=this.onExecuteErrorSubject.asObservable()),this.onExecuteErrorObservable}execute(ue){const ae=new X.B;return this.isBrowser&&(this.grecaptcha?this.executeActionWithSubject(ue,ae):(this.actionBacklog||(this.actionBacklog=[]),this.actionBacklog.push([ue,ae]))),ae.asObservable()}executeActionWithSubject(ue,ae){const N=te=>{this.zone.run(()=>{ae.error(te),this.onExecuteErrorSubject&&this.onExecuteErrorSubject.next({action:ue,error:te})})};this.zone.runOutsideAngular(()=>{try{this.grecaptcha.execute(this.siteKey,{action:ue}).then(te=>{this.zone.run(()=>{ae.next(te),ae.complete(),this.onExecuteSubject&&this.onExecuteSubject.next({action:ue,token:te})})},N)}catch(te){N(te)}})}init(){this.isBrowser&&("grecaptcha"in window?this.grecaptcha=grecaptcha:s_loadScript(this.siteKey,this.onLoadComplete,this.language?"&hl="+this.language:"",this.baseUrl,this.nonce))}}return(H=j).\u0275fac=function(ue){return new(ue||H)(e.KVO(e.SKi),e.KVO($),e.KVO(e.Agw),e.KVO(O,8),e.KVO(V,8),e.KVO(x,8))},H.\u0275prov=e.jDH({token:H,factory:H.\u0275fac}),j})(),w=(()=>{var H;class j{}return(H=j).\u0275fac=function(ue){return new(ue||H)},H.\u0275mod=e.$C({type:H}),H.\u0275inj=e.G2t({providers:[z]}),j})()},2490:(ct,ce,a)=>{a.d(ce,{O:()=>X});var e=a(7019),d=a(177);let X=(()=>{var x;class O{constructor(p,$){this.document=p,this.platformId=$,this.documentIsAccessible=(0,d.UE)(this.platformId)}static getCookieRegExp(p){const $=p.replace(/([\[\]{}()|=;+?,.*^$])/gi,"\\$1");return new RegExp("(?:^"+$+"|;\\s*"+$+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(p){try{return decodeURIComponent(p)}catch{return p}}check(p){return!!this.documentIsAccessible&&(p=encodeURIComponent(p),O.getCookieRegExp(p).test(this.document.cookie))}get(p){if(this.documentIsAccessible&&this.check(p)){p=encodeURIComponent(p);const E=O.getCookieRegExp(p).exec(this.document.cookie);return E[1]?O.safeDecodeURIComponent(E[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const p={},$=this.document;return $.cookie&&""!==$.cookie&&$.cookie.split(";").forEach(E=>{const[s,I]=E.split("=");p[O.safeDecodeURIComponent(s.replace(/^ /,""))]=O.safeDecodeURIComponent(I)}),p}set(p,$,E,s,I,W,G){if(!this.documentIsAccessible)return;if("number"==typeof E||E instanceof Date||s||I||W||G)return void this.set(p,$,{expires:E,path:s,domain:I,secure:W,sameSite:G||"Lax"});let B=encodeURIComponent(p)+"="+encodeURIComponent($)+";";const J=E||{};J.expires&&(B+="number"==typeof J.expires?"expires="+new Date((new Date).getTime()+1e3*J.expires*60*60*24).toUTCString()+";":"expires="+J.expires.toUTCString()+";"),J.path&&(B+="path="+J.path+";"),J.domain&&(B+="domain="+J.domain+";"),!1===J.secure&&"None"===J.sameSite&&(J.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${p} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),J.secure&&(B+="secure;"),J.sameSite||(J.sameSite="Lax"),B+="sameSite="+J.sameSite+";",this.document.cookie=B}delete(p,$,E,s,I="Lax"){this.documentIsAccessible&&this.set(p,"",{expires:new Date("Thu, 01 Jan 1970 00:00:01 GMT"),path:$,domain:E,secure:s,sameSite:I})}deleteAll(p,$,E,s="Lax"){if(!this.documentIsAccessible)return;const I=this.getAll();for(const W in I)I.hasOwnProperty(W)&&this.delete(W,p,$,E,s)}}return(x=O).\u0275fac=function(p){return new(p||x)(e.KVO(d.qQ),e.KVO(e.Agw))},x.\u0275prov=e.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}),O})()},467:(ct,ce,a)=>{function e(X,x,O,V,p,$,E){try{var s=X[$](E),I=s.value}catch(W){return void O(W)}s.done?x(I):Promise.resolve(I).then(V,p)}function d(X){return function(){var x=this,O=arguments;return new Promise(function(V,p){var $=X.apply(x,O);function E(I){e($,V,p,E,s,"next",I)}function s(I){e($,V,p,E,s,"throw",I)}E(void 0)})}}a.d(ce,{A:()=>d})},1635:(ct,ce,a)=>{function W(ne,fe,le,Ue){return new(le||(le=Promise))(function(nt,_t){function Ge(mt){try{ze(Ue.next(mt))}catch(Ot){_t(Ot)}}function Ct(mt){try{ze(Ue.throw(mt))}catch(Ot){_t(Ot)}}function ze(mt){mt.done?nt(mt.value):function Fe(nt){return nt instanceof le?nt:new le(function(_t){_t(nt)})}(mt.value).then(Ge,Ct)}ze((Ue=Ue.apply(ne,fe||[])).next())})}function j(ne){return this instanceof j?(this.v=ne,this):new j(ne)}function F(ne,fe,le){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Fe,Ue=le.apply(ne,fe||[]),nt=[];return Fe=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Ge("next"),Ge("throw"),Ge("return",function _t(yt){return function(ut){return Promise.resolve(ut).then(yt,Ot)}}),Fe[Symbol.asyncIterator]=function(){return this},Fe;function Ge(yt,ut){Ue[yt]&&(Fe[yt]=function(ht){return new Promise(function(me,et){nt.push([yt,ht,me,et])>1||Ct(yt,ht)})},ut&&(Fe[yt]=ut(Fe[yt])))}function Ct(yt,ut){try{!function ze(yt){yt.value instanceof j?Promise.resolve(yt.value.v).then(mt,Ot):Qe(nt[0][2],yt)}(Ue[yt](ut))}catch(ht){Qe(nt[0][3],ht)}}function mt(yt){Ct("next",yt)}function Ot(yt){Ct("throw",yt)}function Qe(yt,ut){yt(ut),nt.shift(),nt.length&&Ct(nt[0][0],nt[0][1])}}function ae(ne){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var le,fe=ne[Symbol.asyncIterator];return fe?fe.call(ne):(ne=function z(ne){var fe="function"==typeof Symbol&&Symbol.iterator,le=fe&&ne[fe],Ue=0;if(le)return le.call(ne);if(ne&&"number"==typeof ne.length)return{next:function(){return ne&&Ue>=ne.length&&(ne=void 0),{value:ne&&ne[Ue++],done:!ne}}};throw new TypeError(fe?"Object is not iterable.":"Symbol.iterator is not defined.")}(ne),le={},Ue("next"),Ue("throw"),Ue("return"),le[Symbol.asyncIterator]=function(){return this},le);function Ue(nt){le[nt]=ne[nt]&&function(_t){return new Promise(function(Ge,Ct){!function Fe(nt,_t,Ge,Ct){Promise.resolve(Ct).then(function(ze){nt({value:ze,done:Ge})},_t)}(Ge,Ct,(_t=ne[nt](_t)).done,_t.value)})}}}a.d(ce,{AQ:()=>F,N3:()=>j,sH:()=>W,xN:()=>ae}),"function"==typeof SuppressedError&&SuppressedError},1551:ct=>{ct.exports=JSON.parse('{"global":{"purchased":{"ru":"\u041a\u0443\u043f\u043b\u0435\u043d\u043e","en":"Purchased","es":"Comprado"},"toCart":{"ru":"\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443","en":"Add to cart","es":"A\xf1adir al carrito"},"toOpenCart":{"ru":"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043a\u043e\u0440\u0437\u0438\u043d\u0443","en":"View cart","es":"Ver el c
76arrito"},"createdByAiTooltip":{"ru":"\u0421\u043e\u0437\u0434\u0430\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0418\u0418","en":"Created with AI","es":"Creado con IA"},"createdByAiTitle":{"ru":"\u042d\u0442\u0430 \u043c\u043e\u0434\u0435\u043b\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0418\u0418","en":"This model was created with AI","es":"Este modelo fue creado con IA"},"createdByAi":{"ru":"<p style=\\"margin-bottom: 24px;\\">\u0422\u0430\u043a\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0438\u043b\u0438 \u0435\u0451 \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0446\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u043c\u0438 \u2014 \u044d\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0432 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0438 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430\u043c\u0438</p><p style=\\"margin-bottom: 24px;\\">\u041c\u043e\u0434\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441 \u043f\u043b\u043e\u0442\u043d\u043e\u0439 \u0441\u0435\u0442\u043a\u043e\u0439 \u0431\u0435\u0437 \u0440\u0435\u0442\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u0438, \u0447\u0442\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u0435\u0451 \u0432\u0435\u0441, \u0438\u043b\u0438 \u043d\u0438\u0437\u043a\u043e\u043f\u043e\u043b\u0438\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0441 \u0434\u0435\u0442\u0430\u043b\u044f\u043c\u0438, \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u044b\u043c\u0438 \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u0430\u043c\u0438 \u0432\u043c\u0435\u0441\u0442\u043e \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0438</p><p style=\\"border-radius: 12px; background-color: var(--blue-100); padding: 16px; margin: 0\\">\u041a\u0430\u043a \u0438 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438, \u043c\u043e\u0434\u0435\u043b\u0438, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0418\u0418, \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0442 \u043c\u043e\u0434\u0435\u0440\u0430\u0446\u0438\u044e</p>","en":"<p style=\\"margin-bottom: 24px;\\">Such a model, or its main part, is a solid object, so this should be taken into account when working with geometry and materials.</p><p style=\\"margin-bottom: 24px;\\">The model may have a dense mesh without retopology, which increases its file size, or it may be low-poly, with details represented by textures rather than geometry.</p><p style=\\"border-radius: 12px; background-color: var(--blue-100); padding: 16px; margin: 0\\">Like all other models, AI-created models go through moderation</p>","es":"<p style=\\"margin-bottom: 24px;\\">Este tipo de modelo, o su parte principal, es un objeto s\xf3lido e \xedntegro, por lo que esto debe tenerse en cuenta al trabajar con elementos geom\xe9tricos y materiales.</p><p style=\\"margin-bottom: 24px;\\">El modelo puede tener una malla densa sin retopolog\xeda, lo que aumenta su peso, o puede ser de baja poligonizaci\xf3n, con los detalles representados mediante texturas en lugar de geometr\xeda.</p><p style=\\"border-radius: 12px; background-color: var(--blue-100); padding: 16px; margin: 0\\">Como todos los dem\xe1s modelos, los modelos creados con IA pasan por moderaci\xf3n</p>"}},"modelEditDelete":{"delete":{"ru":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","en":"Delete","es":"Eliminar"},"cancel":{"ru":"\u041e\u0442\u043c\u0435\u043d\u0430","en":"Cancel","es":"Cancelar"},"edit":{"ru":"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c","en":"Edit","es":"Editar"},"areYouSure":{"ru":"\u0412\u044b \u0442\u043e\u0447\u043d\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0431\u0435\u0437\u0432\u043e\u0437\u0432\u0440\u0430\u0442\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u044c?","en":"Are you sure you want to permanently delete the model?","es":"\xbfEst\xe1s seguro de que deseas eliminar permanentemente el modelo?"},"areYouSureDownload":{"ru":"\u0412\u044b \u0442\u043e\u0447\u043d\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043c\u043e\u0434\u0435\u043b\u044c \u043d\u0430 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e?","en":"Are you sure you want to download the model to your mobile device?","es":"\xbfEst\xe1s seguro de que deseas descargar el modelo a tu dispositivo m\xf3vil?"},"download":{"ru":"\u0421\u043a\u0430\u0447\u0430\u0442\u044c","en":"Download","es":"Descargar"}},"titles":{"theseModelsMaySuitYou":{"ru":"\u041f\u043e\u0445\u043e\u0436\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438","en":"Similar models","es":"Modelos similares"},"showMore":{"ru":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435","en":"Show more","es":"Mostrar m\xe1s"}},"info":{"publicationDate":{"ru":"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u0430","en":"Published","es":"Publicado el"},"showMore":{"ru":"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435","en":"Show more","es":"Mostrar m\xe1s"},"platform":{"ru":"\u041f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430:","en":"Platform:","es":"Plataforma:"},"size":{"ru":"\u0420\u0430\u0437\u043c\u0435\u0440:","en":"Size:","es":"Tama\xf1o:"},"render":{"ru":"\u0420\u0435\u043d\u0434\u0435\u0440:","en":"Render:","es":"Renderizado:"},"polygons":{"ru":"\u041f\u043e\u043b\u0438\u0433\u043e\u043d\u043e\u0432:","en":"Polygons:","es":"Pol\xedgonos:"},"colors":{"ru":"\u0426\u0432\u0435\u0442\u0430:","en":"Colors:","es":"Colores:"},"length":{"ru":"\u0414\u043b\u0438\u043d\u0430:","en":"Length:","es":"Longitud:"},"width":{"ru":"\u0428\u0438\u0440\u0438\u043d\u0430:","en":"Width:","es":"Ancho:"},"height":{"ru":"\u0412\u044b\u0441\u043e\u0442\u0430:","en":"Height:","es":"Altura:"},"style":{"ru":"\u0421\u0442\u0438\u043b\u044c:","en":"Style:","es":"Estilo:"},"materials":{"ru":"\u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b:","en":"Materials:","es":"Materiales:"},"formfactor":{"ru":"\u0424\u043e\u0440\u043c\u0430:","en":"Formfactor:","es":"Forma:"},"showLess":{"ru":"\u0421\u0432\u0435\u0440\u043d\u0443\u0442\u044c","en":"Show less","es":"Mostrar menos"},"paymentPerMonth":{"ru":"\u20bd / \u043c\u0435\u0441.","en":"$ / months","es":"$ / mes"},"paymentPerMonthShort":{"ru":"\u20bd/\u043c\u0435\u0441.","en":"$/mo.","es":"$/mes"},"tooltipUsersWhoAddedThisModel":{"ru":"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438<br>\u044d\u0442\u0443 \u043c\u043e\u0434\u0435\u043b\u044c \u0432 \u0441\u0432\u043e\u0438 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438","en":"Users who added this model<br>to their collections","es":"Usuarios que a\xf1adieron este modelo<br>a sus colecciones"},"tooltipPro3dModel":{"ru":"\u041f\u043b\u0430\u0442\u043d\u0430\u044f 3D \u043c\u043e\u0434\u0435\u043b\u044c","en":"Paid 3D model","es":"Modelo 3D de pago"},"tooltipFree3dModel":{"ru":"\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430\u044f 3D \u043c\u043e\u0434\u0435\u043b\u044c","en":"Free 3D model","es":"Modelo 3D gratuito"},"tooltipOmFree3dModel":{"ru":"\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430\u044f 3D \u043c\u043e\u0434\u0435\u043b\u044c<br>\u043e\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f","en":"Free 3D model from<br>the manufacturer","es":"Modelo 3D gratis del<br>fabricante"}},"ago":{"ru":"\u043d\u0430\u0437\u0430\u0434","en":"ago","es":"hace"},"year":{"one":{"ru":"\u0433\u043e\u0434","en":"year","es":"a\xf1o"},"two":{"ru":"\u0433\u043e\u0434\u0430","en":"years","es":"a\xf1os"},"five":{"ru":"\u043b\u0435\u0442","en":"years","es":"a\xf1os"}},"month":{"one":{"ru":"\u043c\u0435\u0441\u044f\u0446","en":"month","es":"mes"},"two":{"ru":"\u043c\u0435\u0441\u044f\u0446\u0430","en":"months","es":"meses"},"five":{"ru":"\u043c\u0435\u0441\u044f\u0446\u0435\u0432","en":"months","es":"meses"}},"day":{"one":{"ru":"\u0434\u0435\u043d\u044c","en":"day","es":"d\xeda"},"two":{"ru":"\u0434\u043d\u044f","en":"days","es":"d\xedas"},"five":{"ru":"\u0434\u043d\u0435\u0439","en":"days","es":"d\xedas"}},"hour":{"one":{"ru":"\u0447\u0430\u0441","en":"hour","es":"hora"},"two":{"ru":"\u0447\u0430\u0441\u0430","en":"hours","es":"horas"},"five":{"ru":"\u0447\u0430\u0441\u043e\u0432","en":"hours","es":"horas"}},"minute":{"one":{"ru":"\u043c\u0438\u043d\u0443\u0442\u0443","en":"minute","es":"minuto"},"two":{"ru":"\u043c\u0438\u043d\u0443\u0442\u044b","en":"minutes","es":"minutos"},"five":{"ru":"\u043c\u0438\u043d\u0443\u0442","en":"minutes","es":"minutos"}},"second":{"one":{"ru":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443","en":"second","es":"segundo"},"two":{"ru":"\u0441\u0435\u043a\u0443\u043d\u0434\u044b","en":"seconds","es":"segundos"},"five":{"ru":"\u0441\u0435\u043a\u0443\u043d\u0434","en":"seconds","es":"segundos"}},"meta":{"descriptionPro":{"ru":"\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f","en":"Available for download","es":"Disponible para descargar"},"descriptionFree":{"ru":"\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0434\u043b\u044f \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0433\u043e \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f","en":"Available for free download","es":"Disponible para descarga gratuita"}},"likes":{"iRecommend":{"ru":"\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e","en":"Recommend","es":"Recomendar"},"recommend":{"ru":"\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e\u0442","en":"Recommend","es":"Recomiendan"},"seeAll":{"ru":"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0441\u0435\u0445","en":"See all...","es":"Ver todos..."}},"bookmarks":{"placeholder":{"ru":"\u041d\u043e\u0432\u0430\u044f \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f","en":"New collection","es":"Nueva colecci\xf3n"},"addToCollection":{"ru":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e","en":"Add to collection","es":"A\xf1adir a la colecci\xf3n"},"favorites":{"ru":"\u0418\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435","en":"Favorites","es":"Favoritos"}},"followToAuthor":{"follow":{"ru":"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f","en":"Follow","es":"Seguir"},"youFollow":{"ru":"\u0412\u044b \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b","en":"You follow","es":"Sigues"}},"comments":{"one":{"ru":"\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439","en":"comment","es":"comentario"},"two":{"ru":"\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f","en":"comments","es":"comentarios"},"five":{"ru":"\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432","en":"comments","es":"comentarios"}},"commentsAnswer":{"one":{"ru":"\u043e\u0442\u0432\u0435\u0442","en":"reply","es":"respuesta"},"two":{"ru":"\u043e\u0442\u0432\u0435\u0442\u0430","en":"replies","es":"respuestas"},"five":{"ru":"\u043e\u0442\u0432\u0435\u0442\u043e\u0432","en":"replies","es":"respuestas"}},"followers":{"one":{"ru":"\u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a","en":"follower","es":"seguidor"},"two":{"ru":"\u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u0430","en":"followers","es":"seguidores"},"five":{"ru":"\u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432","en":"followers","es":"seguidores"}},"followersAuthorPlural":{"one":{"ru":"@@count \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a","en":"@@count access","es":"@@count seguidor"},"few":{"ru":"@@count \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u0430","en":"@@count followers","es":"@@count seguidores"},"many":{"ru":"@@count \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432","en":"@@count followers","es":"@@count seguidores"},"other":{"ru":"@@count \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432","en":"@@count followers","es":"@@count seguidores"}}
76,"modelButton":{"nextDay":{"ru":"\u041b\u0438\u043c\u0438\u0442 FREE \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0438\u0441\u0447\u0435\u0440\u043f\u0430\u043d, \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u0430\u043d\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u043c \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0434\u0435\u043d\u044c \u0441 00:00 UTC+3","en":"FREE models daily limit is reached. Downloading will be available the next day from 00:00 UTC+3","es":"L\xedmite diario de modelos FREE alcanzado. La descarga estar\xe1 disponible al d\xeda siguiente a partir de las 00:00 (UTC+3)"},"download":{"ru":"\u0421\u043a\u0430\u0447\u0430\u0442\u044c","en":"Download","es":"Descargar"},"buyAccesses":{"ru":"\u041a\u0443\u043f\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u044b","en":"Buy accesses","es":"Comprar accesos"},"freeDownload":{"ru":"\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e","en":"Free download","es":"Descargar gratis"},"increaseTheLimit":{"ru":"\u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u043b\u0438\u043c\u0438\u0442","en":"Increase the limit","es":"Aumentar el l\xedmite"},"downloadForOneAccess":{"ru":"\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0437\u0430 1 \u0434\u043e\u0441\u0442\u0443\u043f","en":"Download for 1 credit","es":"Descargar por 1 cr\xe9dito"},"downloadForOneAccessOneString":{"ru":"\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0437\u0430 1&nbsp;\u0434\u043e\u0441\u0442\u0443\u043f","en":"Download for 1&nbsp;credit","es":"Descargar por 1&nbsp;cr\xe9dito"},"downloadAgain":{"ru":"\u0421\u043a\u0430\u0447\u0430\u0442\u044c","en":"Download","es":"Descargar"},"downloadCompleted":{"ru":"\u0421\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e","en":"Download completed","es":"Descarga completada"}},"credits":{"one":{"ru":"\u0411\u0430\u043b\u0430\u043d\u0441: <b>@@count</b> \u0434\u043e\u0441\u0442\u0443\u043f \u043a PRO \u043c\u043e\u0434\u0435\u043b\u044f\u043c","en":"Balance: <b>@@count</b> credit","es":"Saldo: <b>@@count</b> cr\xe9dito"},"few":{"ru":"\u0411\u0430\u043b\u0430\u043d\u0441: <b>@@count</b> \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a PRO \u043c\u043e\u0434\u0435\u043b\u044f\u043c","en":"Balance: <b>@@count</b> credits","es":"Saldo: <b>@@count</b> cr\xe9ditos"},"many":{"ru":"\u0411\u0430\u043b\u0430\u043d\u0441: <b>@@count</b> \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u0432 \u043a PRO \u043c\u043e\u0434\u0435\u043b\u044f\u043c","en":"Balance: <b>@@count</b> credits","es":"Saldo: <b>@@count</b> cr\xe9ditos"},"other":{"ru":"\u0411\u0430\u043b\u0430\u043d\u0441: <b>@@count</b> \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u0432 \u043a PRO \u043c\u043e\u0434\u0435\u043b\u044f\u043c","en":"Balance: <b>@@count</b> credits","es":"Saldo: <b>@@count</b> cr\xe9ditos"}},"access":{"one":{"ru":"\u0434\u043e\u0441\u0442\u0443\u043f","en":"access","es":"acceso"},"two":{"ru":"\u0434\u043e\u0441\u0442\u0443\u043f\u0430","en":"accesses","es":"accesos"},"five":{"ru":"\u0434\u043e\u0441\u0442\u0443\u043f\u043e\u0432","en":"accesses","es":"accesos"}},"freeModels":{"one":{"ru":"\u041b\u0438\u043c\u0438\u0442 \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f: <b>@@count</b> FREE \u043c\u043e\u0434\u0435\u043b\u044c","en":"Today limit: <b>@@count</b> FREE model","es":"L\xedmite de hoy: <b>@@count</b> modelo FREE"},"few":{"ru":"\u041b\u0438\u043c\u0438\u0442 \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f: <b>@@count</b> FREE \u043c\u043e\u0434\u0435\u043b\u0438","en":"Today limit: <b>@@count</b> FREE models","es":"L\xedmite de hoy: <b>@@count</b> modelos FREE"},"many":{"ru":"\u041b\u0438\u043c\u0438\u0442 \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f: <b>@@count</b> FREE \u043c\u043e\u0434\u0435\u043b\u0435\u0439","en":"Today limit: <b>@@count</b> FREE models","es":"L\xedmite de hoy: <b>@@count</b> modelos FREE"}
76,"other":{"ru":"\u041b\u0438\u043c\u0438\u0442 \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f: <b>@@count</b> FREE \u043c\u043e\u0434\u0435\u043b\u0438","en":"Today limit: <b>@@count</b> FREE models","es":"L\xedmite de hoy: <b>@@count</b> modelos FREE"}},"error":{"alreadyInCart":{"ru":"\u0412\u044b \u0443\u0436\u0435 \u043f\u043e\u043a\u0443\u043f\u0430\u0435\u0442\u0435 \u044d\u0442\u0443 \u043c\u043e\u0434\u0435\u043b\u044c \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u0440\u0437\u0438\u043d\u0443","en":"You are already purchasing this model through the cart","es":"Ya est\xe1s comprando este modelo a trav\xe9s del carrito"}}}')}},ct=>{ct(ct.s=5713)}]);

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.