Your IP : 3.147.75.9


Current Path : /usr/local/mgr5/skins/dragon/
Upload File :
Current File : //usr/local/mgr5/skins/dragon/main-5U3L6IFR.js

import{a as Yi}from"./chunk-P5ECH4E2.js";import{a as vs}from"./chunk-ZTSJF7T7.js";import{a as xr,b as Cr,c as Pr,d as kr,e as Mr,f as Dr,g as Nr,h as Ar,i as Or,j as Ir,k as Fr,l as Lr,m as Rr,n as $r,o as Qe,p as Mt}from"./chunk-LEQN3D2Q.js";import{a as us,b as ds,c as ys,d as ws}from"./chunk-PK74BOF4.js";import{a as ps}from"./chunk-UIMIPCPG.js";import"./chunk-BKOP7W6P.js";import{a as Yr}from"./chunk-EI5KBZMB.js";import{$ as Ke,C as Dt,D as Nt,F as ts,G as is,H as ns,I as rs,J as ss,K as be,L as Wi,M as os,N as as,O as Ui,P as ls,_ as Ot,a as S,aa as Gi,b as ye,c as yr,d as Hi,e as _r,f as wr,g as ze,j as vr,k as br,l as qe,m as Qi,n as Tt,s as O,t as St,u as et,v as tt,w as F,x as it,y as nt,z as es}from"./chunk-WUJDRKKX.js";import{b as hs,d as gs}from"./chunk-25EXV7IU.js";import{a as cs,b as ms,c as fs,d as At,e as _s}from"./chunk-CPXWTLES.js";import{d as Ur,g as Jr}from"./chunk-BATIAXZ4.js";import{a as Er,c as Sr,d as Et,i as Hr,l as Qr,t as Kr}from"./chunk-KX5BXGZT.js";import{a as Br,b as Vr,c as xt,d as Wr,e as Gr,y as kt}from"./chunk-M6DH5DPB.js";import{$a as oe,Bb as Ce,C as gt,Ca as _t,Cb as ge,Da as wt,Ea as vt,F as ji,Gb as pr,H as Yn,Hb as mr,Ib as fr,J as Wn,Jb as dr,Ka as se,Kb as hr,L as E,La as Je,Lb as gr,M as Q,Ma as ve,Mb as bt,Ob as Tr,Pa as er,Q as Un,Qa as tr,Qb as zr,Ra as ir,Rb as qr,Sb as Ki,Ta as nr,Ub as jr,Va as Be,Xa as rr,Z as j,_a as ee,a as k,aa as Gn,ab as sr,ac as je,ba as D,c as de,ca as yt,d as K,da as Ae,f as ue,g as qi,gb as or,k as he,l as Y,ma as I,na as R,oa as X,oc as He,pa as Xn,pb as ar,q as V,qa as Zn,qb as lr,qc as Ct,r as z,rb as cr,sa as Se,sb as ur,u as Qn,ua as Jn,ub as Ve,va as re,vb as xe,wc as Xr,x as ht,xa as N,xc as Pt,yc as Zr,z as Kn}from"./chunk-SXUPRFOU.js";import{A as Bn,G as dt,S as Vn,Y as zn,a as mt,d as Ln,fa as qn,g as u,m as Rn,s as $n,t as ft,xa as jn,za as Hn}from"./chunk-ERDNNTNA.js";function bs(r){return new k(3e3,!1)}function No(){return new k(3100,!1)}function Ao(){return new k(3101,!1)}function Oo(r){return new k(3001,!1)}function Io(r){return new k(3003,!1)}function Fo(r){return new k(3004,!1)}function Lo(r,t){return new k(3005,!1)}function Ro(){return new k(3006,!1)}function $o(){return new k(3007,!1)}function Bo(r,t){return new k(3008,!1)}function Vo(r){return new k(3002,!1)}function zo(r,t,e,i,n){return new k(3010,!1)}function qo(){return new k(3011,!1)}function jo(){return new k(3012,!1)}function Ho(){return new k(3200,!1)}function Qo(){return new k(3202,!1)}function Ko(){return new k(3013,!1)}function Yo(r){return new k(3014,!1)}function Wo(r){return new k(3015,!1)}function Uo(r){return new k(3016,!1)}function Go(r,t){return new k(3404,!1)}function Xo(r){return new k(3502,!1)}function Zo(r){return new k(3503,!1)}function Jo(){return new k(3300,!1)}function ea(r){return new k(3504,!1)}function ta(r){return new k(3301,!1)}function ia(r,t){return new k(3302,!1)}function na(r){return new k(3303,!1)}function ra(r,t){return new k(3400,!1)}function sa(r){return new k(3401,!1)}function oa(r){return new k(3402,!1)}function aa(r,t){return new k(3505,!1)}function Pe(r){switch(r.length){case 0:return new qe;case 1:return r[0];default:return new Qi(r)}}function Fs(r,t,e=new Map,i=new Map){let n=[],s=[],o=-1,a=null;if(t.forEach(l=>{let c=l.get("offset"),m=c==o,f=m&&a||new Map;l.forEach((T,_)=>{let g=_,p=T;if(_!=="offset")switch(g=r.normalizePropertyName(g,n),p){case Tt:p=e.get(_);break;case ye:p=i.get(_);break;default:p=r.normalizeStyleValue(_,g,p,n);break}f.set(g,p)}),m||s.push(f),a=f,o=c}),n.length)throw Xo(n);return s}function vn(r,t,e,i){switch(t){case"start":r.onStart(()=>i(e&&Xi(e,"start",r)));break;case"done":r.onDone(()=>i(e&&Xi(e,"done",r)));break;case"destroy":r.onDestroy(()=>i(e&&Xi(e,"destroy",r)));break}}function Xi(r,t,e){let i=e.totalTime,n=!!e.disabled,s=bn(r.element,r.triggerName,r.fromState,r.toState,t||r.phaseName,i??r.totalTime,n),o=r._data;return o!=null&&(s._data=o),s}function bn(r,t,e,i,n="",s=0,o){return{element:r,triggerName:t,fromState:e,toState:i,phaseName:n,totalTime:s,disabled:!!o}}function ie(r,t,e){let i=r.get(t);return i||r.set(t,i=e),i}function Ts(r){let t=r.indexOf(":"),e=r.substring(1,t),i=r.slice(t+1);return[e,i]}var la=typeof document>"u"?null:document.documentElement;function Tn(r){let t=r.parentNode||r.host||null;return t===la?null:t}function ca(r){return r.substring(1,6)=="ebkit"}var Oe=null,Es=!1;function ua(r){Oe||(Oe=pa()||{},Es=Oe.style?"WebkitAppearance"in Oe.style:!1);let t=!0;return Oe.style&&!ca(r)&&(t=r in Oe.style,!t&&Es&&(t="Webkit"+r.charAt(0).toUpperCase()+r.slice(1)in Oe.style)),t}function pa(){return typeof document<"u"?document.body:null}function Ls(r,t){for(;t;){if(t===r)return!0;t=Tn(t)}return!1}function Rs(r,t,e){if(e)return Array.from(r.querySelectorAll(t));let i=r.querySelector(t);return i?[i]:[]}var En=(()=>{let t=class t{validateStyleProperty(i){return ua(i)}containsElement(i,n){return Ls(i,n)}getParentElement(i){return Tn(i)}query(i,n,s){return Rs(i,n,s)}computeStyle(i,n,s){return s||""}animate(i,n,s,o,a,l=[],c){return new qe(s,o)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=de({token:t,factory:t.\u0275fac});let r=t;return r})(),Pn=class Pn{};Pn.NOOP=new En;var Le=Pn,Re=class{};var ma=1e3,$s="{{",fa="}}",Bs="ng-enter",rn="ng-leave",It="ng-trigger",Bt=".ng-trigger",Ss="ng-animating",sn=".ng-animating";function Te(r){if(typeof r=="number")return r;let t=r.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:on(parseFloat(t[1]),t[2])}function on(r,t){switch(t){case"s":return r*ma;default:return r}}function Vt(r,t,e){return r.hasOwnProperty("duration")?r:da(r,t,e)}function da(r,t,e){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,s=0,o="";if(typeof r=="string"){let a=r.match(i);if(a===null)return t.push(bs(r)),{duration:0,delay:0,easing:""};n=on(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(s=on(parseFloat(l),a[4]));let c=a[5];c&&(o=c)}else n=r;if(!e){let a=!1,l=t.length;n<0&&(t.push(No()),a=!0),s<0&&(t.push(Ao()),a=!0),a&&t.splice(l,0,bs(r))}return{duration:n,delay:s,easing:o}}function ha(r){return r.length?r[0]instanceof Map?r:r.map(t=>new Map(Object.entries(t))):[]}function _e(r,t,e){t.forEach((i,n)=>{let s=Sn(n);e&&!e.has(n)&&e.set(n,r.style[s]),r.style[s]=i})}function Fe(r,t){t.forEach((e,i)=>{let n=Sn(i);r.style[n]=""})}function rt(r){return Array.isArray(r)?r.length==1?r[0]:wr(r):r}function ga(r,t,e){let i=t.params||{},n=Vs(r);n.length&&n.forEach(s=>{i.hasOwnProperty(s)||e.push(Oo(s))})}var an=new RegExp(`${$s}\\s*(.+?)\\s*${fa}`,"g");function Vs(r){let t=[];if(typeof r=="string"){let e;for(;e=an.exec(r);)t.push(e[1]);an.lastIndex=0}return t}function ot(r,t,e){let i=`${r}`,n=i.replace(an,(s,o)=>{let a=t[o];return a==null&&(e.push(Io(o)),a=""),a.toString()});return n==i?r:n}var ya=/-+([a-z0-9])/g;function Sn(r){return r.replace(ya,(...t)=>t[1].toUpperCase())}function _a(r,t){return r===0||t===0}function wa(r,t,e){if(e.size&&t.length){let i=t[0],n=[];if(e.forEach((s,o)=>{i.has(o)||n.push(o),i.set(o,s)}),n.length)for(let s=1;s<t.length;s++){let o=t[s];n.forEach(a=>o.set(a,xn(r,a)))}}return t}function te(r,t,e){switch(t.type){case S.Trigger:return r.visitTrigger(t,e);case S.State:return r.visitState(t,e);case S.Transition:return r.visitTransition(t,e);case S.Sequence:return r.visitSequence(t,e);case S.Group:return r.visitGroup(t,e);case S.Animate:return r.visitAnimate(t,e);case S.Keyframes:return r.visitKeyframes(t,e);case S.Style:return r.visitStyle(t,e);case S.Reference:return r.visitReference(t,e);case S.AnimateChild:return r.visitAnimateChild(t,e);case S.AnimateRef:return r.visitAnimateRef(t,e);case S.Query:return r.visitQuery(t,e);case S.Stagger:return r.visitStagger(t,e);default:throw Fo(t.type)}}function xn(r,t){return window.getComputedStyle(r)[t]}var va=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),zt=class extends Re{normalizePropertyName(t,e){return Sn(t)}normalizeStyleValue(t,e,i,n){let s="",o=i.toString().trim();if(va.has(e)&&i!==0&&i!=="0")if(typeof i=="number")s="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&n.push(Lo(t,i))}return o+s}};var qt="*";function ba(r,t){let e=[];return typeof r=="string"?r.split(/\s*,\s*/).forEach(i=>Ta(i,e,t)):e.push(r),e}function Ta(r,t,e){if(r[0]==":"){let l=Ea(r,e);if(typeof l=="function"){t.push(l);return}r=l}let i=r.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(Wo(r)),t;let n=i[1],s=i[2],o=i[3];t.push(xs(n,o));let a=n==qt&&o==qt;s[0]=="<"&&!a&&t.push(xs(o,n))}function Ea(r,t){switch(r){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return t.push(Uo(r)),"* => *"}}var Ft=new Set(["true","1"]),Lt=new Set(["false","0"]);function xs(r,t){let e=Ft.has(r)||Lt.has(r),i=Ft.has(t)||Lt.has(t);return(n,s)=>{let o=r==qt||r==n,a=t==qt||t==s;return!o&&e&&typeof n=="boolean"&&(o=n?Ft.has(r):Lt.has(r)),!a&&i&&typeof s=="boolean"&&(a=s?Ft.has(t):Lt.has(t)),o&&a}}var zs=":self",Sa=new RegExp(`s*${zs}s*,?`,"g");function qs(r,t,e,i){return new ln(r).build(t,e,i)}var Cs="",ln=class{constructor(t){this._driver=t}build(t,e,i){let n=new cn(e);return this._resetContextStyleTimingState(n),te(this,rt(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector=Cs,t.collectedStyles=new Map,t.collectedStyles.set(Cs,new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,n=e.depCount=0,s=[],o=[];return t.name.charAt(0)=="@"&&e.errors.push(Ro()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==S.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(m=>{l.name=m,s.push(this.visitState(l,e))}),l.name=c}else if(a.type==S.Transition){let l=this.visitTransition(a,e);i+=l.queryCount,n+=l.depCount,o.push(l)}else e.errors.push($o())}),{type:S.Trigger,name:t.name,states:s,transitions:o,queryCount:i,depCount:n,options:null}}visitState(t,e){let i=this.visitStyle(t.styles,e),n=t.options&&t.options.params||null;if(i.containsDynamicStyles){let s=new Set,o=n||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Vs(l).forEach(c=>{o.hasOwnProperty(c)||s.add(c)})})}),s.size&&e.errors.push(Bo(t.name,[...s.values()]))}return{type:S.State,name:t.name,style:i,options:n?{params:n}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;let i=te(this,rt(t.animation),e),n=ba(t.expr,e.errors);return{type:S.Transition,matchers:n,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Ie(t.options)}}visitSequence(t,e){return{type:S.Sequence,steps:t.steps.map(i=>te(this,i,e)),options:Ie(t.options)}}visitGroup(t,e){let i=e.currentTime,n=0,s=t.steps.map(o=>{e.currentTime=i;let a=te(this,o,e);return n=Math.max(n,e.currentTime),a});return e.currentTime=n,{type:S.Group,steps:s,options:Ie(t.options)}}visitAnimate(t,e){let i=ka(t.timings,e.errors);e.currentAnimateTimings=i;let n,s=t.styles?t.styles:ze({});if(s.type==S.Keyframes)n=this.visitKeyframes(s,e);else{let o=t.styles,a=!1;if(!o){a=!0;let c={};i.easing&&(c.easing=i.easing),o=ze(c)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(o,e);l.isEmptyStep=a,n=l}return e.currentAnimateTimings=null,{type:S.Animate,timings:i,style:n,options:null}}visitStyle(t,e){let i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){let i=[],n=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of n)typeof a=="string"?a===ye?i.push(a):e.errors.push(Vo(a)):i.push(new Map(Object.entries(a)));let s=!1,o=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!s)){for(let l of a.values())if(l.toString().indexOf($s)>=0){s=!0;break}}}),{type:S.Style,styles:i,easing:o,offset:t.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(t,e){let i=e.currentAnimateTimings,n=e.currentTime,s=e.currentTime;i&&s>0&&(s-=i.duration+i.delay),t.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),m=c.get(l),f=!0;m&&(s!=n&&s>=m.startTime&&n<=m.endTime&&(e.errors.push(zo(l,m.startTime,m.endTime,s,n)),f=!1),s=m.startTime),f&&c.set(l,{startTime:s,endTime:n}),e.options&&ga(a,e.options,e.errors)})})}visitKeyframes(t,e){let i={type:S.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(qo()),i;let n=1,s=0,o=[],a=!1,l=!1,c=0,m=t.steps.map(M=>{let $=this._makeStyleAst(M,e),q=$.offset!=null?$.offset:Pa($.styles),B=0;return q!=null&&(s++,B=$.offset=q),l=l||B<0||B>1,a=a||B<c,c=B,o.push(B),$});l&&e.errors.push(jo()),a&&e.errors.push(Ho());let f=t.steps.length,T=0;s>0&&s<f?e.errors.push(Qo()):s==0&&(T=n/(f-1));let _=f-1,g=e.currentTime,p=e.currentAnimateTimings,w=p.duration;return m.forEach((M,$)=>{let q=T>0?$==_?1:T*$:o[$],B=q*w;e.currentTime=g+p.delay+B,p.duration=B,this._validateStyleAst(M,e),M.offset=q,i.styles.push(M)}),i}visitReference(t,e){return{type:S.Reference,animation:te(this,rt(t.animation),e),options:Ie(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:S.AnimateChild,options:Ie(t.options)}}visitAnimateRef(t,e){return{type:S.AnimateRef,animation:this.visitReference(t.animation,e),options:Ie(t.options)}}visitQuery(t,e){let i=e.currentQuerySelector,n=t.options||{};e.queryCount++,e.currentQuery=t;let[s,o]=xa(t.selector);e.currentQuerySelector=i.length?i+" "+s:s,ie(e.collectedStyles,e.currentQuerySelector,new Map);let a=te(this,rt(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:S.Query,selector:s,limit:n.limit||0,optional:!!n.optional,includeSelf:o,animation:a,originalSelector:t.selector,options:Ie(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(Ko());let i=t.timings==="full"?{duration:0,delay:0,easing:"full"}:Vt(t.timings,e.errors,!0);return{type:S.Stagger,animation:te(this,rt(t.animation),e),timings:i,options:null}}};function xa(r){let t=!!r.split(/\s*,\s*/).find(e=>e==zs);return t&&(r=r.replace(Sa,"")),r=r.replace(/@\*/g,Bt).replace(/@\w+/g,e=>Bt+"-"+e.slice(1)).replace(/:animating/g,sn),[r,t]}function Ca(r){return r?mt({},r):null}var cn=class{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function Pa(r){if(typeof r=="string")return null;let t=null;if(Array.isArray(r))r.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(r instanceof Map&&r.has("offset")){let e=r;t=parseFloat(e.get("offset")),e.delete("offset")}return t}function ka(r,t){if(r.hasOwnProperty("duration"))return r;if(typeof r=="number"){let s=Vt(r,t).duration;return Zi(s,0,"")}let e=r;if(e.split(/\s+/).some(s=>s.charAt(0)=="{"&&s.charAt(1)=="{")){let s=Zi(0,0,"");return s.dynamic=!0,s.strValue=e,s}let n=Vt(e,t);return Zi(n.duration,n.delay,n.easing)}function Ie(r){return r?(r=mt({},r),r.params&&(r.params=Ca(r.params))):r={},r}function Zi(r,t,e){return{duration:r,delay:t,easing:e}}function Cn(r,t,e,i,n,s,o=null,a=!1){return{type:1,element:r,keyframes:t,preStyleProps:e,postStyleProps:i,duration:n,delay:s,totalTime:n+s,easing:o,subTimeline:a}}var at=class{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}},Ma=1,Da=":enter",Na=new RegExp(Da,"g"),Aa=":leave",Oa=new RegExp(Aa,"g");function js(r,t,e,i,n,s=new Map,o=new Map,a,l,c=[]){return new un().buildKeyframes(r,t,e,i,n,s,o,a,l,c)}var un=class{buildKeyframes(t,e,i,n,s,o,a,l,c,m=[]){c=c||new at;let f=new pn(t,e,c,n,s,m,[]);f.options=l;let T=l.delay?Te(l.delay):0;f.currentTimeline.delayNextStep(T),f.currentTimeline.setStyles([o],null,f.errors,l),te(this,i,f);let _=f.timelines.filter(g=>g.containsAnimation());if(_.length&&a.size){let g;for(let p=_.length-1;p>=0;p--){let w=_[p];if(w.element===e){g=w;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([a],null,f.errors,l)}return _.length?_.map(g=>g.buildKeyframes()):[Cn(e,[],[],[],0,T,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){let i=e.subInstructions.get(e.element);if(i){let n=e.createSubContext(t.options),s=e.currentTimeline.currentTime,o=this._visitSubInstructions(i,n,n.options);s!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){let i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(let n of t){let s=n?.delay;if(s){let o=typeof s=="number"?s:Te(ot(s,n?.params??{},e.errors));i.delayNextStep(o)}}}_visitSubInstructions(t,e,i){let s=e.currentTimeline.currentTime,o=i.duration!=null?Te(i.duration):null,a=i.delay!=null?Te(i.delay):null;return o!==0&&t.forEach(l=>{let c=e.appendInstructionToTimeline(l,o,a);s=Math.max(s,c.duration+c.delay)}),s}visitReference(t,e){e.updateOptions(t.options,!0),te(this,t.animation,e),e.previousNode=t}visitSequence(t,e){let i=e.subContextCount,n=e,s=t.options;if(s&&(s.params||s.delay)&&(n=e.createSubContext(s),n.transformIntoNewTimeline(),s.delay!=null)){n.previousNode.type==S.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=jt);let o=Te(s.delay);n.delayNextStep(o)}t.steps.length&&(t.steps.forEach(o=>te(this,o,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){let i=[],n=e.currentTimeline.currentTime,s=t.options&&t.options.delay?Te(t.options.delay):0;t.steps.forEach(o=>{let a=e.createSubContext(t.options);s&&a.delayNextStep(s),te(this,o,a),n=Math.max(n,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(o=>e.currentTimeline.mergeTimelineCollectedStyles(o)),e.transformIntoNewTimeline(n),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){let i=t.strValue,n=e.params?ot(i,e.params,e.errors):i;return Vt(n,e.errors)}else return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){let i=e.currentAnimateTimings=this._visitTiming(t.timings,e),n=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),n.snapshotCurrentStyles());let s=t.style;s.type==S.Keyframes?this.visitKeyframes(s,e):(e.incrementTime(i.duration),this.visitStyle(s,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){let i=e.currentTimeline,n=e.currentAnimateTimings;!n&&i.hasCurrentStyleProperties()&&i.forwardFrame();let s=n&&n.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(s):i.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){let i=e.currentAnimateTimings,n=e.currentTimeline.duration,s=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*s),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(n+s),e.previousNode=t}visitQuery(t,e){let i=e.currentTimeline.currentTime,n=t.options||{},s=n.delay?Te(n.delay):0;s&&(e.previousNode.type===S.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=jt);let o=i,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!n.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,m)=>{e.currentQueryIndex=m;let f=e.createSubContext(t.options,c);s&&f.delayNextStep(s),c===e.element&&(l=f.currentTimeline),te(this,t.animation,f),f.currentTimeline.applyStylesToKeyframe();let T=f.currentTimeline.currentTime;o=Math.max(o,T)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){let i=e.parentContext,n=e.currentTimeline,s=t.timings,o=Math.abs(s.duration),a=o*(e.currentQueryTotal-1),l=o*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let m=e.currentTimeline;l&&m.delayNextStep(l);let f=m.currentTime;te(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=n.currentTime-f+(n.startTime-i.currentTimeline.startTime)}},jt={},pn=class r{constructor(t,e,i,n,s,o,a,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=n,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=jt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Ht(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;let i=t,n=this.options;i.duration!=null&&(n.duration=Te(i.duration)),i.delay!=null&&(n.delay=Te(i.delay));let s=i.params;if(s){let o=n.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!e||!o.hasOwnProperty(a))&&(o[a]=ot(s[a],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let e=this.options.params;if(e){let i=t.params={};Object.keys(e).forEach(n=>{i[n]=e[n]})}}return t}createSubContext(t=null,e,i){let n=e||this.element,s=new r(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=jt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){let n={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},s=new mn(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,n,t.stretchStartingKeyframe);return this.timelines.push(s),n}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,n,s,o){let a=[];if(n&&a.push(this.element),t.length>0){t=t.replace(Na,"."+this._enterClassName),t=t.replace(Oa,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,t,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!s&&a.length==0&&o.push(Yo(e)),a}},Ht=class r{constructor(t,e,i,n){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=n,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new r(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Ma,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||ye),this._currentKeyframe.set(e,ye);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,n){e&&this._previousKeyframe.set("easing",e);let s=n&&n.params||{},o=Ia(t,this._globalTimelineStyles);for(let[a,l]of o){let c=ot(l,s,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??ye),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{let n=this._styleSummary.get(i);(!n||e.time>n.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((m,f)=>{m===Tt?t.add(f):m===ye&&e.add(f)}),i||c.set("offset",l/this.duration),n.push(c)});let s=[...t.values()],o=[...e.values()];if(i){let a=n[0],l=new Map(a);a.set("offset",0),l.set("offset",1),n=[a,l]}return Cn(this.element,n,s,o,this.duration,this.startTime,this.easing,!1)}},mn=class extends Ht{constructor(t,e,i,n,s,o,a=!1){super(t,e,o.delay),this.keyframes=i,this.preStyleProps=n,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&e){let s=[],o=i+e,a=e/o,l=new Map(t[0]);l.set("offset",0),s.push(l);let c=new Map(t[0]);c.set("offset",Ps(a)),s.push(c);let m=t.length-1;for(let f=1;f<=m;f++){let T=new Map(t[f]),_=T.get("offset"),g=e+_*i;T.set("offset",Ps(g/o)),s.push(T)}i=o,e=0,n="",t=s}return Cn(this.element,t,this.preStyleProps,this.postStyleProps,i,e,n,!0)}};function Ps(r,t=3){let e=Math.pow(10,t-1);return Math.round(r*e)/e}function Ia(r,t){let e=new Map,i;return r.forEach(n=>{if(n==="*"){i??=t.keys();for(let s of i)e.set(s,ye)}else for(let[s,o]of n)e.set(s,o)}),e}function ks(r,t,e,i,n,s,o,a,l,c,m,f,T){return{type:0,element:r,triggerName:t,isRemovalTransition:n,fromState:e,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:m,totalTime:f,errors:T}}var Ji={},Qt=class{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,n){return Fa(this.ast.matchers,t,e,i,n)}buildStyles(t,e,i){let n=this._stateStyles.get("*");return t!==void 0&&(n=this._stateStyles.get(t?.toString())||n),n?n.buildStyles(e,i):new Map}build(t,e,i,n,s,o,a,l,c,m){let f=[],T=this.ast.options&&this.ast.options.params||Ji,_=a&&a.params||Ji,g=this.buildStyles(i,_,f),p=l&&l.params||Ji,w=this.buildStyles(n,p,f),M=new Set,$=new Map,q=new Map,B=n==="void",we={params:Hs(p,T),delay:this.ast.options?.delay},me=m?[]:js(t,e,this.ast.animation,s,o,g,w,we,c,f),G=0;return me.forEach(Z=>{G=Math.max(Z.duration+Z.delay,G)}),f.length?ks(e,this._triggerName,i,n,B,g,w,[],[],$,q,G,f):(me.forEach(Z=>{let Me=Z.element,$e=ie($,Me,new Set);Z.preStyleProps.forEach(De=>$e.add(De));let An=ie(q,Me,new Set);Z.postStyleProps.forEach(De=>An.add(De)),Me!==e&&M.add(Me)}),ks(e,this._triggerName,i,n,B,g,w,me,[...M.values()],$,q,G))}};function Fa(r,t,e,i,n){return r.some(s=>s(t,e,i,n))}function Hs(r,t){let e=mt({},t);return Object.entries(r).forEach(([i,n])=>{n!=null&&(e[i]=n)}),e}var fn=class{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){let i=new Map,n=Hs(t,this.defaultParams);return this.styles.styles.forEach(s=>{typeof s!="string"&&s.forEach((o,a)=>{o&&(o=ot(o,n,e));let l=this.normalizer.normalizePropertyName(a,e);o=this.normalizer.normalizeStyleValue(a,l,o,e),i.set(a,o)})}),i}};function La(r,t,e){return new dn(r,t,e)}var dn=class{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(n=>{let s=n.options&&n.options.params||{};this.states.set(n.name,new fn(n.style,s,i))}),Ms(this.states,"true","1"),Ms(this.states,"false","0"),e.transitions.forEach(n=>{this.transitionFactories.push(new Qt(t,n,this.states))}),this.fallbackTransition=Ra(t,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,n){return this.transitionFactories.find(o=>o.match(t,e,i,n))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}};function Ra(r,t,e){let i=[(o,a)=>!0],n={type:S.Sequence,steps:[],options:null},s={type:S.Transition,animation:n,matchers:i,options:null,queryCount:0,depCount:0};return new Qt(r,s,t)}function Ms(r,t,e){r.has(t)?r.has(e)||r.set(e,r.get(t)):r.has(e)&&r.set(t,r.get(e))}var $a=new at,hn=class{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){let i=[],n=[],s=qs(this._driver,e,i,n);if(i.length)throw Zo(i);n.length&&void 0,this._animations.set(t,s)}_buildPlayer(t,e,i){let n=t.element,s=Fs(this._normalizer,t.keyframes,e,i);return this._driver.animate(n,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){let n=[],s=this._animations.get(t),o,a=new Map;if(s?(o=js(this._driver,e,s,Bs,rn,new Map,new Map,i,$a,n),o.forEach(m=>{let f=ie(a,m.element,new Map);m.postStyleProps.forEach(T=>f.set(T,null))})):(n.push(Jo()),o=[]),n.length)throw ea(n);a.forEach((m,f)=>{m.forEach((T,_)=>{m.set(_,this._driver.computeStyle(f,_,ye))})});let l=o.map(m=>{let f=a.get(m.element);return this._buildPlayer(m,new Map,f)}),c=Pe(l);return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){let e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){let e=this._playersById.get(t);if(!e)throw ta(t);return e}listen(t,e,i,n){let s=bn(e,"","","");return vn(this._getPlayer(t),i,s,n),()=>{}}command(t,e,i,n){if(i=="register"){this.register(t,n[0]);return}if(i=="create"){let o=n[0]||{};this.create(t,e,o);return}let s=this._getPlayer(t);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(t);break}}},Ds="ng-animate-queued",Ba=".ng-animate-queued",en="ng-animate-disabled",Va=".ng-animate-disabled",za="ng-star-inserted",qa=".ng-star-inserted",ja=[],Qs={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ha={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},pe="__ng_removed",lt=class{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;let i=t&&t.hasOwnProperty("value"),n=i?t.value:t;if(this.value=Ka(n),i){let s=t,{value:o}=s,a=Ln(s,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){let e=t.params;if(e){let i=this.options.params;Object.keys(e).forEach(n=>{i[n]==null&&(i[n]=e[n])})}}},st="void",tn=new lt(st),gn=class{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,ae(e,this._hostClassName)}listen(t,e,i,n){if(!this._triggers.has(e))throw ia(i,e);if(i==null||i.length==0)throw na(e);if(!Ya(i))throw ra(i,e);let s=ie(this._elementListeners,t,[]),o={name:e,phase:i,callback:n};s.push(o);let a=ie(this._engine.statesByElement,t,new Map);return a.has(e)||(ae(t,It),ae(t,It+"-"+e),a.set(e,tn)),()=>{this._engine.afterFlush(()=>{let l=s.indexOf(o);l>=0&&s.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return this._triggers.has(t)?!1:(this._triggers.set(t,e),!0)}_getTrigger(t){let e=this._triggers.get(t);if(!e)throw sa(t);return e}trigger(t,e,i,n=!0){let s=this._getTrigger(e),o=new ct(this.id,e,t),a=this._engine.statesByElement.get(t);a||(ae(t,It),ae(t,It+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e),c=new lt(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=tn),!(c.value===st)&&l.value===c.value){if(!Ga(l.params,c.params)){let p=[],w=s.matchStyles(l.value,l.params,p),M=s.matchStyles(c.value,c.params,p);p.length?this._engine.reportError(p):this._engine.afterFlush(()=>{Fe(t,w),_e(t,M)})}return}let T=ie(this._engine.playersByElement,t,[]);T.forEach(p=>{p.namespaceId==this.id&&p.triggerName==e&&p.queued&&p.destroy()});let _=s.matchTransition(l.value,c.value,t,c.params),g=!1;if(!_){if(!n)return;_=s.fallbackTransition,g=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:_,fromState:l,toState:c,player:o,isFallbackTransition:g}),g||(ae(t,Ds),o.onStart(()=>{Ye(t,Ds)})),o.onDone(()=>{let p=this.players.indexOf(o);p>=0&&this.players.splice(p,1);let w=this._engine.playersByElement.get(t);if(w){let M=w.indexOf(o);M>=0&&w.splice(M,1)}}),this.players.push(o),T.push(o),o}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(n=>n.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);let e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){let i=this._engine.driver.query(t,Bt,!0);i.forEach(n=>{if(n[pe])return;let s=this._engine.fetchNamespacesByElement(n);s.size?s.forEach(o=>o.triggerLeaveAnimation(n,e,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(t,e,i,n){let s=this._engine.statesByElement.get(t),o=new Map;if(s){let a=[];if(s.forEach((l,c)=>{if(o.set(c,l.value),this._triggers.has(c)){let m=this.trigger(t,c,st,n);m&&a.push(m)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,o),i&&Pe(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){let e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){let n=new Set;e.forEach(s=>{let o=s.name;if(n.has(o))return;n.add(o);let l=this._triggers.get(o).fallbackTransition,c=i.get(o)||tn,m=new lt(st),f=new ct(this.id,o,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:o,transition:l,fromState:c,toState:m,player:f,isFallbackTransition:!0})})}}removeNode(t,e){let i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let n=!1;if(i.totalAnimations){let s=i.players.length?i.playersByQueriedElement.get(t):[];if(s&&s.length)n=!0;else{let o=t;for(;o=o.parentNode;)if(i.statesByElement.get(o)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(t),n)i.markElementAsRemoved(this.id,t,!1,e);else{let s=t[pe];(!s||s===Qs)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){ae(t,this._hostClassName)}drainQueuedTransitions(t){let e=[];return this._queue.forEach(i=>{let n=i.player;if(n.destroyed)return;let s=i.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==i.triggerName){let l=bn(s,i.triggerName,i.fromState.value,i.toState.value);l._data=t,vn(i.player,a.phase,l,a.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):e.push(i)}),this._queue=[],e.sort((i,n)=>{let s=i.transition.ast.depCount,o=n.transition.ast.depCount;return s==0||o==0?s-o:this._engine.driver.containsElement(i.element,n.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}},yn=class{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(n,s)=>{}}get queuedPlayers(){let t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){let i=new gn(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){let i=this._namespaceList,n=this.namespacesByHostElement;if(i.length-1>=0){let o=!1,a=this.driver.getParentElement(e);for(;a;){let l=n.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,t),o=!0;break}a=this.driver.getParentElement(a)}o||i.unshift(t)}else i.push(t);return n.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let n=this._namespaceLookup[t];n&&n.register(e,i)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(t);this.namespacesByHostElement.delete(i.hostElement);let n=this._namespaceList.indexOf(i);n>=0&&this._namespaceList.splice(n,1),i.destroy(e),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){let e=new Set,i=this.statesByElement.get(t);if(i){for(let n of i.values())if(n.namespaceId){let s=this._fetchNamespace(n.namespaceId);s&&e.add(s)}}return e}trigger(t,e,i,n){if(Rt(e)){let s=this._fetchNamespace(t);if(s)return s.trigger(e,i,n),!0}return!1}insertNode(t,e,i,n){if(!Rt(e))return;let s=e[pe];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;let o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(t){let o=this._fetchNamespace(t);o&&o.insertNode(e,i)}n&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),ae(t,en)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ye(t,en))}removeNode(t,e,i){if(Rt(e)){let n=t?this._fetchNamespace(t):null;n?n.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i);let s=this.namespacesByHostElement.get(e);s&&s.id!==t&&s.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,i,n,s){this.collectedLeaveElements.push(e),e[pe]={namespaceId:t,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(t,e,i,n,s){return Rt(e)?this._fetchNamespace(t).listen(e,i,n,s):()=>{}}_buildInstruction(t,e,i,n,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,n,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,Bt,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(t,sn,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){let e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){let e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Pe(this.players).onDone(()=>t());t()})}processLeaveNode(t){let e=t[pe];if(e&&e.setForRemoval){if(t[pe]=Qs,e.namespaceId){this.destroyInnerAnimations(t);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(en)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Va,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,n)=>this._balanceNamespaceList(i,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let n=this.collectedEnterElements[i];ae(n,za)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{e=this._flushAnimations(i,t)}finally{for(let n=0;n<i.length;n++)i[n]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let n=this.collectedLeaveElements[i];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?Pe(e).onDone(()=>{i.forEach(n=>n())}):i.forEach(n=>n())}}reportError(t){throw oa(t)}_flushAnimations(t,e){let i=new at,n=[],s=new Map,o=[],a=new Map,l=new Map,c=new Map,m=new Set;this.disabledNodes.forEach(h=>{m.add(h);let y=this.driver.query(h,Ba,!0);for(let v=0;v<y.length;v++)m.add(y[v])});let f=this.bodyNode,T=Array.from(this.statesByElement.keys()),_=Os(T,this.collectedEnterElements),g=new Map,p=0;_.forEach((h,y)=>{let v=Bs+p++;g.set(y,v),h.forEach(P=>ae(P,v))});let w=[],M=new Set,$=new Set;for(let h=0;h<this.collectedLeaveElements.length;h++){let y=this.collectedLeaveElements[h],v=y[pe];v&&v.setForRemoval&&(w.push(y),M.add(y),v.hasAnimation?this.driver.query(y,qa,!0).forEach(P=>M.add(P)):$.add(y))}let q=new Map,B=Os(T,Array.from(M));B.forEach((h,y)=>{let v=rn+p++;q.set(y,v),h.forEach(P=>ae(P,v))}),t.push(()=>{_.forEach((h,y)=>{let v=g.get(y);h.forEach(P=>Ye(P,v))}),B.forEach((h,y)=>{let v=q.get(y);h.forEach(P=>Ye(P,v))}),w.forEach(h=>{this.processLeaveNode(h)})});let we=[],me=[];for(let h=this._namespaceList.length-1;h>=0;h--)this._namespaceList[h].drainQueuedTransitions(e).forEach(v=>{let P=v.player,H=v.element;if(we.push(P),this.collectedEnterElements.length){let W=H[pe];if(W&&W.setForMove){if(W.previousTriggersValues&&W.previousTriggersValues.has(v.triggerName)){let Ne=W.previousTriggersValues.get(v.triggerName),ne=this.statesByElement.get(v.element);if(ne&&ne.has(v.triggerName)){let pt=ne.get(v.triggerName);pt.value=Ne,ne.set(v.triggerName,pt)}}P.destroy();return}}let fe=!f||!this.driver.containsElement(f,H),J=q.get(H),Ee=g.get(H),L=this._buildInstruction(v,i,Ee,J,fe);if(L.errors&&L.errors.length){me.push(L);return}if(fe){P.onStart(()=>Fe(H,L.fromStyles)),P.onDestroy(()=>_e(H,L.toStyles)),n.push(P);return}if(v.isFallbackTransition){P.onStart(()=>Fe(H,L.fromStyles)),P.onDestroy(()=>_e(H,L.toStyles)),n.push(P);return}let Fn=[];L.timelines.forEach(W=>{W.stretchStartingKeyframe=!0,this.disabledNodes.has(W.element)||Fn.push(W)}),L.timelines=Fn,i.append(H,L.timelines);let Do={instruction:L,player:P,element:H};o.push(Do),L.queriedElements.forEach(W=>ie(a,W,[]).push(P)),L.preStyleProps.forEach((W,Ne)=>{if(W.size){let ne=l.get(Ne);ne||l.set(Ne,ne=new Set),W.forEach((pt,zi)=>ne.add(zi))}}),L.postStyleProps.forEach((W,Ne)=>{let ne=c.get(Ne);ne||c.set(Ne,ne=new Set),W.forEach((pt,zi)=>ne.add(zi))})});if(me.length){let h=[];me.forEach(y=>{h.push(aa(y.triggerName,y.errors))}),we.forEach(y=>y.destroy()),this.reportError(h)}let G=new Map,Z=new Map;o.forEach(h=>{let y=h.element;i.has(y)&&(Z.set(y,y),this._beforeAnimationBuild(h.player.namespaceId,h.instruction,G))}),n.forEach(h=>{let y=h.element;this._getPreviousPlayers(y,!1,h.namespaceId,h.triggerName,null).forEach(P=>{ie(G,y,[]).push(P),P.destroy()})});let Me=w.filter(h=>Is(h,l,c)),$e=new Map;As($e,this.driver,$,c,ye).forEach(h=>{Is(h,l,c)&&Me.push(h)});let De=new Map;_.forEach((h,y)=>{As(De,this.driver,new Set(h),l,Tt)}),Me.forEach(h=>{let y=$e.get(h),v=De.get(h);$e.set(h,new Map([...y?.entries()??[],...v?.entries()??[]]))});let Vi=[],On=[],In={};o.forEach(h=>{let{element:y,player:v,instruction:P}=h;if(i.has(y)){if(m.has(y)){v.onDestroy(()=>_e(y,P.toStyles)),v.disabled=!0,v.overrideTotalTime(P.totalTime),n.push(v);return}let H=In;if(Z.size>1){let J=y,Ee=[];for(;J=J.parentNode;){let L=Z.get(J);if(L){H=L;break}Ee.push(J)}Ee.forEach(L=>Z.set(L,H))}let fe=this._buildAnimation(v.namespaceId,P,G,s,De,$e);if(v.setRealPlayer(fe),H===In)Vi.push(v);else{let J=this.playersByElement.get(H);J&&J.length&&(v.parentPlayer=Pe(J)),n.push(v)}}else Fe(y,P.fromStyles),v.onDestroy(()=>_e(y,P.toStyles)),On.push(v),m.has(y)&&n.push(v)}),On.forEach(h=>{let y=s.get(h.element);if(y&&y.length){let v=Pe(y);h.setRealPlayer(v)}}),n.forEach(h=>{h.parentPlayer?h.syncPlayerEvents(h.parentPlayer):h.destroy()});for(let h=0;h<w.length;h++){let y=w[h],v=y[pe];if(Ye(y,rn),v&&v.hasAnimation)continue;let P=[];if(a.size){let fe=a.get(y);fe&&fe.length&&P.push(...fe);let J=this.driver.query(y,sn,!0);for(let Ee=0;Ee<J.length;Ee++){let L=a.get(J[Ee]);L&&L.length&&P.push(...L)}}let H=P.filter(fe=>!fe.destroyed);H.length?Wa(this,y,H):this.processLeaveNode(y)}return w.length=0,Vi.forEach(h=>{this.players.push(h),h.onDone(()=>{h.destroy();let y=this.players.indexOf(h);this.players.splice(y,1)}),h.play()}),Vi}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,n,s){let o=[];if(e){let a=this.playersByQueriedElement.get(t);a&&(o=a)}else{let a=this.playersByElement.get(t);if(a){let l=!s||s==st;a.forEach(c=>{c.queued||!l&&c.triggerName!=n||o.push(c)})}}return(i||n)&&(o=o.filter(a=>!(i&&i!=a.namespaceId||n&&n!=a.triggerName))),o}_beforeAnimationBuild(t,e,i){let n=e.triggerName,s=e.element,o=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:n;for(let l of e.timelines){let c=l.element,m=c!==s,f=ie(i,c,[]);this._getPreviousPlayers(c,m,o,a,e.toState).forEach(_=>{let g=_.getRealPlayer();g.beforeDestroy&&g.beforeDestroy(),_.destroy(),f.push(_)})}Fe(s,e.fromStyles)}_buildAnimation(t,e,i,n,s,o){let a=e.triggerName,l=e.element,c=[],m=new Set,f=new Set,T=e.timelines.map(g=>{let p=g.element;m.add(p);let w=p[pe];if(w&&w.removedBeforeQueried)return new qe(g.duration,g.delay);let M=p!==l,$=Ua((i.get(p)||ja).map(G=>G.getRealPlayer())).filter(G=>{let Z=G;return Z.element?Z.element===p:!1}),q=s.get(p),B=o.get(p),we=Fs(this._normalizer,g.keyframes,q,B),me=this._buildPlayer(g,we,$);if(g.subTimeline&&n&&f.add(p),M){let G=new ct(t,a,p);G.setRealPlayer(me),c.push(G)}return me});c.forEach(g=>{ie(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>Qa(this.playersByQueriedElement,g.element,g))}),m.forEach(g=>ae(g,Ss));let _=Pe(T);return _.onDestroy(()=>{m.forEach(g=>Ye(g,Ss)),_e(l,e.toStyles)}),f.forEach(g=>{ie(n,g,[]).push(_)}),_}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new qe(t.duration,t.delay)}},ct=class{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new qe,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(n=>vn(t,i,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){let e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){ie(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){let e=this._player;e.triggerCallback&&e.triggerCallback(t)}};function Qa(r,t,e){let i=r.get(t);if(i){if(i.length){let n=i.indexOf(e);i.splice(n,1)}i.length==0&&r.delete(t)}return i}function Ka(r){return r??null}function Rt(r){return r&&r.nodeType===1}function Ya(r){return r=="start"||r=="done"}function Ns(r,t){let e=r.style.display;return r.style.display=t??"none",e}function As(r,t,e,i,n){let s=[];e.forEach(l=>s.push(Ns(l)));let o=[];i.forEach((l,c)=>{let m=new Map;l.forEach(f=>{let T=t.computeStyle(c,f,n);m.set(f,T),(!T||T.length==0)&&(c[pe]=Ha,o.push(c))}),r.set(c,m)});let a=0;return e.forEach(l=>Ns(l,s[a++])),o}function Os(r,t){let e=new Map;if(r.forEach(a=>e.set(a,[])),t.length==0)return e;let i=1,n=new Set(t),s=new Map;function o(a){if(!a)return i;let l=s.get(a);if(l)return l;let c=a.parentNode;return e.has(c)?l=c:n.has(c)?l=i:l=o(c),s.set(a,l),l}return t.forEach(a=>{let l=o(a);l!==i&&e.get(l).push(a)}),e}function ae(r,t){r.classList?.add(t)}function Ye(r,t){r.classList?.remove(t)}function Wa(r,t,e){Pe(e).onDone(()=>r.processLeaveNode(t))}function Ua(r){let t=[];return Ks(r,t),t}function Ks(r,t){for(let e=0;e<r.length;e++){let i=r[e];i instanceof Qi?Ks(i.players,t):t.push(i)}}function Ga(r,t){let e=Object.keys(r),i=Object.keys(t);if(e.length!=i.length)return!1;for(let n=0;n<e.length;n++){let s=e[n];if(!t.hasOwnProperty(s)||r[s]!==t[s])return!1}return!0}function Is(r,t,e){let i=e.get(r);if(!i)return!1;let n=t.get(r);return n?i.forEach(s=>n.add(s)):t.set(r,i),e.delete(r),!0}var Ue=class{constructor(t,e,i){this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(n,s)=>{},this._transitionEngine=new yn(t.body,e,i),this._timelineEngine=new hn(t.body,e,i),this._transitionEngine.onRemovalComplete=(n,s)=>this.onRemovalComplete(n,s)}registerTrigger(t,e,i,n,s){let o=t+"-"+n,a=this._triggerCache[o];if(!a){let l=[],c=[],m=qs(this._driver,s,l,c);if(l.length)throw Go(n,l);c.length&&void 0,a=La(n,m,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,n,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,n){this._transitionEngine.insertNode(t,e,i,n)}onRemove(t,e,i){this._transitionEngine.removeNode(t,e,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,n){if(i.charAt(0)=="@"){let[s,o]=Ts(i),a=n;this._timelineEngine.command(s,e,o,a)}else this._transitionEngine.trigger(t,e,i,n)}listen(t,e,i,n,s){if(i.charAt(0)=="@"){let[o,a]=Ts(i);return this._timelineEngine.listen(o,e,a,s)}return this._transitionEngine.listen(t,e,i,n,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}};function Xa(r,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=nn(t[0]),t.length>1&&(i=nn(t[t.length-1]))):t instanceof Map&&(e=nn(t)),e||i?new _n(r,e,i):null}var We=class We{constructor(t,e,i){this._element=t,this._startStyles=e,this._endStyles=i,this._state=0;let n=We.initialStylesByElement.get(t);n||We.initialStylesByElement.set(t,n=new Map),this._initialStyles=n}start(){this._state<1&&(this._startStyles&&_e(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(_e(this._element,this._initialStyles),this._endStyles&&(_e(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(We.initialStylesByElement.delete(this._element),this._startStyles&&(Fe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Fe(this._element,this._endStyles),this._endStyles=null),_e(this._element,this._initialStyles),this._state=3)}};We.initialStylesByElement=new WeakMap;var _n=We;function nn(r){let t=null;return r.forEach((e,i)=>{Za(i)&&(t=t||new Map,t.set(i,e))}),t}function Za(r){return r==="display"||r==="position"}var Kt=class{constructor(t,e,i,n){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){let e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,n)=>{n!=="offset"&&t.set(n,this._finished?i:xn(this.element,n))}),this.currentSnapshot=t}triggerCallback(t){let e=t==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Yt=class{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,e){return Ls(t,e)}getParentElement(t){return Tn(t)}query(t,e,i){return Rs(t,e,i)}computeStyle(t,e,i){return xn(t,e)}animate(t,e,i,n,s,o=[]){let a=n==0?"both":"forwards",l={duration:i,delay:n,fill:a};s&&(l.easing=s);let c=new Map,m=o.filter(_=>_ instanceof Kt);_a(i,n)&&m.forEach(_=>{_.currentSnapshot.forEach((g,p)=>c.set(p,g))});let f=ha(e).map(_=>new Map(_));f=wa(t,f,c);let T=Xa(t,f);return new Kt(t,f,l,T)}};var $t="@",Ys="@.disabled",Wt=class{constructor(t,e,i,n){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=n,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,n=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,n)}removeChild(t,e,i){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,n){this.delegate.setAttribute(t,e,i,n)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,n){this.delegate.setStyle(t,e,i,n)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){e.charAt(0)==$t&&e==Ys?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}},wn=class extends Wt{constructor(t,e,i,n,s){super(e,i,n,s),this.factory=t,this.namespaceId=e}setProperty(t,e,i){e.charAt(0)==$t?e.charAt(1)=="."&&e==Ys?(i=i===void 0?!0:!!i,this.disableAnimations(t,i)):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if(e.charAt(0)==$t){let n=Ja(t),s=e.slice(1),o="";return s.charAt(0)!=$t&&([s,o]=el(s)),this.engine.listen(this.namespaceId,n,s,o,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,i,a)})}return this.delegate.listen(t,e,i)}};function Ja(r){switch(r){case"body":return document.body;case"document":return document;case"window":return window;default:return r}}function el(r){let t=r.indexOf("."),e=r.substring(0,t),i=r.slice(t+1);return[e,i]}var Ut=class{constructor(t,e,i){this.delegate=t,this.engine=e,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,e.onRemovalComplete=(n,s)=>{s?.removeChild(null,n)}}createRenderer(t,e){let i="",n=this.delegate.createRenderer(t,e);if(!t||!e?.data?.animation){let c=this._rendererCache,m=c.get(n);if(!m){let f=()=>c.delete(n);m=new Wt(i,n,this.engine,f),c.set(n,m)}return m}let s=e.id,o=e.id+"-"+this._currentId;this._currentId++,this.engine.register(o,t);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(s,o,t,c.name,c)};return e.data.animation.forEach(a),new wn(this,o,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,i){if(t>=0&&t<this._microtaskId){this._zone.run(()=>e(i));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(s=>{let[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),n.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var il=(()=>{let t=class t extends Ue{constructor(i,n,s){super(i,n,s)}ngOnDestroy(){this.flush()}};t.\u0275fac=function(n){return new(n||t)(ue(ar),ue(Le),ue(Re))},t.\u0275prov=de({token:t,factory:t.\u0275fac});let r=t;return r})();function nl(){return new zt}function rl(r,t,e){return new Ut(r,t,e)}var Us=[{provide:Re,useFactory:nl},{provide:Ue,useClass:il},{provide:Un,useFactory:rl,deps:[hr,Ue,Kn]}],Ws=[{provide:Le,useFactory:()=>new Yt},{provide:ji,useValue:"BrowserAnimations"},...Us],sl=[{provide:Le,useClass:En},{provide:ji,useValue:"NoopAnimations"},...Us],Gs=(()=>{let t=class t{static withConfig(i){return{ngModule:t,providers:i.disableAnimations?sl:Ws}}};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Y({type:t}),t.\u0275inj=K({providers:Ws,imports:[bt]});let r=t;return r})();var ol=()=>{let r=qi(He),t=qi(qr);return r.isAuthorized$().pipe(jn(e=>{e||t.navigate([Yi.Login])}))},al=[{path:Yi.Login,loadChildren:()=>import("./chunk-OJCCQ3HF.js").then(r=>r.LogonModule)},{path:"",canActivate:[ol],loadChildren:()=>import("./chunk-S5ZVMDIF.js").then(r=>r.LayoutModule)}],Xs=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Y({type:t}),t.\u0275inj=K({imports:[Ki.forRoot(al),Ki]});let r=t;return r})();function cl(r,t){if(r&1&&(I(0,"div",12),se(1),R()),r&2){let e=N().ngIf;E(),ve(" ",e.header," ")}}function ul(r,t){if(r&1&&(I(0,"isp-banner",13),se(1),R()),r&2){let e=N().ngIf;E(),ve(" ",e.banner," ")}}function pl(r,t){if(r&1&&(I(0,"div",14),se(1),R()),r&2){let e=t.$implicit;E(),ve(" ",e," ")}}function ml(r,t){if(r&1){let e=Se();Xn(0),I(1,"isp-checkbox",18),ir("ngModelChange",function(n){V(e);let s=N().$implicit;return tr(s.value,n)||(s.value=n),z(n)}),R(),Zn()}if(r&2){let e=N().$implicit;E(),D("label",e.label),er("ngModel",e.value)}}function fl(r,t){if(r&1&&(I(0,"div"),j(1,ml,2,2,"ng-container",17),R()),r&2){let e=t.$implicit;E(),D("ngIf",e.type==="checkbox")}}function dl(r,t){if(r&1&&(I(0,"div",15),j(1,fl,2,1,"div",16),ee(2,"async"),R()),r&2){let e=N(2);E(),D("ngForOf",oe(2,1,e.fields$))}}function hl(r,t){if(r&1){let e=Se();I(0,"div",1),j(1,cl,2,1,"div",2)(2,ul,2,1,"isp-banner",3),I(3,"div",4),se(4),R(),I(5,"div",5),j(6,pl,2,1,"div",6),R(),j(7,dl,3,3,"div",7),ee(8,"async"),I(9,"div",8)(10,"button",9),re("click",function(){V(e);let n=N();return z(n.close(!0))})("focus",function(){V(e);let n=N();return z(n.focusedButton$.next("ok"))})("blur",function(){V(e);let n=N();return z(n.focusedButton$.next(null))}),se(11),R(),I(12,"span",10),re("click",function(){V(e);let n=N();return z(n.close(!1))})("focus",function(){V(e);let n=N();return z(n.focusedButton$.next("cancel"))})("blur",function(){V(e);let n=N();return z(n.focusedButton$.next(null))}),se(13),R()(),I(14,"button",11),re("focus",function(){V(e);let n=N();return z(n.focusedButton$.next("cancel"))})("blur",function(){V(e);let n=N();return z(n.focusedButton$.next(null))})("click",function(){V(e);let n=N();return z(n.close(!1))}),R()()}if(r&2){let e=t.ngIf,i=N();E(),D("ngIf",e.header),E(),D("ngIf",e.banner),E(2),Je(e.text),E(2),D("ngForOf",e.elnames),E(),D("ngIf",oe(8,11,i.fields$)),E(3),Ae("isp-button_theme_primary",!e.danger)("isp-button_theme_danger",e.danger),E(),ve(" ",e.ok," "),E(2),Je(e.cancel)}}var Zs=(()=>{let t=class t{constructor(i,n){this.confirmService=i,this.keydownService=n,this.focusedButton$=new ft(null),this.submitSubject=new $n,this.options$=this.confirmService.options$,this.fields$=this.confirmService.options$.pipe(dt(s=>s.fields)),this.keydownSubscription=this.keydownService.listen$({code:["Escape","Enter"],context:"confirm"}).subscribe(s=>{if(s.code==="Enter"){switch(this.focusedButton$.value){case"ok":this.close(!0);break;case"cancel":this.close(!1);break;default:this.close(!0)}return}this.close(!1)}),this.submitSubject.pipe(Hn(this.fields$)).subscribe(([s,o])=>{this.confirmService.close({confirmed:s,formFieldValues:s?o?.reduce((a,l)=>(a[l.name]=l.value,a),{sok:"ok"}):void 0})})}close(i){this.submitSubject.next(i)}ngOnDestroy(){this.keydownSubscription?.unsubscribe()}};t.\u0275fac=function(n){return new(n||t)(Q(kt),Q(Yr))},t.\u0275cmp=he({type:t,selectors:[["isp-confirm"]],hostVars:1,hostBindings:function(n,s){n&2&&Jn("@confirmCloseAnimation",s.confirmCloseAnimation)},decls:2,vars:3,consts:[["class","isp-confirm__window","isp-confirm-window","",4,"ngIf"],["isp-confirm-window","",1,"isp-confirm__window"],["class","isp-confirm__header",4,"ngIf"],["class","isp-confirm__banner","status","info",4,"ngIf"],[1,"isp-confirm__text"],[1,"isp-confirm__elnames","ispui-scrollbar_gray"],["class","isp-confirm__elname",4,"ngFor","ngForOf"],["class","isp-confirm__fields",4,"ngIf"],[1,"isp-confirm__buttons"],["type","button",1,"isp-button","isp-confirm__button",3,"click","focus","blur"],["tabindex","0",1,"isp-link",3,"click","focus","blur"],["type","button",1,"isp-close","isp-confirm__close",3,"focus","blur","click"],[1,"isp-confirm__header"],["status","info",1,"isp-confirm__banner"],[1,"isp-confirm__elname"],[1,"isp-confirm__fields"],[4,"ngFor","ngForOf"],[4,"ngIf"],["id","",3,"ngModelChange","label","ngModel"]],template:function(n,s){n&1&&(j(0,hl,15,13,"div",0),ee(1,"async")),n&2&&D("ngIf",oe(1,1,s.options$))},dependencies:[Ve,xe,ds,Hr,Qr,Ur,Ce],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:transparent;animation:_ngcontent-%COMP%_overlay-in .15s ease .1s forwards}.isp-confirm__window[_ngcontent-%COMP%]{position:absolute;width:420px;max-width:calc(100vw - 40px);padding:25px 30px 30px;background:var(--isp-dc-cow);border:1px solid var(--isp-dc-charlie-chaplin);border-radius:5px;opacity:0;box-shadow:var(--isp-box-shadow);animation:_ngcontent-%COMP%_window-in .15s ease .1s forwards}.isp-confirm__close[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px}.isp-confirm__close[_ngcontent-%COMP%]:hover{background-color:var(--isp-dc-zebra)}.isp-confirm__header[_ngcontent-%COMP%]{margin-bottom:15px;font-size:18px;font-weight:500}.isp-confirm__banner[_ngcontent-%COMP%]{margin-bottom:15px}.isp-confirm__text[_ngcontent-%COMP%]{font-weight:500;word-break:break-word}.isp-confirm__elnames[_ngcontent-%COMP%]{max-width:100%;max-height:138px;margin-top:7px;margin-right:-30px;overflow-y:auto;line-height:18px}.isp-confirm__elname[_ngcontent-%COMP%]{margin-bottom:5px;overflow:hidden;line-height:16px;overflow-wrap:break-word}.isp-confirm__elname[_ngcontent-%COMP%]:last-child{margin-bottom:0}.isp-confirm__fields[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px;margin-top:15px}.isp-confirm__buttons[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:20px}.isp-confirm__button[_ngcontent-%COMP%]{margin-right:20px}.isp-confirm__button.isp-button_theme_danger[_ngcontent-%COMP%]{--isp-icons-main-color: var(--isp-c-jon-snow);--isp-icons-success-color: var(--isp-c-jon-snow);--isp-icons-danger-color: var(--isp-c-jon-snow);--isp-icons-accent-color: var(--isp-c-jon-snow);color:var(--isp-c-jon-snow);background:var(--isp-dc-bright-emotions);border-color:var(--isp-dc-bright-emotions)}.isp-confirm__button.isp-button_theme_danger[_ngcontent-%COMP%]:hover{background:var(--isp-dc-red-sun);border-color:var(--isp-dc-red-sun)}@keyframes _ngcontent-%COMP%_window-in{0%{opacity:0}to{opacity:1}}@keyframes _ngcontent-%COMP%_overlay-in{0%{background:#0000}to{background:var(--isp-dc-glass)}}"],data:{animation:[yr("confirmCloseAnimation",[vr(":leave",[_r([Hi("150ms ease",ze({background:"transparent"})),br("[isp-confirm-window]",[Hi("150ms ease",ze({transform:"scale(1.1)",opacity:"0"}))])])])])]},changeDetection:0});let r=t;return r})();var kn=()=>({width:"15px",height:"15px"}),yl=(r,t)=>({collapse:r,expand:t});function _l(r,t){if(r&1){let e=Se();I(0,"div",4)(1,"button",5),re("click",function(n){V(e);let s=N();return z(s.openNC(n))}),X(2,"isp-icon-provider",6),R(),I(3,"button",7),re("click",function(n){V(e);let s=N();return z(s.hideAll(n))}),X(4,"isp-icon-provider",6),R(),I(5,"button",8),re("click",function(n){V(e);let s=N();return z(s.closeAll(n))}),se(6),X(7,"div",9),R()()}if(r&2){let e=t.ngIf,i=N();E(),D("ispTooltip",i.messages.notify_open),E(),D("name","bell_s")("inSprite",!0)("customStyle",Be(10,kn)),E(),D("ispTooltip",i.messages.msg_closeall),E(),D("name","eye_close")("inSprite",!0)("customStyle",Be(11,kn)),E(),D("ispTooltip",i.messages.notify_close_as_read),E(),ve(" ",e.length||0," ")}}function wl(r,t){r&1&&X(0,"div",17)}function vl(r,t){if(r&1){let e=Se();I(0,"span",18),re("click",function(n){V(e);let s=N().$implicit,o=N();return z(o.linkClick(n,s))}),se(1),R()}if(r&2){let e=N().$implicit;E(),Je(e.link.text)}}function bl(r,t){if(r&1){let e=Se();I(0,"div",10),re("mouseenter",function(){let n=V(e).$implicit,s=N();return z(s.pause(n))})("mouseleave",function(){let n=V(e).$implicit,s=N();return z(s.unpause(n))}),j(1,wl,1,0,"div",11),I(2,"div",12),re("click",function(){let n=V(e).$implicit,s=N();return z(s.close(n))}),R(),X(3,"isp-svg-icon",13),I(4,"isp-collapse-text",14),X(5,"div",15),R(),j(6,vl,2,1,"span",16),R()}if(r&2){let e=t.$implicit,i=N();Gn("data-notification-status",e.status),E(),D("ngIf",e.isTemporary&&e!==i.pausedNotification),E(2),D("name","s-"+e.status)("customStyle",Be(7,kn)),E(),D("messages",rr(8,yl,i.messages.msg_collapse,i.messages.notification_expand)),E(),D("innerHTML",e.message,Yn),E(),D("ngIf",e.link)}}var Js=1e4,eo=(()=>{let t=class t{get hidden(){return!this.list$.value.length}get temporaryNotificationLifetime(){return`${Js}ms`}get visibleCardsNumber(){return this.host.nativeElement.querySelectorAll(".isp-stack-card_in-stack:not(.isp-stack-card_overflown)")?.length}get messages(){return this.notificationStackService.messages||{}}constructor(i,n,s){this.notificationStackService=i,this.host=n,this.destroyRef=s,this.list$=new ft([]),this.inTransition=!1,this.fitTransition=o=>{this.inTransition=o.phase==="start";let a=this.lastTransitionHeight<o.toHeight||!this.lastTransitionHeight;o.phase==="start"?a&&(this.firstCardHeight=`${o.toHeight}px`):a?this.firstCardHeight=`${"toHeight"in o?o.toHeight:this.lastTransitionHeight}px`:(this.inTransition=!0,setTimeout(()=>{this.firstCardHeight=`${"toHeight"in o?o.toHeight:this.lastTransitionHeight}px`,this.inTransition=!1},Xr)),this.lastTransitionHeight=o.toHeight||this.lastTransitionHeight}}ngAfterViewInit(){this.notificationStackService.notifications$.pipe(zn(100),Vn(i=>!!i),Ct(this.destroyRef)).subscribe(i=>{this.updateList(i)})}identity(i){return i.id}closeAll(i){i.stopPropagation(),this.notificationStackService.closeAll()}hideAll(i){i.stopPropagation(),this.notificationStackService.hideAll()}openNC(i){i.stopPropagation(),this.notificationStackService.openNC()}close(i){this.notificationStackService.notificationEvent(i,"close",i.data)}linkClick(i,n){i.stopPropagation(),this.notificationStackService.notificationEvent(n,"link-click",n.data)}pause(i){i.isTemporary&&(this.pausedNotification=i,i.isTemporary=!1)}unpause(i){i===this.pausedNotification&&this.notificationStackService.releaseQueue()}updateList(i){return Rn(this,null,function*(){let n=this.list$.value,s=0;for(;n.length-s>0&&!i.includes(n[n.length-s-1]);)s++;s&&(s===n.length?yield this.stack.animateRemoving():yield this.stack.animateRemoving(s)),this.list$.next([...i]),i.forEach(o=>{o.isTemporary&&setTimeout(()=>{o!==this.pausedNotification&&o.isTemporary&&this.notificationStackService.close(o,!0)},Js)})})}};t.\u0275fac=function(n){return new(n||t)(Q(Zr),Q(gt),Q(ht))},t.\u0275cmp=he({type:t,selectors:[["isp-notification-stack"]],viewQuery:function(n,s){if(n&1&&_t(Pt,5),n&2){let o;wt(o=vt())&&(s.stack=o.first)}},hostVars:10,hostBindings:function(n,s){n&2&&(yt("--notification-stack_current-transition-height",s.firstCardHeight)("--isp-notification__progress-bar-duration",s.temporaryNotificationLifetime)("--isp-notification-stack-visible-cards-num",s.visibleCardsNumber),Ae("notifications-stack_hidden",s.hidden)("notifications-stack_in-transition",s.inTransition))},decls:6,vars:9,consts:[["stack",""],["class","notification-stack__buttons",4,"ngIf"],[3,"transition"],["class","notification",3,"mouseenter","mouseleave",4,"ngFor","ngForOf","ngForTrackBy"],[1,"notification-stack__buttons"],["type","button","ispTooltipPosition","top-middle",1,"notification-stack__opennc-button",3,"click","ispTooltip"],[3,"name","inSprite","customStyle"],["type","button","ispTooltipPosition","top-middle",1,"notification-stack__hide-all-button",3,"click","ispTooltip"],["type","button","ispTooltipPosition","top-middle",1,"notification-stack__close-all-button",3,"click","ispTooltip"],[1,"isp-close"],[1,"notification",3,"mouseenter","mouseleave"],["class","notification__progress-bar",4,"ngIf"],[1,"notification__close","isp-close",3,"click"],[1,"notification__icon",3,"name","customStyle"],[1,"notification__collapse",3,"messages"],[1,"notification__content",3,"innerHTML"],["class","isp-link notification__link",3,"click",4,"ngIf"],[1,"notification__progress-bar"],[1,"isp-link","notification__link",3,"click"]],template:function(n,s){if(n&1){let o=Se();j(0,_l,8,12,"div",1),ee(1,"async"),I(2,"isp-stack",2,0),re("transition",function(l){return V(o),z(s.fitTransition(l))}),j(4,bl,7,11,"div",3),ee(5,"async"),R()}n&2&&(D("ngIf",oe(1,5,s.list$)),E(2),Ae("in-transition",s.inTransition),E(2),D("ngForOf",oe(5,7,s.list$))("ngForTrackBy",s.identity))},dependencies:[Ve,xe,Pt,Br,cs,hs,us,Ce],styles:["[_nghost-%COMP%]{--isp-stack-bottom-offset: 0px;display:flex;flex-direction:column;justify-content:flex-end;width:370px;height:calc(var(--notification-stack_current-transition-height) + var(--isp-notification-stack-visible-cards-num) * 5px + 25px);padding-top:calc(var(--isp-notification-stack-visible-cards-num) * 5px + 25px + var(--isp-stack-bottom-offset));padding-left:20px;overflow-x:hidden;overflow-y:hidden;transition:padding-top 1s ease-in}.notifications-stack_hidden[_nghost-%COMP%]{display:none}.notifications-stack_in-transition[_nghost-%COMP%]   .notification-stack__buttons[_ngcontent-%COMP%]{display:none}.notification-stack__buttons[_ngcontent-%COMP%]{position:absolute;top:0;right:20px;z-index:1;display:flex;flex-direction:row;gap:5px;align-items:center;justify-content:flex-end;padding-bottom:10px;opacity:1}.notification-stack__buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{position:relative;flex:0 0 auto;order:0;height:30px;padding:0 8px;font-family:inherit;font-size:14px;line-height:16px;color:var(--isp-c-jon-snow);background:var(--isp-c-lovely-puddle);border:none;border-radius:var(--isp-border-radius-main);opacity:0;cursor:pointer;transition:opacity .2s ease 0s,top .2s ease 0s}.notification-stack__buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{background:var(--isp-dc-fremen)}[_nghost-%COMP%]:hover   .notification-stack__buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{top:0;opacity:1}[_nghost-%COMP%]:hover   .notification-stack__buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   .isp-close[_ngcontent-%COMP%]{--isp-close-icon-color: var(--isp-c-jon-snow);margin-right:-3px;margin-left:2px}[_nghost-%COMP%]:hover   .notification-stack__buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   .isp-close[_ngcontent-%COMP%]:hover{background:transparent}.notification-stack__buttons[_ngcontent-%COMP%]   button.notification-stack__close-all-button[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;height:25px;padding:0 10px;border-radius:5px}.notification-stack__buttons[_ngcontent-%COMP%]   button.notification-stack__hide-all-button[_ngcontent-%COMP%], .notification-stack__buttons[_ngcontent-%COMP%]   button.notification-stack__opennc-button[_ngcontent-%COMP%]{--isp-icons-main-color: var(--isp-c-russian-north);display:flex;width:25px;height:25px;padding:5px;background-repeat:no-repeat;background-position:center;border-radius:5px}isp-stack[_ngcontent-%COMP%]{display:block;width:330px}.notification[_ngcontent-%COMP%]{box-sizing:border-box;padding:20px 35px 20px 45px;font-size:14px;line-height:18px;border-style:solid;border-width:1px;border-radius:5px;box-shadow:var(--isp-box-shadow)}.notification[data-notification-status=danger][_ngcontent-%COMP%]{background-color:var(--isp-dc-dirty-deeds-done-dirt-cheap);border-color:var(--isp-dc-rhodochrosite)}.notification[data-notification-status=info][_ngcontent-%COMP%], .notification[data-notification-status=success][_ngcontent-%COMP%]{background-color:var(--isp-dc-cow);border-color:var(--isp-dc-charlie-chaplin)}.notification[data-notification-status=warning][_ngcontent-%COMP%]{background-color:var(--isp-dc-new-vegas);border-color:var(--isp-dc-heliodor)}.notification__close[_ngcontent-%COMP%]{position:absolute;top:7px;right:7px}.notification__icon[_ngcontent-%COMP%]{position:absolute;top:20px;left:19px}.notification__collapse[_ngcontent-%COMP%]{--isp-collapse_lines: 7}.notification__content[_ngcontent-%COMP%]{line-height:18px;word-break:break-word}.notification__link[_ngcontent-%COMP%]{display:inline-block;margin-top:5px;line-height:18px}@keyframes _ngcontent-%COMP%_progress{0%{width:0%}to{width:100%}}.notification__progress-bar[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:4px;background:var(--isp-dc-fremen);border-radius:4px;animation:var(--isp-notification__progress-bar-duration, 3s) linear 1 _ngcontent-%COMP%_progress}"],changeDetection:0});let r=t;return r})();var El=()=>({"--isp-dropdown-z-index":"var(--isp-toast-z-index)"});function Sl(r,t){if(r&1&&(I(0,"isp-dropdown",1)(1,"div",2),se(2),R()()),r&2){let e=N();D("initialOpen",!0)("anchor",e.toast.anchor)("anchorOffset",5)("alignment",e.toast.align)("direction",e.toast.direction)("hideOnDocumentClick",!1)("hideOnScroll",!1)("hideOnPopupClick",!1)("hideOnAnchorClick",!1)("cssVars",Be(11,El)),E(2),ve(" ",e.toast==null?null:e.toast.text," ")}}var Xt=(()=>{let t=class t{constructor(i,n,s){this.toastService=i,this.cdr=n,this.destroyRef=s,this.toastService.toast$.pipe(Ct(this.destroyRef)).subscribe(o=>{this.showToast(o)})}showToast(i){this.toast||(this.toast=i,this.cdr.markForCheck(),setTimeout(()=>{this.hideToast()},2e3))}hideToast(){this.toast=null,this.cdr.markForCheck()}};t.\u0275fac=function(n){return new(n||t)(Q(ps),Q(or),Q(ht))},t.\u0275cmp=he({type:t,selectors:[["isp-toast"]],standalone:!0,features:[nr],decls:1,vars:1,consts:[["trigger","click","popupClasses","isp-toast-popup",3,"initialOpen","anchor","anchorOffset","alignment","direction","hideOnDocumentClick","hideOnScroll","hideOnPopupClick","hideOnAnchorClick","cssVars",4,"ngIf"],["trigger","click","popupClasses","isp-toast-popup",3,"initialOpen","anchor","anchorOffset","alignment","direction","hideOnDocumentClick","hideOnScroll","hideOnPopupClick","hideOnAnchorClick","cssVars"],[1,"toast"]],template:function(n,s){n&1&&j(0,Sl,3,12,"isp-dropdown",0),n&2&&D("ngIf",s.toast)},dependencies:[ge,xe,Et,Sr],encapsulation:2,changeDetection:0});let r=t;return r})();var Cl=["iframe"];function Pl(r,t){if(r&1&&(X(0,"iframe",2,0),ee(2,"trust")),r&2){let e=t.$implicit;Ae("iframe_active",e.isActive)("iframe_fullpage",e.isFullPage)("iframe_forcetheme",e.forceTheme),D("id",e.id)("src",sr(2,8,e.src,"resourceUrl"),Wn)}}var to=(()=>{let t=class t{constructor(i){this.iframeKeeperService=i,this.iframesData$=this.iframeKeeperService.iframesData$}ngAfterViewInit(){this.iframes.changes.subscribe(i=>{this.iframeKeeperService.iframes$.next(i.map(n=>n.nativeElement))})}getIframeDataId(i,n){return n.id}};t.\u0275fac=function(n){return new(n||t)(Q(ws))},t.\u0275cmp=he({type:t,selectors:[["isp-iframe-keeper"]],viewQuery:function(n,s){if(n&1&&_t(Cl,5),n&2){let o;wt(o=vt())&&(s.iframes=o)}},decls:2,vars:4,consts:[["iframe",""],["class","iframe","frameborder","0",3,"iframe_active","iframe_fullpage","iframe_forcetheme","id","src",4,"ngFor","ngForOf","ngForTrackBy"],["frameborder","0",1,"iframe",3,"id","src"]],template:function(n,s){n&1&&(j(0,Pl,3,11,"iframe",1),ee(1,"async")),n&2&&D("ngForOf",oe(1,2,s.iframesData$))("ngForTrackBy",s.getIframeDataId)},dependencies:[Ve,Ce,Wr],styles:["[_nghost-%COMP%]{position:relative;display:block;width:0;height:0}.iframe[_ngcontent-%COMP%]{position:absolute;z-index:-100;border-radius:var(--isp-border-radius-main);opacity:0}.iframe_active[_ngcontent-%COMP%]{z-index:var(--isp-z-index-keepalive-frame);opacity:1;transition:opacity .1s linear .4s}.iframe_fullpage[_ngcontent-%COMP%]{border-radius:0;position:fixed;top:calc(var(--isp-topbar-top-line-height, 45px) + var(--isp-narrow-banner-height, 0px));right:0;bottom:0;left:var(--isp-sidebar-width);width:calc(100% - var(--isp-sidebar-width));height:calc(100vh - var(--isp-topbar-top-line-height, 45px) - var(--isp-narrow-banner-height, 0px));transition:left .25s ease-out,width .25s ease-out}.iframe_forcetheme[_ngcontent-%COMP%]{filter:var(--isp-d-filter-invert)}"],changeDetection:0});let r=t;return r})();function Dl(r,t){r&1&&X(0,"router-outlet")}function Nl(r,t){r&1&&X(0,"isp-confirm",2)}var io=(()=>{let t=class t{get narrowBannersHeight(){return this.appService.narrowBannersOpened?"var(--isp-opened-narrow-banner-height)":"0px"}constructor(i,n,s,o){this.appService=i,this.sidebarService=n,this.confirmService=s,this.host=o,this.showConfirm$=this.confirmService.show$,this.isLoaded$=this.appService.isLoading$.pipe(dt(a=>!a))}ngAfterViewInit(){this.sidebarService.isExpanded$.subscribe(i=>{this.host.nativeElement?.style.setProperty("--isp-sidebar-width",i?"var(--isp-full-sidebar-width)":"var(--isp-collapsed-sidebar-width)")})}ngOnInit(){this.appService.init()}ngAfterContentInit(){this.removeSkeleton()}removeSkeleton(){let i=document.getElementById("isp-skeleton-loader");if(!i)return;let n=1500,s=500;this.appService.isDesktopRendered$.pipe(qn(Boolean)).subscribe(()=>{setTimeout(()=>{i.classList.add("loader_hidden")},n),setTimeout(()=>{i.remove()},n+s)})}};t.\u0275fac=function(n){return new(n||t)(Q(He),Q(vs),Q(kt),Q(gt))},t.\u0275cmp=he({type:t,selectors:[["isp-root"]],hostVars:2,hostBindings:function(n,s){n&2&&yt("--isp-narrow-banner-height",s.narrowBannersHeight)},decls:9,vars:6,consts:[[4,"ngIf"],["class","confirm",4,"ngIf"],[1,"confirm"]],template:function(n,s){n&1&&(X(0,"isp-iframe-keeper"),j(1,Dl,1,0,"router-outlet",0),ee(2,"async"),X(3,"isp-svg-sprite")(4,"isp-dropdown-container")(5,"isp-notification-stack"),j(6,Nl,1,0,"isp-confirm",1),ee(7,"async"),X(8,"isp-toast")),n&2&&(E(),D("ngIf",oe(2,2,s.isLoaded$)),E(5),D("ngIf",oe(7,4,s.showConfirm$)))},dependencies:[xe,zr,Vr,Er,Zs,eo,Xt,to,Ce],styles:[".confirm[_ngcontent-%COMP%]{z-index:var(--isp-z-index-confirm)}isp-notification-stack[_ngcontent-%COMP%]{position:absolute;right:0;bottom:10px;z-index:var(--isp-notification-group-z-index)}"],changeDetection:0});let r=t;return r})();var no=(()=>{let t=class t{getPanelInfo(){return Bn({panelType:"isp",panelVersion:pageInfo.version,appVersion:pageInfo.version,panelLisence:pageInfo.licid,panelUserId:Number(pageInfo.userid),panelInstanceId:1,panelUserRole:[pageInfo.level],panelData:{}})}isMetricIgnored(){return!je.production}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=de({token:t,factory:t.\u0275fac});let r=t;return r})();var ro=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Y({type:t}),t.\u0275inj=K({imports:[ge,ys,Kr,Jr]});let r=t;return r})();var Zt=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Y({type:t}),t.\u0275inj=K({imports:[ge]});let r=t;return r})();var so=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Y({type:t}),t.\u0275inj=K({imports:[ge,Zt,xt,_s,gs]});let r=t;return r})();function oo(r,t){return Mt(r,t*12)}function ao(r,t){let e=O(r);if(isNaN(e.getTime()))throw new RangeError("Invalid time value");let i=t?.format??"extended",n=t?.representation??"complete",s="",o="",a=i==="extended"?"-":"",l=i==="extended"?":":"";if(n!=="time"){let c=be(e.getDate(),2),m=be(e.getMonth()+1,2);s=`${be(e.getFullYear(),4)}${a}${m}${a}${c}`}if(n!=="date"){let c=e.getTimezoneOffset();if(c!==0){let p=Math.abs(c),w=be(Math.trunc(p/60),2),M=be(p%60,2);o=`${c<0?"+":"-"}${w}:${M}`}else o="Z";let m=be(e.getHours(),2),f=be(e.getMinutes(),2),T=be(e.getSeconds(),2),_=s===""?"":"T",g=[m,f,T].join(l);s=`${s}${_}${g}${o}`}return s}function lo(r){return O(r).getDate()}function co(r){return O(r).getDay()}function uo(r){let t=O(r),e=t.getFullYear(),i=t.getMonth(),n=F(r,0);return n.setFullYear(e,i+1,0),n.setHours(0,0,0,0),n.getDate()}function po(){return Object.assign({},St())}function mo(r){let e=O(r).getDay();return e===0&&(e=7),e}function fo(r){return O(r).getMonth()}function ho(r){return O(r).getFullYear()}function go(r,t){let e=t instanceof Date?F(t,0):new t(0);return e.setFullYear(r.getFullYear(),r.getMonth(),r.getDate()),e.setHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),e}var Al=10,Jt=class{constructor(){u(this,"subPriority",0)}validate(t,e){return!0}},ei=class extends Jt{constructor(t,e,i,n,s){super(),this.value=t,this.validateValue=e,this.setValue=i,this.priority=n,s&&(this.subPriority=s)}validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,i){return this.setValue(t,e,this.value,i)}},ti=class extends Jt{constructor(){super(...arguments);u(this,"priority",Al);u(this,"subPriority",-1)}set(e,i){return i.timestampIsSet?e:F(e,go(e,Date))}};var d=class{run(t,e,i,n){let s=this.parse(t,e,i,n);return s?{setter:new ei(s.value,this.validate,this.set,this.priority,this.subPriority),rest:s.rest}:null}validate(t,e,i){return!0}};var ii=class extends d{constructor(){super(...arguments);u(this,"priority",140);u(this,"incompatibleTokens",["R","u","t","T"])}parse(e,i,n){switch(i){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});case"GGGG":default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,i,n){return i.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}};var C={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},le={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function A(r,t){return r&&{value:t(r.value),rest:r.rest}}function x(r,t){let e=t.match(r);return e?{value:parseInt(e[0],10),rest:t.slice(e[0].length)}:null}function ce(r,t){let e=t.match(r);if(!e)return null;if(e[0]==="Z")return{value:0,rest:t.slice(1)};let i=e[1]==="+"?1:-1,n=e[2]?parseInt(e[2],10):0,s=e[3]?parseInt(e[3],10):0,o=e[5]?parseInt(e[5],10):0;return{value:i*(n*nt+s*it+o*es),rest:t.slice(e[0].length)}}function ni(r){return x(C.anyDigitsSigned,r)}function b(r,t){switch(r){case 1:return x(C.singleDigit,t);case 2:return x(C.twoDigits,t);case 3:return x(C.threeDigits,t);case 4:return x(C.fourDigits,t);default:return x(new RegExp("^\\d{1,"+r+"}"),t)}}function Ge(r,t){switch(r){case 1:return x(C.singleDigitSigned,t);case 2:return x(C.twoDigitsSigned,t);case 3:return x(C.threeDigitsSigned,t);case 4:return x(C.fourDigitsSigned,t);default:return x(new RegExp("^-?\\d{1,"+r+"}"),t)}}function Xe(r){switch(r){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function ri(r,t){let e=t>0,i=e?t:1-t,n;if(i<=50)n=r||100;else{let s=i+50,o=Math.trunc(s/100)*100,a=r>=s%100;n=r+o-(a?100:0)}return e?n:1-n}function si(r){return r%400===0||r%4===0&&r%100!==0}var oi=class extends d{constructor(){super(...arguments);u(this,"priority",130);u(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(e,i,n){let s=o=>({year:o,isTwoDigitYear:i==="yy"});switch(i){case"y":return A(b(4,e),s);case"yo":return A(n.ordinalNumber(e,{unit:"year"}),s);default:return A(b(i.length,e),s)}}validate(e,i){return i.isTwoDigitYear||i.year>0}set(e,i,n){let s=e.getFullYear();if(n.isTwoDigitYear){let a=ri(n.year,s);return e.setFullYear(a,0,1),e.setHours(0,0,0,0),e}let o=!("era"in i)||i.era===1?n.year:1-n.year;return e.setFullYear(o,0,1),e.setHours(0,0,0,0),e}};var ai=class extends d{constructor(){super(...arguments);u(this,"priority",130);u(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(e,i,n){let s=o=>({year:o,isTwoDigitYear:i==="YY"});switch(i){case"Y":return A(b(4,e),s);case"Yo":return A(n.ordinalNumber(e,{unit:"year"}),s);default:return A(b(i.length,e),s)}}validate(e,i){return i.isTwoDigitYear||i.year>0}set(e,i,n,s){let o=rs(e,s);if(n.isTwoDigitYear){let l=ri(n.year,o);return e.setFullYear(l,0,s.firstWeekContainsDate),e.setHours(0,0,0,0),et(e,s)}let a=!("era"in i)||i.era===1?n.year:1-n.year;return e.setFullYear(a,0,s.firstWeekContainsDate),e.setHours(0,0,0,0),et(e,s)}};var li=class extends d{constructor(){super(...arguments);u(this,"priority",130);u(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(e,i){return i==="R"?Ge(4,e):Ge(i.length,e)}set(e,i,n){let s=F(e,0);return s.setFullYear(n,0,4),s.setHours(0,0,0,0),Dt(s)}};var ci=class extends d{constructor(){super(...arguments);u(this,"priority",130);u(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(e,i){return i==="u"?Ge(4,e):Ge(i.length,e)}set(e,i,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}};var ui=class extends d{constructor(){super(...arguments);u(this,"priority",120);u(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,i,n){switch(i){case"Q":case"QQ":return b(i.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,i){return i>=1&&i<=4}set(e,i,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}};var pi=class extends d{constructor(){super(...arguments);u(this,"priority",120);u(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,i,n){switch(i){case"q":case"qq":return b(i.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,i){return i>=1&&i<=4}set(e,i,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}};var mi=class extends d{constructor(){super(...arguments);u(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);u(this,"priority",110)}parse(e,i,n){let s=o=>o-1;switch(i){case"M":return A(x(C.month,e),s);case"MM":return A(b(2,e),s);case"Mo":return A(n.ordinalNumber(e,{unit:"month"}),s);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,i){return i>=0&&i<=11}set(e,i,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}};var fi=class extends d{constructor(){super(...arguments);u(this,"priority",110);u(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(e,i,n){let s=o=>o-1;switch(i){case"L":return A(x(C.month,e),s);case"LL":return A(b(2,e),s);case"Lo":return A(n.ordinalNumber(e,{unit:"month"}),s);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,i){return i>=0&&i<=11}set(e,i,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}};function yo(r,t,e){let i=O(r),n=ss(i,e)-t;return i.setDate(i.getDate()-n*7),i}var di=class extends d{constructor(){super(...arguments);u(this,"priority",100);u(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(e,i,n){switch(i){case"w":return x(C.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return b(i.length,e)}}validate(e,i){return i>=1&&i<=53}set(e,i,n,s){return et(yo(e,n,s),s)}};function _o(r,t){let e=O(r),i=ns(e)-t;return e.setDate(e.getDate()-i*7),e}var hi=class extends d{constructor(){super(...arguments);u(this,"priority",100);u(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(e,i,n){switch(i){case"I":return x(C.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return b(i.length,e)}}validate(e,i){return i>=1&&i<=53}set(e,i,n){return Dt(_o(e,n))}};var Ol=[31,28,31,30,31,30,31,31,30,31,30,31],Il=[31,29,31,30,31,30,31,31,30,31,30,31],gi=class extends d{constructor(){super(...arguments);u(this,"priority",90);u(this,"subPriority",1);u(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(e,i,n){switch(i){case"d":return x(C.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return b(i.length,e)}}validate(e,i){let n=e.getFullYear(),s=si(n),o=e.getMonth();return s?i>=1&&i<=Il[o]:i>=1&&i<=Ol[o]}set(e,i,n){return e.setDate(n),e.setHours(0,0,0,0),e}};var yi=class extends d{constructor(){super(...arguments);u(this,"priority",90);u(this,"subpriority",1);u(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(e,i,n){switch(i){case"D":case"DD":return x(C.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return b(i.length,e)}}validate(e,i){let n=e.getFullYear();return si(n)?i>=1&&i<=366:i>=1&&i<=365}set(e,i,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}};function Ze(r,t,e){let i=St(),n=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,s=O(r),o=s.getDay(),l=(t%7+7)%7,c=7-n,m=t<0||t>6?t-(o+c)%7:(l+c)%7-(o+c)%7;return Qe(s,m)}var _i=class extends d{constructor(){super(...arguments);u(this,"priority",90);u(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(e,i,n){switch(i){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,i){return i>=0&&i<=6}set(e,i,n,s){return e=Ze(e,n,s),e.setHours(0,0,0,0),e}};var wi=class extends d{constructor(){super(...arguments);u(this,"priority",90);u(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(e,i,n,s){let o=a=>{let l=Math.floor((a-1)/7)*7;return(a+s.weekStartsOn+6)%7+l};switch(i){case"e":case"ee":return A(b(i.length,e),o);case"eo":return A(n.ordinalNumber(e,{unit:"day"}),o);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,i){return i>=0&&i<=6}set(e,i,n,s){return e=Ze(e,n,s),e.setHours(0,0,0,0),e}};var vi=class extends d{constructor(){super(...arguments);u(this,"priority",90);u(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(e,i,n,s){let o=a=>{let l=Math.floor((a-1)/7)*7;return(a+s.weekStartsOn+6)%7+l};switch(i){case"c":case"cc":return A(b(i.length,e),o);case"co":return A(n.ordinalNumber(e,{unit:"day"}),o);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,i){return i>=0&&i<=6}set(e,i,n,s){return e=Ze(e,n,s),e.setHours(0,0,0,0),e}};function wo(r,t){let e=O(r),i=mo(e),n=t-i;return Qe(e,n)}var bi=class extends d{constructor(){super(...arguments);u(this,"priority",90);u(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(e,i,n){let s=o=>o===0?7:o;switch(i){case"i":case"ii":return b(i.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return A(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),s);case"iiiii":return A(n.day(e,{width:"narrow",context:"formatting"}),s);case"iiiiii":return A(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),s);case"iiii":default:return A(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),s)}}validate(e,i){return i>=1&&i<=7}set(e,i,n){return e=wo(e,n),e.setHours(0,0,0,0),e}};var Ti=class extends d{constructor(){super(...arguments);u(this,"priority",80);u(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(e,i,n){switch(i){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,i,n){return e.setHours(Xe(n),0,0,0),e}};var Ei=class extends d{constructor(){super(...arguments);u(this,"priority",80);u(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(e,i,n){switch(i){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,i,n){return e.setHours(Xe(n),0,0,0),e}};var Si=class extends d{constructor(){super(...arguments);u(this,"priority",80);u(this,"incompatibleTokens",["a","b","t","T"])}parse(e,i,n){switch(i){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,i,n){return e.setHours(Xe(n),0,0,0),e}};var xi=class extends d{constructor(){super(...arguments);u(this,"priority",70);u(this,"incompatibleTokens",["H","K","k","t","T"])}parse(e,i,n){switch(i){case"h":return x(C.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return b(i.length,e)}}validate(e,i){return i>=1&&i<=12}set(e,i,n){let s=e.getHours()>=12;return s&&n<12?e.setHours(n+12,0,0,0):!s&&n===12?e.setHours(0,0,0,0):e.setHours(n,0,0,0),e}};var Ci=class extends d{constructor(){super(...arguments);u(this,"priority",70);u(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(e,i,n){switch(i){case"H":return x(C.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return b(i.length,e)}}validate(e,i){return i>=0&&i<=23}set(e,i,n){return e.setHours(n,0,0,0),e}};var Pi=class extends d{constructor(){super(...arguments);u(this,"priority",70);u(this,"incompatibleTokens",["h","H","k","t","T"])}parse(e,i,n){switch(i){case"K":return x(C.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return b(i.length,e)}}validate(e,i){return i>=0&&i<=11}set(e,i,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}};var ki=class extends d{constructor(){super(...arguments);u(this,"priority",70);u(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(e,i,n){switch(i){case"k":return x(C.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return b(i.length,e)}}validate(e,i){return i>=1&&i<=24}set(e,i,n){let s=n<=24?n%24:n;return e.setHours(s,0,0,0),e}};var Mi=class extends d{constructor(){super(...arguments);u(this,"priority",60);u(this,"incompatibleTokens",["t","T"])}parse(e,i,n){switch(i){case"m":return x(C.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return b(i.length,e)}}validate(e,i){return i>=0&&i<=59}set(e,i,n){return e.setMinutes(n,0,0),e}};var Di=class extends d{constructor(){super(...arguments);u(this,"priority",50);u(this,"incompatibleTokens",["t","T"])}parse(e,i,n){switch(i){case"s":return x(C.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return b(i.length,e)}}validate(e,i){return i>=0&&i<=59}set(e,i,n){return e.setSeconds(n,0),e}};var Ni=class extends d{constructor(){super(...arguments);u(this,"priority",30);u(this,"incompatibleTokens",["t","T"])}parse(e,i){let n=s=>Math.trunc(s*Math.pow(10,-i.length+3));return A(b(i.length,e),n)}set(e,i,n){return e.setMilliseconds(n),e}};var Ai=class extends d{constructor(){super(...arguments);u(this,"priority",10);u(this,"incompatibleTokens",["t","T","x"])}parse(e,i){switch(i){case"X":return ce(le.basicOptionalMinutes,e);case"XX":return ce(le.basic,e);case"XXXX":return ce(le.basicOptionalSeconds,e);case"XXXXX":return ce(le.extendedOptionalSeconds,e);case"XXX":default:return ce(le.extended,e)}}set(e,i,n){return i.timestampIsSet?e:F(e,e.getTime()-Nt(e)-n)}};var Oi=class extends d{constructor(){super(...arguments);u(this,"priority",10);u(this,"incompatibleTokens",["t","T","X"])}parse(e,i){switch(i){case"x":return ce(le.basicOptionalMinutes,e);case"xx":return ce(le.basic,e);case"xxxx":return ce(le.basicOptionalSeconds,e);case"xxxxx":return ce(le.extendedOptionalSeconds,e);case"xxx":default:return ce(le.extended,e)}}set(e,i,n){return i.timestampIsSet?e:F(e,e.getTime()-Nt(e)-n)}};var Ii=class extends d{constructor(){super(...arguments);u(this,"priority",40);u(this,"incompatibleTokens","*")}parse(e){return ni(e)}set(e,i,n){return[F(e,n*1e3),{timestampIsSet:!0}]}};var Fi=class extends d{constructor(){super(...arguments);u(this,"priority",20);u(this,"incompatibleTokens","*")}parse(e){return ni(e)}set(e,i,n){return[F(e,n),{timestampIsSet:!0}]}};var vo={G:new ii,y:new oi,Y:new ai,R:new li,u:new ci,Q:new ui,q:new pi,M:new mi,L:new fi,w:new di,I:new hi,d:new gi,D:new yi,E:new _i,e:new wi,c:new vi,i:new bi,a:new Ti,b:new Ei,B:new Si,h:new xi,H:new Ci,K:new Pi,k:new ki,m:new Mi,s:new Di,S:new Ni,X:new Ai,x:new Oi,t:new Ii,T:new Fi};var Fl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ll=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Rl=/^'([^]*?)'?$/,$l=/''/g,Bl=/\S/,Vl=/[a-zA-Z]/;function bo(r,t,e,i){let n=po(),s=i?.locale??n.locale??tt,o=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,a=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0;if(t==="")return r===""?O(e):F(e,NaN);let l={firstWeekContainsDate:o,weekStartsOn:a,locale:s},c=[new ti],m=t.match(Ll).map(p=>{let w=p[0];if(w in Wi){let M=Wi[w];return M(p,s.formatLong)}return p}).join("").match(Fl),f=[];for(let p of m){!i?.useAdditionalWeekYearTokens&&as(p)&&Ui(p,t,r),!i?.useAdditionalDayOfYearTokens&&os(p)&&Ui(p,t,r);let w=p[0],M=vo[w];if(M){let{incompatibleTokens:$}=M;if(Array.isArray($)){let B=f.find(we=>$.includes(we.token)||we.token===w);if(B)throw new RangeError(`The format string mustn't contain \`${B.fullToken}\` and \`${p}\` at the same time`)}else if(M.incompatibleTokens==="*"&&f.length>0)throw new RangeError(`The format string mustn't contain \`${p}\` and any other token at the same time`);f.push({token:w,fullToken:p});let q=M.run(r,p,s.match,l);if(!q)return F(e,NaN);c.push(q.setter),r=q.rest}else{if(w.match(Vl))throw new RangeError("Format string contains an unescaped latin alphabet character `"+w+"`");if(p==="''"?p="'":w==="'"&&(p=zl(p)),r.indexOf(p)===0)r=r.slice(p.length);else return F(e,NaN)}}if(r.length>0&&Bl.test(r))return F(e,NaN);let T=c.map(p=>p.priority).sort((p,w)=>w-p).filter((p,w,M)=>M.indexOf(p)===w).map(p=>c.filter(w=>w.priority===p).sort((w,M)=>M.subPriority-w.subPriority)).map(p=>p[0]),_=O(e);if(isNaN(_.getTime()))return F(e,NaN);let g={};for(let p of T){if(!p.validate(_,l))return F(e,NaN);let w=p.set(_,g,l);Array.isArray(w)?(_=w[0],Object.assign(g,w[1])):_=w}return F(e,_)}function zl(r){return r.match(Rl)[1].replace($l,"'")}function Dn(r,t){let e=t?.additionalDigits??2,i=Ql(r),n;if(i.date){let l=Kl(i.date,e);n=Yl(l.restDateString,l.year)}if(!n||isNaN(n.getTime()))return new Date(NaN);let s=n.getTime(),o=0,a;if(i.time&&(o=Wl(i.time),isNaN(o)))return new Date(NaN);if(i.timezone){if(a=Ul(i.timezone),isNaN(a))return new Date(NaN)}else{let l=new Date(s+o),c=new Date(0);return c.setFullYear(l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()),c.setHours(l.getUTCHours(),l.getUTCMinutes(),l.getUTCSeconds(),l.getUTCMilliseconds()),c}return new Date(s+o+a)}var Li={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},ql=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,jl=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Hl=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Ql(r){let t={},e=r.split(Li.dateTimeDelimiter),i;if(e.length>2)return t;if(/:/.test(e[0])?i=e[0]:(t.date=e[0],i=e[1],Li.timeZoneDelimiter.test(t.date)&&(t.date=r.split(Li.timeZoneDelimiter)[0],i=r.substr(t.date.length,r.length))),i){let n=Li.timezone.exec(i);n?(t.time=i.replace(n[1],""),t.timezone=n[1]):t.time=i}return t}function Kl(r,t){let e=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),i=r.match(e);if(!i)return{year:NaN,restDateString:""};let n=i[1]?parseInt(i[1]):null,s=i[2]?parseInt(i[2]):null;return{year:s===null?n:s*100,restDateString:r.slice((i[1]||i[2]).length)}}function Yl(r,t){if(t===null)return new Date(NaN);let e=r.match(ql);if(!e)return new Date(NaN);let i=!!e[4],n=ut(e[1]),s=ut(e[2])-1,o=ut(e[3]),a=ut(e[4]),l=ut(e[5])-1;if(i)return ec(t,a,l)?Gl(t,a,l):new Date(NaN);{let c=new Date(0);return!Zl(t,s,o)||!Jl(t,n)?new Date(NaN):(c.setUTCFullYear(t,s,Math.max(n,o)),c)}}function ut(r){return r?parseInt(r):1}function Wl(r){let t=r.match(jl);if(!t)return NaN;let e=Mn(t[1]),i=Mn(t[2]),n=Mn(t[3]);return tc(e,i,n)?e*nt+i*it+n*1e3:NaN}function Mn(r){return r&&parseFloat(r.replace(",","."))||0}function Ul(r){if(r==="Z")return 0;let t=r.match(Hl);if(!t)return 0;let e=t[1]==="+"?-1:1,i=parseInt(t[2]),n=t[3]&&parseInt(t[3])||0;return ic(i,n)?e*(i*nt+n*it):NaN}function Gl(r,t,e){let i=new Date(0);i.setUTCFullYear(r,0,4);let n=i.getUTCDay()||7,s=(t-1)*7+e+1-n;return i.setUTCDate(i.getUTCDate()+s),i}var Xl=[31,null,31,30,31,30,31,31,30,31,30,31];function To(r){return r%400===0||r%4===0&&r%100!==0}function Zl(r,t,e){return t>=0&&t<=11&&e>=1&&e<=(Xl[t]||(To(r)?29:28))}function Jl(r,t){return t>=1&&t<=(To(r)?366:365)}function ec(r,t,e){return t>=1&&t<=53&&e>=0&&e<=6}function tc(r,t,e){return r===24?t===0&&e===0:e>=0&&e<60&&t>=0&&t<60&&r>=0&&r<25}function ic(r,t){return t>=0&&t<=59}function Nn(r,t){let e=Array(r);for(let i=0;i<r;i++)e[i]=t(i);return e}var nc={long:"LLLL",short:"LLL",narrow:"LLLLL"},rc={long:"EEEE",short:"EEE",narrow:"EEEEE"},Eo=(()=>{let t=class t extends Ke{constructor(i){super(),this.setLocale(i)}getYear(i){return ho(i)}getMonth(i){return fo(i)}getDate(i){return lo(i)}getDayOfWeek(i){return co(i)}getMonthNames(i){let n=nc[i];return Nn(12,s=>this.format(new Date(2017,s,1),n))}getDateNames(){let i=typeof Intl<"u"?new Intl.DateTimeFormat(this.locale.code,{day:"numeric",timeZone:"utc"}):null;return Nn(31,n=>{if(i){let s=new Date;return s.setUTCFullYear(2017,0,n+1),s.setUTCHours(0,0,0,0),i.format(s).replace(/[\u200e\u200f]/g,"")}return n+""})}getDayOfWeekNames(i){let n=rc[i];return Nn(7,s=>this.format(new Date(2017,0,s+1),n))}getYearName(i){return this.format(i,"y")}getFirstDayOfWeek(){return this.locale.options?.weekStartsOn??0}getNumDaysInMonth(i){return uo(i)}clone(i){return new Date(i.getTime())}createDate(i,n,s){let o=new Date;return o.setFullYear(i,n,s),o.setHours(0,0,0,0),o.getMonth()!=n,o}today(){return new Date}parse(i,n){if(typeof i=="string"&&i.length>0){let s=Dn(i);if(this.isValid(s))return s;let o=Array.isArray(n)?n:[n];if(!n.length)throw Error("Formats array must not be empty.");for(let a of o){let l=bo(i,a,new Date,{locale:this.locale});if(this.isValid(l))return l}return this.invalid()}else{if(typeof i=="number")return new Date(i);if(i instanceof Date)return this.clone(i)}return null}format(i,n){if(!this.isValid(i))throw Error("DateFnsAdapter: Cannot format invalid date.");return ls(i,n,{locale:this.locale})}addCalendarYears(i,n){return oo(i,n)}addCalendarMonths(i,n){return Mt(i,n)}addCalendarDays(i,n){return Qe(i,n)}toIso8601(i){return ao(i,{representation:"date"})}deserialize(i){if(typeof i=="string"){if(!i)return null;let n=Dn(i);if(this.isValid(n))return n}return super.deserialize(i)}isDateInstance(i){return ts(i)}isValid(i){return is(i)}invalid(){return new Date(NaN)}};t.\u0275fac=function(n){return new(n||t)(ue(Ot,8))},t.\u0275prov=de({token:t,factory:t.\u0275fac});let r=t;return r})(),So={parse:{dateInput:"P"},display:{dateInput:"P",monthYearLabel:"LLL uuuu",dateA11yLabel:"PP",monthYearA11yLabel:"LLLL uuuu"}};var xo=(()=>{let t=class t extends Eo{getDayOfWeekNames(){return Array.from({length:7},(i,n)=>this.format(new Date(2017,0,n+1),"EEEEEE"))}getFirstDayOfWeek(){return 1}};t.\u0275fac=(()=>{let i;return function(s){return(i||(i=Qn(t)))(s||t)}})(),t.\u0275prov=de({token:t,factory:t.\u0275fac});let r=t;return r})();var Co=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Y({type:t}),t.\u0275inj=K({imports:[ge,Gr]});let r=t;return r})();var Po=(()=>{let t=class t{constructor(i){this.collectorService=i,this.collectorService.init()}static forRoot(i,n){return{ngModule:t,providers:[At,{provide:ms,useValue:i},{provide:fs,useClass:n}]}}};t.\u0275fac=function(n){return new(n||t)(ue(At))},t.\u0275mod=Y({type:t}),t.\u0275inj=K({});let r=t;return r})();var ke=class extends dr{supports(t){return t.split(".").includes(this.modifier)}extractEventName(t){return t.split(".").filter(e=>!this.modifier.includes(e)).join(".")}};var Ri=class extends ke{constructor(){super(...arguments),this.modifier="prevent"}addEventListener(t,e,i){let n=s=>{s.preventDefault(),i(s)};return this.manager.addEventListener(t,this.extractEventName(e),n)}};var $i=class extends ke{constructor(){super(...arguments),this.modifier="stop"}addEventListener(t,e,i){let n=s=>{s.stopPropagation(),i(s)};return this.manager.addEventListener(t,this.extractEventName(e),n)}};var Bi=class extends ke{constructor(){super(...arguments),this.modifier="self"}addEventListener(t,e,i){let n=s=>{s.target===s.currentTarget&&i(s)};return this.manager.addEventListener(t,this.extractEventName(e),n)}};var sc=[Ri,$i,Bi],ko=sc.map(r=>({provide:fr,multi:!0,useClass:r}));var Mo=(()=>{let t=class t{constructor(i,n){this.appService=i,this.dateAdapter=n,this.appService.desktop$.subscribe(s=>{let o={en:tt,ru:Fr,be:xr,de:Cr,es:Pr,fr:kr,id:Mr,it:Dr,nl:Nr,pl:Ar,pt:Or,pt_BR:Ir,tr:Lr,ua:Rr,zh:$r}[s.$lang]||tt;this.dateAdapter.setLocale(o)})}};t.\u0275fac=function(n){return new(n||t)(ue(He),ue(Ke))},t.\u0275mod=Y({type:t,bootstrap:[io]}),t.\u0275inj=K({providers:[jr,ur,{provide:lr,useClass:cr},{provide:Ke,useClass:xo,deps:[Ot]},{provide:Gi,useValue:So},pr(mr()),ko],imports:[Gs,bt,Xs,Tr.register("/manimg/dragon/isp-worker-wrapper.js",{enabled:je.production,scope:"/",registrationStrategy:"registerImmediately"}),xt,Et,ro,Zt,so,Xt,Co,Po.forRoot({timeout:5e3,url:"/mancgi/metric_cgi"},no)]});let r=t;return r})();je.production&&void 0;gr().bootstrapModule(Mo).catch(r=>console.error(r));