Your IP : 18.117.107.190
import{a as lo,b as uo}from"./chunk-CWISJPD3.js";import{a as gt}from"./chunk-P5ECH4E2.js";import{a as Qe}from"./chunk-ZTSJF7T7.js";import{d as ao,f as so,g as po}from"./chunk-3NL2COVR.js";import{a as oo,b as ro}from"./chunk-DFRPFY7B.js";import{a as Jt,b as ce,c as mo}from"./chunk-QRGA6IGI.js";import{a as Zt,b as ti,c as wt}from"./chunk-N3NSMNNC.js";import{a as co}from"./chunk-MOYBPCLQ.js";import"./chunk-LEQN3D2Q.js";import{a as Kt,b as zn,c as Hn}from"./chunk-KOPGM7TY.js";import{a as Gt}from"./chunk-O6FCMJDP.js";import{a as st}from"./chunk-O3MRBEHJ.js";import{a as ei,b as ii}from"./chunk-XCB6Q7V4.js";import{b as Gn,e as Yn,f as Xn,g as Jn,h as Zn,i as eo,j as to,k as io,o as no}from"./chunk-YEF45YHO.js";import{b as be,c as Yt,e as ct,f as Xt}from"./chunk-HDHDVZQK.js";import{b as Qn,c as Kn}from"./chunk-PK74BOF4.js";import"./chunk-UIMIPCPG.js";import"./chunk-H3YY3OLT.js";import"./chunk-BKOP7W6P.js";import{a as En}from"./chunk-EI5KBZMB.js";import"./chunk-WDCLQCI6.js";import{a as yt}from"./chunk-VX77VCCO.js";import{c as at,d as Ae,e as Cn,g as ve,h as Oi,j as Ge,k as Ti}from"./chunk-WUJDRKKX.js";import{b as qn,d as Wn}from"./chunk-25EXV7IU.js";import{a as ue,d as pt,e as _e}from"./chunk-CPXWTLES.js";import{a as Qt}from"./chunk-KU75D4PT.js";import{d as Fn,g as Un}from"./chunk-BATIAXZ4.js";import{A as $n,b as yn,c as pe,d as xe}from"./chunk-KX5BXGZT.js";import{a as Z,c as Y,f as Dn,h as Bn,x as An,y as Ln,z as Be}from"./chunk-M6DH5DPB.js";import{$a as w,$b as de,A as pn,Aa as ki,Ab as he,Ac as Wt,B as cn,Bb as G,Bc as Rn,C as Ze,Ca as Te,Cb as V,Cc as Me,Da as Pe,Ea as Ie,Fa as hn,Fb as bn,Ga as vn,H as ln,Ha as jt,I as Ce,Ia as I,Ka as S,L as s,La as K,M as C,Ma as E,Na as xn,Pb as wn,Qb as Sn,Rb as At,Sa as nt,Sb as It,T as Oe,Ta as me,Tb as kn,U as dn,V as mn,Va as T,W as un,Wa as F,Xa as Vt,Ya as Mi,Yb as Lt,Z as u,Zb as Ut,_a as y,aa as ne,ba as a,bb as W,bc as zt,c as ge,ca as He,cc as Ht,d as N,da as A,dc as Mn,ec as On,f as X,fa as et,fc as bt,g as re,gb as xt,gc as Ct,ha as Re,ia as _n,ic as Tn,k as g,ka as tt,kb as ye,l as j,la as it,m as an,ma as c,na as l,nc as Pn,oa as m,oc as oe,pa as L,pc as $t,q as h,qa as U,qc as H,r as v,ra as z,rc as Pi,s as sn,sa as M,sc as In,ta as fn,tb as ke,tc as Nn,ua as gn,ub as D,uc as jn,va as x,vb as B,vc as Vn,wb as ot,x as Se,xa as d,xb as rt,y as se,ya as Fe,yb as Rt,za as De,zc as qt}from"./chunk-SXUPRFOU.js";import{$ as Si,A as Ye,G as O,H as Xe,N as Ji,O as Zi,P as en,Q as tn,S as Q,V as yi,X as wi,Y as Ne,_ as Pt,a as R,b as q,ba as je,ca as fe,e as jr,f as Vr,fa as Nt,ja as ze,m as We,o as Ci,ra as nn,s as Ke,t as ie,ta as Ve,va as on,w as Xi,xa as le,ya as rn}from"./chunk-ERDNNTNA.js";var Do=jr((Ft,Ri)=>{(function(e,i){typeof Ft=="object"&&typeof Ri=="object"?Ri.exports=i():typeof define=="function"&&define.amd?define("easyScroll",[],i):typeof Ft=="object"?Ft.easyScroll=i():e.easyScroll=i()})(Ft,function(){return function(e){function i(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}var r={};return i.m=e,i.c=r,i.d=function(t,n,o){i.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},i.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(n,"a",n),n},i.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},i.p="/",i(i.s=0)}([function(e,i,r){"use strict";function t(P){return P&&P.__esModule?P:{default:P}}Object.defineProperty(i,"__esModule",{value:!0});var n=r(1),o=t(n),p=r(2),_=t(p),f=function(P){var te=P.easingPreset,ee=P.cubicBezierPoints,Ee=P.duration,qe=P.runTime,ut=qe/Ee;return o.default.hasOwnProperty(te)?o.default[te](ut):ee&&!isNaN(ee.x1)&&!isNaN(ee.y1)&&!isNaN(ee.x2)&&!isNaN(ee.y2)&&ee.x1>=0&&ee.x2>=0?(0,_.default)({percentTimeElapsed:ut,x1:ee.x1,x2:ee.x2,y1:ee.y1,y2:ee.y2}):(console.error("Please enter a valid easing value"),!1)},b=function(P){var te=P.isWindow,ee=P.scrollableDomEle,Ee=P.elementLengthProp,qe=P.initialScrollPosition,ut=P.isHorizontalDirection,fi=P.scrollLengthProp,gi=P.direction,_t=void 0;if(te){var kt=document.documentElement;_t=ut?kt.offsetWidth:kt.offsetHeight}else _t=ee[fi]-ee[Ee];return["left","top"].includes(gi)?qe:_t-qe},$=function(P){var te=P.scrollableDomEle,ee=P.onAnimationCompleteCallback,Ee=P.direction,qe=P.onRefUpdateCallback,ut=P.duration,fi=P.cubicBezierPoints,gi=P.easingPreset,_t=P.scrollAmount,kt=null,Mt=null,hi=null,vi=null,ft=te===window,vt=["left","right"].indexOf(Ee)>-1,Qi=["right","bottom"].indexOf(Ee)>-1;vt?(Mt=ft?"scrollX":"scrollLeft",vi=ft?"innerWidth":"clientWidth",hi="scrollWidth"):(Mt=ft?"scrollY":"scrollTop",vi=ft?"innerHeight":"clientHeight",hi="scrollHeight");var Ot=te[Mt],Bt=b({isWindow:ft,scrollableDomEle:te,elementLengthProp:vi,initialScrollPosition:Ot,isHorizontalDirection:vt,scrollLengthProp:hi,direction:Ee});!isNaN(_t)&&_t<Bt&&(Bt=_t);var $r=function Tt(Er){var qi=Er-kt,Wi=f({easingPreset:gi,cubicBezierPoints:fi,runTime:qi,duration:ut});if(!isNaN(Wi)){var Ki=Wi*Bt,xi=Qi?Ki+Ot:Ot-Ki;if(qi<ut){if(ft){var Fr=vt?xi:0,Dr=vt?0:xi;window.scrollTo(Fr,Dr)}else te[Mt]=xi;qe?qe(requestAnimationFrame(Tt)):requestAnimationFrame(Tt)}else{var Yi=Bt,bi=Qi?Yi+Ot:Ot-Yi;if(ft){var Br=vt?bi:0,Nr=vt?0:bi;window.scrollTo(Br,Nr)}else te[Mt]=bi;ee&&ee()}}};requestAnimationFrame(function(Tt){kt=Tt,$r(Tt)})};i.default=$,e.exports=i.default},function(e,i,r){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:function(t){return t<.5?2*t*t:(4-2*t)*t-1},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1- --t*t*t*t},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1+--t*t*t*t*t},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t}},e.exports=i.default},function(e,i,r){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var t=function(f){return Math.pow(f,3)},n=function(f){return 3*f*f*(1-f)},o=function(f){return 3*f*Math.pow(1-f,2)},p=function(f){return Math.pow(1-f,3)},_=function(f){var b=f.percentTimeElapsed,$=f.x1,P=f.y1,te=f.x2,ee=f.y2;return 1-($*t(b)+P*n(b)+te*o(b)+ee*p(b))};i.default=_,e.exports=i.default}])})});var Rr=(e,i)=>[e,i],Ar=()=>({danger:"danger_s",warning:"info_s",success:"success_s",info:"info_s"}),Lr=()=>({width:"9px",height:"9px"});function Ur(e,i){if(e&1){let r=M();c(0,"button",6),x("click",function(n){h(r);let o=d().$implicit,p=d();return v(p.handleButtonClick(n,o))}),S(1),l()}if(e&2){let r=d().$implicit;s(),E(" ",r.button.label," ")}}function zr(e,i){if(e&1){let r=M();c(0,"button",7),x("click",function(n){h(r);let o=d().$implicit,p=d();return v(p.handleClose(n,o))}),m(1,"isp-svg-icon",8),l()}e&2&&(s(),a("customStyle",T(1,Lr)))}function Hr(e,i){if(e&1){let r=M();c(0,"div",1),x("animationend",function(){let n=h(r).$implicit,o=d();return v(o.onAnimationEnd(n))}),m(1,"isp-svg-icon",2),c(2,"span",3),S(3),l(),u(4,Ur,2,1,"button",4)(5,zr,2,2,"button",5),l()}if(e&2){let r=i.$implicit;et(Vt(6,Rr,"narrow-banner_status_"+r.status,"narrow-banner_state_"+r.state)),s(),a("name",T(9,Ar)[r.status]),s(2),K(r.text),s(),a("ngIf",r.button),s(),a("ngIf",r.isClosable)}}var _o=(()=>{let i=class i{constructor(t,n,o){this.narrowBannerService=t,this.cdr=n,this.appService=o,this.banners=this.narrowBannerService.banners,this.appService.isDesktopRendered$.pipe(Nt(p=>p),je(2e3)).subscribe(()=>{this.narrowBannerService.setAnchorComponent(this)})}markForCheck(){this.cdr.markForCheck()}onAnimationEnd(t){switch(t.state){case"open":t.state="idle";break;case"close":this.banners.delete(t.id);break;case"idle":default:return}}handleButtonClick(t,n){n.button.onClick&&n.button.onClick(t),n.button.closeOnClick&&this.closeBanner(n.id,t)}handleClose(t,n){this.closeBanner(n.id,t)}closeBanner(t,n){this.narrowBannerService.closeBanner(t,n)}};i.\u0275fac=function(n){return new(n||i)(C(Mn),C(xt),C(oe))},i.\u0275cmp=g({type:i,selectors:[["isp-narrow-banner"]],decls:1,vars:1,consts:[["class","narrow-banner",3,"class","animationend",4,"ngFor","ngForOf"],[1,"narrow-banner",3,"animationend"],[1,"narrow-banner__icon",3,"name"],[1,"narrow-banner__text"],["class","narrow-banner__button","type","button",3,"click",4,"ngIf"],["tabindex","-1","class","narrow-banner__close-button","type","button",3,"click",4,"ngIf"],["type","button",1,"narrow-banner__button",3,"click"],["tabindex","-1","type","button",1,"narrow-banner__close-button",3,"click"],["name","close_s",1,"narrow-banner__close-icon",3,"customStyle"]],template:function(n,o){n&1&&u(0,Hr,6,10,"div",0),n&2&&a("ngForOf",o.banners.values())},dependencies:[D,B,Z],styles:["[_nghost-%COMP%]{z-index:var(--isp-header-z-index);display:flex;flex-direction:column}.narrow-banner[_ngcontent-%COMP%]{--isp-icons-main-color: var(--isp-text-color-main);position:absolute;inset:0;display:flex;align-items:center;justify-content:center;width:100%;height:25px;overflow:hidden;color:var(--isp-text-color-main);transform:translateY(0)}.narrow-banner[_ngcontent-%COMP%]:first-child{position:relative}.narrow-banner_state_close[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_slide-down;animation-duration:.2s;animation-direction:reverse;animation-timing-function:ease-in-out;animation-fill-mode:forwards}.narrow-banner_state_close[_ngcontent-%COMP%]:first-child{animation-name:_ngcontent-%COMP%_height-down}.narrow-banner_state_open[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_slide-down;animation-duration:.2s;animation-direction:normal;animation-timing-function:ease-in-out;animation-fill-mode:forwards}.narrow-banner_state_open[_ngcontent-%COMP%]:first-child{animation-name:_ngcontent-%COMP%_height-down}.narrow-banner_status_warning[_ngcontent-%COMP%]{z-index:var(--isp-narrow-banner-warning-z-index);background-color:var(--isp-dc-heliodor)}.narrow-banner_status_info[_ngcontent-%COMP%]{z-index:var(--isp-narrow-banner-info-z-index);background-color:var(--isp-dc-the-institute)}.narrow-banner_status_danger[_ngcontent-%COMP%]{z-index:var(--isp-narrow-banner-danger-z-index);background-color:var(--isp-dc-rhodochrosite)}.narrow-banner_status_success[_ngcontent-%COMP%]{z-index:var(--isp-narrow-banner-success-z-index);background-color:var(--isp-dc-alexandrite)}.narrow-banner__icon[_ngcontent-%COMP%]{display:flex;margin-right:10px}.narrow-banner__text[_ngcontent-%COMP%]{margin-right:10px}.narrow-banner__button[_ngcontent-%COMP%], .narrow-banner__close-button[_ngcontent-%COMP%]{padding:0;margin:0;font-family:inherit;color:inherit;text-decoration:underline;background:none;border:none;cursor:pointer}.narrow-banner__close-button[_ngcontent-%COMP%]{position:absolute;right:20px;display:flex;align-items:center;justify-content:center;width:15px;height:15px;border-radius:50%}.narrow-banner__close-button[_ngcontent-%COMP%]:hover{background-color:var(--isp-dc-zebra)}.narrow-banner__close-icon[_ngcontent-%COMP%]{display:flex}@keyframes _ngcontent-%COMP%_slide-down{0%{transform:translateY(-25px)}to{transform:translateY(0)}}@keyframes _ngcontent-%COMP%_height-down{0%{height:0}to{height:25px}}"],changeDetection:0});let e=i;return e})();var fo=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[V,Y]});let e=i;return e})();var Qr=["*"],go=(()=>{let i=class i{constructor(t){this.host=t,this.cloak=!0,this.closeClick=new se,this.destroy=new se}ngAfterViewInit(){setTimeout(()=>{this.host.nativeElement.classList.add("isp-drawer_rendered")})}ngOnDestroy(){this.destroy.emit()}};i.\u0275fac=function(n){return new(n||i)(C(Ze))},i.\u0275cmp=g({type:i,selectors:[["isp-drawer"]],hostVars:3,hostBindings:function(n,o){n&2&&(gn("@drawerCloseAnimation",o.drawerCloseAnimation),A("isp-drawer_cloak",o.cloak))},inputs:{cloak:"cloak"},outputs:{closeClick:"closeClick",destroy:"destroy"},ngContentSelectors:Qr,decls:4,vars:0,consts:[["isp-drawer-cloak","",1,"cloak"],["isp-drawer-window","",1,"window"],[1,"close",3,"click"]],template:function(n,o){n&1&&(Fe(),m(0,"div",0),c(1,"div",1)(2,"isp-close",2),x("click",function(){return o.closeClick.emit()}),l(),De(3),l())},dependencies:[oo],styles:["[_nghost-%COMP%]{position:relative;display:block;clip-path:inset(0 0 -5000px -5000px)}.cloak[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:0;height:var(--isp-drawer-height, 100vh);background:var(--isp-dc-monochrome);opacity:0}.window[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:var(--isp-drawer-window-width, 480px);height:var(--isp-drawer-height, 100vh);background:var(--isp-dc-monochrome);box-shadow:-1px 0 0 0 var(--isp-dc-charlie-chaplin);transform:translate(100%)}.close[_ngcontent-%COMP%]{position:absolute;top:6px;left:-15px;z-index:var(--isp-z-index-form-close-button)}.isp-drawer_cloak[_nghost-%COMP%] .cloak[_ngcontent-%COMP%]{width:100%}.isp-drawer_rendered[_nghost-%COMP%] .cloak[_ngcontent-%COMP%]{opacity:.6;transition:width .25s,opacity .25s ease-out}.isp-drawer_rendered[_nghost-%COMP%] .window[_ngcontent-%COMP%]{transition:transform .25s ease-out;transform:translate(0)}"],data:{animation:[at("drawerCloseAnimation",[Ge(":leave",[Cn([Ti("[isp-drawer-cloak]",[Ae("250ms ease-out",ve({opacity:"0"}))]),Ti("[isp-drawer-window]",[Ae("250ms ease-out",ve({transform:"translate(100%)"}))])])])])]},changeDetection:0});let e=i;return e})();var ho=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[ro]});let e=i;return e})();var Ii=e=>({$implicit:e});function Wr(e,i){if(e&1&&z(0,13),e&2){let r=d().index;d();let t=I(5);a("ngTemplateOutlet",t)("ngTemplateOutletContext",F(2,Ii,r))}}function Kr(e,i){if(e&1&&z(0,13),e&2){let r=d().index;d();let t=I(7);a("ngTemplateOutlet",t)("ngTemplateOutletContext",F(2,Ii,r))}}function Yr(e,i){if(e&1&&z(0,13),e&2){let r=d().index;d();let t=I(9);a("ngTemplateOutlet",t)("ngTemplateOutletContext",F(2,Ii,r))}}function Xr(e,i){if(e&1&&(L(0)(1,11),u(2,Wr,1,4,"ng-container",12)(3,Kr,1,4,"ng-container",12)(4,Yr,1,4,"ng-container",12),U()()),e&2){let r=i.$implicit;s(),a("ngSwitch",r),s(),a("ngSwitchCase","field"),s(),a("ngSwitchCase","radio"),s(),a("ngSwitchCase","card")}}function Jr(e,i){if(e&1&&(c(0,"div",14),m(1,"isp-skeleton",15)(2,"isp-skeleton",16),l()),e&2){let r=i.$implicit;s(),a("index",r),s(),a("index",r+1)}}function Zr(e,i){if(e&1&&(c(0,"div",17),m(1,"isp-skeleton",16)(2,"isp-skeleton",18),l()),e&2){let r=i.$implicit,t=d(2);He("--random",t.randomValue),s(),a("index",r),s(),a("index",r+1)}}function ea(e,i){if(e&1&&(c(0,"div",19)(1,"div",20),m(2,"isp-skeleton",21),c(3,"div",22),m(4,"isp-skeleton",23)(5,"isp-skeleton",24),l()(),m(6,"isp-skeleton",25),l()),e&2){let r=i.$implicit;s(2),a("index",r),s(2),a("index",r),s(),a("index",r),s(),a("index",r+1)}}function ta(e,i){if(e&1&&(c(0,"div",4),m(1,"isp-skeleton",5),c(2,"div",6),u(3,Xr,5,4,"ng-container",7),l(),u(4,Jr,3,2,"ng-template",null,0,W)(6,Zr,3,4,"ng-template",null,1,W)(8,ea,7,4,"ng-template",null,2,W),c(10,"div",8),m(11,"isp-skeleton",9)(12,"isp-skeleton",10),l()()),e&2){let r=i.ngIf;s(3),a("ngForOf",r),s(8),a("index",r.length+2),s(),a("index",r.length+3)}}var vo=(()=>{let i=class i{constructor(){this.funcToPatternsMap={"nolicense.license.buy":["card","card","card","card"]},this.sizeToPatternsMap={large:["radio","radio","radio","radio","radio","radio","radio","radio"],medium:["field","field","field","radio","field","field","radio","field"],small:["field","field","field","radio","field","field","radio","field"]},this.skeletonPatterns=[]}get meta(){return this._meta}set meta(t){this._meta=t,this.setPatterns(t)}get randomValue(){return Math.random()}setPatterns(t){this.skeletonPatterns=this.funcToPatternsMap[t.func]||this.sizeToPatternsMap[t.size]}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-drawer-form-skeleton"]],inputs:{meta:"meta"},decls:1,vars:1,consts:[["field",""],["radio",""],["card",""],["class","skeleton",4,"ngIf"],[1,"skeleton"],["width","200px","height","25px",1,"skeleton__title"],[1,"skeleton__form"],[4,"ngFor","ngForOf"],[1,"skeleton__footer"],["width","100px","height","35px",3,"index"],["width","100px","height","15px",3,"index"],[3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"skeleton__field"],["height","20px",3,"index"],["shape","circle","size","15px",3,"index"],[1,"skeleton__radio"],["width","clamp(130px, calc(var(--random) * 100%), 640px)","height","20px",3,"index"],[1,"skeleton__card"],[1,"skeleton__card-header"],["size","60px",1,"skeleton__card-image",3,"index"],[1,"skeleton__card-description"],["width","400px","height","15px",3,"index"],["width","300px","height","15px",3,"index"],["width","140px","height","35px",3,"index"]],template:function(n,o){n&1&&u(0,ta,13,3,"div",3),n&2&&a("ngIf",o.skeletonPatterns)},dependencies:[D,B,he,ot,rt,ce],styles:[".skeleton[_ngcontent-%COMP%]{padding:30px}.skeleton__title[_ngcontent-%COMP%]{margin-bottom:30px}.skeleton__form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px;margin-bottom:30px}.skeleton__field[_ngcontent-%COMP%], .skeleton__radio[_ngcontent-%COMP%]{display:flex;gap:10px;align-items:center}.skeleton__card[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px}.skeleton__card-header[_ngcontent-%COMP%]{display:flex;gap:20px}.skeleton__card-image[_ngcontent-%COMP%]{border-radius:15px}.skeleton__card-description[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:15px}.skeleton__footer[_ngcontent-%COMP%]{display:flex;gap:20px;align-items:center}"],changeDetection:0});let e=i;return e})();var ra=e=>[e];function aa(e,i){if(e&1&&m(0,"isp-drawer-form-skeleton",2),e&2){let r=d();a("meta",r.meta)}}function sa(e,i){if(e&1){let r=M();c(0,"isp-new-dynamic-form",4),y(1,"async"),y(2,"async"),x("buttonClick",function(n){h(r);let o=d(2);return v(o.handleFormButtonClick(n))}),l()}if(e&2){let r=i.$implicit,t=d(2);a("doc",w(1,4,t.doc$))("id",r)("place","drawer")("loading",w(2,6,t.isLoading$))}}function pa(e,i){if(e&1&&(u(0,sa,3,8,"isp-new-dynamic-form",3),y(1,"async")),e&2){let r=d();a("ngForOf",F(3,ra,("dynamic-form-drawer-"+w(1,1,r.doc$).$func).split(".").join("-")))}}var bo=(()=>{let i=class i{get meta(){return this._meta}set meta(t){this._meta=t,this.loadDoc()}constructor(t,n,o,p,_,f,b){this.preloadedActionService=t,this.messageBusService=n,this.actionService=o,this.tabService=p,this.fileUploadService=_,this.confirmService=f,this.platform=b,this.doc$=new ie(null),this.isLoading$=new ie(!0),this.closeRequest=new se,this.tabService.activeTab$.pipe(O($=>q(R({},$),{doc:$.doc})),fe(($,P)=>!$||$.id===P.id&&$.doc===P.doc),H()).subscribe(()=>{this.closeRequest.emit()})}getMetaQueryParams(){let t=R({func:this.meta.func},this.meta.formParams||{});return this.meta.elid&&(t.elid=this.meta.elid),this.meta.plid&&(t.plid=this.meta.plid),t}loadDoc(){this.isLoading$.next(!0),this.preloadedActionService.getAction(this.getMetaQueryParams(),{showProgressbar:!1}).subscribe(t=>{this.doc$.next(t),this.isLoading$.next(!1)})}handleFormButtonClick(t){return We(this,null,function*(){if(!(t.button.$confirm==="yes"&&!(yield this.confirmService.confirmFormButton(t.button,this.doc$.value,t.entityName))))switch(t.button.$type){case Lt.Cancel:this.closeRequest.emit();break;case Lt.Submit:case Lt.Ok:let n=Nn.createFromDoc(this.doc$.value),o=Object.keys(t.model).find(p=>Dn(t.model[p]));if(n.func==="file.upload"&&o){let p=Bn(this.doc$.value);p[o]=t.model[o],this.fileUploadService.uploadFromExistingForm(p,n),this.closeRequest.emit();return}this.isLoading$.next(t.button),this.actionService.prepareAndSubmitForm$({form:t.model,button:t.button,tab:n,emitOnError:!0,ignoreRedirect:!0,additionalParams:t.additionalParams}).subscribe(p=>{this.isLoading$.next(!1),p!==null&&(p.ok?(this.messageBusService.emit("drawer-form-submit",p.ok),p.ok.$type===Ut.Blank&&window.open(p.ok.$,"_blank"),p.ok.$type===Ut.Url&&window.open(p.ok.$,this.platform.SAFARI?"_blank":"_self"),p.ok.$type===Ut.Top&&window.location.reload(),this.closeRequest.emit()):p.metadata&&this.doc$.next(p))});break;default:}})}};i.\u0275fac=function(n){return new(n||i)(C(Wt),C(Ct),C(Be),C(Me),C(Jt),C(Ln),C($n))},i.\u0275cmp=g({type:i,selectors:[["isp-drawer-form"]],inputs:{meta:"meta"},outputs:{closeRequest:"closeRequest"},decls:4,vars:4,consts:[["form",""],[3,"meta",4,"ngIf","ngIfElse"],[3,"meta"],["class","new-dynamic-form",3,"doc","id","place","loading","buttonClick",4,"ngFor","ngForOf"],[1,"new-dynamic-form",3,"buttonClick","doc","id","place","loading"]],template:function(n,o){if(n&1&&(u(0,aa,1,1,"isp-drawer-form-skeleton",1),y(1,"async"),u(2,pa,2,5,"ng-template",null,0,W)),n&2){let p=I(3);a("ngIf",w(1,2,o.isLoading$)===!0)("ngIfElse",p)}},dependencies:[D,B,Gn,vo,G],styles:["[_nghost-%COMP%]{--isp-dynamic-form-banner-max-width: 100%;display:block;height:100%}.new-dynamic-form[_ngcontent-%COMP%]{height:100%}.title[_ngcontent-%COMP%]{margin:0 25px 0 0;font-size:25px;font-weight:500;word-break:break-word}"],changeDetection:0});let e=i;return e})();var la=["drawerContent"];function da(e,i){if(e&1){let r=M();c(0,"isp-drawer-form",7,0),x("closeRequest",function(){h(r);let n=d(3);return v(n.close())}),l()}if(e&2){let r=d().ngIf;a("meta",r)}}function ma(e,i){if(e&1&&z(0,8),e&2){let r=d().ngIf;a("ngTemplateOutlet",r.template)}}function ua(e,i){if(e&1&&(L(0,4),u(1,da,2,1,"isp-drawer-form",5)(2,ma,1,1,"ng-container",6),U()),e&2){let r=i.ngIf;a("ngSwitch",r.type),s(),a("ngSwitchCase","form"),s(),a("ngSwitchCase","template")}}function _a(e,i){if(e&1){let r=M();c(0,"isp-drawer",2),y(1,"async"),y(2,"async"),x("closeClick",function(){h(r);let n=d();return v(n.close())})("destroy",function(){h(r);let n=d();return v(n.destroy())}),u(3,ua,3,3,"ng-container",3),y(4,"async"),l()}if(e&2){let r=d();et("drawer_size_"+w(1,4,r.drawerSize$)),a("cloak",w(2,6,r.hasOverlay$)),s(3),a("ngIf",w(4,8,r.drawerMeta$))}}var Co=(()=>{let i=class i{constructor(t){this.drawerManagerService=t,this.drawerMeta$=this.drawerManagerService.drawerMeta$,this.hasOverlay$=this.drawerMeta$.pipe(O(n=>n?.overlay)),this.drawerSize$=this.drawerMeta$.pipe(O(n=>n?.size)),this.isOpen$=this.drawerManagerService.isOpen$}close(){this.drawerContent?.onCloseStart?.(),this.drawerManagerService.close()}destroy(){this.drawerContent?.onCloseEnd?.(),this.drawerManagerService.destroy()}};i.\u0275fac=function(n){return new(n||i)(C(Rn))},i.\u0275cmp=g({type:i,selectors:[["isp-drawer-manager"]],viewQuery:function(n,o){if(n&1&&Te(la,5),n&2){let p;Pe(p=Ie())&&(o.drawerContent=p.first)}},decls:2,vars:3,consts:[["drawerContent",""],[3,"cloak","class","closeClick","destroy",4,"ngIf"],[3,"closeClick","destroy","cloak"],[3,"ngSwitch",4,"ngIf"],[3,"ngSwitch"],[3,"meta","closeRequest",4,"ngSwitchCase"],[3,"ngTemplateOutlet",4,"ngSwitchCase"],[3,"closeRequest","meta"],[3,"ngTemplateOutlet"]],template:function(n,o){n&1&&(u(0,_a,5,10,"isp-drawer",1),y(1,"async")),n&2&&a("ngIf",w(1,1,o.isOpen$))},dependencies:[B,he,ot,rt,go,bo,G],styles:[".drawer_size_small[_ngcontent-%COMP%]{--isp-drawer-window-width: 480px}.drawer_size_medium[_ngcontent-%COMP%]{--isp-drawer-window-width: 660px}.drawer_size_large[_ngcontent-%COMP%]{--isp-drawer-window-width: min(1010px, 100%)}isp-drawer[_ngcontent-%COMP%] .header-row__mode-switch_narrow-form{display:block}isp-drawer[_ngcontent-%COMP%] .header-row__mode-switch_inline{display:none}"],changeDetection:0});let e=i;return e})();var yo=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[V,ho,no]});let e=i;return e})();var So=(()=>{let i=class i{constructor(t,n,o,p,_){this.router=t,this.tabService=n,this.skeletonService=o,this.redirectService=p,this.preloadedActionService=_,this.navigationStart$=new Ke}start(){this.router.events.pipe(Q(t=>t instanceof wn)).subscribe(t=>{let n=t.url.slice(1).split("?"),o=n[0],p=bt(n[1]||""),_=/^\d+$/.test(p.tab_id)?+p.tab_id:void 0,f=typeof _=="number",b=this.tabService.flatTabList.find(P=>P.id===_);if(this.handleNotFound(o,!!(b||p.func),t))return;if(p.func!=="file"){let P=p.func===b?.func||!p.func;if(b&&P){(!b.isActive||!p.func)&&this.tabService.setActive(b,!p.func,!p.func);return}b&&(b.isPin||this.tabService.isStartPage(b))&&(_=void 0,f=!1,b=void 0)}let $=p.tab_parent_id?+p.tab_parent_id:void 0;this.navigationStart$.next(),this.skeletonService.show({type:o,func:p.func}),this.preloadedActionService.getAction(R({},p),{hideProgressbar:!1,emitOnError:!0}).pipe(Q(P=>de.getError(P)?(this.skeletonService.hide(),!1):!0),Ve(P=>this.redirectService.redirect$({doc:P}).pipe(le(te=>{te.type==="complete"&&this.skeletonService.hide()}),Q(te=>te.type==="no-tab-action"),le(()=>{let te=!b;b?(this.tabService.update(b,P,!1),this.tabService.setActive(b,!1)):$&&this.tabService.getTabById($)?this.tabService.createChild(P,$,_,!f,!f):this.tabService.create(P,te,_,!f,!f)}))),on(this.navigationStart$)).subscribe()})}handleNotFound(t,n,o){let p=jn.includes(t)&&t!=="notfound";if(!p||!n)return this.tabService.activateNotFound(),p&&this.router.navigateByUrl(`notfound${o.url}`,{replaceUrl:!0,skipLocationChange:!0}),!0}};i.\u0275fac=function(n){return new(n||i)(X(At),X(Me),X(qt),X(An),X(Wt))},i.\u0275prov=ge({token:i,factory:i.\u0275fac,providedIn:"root"});let e=i;return e})();var ko={accounting_stat:"report",admin:"list","admin.edit":"form","admin.filter":"form",adminstat:"list","adminstat.details":"list",afterlogicconf:"form","aps.catalog":"list","aps.catalog.apps":"list","aps.catalog.apps.edit":"form","aps.catalog.filter":"form","aps.choosever":"form","aps.install.execute":"form","aps.install.license":"form","aps.install.settings":"form","aps.install.start":"form","aps.install.validate":"form","aps.validate.node":"form",authlog:"list","authlog.filter":"form","backup.plan":"list","backup.plan.datafilter":"list","backup.plan.datafilter.edit":"form","backup.plan.delete":"form","backup.plan.edit":"form","backup.plan.filter":"form","backup.settings":"form","backup.storages":"list","backup.storages.check":"form","backup.storages.edit":"form","backup.storages.edit_settings":"form","backup.storages.edit_type":"form","backup.storages.filter":"form","backup2.backup.report":"list","backup2.list":"list","backup2.list.db":"list","backup2.list.download":"form","backup2.list.email":"list","backup2.list.files":"list","backup2.list.import":"form","backup2.list.restore.password":"form","backup2.list.type":"list","backup2.list.type.download":"form","backup2.report":"list","backup2.settings":"form","backup2.superlist":"list","backup2.superlist.download":"form","backup2.superlist.import":"form","backup2.superlist.location":"list","backup2.superlist.new.users":"form","backup2.superlist.roots":"list","backup2.superlist.users":"list","backup2.superlist.users.filter":"form","backup2.superlist.users.password":"form","backup2.superlist.users.restoreas":"form","backup2.superlist.users.single":"form",backupdata:"list","backupdata.files":"list","backupdata.files.restore":"form","backupdata.names":"list","backupdata.restore":"form",backups:"list","backups.delete":"form","backups.new":"form","backups.restore":"form","backups.storage.amazon":"form","backups.storage.dropbox":"form","backups.storage.ftp":"form","backups.storage.ftps":"form","backups.storage.local":"form","backups.storage.yandex":"form","backups.upload":"form",billing_fullstat:"report",blacklist:"list","blacklist.edit":"form",brandlist:"list","brandlist.edit":"form",changelog:"list","changelog.changes":"list","changelog.filter":"form","check.restore.ip":"form",check_docker_update:"form",cldeploy:"form",confirm:"form","dashboard.limit":"infolist","dashboard.settings":"form","dashboard.software":"infolist","dashboard.sysinfo":"infolist","dashboard.webdisk":"infolist",datapass:"list","datapass.actions":"list","datapass.filter":"form",db:"list","db.edit":"form","db.filter":"form","db.localupload":"form","db.server":"list","db.server.dbunassigned":"list","db.server.edit":"form","db.server.filter":"form","db.server.settings":"list","db.server.settings.edit":"form","db.upload":"form","db.users":"list","db.users.edit":"form",diskusage:"list","diskusage.info":"form","dns.blacklist":"list","dns.blacklist.edit":"form",dns_default_view:"form",dnsparam:"form","docker.config":"form","docker.container":"list","docker.container.create.hub":"form","docker.container.create.localrepo":"form","docker.container.create.settings":"form","docker.container.createimage":"form","docker.container.edit":"form","docker.container.filter":"form","docker.container.logs":"form","docker.image":"list",domain:"list","domain.blacklist":"list","domain.blacklist.edit":"form","domain.delete.request":"form","domain.dnssecinfo":"form","domain.edit":"form","domain.filter":"form","domain.record":"list","domain.record.edit":"form","domain.slave":"list","domain.slave.edit":"form",email:"list","email.alias":"list","email.alias.edit":"form","email.alias.filter":"form","email.clear.request":"form","email.edit":"form","email.filter":"form","email.import":"form","email.import.report":"form","email.responder":"form","email.setting":"form","email.sorter":"list","email.sorter.action":"list","email.sorter.action.add":"form","email.sorter.action.edit":"form","email.sorter.add":"form","email.sorter.cond":"list","email.sorter.cond.add":"form","email.sorter.cond.edit":"form","email.sorter.edit":"form","email.toplevel.ssl.edit":"form",emaildnsbl:"list","emaildnsbl.edit":"form",emaildomain:"list","emaildomain.edit":"form","emaildomain.filter":"form",emailnotify:"form",errorjournal:"list","errorjournal.coredumps":"list","errorjournal.coredumps.edit":"form","errorjournal.edit":"form","errorjournal.filter":"form","errorjournal.settings":"list","errorjournal.settings.edit":"form","fail2ban.jails":"list","fail2ban.jails.edit":"form","fail2ban.settings":"form",feature:"list","feature.edit":"form","feature.update":"form",file:"list","file.avcheck":"form","file.avcheckparams":"form","file.avreport":"list","file.avreport.edit":"form","file.copyto":"form","file.diraccess":"form","file.edit":"form","file.extract":"form","file.folder":"form","file.new":"form","file.pack":"form","file.search":"form","file.settings":"form","file.space":"form","file.unixattr":"form","file.upload":"form",firewall:"list","firewall.countries":"list","firewall.countries.settings":"form","firewall.edit":"form",fstart_passwd:"form",fstart_php:"form","ftp.user":"list","ftp.user.edit":"form","ftp.user.filter":"form","ftp.user.settings":"form",ftp_details:"report",gdpr_docs:"list","gdpr_docs.edit":"form","gdpr_docs.filter":"form",gdpr_export_csv:"form",gdpr_journal:"list","gdpr_journal.filter":"form",gdpr_remove_personaldata:"form",gdpr_restrict_personaldata:"form",gdpr_termsofuse:"form","gdpr_termsofuse.change":"form",greylist:"list","greylist.edit":"form",helpboard:"helpboard",history:"list",ihttpd:"list","ihttpd.certs":"list","ihttpd.certs.edit":"form","ihttpd.edit":"form","internal.aps.user_catalog":"form",ipaddrlist:"list","ipaddrlist.edit":"form",ipdb:"list","ipdb.addr":"list","ipdb.addr.edit":"form","ipdb.edit":"form","ipdb.filter":"form","ipdb.firstrun":"form","ipdb.settings":"form",ipdb_set_gateway:"form",iplist:"list","iplist.edit":"form",ipmgr:"form",ipmgr2:"list","ipmgr2.badip":"list","ipmgr2.dnsbl":"list","ipmgr2.dnsbl.edit":"form","ipmgr2.edit":"form","ipmgr2.filter":"form","ipmgr2.net":"list","ipmgr2.net.edit":"form","ipmgr2.net.filter":"form","ipmgr2.net.ip":"list","ipmgr2.net.ip.edit":"form","ipmgr2.net.ip.filter":"form","ipmgr2.net.ip.free":"form","ipmgr2.ranges":"list","ipmgr2.ranges.edit":"form","ipmgr2.ranges.filter":"form","ipmgr2.ranges.ip":"list","ipmgr2.ranges.ip.filter":"form","ipmgr2.settings":"form",journal:"list","journal.edit":"form","journal.filter":"form","journal.stat":"report",label_php_install_actions:"list",label_php_install_nodes:"list","letsencrypt.add.sslcert.csr.edit":"form","letsencrypt.generate":"form","letsencrypt.logs":"list",license:"form","license.info":"form","license.mgr.info":"isplicense","license.register":"form",longtask:"list","longtask.edit":"form","longtask.filter":"form",lve_stat:"report",lve_stat_load:"report",lvesettings:"form","mailrate.default":"form","monitoring.add":"form","monitoring.settings":"form","monitoring.update":"form","mysqlcheck.report":"list","nat.settings":"form",netactconn:"list","netactconn.detail":"list","netactconn.detail.showbycountry":"list","netactconn.detail.showbysubnet":"list","netactconn.detail.showbysubnet.adddenysubnet":"form",netsrv:"list","netsrv.edit":"form","node.notloaded.show":"form","nolicense.license":"form","nolicense.license.activate":"form","nolicense.license.buy":"form","nolicense.license.change":"form","nolicense.license.prolong":"form","notice.confirm":"form","notloaded.show":"form",panelsettings:"form",passdb:"form",passdomain:"form",perlext:"list","perlext.filter":"form",phpconf:"list","phpconf.edit":"form","phpconf.filter":"form","phpconf.settings":"form",phpextensions:"list","phpextensions.details":"list","phpextensions.details.actions":"list",phpinstall:"list","phpinstall.details":"list","phpinstall.details.actions":"list","phpinstall.edit":"form",phpversions:"list",plugin:"form","plugin.buy":"form","plugin.pbuy":"form",preset:"list","preset.allocation":"list","preset.edit":"form","preset.filter":"form",problems:"list","problems.edit":"form","problems.filter":"form","problems.log":"list","problems.settings":"form",prove_pdd_domain:"form",pythonext:"list","pythonext.filter":"form",reboot_confirm:"form",recovery:"form","recovery.change":"form","recovery.post":"form",register:"form",remote_dns_params:"form",remote_dns_sync:"form",reports:"list",request:"list","request.filter":"form",reseller_traff_stat:"report","rights2.user":"list","rights2.user.filter":"form",run:"form",scheduler:"list","scheduler.edit":"form","scheduler.prop":"form",server_capacity:"report",services:"list","services.filter":"form","services.setbin":"form",session:"list","session.filter":"form","settings.auth":"form",shell:"form","site.edit":"form",slaveserver:"list","slaveserver.edit":"form",socnet_gdpr:"form",spamassassin:"form",srvparam:"form",sslcert:"list","sslcert.change":"form","sslcert.csr":"list","sslcert.csr.approve":"form","sslcert.csr.edit":"form","sslcert.csr.filter":"form","sslcert.edit":"form","sslcert.filter":"form","sslcert.prolong":"form","sslcert.replace":"form","sslcert.selfsigned":"form","sslcert.setcrt":"form",sslkey:"list","sslkey.edit":"form","stored_plans.search":"form",sysinfo:"list","sysinfo.cpu":"list","sysinfo.detail":"list","sysinfo.disk":"list","sysinfo.proc":"list",sysinfo_stat:"report","totp.confirm":"form","totp.new":"form",traffic_report:"report",tsetting:"form",update_confirm:"form",usageinfo:"report","usageinfo.detail":"report",user:"list","user.add.addinfo":"form","user.add.finish":"form","user.edit":"form","user.filter":"form",user_acct_stat:"report",user_disk_report:"report",user_quota_exceeded:"list",user_traff_stat:"report",userlogs:"list","userlogs.archive":"list","userlogs.edit":"form","userlogs.filter":"form","userlogs.users":"list","userlogs.users.filter":"form","usermove.first":"form","usermove.ispmgr4_arc":"form","usermove.ispmgr4_remote":"form","usermove.ispmgr5_remote":"form","usermove.last":"form",userrights:"list","userrights.edit":"form","userrights.fields":"list","userrights.fields.edit":"form","userrights.group":"list","userrights.group.edit":"form","userrights.group.users":"list","userrights.policy":"form",usershell:"form",userstat:"list",usrparam:"form","usrparam.telegram":"form",video_tutorials:"form",virusdie:"list","virusdie.blacklist":"list","virusdie.blacklist.databases":"list","virusdie.blacklist.databases.edit":"form","virusdie.blacklist.pages":"list","virusdie.filter":"form","virusdie.settings":"form","virusdie.settings.convert":"form","virusdie.settings.uninstall":"form","virusdie.signatures":"list","virusdie.signatures.filemgr":"form","virusdie.signatures.filetree":"form","virusdie.userexcludes":"list","virusdie.userexcludes.edit":"form","virusdie.userreports":"list","virusdie.userreports.details":"list","virusdie.userreports.threatlist":"list","virusdie.userreports.threatlist.filter":"form","virusdie.userreports.threatlist.showcode":"form","virusdie.usersettings":"form",virusdie_trial:"list","virusdie_trial.threatlist":"list","virusdie_trial.threatlist.filter":"form",web_details:"report",webdisk:"form","webdisk.user":"form",webdomain:"list","webdomain.bad":"list","webdomain.delete.confirm":"form","webdomain.diraccess":"list","webdomain.diraccess.edit":"form","webdomain.diraccess.user":"list","webdomain.diraccess.user.edit":"form","webdomain.edit":"form","webdomain.error":"list","webdomain.error.edit":"form","webdomain.filter":"form","webdomain.nodejs.npm.pkgs.install":"form","webdomain.nodejs.npm.pkgs.installed":"list","webdomain.nodejs.shell":"form","webdomain.phpcomposer.pkgs.install":"form","webdomain.phpcomposer.pkgs.installed":"list","webdomain.phpcomposer.shell":"form","webdomain.plain":"form","webdomain.python.pkgs.install":"form","webdomain.python.pkgs.installed":"list","webdomain.python.shell":"form","webdomain.redirect":"list","webdomain.redirect.edit":"form","webdomain.userplain":"form","webscript.entry":"list","webscript.install.execute":"form","webscript.install.license":"form","webscript.install.settings":"form","webscript.install.start":"form","webscript.install.validate":"form",websettings:"form",whitelist:"list","whitelist.edit":"form","wireguard.settings":"form","wireguard.user":"list","wireguard.user.edit":"form","wireguard.user.filter":"form","wireguard.user.qrcode":"form",wishlist:"list","wishlist.edit":"form","wizard.auto":"form"};var ae=class{static aN(i){return[...Array(i)]}static randomClamp(i,r){let t=Math.round(Math.random()*100),n=`${i}px`,o=r?`${r}px`:"100%";return`clamp(${n}, ${t}%, ${o})`}};var Mo=()=>({$implicit:10}),Oo=()=>({$implicit:11}),To=()=>({$implicit:6}),va=()=>({$implicit:7});function xa(e,i){if(e&1&&m(0,"isp-skeleton",40),e&2){let r=i.index;a("index",r+1)}}function ba(e,i){if(e&1&&m(0,"isp-skeleton",33),e&2){let r=i.index,t=d();a("width",t.randomClamp(80,200))("index",r+4)}}function Ca(e,i){e&1&&z(0)}function ya(e,i){e&1&&z(0)}function wa(e,i){if(e&1&&m(0,"isp-skeleton",33),e&2){let r=i.index,t=d();a("width",t.randomClamp(80,200))("index",r+4)}}function Sa(e,i){e&1&&z(0)}function ka(e,i){e&1&&z(0)}function Ma(e,i){if(e&1&&m(0,"isp-skeleton",33),e&2){let r=i.index,t=d();a("width",t.randomClamp(200))("index",r+13)}}function Oa(e,i){e&1&&z(0)}function Ta(e,i){e&1&&z(0)}function Pa(e,i){e&1&&z(0)}function Ia(e,i){if(e&1&&m(0,"isp-skeleton",33),e&2){let r=i.index,t=d();a("width",t.randomClamp(80,200))("index",r+9)}}function $a(e,i){if(e&1&&m(0,"isp-skeleton",33),e&2){let r=i.index,t=d();a("width",t.randomClamp(60,200))("index",r+9)}}function Ea(e,i){if(e&1&&m(0,"isp-skeleton",33),e&2){let r=i.index,t=d();a("width",t.randomClamp(150))("index",r+19)}}function Fa(e,i){if(e&1&&m(0,"isp-skeleton",33),e&2){let r=i.index,t=d();a("width",t.randomClamp(30,120))("index",r+4)}}function Da(e,i){if(e&1&&m(0,"isp-skeleton",33),e&2){let r=i.index,t=d();a("width",t.randomClamp(30,120))("index",r+4)}}function Ba(e,i){if(e&1&&m(0,"isp-skeleton",41),e&2){let r=i.index;a("index",r+5)}}function Na(e,i){if(e&1&&m(0,"isp-skeleton",33),e&2){let r=i.index,t=d();a("width",t.randomClamp(30,60))("index",r+11)}}function ja(e,i){if(e&1&&m(0,"isp-skeleton",33),e&2){let r=i.index,t=d();a("width",t.randomClamp(30,60))("index",r+11)}}function Va(e,i){if(e&1&&m(0,"isp-skeleton",33),e&2){let r=i.index,t=d();a("width",t.randomClamp(30,60))("index",r+11)}}function Ra(e,i){if(e&1&&m(0,"isp-skeleton",33),e&2){let r=i.index,t=d();a("width",t.randomClamp(30,60))("index",r+11)}}function Aa(e,i){if(e&1&&m(0,"isp-skeleton",33),e&2){let r=i.index,t=d();a("width",t.randomClamp(50,150))("index",r+16)}}function La(e,i){if(e&1&&m(0,"isp-skeleton",33),e&2){let r=i.index,t=d();a("width",t.randomClamp(50,150))("index",r+16)}}function Ua(e,i){if(e&1&&m(0,"isp-skeleton",33),e&2){let r=i.index,t=d();a("width",t.randomClamp(50,150))("index",r+16)}}function za(e,i){if(e&1&&(c(0,"div",42),m(1,"isp-skeleton",43)(2,"isp-skeleton",44),l()),e&2){let r=i.$implicit;s(),a("index",r),s(),a("index",r+1)}}var $i=(()=>{let i=class i{constructor(){this.aN=ae.aN,this.randomClamp=ae.randomClamp}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-dashboard-skeleton"]],decls:101,vars:41,consts:[["iconText",""],[1,"flex","jc-sb"],["width","200px","height","25px"],["size","25px","index","8"],[1,"quick-actions"],["height","100px",3,"index",4,"ngFor","ngForOf"],[1,"columns"],[1,"column"],[1,"widget"],["width","130px","height","20px","index","3"],[1,"widget__columns"],[1,"widget__column"],["height","15px",3,"width","index",4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["width","130px","height","20px","index","12"],["width","150px","height","15px","index","21"],[1,"flex","gap-5"],["size","15px","index","21"],["width","40px","height","15px","index","21"],[1,"flex","gap-10","full-width"],["width","50%","height","15px","index","5"],["width","12%","height","15px","index","5"],["width","7%","height","15px","index","5"],["width","15%","height","15px","index","5"],["width","20%","height","15px","index","5"],["height","140px","index","5"],[1,"flex","gap-20"],["width","130px","height","20px","index","8"],["width","130px","height","20px","index","18"],[1,"widget__column","ai-end"],[1,"invisible"],["width","90px","height","15px",3,"index",4,"ngFor","ngForOf"],["width","130px","height","20px","index","10"],["height","15px",3,"width","index"],["size","15px","shape","circle","index","12"],["size","15px","shape","circle","index","13"],["height","15px","index","14",3,"width"],["width","130px","height","20px","index","15"],["size","15px","index","27"],["width","40px","height","15px","index","27"],["height","100px",3,"index"],["width","90px","height","15px",3,"index"],[1,"flex","gap-10"],["size","15px","shape","circle",3,"index"],["width","130px","height","15px",3,"index"]],template:function(n,o){if(n&1&&(c(0,"div",1),m(1,"isp-skeleton",2)(2,"isp-skeleton",3),l(),c(3,"div",4),u(4,xa,1,1,"isp-skeleton",5),l(),c(5,"div",6)(6,"div",7)(7,"div",8),m(8,"isp-skeleton",9),c(9,"div",10)(10,"div",11),u(11,ba,1,2,"isp-skeleton",12)(12,Ca,1,0,"ng-container",13)(13,ya,1,0,"ng-container",13),l(),c(14,"div",11),u(15,wa,1,2,"isp-skeleton",12)(16,Sa,1,0,"ng-container",13)(17,ka,1,0,"ng-container",13),l()()(),c(18,"div",8),m(19,"isp-skeleton",14),c(20,"div",11),u(21,Ma,1,2,"isp-skeleton",12),c(22,"div",1),m(23,"isp-skeleton",15),c(24,"div",16),m(25,"isp-skeleton",17)(26,"isp-skeleton",17)(27,"isp-skeleton",17)(28,"isp-skeleton",18)(29,"isp-skeleton",17),l()()()()(),c(30,"div",7)(31,"div",8),m(32,"isp-skeleton",9),c(33,"div",11)(34,"div",19),m(35,"isp-skeleton",20)(36,"isp-skeleton",21)(37,"isp-skeleton",22)(38,"isp-skeleton",23)(39,"isp-skeleton",24),l(),m(40,"isp-skeleton",25),c(41,"div",26),u(42,Oa,1,0,"ng-container",13)(43,Ta,1,0,"ng-container",13),l(),u(44,Pa,1,0,"ng-container",13),l()(),c(45,"div",8),m(46,"isp-skeleton",27),c(47,"div",10)(48,"div",11),u(49,Ia,1,2,"isp-skeleton",12),l(),c(50,"div",11),u(51,$a,1,2,"isp-skeleton",12),l()()(),c(52,"div",8),m(53,"isp-skeleton",28),c(54,"div",11),u(55,Ea,1,2,"isp-skeleton",12),l()()(),c(56,"div",7)(57,"div",8),m(58,"isp-skeleton",9),c(59,"div",10)(60,"div",11),u(61,Fa,1,2,"isp-skeleton",12),l(),c(62,"div",11),u(63,Da,1,2,"isp-skeleton",12),l(),c(64,"div",29),m(65,"span",30),u(66,Ba,1,1,"isp-skeleton",31),l()()(),c(67,"div",8),m(68,"isp-skeleton",32),c(69,"div",10)(70,"div",11),u(71,Na,1,2,"isp-skeleton",12),l(),c(72,"div",11),u(73,ja,1,2,"isp-skeleton",12),l(),c(74,"div",11),u(75,Va,1,2,"isp-skeleton",12),l(),c(76,"div",11),m(77,"isp-skeleton",33)(78,"isp-skeleton",34)(79,"isp-skeleton",35),l(),c(80,"div",11),u(81,Ra,1,2,"isp-skeleton",12),l()(),m(82,"isp-skeleton",36),l(),c(83,"div",8),m(84,"isp-skeleton",37),c(85,"div",10)(86,"div",11),u(87,Aa,1,2,"isp-skeleton",12),l(),c(88,"div",11),u(89,La,1,2,"isp-skeleton",12),m(90,"span",30),l(),c(91,"div",11),u(92,Ua,1,2,"isp-skeleton",12),c(93,"div",16),m(94,"isp-skeleton",38)(95,"isp-skeleton",38)(96,"isp-skeleton",38)(97,"isp-skeleton",39)(98,"isp-skeleton",38),l()()()()()(),u(99,za,3,2,"ng-template",null,0,W)),n&2){let p=I(100);s(4),a("ngForOf",o.aN(8)),s(7),a("ngForOf",o.aN(6)),s(),a("ngTemplateOutlet",p)("ngTemplateOutletContext",T(34,Mo)),s(),a("ngTemplateOutlet",p)("ngTemplateOutletContext",T(35,Oo)),s(2),a("ngForOf",o.aN(6)),s(),a("ngTemplateOutlet",p)("ngTemplateOutletContext",T(36,Mo)),s(),a("ngTemplateOutlet",p)("ngTemplateOutletContext",T(37,Oo)),s(4),a("ngForOf",o.aN(6)),s(21),a("ngTemplateOutlet",p)("ngTemplateOutletContext",T(38,To)),s(),a("ngTemplateOutlet",p)("ngTemplateOutletContext",T(39,To)),s(),a("ngTemplateOutlet",p)("ngTemplateOutletContext",T(40,va)),s(5),a("ngForOf",o.aN(9)),s(2),a("ngForOf",o.aN(8)),s(4),a("ngForOf",o.aN(9)),s(6),a("ngForOf",o.aN(6)),s(2),a("ngForOf",o.aN(6)),s(3),a("ngForOf",o.aN(5)),s(5),a("ngForOf",o.aN(3)),s(2),a("ngForOf",o.aN(3)),s(2),a("ngForOf",o.aN(3)),s(2),a("width",o.randomClamp(30,120))("index",11),s(4),a("ngForOf",o.aN(2)),s(),a("width",o.randomClamp(130,180)),s(5),a("ngForOf",o.aN(12)),s(2),a("ngForOf",o.aN(11)),s(3),a("ngForOf",o.aN(11))}},dependencies:[D,he,ce],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:30px;padding:30px}.quick-actions[_ngcontent-%COMP%]{display:flex;gap:20px}@media (max-width: 1920px){.quick-actions[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:nth-child(n+6){display:none}}@media (max-width: 1360px){.quick-actions[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:nth-child(n+4){display:none}}.columns[_ngcontent-%COMP%]{display:flex;gap:30px}@media (max-width: 1920px){.columns[_ngcontent-%COMP%] .column[_ngcontent-%COMP%]:nth-child(3){display:none}}@media (max-width: 1360px){.columns[_ngcontent-%COMP%] .column[_ngcontent-%COMP%]:nth-child(2){display:none}}.column[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:30px;width:100%}.widget[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:15px}.widget__columns[_ngcontent-%COMP%]{display:flex;gap:10px;justify-content:space-between}.widget__column[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:15px;width:100%}.invisible[_ngcontent-%COMP%]{height:15px}",".flex[_ngcontent-%COMP%]{display:flex}.jc-sb[_ngcontent-%COMP%]{justify-content:space-between}.ai-end[_ngcontent-%COMP%]{align-items:end}.full-width[_ngcontent-%COMP%]{width:100%}.gap-5[_ngcontent-%COMP%]{gap:5px}.gap-10[_ngcontent-%COMP%]{gap:10px}.gap-15[_ngcontent-%COMP%]{gap:15px}.gap-20[_ngcontent-%COMP%]{gap:20px}"],changeDetection:0});let e=i;return e})();function Ga(e,i){if(e&1&&m(0,"isp-skeleton",25),e&2){let r=i.index;a("index",r+1)}}function Qa(e,i){if(e&1&&(c(0,"div",26),m(1,"isp-skeleton",27)(2,"isp-skeleton",28),l()),e&2){let r=i.index,t=d();s(),a("index",r+2),s(),a("width",t.randomClamp(120,230))("index",r+2)}}function qa(e,i){if(e&1&&m(0,"isp-skeleton",28),e&2){let r=i.index,t=d();a("width",t.randomClamp(50,150))("index",r+16)}}function Wa(e,i){if(e&1&&m(0,"isp-skeleton",28),e&2){let r=i.index,t=d();a("width",t.randomClamp(50,150))("index",r+16)}}function Ka(e,i){if(e&1&&m(0,"isp-skeleton",28),e&2){let r=i.index,t=d();a("width",t.randomClamp(50,150))("index",r+16)}}function Ya(e,i){if(e&1&&m(0,"isp-skeleton",28),e&2){let r=i.index,t=d();a("width",t.randomClamp(80,200))("index",r+9)}}function Xa(e,i){if(e&1&&m(0,"isp-skeleton",28),e&2){let r=i.index,t=d();a("width",t.randomClamp(60,200))("index",r+9)}}function Ja(e,i){if(e&1&&m(0,"isp-skeleton",28),e&2){let r=i.index,t=d();a("width",t.randomClamp(150))("index",r+19)}}function Za(e,i){if(e&1&&(c(0,"div",26),m(1,"isp-skeleton",27)(2,"isp-skeleton",29),l()),e&2){let r=i.$implicit;s(),a("index",r),s(),a("index",r+1)}}var Ei=(()=>{let i=class i{constructor(){this.aN=ae.aN,this.randomClamp=ae.randomClamp}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-dashboard-user-skeleton"]],decls:44,vars:8,consts:[["iconText",""],[1,"flex","jc-sb"],["width","200px","height","25px"],["size","25px","index","8"],[1,"quick-actions"],["height","100px",3,"index",4,"ngFor","ngForOf"],[1,"columns"],[1,"column"],[1,"widget"],[1,"report"],["width","130px","height","20px","index","1"],[1,"chart"],["size","195px","shape","circle","index","2"],[1,"chart__legend"],["class","flex gap-10",4,"ngFor","ngForOf"],["width","130px","height","20px","index","15"],[1,"widget__columns"],[1,"widget__column"],["height","15px",3,"width","index",4,"ngFor","ngForOf"],[1,"invisible"],[1,"flex","gap-5"],["size","15px","index","27"],["width","40px","height","15px","index","27"],["width","130px","height","20px","index","8"],["width","130px","height","20px","index","18"],["height","100px",3,"index"],[1,"flex","gap-10"],["size","15px","shape","circle",3,"index"],["height","15px",3,"width","index"],["width","130px","height","15px",3,"index"]],template:function(n,o){n&1&&(c(0,"div",1),m(1,"isp-skeleton",2)(2,"isp-skeleton",3),l(),c(3,"div",4),u(4,Ga,1,1,"isp-skeleton",5),l(),c(5,"div",6)(6,"div",7)(7,"div",8)(8,"div",9),m(9,"isp-skeleton",10),c(10,"div",11),m(11,"isp-skeleton",12),c(12,"div",13),u(13,Qa,3,3,"div",14),l()()()(),c(14,"div",8),m(15,"isp-skeleton",15),c(16,"div",16)(17,"div",17),u(18,qa,1,2,"isp-skeleton",18),l(),c(19,"div",17),u(20,Wa,1,2,"isp-skeleton",18),m(21,"span",19),l(),c(22,"div",17),u(23,Ka,1,2,"isp-skeleton",18),c(24,"div",20),m(25,"isp-skeleton",21)(26,"isp-skeleton",21)(27,"isp-skeleton",21)(28,"isp-skeleton",22)(29,"isp-skeleton",21),l()()()()(),c(30,"div",7)(31,"div",8),m(32,"isp-skeleton",23),c(33,"div",16)(34,"div",17),u(35,Ya,1,2,"isp-skeleton",18),l(),c(36,"div",17),u(37,Xa,1,2,"isp-skeleton",18),l()()(),c(38,"div",8),m(39,"isp-skeleton",24),c(40,"div",17),u(41,Ja,1,2,"isp-skeleton",18),l()()()(),u(42,Za,3,2,"ng-template",null,0,W)),n&2&&(s(4),a("ngForOf",o.aN(8)),s(9),a("ngForOf",o.aN(7)),s(5),a("ngForOf",o.aN(12)),s(2),a("ngForOf",o.aN(11)),s(3),a("ngForOf",o.aN(11)),s(12),a("ngForOf",o.aN(9)),s(2),a("ngForOf",o.aN(8)),s(4),a("ngForOf",o.aN(9)))},dependencies:[D,ce],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:30px;padding:30px}.quick-actions[_ngcontent-%COMP%]{display:flex;gap:20px}@media (max-width: 1920px){.quick-actions[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:nth-child(n+6){display:none}}@media (max-width: 1360px){.quick-actions[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:nth-child(n+4){display:none}}.columns[_ngcontent-%COMP%]{display:flex;gap:30px}.column[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:30px;width:100%}.widget[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:15px}.widget__columns[_ngcontent-%COMP%]{display:flex;gap:10px;justify-content:space-between}.widget__column[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:15px;width:100%}.invisible[_ngcontent-%COMP%]{height:15px}.report[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:15px}.chart[_ngcontent-%COMP%]{display:flex;gap:58px}.chart__legend[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:15px;width:230px}",".flex[_ngcontent-%COMP%]{display:flex}.jc-sb[_ngcontent-%COMP%]{justify-content:space-between}.ai-end[_ngcontent-%COMP%]{align-items:end}.full-width[_ngcontent-%COMP%]{width:100%}.gap-5[_ngcontent-%COMP%]{gap:5px}.gap-10[_ngcontent-%COMP%]{gap:10px}.gap-15[_ngcontent-%COMP%]{gap:15px}.gap-20[_ngcontent-%COMP%]{gap:20px}"],changeDetection:0});let e=i;return e})();function ts(e,i){if(e&1&&m(0,"isp-skeleton",5),e&2){let r=i.index,t=d(2);a("index",t.startIndex+r+1)("width",t.randomClamp(130,420))}}function is(e,i){if(e&1&&(c(0,"div",3),u(1,ts,1,2,"isp-skeleton",4),l()),e&2){let r=d();s(),a("ngForOf",r.aN(9))}}var ni=(()=>{let i=class i{constructor(){this.startIndex=0,this.aN=ae.aN,this.randomClamp=ae.randomClamp}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-text-columns-skeleton"]],inputs:{startIndex:"startIndex"},decls:3,vars:2,consts:[["width","130px","height","20px",3,"index"],[1,"columns"],["class","column",4,"ngFor","ngForOf"],[1,"column"],["height","15px",3,"index","width",4,"ngFor","ngForOf"],["height","15px",3,"index","width"]],template:function(n,o){n&1&&(m(0,"isp-skeleton",0),c(1,"div",1),u(2,is,2,1,"div",2),l()),n&2&&(a("index",o.startIndex),s(2),a("ngForOf",o.aN(2)))},dependencies:[D,ce],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:15px}.columns[_ngcontent-%COMP%]{display:flex;gap:50px;width:100%}.column[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:15px;width:100%;max-width:550px}"],changeDetection:0});let e=i;return e})();var Fi=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-default-skeleton"]],decls:3,vars:2,consts:[["width","200px","height","25px"],[3,"startIndex"]],template:function(n,o){n&1&&m(0,"isp-skeleton",0)(1,"isp-text-columns-skeleton",1)(2,"isp-text-columns-skeleton",1),n&2&&(s(),a("startIndex",1),s(),a("startIndex",11))},dependencies:[ce,ni],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:30px;padding:30px}"],changeDetection:0});let e=i;return e})();var os=()=>({$implicit:2,hasButton:!1}),rs=e=>({$implicit:e,hasButton:!0});function as(e,i){e&1&&z(0)}function ss(e,i){e&1&&z(0)}function ps(e,i){if(e&1&&(L(0),u(1,ss,1,0,"ng-container",4),U()),e&2){let r=i.index;d();let t=I(8);s(),a("ngTemplateOutlet",t)("ngTemplateOutletContext",F(2,rs,2*r+5))}}function cs(e,i){if(e&1&&m(0,"isp-skeleton",14),e&2){let r=d().$implicit;a("index",r+1)}}function ls(e,i){if(e&1&&(c(0,"div",7)(1,"div",8),m(2,"isp-skeleton",9),c(3,"div",10),m(4,"isp-skeleton",11)(5,"isp-skeleton",12),l()(),u(6,cs,1,1,"isp-skeleton",13),l()),e&2){let r=i.$implicit,t=i.hasButton;s(2),a("index",r),s(2),a("index",r),s(),a("index",r),s(),a("ngIf",t)}}var Di=(()=>{let i=class i{constructor(){this.aN=ae.aN}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-form-cards-skeleton"]],decls:9,vars:4,consts:[["block",""],["width","200px","height","25px"],[1,"page"],["height","25px","index","1"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["height","25px","index","4"],[4,"ngFor","ngForOf"],[1,"block"],[1,"block__content"],["size","60px",1,"block__image",3,"index"],[1,"block__description"],["width","400px","height","15px",3,"index"],["width","300px","height","15px",3,"index"],["width","140px","height","35px",3,"index",4,"ngIf"],["width","140px","height","35px",3,"index"]],template:function(n,o){if(n&1&&(m(0,"isp-skeleton",1),c(1,"div",2),m(2,"isp-skeleton",3),u(3,as,1,0,"ng-container",4),l(),c(4,"div",2),m(5,"isp-skeleton",5),u(6,ps,2,4,"ng-container",6),l(),u(7,ls,7,4,"ng-template",null,0,W)),n&2){let p=I(8);s(3),a("ngTemplateOutlet",p)("ngTemplateOutletContext",T(3,os)),s(3),a("ngForOf",o.aN(4))}},dependencies:[D,B,he,ce],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:40px;padding:30px}.page[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:30px}.block[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px}.block__content[_ngcontent-%COMP%]{display:flex;gap:20px}.block__image[_ngcontent-%COMP%]{border-radius:15px}.block__description[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:15px}"],changeDetection:0});let e=i;return e})();var ms=()=>({$implicit:1}),us=()=>({$implicit:2}),_s=()=>({$implicit:3}),fs=()=>({$implicit:4}),gs=()=>({$implicit:5}),hs=()=>({$implicit:6}),vs=()=>({$implicit:7}),xs=()=>({$implicit:8});function bs(e,i){e&1&&z(0)}function Cs(e,i){e&1&&z(0)}function ys(e,i){e&1&&z(0)}function ws(e,i){e&1&&z(0)}function Ss(e,i){e&1&&z(0)}function ks(e,i){e&1&&z(0)}function Ms(e,i){e&1&&z(0)}function Os(e,i){e&1&&z(0)}function Ts(e,i){if(e&1&&(c(0,"div",8),m(1,"isp-skeleton",9)(2,"isp-skeleton",10),l()),e&2){let r=i.$implicit;s(),a("index",r),s(),a("index",r)}}function Ps(e,i){if(e&1&&(c(0,"div",11),m(1,"isp-skeleton",10)(2,"isp-skeleton",12),l()),e&2){let r=i.$implicit;s(),a("index",r),s(),a("index",r)}}var Bi=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-form-simple-skeleton"]],decls:17,vars:24,consts:[["field",""],["checkbox",""],["width","200px","height","25px"],[1,"form"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"buttons"],["width","100px","height","35px","index","9"],["width","100px","height","15px","index","9"],[1,"field"],["width","400px","height","20px",3,"index"],["size","15px","shape","circle",3,"index"],[1,"checkbox"],["width","130px","height","20px",3,"index"]],template:function(n,o){if(n&1&&(m(0,"isp-skeleton",2),c(1,"div",3),u(2,bs,1,0,"ng-container",4)(3,Cs,1,0,"ng-container",4)(4,ys,1,0,"ng-container",4)(5,ws,1,0,"ng-container",4)(6,Ss,1,0,"ng-container",4)(7,ks,1,0,"ng-container",4)(8,Ms,1,0,"ng-container",4)(9,Os,1,0,"ng-container",4),l(),c(10,"div",5),m(11,"isp-skeleton",6)(12,"isp-skeleton",7),l(),u(13,Ts,3,2,"ng-template",null,0,W)(15,Ps,3,2,"ng-template",null,1,W)),n&2){let p=I(14),_=I(16);s(2),a("ngTemplateOutlet",p)("ngTemplateOutletContext",T(16,ms)),s(),a("ngTemplateOutlet",p)("ngTemplateOutletContext",T(17,us)),s(),a("ngTemplateOutlet",p)("ngTemplateOutletContext",T(18,_s)),s(),a("ngTemplateOutlet",_)("ngTemplateOutletContext",T(19,fs)),s(),a("ngTemplateOutlet",p)("ngTemplateOutletContext",T(20,gs)),s(),a("ngTemplateOutlet",p)("ngTemplateOutletContext",T(21,hs)),s(),a("ngTemplateOutlet",_)("ngTemplateOutletContext",T(22,vs)),s(),a("ngTemplateOutlet",p)("ngTemplateOutletContext",T(23,xs))}},dependencies:[he,ce],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:40px;padding:30px}.form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:15px}.field[_ngcontent-%COMP%], .checkbox[_ngcontent-%COMP%], .buttons[_ngcontent-%COMP%]{display:flex;gap:10px;align-items:center}.buttons[_ngcontent-%COMP%]{gap:20px}"],changeDetection:0});let e=i;return e})();function $s(e,i){if(e&1&&(c(0,"div",1),m(1,"isp-skeleton",2),c(2,"div",3),m(3,"isp-skeleton",4),c(4,"div",5),m(5,"isp-skeleton",6)(6,"isp-skeleton",7),l()(),m(7,"isp-skeleton",8),l()),e&2){let r=i.index;s(),a("index",3*r%9),s(2),a("index",(3*r+1)%9),s(2),a("index",(3*r+1)%9),s(),a("index",(3*r+1)%9),s(),a("index",(3*r+2)%9)}}var Ni=(()=>{let i=class i{constructor(){this.aN=ae.aN}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-helpboard-skeleton"]],decls:1,vars:1,consts:[["class","block",4,"ngFor","ngForOf"],[1,"block"],["height","25px",3,"index"],[1,"block__content"],["size","60px",1,"block__image",3,"index"],[1,"block__description"],["width","400px","height","15px",3,"index"],["width","300px","height","15px",3,"index"],["width","140px","height","35px",3,"index"]],template:function(n,o){n&1&&u(0,$s,8,5,"div",0),n&2&&a("ngForOf",o.aN(6))},dependencies:[D,ce],styles:["[_nghost-%COMP%]{display:grid;grid:repeat(3,1fr)/auto-flow;gap:40px;padding:30px}.block[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px}.block__content[_ngcontent-%COMP%]{display:flex;gap:20px}.block__image[_ngcontent-%COMP%]{border-radius:15px}.block__description[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:15px}"],changeDetection:0});let e=i;return e})();function Fs(e,i){if(e&1&&(c(0,"div",13),m(1,"isp-skeleton",18)(2,"isp-skeleton",19),l()),e&2){let r=i.index,t=d();s(),a("index",r+2),s(),a("width",t.randomClamp(50,120))("index",r+2)}}function Ds(e,i){if(e&1&&m(0,"isp-skeleton",20),e&2){let r=i.index;a("index",r+3)}}function Bs(e,i){if(e&1&&m(0,"isp-skeleton",19),e&2){let r=i.index,t=d(2);a("width",t.randomClamp(50,120))("index",r+2)}}function Ns(e,i){if(e&1&&(c(0,"div",7),u(1,Bs,1,2,"isp-skeleton",21),l()),e&2){let r=d();s(),a("ngForOf",r.aN(15))}}function js(e,i){if(e&1&&m(0,"isp-skeleton",20),e&2){let r=d().index;a("index",r+3)}}function Vs(e,i){if(e&1&&(c(0,"div",13),u(1,js,1,1,"isp-skeleton",10),l()),e&2){let r=i.$implicit,t=d();s(),a("ngForOf",t.aN(r))}}function Rs(e,i){if(e&1&&m(0,"isp-skeleton",19),e&2){let r=i.index,t=d(2);a("width",t.randomClamp(50,120))("index",r+2)}}function As(e,i){if(e&1&&(c(0,"div",7),u(1,Rs,1,2,"isp-skeleton",21),l()),e&2){let r=d();s(),a("ngForOf",r.aN(15))}}function Ls(e,i){e&1&&m(0,"isp-skeleton",22)}function Us(e,i){if(e&1&&m(0,"isp-skeleton",20),e&2){let r=i.index;a("index",r+3)}}var ji=(()=>{let i=class i{constructor(){this.aN=ae.aN,this.randomClamp=ae.randomClamp,this.propsLengths=[2,3,1,3,2,2,4,2,1,3,2,3,1,2]}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-list-skeleton"]],decls:31,vars:9,consts:[[1,"flex","jc-sb"],["width","200px","height","25px"],["width","100px","height","25px"],[1,"flex","gap-20"],["width","140px","height","35px","index","1"],["width","700px","height","35px","index","1"],[1,"table"],[1,"table__column"],["class","flex gap-5",4,"ngFor","ngForOf"],["height","15px","index","2",3,"width"],["size","15px",3,"index",4,"ngFor","ngForOf"],["class","table__column",4,"ngFor","ngForOf"],[1,"table__column","ai-end"],[1,"flex","gap-5"],["size","15px","index","2",4,"ngFor","ngForOf"],[1,"footer","flex","gap-10"],["width","80px","height","15px","index","9"],["size","15px","shape","circle","index","9"],["size","15px","shape","circle",3,"index"],["height","15px",3,"width","index"],["size","15px",3,"index"],["height","15px",3,"width","index",4,"ngFor","ngForOf"],["size","15px","index","2"]],template:function(n,o){n&1&&(c(0,"div",0),m(1,"isp-skeleton",1)(2,"isp-skeleton",2),l(),c(3,"div",3),m(4,"isp-skeleton",4)(5,"isp-skeleton",5),l(),c(6,"div",6)(7,"div",7),u(8,Fs,3,3,"div",8),l(),c(9,"div",7),m(10,"isp-skeleton",9),u(11,Ds,1,1,"isp-skeleton",10),l(),u(12,Ns,2,1,"div",11),c(13,"div",7),m(14,"isp-skeleton",9),u(15,Vs,2,1,"div",8),l(),u(16,As,2,1,"div",11),c(17,"div",12)(18,"div",13),u(19,Ls,1,0,"isp-skeleton",14),l(),u(20,Us,1,1,"isp-skeleton",10),l()(),c(21,"div",15)(22,"div",13),m(23,"isp-skeleton",16)(24,"isp-skeleton",17),l(),c(25,"div",13),m(26,"isp-skeleton",17)(27,"isp-skeleton",17),l(),c(28,"div",13),m(29,"isp-skeleton",17)(30,"isp-skeleton",17),l()()),n&2&&(s(8),a("ngForOf",o.aN(15)),s(2),a("width",o.randomClamp(50,120)),s(),a("ngForOf",o.aN(14)),s(),a("ngForOf",o.aN(3)),s(2),a("width",o.randomClamp(50,120)),s(),a("ngForOf",o.propsLengths),s(),a("ngForOf",o.aN(3)),s(3),a("ngForOf",o.aN(3)),s(),a("ngForOf",o.aN(14)))},dependencies:[D,ce],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:20px;height:100%;padding:30px 30px 35px}.table[_ngcontent-%COMP%]{display:flex;gap:15px;justify-content:space-between}.table__column[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:15px;width:100%}.footer[_ngcontent-%COMP%]{margin-top:auto}",".flex[_ngcontent-%COMP%]{display:flex}.jc-sb[_ngcontent-%COMP%]{justify-content:space-between}.ai-end[_ngcontent-%COMP%]{align-items:end}.full-width[_ngcontent-%COMP%]{width:100%}.gap-5[_ngcontent-%COMP%]{gap:5px}.gap-10[_ngcontent-%COMP%]{gap:10px}.gap-15[_ngcontent-%COMP%]{gap:15px}.gap-20[_ngcontent-%COMP%]{gap:20px}"],changeDetection:0});let e=i;return e})();function Hs(e,i){if(e&1&&(c(0,"div",8),m(1,"isp-skeleton",9)(2,"isp-skeleton",10),l()),e&2){let r=i.index,t=d();s(),a("index",r+2),s(),a("width",t.randomClamp(120,230))("index",r+2)}}var Vi=(()=>{let i=class i{constructor(){this.aN=ae.aN,this.randomClamp=ae.randomClamp}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-report-skeleton"]],decls:9,vars:3,consts:[["width","200px","height","25px"],[1,"report"],["width","130px","height","20px","index","1"],[1,"chart"],["size","195px","shape","circle","index","2"],[1,"chart__legend"],["class","chart__legend-item",4,"ngFor","ngForOf"],[3,"startIndex"],[1,"chart__legend-item"],["size","15px","shape","circle",3,"index"],["height","15px",3,"width","index"]],template:function(n,o){n&1&&(m(0,"isp-skeleton",0),c(1,"div",1),m(2,"isp-skeleton",2),c(3,"div",3),m(4,"isp-skeleton",4),c(5,"div",5),u(6,Hs,3,3,"div",6),l()()(),m(7,"isp-text-columns-skeleton",7)(8,"isp-text-columns-skeleton",7)),n&2&&(s(6),a("ngForOf",o.aN(7)),s(),a("startIndex",4),s(),a("startIndex",14))},dependencies:[D,ce,ni],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:30px;padding:30px}.report[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:15px}.chart[_ngcontent-%COMP%]{display:flex;gap:58px}.chart__legend[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:15px;width:230px}.chart__legend-item[_ngcontent-%COMP%]{display:flex;gap:10px}"],changeDetection:0});let e=i;return e})();function Qs(e,i){e&1&&m(0,"isp-dashboard-skeleton")}function qs(e,i){e&1&&m(0,"isp-dashboard-user-skeleton")}function Ws(e,i){e&1&&m(0,"isp-form-cards-skeleton")}function Ks(e,i){e&1&&m(0,"isp-form-simple-skeleton")}function Ys(e,i){e&1&&m(0,"isp-helpboard-skeleton")}function Xs(e,i){e&1&&m(0,"isp-list-skeleton")}function Js(e,i){e&1&&m(0,"isp-report-skeleton")}function Zs(e,i){e&1&&m(0,"isp-default-skeleton")}function ep(e,i){if(e&1&&(c(0,"div",1),L(1,2),u(2,Qs,1,0,"isp-dashboard-skeleton",3)(3,qs,1,0,"isp-dashboard-user-skeleton",3)(4,Ws,1,0,"isp-form-cards-skeleton",3)(5,Ks,1,0,"isp-form-simple-skeleton",3)(6,Ys,1,0,"isp-helpboard-skeleton",3)(7,Xs,1,0,"isp-list-skeleton",3)(8,Js,1,0,"isp-report-skeleton",3)(9,Zs,1,0,"isp-default-skeleton",4),U(),l()),e&2){let r=i.ngIf;a("@fadeInOut",void 0),s(),a("ngSwitch",r),s(),a("ngSwitchCase","dashboard"),s(),a("ngSwitchCase","dashboard-user"),s(),a("ngSwitchCase","form-cards"),s(),a("ngSwitchCase","form-simple"),s(),a("ngSwitchCase","helpboard"),s(),a("ngSwitchCase","list"),s(),a("ngSwitchCase","report")}}var tp=Object.entries(ko).reduce((e,[i,r])=>(r==="form"?e[i]="form-simple":e[i]=r,e),{}),Io=q(R({},tp),{plugin:"form-cards","aps.user_catalog":"form-cards"}),$o=(()=>{let i=class i{constructor(t){this.skeletonService=t,this.skeletonType$=this.skeletonService.currentSkeleton$.pipe(O(n=>n?n.type==="form"?Io[n.func]||"form-simple":n.type==="dashboard"?pageInfo.userName==="root"?"dashboard":"dashboard-user":n.type?n.type:Io[n.func]||"default":null))}};i.\u0275fac=function(n){return new(n||i)(C(qt))},i.\u0275cmp=g({type:i,selectors:[["isp-layout-skeleton"]],decls:2,vars:3,consts:[["class","layout-skeleton",4,"ngIf"],[1,"layout-skeleton"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"]],template:function(n,o){n&1&&(u(0,ep,10,9,"div",0),y(1,"async")),n&2&&a("ngIf",w(1,1,o.skeletonType$))},dependencies:[B,ot,rt,Rt,$i,Ei,Fi,Di,Bi,Ni,ji,Vi,G],styles:["[_nghost-%COMP%]{position:absolute;inset:0;z-index:var(--isp-z-index-layout-skeleton);pointer-events:none}.layout-skeleton[_ngcontent-%COMP%]{position:absolute;inset:0;background-color:var(--isp-dc-monochrome);pointer-events:auto}"],data:{animation:[at("fadeInOut",[Ge(":enter",[ve({opacity:0}),Ae(".2s ease-in",ve({opacity:1}))]),Ge(":leave",[ve({opacity:1}),Ae(".2s ease-out",ve({opacity:0}))])])]},changeDetection:0});let e=i;return e})();function Eo(e){let i=e.$host+e.$theme+e.$localdir,r=e.$logo;return!e.$appearance||r!=="logo-ispmgr.svg"?`${i}${r}`:`${i}${e.$appearance}_${r}`}function np(e,i){e&1&&z(0)}function op(e,i){if(e&1&&(c(0,"a",2),u(1,np,1,0,"ng-container",3),l()),e&2){let r=i.ngIf;d();let t=I(3);a("href",r,Ce),s(),a("ngTemplateOutlet",t)}}function rp(e,i){if(e&1&&(m(0,"img",4),y(1,"async")),e&2){let r=d();a("src",w(1,1,r.logo$),Ce)}}var Fo=(()=>{let i=class i{constructor(t){this.appService=t,this.logo$=this.appService.desktop$.pipe(O(n=>Eo(n))),this.link$=this.appService.desktop$.pipe(O(n=>n.$logolink))}};i.\u0275fac=function(n){return new(n||i)(C(oe))},i.\u0275cmp=g({type:i,selectors:[["isp-brand-logo"]],decls:4,vars:4,consts:[["image",""],["target","_blank","rel","nofollow noopener",3,"href",4,"ngIf","ngIfElse"],["target","_blank","rel","nofollow noopener",3,"href"],[4,"ngTemplateOutlet"],["alt","Brand logo",1,"brand-logo",3,"src"]],template:function(n,o){if(n&1&&(u(0,op,2,2,"a",1),y(1,"async"),u(2,rp,2,3,"ng-template",null,0,W)),n&2){let p=I(3);a("ngIf",w(1,2,o.link$))("ngIfElse",p)}},dependencies:[B,he,G],styles:[".brand-logo[_ngcontent-%COMP%]{display:block;max-width:calc(var(--isp-full-sidebar-width) - 20px);max-height:calc(var(--isp-topbar-top-line-height, 50px) - 20px)}"],changeDetection:0});let e=i;return e})();var sp=["*"];function pp(e,i){if(e&1){let r=M();c(0,"div",3),x("click",function(n){h(r);let o=d();return v(o.closeClick.emit(n))}),m(1,"button",4),l()}}var oi=(()=>{let i=class i{constructor(t){this.element=t,this.closeClick=new se}};i.\u0275fac=function(n){return new(n||i)(C(Ze))},i.\u0275cmp=g({type:i,selectors:[["isp-tab-item"]],inputs:{isForceTooltip:"isForceTooltip",tooltipContent:"tooltipContent",selected:"selected",isClose:[0,"is-close","isClose"]},outputs:{closeClick:"closeClick"},ngContentSelectors:sp,decls:4,vars:7,consts:[[1,"tab-item"],[1,"tab-item__tooltip-anchor",3,"ispTooltip","ispTooltipEllipsis"],["class","tab-item__close-btn",3,"click",4,"ngIf"],[1,"tab-item__close-btn",3,"click"],["type","button","tabindex","-1",1,"isp-close","isp-close_theme_dark"]],template:function(n,o){n&1&&(Fe(),c(0,"div",0)(1,"span",1),De(2),l(),u(3,pp,2,0,"div",2),l()),n&2&&(A("tab-item_selected",o.selected)("tab-item_has_close",o.isClose),s(),a("ispTooltip",o.tooltipContent)("ispTooltipEllipsis",!o.isForceTooltip),s(2),a("ngIf",o.isClose))},dependencies:[B,ue],styles:['[_nghost-%COMP%]:hover{--isp-tabbar-tab-close-opacity: 1}[_nghost-%COMP%]:not(:first-child){position:relative;margin-left:20px}[_nghost-%COMP%]:not(:first-child):before, [_nghost-%COMP%]:not(:first-child):after{position:absolute;top:50%;left:-13px;display:block;content:"";width:5px;height:1px;background-color:var(--isp-c-jon-snow);border-radius:10px}[_nghost-%COMP%]:not(:first-child):before{transform:translateY(-2px) rotate(45deg)}[_nghost-%COMP%]:not(:first-child):after{transform:translateY(1px) rotate(-45deg)}.tab-item[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;max-width:150px;height:25px;padding:0 10px;font-size:12px;color:var(--isp-c-jon-snow);background-color:var(--isp-c-stranger-things);border-radius:var(--isp-border-radius-main);cursor:pointer;transition:background-color .3s ease,color .3s ease}.tab-item[_ngcontent-%COMP%]:hover{background-color:var(--isp-c-creepy-cloud)}.tab-item[_ngcontent-%COMP%]:active{background-color:var(--isp-c-lovely-puddle)}.tab-item_has_close[_ngcontent-%COMP%]{padding-right:25px}.tab-item_selected[_ngcontent-%COMP%], .tab-item_selected[_ngcontent-%COMP%]:hover{--isp-tabbar-tab-close-opacity: 1;color:var(--isp-c-jon-snow);background-color:var(--isp-c-lovely-puddle)}.tab-item__tooltip-anchor[_ngcontent-%COMP%]{height:25px;line-height:25px}.tab-item__close-btn[_ngcontent-%COMP%]{--isp-close-hover-bg: var(--isp-c-desolation-of-smaug);--isp-close-icon-color: var(--isp-c-jon-snow);position:absolute;top:5px;right:5px;display:flex;opacity:var(--isp-tabbar-tab-close-opacity, 0);transition:opacity,.3s ease} .cdk-drag-preview .tab-item{background-color:var(--isp-c-grey-weekdays)}'],changeDetection:0});let e=i;return e})();var No=Vr(Do());var ri=(()=>{let i=class i{constructor(t){this.tabService=t,this.groupList$=this.tabService.groupList$}setActive(t){this.tabService.setActive(t)}close(t){this.tabService.close(t)}rearrangeTabs(t){this.tabService.rearrangeTabs(t)}closeEveryTab(){this.tabService.closeEveryTab()}closeEveryInactiveTab(){this.tabService.closeEveryInactiveTab()}};i.\u0275fac=function(n){return new(n||i)(X(Me))},i.\u0275prov=ge({token:i,factory:i.\u0275fac});let e=i;return e})();var dp=["wrapper"],Bo=e=>({"button-wrapper_visible":e}),mp=e=>({func:e}),up=e=>({event:"user_navigate_via_tab_button",data:e}),_p=()=>({width:"15px",height:"15px"});function fp(e,i){if(e&1&&m(0,"isp-svg-icon",16),e&2){let r=d().$implicit;a("name",r.icon)("customStyle",T(2,_p))}}function gp(e,i){if(e&1&&S(0),e&2){let r=d().$implicit;K(r.title)}}function hp(e,i){if(e&1){let r=M();c(0,"isp-tab-item",14),x("click",function(){let n=h(r).$implicit,o=d(2);return v(o.setActive(n))})("keydown",function(n){let o=h(r).$implicit,p=d(2);return v(p.handleFocusedTabKeydown(n,o))})("closeClick",function(n){let o=h(r).$implicit,p=d(2);return v(p.close(o,n))})("auxclick",function(n){let o=h(r).$implicit,p=d(2);return v(p.closeTabOnMiddleClick(o,n))})("mousedown",function(n){h(r);let o=d(2);return v(o.cancelMiddleClickScroll(n))}),u(1,fp,1,3,"isp-svg-icon",15)(2,gp,1,1,"ng-template",null,1,W),l()}if(e&2){let r=i.$implicit,t=i.first,n=I(3),o=d().first,p=d();a("tabindex",r.isActive?0:-1)("selected",r.isActive)("is-close",p.canCloseTab(r)&&!(o&&t))("tooltipContent",r.title)("isForceTooltip",p.isPinned(r)||o&&t)("ispMetric",F(13,up,F(11,mp,r==null?null:r.func))),ne("aria-selected",r.isActive)("aria-controls","aria-tab-"+r.id)("aria-label",r.title),s(),a("ngIf",p.isPinned(r)||o&&t)("ngIfElse",n)}}function vp(e,i){if(e&1&&(c(0,"div",12),u(1,hp,4,15,"isp-tab-item",13),l()),e&2){let r=i.$implicit,t=d();a("cdkDragDisabled",t.isDashboardTab(r)),s(),a("ngForOf",r)("ngForTrackBy",t.trackByFnTab)}}var xp=250,bp=150,Cp=100,jo=(()=>{let i=class i{constructor(t,n,o,p){this.tabbarService=t,this.changeDetectorRef=n,this.keydownService=o,this.destroyRef=p,this.ACTIVE_TAB_ADDITIONAL_SCROLL=30,this.PAGE_RELOAD_ACTIVE_TAB_SCROLL_DELAY=1e3,this.SWITCH_ACTIVE_TAB_SCROLL_DELAY=100,this.activeTabIndex$=this.tabbarService.groupList$.pipe(O(_=>_.flat().findIndex(f=>f?.isActive)),Q(_=>_>-1),fe()),this.scrollSubject=new Ke,this.resizeObserver=new ResizeObserver(()=>{this.updateWrapperScrollButtonsState()}),this.groupList$=this.tabbarService.groupList$,this.canShowLeftButton=!1,this.canShowRightButton=!1}scrollToTab(t){let n=this.tabElements.toArray()[t];if(!n)return;let o=n.element.nativeElement,p=this.wrapperNode.nativeElement.getBoundingClientRect(),_=o.getBoundingClientRect(),f=_.right-p.right,b=p.left-_.left;if(f>0){this.scroll("right",f+this.ACTIVE_TAB_ADDITIONAL_SCROLL);return}if(b>0){this.scroll("left",b+this.ACTIVE_TAB_ADDITIONAL_SCROLL);return}}updateWrapperScrollButtonsState(){let t=this.wrapperNode?.nativeElement;if(!t)return;let n=t.scrollWidth-t.clientWidth;this.canShowLeftButton=n>0&&t.scrollLeft!==0,this.canShowRightButton=n>0&&t.scrollLeft-n<0,this.changeDetectorRef.markForCheck()}ngOnInit(){this.groupList$.pipe(je(Cp),H(this.destroyRef)).subscribe(()=>{this.updateWrapperScrollButtonsState()}),this.scrollSubject.pipe(H(this.destroyRef)).subscribe(()=>{this.updateWrapperScrollButtonsState()}),this.listenKeyboardShortcuts()}ngAfterViewInit(){this.activeTabIndex$.pipe(Pt(1),je(this.PAGE_RELOAD_ACTIVE_TAB_SCROLL_DELAY),H(this.destroyRef)).subscribe(t=>{this.scrollToTab(t),this.updateWrapperScrollButtonsState()}),this.activeTabIndex$.pipe(je(this.SWITCH_ACTIVE_TAB_SCROLL_DELAY),H(this.destroyRef)).subscribe(t=>{this.scrollToTab(t)}),this.resizeObserver.observe(this.wrapperNode.nativeElement),this.updateWrapperScrollButtonsState()}ngOnDestroy(){this.resizeObserver.disconnect()}listenKeyboardShortcuts(){this.keydownService.listen$({code:"KeyX",ctrl:!0,alt:!0}).pipe(H(this.destroyRef)).subscribe(t=>{t.preventDefault(),this.tabbarService.closeEveryTab()}),this.keydownService.listen$({code:"KeyX",ctrl:!0,shift:!0}).pipe(H(this.destroyRef)).subscribe(t=>{t.preventDefault(),this.tabbarService.closeEveryInactiveTab()})}setActive(t){this.tabbarService.setActive(t)}close(t,n){n.stopPropagation(),this.tabbarService.close(t)}canCloseTab(t){return!t.isPin}isPinned(t){return t.isPin}handleFocusedTabKeydown(t,n){if(t.code==="Enter"){t.target.click();return}let o=this.tabElements.toArray();if(o.length<2)return;let p=o.findIndex(P=>document.activeElement===P.element.nativeElement),_=o[p+1]?p+1:0,f=o[_].element.nativeElement,b=o[p-1]?p-1:o.length-1,$=o[b].element.nativeElement;if(t.code==="Delete"){if(n.isPin)return;this.tabbarService.close(n),setTimeout(()=>{let P=this.tabElements.toArray();((P[p]||P[p-1])?.element.nativeElement).focus()},50)}t.code==="ArrowLeft"&&$.focus(),t.code==="ArrowRight"&&f.focus()}closeTabOnMiddleClick(t,n){n.button===1&&this.canCloseTab(t)&&(n.preventDefault(),n.stopPropagation(),this.close(t,n))}cancelMiddleClickScroll(t){t.button===1&&t.preventDefault()}scroll(t,n=bp){(0,No.default)({scrollableDomEle:this.wrapperNode.nativeElement,direction:t,duration:xp,easingPreset:"easeInQuad",scrollAmount:n})}onScroll(t){this.scrollSubject.next(t)}rearrangeTabs(t){this.tabbarService.rearrangeTabs(t)}isDashboardTab(t){return!!t&&t[0]?.type==="dashboard"}trackByFnTab(t,n){return`${n.func}${t}`}trackByFnGroup(t){return`${t}`}};i.\u0275fac=function(n){return new(n||i)(C(ri),C(xt),C(En),C(Se))},i.\u0275cmp=g({type:i,selectors:[["isp-tab-bar"]],viewQuery:function(n,o){if(n&1&&(Te(dp,5),Te(oi,5)),n&2){let p;Pe(p=Ie())&&(o.wrapperNode=p.first),Pe(p=Ie())&&(o.tabElements=p)}},features:[nt([ri])],decls:12,vars:10,consts:[["wrapper",""],["titleBlock",""],[1,"button-wrapper","button-wrapper_for_left",3,"ngClass"],["tabindex","-1","type","button",1,"button",3,"click"],["name","arrow_left_s"],[1,"dimmer","dimmer_for_left"],["role","tablist","cdkDropList","","cdkDropListOrientation","horizontal","cdkDropListLockAxis","x",1,"tabbar__group-wrapper",3,"scroll","cdkDropListDropped"],["class","tabbar__group","cdkDrag","","cdkDragBoundary",".tabbar__group-wrapper",3,"cdkDragDisabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"button-wrapper","button-wrapper_for_right",3,"ngClass"],[1,"dimmer"],["type","button","tabindex","-1",1,"button",3,"click"],["name","arrow_right_s"],["cdkDrag","","cdkDragBoundary",".tabbar__group-wrapper",1,"tabbar__group",3,"cdkDragDisabled"],["role","tab",3,"tabindex","selected","is-close","tooltipContent","isForceTooltip","ispMetric","click","keydown","closeClick","auxclick","mousedown",4,"ngFor","ngForOf","ngForTrackBy"],["role","tab",3,"click","keydown","closeClick","auxclick","mousedown","tabindex","selected","is-close","tooltipContent","isForceTooltip","ispMetric"],["class","tabbar__icon",3,"name","customStyle",4,"ngIf","ngIfElse"],[1,"tabbar__icon",3,"name","customStyle"]],template:function(n,o){if(n&1){let p=M();c(0,"div",2)(1,"button",3),x("click",function(){return h(p),v(o.scroll("left"))}),m(2,"isp-svg-icon",4),l(),m(3,"div",5),l(),c(4,"div",6,0),x("scroll",function(f){return h(p),v(o.onScroll(f))})("cdkDropListDropped",function(f){return h(p),v(o.rearrangeTabs(f))}),u(6,vp,2,3,"div",7),y(7,"async"),l(),c(8,"div",8),m(9,"div",9),c(10,"button",10),x("click",function(){return h(p),v(o.scroll("right"))}),m(11,"isp-svg-icon",11),l()()}n&2&&(a("ngClass",F(6,Bo,o.canShowLeftButton)),s(6),a("ngForOf",w(7,4,o.groupList$))("ngForTrackBy",o.trackByFnGroup),s(2),a("ngClass",F(8,Bo,o.canShowRightButton)))},dependencies:[ke,D,B,oi,Z,be,so,ao,G],styles:["[_nghost-%COMP%]{position:relative;display:block;flex-grow:1;width:0}.tabbar__group-wrapper[_ngcontent-%COMP%]{display:flex;padding-left:1px;margin:0 40px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.tabbar__group-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.tabbar__group[_ngcontent-%COMP%]{--isp-icons-fill-color: transparent;display:flex;padding:2px 0;margin-right:5px;border-radius:10px}.tabbar__group.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.tabbar__icon[_ngcontent-%COMP%]{--isp-icons-main-color: var(--isp-c-jon-snow);display:block;margin-top:5px}",".button[_ngcontent-%COMP%]{--isp-icons-main-color: var(--isp-c-jon-snow);position:relative;display:flex;align-items:center;justify-content:center;width:25px;height:25px;padding:0;margin:0;background:var(--isp-c-creepy-cloud);border:0;border-radius:50%;pointer-events:all}.button[_ngcontent-%COMP%]:hover{background:var(--isp-c-lovely-puddle)}.button-wrapper_for_left[_ngcontent-%COMP%]{left:10px}.button-wrapper_for_right[_ngcontent-%COMP%]{right:10px}.button-wrapper[_ngcontent-%COMP%]{position:absolute;top:50%;z-index:1;display:flex;width:60px;height:25px;opacity:0;pointer-events:none;transition:opacity .3s ease;transform:translateY(-50%)}.button-wrapper_visible[_ngcontent-%COMP%]{opacity:1}.button-wrapper_visible[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{cursor:pointer}.dimmer[_ngcontent-%COMP%]{width:30px;height:25px;background:linear-gradient(90deg,transparent,var(--isp-c-darth-vader) 100.34%)}.dimmer_for_left[_ngcontent-%COMP%]{background:linear-gradient(90deg,var(--isp-c-darth-vader) 0%,transparent)}"],changeDetection:0});let e=i;return e})();var kp=e=>({func:e}),Mp=e=>({event:"user_click_item_in_search_global",data:e});function Op(e,i){if(e&1&&(c(0,"li"),S(1),l()),e&2){let r=d().ngIf;s(),E(" ",r," ")}}function Tp(e,i){if(e&1){let r=M();c(0,"li",6)(1,"a",7),x("click",function(){let n=h(r).$implicit,o=d(3);return v(o.navigateTo(n))}),S(2),l()()}if(e&2){let r=i.$implicit;s(),a("ispMetric",F(4,Mp,F(2,kp,r.func))),s(),E(" ",r.description," ")}}function Pp(e,i){if(e&1&&u(0,Tp,3,6,"li",5),e&2){let r=d().ngIf,t=d();a("ngForOf",r)("ngForTrackBy",t.trackBySearchResponse)}}function Ip(e,i){if(e&1&&(c(0,"div",3)(1,"ul"),u(2,Op,2,1,"li",4)(3,Pp,1,2,"ng-template",null,0,W),l()()),e&2){let r=i.ngIf,t=I(4),n=d();s(2),a("ngIf",n.resultIsEmpty(r))("ngIfElse",t)}}var Vo=(()=>{let i=class i{sendMetrics(){this.metric.append({event:"user_start_search_in_global",data:{}})}constructor(t,n,o,p,_){this.appService=t,this.actionService=n,this.apiService=o,this.metric=p,this.destroyRef=_,this.SEARCH_DEBOUNCE=500,this.searchResultSubject=new Ke,this.searchQuerySubject=new ie(""),this.placeholder=this.getMsg("msg_search"),this.searchResult$=this.searchResultSubject.asObservable(),this.searchQuery$=this.searchQuerySubject.asObservable()}subscribeToInputChange(){this.searchQuery$.pipe(Ne(this.SEARCH_DEBOUNCE),fe(),Ve(t=>this.apiService.globalSearch(t)),O(t=>t?t?.elem?t.elem.map(n=>{let o={};return Object.keys(n).forEach(p=>{o[p]=n[p].$}),o}):this.getMsg("msg_notfound"):null),H(this.destroyRef)).subscribe(t=>{this.searchResultSubject.next(t)})}ngAfterViewInit(){this.subscribeToInputChange()}onInput(t){this.searchQuerySubject.next(t)}onClear(){this.searchQuerySubject.next(null)}resultIsEmpty(t){return typeof t=="string"}trackBySearchResponse(t,n){return`${n.func}_${n.id}`}navigateTo(t){let n={func:t.func};t.filter&&(n.filter="on",t.filter.split(";").forEach(o=>{let[p,_]=o.split("=");n[p]=_})),this.actionService.handleAction(n,null,!0),this.searchResultSubject.next(null)}getMsg(t){return this.appService.getDesktopMessage(t)}};i.\u0275fac=function(n){return new(n||i)(C(oe),C(Be),C(Ht),C(pt),C(Se))},i.\u0275cmp=g({type:i,selectors:[["isp-global-search"]],hostBindings:function(n,o){n&1&&x("click",function(){return o.sendMetrics()})},decls:3,vars:6,consts:[["resultList",""],[3,"customInput","clear","collapsible","placeholder","tooltip"],["class","search-results",4,"ngIf"],[1,"search-results"],[4,"ngIf","ngIfElse"],["class","search-results__item",4,"ngFor","ngForOf","ngForTrackBy"],[1,"search-results__item"],[1,"isp-link","isp-link_underline",3,"click","ispMetric"]],template:function(n,o){n&1&&(c(0,"isp-searchbar",1),x("customInput",function(_){return o.onInput(_)})("clear",function(){return o.onClear()}),l(),u(1,Ip,5,2,"div",2),y(2,"async")),n&2&&(a("collapsible",!0)("placeholder",o.placeholder)("tooltip",o.getMsg("hint_global_search")),s(),a("ngIf",w(2,4,o.searchResult$)))},dependencies:[D,B,be,Zt,G],styles:["[_nghost-%COMP%]{--isp-searchbar-bc: var(--isp-c-creepy-cloud);--isp-text-color-main: var(--isp-c-jon-snow);--isp-searchbar__clear-bc_hover: var(--isp-c-desolation-of-smaug);position:relative;display:block}.search-results[_ngcontent-%COMP%]{--isp-text-color-main: var(--isp-dc-highway-star);position:absolute;top:calc(100% + 5px);left:0;z-index:var(--isp-global-search-z-index);width:max-content;min-width:100%;max-width:360px;min-height:20px;padding:13px 17px;line-height:1.15;color:var(--isp-text-color-main);background-color:var(--isp-dc-cow);border:1px solid var(--isp-dc-charlie-chaplin);border-radius:5px;box-shadow:var(--isp-box-shadow)}.search-results[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;margin:0;list-style-type:none}.search-results__item[_ngcontent-%COMP%]:not(:first-of-type){margin-top:5px}"],changeDetection:0});let e=i;return e})();var Ro=(()=>{let i=class i{constructor(t){this.actionService=t}handleClick(){let t=R({},bt(`func=${this.button.func}`));this.actionService.loadAndOpen({params:t})}};i.\u0275fac=function(n){return new(n||i)(C(Be))},i.\u0275cmp=g({type:i,selectors:[["isp-update-to-6-button"]],inputs:{button:"button"},decls:2,vars:1,consts:[["type","button",1,"button",3,"click"]],template:function(n,o){n&1&&(c(0,"button",0),x("click",function(){return o.handleClick()}),S(1),l()),n&2&&(s(),E(" ",o.button.msg,`
`))},styles:[".button[_ngcontent-%COMP%]{height:30px;padding:0 10px;color:var(--isp-c-inconspicuous);background:transparent;border:1px solid var(--isp-c-inconspicuous);border-radius:5px;outline:none;cursor:pointer;transition:.2s}.button[_ngcontent-%COMP%]:hover{color:var(--isp-c-jon-snow);border-color:var(--isp-c-jon-snow);transition:.2s}"],changeDetection:0});let e=i;return e})();var Dp=()=>({width:"15px",height:"15px"}),Bp=()=>({"--isp-dropdown-z-index":"var(--isp-header-dropdown-z-index)"}),Ui=()=>({width:"20px",height:"20px"});function Np(e,i){if(e&1){let r=M();c(0,"div",11),x("click",function(){let n=h(r),o=n.$implicit,p=n.index,_=d(3);return v(_.changeUserLvl(p,o))}),m(1,"isp-svg-icon",14),S(2),l()}if(e&2){let r=i.$implicit,t=d().ngIf;s(),ki("name","lv-",r.$level,""),a("customStyle",T(5,Ui)),s(),xn(" ",t.msg_back_to," ",r.$name," ")}}function jp(e,i){if(e&1){let r=M();c(0,"div",9),u(1,Np,3,6,"div",10),y(2,"async"),c(3,"div",11),x("click",function(){h(r);let n=d(2);return v(n.openSettings())}),m(4,"isp-svg-icon",12),S(5),l(),c(6,"div",11),x("click",function(){h(r);let n=d(2);return v(n.logout())}),m(7,"isp-svg-icon",13),S(8),l()()}if(e&2){let r=i.ngIf,t=d(2);s(),a("ngForOf",w(2,5,t.userPath$)),s(3),a("customStyle",T(7,Ui)),s(),E(" ",r.menu_set," "),s(2),a("customStyle",T(8,Ui)),s(),E(" ",r.logout," ")}}function Vp(e,i){if(e&1&&(L(0),c(1,"button",3,0),m(3,"isp-svg-icon",4),c(4,"div",5),S(5),l(),m(6,"isp-svg-icon",6),l(),c(7,"isp-dropdown",7),u(8,jp,9,9,"div",8),y(9,"async"),l(),U()),e&2){let r=i.ngIf,t=I(2),n=d();s(),ne("aria-label",n.getHint(r.$realname)),s(2),ki("name","lv-",r.$level,""),a("customStyle",T(11,Dp)),s(2),E(" ",r.$name," "),s(2),a("anchor",t)("strictDirection",!0)("cssVars",T(12,Bp)),s(),a("ngIf",w(9,9,n.localMessages$))}}var Ao=(()=>{let i=class i{get doc$(){return this.appService.desktop$}constructor(t,n,o){this.appService=t,this.actionService=n,this.api5Service=o,this.currentUser$=this.appService.desktop$.pipe(Q(p=>!!p?.user),O(p=>p.user)),this.userPath$=this.appService.desktop$.pipe(Q(p=>Array.isArray(p?.path)),O(p=>p.path.slice(0,-1).reverse())),this.localMessages$=this.appService.desktop$.pipe(Q(p=>!!p?.messages),O(p=>de.getMessageSet(p)))}getHint(t){return this.appService.getDesktopMessage("hint_user-menu").replace("__name__",t)}openSettings(){this.actionService.handleAction({func:"usrparam"},"edit")}changeUserLvl(t,n){n.$url?this.actionService.redirectToUrl(n.$url):this.actionService.handleAction({func:"chlevel",lp:t+1},"action",!1)}logout(){this.api5Service.logon().subscribe(()=>{window.location.reload()})}};i.\u0275fac=function(n){return new(n||i)(C(oe),C(Be),C(Ht))},i.\u0275cmp=g({type:i,selectors:[["isp-user-menu"]],decls:4,vars:6,consts:[["userMenu",""],[4,"ngIf"],["name","back_user","alignment","end","resizeSelector","#layout-main-page","popupClasses","isp-user-menu-session-tip-popup",1,"user-menu__tip",3,"doc"],["type","button","ispTooltip","","ispTooltipEllipsis","",1,"user-menu"],[1,"user-menu__icon","user-menu__user-icon",3,"customStyle","name"],[1,"user-menu__user-name"],["name","galka_down_dark-blue",1,"user-menu__arrow-down"],["trigger","click","alignment","end","anchorOffset","5","popupClasses","isp-top-bar-menu-dropdown",3,"anchor","strictDirection","cssVars"],["class","user-menu__dropdown",4,"ngIf"],[1,"user-menu__dropdown"],["class","user-menu__item",3,"click",4,"ngFor","ngForOf"],[1,"user-menu__item",3,"click"],["name","t-set",1,"user-menu__icon",3,"customStyle"],["name","t-exit",1,"user-menu__icon",3,"customStyle"],[1,"user-menu__icon",3,"customStyle","name"]],template:function(n,o){n&1&&(u(0,Vp,10,13,"ng-container",1),y(1,"async"),m(2,"isp-session-tip",2),y(3,"async")),n&2&&(a("ngIf",w(1,2,o.currentUser$)),s(2),a("doc",w(3,4,o.doc$)))},dependencies:[D,B,Z,ue,Yt,pe,G],styles:["[_nghost-%COMP%]{position:relative}.user-menu[_ngcontent-%COMP%]{--isp-icons-main-color: var(--isp-c-jon-snow);display:inline-flex;align-items:center;padding:5px;color:var(--isp-c-jon-snow);background:transparent;border:none;border-radius:5px;cursor:pointer;transition:background-color .1s ease-in-out}.user-menu[_ngcontent-%COMP%]:hover{background-color:var(--isp-c-creepy-cloud)}.user-menu__icon[_ngcontent-%COMP%]{display:flex}.user-menu__user-icon[_ngcontent-%COMP%]{margin-right:5px}.user-menu__user-name[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;align-items:center;font-size:12px}.user-menu__arrow-down[_ngcontent-%COMP%]{--isp-icons-main-color: currentColor;--isp-icons-fill-color: var(--isp-top-bar-icon-background);margin-left:5px}.user-menu__item[_ngcontent-%COMP%]{display:flex;gap:10px;align-items:center;height:30px;padding:0 15px;white-space:nowrap;cursor:pointer}.user-menu__item[_ngcontent-%COMP%]:hover{background:var(--isp-dc-cult)}.user-menu__icon[_ngcontent-%COMP%]{--isp-icons-fill-color: transparent}.user-menu__tip[_ngcontent-%COMP%]{position:absolute;right:25px;bottom:10px;width:0;height:0}"],changeDetection:0});let e=i;return e})();var ai=(()=>{let i=class i{constructor(t,n,o,p,_){this.appService=t,this.notifyService=n,this.dateFNSService=o,this.messageBusService=p,this.destroyRef=_,this.notificationsUI$=new ie([]),this.subscribeToServerNotifications(),this.subscribeToReadInUI(),this.startReadingOnServer(),this.subscribeToRemoveInUI(),this.startRemovingOnServer(),this.subscribeToMessageBus(),this.startUpdatingDates()}startUpdatingDates(){en(1e3).pipe(le(()=>{let t=this.notificationsUI$.value.slice().map(n=>q(R({},n),{timeUI:this.dateFNSService.formatDistance(new Date(n.unixtime*1e3))}));this.notificationsUI$.next(t)}),H(this.destroyRef)).subscribe()}subscribeToMessageBus(){this.messageBusService.on$("need-to-read-notifications-in-notification-center").pipe(le(t=>this.read(t.payload)),H(this.destroyRef)).subscribe()}startReadingOnServer(){this.notificationsUI$.pipe(O(t=>t.filter(n=>n.enqueuedToBeReadUI&&!n.read)),fe((t,n)=>t.map(o=>o.id).join("")===n.map(o=>o.id).join("")),Ne(1e3),le(t=>{let n=t.map(o=>o.id);this.readOnServer$(n).subscribe()}),H(this.destroyRef)).subscribe()}startRemovingOnServer(){this.notificationsUI$.pipe(O(t=>t.filter(n=>n.startedRemovingUI)),Q(t=>t.length>0),Ne(300),le(()=>{this.notificationsUI$.next([]),this.removeAllOnServer$().subscribe()}),H(this.destroyRef)).subscribe()}subscribeToServerNotifications(){this.notifyService.notifications$.pipe(H(this.destroyRef)).subscribe(t=>{let n=this.notificationsUI$.value,o=t.map(p=>{let _=n.find(b=>b.id===p.id);if(_)return q(R({},_),{read:p.read,readUI:p.read});let f=new Date(p.unixtime*1e3);return q(R({},p),{timeUI:this.dateFNSService.formatDistance(f),timeTip:this.dateFNSService.format(f,"yyyy-MM-dd HH:mm:ss"),readUI:p.read,enqueuedToBeReadUI:!1,enqueuedToBeRemovedUI:!1,startedRemovingUI:!1,removedUI:!1,inView:!1,msgUI:this.getMessageHTML(p.msg),link:p.link?q(R({},p.link),{text:this.getLinkText(p.link.name)}):void 0})});this.notificationsUI$.next(o)})}getMessageHTML(t){return t.replace(/\\n/g,"<br/>")}getLinkText(t){return this.appService.getDesktopMessage(`notify_link_${t}`)}subscribeToReadInUI(){this.notificationsUI$.pipe(ze(),O(([t,n])=>n.filter(o=>o.enqueuedToBeReadUI&&t.find(p=>p.id===o.id&&!p.enqueuedToBeReadUI))),Q(t=>t.length>0),wi(t=>Ye(t).pipe(je(200))),le(t=>{let n=this.notificationsUI$.value;n.forEach(o=>{t.find(p=>p.id===o.id)&&(o.readUI=!0)}),this.notificationsUI$.next(n)}),H(this.destroyRef)).subscribe()}subscribeToRemoveInUI(){this.notificationsUI$.pipe(ze(),O(([t,n])=>n.filter(o=>o.enqueuedToBeRemovedUI&&t.find(p=>p.id===o.id&&!p.enqueuedToBeRemovedUI))),Q(t=>t.length>0),wi(t=>Ye(t).pipe(je(50))),le(t=>{let n=this.notificationsUI$.value;n.forEach(o=>{t.find(p=>p.id===o.id)&&(o.startedRemovingUI=!0)}),this.notificationsUI$.next(n)}),H(this.destroyRef)).subscribe()}readOnServer$(t){return this.notifyService.readNotifications$(Array.from(t))}removeAllOnServer$(){return this.notifyService.cleanNotifications$()}read(t){let n=this.notificationsUI$.value,o=p=>{p.enqueuedToBeReadUI=!0,p.readUI=!0};t&&t.length?n.filter(p=>t.includes(p.id)).forEach(o):n.forEach(o),this.notificationsUI$.next(n)}removeAll(){let t=this.notificationsUI$.value;for(let n=0;n<t.length;n++)if(t[n].inView){let o=t.slice();o[n]=q(R({},o[n]),{enqueuedToBeRemovedUI:!0}),this.notificationsUI$.next(o)}}updateNotificationsStream(t){this.notificationsUI$.next(t)}};i.\u0275fac=function(n){return new(n||i)(X(oe),X(On),X(co),X(Ct),X(Se))},i.\u0275prov=ge({token:i,factory:i.\u0275fac});let e=i;return e})();var Up=["anchor"],zp=["list"],Hp=["notifications"],si=()=>({width:"15px",height:"15px"}),Gp=()=>({"--isp-dropdown-z-index":"var(--isp-notification-center-dropdown-z-index)"});function Qp(e,i){if(e&1){let r=M();c(0,"div",16),x("click",function(){h(r);let n=d();return v(n.resetScroll())}),S(1),y(2,"async"),l()}if(e&2){let r=d();a("@fadeInOut",void 0),s(),E(" ",w(2,2,r.getMessage$("notify_go_to_unread"))," ")}}function qp(e,i){if(e&1){let r=M();c(0,"div",26),x("click",function(){h(r);let n=d(2).$implicit,o=d(2);return v(o.handleLinkClick(n))}),S(1),l()}if(e&2){let r=d(2).$implicit;s(),E(" ",r.link.text," ")}}function Wp(e,i){if(e&1&&(c(0,"div",20,3),m(2,"isp-svg-icon",21),c(3,"div",22)(4,"span",23),S(5),l()(),m(6,"div",24),u(7,qp,2,1,"div",25),l()),e&2){let r=d().$implicit;A("notification_fading-out",r.startedRemovingUI)("notification_read",r.read||r.readUI),ne("data-notification-id",r.id),s(2),a("customStyle",T(11,si))("name","s-"+r.level),s(2),a("ispTooltip",r.timeTip),s(),K(r.timeUI),s(),a("innerHTML",r.msgUI,ln),s(),a("ngIf",r.link)}}function Kp(e,i){if(e&1&&(L(0),u(1,Wp,8,12,"div",19),U()),e&2){let r=i.$implicit;s(),a("ngIf",!r.removedUI)}}function Yp(e,i){if(e&1&&(c(0,"div",17,2),u(2,Kp,2,1,"ng-container",18),y(3,"async"),l()),e&2){let r=d();s(2),a("ngForOf",w(3,2,r.notificationsUI$))("ngForTrackBy",r.getNotificationId)}}function Xp(e,i){if(e&1&&(c(0,"div",27),m(1,"isp-illustration",28),c(2,"span",29),S(3),y(4,"async"),l()()),e&2){let r=d();s(3),K(w(4,1,r.getMessage$("notify_no_msg")))}}var Lo=(()=>{let i=class i{constructor(t,n,o,p,_){this.notificationCenterService=t,this.actionService=n,this.messageBusService=o,this.appService=p,this.destroyRef=_,this.notificationsUI$=this.notificationCenterService.notificationsUI$,this.hasNewUnread$=new ie(!1),this.unreadNotificationsCount$=this.notificationsUI$.pipe(O(f=>f.filter(b=>!b.readUI).length),fe()),this.isOpen$=new ie(!1),this.showGoToNew$=Xe(this.hasNewUnread$,this.isOpen$).pipe(ze(),O(([[f,b],[$,P]])=>b&&P&&$)),this.listScrollHandler=()=>{this.checkView()},this.subscribeToNewNotifications(),this.subscribeToMessageBus()}subscribeToMessageBus(){this.messageBusService.on$("need-notification-center-open").pipe(le(()=>this.anchor.nativeElement?.click()),H(this.destroyRef)).subscribe()}handleLinkClick(t){this.actionService.handleAction(bt(t.link.value),t.link.type,!0)}getMessage$(t){return this.appService.desktop$.pipe(O(n=>de.getMessage(t,n)))}subscribeToNewNotifications(){this.notificationsUI$.pipe(ze(),Q(([t,n])=>n.length>t.length),le(()=>{this.isOpen$.value||this.hasNewUnread$.next(!0)}),Q(()=>this.isOpen$.value),Ne(50),le(()=>this.checkView()),H(this.destroyRef)).subscribe()}resetScroll(){this.listEl?.nativeElement?.scroll({top:0,behavior:"smooth"})}handleDropdownUpdate(t){switch(t){case"open-start":this.messageBusService.emit("notification-center-toggle",!0),this.isOpen$.next(!0);break;case"open-end":this.listScrollHandler(),this.listEl?.nativeElement?.addEventListener("scroll",this.listScrollHandler);break;case"close-start":this.isOpen$.next(!1),this.messageBusService.emit("notification-center-toggle",!1),this.listEl?.nativeElement?.removeEventListener("scroll",this.listScrollHandler);break;default:break}}getNotificationId(t){return t.id}readAll(){this.notificationCenterService.read()}removeAll(){this.notificationCenterService.removeAll()}checkView(){let t=this.listEl?.nativeElement,n=this.notificationEls;if(!t||!n.length)return;let o=t.getBoundingClientRect(),p=[],_=!1;n.forEach(b=>{let $=b.nativeElement.getBoundingClientRect(),P=+b.nativeElement.dataset.notificationId,te=this.notificationsUI$.value,ee=te.find(Ee=>Ee.id===P);if(ee&&($.top<o.top&&!ee.read&&!ee.enqueuedToBeReadUI&&(_=!0),$.bottom>o.top&&$.top<o.bottom&&p.push(P),$.top>=o.top&&$.bottom<=o.bottom&&!ee.read&&!ee.enqueuedToBeReadUI)){let Ee=te.slice(),qe=te.indexOf(ee);Ee[qe]=q(R({},ee),{enqueuedToBeReadUI:!0}),this.notificationCenterService.updateNotificationsStream(Ee)}}),this.hasNewUnread$.next(_);let f=this.notificationsUI$.value.map(b=>q(R({},b),{inView:p.includes(b.id)}));this.notificationCenterService.updateNotificationsStream(f)}};i.\u0275fac=function(n){return new(n||i)(C(ai),C(Be),C(Ct),C(oe),C(Se))},i.\u0275cmp=g({type:i,selectors:[["isp-notification-center"]],viewQuery:function(n,o){if(n&1&&(Te(Up,5),Te(zp,5),Te(Hp,5)),n&2){let p;Pe(p=Ie())&&(o.anchor=p.first),Pe(p=Ie())&&(o.listEl=p.first),Pe(p=Ie())&&(o.notificationEls=p)}},features:[nt([ai])],decls:28,vars:47,consts:[["anchor",""],["empty",""],["list",""],["notifications",""],["type","button",1,"button",3,"ispTooltip"],["name","bell_s",3,"customStyle"],["popupClasses","notification-center-popup","trigger","click","alignment","end","resizeSelector","#layout-main-page",3,"update","anchor","anchorOffset","cssVars"],[1,"header"],[1,"header__title"],[1,"header__counter"],["ispTooltipPosition","top-middle",1,"header__tool-icon","header__tool-icon_name_read",3,"click","ispTooltip"],["name","p-tick-blue",3,"customStyle"],["ispTooltipPosition","top-middle",1,"header__tool-icon","header__tool-icon_name_remove",3,"click","ispTooltip"],["name","p-delete",3,"customStyle"],["class","go-to-new",3,"click",4,"ngIf"],["class","notification-list ispui-scrollbar_gray",4,"ngIf","ngIfElse"],[1,"go-to-new",3,"click"],[1,"notification-list","ispui-scrollbar_gray"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","notification",3,"notification_fading-out","notification_read",4,"ngIf"],[1,"notification"],[1,"notification__icon",3,"customStyle","name"],[1,"notification__date"],["ispTooltipPosition","top-middle",3,"ispTooltip"],[1,"notification__msg",3,"innerHTML"],["class","notification__link",3,"click",4,"ngIf"],[1,"notification__link",3,"click"],[1,"empty","ispui-scrollbar_gray"],["type","flower-sun",1,"empty__img"],[1,"empty__text"]],template:function(n,o){if(n&1){let p=M();c(0,"button",4,0),y(2,"async"),y(3,"async"),y(4,"async"),y(5,"async"),m(6,"isp-svg-icon",5),l(),c(7,"isp-dropdown",6),x("update",function(f){return h(p),v(o.handleDropdownUpdate(f))}),c(8,"div",7)(9,"div",8),S(10),y(11,"async"),l(),c(12,"div",9),y(13,"async"),S(14),y(15,"async"),l(),c(16,"div",10),y(17,"async"),x("click",function(){return h(p),v(o.readAll())}),m(18,"isp-svg-icon",11),l(),c(19,"div",12),y(20,"async"),x("click",function(){return h(p),v(o.removeAll())}),m(21,"isp-svg-icon",13),l()(),u(22,Qp,3,4,"div",14),y(23,"async"),u(24,Yp,4,4,"div",15),y(25,"async"),u(26,Xp,5,3,"ng-template",null,1,W),l()}if(n&2){let p=I(1),_=I(27);A("button_active",w(2,21,o.isOpen$))("button_marked",w(3,23,o.unreadNotificationsCount$)),a("ispTooltip",w(4,25,o.getMessage$("hint_notify"))),ne("aria-label",w(5,27,o.getMessage$("hint_notify"))),s(6),a("customStyle",T(43,si)),s(),a("anchor",p)("anchorOffset",5)("cssVars",T(44,Gp)),s(3),K(w(11,29,o.getMessage$("notify_title"))),s(2),A("header__counter_warning",w(13,31,o.hasNewUnread$)),s(2),E(" ",w(15,33,o.unreadNotificationsCount$)," "),s(2),a("ispTooltip",w(17,35,o.getMessage$("notify_mark_read"))),s(2),a("customStyle",T(45,si)),s(),a("ispTooltip",w(20,37,o.getMessage$("notify_clean"))),s(2),a("customStyle",T(46,si)),s(),a("ngIf",w(23,39,o.showGoToNew$)),s(2),a("ngIf",w(25,41,o.notificationsUI$).length)("ngIfElse",_)}},dependencies:[D,B,pe,Z,ue,ei,G],styles:['.button[_ngcontent-%COMP%]{--isp-icons-main-color: var(--isp-c-russian-north);display:flex;align-items:center;justify-content:center;width:25px;height:25px;padding:0;background:transparent;border:none;border-radius:5px;cursor:pointer;transition:background-color .1s ease-in-out}.button_marked[_ngcontent-%COMP%]{position:relative}.button_marked[_ngcontent-%COMP%]:before{position:absolute;top:7.5px;left:13.5px;content:"";width:6px;height:6px;background:var(--isp-c-nosferatu);border-radius:10px}.button_active[_ngcontent-%COMP%], .button[_ngcontent-%COMP%]:hover{background:var(--isp-c-creepy-cloud)}.header[_ngcontent-%COMP%]{display:flex;flex-shrink:0;align-items:center;height:69px;padding:0 20px}.header__title[_ngcontent-%COMP%]{font-size:25px;font-weight:var(--isp-font-weight-bold)}.header__counter[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:39px;height:25px;margin-right:auto;margin-left:10px;font-size:12px;background:var(--isp-dc-norilsk);border-radius:5px;transition-property:background-color,color;transition-duration:.2s}.header__counter_warning[_ngcontent-%COMP%]{background:var(--isp-dc-bright-emotions);transition-property:background-color,color;transition-duration:.2s}.header__tool-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:25px;height:25px;margin-left:5px;border-radius:5px;cursor:pointer}.header__tool-icon[_ngcontent-%COMP%]:hover{background:var(--isp-dc-norilsk)}.header__tool-icon_name_read[_ngcontent-%COMP%]:hover{--isp-icons-main-color: var(--isp-c-grasshopper)}.header__tool-icon_name_remove[_ngcontent-%COMP%]:hover{--isp-icons-main-color: var(--isp-dc-bright-emotions)}.go-to-new[_ngcontent-%COMP%]{position:absolute;top:69px;left:0;z-index:1;display:flex;align-items:center;justify-content:center;width:100%;height:34px;color:var(--isp-c-jon-snow);background:var(--isp-c-blue-velvet);cursor:pointer}.go-to-new[_ngcontent-%COMP%]:hover{background:var(--isp-c-deep)}.go-to-new[_ngcontent-%COMP%]:before, .go-to-new[_ngcontent-%COMP%]:after{position:absolute;top:15px;right:20px;content:"";width:1px;height:7px;background:var(--isp-c-jon-snow);transform:rotate(42deg);transform-origin:50% 0 0}.go-to-new[_ngcontent-%COMP%]:after{transform:rotate(-42deg)}.notification-list[_ngcontent-%COMP%]{overflow-x:hidden;overflow-y:auto}.notification[_ngcontent-%COMP%]{position:relative;padding:20px 20px 20px 45px;background:var(--isp-dc-norilsk);transition-property:background-color,opacity,transform;transition-duration:.5s,.2s,.2s;transition-timing-function:linear,ease-in,ease-in}.notification[_ngcontent-%COMP%]:before{position:absolute;top:0;left:20px;content:"";width:calc(100% - 40px);height:1px;background-color:var(--isp-dc-charlie-chaplin)}.notification_fading-out[_ngcontent-%COMP%]{opacity:0;transform:translate(100%)}.notification_read[_ngcontent-%COMP%]{background:var(--isp-dc-cow)}.notification_unread[_ngcontent-%COMP%] + .notification[_ngcontent-%COMP%]:not(.notification_unread):before, .notification[_ngcontent-%COMP%]:not(.notification_unread) + .notification_unread[_ngcontent-%COMP%]:before{display:none}.notification__icon[_ngcontent-%COMP%]{--isp-icons-fill-color: var(--isp-c-jon-snow);position:absolute;top:20px;left:20px}.notification__date[_ngcontent-%COMP%]{width:fit-content;margin-bottom:5px;font-size:12px;color:var(--isp-c-grey-weekdays)}.notification__msg[_ngcontent-%COMP%]{font-size:14px;word-break:break-word}.notification__link[_ngcontent-%COMP%]{width:fit-content;margin-top:10px;color:var(--isp-dc-fremen);cursor:pointer}.notification__link[_ngcontent-%COMP%]:hover{color:var(--isp-dc-lapis-lazuli)}.empty[_ngcontent-%COMP%]{height:300px;overflow-x:hidden;font-size:18px;text-align:center}.empty__img[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:220px}'],data:{animation:[at("fadeInOut",[Ge(":enter",[ve({opacity:0}),Ae(".2s ease-in",ve({opacity:1}))]),Ge(":leave",[ve({opacity:1}),Ae(".2s ease-out",ve({opacity:0}))])])]},changeDetection:0});let e=i;return e})();var Zp=()=>({"--isp-dropdown-z-index":"var(--isp-header-dropdown-z-index)"});function ec(e,i){if(e&1){let r=M();c(0,"button",5),x("click",function(){let n=h(r).$implicit,o=d();return v(o.changeColorScheme(n.name))}),m(1,"isp-icon-provider",6),c(2,"span"),S(3),l()()}if(e&2){let r=i.$implicit;s(),a("name",r.icon)("inSprite",!0),s(2),K(r.caption)}}var Uo=(()=>{let i=class i{constructor(t,n,o){this.colorSchemeService=t,this.appService=n,this.metric=o,this.colorSchemeIcons={[st.Light]:"sun",[st.Dark]:"moon",[st.Auto]:"sun_and_moon"},this.colorSchemeMessages={[st.Light]:"theme_light",[st.Dark]:"theme_dark",[st.Auto]:"theme_system"},this.icon$=this.colorSchemeService.colorScheme$.pipe(O(p=>`${this.colorSchemeIcons[p]}_s`)),this.buttons=Object.values(st).map(p=>({name:p,icon:`${this.colorSchemeIcons[p]}_m`,caption:this.appService.getDesktopMessage(this.colorSchemeMessages[p])}))}changeColorScheme(t){this.colorSchemeService.setColorScheme(t),this.metric.append({event:"user_click_color_scheme",data:{theme:t}})}getMsg(t){return this.appService.getDesktopMessage(t)}};i.\u0275fac=function(n){return new(n||i)(C(Gt),C(oe),C(pt))},i.\u0275cmp=g({type:i,selectors:[["isp-color-scheme-button"]],decls:6,vars:11,consts:[["button",""],["type","button",1,"color-scheme-button",3,"ispTooltip"],[1,"color-scheme-button__icon",3,"name","inSprite"],["trigger","click","alignment","end","anchorOffset","5","popupClasses","isp-color-scheme-dropdown",3,"anchor","strictDirection","cssVars"],["class","color-scheme-dropdown","type","button",3,"click",4,"ngFor","ngForOf"],["type","button",1,"color-scheme-dropdown",3,"click"],[1,"color-scheme-dropdown__icon",3,"name","inSprite"]],template:function(n,o){if(n&1&&(c(0,"button",1,0),m(2,"isp-icon-provider",2),y(3,"async"),l(),c(4,"isp-dropdown",3),u(5,ec,4,3,"button",4),l()),n&2){let p=I(1);a("ispTooltip",o.getMsg("hint_theme")),ne("aria-label",o.getMsg("hint_theme")),s(2),a("name",w(3,8,o.icon$))("inSprite",!0),s(2),a("anchor",p)("strictDirection",!0)("cssVars",T(10,Zp)),s(),a("ngForOf",o.buttons)}},dependencies:[D,pe,qn,ue,G],styles:[".color-scheme-button[_ngcontent-%COMP%]{--isp-icons-main-color: var(--isp-c-jon-snow);display:block;padding:5px;margin:0;color:var(--isp-c-jon-snow);background:none;border:none;border-radius:5px;cursor:pointer;transition:background-color .1s ease-in-out}.color-scheme-button[_ngcontent-%COMP%]:hover{background-color:var(--isp-c-creepy-cloud)}.color-scheme-button__icon[_ngcontent-%COMP%]{display:flex}.color-scheme-dropdown[_ngcontent-%COMP%]{--isp-icons-main-color: var(--isp-text-color-main);display:flex;gap:10px;align-items:center;width:100%;height:30px;padding:0 15px;margin:0;font-family:inherit;font-size:inherit;color:var(--isp-text-color-main);background:none;border:none;cursor:pointer}.color-scheme-dropdown[_ngcontent-%COMP%]:hover{background-color:var(--isp-dc-cult)}.color-scheme-dropdown__icon[_ngcontent-%COMP%]{display:flex}"],changeDetection:0});let e=i;return e})();var zi=()=>({width:"15px",height:"15px"}),ic=()=>({"--isp-dropdown-z-index":"var(--isp-upload-center-dropdown-z-index)"}),nc=()=>({file:"p-file-100",folder:"p-file-0",group:"p-file-102"}),oc=()=>["upload","check"];function rc(e,i){if(e&1&&(c(0,"div",14),m(1,"div",15),c(2,"div",16)(3,"div",17),S(4),l()()()),e&2){let r=d();s(4),E(" ",r.limitsMsg," ")}}function ac(e,i){if(e&1){let r=M();c(0,"div",35),x("click",function(n){h(r);let o=d(2).$implicit,p=d(3);return n.stopPropagation(),v(p.remove(o))}),l()}}function sc(e,i){if(e&1&&(c(0,"div",36),S(1),l()),e&2){let r=d().ngIf;s(),E(" ",r.percent,"% ")}}function pc(e,i){if(e&1&&(c(0,"div",37),S(1),l()),e&2){let r=d(5);s(),E(" ",r.getUploadMsg("msg_upload_finished")," ")}}function cc(e,i){if(e&1&&(c(0,"div",44),S(1),l()),e&2){let r=d(2).ngIf;s(),E(" ",r.confirmationFilePath," ")}}function lc(e,i){if(e&1){let r=M();c(0,"a",45),x("click",function(n){let o=h(r).$implicit;d();let p=I(7);return n.stopPropagation(),v(o.handler((p==null?null:p.value)==="on"))}),S(1),l()}if(e&2){let r=i.$implicit;s(),K(r.label)}}function dc(e,i){if(e&1&&(c(0,"div",38),S(1),u(2,cc,2,1,"div",39),c(3,"div",40),u(4,lc,2,1,"a",41),l(),c(5,"div",42),m(6,"isp-checkbox",43,3),l()()),e&2){let r=d().ngIf,t=d(4);s(),E(" ",t.foundExistingFileMsg," "),s(),a("ngIf",r.uploadType!=="file"),s(2),a("ngForOf",r.confirmationActions),s(),A("upload-card__confirm_apply-to-all-cb_hidden",r.uploadType==="file"),s(),a("label",t.getUploadMsg("msg_apply_to_all"))}}function mc(e,i){if(e&1&&(c(0,"div",38),S(1),l()),e&2){let r=d().ngIf;s(),E(" ",r.errorText," ")}}function uc(e,i){if(e&1&&(L(0),c(1,"div",25),m(2,"isp-svg-icon",26),c(3,"div",27),S(4),l(),u(5,ac,1,0,"div",28),l(),m(6,"isp-progress-bar",29),c(7,"div",30)(8,"div",31),S(9),l(),u(10,sc,2,1,"div",32)(11,pc,2,1,"div",33),l(),u(12,dc,8,6,"div",34)(13,mc,2,1,"div",34),U()),e&2){let r=i.ngIf;s(2),a("customStyle",T(16,zi))("name",T(17,nc)[r.uploadType]),s(2),E(" ",r.uploadName," "),s(),a("ngIf",r.phase!=="success"),s(),A("upload-card__bar_success",r.phase==="success")("upload-card__bar_confirm",r.phase==="confirm")("upload-card__bar_error",r.phase==="error"),a("value",r.percent),s(3),E(" ",r.size," "),s(),a("ngIf",T(18,oc).includes(r.phase)),s(),a("ngIf",r.phase==="success"),s(),a("ngIf",r.phase==="confirm"),s(),a("ngIf",r.phase==="error")}}function _c(e,i){if(e&1&&(c(0,"div",23),u(1,uc,14,19,"ng-container",24),y(2,"async"),l()),e&2){let r=i.$implicit;s(),a("ngIf",w(2,1,r))}}function fc(e,i){if(e&1){let r=M();c(0,"div",20)(1,"div",21),x("click",function(){let n=h(r).$implicit,o=d(2);return v(o.goToPath(n==null?null:n.path))}),S(2),l(),u(3,_c,3,3,"div",22),l()}if(e&2){let r=i.$implicit,t=d(2);s(),a("ispTooltip",t.getUploadMsg("msg_go_to_dir")),s(),E(" ",r==null?null:r.path," "),s(),a("ngForOf",r==null?null:r.uploads)}}function gc(e,i){if(e&1&&(c(0,"div",18,2),u(2,fc,4,3,"div",19),l()),e&2){let r=d();s(2),a("ngForOf",r.uploadPathGroups)}}function hc(e,i){if(e&1&&(c(0,"div",46),m(1,"img",47),y(2,"useAssets"),c(3,"h3"),S(4),l(),S(5),l()),e&2){let r=d();s(),a("src",w(2,3,"illustrations/topbar-dropdown-stub.svg"),Ce),s(3),K(r.getUploadMsg("msg_empty_list")),s(),E(" ",r.getUploadMsg("msg_upload_manager_clear_reload")," ")}}var zo=(()=>{let i=class i{constructor(t,n,o,p,_){this.fileUploadService=t,this.tabService=n,this.cdr=o,this.actionService=p,this.destroyRef=_,this.isOpen$=new ie(!1),this.foundExistingFileMsg=this.getUploadMsg("msg_found_existing_file").replace(/:$/,"."),this.uploadPathGroups=[],this.limitsMsg=null,this.hasErrorsSubject=new ie(!1),this.hasErrors$=this.hasErrorsSubject.pipe(fe()),this.fileUploadService.uploads$.pipe(H(this.destroyRef)).subscribe(f=>{setTimeout(()=>{this.isOpen$.next(!0)});let b,$=this.uploadPathGroups.find((P,te)=>P.path===f.path?(b=te,!0):!1);$?($.uploads.splice(0,0,f.state),this.uploadPathGroups.splice(b,1),this.uploadPathGroups=[$,...this.uploadPathGroups]):this.uploadPathGroups=[{path:f.path,uploads:[f.state]},...this.uploadPathGroups],this.cdr.markForCheck(),this.subscribeToErrors(f.state)})}toggle(){this.isOpen$.next(!this.isOpen$.value)}handleDropdownUpdate(t){switch(t){case"open-start":this.isOpen$.next(!0);break;case"close-end":this.isOpen$.next(!1);break}}getUploadMsg(t){return this.fileUploadService.getMsg(t)}remove(t){t.value.cancelHandler&&t.value.cancelHandler(),this.uploadPathGroups.forEach(n=>n.uploads=n.uploads.filter(o=>o!==t)),this.uploadPathGroups=this.uploadPathGroups.filter(n=>n.uploads.length),this.updateHasErrors()}clear(){this.uploadPathGroups.forEach(t=>{t.uploads=t.uploads.filter(n=>n.value.phase!=="success")}),this.uploadPathGroups=this.uploadPathGroups.filter(t=>t.uploads.length)}goToPath(t){if(!(this.tabService.activeTab.func==="file"&&this.tabService.activeTab.plid?.replace(/\/+/g,"/").replace(/\/$/,"")===t.replace(/\/+/g,"/").replace(/\/$/,""))){let n=this.tabService.findMainTabByFunc("file");n?(n.q={plid:t},this.tabService.update(n)):this.actionService.handleAction({func:"file",plid:t},"editlist",!1)}}subscribeToErrors(t){t.pipe(H(this.destroyRef)).subscribe(n=>this.updateHasErrors())}updateHasErrors(){let t=this.uploadPathGroups.some(n=>n.uploads.some(o=>o.value.phase==="error"||o.value.phase==="confirm"));this.hasErrorsSubject.next(t)}};i.\u0275fac=function(n){return new(n||i)(C(Jt),C(Me),C(xt),C(Be),C(Se))},i.\u0275cmp=g({type:i,selectors:[["isp-upload-center"]],decls:17,vars:28,consts:[["anchor",""],["empty",""],["list",""],["applyToAllCb",""],["type","button",1,"button",3,"click","ispTooltip"],["name","folder_upload_s",3,"customStyle"],["popupClasses","isp-upload-center-popup","trigger","parameter","alignment","end","resizeSelector","#layout-main-page",3,"update","anchor","open","anchorOffset","cssVars"],[1,"upload-center"],[1,"header"],[1,"header__title"],["ispTooltipPosition","top-middle",1,"header__tool-icon",3,"click","ispTooltip"],["name","cleaning_s",3,"customStyle"],["class","uploads-limits-banner ispui-banner ispui-banner_status_info",4,"ngIf"],["class","uploads-list ispui-scrollbar_gray",4,"ngIf","ngIfElse"],[1,"uploads-limits-banner","ispui-banner","ispui-banner_status_info"],[1,"ispui-banner__icon"],[1,"ispui-banner__content"],[1,"ispui-banner__text"],[1,"uploads-list","ispui-scrollbar_gray"],["class","upload-path-group",4,"ngFor","ngForOf"],[1,"upload-path-group"],["ispTooltipPosition","top-middle",1,"upload-path-group-title",3,"click","ispTooltip"],["class","upload-card",4,"ngFor","ngForOf"],[1,"upload-card"],[4,"ngIf"],[1,"upload-card__upload-title"],[1,"upload-card__upload-icon",3,"customStyle","name"],[1,"upload-card__upload-name"],["class","isp-close upload-card__upload-close",3,"click",4,"ngIf"],[1,"upload-card__bar",3,"value"],[1,"upload-card__stats"],[1,"upload-card__size"],["class","upload-card__percent",4,"ngIf"],["class","upload-card__upload-success",4,"ngIf"],["class","upload-card__confirm",4,"ngIf"],[1,"isp-close","upload-card__upload-close",3,"click"],[1,"upload-card__percent"],[1,"upload-card__upload-success"],[1,"upload-card__confirm"],["class","upload-card__confirm_file-path",4,"ngIf"],[1,"upload-card__confirm_actions"],[3,"click",4,"ngFor","ngForOf"],[1,"upload-card__confirm_apply-to-all-cb"],[3,"label"],[1,"upload-card__confirm_file-path"],[3,"click"],[1,"empty"],["alt","Empty list stub",1,"stub__pic",3,"src"]],template:function(n,o){if(n&1){let p=M();c(0,"button",4,0),y(2,"async"),y(3,"async"),x("click",function(){return h(p),v(o.toggle())}),m(4,"isp-svg-icon",5),l(),c(5,"isp-dropdown",6),y(6,"async"),x("update",function(f){return h(p),v(o.handleDropdownUpdate(f))}),c(7,"div",7)(8,"div",8)(9,"div",9),S(10),l(),c(11,"div",10),x("click",function(){return h(p),v(o.clear())}),m(12,"isp-svg-icon",11),l()(),u(13,rc,5,1,"div",12)(14,gc,3,1,"div",13)(15,hc,6,5,"ng-template",null,1,W),l()()}if(n&2){let p=I(1),_=I(16);A("button_active",w(2,19,o.isOpen$))("button_marked",w(3,21,o.hasErrors$)),a("ispTooltip",o.getUploadMsg("msg_hint_files_uploading")),ne("aria-label",o.getUploadMsg("msg_hint_files_uploading")),s(4),a("customStyle",T(25,zi)),s(),a("anchor",p)("open",w(6,23,o.isOpen$))("anchorOffset",5)("cssVars",T(26,ic)),s(2),A("upload-center_empty",!o.uploadPathGroups.length),s(3),K(o.getUploadMsg("msg_files_uploading")),s(),a("ispTooltip",o.getUploadMsg("msg_clear_uploaded")),s(),a("customStyle",T(27,zi)),s(),a("ngIf",o.limitsMsg),s(),a("ngIf",o.uploadPathGroups.length)("ngIfElse",_)}},dependencies:[D,B,Z,pe,Qn,Kt,ue,G,lo],styles:['.button[_ngcontent-%COMP%]{--isp-icons-main-color: var(--isp-c-russian-north);display:flex;padding:5px;margin:0;background:none;border:none;border-radius:5px;cursor:pointer;transition:background-color .1s ease-in-out}.button_active[_ngcontent-%COMP%], .button[_ngcontent-%COMP%]:hover{background:var(--isp-c-creepy-cloud)}.button_marked[_ngcontent-%COMP%]{position:relative}.button_marked[_ngcontent-%COMP%]:before{position:absolute;top:7.5px;left:13.5px;content:"";width:6px;height:6px;background:var(--isp-c-nosferatu);border-radius:10px}.upload-center[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:400px;max-height:calc(100vh - var(--isp-topbar-top-line-height) - 120px)}.upload-center_empty[_ngcontent-%COMP%]{min-height:400px}.header[_ngcontent-%COMP%]{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;height:69px;padding:0 20px}.header__title[_ngcontent-%COMP%]{font-size:25px;font-weight:var(--isp-font-weight-bold)}.header__tool-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:25px;height:25px;margin-left:5px;border-radius:5px;cursor:pointer}.header__tool-icon[_ngcontent-%COMP%]:hover{background:var(--isp-dc-norilsk)}.uploads-limits-banner[_ngcontent-%COMP%]{margin:0 20px 25px;color:var(--isp-c-malewicz)}.uploads-list[_ngcontent-%COMP%]{padding:0 20px;overflow-x:hidden;overflow-y:auto}.upload-path-group[_ngcontent-%COMP%]{margin-bottom:25px;border-bottom:1px solid var(--isp-dc-charlie-chaplin)}.upload-path-group[_ngcontent-%COMP%] .ispui-tooltip-anchor[_ngcontent-%COMP%]{display:inline}.upload-path-group-title[_ngcontent-%COMP%]{display:inline-block;padding:5px 10px;margin-bottom:15px;color:var(--isp-dc-highway-star);background-color:var(--isp-dc-norilsk);border-radius:var(--isp-border-radius-main);cursor:pointer}.upload-path-group-title[_ngcontent-%COMP%]:hover{background-color:var(--isp-dc-reincarnation)}.upload-card[_ngcontent-%COMP%]{padding:15px 0 0;border-top:1px solid var(--isp-dc-charlie-chaplin)}.upload-card__upload-title[_ngcontent-%COMP%]{display:flex;gap:5px;align-items:center;justify-content:space-between;padding:0 0 5px;color:var(--isp-dc-highway-star)}.upload-card__upload-icon[_ngcontent-%COMP%]{flex-shrink:0;background-color:var(--isp-dc-glass)}.upload-card__upload-name[_ngcontent-%COMP%]{flex:1;max-width:330px;overflow-wrap:break-word}.upload-card__upload-close[_ngcontent-%COMP%]{flex-shrink:0}.upload-card__upload-close[_ngcontent-%COMP%]:hover{background-color:var(--isp-dc-norilsk)}.upload-card__bar[_ngcontent-%COMP%]{--isp-progress-bar__height: 4px;--isp-progress-bar__border-radius: 4px;background-color:var(--isp-dc-charlie-chaplin);border-radius:4px}.upload-card__bar_success[_ngcontent-%COMP%]{--isp-progress-bar__background: var(--isp-c-grasshopper)}.upload-card__bar_confirm[_ngcontent-%COMP%], .upload-card__bar_error[_ngcontent-%COMP%]{--isp-progress-bar__background: var(--isp-dc-bright-emotions)}.upload-card__stats[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:5px 0}.upload-card__stats[_ngcontent-%COMP%]:last-child{margin-bottom:10px}.upload-card__size[_ngcontent-%COMP%], .upload-card__percent[_ngcontent-%COMP%]{color:var(--isp-c-grey-weekdays)}.upload-card__upload-success[_ngcontent-%COMP%]{color:var(--isp-c-grasshopper)}.upload-card__confirm[_ngcontent-%COMP%]{margin-bottom:15px;color:var(--isp-dc-bright-emotions)}.upload-card__confirm_file-path[_ngcontent-%COMP%]{margin-top:5px}.upload-card__confirm_actions[_ngcontent-%COMP%]{display:flex;gap:10px;margin-top:5px}.upload-card__confirm_actions[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(:first-child){display:flex;align-items:center}.upload-card__confirm_actions[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:not(:first-child):before{content:"";height:10px;margin-right:10px;border-left:var(--isp-c-grey-weekdays) 1px solid}.upload-card__confirm_apply-to-all-cb[_ngcontent-%COMP%]{display:flex;gap:1px;align-items:center;margin-top:7px;color:var(--isp-dc-highway-star)}.upload-card__confirm_apply-to-all-cb_hidden[_ngcontent-%COMP%]{display:none}.empty[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:300px;padding-top:30px;margin:0 20px;text-align:center}.empty[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 10px;font-size:18px;font-weight:400}.empty[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:161px;margin-bottom:29px}'],changeDetection:0});let e=i;return e})();var Ho=(()=>{let i=class i{constructor(t){this.globalProgressBarService=t,this.value$=this.globalProgressBarService.progressValue$}};i.\u0275fac=function(n){return new(n||i)(C(Vn))},i.\u0275cmp=g({type:i,selectors:[["isp-global-progress-bar"]],standalone:!0,features:[me],decls:2,vars:3,consts:[[3,"value"]],template:function(n,o){n&1&&(m(0,"isp-progress-bar",0),y(1,"async")),n&2&&a("value",w(1,1,o.value$))},dependencies:[Kt,G],encapsulation:2,changeDetection:0});let e=i;return e})();var bc=["*"],Dt=(()=>{let i=class i{constructor(){this.label=cn.required(),this.isActive=un(!1)}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-tab"]],hostAttrs:[1,"ispui-scrollbar_gray"],hostVars:1,hostBindings:function(n,o){n&2&&fn("hidden",!o.isActive())},inputs:{label:[1,"label"],isActive:[1,"isActive"]},outputs:{isActive:"isActiveChange"},standalone:!0,features:[me],ngContentSelectors:bc,decls:1,vars:0,template:function(n,o){n&1&&(Fe(),De(0))},styles:["[_nghost-%COMP%]{min-height:0;overflow:hidden auto}"],changeDetection:0});let e=i;return e})();var Cc=["*"];function yc(e,i){if(e&1){let r=M();c(0,"li",1)(1,"button",2),x("click",function(){let n=h(r).$implicit,o=d();return v(o.setActive(n))}),S(2),l()()}if(e&2){let r=i.$implicit;s(),A("active",r.isActive()),s(),E(" ",r.label()," ")}}var Go=(()=>{let i=class i{constructor(){this.tabs=mn(Dt),this.activeTabIndex=ye(()=>{let t=this.tabs();if(!t)return 0;let n=t.findIndex(o=>o.isActive());return n>0?n:0})}ngAfterContentInit(){this.tabs()[this.activeTabIndex()].isActive.set(!0)}setActive(t){this.tabs().forEach(n=>n.isActive.set(!1)),t.isActive.set(!0)}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-tab-group"]],contentQueries:function(n,o,p){n&1&&hn(p,o.tabs,Dt,4),n&2&&jt()},standalone:!0,features:[me],ngContentSelectors:Cc,decls:4,vars:4,consts:[[1,"tabs-header"],[1,"tab-header__item"],["type","button",1,"tab-button",3,"click"]],template:function(n,o){n&1&&(Fe(),c(0,"ul",0),tt(1,yc,3,3,"li",1,_n),l(),De(3)),n&2&&(He("--position",o.activeTabIndex())("--count",o.tabs().length),s(),it(o.tabs()))},styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;min-height:0}.tabs-header[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:row;padding:0;margin:0;list-style-type:none}.tabs-header[_ngcontent-%COMP%]:after{--width: calc(100% / var(--count, 1));position:absolute;bottom:0;left:calc(var(--position, 0) * var(--width));content:"";width:var(--width);height:2px;background-color:var(--isp-dc-fremen)}@media (prefers-reduced-motion: no-preference){.tabs-header[_ngcontent-%COMP%]:after{transition:left .4s cubic-bezier(1,0,0,1)}}.tab-header__item[_ngcontent-%COMP%]{display:flex;flex:1}.tab-button[_ngcontent-%COMP%]{display:flex;flex:1;align-items:center;justify-content:center;height:35px;font:inherit;color:inherit;background:none;border:none;border-bottom:1px solid var(--isp-dc-charlie-chaplin);border-radius:var(--isp-border-radius-main) var(--isp-border-radius-main) 0 0;cursor:pointer}.tab-button[_ngcontent-%COMP%]:hover{background-color:var(--isp-dc-norilsk)}'],changeDetection:0});let e=i;return e})();var Ue=(()=>{let i=class i{constructor(){this.httpService=re(zt),this.doc=Oe(null),this.messageSet=ye(()=>{let t=this.doc();return t?de.getMessageSet(t):null}),this.getMessage=t=>this.messageSet()?.[t]||"",this.httpService.get({func:"helpcenter"}).subscribe(t=>{this.doc.set(t)})}};i.\u0275fac=function(n){return new(n||i)},i.\u0275prov=ge({token:i,factory:i.\u0275fac});let e=i;return e})();var Hi=30,ht=(()=>{let i=class i{constructor(){this.helpCenterService=re(Ue),this.httpService=re(bn),this.destroyRef=re(Se),this.doc=this.helpCenterService.doc,this.documentationMetadata=ye(()=>this.doc().metadata.helpcenter.documentation),this.apiUrl=ye(()=>this.documentationMetadata()?.$),this.product=ye(()=>this.documentationMetadata()?.$product),this.baseUrl=ye(()=>new URL(this.apiUrl()).origin),this.tableOfContents=Oe([]),this.inputValue=Oe(""),this.isLoading=Oe(!1),this.isNextPageAvailable=Oe(!1),this.error=Oe(!1),this.searchQuery=In(Pi(this.inputValue).pipe(Ne(300),fe()),{initialValue:""}),this.pagination=Oe(0),this.searchResults=Oe([]),this.reset$=new Ke,this.updateSearchResults$=new Ke,this.getTableOfContents(),Pi(this.searchQuery).pipe(Q(Boolean),H(this.destroyRef)).subscribe(()=>{this.reset$.next(),this.updateSearchResults$.next()}),this.reset$.pipe(H(this.destroyRef)).subscribe(()=>{this.searchResults.set([]),this.pagination.set(0),this.isNextPageAvailable.set(!1)}),this.updateSearchResults$.pipe(le(()=>this.isLoading.set(!0)),Ve(()=>{let t=this.getSearchQueryURL();return this.httpService.get(t).pipe(yi(()=>(this.error.set(!0),Ye([]))))}),le(()=>this.isLoading.set(!1)),H(this.destroyRef)).subscribe(t=>{t?.length>0&&this.searchResults.update(n=>{let o=this.groupResultsByPath(t);return this.mergeGroups(n,o)}),this.isNextPageAvailable.set(t.length===Hi)})}getTableOfContents(){this.isLoading.set(!0);let t=this.apiUrl(),n=this.product(),o=new URL(`${t}/toc`);o.searchParams.set("product",n),this.httpService.get(o.toString()).pipe(yi(()=>(this.error.set(!0),Ye([])))).subscribe(p=>{this.tableOfContents.set(p),this.isLoading.set(!1)})}getSearchQueryURL(){let t=this.apiUrl(),n=this.product(),o=this.searchQuery(),_=this.pagination()*Hi,f=new URL(`${t}/search`);return f.searchParams.set("product",n),f.searchParams.set("s",o),f.searchParams.set("offset",_.toString(10)),f.searchParams.set("limit",Hi.toString(10)),f.toString()}getNextPageIfAvailable(){this.isNextPageAvailable()&&!this.isLoading()&&(this.pagination.update(t=>t+1),this.updateSearchResults$.next())}groupResultsByPath(t){let n=new Map;return t.forEach(o=>{let p=o.path.map(_=>_.url).join(",");if(n.has(p)){let _=n.get(p);_.children=[..._.children,o]}else{let _=o.path.map(f=>f.name).join(" / ");n.set(p,{name:_,children:[o]})}}),Array.from(n.values())}mergeGroups(t,n){let o=new Map;return t.forEach(p=>o.set(p.name,p)),n.forEach(p=>{if(o.has(p.name)){let _=o.get(p.name);_.children=[..._.children,...p.children]}else o.set(p.name,p)}),Array.from(o.values())}};i.\u0275fac=function(n){return new(n||i)},i.\u0275prov=ge({token:i,factory:i.\u0275fac});let e=i;return e})();var wc=()=>({}),Sc=e=>({event:"user_click_help_center_documentation_link",data:e});function kc(e,i){if(e&1&&(c(0,"cdk-nested-tree-node",4)(1,"a",5)(2,"span"),S(3),l(),m(4,"isp-svg-icon",6),l()()),e&2){let r=i.$implicit,t=d();s(),a("href",t.baseUrl()+r.url,Ce)("ispMetric",F(4,Sc,T(3,wc))),s(2),K(r.name)}}function Mc(e,i){if(e&1&&(c(0,"cdk-nested-tree-node",4)(1,"button",7),m(2,"isp-svg-icon",8),c(3,"span"),S(4),l()(),c(5,"div",9),z(6,10),l()()),e&2){let r=i.$implicit,t=d();s(2),a("name",t.treeControl.isExpanded(r)?"arrow_up_s":"arrow_down_s"),s(2),E(" ",r.name," "),s(),A("tree-node_hidden",!t.treeControl.isExpanded(r))}}var Qo=(()=>{let i=class i{constructor(){this.documentationService=re(ht),this.baseUrl=this.documentationService.baseUrl,this.tableOfContents=this.documentationService.tableOfContents,this.treeControl=new Yn(t=>t.children),this.hasChildren=(t,n)=>!!n.children&&n.children.length>0}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-help-center-documentation-toc"]],standalone:!0,features:[me],decls:4,vars:3,consts:[[1,"table-of-contents"],[3,"dataSource","treeControl"],["class","tree-node",4,"cdkTreeNodeDef"],["class","tree-node",4,"cdkTreeNodeDef","cdkTreeNodeDefWhen"],[1,"tree-node"],["target","_blank","rel","noopener noreferrer",1,"tree-link",3,"href","ispMetric"],["name","arrow_right",1,"tree-link__icon"],["type","button","cdkTreeNodeToggle","",1,"expand-button"],[1,"expand-button__icon",3,"name"],[1,"tree-node_nested"],["cdkTreeNodeOutlet",""]],template:function(n,o){n&1&&(c(0,"div",0)(1,"cdk-tree",1),u(2,kc,5,6,"cdk-nested-tree-node",2)(3,Mc,7,4,"cdk-nested-tree-node",3),l()()),n&2&&(s(),a("dataSource",o.tableOfContents())("treeControl",o.treeControl),s(2),a("cdkTreeNodeDefWhen",o.hasChildren))},dependencies:[io,eo,Jn,to,Zn,Xn,Y,Z,be],styles:['.tree-node[_ngcontent-%COMP%]{display:block}.tree-node[_ngcontent-%COMP%] .tree-node[_ngcontent-%COMP%]{padding-left:30px}.tree-node_nested[_ngcontent-%COMP%]{position:relative}.tree-node_nested[_ngcontent-%COMP%]:before{position:absolute;top:0;bottom:0;left:17px;content:"";width:1px;background-color:var(--isp-dc-charlie-chaplin)}.tree-node_hidden[_ngcontent-%COMP%]{display:none}.tree-node[aria-level="1"][_ngcontent-%COMP%]{padding:10px 0;border-top:1px solid var(--isp-dc-charlie-chaplin)}.tree-node[aria-level="1"][_ngcontent-%COMP%] > .tree-link[_ngcontent-%COMP%]{margin-left:30px}.expand-button[_ngcontent-%COMP%]{display:inline-flex;gap:5px;align-items:center;height:35px;padding:0;font:inherit;color:inherit;background:none;border:none;cursor:pointer}.expand-button__icon[_ngcontent-%COMP%]{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:35px;height:35px;border-radius:50%}.expand-button[_ngcontent-%COMP%]:hover > .expand-button__icon[_ngcontent-%COMP%]{background-color:var(--isp-dc-norilsk)}.tree-link[_ngcontent-%COMP%]{display:flex;gap:10px;align-items:center;justify-content:space-between;min-height:35px;padding:10px;font:inherit;line-height:15px;color:inherit;text-decoration:none;border-radius:var(--isp-border-radius-main);cursor:pointer}.tree-link[_ngcontent-%COMP%]:hover{background-color:var(--isp-dc-norilsk)}.tree-link[_ngcontent-%COMP%]:visited{color:inherit}.tree-link__icon[_ngcontent-%COMP%]{position:relative;display:flex;flex-shrink:0;opacity:0}.tree-link[_ngcontent-%COMP%]:hover .tree-link__icon[_ngcontent-%COMP%]{opacity:1}'],changeDetection:0});let e=i;return e})();var Oc=(e,i)=>i.name,Tc=(e,i)=>i.path,Pc=()=>({}),Ic=e=>({event:"user_click_help_center_documentation_link",data:e});function $c(e,i){if(e&1&&(c(0,"span",3),S(1),l()),e&2){let r=d().$implicit;s(),K(r.name)}}function Ec(e,i){if(e&1&&(c(0,"a",4)(1,"span",5),m(2,"isp-svg-icon",6)(3,"isp-svg-icon",7),l(),c(4,"span",8)(5,"span",9),S(6),l(),c(7,"span",10),S(8),l()()()),e&2){let r=i.$implicit,t=d(2);a("href",t.baseUrl()+r.url,Ce)("ispMetric",F(5,Ic,T(4,Pc))),s(6),E(" ",r.name," "),s(2),E(" ",r.text," ")}}function Fc(e,i){if(e&1&&(c(0,"div",1),u(1,$c,2,1,"span",3),tt(2,Ec,9,7,"a",4,Tc),l()),e&2){let r=i.$implicit;s(),Re(r.name?1:-1),s(),it(r.children)}}function Dc(e,i){e&1&&m(0,"isp-loader",2)}function Bc(e,i){if(e&1&&(c(0,"span"),S(1),l()),e&2){let r=d();s(),K(r.getMessage("msg_notfound"))}}var qo=(()=>{let i=class i{constructor(){this.documentationService=re(ht),this.searchResults=this.documentationService.searchResults,this.baseUrl=this.documentationService.baseUrl,this.isLoading=this.documentationService.isLoading,this.getMessage=re(Ue).getMessage}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-help-center-documentation-search-results"]],standalone:!0,features:[me],decls:5,vars:1,consts:[[1,"search-results"],[1,"search-group"],["loading","true","type","spinner",1,"loader"],[1,"search-group__name"],["target","_blank","rel","noopener noreferrer",1,"search-link",3,"href","ispMetric"],[1,"search-link__icon"],["name","search",1,"search-link__icon-search"],["name","arrow_right",1,"search-link__icon-arrow"],[1,"search-link__result"],[1,"search-link__name"],[1,"search-link__text"]],template:function(n,o){n&1&&(c(0,"div",0),tt(1,Fc,4,1,"div",1,Oc),u(3,Dc,1,0,"isp-loader",2)(4,Bc,2,1,"span"),l()),n&2&&(s(),it(o.searchResults()),s(2),Re(o.isLoading()?3:o.searchResults().length===0?4:-1))},dependencies:[Y,Z,Qt,be],styles:[".search-results[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px;padding-bottom:20px}.search-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:5px}.search-group__name[_ngcontent-%COMP%]{display:flex;align-items:center;width:fit-content;padding:5px 10px;background-color:var(--isp-dc-cult);border-radius:var(--isp-border-radius-main)}.search-link[_ngcontent-%COMP%]{display:flex;gap:15px;align-items:flex-start;padding:10px;color:inherit;text-decoration:none;background-color:var(--isp-dc-norilsk);border-radius:var(--isp-border-radius-main)}.search-link[_ngcontent-%COMP%]:hover{background-color:var(--isp-dc-reincarnation)}.search-link[_ngcontent-%COMP%]:visited{color:inherit}.search-link__icon[_ngcontent-%COMP%]{display:grid;flex-shrink:0}.search-link__icon[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{grid-area:1/1;transition:transform .2s cubic-bezier(1,0,0,1),opacity .2s cubic-bezier(1,0,0,1);transform-origin:center}.search-link__icon-arrow[_ngcontent-%COMP%], .search-link[_ngcontent-%COMP%]:hover .search-link__icon-search[_ngcontent-%COMP%]{opacity:0;transform:scale(.3)}.search-link[_ngcontent-%COMP%]:hover .search-link__icon-arrow[_ngcontent-%COMP%]{opacity:1;transform:scale(1)}.search-link__result[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:5px}.search-link__name[_ngcontent-%COMP%]{font-weight:500}.search-link__text[_ngcontent-%COMP%]{overflow-wrap:anywhere}.loader[_ngcontent-%COMP%]{--isp-loader__size: 15px;--isp-loader__color: var(--isp-dc-fremen);display:block;margin:0 auto}"],changeDetection:0});let e=i;return e})();function Nc(e,i){if(e&1&&(c(0,"span"),S(1),l()),e&2){let r=d();s(),E(" ",r.getMessage("msg_error")," ")}}function jc(e,i){e&1&&m(0,"isp-help-center-documentation-search-results")}function Vc(e,i){e&1&&m(0,"isp-help-center-documentation-toc")}function Rc(e,i){if(e&1){let r=M();c(0,"div",1),m(1,"isp-svg-icon",2),c(2,"input",3,0),x("input",function(){h(r);let n=I(3),o=d();return v(o.inputValue.set(n.value))}),l(),c(4,"button",4),x("click",function(){h(r);let n=I(3),o=d();return n.value="",v(o.inputValue.set(n.value))}),l()(),c(5,"div",5),u(6,jc,1,0,"isp-help-center-documentation-search-results")(7,Vc,1,0,"isp-help-center-documentation-toc"),l()}if(e&2){let r=d();s(2),a("placeholder",r.getMessage("helpcenter_documentation_search")),s(2),A("hidden",r.inputValue().length===0),s(2),Re(r.inputValue().length>0?6:7)}}var pi=(()=>{let i=class i{constructor(){this.documentationService=re(ht),this.helpCenterService=re(Ue),this.getMessage=this.helpCenterService.getMessage,this.inputValue=this.documentationService.inputValue,this.error=this.documentationService.error}onScrolledToBottom(){this.documentationService.getNextPageIfAvailable()}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-help-center-documentation"]],standalone:!0,features:[nt([ht]),me],decls:2,vars:1,consts:[["searchInput",""],[1,"search"],["name","search",1,"search__icon"],["type","search",1,"search__input",3,"input","placeholder"],["type","button",1,"search__close","isp-close",3,"click"],[1,"content"]],template:function(n,o){n&1&&u(0,Nc,2,1,"span")(1,Rc,8,4),n&2&&Re(o.error()?0:1)},dependencies:[Y,Z,Qo,qo],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;padding:0 20px}.search[_ngcontent-%COMP%]{display:grid;grid-template-rows:auto;grid-template-columns:25px 1fr 25px;align-items:center;width:100%;height:35px;margin:20px 0}.search__input[_ngcontent-%COMP%]{grid-area:1/1/1/5;width:100%;height:100%;padding:0 10px 0 40px;font:inherit;color:inherit;background-color:var(--isp-dc-norilsk);border:none;border-radius:var(--isp-border-radius-main);appearance:none}.search__input[_ngcontent-%COMP%]::-webkit-search-cancel-button, .search__input[_ngcontent-%COMP%]::-webkit-search-decoration, .search__input[_ngcontent-%COMP%]::-webkit-search-results-button, .search__input[_ngcontent-%COMP%]::-webkit-search-results-decoration{display:none}.search__input[_ngcontent-%COMP%]:focus{outline:none}.search__input[_ngcontent-%COMP%]::placeholder{color:var(--isp-c-grey-weekdays);opacity:1}.search__input[_ngcontent-%COMP%]:not(:placeholder-shown){padding:0 40px}.search__icon[_ngcontent-%COMP%]{z-index:1;grid-area:1/1;justify-self:end}.search__close[_ngcontent-%COMP%]{z-index:1;grid-area:1/3;justify-self:start}.search__close.hidden[_ngcontent-%COMP%]{display:none}"],changeDetection:0});let e=i;return e})();var Wo=(e,i)=>i.$name,Ko=e=>({type:e}),Yo=e=>({event:"user_click_help_center_support_link",data:e});function Ac(e,i){e&1&&(c(0,"isp-banner",0),S(1),l()),e&2&&(s(),E(" ",i," "))}function Lc(e,i){if(e&1&&(c(0,"div",1)(1,"span",4),S(2),l(),c(3,"a",5),S(4),l()()),e&2){let r=d();s(2),K(r.getMessage("helpcenter_support_ticket_text")),s(),a("href",i,Ce),s(),E(" ",r.getMessage("helpcenter_support_ticket_link")," ")}}function Uc(e,i){if(e&1&&(c(0,"a",2)(1,"span",6),m(2,"isp-svg-icon",7),c(3,"span"),S(4),l()(),c(5,"span",8),S(6),l()()),e&2){let r=i.$implicit,t=d();a("href",r.$href,Ce)("ispMetric",F(7,Yo,F(5,Ko,r.$name))),s(2),a("name",r.$icon),s(2),K(t.getMessage("helpcenter_support_link_"+r.$name)),s(2),E(" ",r.$," ")}}function zc(e,i){if(e&1&&(c(0,"a",9)(1,"span",10)(2,"span"),S(3),l(),m(4,"isp-svg-icon",11),l(),c(5,"span",12),S(6),l()()),e&2){let r=i.$implicit,t=d();et("banner-link_"+r.$name),a("href",r.$href,Ce)("ispMetric",F(8,Yo,F(6,Ko,r.$name))),s(3),K(t.getMessage("helpcenter_support_link_"+r.$name)),s(3),E(" ",r.$," ")}}var Xo=(()=>{let i=class i{constructor(){this.helpCenterService=re(Ue),this.doc=this.helpCenterService.doc,this.getMessage=this.helpCenterService.getMessage,this.supportMetadata=ye(()=>this.doc().metadata.helpcenter.support),this.banner=ye(()=>this.supportMetadata().banner?.$),this.ticket=ye(()=>this.supportMetadata().ticket?.$),this.infoLinks=ye(()=>this.convertToArray(this.supportMetadata().info?.link)),this.bannerLinks=ye(()=>this.convertToArray(this.supportMetadata().links?.link))}convertToArray(t){return t?Array.isArray(t)?t:[t]:[]}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-help-center-support"]],standalone:!0,features:[me],decls:6,vars:2,consts:[["status","info",1,"banner"],[1,"create-ticket"],["target","_blank","rel","noopener noreferrer",1,"info-link",3,"href","ispMetric"],["target","_blank","rel","noopener noreferrer",1,"banner-link",3,"href","class","ispMetric"],[1,"create-ticker__description"],["rel","noopener noreferrer","target","_blank",1,"isp-button","isp-button_theme_primary","create-ticket__link",3,"href"],[1,"info-link__title"],[1,"info-link__icon",3,"name"],[1,"info-link__content"],["target","_blank","rel","noopener noreferrer",1,"banner-link",3,"href","ispMetric"],[1,"banner-link__title"],["name","arrow_right"],[1,"banner-link__description"]],template:function(n,o){if(n&1&&(u(0,Ac,2,1,"isp-banner",0)(1,Lc,5,3,"div",1),tt(2,Uc,7,9,"a",2,Wo),tt(4,zc,7,10,"a",3,Wo)),n&2){let p,_;Re((p=o.banner())?0:-1,p),s(),Re((_=o.ticket())?1:-1,_),s(),it(o.infoLinks()),s(2),it(o.bannerLinks())}},dependencies:[V,Un,Fn,Y,Z,be],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:20px;align-items:flex-start;padding:20px}.banner[_ngcontent-%COMP%]{padding-right:30px}.create-ticket[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px;align-items:center;padding:20px;border:1px solid var(--isp-dc-charlie-chaplin);border-radius:var(--isp-border-radius-main)}.create-ticker__description[_ngcontent-%COMP%]{padding:0 50px;text-align:center}.create-ticket__link[_ngcontent-%COMP%]{align-self:stretch;color:var(--isp-c-jon-snow);text-decoration:none}.info-link[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px;color:inherit;text-decoration:none}.info-link[_ngcontent-%COMP%]:visited{color:inherit}.info-link__title[_ngcontent-%COMP%]{display:flex;gap:10px}.info-link__content[_ngcontent-%COMP%]{font-size:18px;font-weight:500}.info-link[_ngcontent-%COMP%]:hover .info-link__content[_ngcontent-%COMP%]{color:var(--isp-dc-fremen)}.info-link__icon[_ngcontent-%COMP%]{transition:transform .3s ease-in-out}.info-link[_ngcontent-%COMP%]:hover .info-link__icon[_ngcontent-%COMP%]{transform:scaleX(-1)}.banner-link[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px;width:100%;padding:20px;color:inherit;text-decoration:none;background-repeat:no-repeat;background-position-x:calc(100% + 10px);background-size:contain;border-radius:var(--isp-border-radius-main);transition:background-position .3s ease-in-out}.banner-link[_ngcontent-%COMP%]:hover{background-position-x:100%}.banner-link[_ngcontent-%COMP%]:visited{color:inherit}.banner-link_community[_ngcontent-%COMP%]{background-color:var(--isp-dc-norilsk);background-image:url(/manimg/dragon/default/banner-image_community.png)}.banner-link_telegram[_ngcontent-%COMP%]{background-color:var(--isp-dc-made-in-heaven);background-image:url(/manimg/dragon/default/banner-image_telegram.png)}.banner-link_facebook[_ngcontent-%COMP%]{background-color:var(--isp-dc-made-in-heaven);background-image:url(/manimg/dragon/default/banner-image_facebook.png)}.banner-link_videos[_ngcontent-%COMP%]{background-color:var(--isp-dc-dirty-deeds-done-dirt-cheap);background-image:url(/manimg/dragon/default/banner-image_videos.png)}.banner-link_knowledge[_ngcontent-%COMP%]{background-color:var(--isp-dc-norilsk);background-image:url(/manimg/dragon/default/banner-image_knowledge.png)}.banner-link__title[_ngcontent-%COMP%]{display:flex;gap:10px;font-weight:500;transition:gap .3s ease-in-out}.banner-link[_ngcontent-%COMP%]:hover .banner-link__title[_ngcontent-%COMP%]{gap:15px}.banner-link__description[_ngcontent-%COMP%]{max-width:280px}"],changeDetection:0});let e=i;return e})();var Jo=(()=>{let i=class i{constructor(){this.events=pn({alias:"ispScrollEvents"}),this.elementRef=re(Ze),this.throttleTime=300,Ji(this.elementRef.nativeElement,"scroll",{passive:!0}).pipe(rn(this.throttleTime,Xi,{leading:!0,trailing:!0}),H()).subscribe(t=>{this.onScroll(t)})}onScroll(t){let n=t.target,{scrollTop:o,scrollHeight:p,clientHeight:_}=n;o<=0?this.events.emit({event:t,type:"arrived-top"}):Math.abs(p-o-_)<=1&&this.events.emit({event:t,type:"arrived-bottom"})}};i.\u0275fac=function(n){return new(n||i)},i.\u0275dir=an({type:i,selectors:[["","ispScrollEvents",""]],outputs:{events:"ispScrollEvents"},standalone:!0});let e=i;return e})();var Hc=()=>({}),Gc=e=>({event:"user_click_help_center_button",data:e}),Qc=()=>({"--isp-dropdown-z-index":"var(--isp-help-center-dropdown-z-index)"});function qc(e,i){if(e&1){let r=M();c(0,"h3",6),S(1),l(),c(2,"isp-tab-group",7)(3,"isp-tab",8),x("ispScrollEvents",function(n){h(r);let o=d();return v(o.onDocScroll(n))}),m(4,"isp-help-center-documentation"),l(),c(5,"isp-tab",9),m(6,"isp-help-center-support"),l()()}if(e&2){let r=d();s(),E(" ",r.getMessage("helpcenter_title")," "),s(2),a("label",r.getMessage("helpcenter_documentation")),s(2),a("label",r.getMessage("helpcenter_support"))}}function Wc(e,i){e&1&&m(0,"isp-loader",5)}var ci=(()=>{let i=class i{constructor(){this.helpCenterService=re(Ue),this.documentationComponent=dn(pi),this.doc=this.helpCenterService.doc,this.isOpen=Oe(!1),this.wasClosed=Oe(!1),this.getMessage=this.helpCenterService.getMessage}onDocScroll(t){t.type==="arrived-bottom"&&this.documentationComponent().onScrolledToBottom()}onDropdownUpdate(t){t==="open-start"?this.isOpen.set(!0):t==="close-start"&&(this.isOpen.set(!1),this.wasClosed.set(!0))}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-help-center"]],viewQuery:function(n,o){n&1&&vn(o.documentationComponent,pi,5),n&2&&jt()},standalone:!0,features:[nt([Ue]),me],decls:7,vars:13,consts:[["anchor",""],["dropdown",""],["type","button",1,"button",3,"ispTooltip","ispMetric"],["name","m-help"],["trigger","click","alignment","end","popupClasses","isp-help-center-popup","resizeSelector","#layout-main-page",3,"update","anchor","anchorOffset","cssVars"],["type","spinner","loading","",1,"loader"],[1,"header"],[1,"tab-group"],[3,"ispScrollEvents","label"],[3,"label"]],template:function(n,o){if(n&1){let p=M();c(0,"button",2,0),m(2,"isp-svg-icon",3),l(),c(3,"isp-dropdown",4,1),x("update",function(f){return h(p),v(o.onDropdownUpdate(f))}),u(5,qc,7,3)(6,Wc,1,0,"isp-loader",5),l()}if(n&2){let p,_=I(1);A("active",o.isOpen()),a("ispTooltip",o.getMessage("hint_helpcenter"))("ispMetric",F(10,Gc,T(9,Hc))),ne("data-isp-guide-target",o.wasClosed()?"helpcenter_form":"helpcenter"),s(3),a("anchor",_)("anchorOffset",5)("cssVars",T(12,Qc)),s(2),Re((p=o.doc())?5:6,p)}},dependencies:[V,Y,Z,xe,pe,Qt,Go,Dt,pi,Xo,Jo,be,_e,ue],styles:[".button[_ngcontent-%COMP%]{--isp-icons-main-color: var(--isp-c-russian-north);display:flex;align-items:center;justify-content:center;width:25px;height:25px;padding:0;background:none;border:none;border-radius:5px;cursor:pointer;transition:background-color .1s ease-in-out}.button[_ngcontent-%COMP%]:hover, .button.active[_ngcontent-%COMP%]{background-color:var(--isp-c-creepy-cloud)}.header[_ngcontent-%COMP%]{padding:20px 20px 0;margin:0 0 10px;font-size:25px;font-weight:var(--isp-font-weight-bold)}.tab-group[_ngcontent-%COMP%] .tabs-header{margin:0 20px}.loader[_ngcontent-%COMP%]{width:100%;height:100px}"],changeDetection:0});let e=i;return e})();var Yc=e=>({"top-line__logo-container_collapsed":e}),Xc=e=>({"topbar-progressbar-container_collapsed":e});function Jc(e,i){e&1&&m(0,"isp-global-search")}function Zc(e,i){if(e&1&&m(0,"isp-update-to-6-button",7),e&2){let r=i.ngIf;a("button",r)}}function el(e,i){e&1&&m(0,"isp-upload-center")}var Zo=(()=>{let i=class i{constructor(t,n){this.appService=t,this.sidebarService=n,this.menuExpanded$=this.sidebarService.isExpanded$,this.hasGlobalSearch$=this.appService.desktop$.pipe(O(o=>!!o.$globalindex)),this.isp6update$=this.appService.desktop$.pipe(Q(o=>!o.disable_update_isp5),O(o=>o.pricelist_change?.$func),Q(Boolean),O(o=>({func:o,msg:this.appService.getDesktopMessage("pricelist_change")}))),this.userHasFileManager$=this.appService.desktop$.pipe(Q(o=>!!o?.user),O(o=>o.user.$level!=="29"&&o.user.$level!=="24"))}};i.\u0275fac=function(n){return new(n||i)(C(oe),C(Qe))},i.\u0275cmp=g({type:i,selectors:[["isp-top-bar"]],decls:19,vars:19,consts:[[1,"top-line"],[1,"top-line__logo-container",3,"ngClass"],[1,"top-line__toolbar"],[1,"top-line__toolbar__group"],[4,"ngIf"],[3,"button",4,"ngIf"],[1,"topbar-progressbar-container",3,"ngClass"],[3,"button"]],template:function(n,o){n&1&&(c(0,"section",0)(1,"div",1),y(2,"async"),m(3,"isp-brand-logo"),l(),c(4,"section",2),m(5,"isp-tab-bar"),c(6,"div",3),u(7,Jc,1,0,"isp-global-search",4),y(8,"async"),m(9,"isp-help-center")(10,"isp-color-scheme-button"),u(11,Zc,1,1,"isp-update-to-6-button",5),y(12,"async"),u(13,el,1,0,"isp-upload-center",4),y(14,"async"),m(15,"isp-notification-center")(16,"isp-user-menu"),l(),m(17,"isp-global-progress-bar",6),y(18,"async"),l()()),n&2&&(s(),a("ngClass",F(15,Yc,!w(2,5,o.menuExpanded$))),s(6),a("ngIf",w(8,7,o.hasGlobalSearch$)),s(4),a("ngIf",w(12,9,o.isp6update$)),s(2),a("ngIf",w(14,11,o.userHasFileManager$)),s(4),a("ngClass",F(17,Xc,!w(18,13,o.menuExpanded$))))},dependencies:[ke,B,Fo,jo,Vo,Ro,Ao,Lo,Uo,zo,Ho,ci,G],styles:[".top-line[_ngcontent-%COMP%]{--isp-top-bar-transition: opacity .3s ease;--isp-top-bar-hover-opacity: .7;--isp-top-bar-icon-background: var(--isp-c-darth-vader);--isp-top-bar-icon-main-color: currentColor;--isp-icons-danger-color: var(--isp-c-c-3po);position:relative;display:flex;align-items:center;width:100%;height:var(--isp-topbar-top-line-height, 50px);padding-right:20px;color:var(--isp-c-jon-snow);background:var(--isp-c-darth-vader)}.top-line__logo-container[_ngcontent-%COMP%]{flex-shrink:0;min-width:var(--isp-full-sidebar-width);padding-left:20px;transition:min-width .25s ease-out}.top-line__logo-container_collapsed[_ngcontent-%COMP%]{min-width:0}.top-line__toolbar[_ngcontent-%COMP%]{display:flex;flex-grow:1;column-gap:30px;justify-content:space-between;max-height:var(--isp-topbar-top-line-height, 50px);margin-left:-10px}.top-line__toolbar__group[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;column-gap:10px;align-items:center}.topbar-progressbar-container[_ngcontent-%COMP%]{position:absolute;right:0;bottom:-7px;z-index:var(--isp-progress-bar-z-index);width:calc(100% - var(--isp-sidebar-width))}"],changeDetection:0});let e=i;return e})();var we=function(e){return e[e.All=0]="All",e[e.Favorite=1]="Favorite",e[e.Popular=2]="Popular",e}(we||{});var di=(()=>{let i=class i{constructor(t,n,o,p){this.appService=t,this.localStorage=n,this.tabService=o,this.window=p,this.searchQuerySubject=new ie(""),this.filter$=new ie(we.All),this.menuMessages$=this.appService.desktop$.pipe(O(_=>de.getMessageSet(_)),O(_=>Object.entries(_).reduce((f,[b,$])=>(b.startsWith("menu_")&&(f[b]=$),f),{}))),this.favoriteMenuLabel={hintKey:"mbarfavorite",type:"favorite",icon:"star_dark"},this.popularMenuLabel={hintKey:"mbarpopular",type:"popular",icon:"mbar-popular"},this.fullMenuLabel={hintKey:"mbarall",type:"full",icon:"mbar-all"},this.doc$=this.appService.desktop$,this.searchQuery$=this.searchQuerySubject.asObservable(),this.filteredMenuList$=this.appService.desktop$.pipe(Q(_=>!!_?.mainmenu),O(_=>_.mainmenu.node.map(f=>q(R({},f),{$type:f.$name==="dashboard"?"noname":f.$type}))),this.applyFilters(),this.setUiProperties()),this.menuLabelList=[this.fullMenuLabel,this.favoriteMenuLabel,this.popularMenuLabel],this.initFilter()}search(t,n){let o=ti(this.searchQuerySubject.value);return t.reduce((p,_)=>{let f=mo(new RegExp(o,"gi"),_.node,$=>n[`menu_${$.$name}`]);if(!f.length)return p;let b=q(R({},_),{node:[...f]});return[...p,b]},[])}applyFilters(){return Ci(Ve(t=>Xe([Ye(t),this.filter$,this.searchQuerySubject,this.menuMessages$])),O(([t,n,o,p])=>{let _=n===this.filter$.value?n:this.filter$.value;if(o)return this.search(t,p);switch(_){case we.All:return t;default:return this.getFilteredMenu(t)}}))}setUiProperties(){return Ci(Ve(t=>Xe([Ye(t),this.menuMessages$,this.tabService.activeTab$])),O(([t,n,o])=>{let p=this.getActiveSubnodeFunc(o,t);return t.map(_=>q(R({},_),{label:n[`menu_${_.$name}`],node:_.node.map(f=>q(R({},f),{isAdding:!1,isRemoving:!1,show:!0,isActive:f.$action&&f.$action===p,label:n[`menu_${f.$name}`],groupId:_.$name}))}))}))}getActiveSubnodeFunc(t,n){if(!t||!n?.length)return;let o=this.tabService.activeGroup.map(f=>f.func);o.includes("userlogs")&&!o.includes("userlogs.users")&&o.push("userlogs.users");let p=n.map(f=>f.node.map(b=>b.$action)).flat(),_=t.func;return p.includes(_)?_:o.reverse().find(f=>p.includes(f))}getFilteredMenu(t){return t.reduce((n,o)=>{let p=o.node.filter(_=>{switch(this.filter$.value){case we.Favorite:return _.$favorite==="yes";case we.Popular:return _.$popular==="yes";default:return!0}});return p.length?[...n,q(R({},o),{node:p})]:n},[])}initFilter(){this.filter$.next(this.getCurrentMenuFilter())}toggleCategoryVisibility(t,n){this.localStorage.patch($t.MainMenuState,{[t]:n})}hasSearchQuery(){return!!this.searchQuerySubject.value}getCurrentMenuFilter(){return this.localStorage.getParsed($t.MainMenuFilter)?.filterBy??we.All}message(t,n="msg"){return this.appService.desktop$.pipe(O(o=>de.getMessage(`${n}_${t}`,o)))}isCategoryOpened(t){return this.hasSearchQuery()?!0:this.localStorage.getParsed($t.MainMenuState)?.[t]??!1}onOpenCategory(t){this.hasSearchQuery()||this.toggleCategoryVisibility(t,!0)}onCloseCategory(t){this.hasSearchQuery()||this.toggleCategoryVisibility(t,!1)}filterMenuBy(t){this.filter$.next(t),this.localStorage.setParsed($t.MainMenuFilter,{filterBy:t})}updateSearchQuery(t){this.searchQuerySubject.next(t)}};i.\u0275fac=function(n){return new(n||i)(X(oe),X(Pn),X(Me),X(kn))},i.\u0275prov=ge({token:i,factory:i.\u0275fac});let e=i;return e})();var nl=()=>({ctrl:!0,shift:!0,code:"KeyM"}),er=(()=>{let i=class i{constructor(t,n,o){this.sidebarService=t,this.metric=n,this.destroyRef=o,this.openChange=new se,this.search=new se,this.inputSubject=new ie(""),this.openChangeSubject=new ie(!1),this.wasOpenedFromCollapsedSidebar=!1}ngOnInit(){let t;this.sidebarService.isExpanded$.subscribe(o=>t=o),this.openChangeSubject.pipe(H(this.destroyRef)).subscribe(o=>{o&&!t&&(this.wasOpenedFromCollapsedSidebar=!0,this.sidebarService.toggle(!0)),!o&&this.wasOpenedFromCollapsedSidebar&&(this.wasOpenedFromCollapsedSidebar=!1,this.sidebarService.toggle(!1))}),this.inputSubject.pipe(H(this.destroyRef)).subscribe(o=>{this.search.emit(o)}),this.inputSubject.pipe(Q(o=>o!==""),Ne(3e3),H(this.destroyRef)).subscribe(()=>{this.metric.append({event:"user_start_search_in_menu",data:{}})})}onInput(t){this.inputSubject.next(t)}onOpenChange(t){this.openChangeSubject.next(t),this.openChange.emit(t)}};i.\u0275fac=function(n){return new(n||i)(C(Qe),C(pt),C(Se))},i.\u0275cmp=g({type:i,selectors:[["isp-menu-searchbar"]],inputs:{tooltipText:"tooltipText"},outputs:{openChange:"openChange",search:"search"},decls:1,vars:5,consts:[["placeholder","Ctrl + Shift + M",3,"customInput","openChange","collapsible","dismissible","focusShortcut","tooltip"]],template:function(n,o){n&1&&(c(0,"isp-searchbar",0),x("customInput",function(_){return o.onInput(_)})("openChange",function(_){return o.onOpenChange(_)}),l()),n&2&&a("collapsible",!0)("dismissible",!0)("focusShortcut",T(4,nl))("tooltip",o.tooltipText)},dependencies:[Zt],styles:["[_nghost-%COMP%]{--isp-searchbar-bc_collapsed-hover: var(--isp-dc-charlie-chaplin)}"],changeDetection:0});let e=i;return e})();var rl=e=>({header__collapsed:e}),al=e=>({header__burger_hidden:e}),sl=e=>({"tab-bar_hidden":e});function pl(e,i){if(e&1){let r=M();L(0),c(1,"span",8)(2,"button",9),x("click",function(){let n=h(r).$implicit,o=d();return v(o.labelClick.emit(n.type))}),m(3,"isp-svg-icon",10),l()(),U()}if(e&2){let r=i.$implicit,t=d();s(),a("ispTooltip",t.messages["hint_"+r.hintKey]),s(),A("tab-bar__tab-button_active",t.activeLabel===r.type),a("ispMetric","user_click_on_show_"+r.type+"_from_menu"),ne("aria-label",t.messages["hint_"+r.hintKey])("aria-pressed",t.activeLabel===r.type),s(),a("name",r.icon)}}var mi=(()=>{let i=class i{constructor(t){this.sidebarService=t,this.keepSearch=!0,this.labelClick=new se,this.search=new se,this.isSearchBarOpened=!1}onSearchBarStateChange(t){this.isSearchBarOpened=t}toggleMenu(){this.sidebarService.toggle()}};i.\u0275fac=function(n){return new(n||i)(C(Qe))},i.\u0275cmp=g({type:i,selectors:[["isp-side-bar-toolbar"]],hostVars:4,hostBindings:function(n,o){n&2&&A("isp-side-bar-toolbar_expanded",o.menuExpanded)("isp-side-bar-toolbar_keep-search",o.keepSearch)},inputs:{messages:"messages",menuExpanded:"menuExpanded",keepSearch:"keepSearch",labels:"labels",activeLabel:"activeLabel"},outputs:{labelClick:"labelClick",search:"search"},decls:8,vars:13,consts:[[1,"header",3,"ngClass"],[1,"header__burger",3,"ispTooltip","ngClass"],["type","button",1,"header__burger-button",3,"click"],["name","m-hamburger"],[1,"tab-bar",3,"ngClass"],[4,"ngFor","ngForOf"],[1,"fake-search-bar"],[1,"search-bar",3,"openChange","search","tooltipText"],[1,"tab-bar__tab",3,"ispTooltip"],["type","button",1,"tab-bar__tab-button",3,"click","ispMetric"],[3,"name"]],template:function(n,o){n&1&&(c(0,"header",0)(1,"span",1)(2,"button",2),x("click",function(){return o.toggleMenu()}),m(3,"isp-svg-icon",3),l()(),c(4,"div",4),u(5,pl,4,7,"ng-container",5),l(),m(6,"div",6),c(7,"isp-menu-searchbar",7),x("openChange",function(_){return o.onSearchBarStateChange(_)})("search",function(_){return o.search.emit(_)}),l()()),n&2&&(a("ngClass",F(7,rl,!o.menuExpanded)),s(),a("ispTooltip",o.menuExpanded?o.messages.menu_collapse:o.messages.menu_expand)("ngClass",F(9,al,o.isSearchBarOpened)),s(),ne("aria-label",o.menuExpanded?o.messages.menu_collapse:o.messages.menu_expand),s(2),a("ngClass",F(11,sl,o.isSearchBarOpened)),s(),a("ngForOf",o.labels),s(2),a("tooltipText",o.messages.menu_find))},dependencies:[ke,D,Z,be,ue,er],styles:["[_nghost-%COMP%]{display:flex;width:100%;padding:27px 20px 10px;transition:padding-bottom .25s ease-out}.isp-side-bar-toolbar_keep-search[_nghost-%COMP%]:not(.isp-side-bar-toolbar_expanded){padding-bottom:56px;transition:padding-bottom .25s ease-out}.header[_ngcontent-%COMP%]{position:relative;display:flex;gap:10px;align-items:center;justify-content:space-between;width:235px}.header__burger[_ngcontent-%COMP%]{flex:0;opacity:1;transition:opacity .15s ease-out}.header__burger_hidden[_ngcontent-%COMP%]{opacity:0}.header__burger-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:25px;height:25px;padding:0;margin:0;background:none;border:none;border-radius:var(--isp-border-radius-main);cursor:pointer}.header__burger-button[_ngcontent-%COMP%]:hover{background-color:var(--isp-dc-charlie-chaplin)}.header__burger-button[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--isp-text-color-main)}.tab-bar[_ngcontent-%COMP%]{display:flex;flex:1;gap:5px;justify-content:center;width:165px;opacity:1;transition:opacity .15s ease-out}.tab-bar_hidden[_ngcontent-%COMP%]{opacity:0}.header__collapsed[_ngcontent-%COMP%] .tab-bar[_ngcontent-%COMP%]{opacity:0;visibility:hidden}.tab-bar__tab-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:25px;height:25px;padding:0;margin:0;background:none;border:none;border-radius:var(--isp-border-radius-main);cursor:pointer}.tab-bar__tab-button[_ngcontent-%COMP%]:not(.tab-bar__tab-button_active):hover{background-color:var(--isp-dc-charlie-chaplin)}.tab-bar__tab-button[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--isp-text-color-main)}.tab-bar__tab-button_active[_ngcontent-%COMP%]{--isp-icons-main-color: var(--isp-c-jon-snow);background-color:var(--isp-c-blue-velvet)}.search-bar[_ngcontent-%COMP%]{position:absolute;top:0;right:0;flex:0;opacity:1;transition:opacity .25s ease-out,right .25s ease-out,top .25s ease-out}.isp-side-bar-toolbar_keep-search[_nghost-%COMP%]:not(.isp-side-bar-toolbar_expanded) .search-bar[_ngcontent-%COMP%]{top:35px;right:210px;transition:right .25s ease-out,top .25s ease-out}.fake-search-bar[_ngcontent-%COMP%]{width:25px;height:25px}"],changeDetection:0});let e=i;return e})();var ir=(e,i,r)=>({"menu-item_active":e,"menu-item_child_collapse":i,"menu-item_child_dropdown":r}),nr=e=>({func:e}),or=e=>({event:"user_click_main_menu_item",data:e}),ll=e=>({"menu-item__label_link":e});function dl(e,i){e&1&&z(0)}function ml(e,i){if(e&1){let r=M();c(0,"a",4),x("click",function(n){h(r);let o=d(2);return v(o.handleAction(n,"click"))})("pointerup",function(n){h(r);let o=d(2);return v(o.handleAction(n,"pointerup"))}),u(1,dl,1,0,"ng-container",5),l()}if(e&2){d();let r=I(5),t=d();a("ngClass",Mi(4,ir,t.node.isActive,t.collapseChild,t.dropdownChild))("ispMetric",F(10,or,F(8,nr,t.node.$function)))("href",t.node.$function,Ce),s(),a("ngTemplateOutlet",r)}}function ul(e,i){e&1&&z(0)}function _l(e,i){if(e&1){let r=M();c(0,"button",6),x("click",function(n){h(r);let o=d(2);return v(o.handleAction(n,"click"))})("pointerup",function(n){h(r);let o=d(2);return v(o.handleAction(n,"pointerup"))}),u(1,ul,1,0,"ng-container",5),l()}if(e&2){d();let r=I(5),t=d();a("ngClass",Mi(3,ir,t.node.isActive,t.collapseChild,t.dropdownChild))("ispMetric",F(9,or,F(7,nr,t.node.$action))),s(),a("ngTemplateOutlet",r)}}function fl(e,i){if(e&1&&m(0,"isp-svg-icon",14),e&2){let r=d(3);a("name",r.node.$icon)}}function gl(e,i){if(e&1&&m(0,"isp-custom-icon",15),e&2){let r=d(3);a("href",r.node.$customicon)}}function hl(e,i){if(e&1&&(c(0,"div",16),S(1),l()),e&2){let r=d(3);s(),E(" ",r.newLabel," ")}}function vl(e,i){if(e&1){let r=M();c(0,"button",17),x("click",function(n){h(r);let o=d(3);return v(o.handleAction(n,"click",!0))})("pointerup",function(n){h(r);let o=d(3);return v(o.handleAction(n,"pointerup",!0))}),m(1,"isp-svg-icon",18),l()}if(e&2){let r=d(3);a("ispTooltip",r.hintMessage),ne("aria-label",r.hintMessage)}}function xl(e,i){if(e&1&&(c(0,"span",7),u(1,fl,1,1,"isp-svg-icon",8)(2,gl,1,1,"isp-custom-icon",9),l(),c(3,"div",10)(4,"span",11),S(5),l()(),u(6,hl,2,1,"div",12)(7,vl,2,2,"button",13)),e&2){let r=d(2);A("menu-item__icon-wrapper_highlight",r.highlight),ne("data-isp-guide-target",r.node.$name==="navboard"?"navboard":null),s(),a("ngIf",!r.node.$customicon&&!r.noIcon),s(),a("ngIf",r.node.$customicon&&!r.noIcon),s(2),a("ngClass",F(9,ll,r.node.$function)),s(),E(" ",r.node.label," "),s(),a("ngIf",r.newLabel),s(),a("ngIf",!r.node.$function&&r.expanded)}}function bl(e,i){if(e&1&&(L(0),u(1,ml,2,12,"a",3)(2,_l,2,11,"ng-template",null,0,W)(4,xl,8,11,"ng-template",null,1,W),U()),e&2){let r=I(3),t=d();s(),a("ngIf",t.node.$function)("ngIfElse",r)}}var mt=(()=>{let i=class i{constructor(){this.collapseChild=!1,this.dropdownChild=!1,this.highlight=!1,this.noIcon=!1,this.clickItem=new se}handleAction(t,n,o=!1){if(n==="pointerup"&&!yn(t))return;o&&t.stopPropagation();let p=o||t.metaKey||t.ctrlKey;this.clickItem.emit({node:this.node,isNewTab:p})}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-side-bar-menu-item"]],hostVars:2,hostBindings:function(n,o){n&2&&A("isp-side-bar-menu-item_expanded",o.expanded)},inputs:{node:"node",hintMessage:"hintMessage",collapseChild:"collapseChild",dropdownChild:"dropdownChild",highlight:"highlight",newLabel:"newLabel",expanded:"expanded",noIcon:"noIcon"},outputs:{clickItem:"clickItem"},decls:1,vars:1,consts:[["button",""],["menuItemContent",""],[4,"ngIf"],["target","_blank","rel","noopener noreferrer","class","menu-item",3,"ngClass","ispMetric","href","click","pointerup",4,"ngIf","ngIfElse"],["target","_blank","rel","noopener noreferrer",1,"menu-item",3,"click","pointerup","ngClass","ispMetric","href"],[4,"ngTemplateOutlet"],["type","button",1,"menu-item",3,"click","pointerup","ngClass","ispMetric"],[1,"menu-item__icon-wrapper"],["class","menu-item__icon",3,"name",4,"ngIf"],["class","collapse-button__icon",3,"href",4,"ngIf"],["ispTooltipEllipsis","",1,"menu-item__label-wrapper"],[1,"menu-item__label",3,"ngClass"],["class","isp-menu-new-label menu-item__new-label",4,"ngIf"],["type","button","class","menu-item__new-tab-button",3,"ispTooltip","click","pointerup",4,"ngIf"],[1,"menu-item__icon",3,"name"],[1,"collapse-button__icon",3,"href"],[1,"isp-menu-new-label","menu-item__new-label"],["type","button",1,"menu-item__new-tab-button",3,"click","pointerup","ispTooltip"],["name","new_tab"]],template:function(n,o){n&1&&u(0,bl,6,2,"ng-container",2),n&2&&a("ngIf",o.node)},dependencies:[ct,ke,B,he,Z,be,ue],styles:['[_nghost-%COMP%]{position:relative;display:flex;width:100%}.menu-item[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;padding:var(--isp-sidebar-menu-item-padding, 0);margin:0;overflow:hidden;font-family:inherit;font-size:14px;color:var(--isp-text-color-main);text-overflow:ellipsis;white-space:nowrap;background:none;border:none;border-radius:var(--isp-sidebar-menu-item-br, var(--isp-border-radius-main));cursor:pointer}.menu-item[_ngcontent-%COMP%]:hover{background-color:var(--isp-dc-reincarnation)}.menu-item[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--isp-text-color-main)}.menu-item_active[_ngcontent-%COMP%]{font-weight:var(--isp-font-weight-bold);color:var(--isp-sidebar-menu-item-active-color, inherit)}.menu-item_active[_ngcontent-%COMP%]:not(.menu-item_child_collapse):not(.menu-item_child_dropdown) .menu-item__icon-wrapper[_ngcontent-%COMP%]{--isp-icons-main-color: var(--isp-c-jon-snow);background-color:var(--isp-c-blue-velvet)}.menu-item_child_dropdown[_ngcontent-%COMP%]{gap:5px;height:30px;padding:0 10px 0 15px;border-radius:0}.menu-item_child_dropdown[_ngcontent-%COMP%]:hover, .menu-item_child_dropdown[_ngcontent-%COMP%]:focus-visible{background-color:var(--isp-dc-cult)}.menu-item_active[_ngcontent-%COMP%]:before{position:absolute;top:0;left:0;content:"";width:4px;height:100%;background-color:var(--isp-c-blue-velvet);opacity:var(--isp-sidebar-menu-item-active-marker-opacity, 1)}.menu-item_child_dropdown[_ngcontent-%COMP%] .menu-item__icon-wrapper[_ngcontent-%COMP%]{display:none}.menu-item_child_collapse[_ngcontent-%COMP%] .menu-item__icon-wrapper[_ngcontent-%COMP%]{opacity:0}.menu-item__icon-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;flex-shrink:0;align-items:center;justify-content:center;width:25px;height:25px;margin-right:10px;border-radius:var(--isp-border-radius-main)}.menu-item__icon-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{z-index:1}.menu-item__icon-wrapper[_ngcontent-%COMP%]:before{position:absolute;top:0;left:0;content:"";width:100%;height:100%;background:transparent;border-radius:calc(var(--isp-border-radius-main) - 1px);transition:background-color .5s ease-out .4s}.menu-item__icon-wrapper_highlight[_ngcontent-%COMP%]:before{background:var(--isp-dc-heliodor)}.menu-item__icon[_ngcontent-%COMP%]{max-width:15px;max-height:15px;overflow:hidden}.menu-item_child_collapse[_ngcontent-%COMP%] .menu-item__icon-wrapper[_ngcontent-%COMP%] .menu-item__icon[_ngcontent-%COMP%]{display:none}.menu-item_active.menu-item_child_collapse[_ngcontent-%COMP%] .menu-item__icon-wrapper[_ngcontent-%COMP%]:before{content:"";width:5px;height:5px;background-color:var(--isp-dc-fremen);border-radius:50%}.menu-item__label-wrapper[_ngcontent-%COMP%]{opacity:0;transition:opacity .25s}.isp-side-bar-menu-item_expanded[_nghost-%COMP%] .menu-item__label-wrapper[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:1;transition:opacity .25s}.menu-item__label[_ngcontent-%COMP%]{opacity:1;transition:opacity .25s ease-out}.menu-item__label_link[_ngcontent-%COMP%]{color:var(--isp-dc-fremen);text-decoration:underline}.menu-item__new-label[_ngcontent-%COMP%]{position:relative;top:1px;margin-left:5px;opacity:0;transition:opacity .2s}.isp-side-bar-menu-item_expanded[_nghost-%COMP%] .menu-item__new-label[_ngcontent-%COMP%]{opacity:1;transition:opacity .2s}.menu-item__new-tab-button[_ngcontent-%COMP%]{--isp-icons-main-color: var(--isp-dc-highway-star);display:none;flex-shrink:0;align-items:center;justify-content:center;width:25px;height:25px;padding:0;margin:0 0 0 auto;background:none;border:none;border-radius:var(--isp-border-radius-main);cursor:pointer}.menu-item__new-tab-button[_ngcontent-%COMP%]:hover{background:var(--isp-dc-norilsk)}.menu-item[_ngcontent-%COMP%]:hover .menu-item__new-tab-button[_ngcontent-%COMP%]{display:flex}.menu-item.menu-item_child_dropdown[_ngcontent-%COMP%] .menu-item__new-tab-button[_ngcontent-%COMP%]{display:flex;visibility:hidden}.menu-item.menu-item_child_dropdown[_ngcontent-%COMP%]:hover .menu-item__new-tab-button[_ngcontent-%COMP%]{visibility:visible}'],changeDetection:0});let e=i;return e})();var Cl=[[["isp-session-tip"]]],yl=["isp-session-tip"],wl=e=>({"group-menu-list_collapsed":e});function Sl(e,i){e&1&&(L(0),De(1),U())}function kl(e,i){if(e&1){let r=M();c(0,"li",3)(1,"div",null,0)(3,"isp-side-bar-menu-item",4),x("clickItem",function(n){h(r);let o=d();return v(o.clickItem.emit(n))}),l()(),c(4,"isp-dropdown",5)(5,"isp-side-bar-menu-item",6),x("clickItem",function(n){h(r);let o=d();return v(o.clickItem.emit(n))}),l()(),u(6,Sl,2,0,"ng-container",7),l()}if(e&2){let r=i.$implicit,t=i.first,n=I(2),o=d();A("group-menu-list__item_marked",r.isActive&&o.menuExpanded),s(3),a("node",r)("hintMessage",o.hintMessage)("expanded",o.menuExpanded),s(),a("anchor",n)("disabled",o.menuExpanded)("cssVars",o.dropdownCSS)("anchorOffset",10),s(),a("node",r)("hintMessage",o.hintMessage)("dropdownChild",!0)("expanded",!0),s(),a("ngIf",t)}}var rr=(()=>{let i=class i{constructor(){this.clickItem=new se,this.dropdownCSS={"--isp-dropdown-z-index":"var(--isp-menu-dropdown-z-index)"}}trackBySubnode(t,n){return n.$name}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-side-bar-group-menu-list"]],inputs:{menu:"menu",hintMessage:"hintMessage",menuExpanded:"menuExpanded"},outputs:{clickItem:"clickItem"},ngContentSelectors:yl,decls:2,vars:5,consts:[["item",""],[1,"group-menu-list",3,"ngClass"],["class","group-menu-list__item",3,"group-menu-list__item_marked",4,"ngFor","ngForOf","ngForTrackBy"],[1,"group-menu-list__item"],[3,"clickItem","node","hintMessage","expanded"],["trigger","hover","direction","right","alignment","start","popupClasses","isp-side-bar-popup",3,"anchor","disabled","cssVars","anchorOffset"],[3,"clickItem","node","hintMessage","dropdownChild","expanded"],[4,"ngIf"]],template:function(n,o){n&1&&(Fe(Cl),c(0,"ul",1),u(1,kl,7,14,"li",2),l()),n&2&&(a("ngClass",F(3,wl,!o.menuExpanded)),s(),a("ngForOf",o.menu.node)("ngForTrackBy",o.trackBySubnode))},dependencies:[ke,D,B,pe,mt],styles:['.group-menu-list[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;gap:5px;padding:0;margin:0;list-style:none;transition:row-gap .25s ease-out}.group-menu-list_collapsed[_ngcontent-%COMP%]{row-gap:10px}.group-menu-list__item[_ngcontent-%COMP%]{position:relative;padding-right:15px;padding-left:20px}.group-menu-list__item[_ngcontent-%COMP%]:before{position:absolute;top:0;left:0;content:"";width:4px;height:100%;background-color:transparent;transition:background-color .25s ease-out}.group-menu-list_collapsed[_ngcontent-%COMP%] .group-menu-list__item[_ngcontent-%COMP%]{padding-right:20px}.group-menu-list__item.group-menu-list__item_marked[_ngcontent-%COMP%]:before{background-color:var(--isp-c-blue-velvet)}'],changeDetection:0});let e=i;return e})();var Ol=[[["isp-session-tip"]]],Tl=["isp-session-tip"],Pl=(e,i)=>({"collapse-menu-list_open":e,"collapse-menu-list_collapsed":i}),Il=e=>({"collapse-button_active":e});function $l(e,i){if(e&1&&m(0,"isp-svg-icon",12),e&2){let r=d();a("name",r.menu.$icon)}}function El(e,i){if(e&1&&m(0,"isp-custom-icon",13),e&2){let r=d();a("href",r.menu.$customicon)}}function Fl(e,i){e&1&&(L(0),De(1),U())}function Dl(e,i){if(e&1){let r=M();c(0,"li",14)(1,"isp-side-bar-menu-item",15),x("clickItem",function(n){h(r);let o=d();return v(o.clickItem.emit(n))}),l(),u(2,Fl,2,0,"ng-container",16),l()}if(e&2){let r=i.$implicit,t=i.first,n=d();s(),a("node",r)("collapseChild",!0)("hintMessage",n.hintMessage)("expanded",n.menuExpanded)("noIcon",!0),s(),a("ngIf",t)}}function Bl(e,i){if(e&1){let r=M();c(0,"li",17)(1,"isp-side-bar-menu-item",18),x("clickItem",function(n){h(r);let o=d();return v(o.clickItem.emit(n))}),l()()}if(e&2){let r=i.$implicit,t=d();s(),a("node",r)("hintMessage",t.hintMessage)("dropdownChild",!0)("expanded",!0)("noIcon",!0)}}var Nl=at("openClose",[Oi("close",ve({visibility:"hidden",paddingTop:"0px",height:0})),Oi("open",ve({visibility:"visible",paddingTop:"5px",height:"*"})),Ge("close => open, open => close",Ae("250ms ease-out"))]),ar=(()=>{let i=class i{constructor(){this.open=!1,this.clickItem=new se,this.openStateChange=new se,this.dropdownCSS={"--isp-dropdown-z-index":"var(--isp-menu-dropdown-z-index)"}}get canShowMarker(){return this.active&&this.menuExpanded}get active(){return this.menu?.node.some(t=>t.isActive)}trackBySubnode(t,n){return n.$name}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-side-bar-collapse-menu-list"]],hostVars:2,hostBindings:function(n,o){n&2&&A("active",o.canShowMarker)},inputs:{menu:"menu",hintMessage:"hintMessage",open:"open",menuExpanded:"menuExpanded"},outputs:{clickItem:"clickItem",openStateChange:"openStateChange"},ngContentSelectors:Tl,decls:13,vars:23,consts:[["item",""],[1,"collapse-menu-list",3,"ngClass"],["type","button",1,"collapse-button",3,"click","ngClass"],["class","collapse-button__icon",3,"name",4,"ngIf"],["class","collapse-button__icon",3,"href",4,"ngIf"],["ispTooltipEllipsis","",1,"collapse-button__label",3,"ispTooltip"],[1,"collapse-button__indicator-icon",3,"name"],[1,"list"],["class","list__item",4,"ngFor","ngForOf","ngForTrackBy"],["trigger","hover","direction","right","alignment","start","popupClasses","isp-side-bar-popup",3,"anchor","disabled","cssVars","anchorOffset","correctAlignment"],[1,"dropdown-list","ispui-scrollbar_gray"],["class","dropdown-list__item",4,"ngFor","ngForOf","ngForTrackBy"],[1,"collapse-button__icon",3,"name"],[1,"collapse-button__icon",3,"href"],[1,"list__item"],[3,"clickItem","node","collapseChild","hintMessage","expanded","noIcon"],[4,"ngIf"],[1,"dropdown-list__item"],[3,"clickItem","node","hintMessage","dropdownChild","expanded","noIcon"]],template:function(n,o){if(n&1){let p=M();Fe(Ol),c(0,"div",1)(1,"button",2,0),x("click",function(){return h(p),v(o.openStateChange.emit(!o.open))}),u(3,$l,1,1,"isp-svg-icon",3)(4,El,1,1,"isp-custom-icon",4),c(5,"span",5),S(6),l(),m(7,"isp-svg-icon",6),l(),c(8,"ul",7),u(9,Dl,3,6,"li",8),l(),c(10,"isp-dropdown",9)(11,"ul",10),u(12,Bl,2,5,"li",11),l()()()}if(n&2){let p=I(2);a("ngClass",Vt(18,Pl,o.open,!o.menuExpanded)),s(),a("ngClass",F(21,Il,o.active)),ne("aria-expanded",o.open),s(2),a("ngIf",!o.menu.$customicon),s(),a("ngIf",o.menu.$customicon),s(),a("ispTooltip",o.menu.label),s(),E(" ",o.menu.label," "),s(),a("name",o.open?"arrow_up_s":"arrow_down_s"),s(),a("@openClose",o.open?"open":"close"),s(),a("ngForOf",o.menu.node)("ngForTrackBy",o.trackBySubnode),s(),a("anchor",p)("disabled",o.menuExpanded)("cssVars",o.dropdownCSS)("anchorOffset",5)("correctAlignment",!0),s(2),a("ngForOf",o.menu.node)("ngForTrackBy",o.trackBySubnode)}},dependencies:[ct,ke,D,B,ue,Z,pe,mt],styles:['[_nghost-%COMP%]{position:relative;transition:margin-bottom .25s ease-out}[_nghost-%COMP%]:before{position:absolute;top:0;left:0;content:"";width:4px;height:100%;background-color:transparent;transition:background-color .25s ease-out}.active[_nghost-%COMP%]:before{background-color:var(--isp-c-blue-velvet)}.collapse-menu-list[_ngcontent-%COMP%]{box-sizing:content-box;display:flex;flex-direction:column;max-width:270px}.collapse-button[_ngcontent-%COMP%]{position:relative;display:flex;gap:10px;align-items:center;width:calc(100% - 35px);padding:0;margin:0 15px 0 20px;font-family:inherit;font-size:14px;color:var(--isp-text-color-main);background:none;border:none;border-radius:var(--isp-border-radius-main);cursor:pointer;transition:margin-bottom .25s ease-out}.collapse-button[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--isp-text-color-main)}.collapse-button__label[_ngcontent-%COMP%]{opacity:1;transition:opacity .25s}.collapse-menu-list_collapsed[_ngcontent-%COMP%] .collapse-button__label[_ngcontent-%COMP%]{opacity:0;transition:opacity .25s}.collapse-button__icon[_ngcontent-%COMP%]{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:25px;height:25px;border-radius:inherit}.collapse-button[_ngcontent-%COMP%]:not(.collapse-button_active):hover .collapse-button__icon[_ngcontent-%COMP%]{background-color:var(--isp-dc-charlie-chaplin)}.collapse-button.collapse-button_active[_ngcontent-%COMP%] .collapse-button__icon[_ngcontent-%COMP%]{--isp-icons-main-color: var(--isp-c-jon-snow);background-color:var(--isp-c-blue-velvet)}.collapse-button__indicator-icon[_ngcontent-%COMP%]{flex-shrink:0;margin-left:auto}.collapse-menu-list_collapsed[_ngcontent-%COMP%] .collapse-button__indicator-icon[_ngcontent-%COMP%]{display:none}.list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:5px;padding:0 15px 0 20px;margin:0;overflow:hidden;list-style:none;transition:padding-top .25s ease-out}.collapse-menu-list_open[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{padding:5px 15px 10px 20px;transition:padding-top .25s ease-out}.dropdown-list[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;padding:0;margin:0;overflow:auto;list-style:none}'],data:{animation:[Nl]},changeDetection:0});let e=i;return e})();var Vl=e=>({menu_collapsed:e});function Rl(e,i){if(e&1&&(m(0,"isp-session-tip",13),y(1,"async")),e&2){let r=d(6);a("doc",w(1,1,r.doc$))}}function Al(e,i){if(e&1){let r=M();c(0,"isp-side-bar-group-menu-list",11),x("clickItem",function(n){h(r);let o=d(5);return v(o.menuItemHandler(n))}),u(1,Rl,2,3,"isp-session-tip",12),l()}if(e&2){let r=d(),t=r.$implicit,n=r.first,o=d(3).ngIf,p=d();a("menu",t)("menuExpanded",p.menuExpanded)("hintMessage",o.hint_newtab),s(),a("ngIf",n&&p.menuExpanded)}}function Ll(e,i){if(e&1&&(m(0,"isp-session-tip",16),y(1,"async")),e&2){let r=d(6);a("doc",w(1,1,r.doc$))}}function Ul(e,i){if(e&1){let r=M();c(0,"isp-side-bar-collapse-menu-list",14),x("clickItem",function(n){h(r);let o=d(5);return v(o.menuItemHandler(n))})("openStateChange",function(n){h(r);let o=d().$implicit,p=d(4);return v(p.onToggleCategory(n,o.$name))}),u(1,Ll,2,3,"isp-session-tip",15),l()}if(e&2){let r=d(),t=r.$implicit,n=r.first,o=d(3).ngIf,p=d();a("menu",t)("open",p.isCollapseOpened(t.$name))("menuExpanded",p.menuExpanded)("hintMessage",o.hint_newtab),s(),a("ngIf",n&&p.menuExpanded)}}function zl(e,i){if(e&1&&(L(0)(1,8),u(2,Al,2,4,"isp-side-bar-group-menu-list",9)(3,Ul,2,5,"isp-side-bar-collapse-menu-list",10),U()()),e&2){let r=i.$implicit;s(),a("ngSwitch",r.$type),s(),a("ngSwitchCase","noname")}}function Hl(e,i){if(e&1&&(L(0),u(1,zl,4,2,"ng-container",7),U()),e&2){let r=d().ngIf,t=d(2);s(),a("ngForOf",r)("ngForTrackBy",t.trackByMenuFn)}}function Gl(e,i){if(e&1&&(c(0,"nav",5),u(1,Hl,2,2,"ng-container",6),l()),e&2){let r=i.ngIf;d();let t=I(6),n=d();a("ngClass",F(3,Vl,!n.menuExpanded)),s(),a("ngIf",r.length>0)("ngIfElse",t)}}function Ql(e,i){if(e&1&&(L(0),c(1,"span",19),S(2),l(),U()),e&2){let r=d(3).ngIf;s(2),K(r.menu_empty_search)}}function ql(e,i){if(e&1&&(L(0),m(1,"isp-illustration",21),c(2,"span",22),S(3),l(),U()),e&2){let r=d(4).ngIf;s(3),K(r.menu_empty_favorite)}}function Wl(e,i){if(e&1&&(L(0),m(1,"isp-illustration",23),c(2,"span",22),S(3),l(),U()),e&2){let r=d(4).ngIf;s(3),K(r.menu_empty_popular)}}function Kl(e,i){if(e&1&&u(0,ql,4,1,"ng-container",20)(1,Wl,4,1,"ng-container",20),e&2){let r=d(4);a("ngSwitchCase",r.menuFilter.Favorite),s(),a("ngSwitchCase",r.menuFilter.Popular)}}function Yl(e,i){if(e&1&&(c(0,"div",18),u(1,Ql,3,1,"ng-container",6),y(2,"async"),u(3,Kl,2,2,"ng-template",8,1,W),l()),e&2){let r=I(4),t=d(3);s(),a("ngIf",w(2,3,t.searchQuery$).length>0)("ngIfElse",r),s(2),a("ngSwitch",t.currentMenuFilter)}}function Xl(e,i){if(e&1&&u(0,Yl,5,5,"div",17),e&2){let r=d(2);a("ngIf",r.menuExpanded)}}function Jl(e,i){if(e&1){let r=M();L(0),c(1,"isp-side-bar-toolbar",3),y(2,"async"),x("labelClick",function(n){h(r);let o=d();return v(o.showMenu(n))})("search",function(n){h(r);let o=d();return v(o.updateSearchQuery(n))}),l(),u(3,Gl,2,5,"nav",4),y(4,"async"),u(5,Xl,1,1,"ng-template",null,0,W),U()}if(e&2){let r=i.ngIf,t=d();s(),a("keepSearch",!1)("messages",r)("menuExpanded",t.menuExpanded)("labels",t.menuLabelList)("activeLabel",w(2,6,t.activeLabel$)),s(2),a("ngIf",w(4,8,t.menuList$))}}var sr=(()=>{let i=class i{get currentMenuFilter(){return this.businessSidebarService.getCurrentMenuFilter()}constructor(t,n){this.businessSidebarService=t,this.sidebarService=n,this.doc$=this.businessSidebarService.doc$,this.menuLabelList=this.businessSidebarService.menuLabelList,this.activeLabel$=this.businessSidebarService.filter$.pipe(O(o=>({[we.All]:"full",[we.Popular]:"popular",[we.Favorite]:"favorite"})[o])),this.messageSet$=this.doc$.pipe(O(o=>de.getMessageSet(o))),this.menuList$=this.businessSidebarService.filteredMenuList$,this.searchQuery$=this.businessSidebarService.searchQuery$,this.menuFilter=we,this.sidebarService.isExpanded$.subscribe(o=>this.menuExpanded=o)}ngAfterViewInit(){this.sidebarService.markAsRendered()}updateSearchQuery(t){this.businessSidebarService.updateSearchQuery(t)}showMenu(t){let n;switch(t){case"popular":n=we.Popular;break;case"favorite":n=we.Favorite;break;case"full":n=we.All;break}this.businessSidebarService.filterMenuBy(n)}isCollapseOpened(t){return this.businessSidebarService.isCategoryOpened(t)&&this.menuExpanded}onToggleCategory(t,n){t?this.businessSidebarService.onOpenCategory(n):this.businessSidebarService.onCloseCategory(n)}menuItemHandler(t){this.sidebarService.navigate(t.node,t.isNewTab)}trackByMenuFn(t,n){return`${n.$name}_${t}`}};i.\u0275fac=function(n){return new(n||i)(C(di),C(Qe))},i.\u0275cmp=g({type:i,selectors:[["isp-business-sidebar"]],decls:2,vars:3,consts:[["empty",""],["placeholder",""],[4,"ngIf"],[3,"labelClick","search","keepSearch","messages","menuExpanded","labels","activeLabel"],["class","menu ispui-scrollbar_gray",3,"ngClass",4,"ngIf"],[1,"menu","ispui-scrollbar_gray",3,"ngClass"],[4,"ngIf","ngIfElse"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngSwitch"],["class","menu__node menu__node_type_group",3,"menu","menuExpanded","hintMessage","clickItem",4,"ngSwitchCase"],["class","menu__node menu__node_type_collapsed",3,"menu","open","menuExpanded","hintMessage","clickItem","openStateChange",4,"ngSwitchDefault"],[1,"menu__node","menu__node_type_group",3,"clickItem","menu","menuExpanded","hintMessage"],["class","menu__list-item-tip","resizeSelector","#layout-main-page","name","tabs_open","alignment","end",3,"doc",4,"ngIf"],["resizeSelector","#layout-main-page","name","tabs_open","alignment","end",1,"menu__list-item-tip",3,"doc"],[1,"menu__node","menu__node_type_collapsed",3,"clickItem","openStateChange","menu","open","menuExpanded","hintMessage"],["firstItem","","class","menu__subnode-item-tip","name","tabs_open","resizeSelector","#layout-main-page","alignment","end",3,"doc",4,"ngIf"],["firstItem","","name","tabs_open","resizeSelector","#layout-main-page","alignment","end",1,"menu__subnode-item-tip",3,"doc"],["class","empty-menu",4,"ngIf"],[1,"empty-menu"],[1,"empty-menu__search-caption"],[4,"ngSwitchCase"],["type","star"],[1,"empty-menu__caption"],["type","footprints"]],template:function(n,o){n&1&&(u(0,Jl,7,10,"ng-container",2),y(1,"async")),n&2&&a("ngIf",w(1,1,o.messageSet$))},dependencies:[ke,D,B,ot,rt,Rt,Yt,ei,mi,rr,ar,G],styles:["[_nghost-%COMP%]{--isp-sidebar-menu-item-active-color: var(--isp-dc-fremen);position:relative;display:flex;flex-direction:column;grid-area:sidebar;align-items:flex-start;width:100%;max-width:var(--isp-full-sidebar-width);height:100%;overflow:hidden;color:var(--isp-text-color-main);background-color:var(--isp-dc-mimic)}.menu[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;flex-grow:1;width:100%;max-height:100%;padding-top:5px;overflow:hidden auto;font-size:14px;scroll-behavior:smooth}.menu__node[_ngcontent-%COMP%]{position:relative;margin:0;transition:margin-bottom .25s ease-out}.menu__node[_ngcontent-%COMP%]:last-child{padding-bottom:20px}.menu__node_type_group[_ngcontent-%COMP%]:not(:last-child){margin-bottom:15px}.menu__node_type_collapsed[_ngcontent-%COMP%]:not(:last-child){margin-bottom:5px}.menu_collapsed[_ngcontent-%COMP%] .menu__node[_ngcontent-%COMP%]:not(:last-child){margin-bottom:10px}.empty-menu[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;width:var(--isp-full-sidebar-width)}.empty-menu__search-caption[_ngcontent-%COMP%]{width:100%;padding:0 20px}.empty-menu__caption[_ngcontent-%COMP%]{padding:0 20px;text-align:center}"],changeDetection:0});let e=i;return e})();var ui=(()=>{let i=class i{get newLabel(){return this.appService.getDesktopMessage("menu_new")}constructor(t,n){this.appService=t,this.tabContextService=n,this.FAVORITES_TOGGLE_ANIMATION_DURATION=200,this.doc$=this.appService.desktop$,this.searchRegexp$=new ie(new RegExp("","gi")),this.favoriteChanges$=new ie({}),this.docGroups$=this.doc$.pipe(O(o=>o?.mainmenu?.modernmenu?.node||[]),O(o=>{let p=o.map(f=>f.node).flat().filter(f=>f.$position).sort((f,b)=>+f.$position-+b.$position).map(f=>q(R({},f),{groupId:"indexed-group"})),_=o.map(f=>f.node.filter(b=>!b.$position).map(b=>q(R({},b),{groupId:f.$name})));return[p,..._].filter(f=>f.length).map(f=>f.map(b=>q(R({},b),{isAdding:!1,isRemoving:!1,isActive:!1,label:this.appService.getDesktopMessage(`modernmenu_${b.$name}`),show:!0})))})),this.uiGroups$=Xe([this.docGroups$,this.favoriteChanges$,this.searchRegexp$,this.tabContextService.tab$]).pipe(O(([o,p,_,f])=>o.map(b=>b.map($=>q(R({},$),{show:$.$name==="navboard"?!0:_.test("")?$.$favorite==="yes"||p[$.$name]===!1||+this.appService.user.$level<29:_.test($.label),isActive:$.$action===f?.func,isAdding:p[$.$name],isRemoving:p[$.$name]===!1}))).map(b=>b.filter($=>$.show)).filter(b=>b.length))),this.subscribeToFavorites()}handleSearch(t){this.searchRegexp$.next(new RegExp(ti(t),"gi"))}subscribeToFavorites(){this.doc$.pipe(O(t=>Tn(t?.mainmenu?.modernmenu?.node?.map(n=>n.node).flat()||[])),ze()).subscribe(([t,n])=>{let o=n.filter(f=>f.$favorite&&t.find(b=>b.$name===f.$name&&!b.$favorite)),p=t.filter(f=>f.$favorite&&n.find(b=>b.$name===f.$name&&!b.$favorite));if(!o.length&&!p.length)return;let _=R(R(R({},this.favoriteChanges$.value),o.reduce((f,b)=>q(R({},f),{[b.$name]:!0}),{})),p.reduce((f,b)=>q(R({},f),{[b.$name]:!1}),{}));this.favoriteChanges$.next(_),setTimeout(()=>{[...o,...p].forEach(f=>{delete this.favoriteChanges$.value[f.$name]}),this.favoriteChanges$.next(this.favoriteChanges$.value)},this.FAVORITES_TOGGLE_ANIMATION_DURATION)})}};i.\u0275fac=function(n){return new(n||i)(X(oe),X(yt))},i.\u0275prov=ge({token:i,factory:i.\u0275fac});let e=i;return e})();function td(e,i){if(e&1){let r=M();L(0),c(1,"div",null,0)(3,"isp-side-bar-menu-item",8),x("clickItem",function(n){h(r);let o=d(4);return v(o.menuItemHandler(n))}),l()(),c(4,"isp-dropdown",9)(5,"isp-side-bar-menu-item",10),x("clickItem",function(n){h(r);let o=d(4);return v(o.menuItemHandler(n))}),l()(),U()}if(e&2){let r=i.$implicit,t=I(2),n=d(3).ngIf,o=d();s(3),A("item_adding",r.isAdding)("item_removing",r.isRemoving),a("highlight",r.isAdding)("newLabel",r.$name!=="navboard"&&r.$new?o.newLabel:"")("node",r)("hintMessage",n.hint_newtab)("expanded",o.menuExpanded),ne("data-item-name",r.$name),s(),a("anchor",t)("disabled",o.menuExpanded)("cssVars",o.dropdownCSS)("anchorOffset",-3),s(),a("node",r)("hintMessage",n.hint_newtab)("dropdownChild",!0)("expanded",!0)}}function id(e,i){if(e&1&&(c(0,"div",6),u(1,td,6,18,"ng-container",7),l()),e&2){let r=i.$implicit,t=d().ngIf,n=d(2);A("group_separate",t.length>1&&r.length>1)("group_deseparating",t.length>1&&n.isGroupTurningFromTwoToOne(r)),s(),a("ngForOf",r)("ngForTrackBy",n.getItemId)}}function nd(e,i){if(e&1){let r=M();L(0),c(1,"div",null,0)(3,"isp-side-bar-menu-item",12),x("clickItem",function(n){h(r);let o=d(4);return v(o.menuItemHandler(n))}),l()(),c(4,"isp-dropdown",9)(5,"isp-side-bar-menu-item",10),x("clickItem",function(n){h(r);let o=d(4);return v(o.menuItemHandler(n))}),l()(),U()}if(e&2){let r=i.$implicit,t=I(2),n=d(3).ngIf,o=d();s(3),a("newLabel",r.$new?o.newLabel:"")("node",r)("hintMessage",n.hint_newtab)("expanded",o.menuExpanded),ne("data-item-name",r.$name),s(),a("anchor",t)("disabled",o.menuExpanded)("cssVars",o.dropdownCSS)("anchorOffset",-3),s(),a("node",r)("hintMessage",n.hint_newtab)("dropdownChild",!0)("expanded",!0)}}function od(e,i){if(e&1&&(c(0,"div",11),u(1,nd,6,13,"ng-container",7),l()),e&2){let r=i.ngIf,t=d(3);s(),a("ngForOf",r)("ngForTrackBy",t.getItemId)}}function rd(e,i){if(e&1&&(L(0),c(1,"nav",3),u(2,id,2,6,"div",4),l(),u(3,od,2,2,"div",5),y(4,"async"),U()),e&2){let r=i.ngIf,t=d(2);s(2),a("ngForOf",r)("ngForTrackBy",t.getGroupId),s(),a("ngIf",w(4,3,t.navboardGroup$))}}function ad(e,i){if(e&1){let r=M();L(0),c(1,"isp-side-bar-toolbar",2),x("search",function(n){h(r);let o=d();return v(o.search(n))}),l(),u(2,rd,5,5,"ng-container",1),y(3,"async"),U()}if(e&2){let r=i.ngIf,t=d();s(),a("messages",r)("menuExpanded",t.menuExpanded),s(),a("ngIf",w(3,3,t.groupsWithoutNavboard$))}}var cr=(()=>{let i=class i{get animationDuration(){return`${this.liteSidebarService.FAVORITES_TOGGLE_ANIMATION_DURATION}ms`}get hasNavboard(){return this._hasNavboard?"1":"0"}get newLabel(){return this.liteSidebarService.newLabel}constructor(t,n){this.liteSidebarService=t,this.sidebarService=n,this._hasNavboard=!1,this.groupsWithoutNavboard$=this.liteSidebarService.uiGroups$.pipe(O(o=>o.filter(p=>p[0].groupId!=="noname_navboard"))),this.navboardGroup$=this.liteSidebarService.uiGroups$.pipe(O(o=>o.find(p=>p[0].groupId==="noname_navboard")),le(o=>this._hasNavboard=!!o)),this.doc$=this.liteSidebarService.doc$,this.messageSet$=this.doc$.pipe(O(o=>de.getMessageSet(o))),this.dropdownCSS={"--isp-dropdown-z-index":"var(--isp-menu-dropdown-z-index)"},this.sidebarService.isExpanded$.subscribe(o=>this.menuExpanded=o)}startAutoscroll(){this.itemElements.changes.pipe(O(t=>t.toArray().map(n=>n.nativeElement)),ze(),O(([t,n])=>n.find(o=>!t.map(p=>p.dataset.itemName).includes(o.dataset.itemName))),Q(t=>t),je(this.liteSidebarService.FAVORITES_TOGGLE_ANIMATION_DURATION)).subscribe(t=>{t.scrollIntoView({block:"nearest"})})}ngAfterViewInit(){this.startAutoscroll(),this.sidebarService.markAsRendered()}menuItemHandler(t){this.sidebarService.navigate(t.node,t.isNewTab)}getGroupId(t,n){return n[0].groupId}isGroupTurningFromTwoToOne(t){return t.length===2&&t.some(n=>n.isRemoving)}getItemId(t,n){return n.$name}toggleMenu(){this.sidebarService.toggle()}search(t){this.liteSidebarService.handleSearch(t)}};i.\u0275fac=function(n){return new(n||i)(C(ui),C(Qe))},i.\u0275cmp=g({type:i,selectors:[["isp-lite-sidebar"]],viewQuery:function(n,o){if(n&1&&Te(mt,5,Ze),n&2){let p;Pe(p=Ie())&&(o.itemElements=p)}},hostVars:6,hostBindings:function(n,o){n&2&&(He("--isp-favorite-toggle-animation-duration",o.animationDuration)("--isp-has-navboard",o.hasNavboard),A("isp-lite-sidebar_expanded",o.menuExpanded))},decls:2,vars:3,consts:[["anchor",""],[4,"ngIf"],[3,"search","messages","menuExpanded"],[1,"groups","ispui-scrollbar_gray"],["class","group",3,"group_separate","group_deseparating",4,"ngFor","ngForOf","ngForTrackBy"],["class","group group_navboard",4,"ngIf"],[1,"group"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"item",3,"clickItem","highlight","newLabel","node","hintMessage","expanded"],["trigger","hover","direction","right","alignment","start","popupClasses","isp-side-bar-popup isp-side-bar-popup_lite",3,"anchor","disabled","cssVars","anchorOffset"],[3,"clickItem","node","hintMessage","dropdownChild","expanded"],[1,"group","group_navboard"],[1,"item",3,"clickItem","newLabel","node","hintMessage","expanded"]],template:function(n,o){n&1&&(u(0,ad,4,5,"ng-container",1),y(1,"async")),n&2&&a("ngIf",w(1,1,o.messageSet$))},dependencies:[D,B,pe,mt,mi,G],styles:['[_nghost-%COMP%]{--isp-navboard-group-height: calc(var(--isp-has-navboard) * 62px);display:block;height:100%;color:var(--isp-text-color-main);background-color:var(--isp-dc-mimic)}.toolbar[_ngcontent-%COMP%]{padding:20px}.burger[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:25px;height:25px;padding:0;background:none;border:none;border-radius:var(--isp-border-radius-main);cursor:pointer}.burger[_ngcontent-%COMP%]:hover{background-color:var(--isp-dc-charlie-chaplin)}.burger[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--isp-text-color-main)}.groups[_ngcontent-%COMP%]{--isp-scrollbar-track-bg: transparent;--isp-scrollbar-thumb-bg: transparent;max-height:calc(100% - 62px - var(--isp-navboard-group-height));padding-bottom:calc(22px - 12px * var(--isp-has-navboard, 0));overflow:hidden auto;font-size:14px;scroll-behavior:smooth;transition:scrollbar-color .3s,max-height .25s ease-out}.groups[_ngcontent-%COMP%]:hover{--isp-scrollbar-thumb-bg: unset}[_nghost-%COMP%]:not(.isp-lite-sidebar_expanded) .groups[_ngcontent-%COMP%]{max-height:calc(100% - 108px - var(--isp-navboard-group-height))}.group[_ngcontent-%COMP%]{position:relative;overflow:hidden}.group_separate[_ngcontent-%COMP%]{padding:21px 0;transition:padding var(--isp-favorite-toggle-animation-duration) linear}.group_separate[_ngcontent-%COMP%]:before, .group_separate[_ngcontent-%COMP%]:after{position:absolute;left:25px;content:"";width:calc(var(--isp-sidebar-width, 100%) - 50px);height:1px;background:var(--isp-dc-reincarnation)}.group_separate[_ngcontent-%COMP%]:before{top:10px}.group_separate[_ngcontent-%COMP%]:after{bottom:10px}.group_separate[_ngcontent-%COMP%] + .group_separate[_ngcontent-%COMP%]{padding-top:0}.group_separate[_ngcontent-%COMP%] + .group_separate[_ngcontent-%COMP%]:before{display:none}.group_separate[_ngcontent-%COMP%]:last-of-type{padding-bottom:0}.group_separate[_ngcontent-%COMP%]:last-of-type:after{display:none}.group_deseparating[_ngcontent-%COMP%]{padding:0}.group_deseparating[_ngcontent-%COMP%]:before, .group_deseparating[_ngcontent-%COMP%]:after{display:none}.group_deseparating[_ngcontent-%COMP%] + .group_separate[_ngcontent-%COMP%]{padding-top:21px}.group_navboard[_ngcontent-%COMP%]{padding-top:11px}.group_navboard[_ngcontent-%COMP%]:before{top:0;position:absolute;left:25px;content:"";width:calc(var(--isp-sidebar-width, 100%) - 50px);height:1px;background:var(--isp-dc-reincarnation)}.item[_ngcontent-%COMP%]{--isp-sidebar-menu-item-padding: 5px 20px;--isp-sidebar-menu-item-br: 0;--isp-sidebar-menu-item-active-marker-opacity: 0;display:block;height:35px;overflow:hidden;cursor:pointer}.item_adding[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_item-adding var(--isp-favorite-toggle-animation-duration) linear}.item_removing[_ngcontent-%COMP%]{height:0;margin-bottom:0;opacity:0;animation:_ngcontent-%COMP%_item-adding var(--isp-favorite-toggle-animation-duration) linear reverse}@keyframes _ngcontent-%COMP%_item-adding{0%{height:0;opacity:0}to{height:35px;opacity:1}}'],changeDetection:0});let e=i;return e})();var lr={sidebar:{dropdown:{direction:"right",alignment:"middle",anchorOffset:10}},navboard:{dropdown:{direction:"bottom",alignment:"start",anchorOffset:10}},"navboard-star":{dropdown:{direction:"bottom",alignment:"middle"}},helpcenter:{dropdown:{direction:"bottom",alignment:"middle"}},helpcenter_form:{dropdown:{direction:"bottom",alignment:"middle"}}};var dr=(()=>{let i=class i{constructor(t,n,o,p,_,f){this.router=t,this.appService=n,this.tabContextService=o,this.metricService=p,this.httpBaseService=_,this.tabService=f,this.steps=[],this.activeStep$=new ie(null),Xe([this.appService.desktop$.pipe(Q(b=>!!b.guide)),this.tabContextService.tab$.pipe(Nt())]).subscribe(([b])=>this.start(b))}start(t){let n=t.guide;this.name=n.$name;let o=[n.step].flat(),p=o.find(_=>_.$name===n.$step);p&&o.splice(0,o.indexOf(p)),this.steps=o.map((_,f)=>{let b=[_.button].flat().filter($=>!!$).map($=>q(R({},$),{text:de.getMessage(`button_${_.$name}_${$.$name}`,t)}));return q(R(q(R({id:f},_),{buttons:b}),lr[_.$target]),{title:de.getMessage(`title_${_.$name}`,t),text:de.getMessage(`text_${_.$name}`,t),anchorRect:null,guideName:n.$name,hasRating:b.some($=>$.$rating),rating:0,followup:n.$followup==="yes"})}),this.steps[0].$action?(this.activeStep$.next(this.steps[0]),this.stop(!0)):this.activateStep(this.steps[0])}activateStep(t){return We(this,null,function*(){if(t.$action&&t.$action!==this.tabContextService.tab.func){let p=this.tabService.findMainTabByFunc(t.$action),_={func:t.$action};p&&(_.tab_id=p.id),this.router.navigate([t.$type],{queryParams:_})}let n=yield this.getTargetRect(t.$target);if(!n)return;t.anchorRect=n,this.activeStep$.next(t);let o=t.$action;o&&this.tabContextService.tab$.pipe(Q(p=>p.func!==o),Pt(1)).subscribe(()=>{this.activeStep$.value?.$action===o&&this.stop(!0)})})}getTargetRect(t){return We(this,null,function*(){let o=5e3;for(;o>0;){let p=document.querySelector(`[data-isp-guide-target="${t}"]`);if(p){let _=p.getBoundingClientRect();return(_.top<0||_.bottom>document.documentElement.clientHeight)&&(p.scrollIntoView({behavior:"smooth"}),yield new Promise(f=>setTimeout(f,500))),p.getBoundingClientRect()}else o-=100,yield new Promise(_=>setTimeout(_,100))}})}complete(t,n=!1){let o={func:"guide.complete",elid:this.name};t&&(o.step=t);let p=n||this.activeStep$.value?.followup;this.httpBaseService.post(o).subscribe(()=>{p&&(this.activeStep$.next(null),this.appService.getDesktop())}),!t&&!p&&(this.activeStep$.next(null),this.activeStep$.complete())}next(){return We(this,null,function*(){let t=this.activeStep$.value;if(t.hasRating){let p=`${t.rating}/5`,_=t.guideName==="new_main_menu"?"navboard":t.guideName;this.metricService.append({event:`${_}-user-rating`,data:{rate:p}})}let n=t.id+1,o=this.steps.find(p=>p.id===n);if(o){yield this.activateStep(o),this.complete(o?.$name);return}this.complete()})}stop(t){let n=this.activeStep$.value;this.activeStep$.next(null);let o=t?n:this.steps.find(p=>p.id>n.id&&p.$action!==n.$action);o&&this.tabContextService.tab$.pipe(Q(p=>p.func===o.$action),Pt(1)).subscribe(()=>{this.activateStep(o)}),t||this.complete(o?.$name,n.followup)}setRating(t){this.activeStep$.next(q(R({},this.activeStep$.value),{rating:t}))}};i.\u0275fac=function(n){return new(n||i)(X(At),X(oe),X(yt),X(pt),X(zt),X(Me))},i.\u0275prov=ge({token:i,factory:i.\u0275fac,providedIn:"root"});let e=i;return e})();var cd=e=>[e],ld=()=>({"--isp-dropdown-z-index":"var(--isp-z-index-guide)"}),dd=()=>[1,2,3,4,5];function md(e,i){if(e&1&&(c(0,"div",11),S(1),l()),e&2){let r=d(2).ngIf;s(),K(r.title)}}function ud(e,i){if(e&1&&(c(0,"div",12),S(1),l()),e&2){let r=d(2).ngIf;s(),K(r.text)}}function _d(e,i){if(e&1){let r=M();c(0,"div",15),x("click",function(){let n=h(r).$implicit,o=d(4);return v(o.setRating(n))}),m(1,"isp-svg-icon",16),l()}if(e&2){let r=i.$implicit,t=d(3).ngIf;s(),a("name",t.rating>=r?"star-full":"star_dark")}}function fd(e,i){e&1&&(c(0,"div",13),u(1,_d,2,1,"div",14),l()),e&2&&(s(),a("ngForOf",T(1,dd)))}function gd(e,i){if(e&1){let r=M();c(0,"button",19),x("click",function(){h(r);let n=d(4);return v(n.handleNextClick())}),S(1),l()}if(e&2){let r=i.$implicit;s(),E(" ",r.text," ")}}function hd(e,i){if(e&1&&(c(0,"div",17),u(1,gd,2,1,"button",18),l()),e&2){let r=d(2).ngIf;s(),a("ngForOf",r.buttons)}}function vd(e,i){if(e&1){let r=M();L(0),m(1,"div",4,0),c(3,"isp-dropdown",5,1)(5,"button",6),x("click",function(){h(r);let n=d(2);return v(n.handleCloseClick())}),l(),u(6,md,2,1,"div",7)(7,ud,2,1,"div",8)(8,fd,2,2,"div",9)(9,hd,2,1,"div",10),l(),U()}if(e&2){let r=I(2),t=I(4),n=d().ngIf;s(),He("top",n.anchorRect.top,"px")("left",n.anchorRect.left,"px")("width",n.anchorRect.width,"px")("height",n.anchorRect.height,"px"),s(2),a("anchor",r)("initialOpen",!0)("arrow",!0)("cssVars",T(21,ld))("popupClasses","isp-guide-popup isp-guide-popup-"+n.guideName+"-"+n.$target)("hideOnDocumentClick",!1)("anchorOffset",n.dropdown.anchorOffset||t.anchorOffset)("direction",n.dropdown.direction||t.direction)("alignment",n.dropdown.alignment||t.alignment),s(3),a("ngIf",n.title),s(),a("ngIf",n.text),s(),a("ngIf",n.hasRating),s(),a("ngIf",n.buttons.length)}}function xd(e,i){if(e&1&&(L(0),u(1,vd,10,22,"ng-container",3),U()),e&2){let r=i.ngIf,t=d();s(),a("ngForOf",F(2,cd,r))("ngForTrackBy",t.getStepId)}}var mr=(()=>{let i=class i{constructor(t){this.guideService=t,this.step$=this.guideService.activeStep$}handleNextClick(){return We(this,null,function*(){this.dropdown.hide(),yield new Promise(t=>setTimeout(t,200)),yield this.guideService.next()})}handleCloseClick(){return We(this,null,function*(){this.dropdown.hide(),yield new Promise(t=>setTimeout(t,200)),this.guideService.stop(!1)})}getStepId(t,n){return n.id}setRating(t){this.guideService.setRating(t)}};i.\u0275fac=function(n){return new(n||i)(C(dr))},i.\u0275cmp=g({type:i,selectors:[["isp-guide"]],viewQuery:function(n,o){if(n&1&&Te(pe,5),n&2){let p;Pe(p=Ie())&&(o.dropdown=p.first)}},decls:2,vars:3,consts:[["anchor",""],["dropdown",""],[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"anchor"],["trigger","click",3,"anchor","initialOpen","arrow","cssVars","popupClasses","hideOnDocumentClick","anchorOffset","direction","alignment"],["type","button",1,"close-btn","isp-close",3,"click"],["class","title",4,"ngIf"],["class","text",4,"ngIf"],["class","rating",4,"ngIf"],["class","buttons",4,"ngIf"],[1,"title"],[1,"text"],[1,"rating"],["class","star-ball",3,"click",4,"ngFor","ngForOf"],[1,"star-ball",3,"click"],[3,"name"],[1,"buttons"],["type","button","class","button",3,"click",4,"ngFor","ngForOf"],["type","button",1,"button",3,"click"]],template:function(n,o){n&1&&(u(0,xd,2,4,"ng-container",2),y(1,"async")),n&2&&a("ngIf",w(1,1,o.step$))},dependencies:[D,B,pe,Z,G],styles:[".anchor[_ngcontent-%COMP%]{position:absolute;z-index:var(--isp-z-index-guide);opacity:0;pointer-events:none}.close-btn[_ngcontent-%COMP%]{--isp-close-size: 35px;--isp-close-icon-color: var(--isp-dc-highway-star);--isp-close-hover-bg: var(--isp-dc-mass-relay);position:absolute;top:5px;right:5px}.close-btn[_ngcontent-%COMP%]:active{--isp-close-border: 2px solid var(--isp-dc-highway-star)}.title[_ngcontent-%COMP%]{margin-bottom:10px;font-size:14px;font-weight:500;line-height:18px}.close-btn[_ngcontent-%COMP%] + .title[_ngcontent-%COMP%]{padding-right:20px}.text[_ngcontent-%COMP%], .content[_ngcontent-%COMP%]{line-height:18px}.rating[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:15px}.star-ball[_ngcontent-%COMP%]{--isp-icons-main-color: var(--isp-dc-highway-star);display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:50%;cursor:pointer}.star-ball[_ngcontent-%COMP%]:hover{background:var(--isp-dc-monochrome)}.buttons[_ngcontent-%COMP%]{display:flex;gap:10px;margin-top:10px}.button[_ngcontent-%COMP%]{flex-grow:1;height:38px;font:inherit;color:var(--isp-dc-highway-star);background:var(--isp-dc-monochrome);border:none;border-radius:5px;cursor:pointer}.button[_ngcontent-%COMP%]:hover{background:var(--isp-dc-mass-relay)}"],changeDetection:0});let e=i;return e})();var ur=(()=>{let i=class i{constructor(){this.colorSchemeService=re(Gt),this.colorScheme$=this.colorSchemeService.actualColorScheme$.pipe(fe(),nn(1)),this.delay=2*this.colorSchemeService.colorSchemeChangeDelay,this.canShowOverlay$=tn(this.colorScheme$.pipe(Si(!0)),this.colorScheme$.pipe(Ve(t=>Zi(this.delay).pipe(Si(!1)))))}};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-color-scheme-overlay"]],standalone:!0,features:[me],decls:8,vars:10,consts:[[1,"overlay"],["width","60","height","60","viewBox","0 0 60 60","fill","none","xmlns","http://www.w3.org/2000/svg"],["id","color-scheme-overlay-clip-path"],["cx","30","cy","30","r","30"],["clip-path","url(#color-scheme-overlay-clip-path)","cx","30","cy","30","r","28","stroke-width","2",1,"inner-circle"],["clip-path","url(#color-scheme-overlay-clip-path)","cx","0","cy","30","r","30",1,"outer-circle"]],template:function(n,o){n&1&&(c(0,"div",0),y(1,"async"),y(2,"async"),sn(),c(3,"svg",1)(4,"clipPath",2),m(5,"circle",3),l(),m(6,"circle",4)(7,"circle",5),l()()),n&2&&(et(w(1,6,o.colorScheme$)),He("--isp-color-scheme-overlay-animation-time",o.delay+"ms"),A("show",w(2,8,o.canShowOverlay$)))},dependencies:[G],styles:["[_nghost-%COMP%]{position:fixed;inset:0;z-index:var(--isp-z-index-color-scheme-overlay);pointer-events:none}.overlay[_ngcontent-%COMP%]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%;background-color:transparent;opacity:0}.overlay.show[_ngcontent-%COMP%]{pointer-events:auto;animation:_ngcontent-%COMP%_fadeInOut var(--isp-color-scheme-overlay-animation-time) ease-in-out}.overlay.light[_ngcontent-%COMP%]{background-color:var(--isp-c-russian-north)}.overlay.light[_ngcontent-%COMP%] .inner-circle[_ngcontent-%COMP%]{fill:var(--isp-c-silent-hill);stroke:var(--isp-c-silent-hill)}.overlay.light[_ngcontent-%COMP%] .outer-circle[_ngcontent-%COMP%]{fill:var(--isp-c-russian-north);stroke:var(--isp-c-russian-north)}.overlay.dark[_ngcontent-%COMP%]{background-color:var(--isp-c-interstellar)}.overlay.dark[_ngcontent-%COMP%] .inner-circle[_ngcontent-%COMP%]{fill:var(--isp-c-silent-hill);stroke:var(--isp-c-silent-hill)}.overlay.dark[_ngcontent-%COMP%] .outer-circle[_ngcontent-%COMP%]{fill:var(--isp-c-interstellar);stroke:var(--isp-c-interstellar)}.overlay.show[_ngcontent-%COMP%] .outer-circle[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slideRight calc(var(--isp-color-scheme-overlay-animation-time) * .7) ease-in-out forwards}@keyframes _ngcontent-%COMP%_fadeInOut{0%,to{opacity:0}40%,70%{opacity:1}}@keyframes _ngcontent-%COMP%_slideRight{0%{cx:-30px}to{cx:30px}}"],changeDetection:0});let e=i;return e})();function yd(e,i){e&1&&m(0,"isp-business-sidebar")}function wd(e,i){e&1&&m(0,"isp-lite-sidebar")}function Sd(e,i){if(e&1&&(c(0,"div",11),z(1,12),l()),e&2){let r=i.ngIf;s(),a("ngTemplateOutlet",r)}}var _r=(()=>{let i=class i{constructor(t,n,o,p){this.appService=t,this.tabContextService=n,this.tabService=o,this.urlRoutingService=p,this.isBusiness=this.appService.isBusiness,this.formSummaryTemplate$=this.appService.formSummaryTemplate$,this.ariaTabId$=this.tabContextService.tab$.pipe(O(_=>`aria-tab-${_.id}`)),this.urlRoutingService.start(),this.tabService.init()}};i.\u0275fac=function(n){return new(n||i)(C(oe),C(yt),C(Me),C(So))},i.\u0275cmp=g({type:i,selectors:[["isp-layout"]],decls:17,vars:8,consts:[["name","global-progress-modal","position","global",1,"layout__progress-modal"],[1,"layout__guide"],[1,"layout"],[1,"layout__narrow-banner"],[1,"layout__topbar"],["isp-layout-content","",1,"layout__content",3,"id"],["data-isp-guide-target","sidebar",1,"layout__sidebar"],[4,"ngIf"],["id","layout-main-page","role","tabpanel",1,"layout__main-page","scrollable-form-container"],[1,"layout__drawer-manager"],["class","form-summary",4,"ngIf"],[1,"form-summary"],[3,"ngTemplateOutlet"]],template:function(n,o){n&1&&(m(0,"isp-progress-modal",0)(1,"isp-guide",1)(2,"isp-color-scheme-overlay"),c(3,"div",2),m(4,"isp-narrow-banner",3)(5,"isp-top-bar",4),c(6,"div",5),y(7,"async"),c(8,"aside",6),u(9,yd,1,0,"isp-business-sidebar",7)(10,wd,1,0,"isp-lite-sidebar",7),l(),c(11,"section",8),m(12,"isp-drawer-manager",9),u(13,Sd,2,1,"div",10),y(14,"async"),m(15,"isp-layout-skeleton")(16,"router-outlet"),l()()()),n&2&&(s(6),a("id",w(7,4,o.ariaTabId$)),s(3),a("ngIf",o.isBusiness),s(),a("ngIf",!o.isBusiness),s(3),a("ngIf",w(14,6,o.formSummaryTemplate$)))},dependencies:[B,he,Sn,$o,zn,Zo,sr,cr,Co,_o,mr,ur,G],styles:[".layout[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;width:100vw;min-width:var(--isp-layout-min-width);height:100%;overflow:hidden;transition:.25s ease-out;--isp-dynamic-form-row-gap: 25px;--isp-dynamic-form-summary-width: 350px}.layout__topbar[_ngcontent-%COMP%]{z-index:var(--isp-header-z-index);width:100%;min-width:0}.layout__content[_ngcontent-%COMP%]{display:flex;flex:1;min-height:0}.layout__sidebar[_ngcontent-%COMP%]{grid-area:sidebar;width:var(--isp-sidebar-width);min-width:var(--isp-sidebar-width);transition:width .25s ease-out,min-width .25s ease-out}.layout__main-page[_ngcontent-%COMP%]{--isp-main-page__padding-left: 30px;--isp-main-page__padding-right: 30px;--isp-sidebar-current-width: var(--isp-sidebar-full-width);position:relative;display:block;flex:1;width:calc(100vw - var(--isp-sidebar-width));background-color:var(--isp-dc-monochrome);transition:width .25s ease-out}.layout__progress-modal[_ngcontent-%COMP%]{height:0}.layout__drawer-manager[_ngcontent-%COMP%]{--isp-drawer-height: calc( 100svh - var(--isp-topbar-top-line-height, 45px) - var( --isp-narrow-banner-height ) );position:relative;z-index:var(--isp-z-index-drawer, 1000);display:block}.layout__guide[_ngcontent-%COMP%]{position:absolute;top:0;left:0;display:block;width:0;height:0}.form-summary[_ngcontent-%COMP%]{position:absolute;top:0;right:0;z-index:var(--isp-form-summary-z-index);width:var(--isp-dynamic-form-summary-width);height:100%}"],changeDetection:0});let e=i;return e})();var fr=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=g({type:i,selectors:[["isp-empty"]],decls:0,vars:0,template:function(n,o){},encapsulation:2,changeDetection:0});let e=i;return e})();var kd=[{path:"",component:_r,children:[{path:gt.Dashboard,loadChildren:()=>import("./chunk-QVXZUYGC.js").then(e=>e.DashboardModule)},{path:gt.Form,loadChildren:()=>import("./chunk-SSFIWLDX.js").then(e=>e.FormModule)},{path:gt.List,loadChildren:()=>import("./chunk-Z3S7BXV7.js").then(e=>e.ListModule)},{path:gt.Report,loadChildren:()=>import("./chunk-R4E7ORES.js").then(e=>e.ReportModule)},{path:gt.Helpboard,loadChildren:()=>import("./chunk-QOAYXZKX.js").then(e=>e.HelpboardModule)},{path:gt.Navboard,loadChildren:()=>import("./chunk-HDIQEWMU.js").then(e=>e.NavboardModule)},{path:"",component:fr},{path:"**",loadChildren:()=>import("./chunk-Z2CODGTF.js").then(e=>e.NotFoundModule)}]}],gr=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[It.forChild(kd),It]});let e=i;return e})();var hr=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[V,Y,wt]});let e=i;return e})();var vr=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[V,_e]});let e=i;return e})();var xr=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[V,It,vr,Y,po]});let e=i;return e})();var br=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[V,xe,Wn,_e]});let e=i;return e})();var Cr=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[V]});let e=i;return e})();var yr=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[V,xe,Y,_e,ii]});let e=i;return e})();var wr=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[V]});let e=i;return e})();var Sr=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[V,Y,xe,uo,Kn,_e]});let e=i;return e})();var kr=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[V,Y,_e,Xt,xe]});let e=i;return e})();var Mr=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[V,Cr,xr,hr,wr,kr,yr,br,Sr,ci]});let e=i;return e})();var _i=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[ct,V,Y,_e,wt]});let e=i;return e})();var Or=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({providers:[di],imports:[ct,V,_e,Y,Xt,ii,wt,xe,_i]});let e=i;return e})();var Tr=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({providers:[ui],imports:[V,xe,_e,Y,_i]});let e=i;return e})();var Pr=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[V]});let e=i;return e})();var Ir=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[V,xe,Y]});let e=i;return e})();var A1=(()=>{let i=class i{};i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=j({type:i}),i.\u0275inj=N({imports:[V,gr,Pr,Hn,Mr,Or,Tr,yo,fo,Ir]});let e=i;return e})();export{A1 as LayoutModule};