PageSourceSearch

https://agenzie.snav.it/main-6T7V6TZP.js

js snav.it collected 2026-09-24 21:34:51 UTC 85,702 bytes, 1 lines download raw bytes

1import{a as pn,b as gn}from"./chunk-RC3XJQBI.js";import{a as Ye}from"./chunk-REQ2JH5F.js";import{a as ln,c as un}from"./chunk-TLO5PL7N.js";import{a as dn,b as mn,c as fn}from"./chunk-2S5YAEGG.js";import{a as sn,b as on}from"./chunk-43T3ATHV.js";import{a as cn,i as hn}from"./chunk-TOWHOTVV.js";import"./chunk-CVVS3FGJ.js";import{a as nn}from"./chunk-ZFYXHJNX.js";import{g as rn}from"./chunk-UQZCMLB6.js";import"./chunk-7BNPS67Y.js";import"./chunk-VLVGBQ7B.js";import{f as an}from"./chunk-DYKLGOUB.js";import"./chunk-H57IUGCN.js";import"./chunk-UDMBMMTR.js";import{b as qi,c as Gi,d as Yi,f as Xi,h as A,j as tn,l as Q}from"./chunk-FZCFTKJV.js";import"./chunk-HWMYSM77.js";import{b as ki,c as Ri,e as qe,f as Ii,g as Oi,h as Fi,i as Ae,j as Bi,k as $i,l as Pt,n as Ge,o as Ve,p as zi,q as xi,s as ji,t as j,v as Ki,w as Hi,x as Ui,y as Ct,z as M}from"./chunk-6Q5WBHWI.js";import{a as v,b as V,f as Ji,g as Nt,m as ve,n as Dt,o as Qe}from"./chunk-RGNDWIHZ.js";import{d as Ue,j as _e,q as Ni,qa as Vi,ta as Qi,va as Wi,x as Di,z as Li}from"./chunk-4MEJVXLS.js";import{A as St,Aa as Ei,Ab as Be,Bb as $e,Bc as J,Cb as ze,Cc as Y,G as gi,Hb as wt,L as yi,La as bi,Lb as ue,Ma as Tt,Mb as te,Nb as xe,Qc as Ci,R as _i,T as Et,U as bt,X as Oe,Xb as At,Z as E,Zb as je,a as mi,ba as O,bd as Zi,c as fi,ca as ae,cd as We,db as Mi,dd as en,ea as vi,ed as Je,f as yt,fb as ee,ga as B,ha as b,jb as Ti,lb as wi,lc as Ke,m as _t,ma as Mt,na as le,nb as Ai,nc as He,ob as Fe,q as ye,r as pi,ra as Si,wc as Pi,y as vt}from"./chunk-A337XMAK.js";import{a as H,b as Ie,c as di}from"./chunk-MON7YFGF.js";var yn=()=>{let r=b(Q),e=b(j);return r.getIsLoggedinAdmin()?(e.navigate([M.baseAdminPath+"/dashboard"]).then(),!1):!0};var _n=(r,e)=>{let t=b(Q),i=b(j);if(t.getIsLoggedinAdmin())return!0;let n=window.location.pathname+window.location.search;return i.navigate(["/"+M.baseAdminPath+"/login"],{queryParams:{returnUrl:n}}).then(),!1};var vn=()=>{let r=b(Q),e=b(j);if(r.getIsLoggedinAgency()){let t={};return window.location.search&&window.location.search.substring(1).split("&").forEach(n=>{t[n.split("=")[0]]=n.split("=")[1]}),window.location.pathname==="/agency"||window.location.pathname==="/agency/login"||window.location.pathname==="/"?e.navigate(["/"+M.baseAgencyPath+"/booking"],{queryParams:t}).then():e.navigate([window.location.pathname],{queryParams:t}).then(),!1}return!0};var Sn=(r,e)=>{let t=b(Q),i=b(j);if(t.getIsLoggedinAgency())return!0;let n=window.location.pathname+window.location.search;return i.navigate(["/"+M.baseAgencyPath+"/login"],{queryParams:{returnUrl:n}}).then(),!1};var En=[{path:"",loadChildren:()=>import("./chunk-5UOMAJWY.js").then(r=>r.AppBookingRouting)},{path:"reset-password/:token",loadChildren:()=>import("./chunk-5UOMAJWY.js").then(r=>r.AppBookingStarterRouting)},{path:M.baseAdminPath,loadChildren:()=>import("./chunk-WWM2VG66.js").then(r=>r.AppStarterRoutes),canActivate:[yn]},{path:M.baseAdminPath,loadChildren:()=>import("./chunk-BMXFPYGK.js").then(r=>r.AppDashboardRouting),canActivate:[_n]},{path:M.baseAgencyPath,loadChildren:()=>import("./chunk-2PKCP7GJ.js").then(r=>r.AppStarterAgencyRouting),canActivate:[vn]},{path:M.baseAgencyPath,loadChildren:()=>import("./chunk-H74RPMH6.js").then(r=>r.AppAgencyRouting),canActivate:[Sn]},{path:"**",pathMatch:"full",loadComponent:()=>import("./chunk-QPWFOK23.js").then(r=>r.PageNotFoundComponent)}];var Lt=class{constructor(e={}){this.config=e,this.state={action:null,value:0,initialValue:0},this.requests=null,this.disabled=!1,this.stream$=new yt,this._value$=null,this.timer$=t=>{let i=_t(t);switch(t.action){case"start":case"increment":case"set":{t.action==="start"&&this.config.latencyThreshold===0&&t.value===0&&(t.value=t.initialValue),this.requests>0&&(i=vt(this.config.latencyThreshold,250).pipe(ye(n=>Ie(H({},t),{value:n===0?this.state.value||t.initialValue:this._increment()}))));break}case"complete":case"stop":{i=t.value===0?_t(H({},t)):vt(0,500).pipe(gi(2),ye(n=>({value:n===0?100:0})));break}}return i.pipe(ye(n=>Ie(H({},n),{action:"set"})),Oe(n=>this.next(n,!1)))},this.config=H({latencyThreshold:0},e)}get value$(){return this._value$?this._value$:this._value$=this.stream$.pipe(Et(this.state),bt(e=>this.timer$(e)),_i(),ye(e=>e.value))}start(e=2){this.disabled||this.next({action:"start",initialValue:e})}stop(){this.next({action:"stop"})}complete(){this.next({action:"complete"})}disable(){this.disabled=!0}set(e){this.next({action:"set",value:e})}increment(e=0){this.next({action:"increment",value:e})}next(e,t=!0){switch(e.action){case"start":this.requests=(this.requests||0)+1;break;case"complete":if(this.requests=(this.requests||1)-1,this.requests>0)return;break;case"stop":this.requests=0;break;case"increment":e.value=this._increment(e.value);break}this.state=H(Ie(H({},this.state),{action:null}),e),t&&this.stream$.next(this.state)}_increment(e=0){let t=this.state.value;return t>=99&&(e=0),e===0&&(t>=0&&t<25?e=Math.random()*3+3:t>=25&&t<65?e=Math.random()*3:t>=65&&t<90?e=Math.random()*2:t>=90&&t<99?e=.5:e=0),e+t}},gr=new vi("LOADING_BAR_CONFIG"),Se=(()=>
1{class r{constructor(t,i={},n){this.platformId=t,this.config=i,this.zone=n,this.refs={},this.streams$=new yt,this.value$=this.streams$.pipe(Et(null),bt(()=>pi(Object.keys(this.refs).map(s=>this.refs[s].value$))),yr(this.zone),ye(s=>Math.max(0,...s)))}get progress$(){return this.value$}start(t=2){this.useRef().start(t)}set(t){this.useRef().set(t)}increment(t){this.useRef().increment(t)}complete(){this.useRef().complete()}stop(){this.useRef().stop()}useRef(t="default"){return this.refs[t]||(this.refs[t]=new Lt(this.config),this.streams$.next(),Li(this.platformId)||this.refs[t].disable()),this.refs[t]}}return r.\u0275fac=function(t){return new(t||r)(B(bi),B(gr,8),B(Fe,8))},r.\u0275prov=O({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();function yr(r){return r?e=>new fi(t=>e.subscribe(i=>r.run(()=>t.next(i)),i=>r.run(()=>t.error(i)),()=>r.run(()=>t.complete()))):e=>e}var Ee=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=le({type:r}),r.\u0275inj=ae({imports:[[Di]]}),r})();var Mn=(()=>{class r{constructor(t,i){let n=i.useRef("router");t.events.subscribe(s=>{let o=this.getCurrentNavigationState(t);o&&o.ignoreLoadingBar||(s instanceof Ge&&n.start(),(s instanceof xi||s instanceof Ve||s instanceof zi)&&n.complete())})}getCurrentNavigationState(t){let i=t.getCurrentNavigation&&t.getCurrentNavigation();return i&&i.extras?i.extras.state:{}}}return r.\u0275fac=function(t){return new(t||r)(B(j),B(Se))},r.\u0275mod=le({type:r}),r.\u0275inj=ae({imports:[[Ct,Ee],Ct,Ee]}),r})();var _r=new Ri(()=>!1),vr=(()=>{class r{constructor(t){this.loader=t}intercept(t,i){if(t.headers.has("ignoreLoadingBar"))return i.handle(t.clone({headers:t.headers.delete("ignoreLoadingBar")}));if(t.context.get(_r)===!0)return i.handle(t);let n=!1,s=this.loader.useRef("http");return i.handle(t).pipe(Oe(()=>{n||(s.start(),n=!0)}),yi(()=>n&&s.complete()))}}return r.\u0275fac=function(t){return new(t||r)(B(Se))},r.\u0275prov=O({token:r,factory:r.\u0275fac}),r})(),Tn=(()=>{class r{}return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=le({type:r}),r.\u0275inj=ae({providers:[{provide:Ii,useClass:vr,multi:!0}],imports:[[Ae,Ee],Ae,Ee]}),r})();function wn(r){return new E(3e3,!1)}function Sr(){return new E(3100,!1)}function Er(){return new E(3101,!1)}function br(r){return new E(3001,!1)}function Mr(r){return new E(3003,!1)}function Tr(r){return new E(3004,!1)}function wr(r,e){return new E(3005,!1)}function Ar(){return new E(3006,!1)}function Pr(){return new E(3007,!1)}function Cr(r,e){return new E(3008,!1)}function Nr(r){return new E(3002,!1)}function Dr(r,e,t,i,n){return new E(3010,!1)}function Lr(){return new E(3011,!1)}function kr(){return new E(3012,!1)}function Rr(){return new E(3200,!1)}function Ir(){return new E(3202,!1)}function Or(){return new E(3013,!1)}function Fr(r){return new E(3014,!1)}function Br(r){return new E(3015,!1)}function $r(r){return new E(3016,!1)}function zr(r,e){return new E(3404,!1)}function xr(r){return new E(3502,!1)}function jr(r){return new E(3503,!1)}function Kr(){return new E(3300,!1)}function Hr(r){return new E(3504,!1)}function Ur(r){return new E(3301,!1)}function qr(r,e){return new E(3302,!1)}function Gr(r){return new E(3303,!1)}function Vr(r,e){return new E(3400,!1)}function Qr(r){return new E(3401,!1)}function Wr(r){return new E(3402,!1)}function Jr(r,e){return new E(3505,!1)}function ne(r){switch(r.length){case 0:return new ve;case 1:return r[0];default:return new Dt(r)}}function zn(r,e,t=new Map,i=new Map){let n=[],s=[],o=-1,a=null;if(e.forEach(l=>{let u=l.get("offset"),h=u==o,c=h&&a||new Map;l.forEach((_,y)=>{let m=y,g=_;if(y!=="offset")switch(m=r.normalizePropertyName(m,n),g){case Qe:g=t.get(y);break;case V:g=i.get(y);break;default:g=r.normalizeStyleValue(y,m,g,n);break}c.set(m,g)}),h||s.push(c),a=c,o=u}),n.length)throw xr(n);return s}function ei(r,e,t,i){switch(e){case"start":r.onStart(()=>i(t&&kt(t,"start",r)));break;case"done":r.onDone(()=>i(t&&kt(t,"done",r)));break;case"destroy":r.onDestroy(()=>i(t&&kt(t,"destroy",r)));break}}function kt(r,e,t){let i=t.totalTime,n=!!t.disabled,s=ti(r.element,r.triggerName,r.fromState,r.toState,e||r.phaseName,i??r.totalTime,n),o=r._data;return o!=null&&(s._data=o),s}function ti(r,e,t,i,n="",s=0,o){return{element:r,triggerName:e,fromState:t,toState:i,phaseName:n,totalTime:s,disabled:!!o}}function z(r,e,t){let i=r.get(e);return i||r.set(e,i=t),i}function An(r){let e=r.indexOf(":"),t=r.substring(1,e),i=r.slice(e+1);return[t,i]}var Yr=typeof document>"u"?null:document.documentElement;function ii(r){let e=r.parentNode||r.host||null;return e===Yr?null:e}function Xr(r){return r.substring(1,6)=="ebkit"}var ce=null,Pn=!1;function Zr(r){ce||(ce=es()||{},Pn=ce.style?"WebkitAppearance"in ce.style:!1);let e=!0;return ce.style&&!Xr(r)&&(e=r in ce.style,!e&&Pn&&(e="Webkit"+r.charAt(0).toUpperCase()+r.slice(1)in ce.style)),e}function es(){return typeof document<"u"?document.body:null}function xn(r,e){for(;e;){if(e===r)return!0;e=ii(e)}return!1}function jn(r,e,t){if(t)return Array.from(r.querySelectorAll(e));let i=r.querySelector(e);return i?[i]:[]}var ni=(()=>{let e=class e{validateStyleProperty(i){return Zr(i)}matchesElement(i,n){return!1}containsElement(i,n){return xn(i,n)}getParentElement(i){return ii(i)}query(i,n,s){return jn(i,n,s)}computeStyle(i,n,s){return s||""}animate(i,n,s,o,a,l=[],u){return new ve(s,o)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac});let r=e;return r})(),ai=class ai{};ai.NOOP=new ni;var me=ai,fe=class{};var ts=1e3,Kn="{{",is="}}",Hn="ng-enter",$t="ng-leave",Xe="ng-trigger",nt=".ng-trigger",Cn="ng-animating",zt=".ng-animating";function X(r){if(typeof r=="number")return r;let e=r.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:xt(parseFloat(e[1]),e[2])}function xt(r,e){switch(e){case"s":return r*ts;default:return r}}function rt(r,e,t){return r.hasOwnProperty("duration")?r:ns(r,e,t)}function ns(r,e,t){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 e.push(wn(r)),{duration:0,delay:0,easing:""};n=xt(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(s=xt(parseFloat(l),a[4]));let u=a[5];u&&(o=u)}else n=r;if(!t){let a=!1,l=e.length;n<0&&(e.push(Sr()),a=!0),s<0&&(e.push(Er()),a=!0),a&&e.splice(l,0,wn(r))}return{duration:n,delay:s,easing:o}}function rs(r){return r.length?r[0]instanceof Map?r:r.map(e=>new Map(Object.entries(e))):[]}function W(r,e,t){e.forEach((i,n)=>{let s=ri(n);t&&!t.has(n)&&t.set(n,r.style[s]),r.style[s]=i})}function de(r,e){e.forEach((t,i)=>{let n=ri(i);r.style[n]=""})}function Pe(r){return Array.isArray(r)?r.length==1?r[0]:Ji(r):r}function ss(r,e,t){let i=e.params||{},n=Un(r);
vendor: 43,554 bytes, line 1
1n.length&&n.forEach(s=>{i.hasOwnProperty(s)||t.push(br(s))})}var jt=new RegExp(`${Kn}\\s*(.+?)\\s*${is}`,"g");function Un(r){let e=[];if(typeof r=="string"){let t;for(;t=jt.exec(r);)e.push(t[1]);jt.lastIndex=0}return e}function Ne(r,e,t){let i=`${r}`,n=i.replace(jt,(s,o)=>{let a=e[o];return a==null&&(t.push(Mr(o)),a=""),a.toString()});return n==i?r:n}var os=/-+([a-z0-9])/g;function ri(r){return r.replace(os,(...e)=>e[1].toUpperCase())}function as(r,e){return r===0||e===0}function ls(r,e,t){if(t.size&&e.length){let i=e[0],n=[];if(t.forEach((s,o)=>{i.has(o)||n.push(o),i.set(o,s)}),n.length)for(let s=1;s<e.length;s++){let o=e[s];n.forEach(a=>o.set(a,si(r,a)))}}return e}function $(r,e,t){switch(e.type){case v.Trigger:return r.visitTrigger(e,t);case v.State:return r.visitState(e,t);case v.Transition:return r.visitTransition(e,t);case v.Sequence:return r.visitSequence(e,t);case v.Group:return r.visitGroup(e,t);case v.Animate:return r.visitAnimate(e,t);case v.Keyframes:return r.visitKeyframes(e,t);case v.Style:return r.visitStyle(e,t);case v.Reference:return r.visitReference(e,t);case v.AnimateChild:return r.visitAnimateChild(e,t);case v.AnimateRef:return r.visitAnimateRef(e,t);case v.Query:return r.visitQuery(e,t);case v.Stagger:return r.visitStagger(e,t);default:throw Tr(e.type)}}function si(r,e){return window.getComputedStyle(r)[e]}var us=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"]),st=class extends fe{normalizePropertyName(e,t){return ri(e)}normalizeStyleValue(e,t,i,n){let s="",o=i.toString().trim();if(us.has(t)&&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(wr(e,i))}return o+s}};var ot="*";function cs(r,e){let t=[];return typeof r=="string"?r.split(/\s*,\s*/).forEach(i=>hs(i,t,e)):t.push(r),t}function hs(r,e,t){if(r[0]==":"){let l=ds(r,t);if(typeof l=="function"){e.push(l);return}r=l}let i=r.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return t.push(Br(r)),e;let n=i[1],s=i[2],o=i[3];e.push(Nn(n,o));let a=n==ot&&o==ot;s[0]=="<"&&!a&&e.push(Nn(o,n))}function ds(r,e){switch(r){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i)<parseFloat(t);default:return e.push($r(r)),"* => *"}}var Ze=new Set(["true","1"]),et=new Set(["false","0"]);function Nn(r,e){let t=Ze.has(r)||et.has(r),i=Ze.has(e)||et.has(e);return(n,s)=>{let o=r==ot||r==n,a=e==ot||e==s;return!o&&t&&typeof n=="boolean"&&(o=n?Ze.has(r):et.has(r)),!a&&i&&typeof s=="boolean"&&(a=s?Ze.has(e):et.has(e)),o&&a}}var qn=":self",ms=new RegExp(`s*${qn}s*,?`,"g");function Gn(r,e,t,i){return new Kt(r).build(e,t,i)}var Dn="",Kt=class{constructor(e){this._driver=e}build(e,t,i){let n=new Ht(t);return this._resetContextStyleTimingState(n),$(this,Pe(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=Dn,e.collectedStyles=new Map,e.collectedStyles.set(Dn,new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,n=t.depCount=0,s=[],o=[];return e.name.charAt(0)=="@"&&t.errors.push(Ar()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==v.State){let l=a,u=l.name;u.toString().split(/\s*,\s*/).forEach(h=>{l.name=h,s.push(this.visitState(l,t))}),l.name=u}else if(a.type==v.Transition){let l=this.visitTransition(a,t);i+=l.queryCount,n+=l.depCount,o.push(l)}else t.errors.push(Pr())}),{type:v.Trigger,name:e.name,states:s,transitions:o,queryCount:i,depCount:n,options:null}}visitState(e,t){let i=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(i.containsDynamicStyles){let s=new Set,o=n||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Un(l).forEach(u=>{o.hasOwnProperty(u)||s.add(u)})})}),s.size&&t.errors.push(Cr(e.name,[...s.values()]))}return{type:v.State,name:e.name,style:i,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let i=$(this,Pe(e.animation),t),n=cs(e.expr,t.errors);return{type:v.Transition,matchers:n,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:he(e.options)}}visitSequence(e,t){return{type:v.Sequence,steps:e.steps.map(i=>$(this,i,t)),options:he(e.options)}}visitGroup(e,t){let i=t.currentTime,n=0,s=e.steps.map(o=>{t.currentTime=i;let a=$(this,o,t);return n=Math.max(n,t.currentTime),a});return t.currentTime=n,{type:v.Group,steps:s,options:he(e.options)}}visitAnimate(e,t){let i=ys(e.timings,t.errors);t.currentAnimateTimings=i;let n,s=e.styles?e.styles:Nt({});if(s.type==v.Keyframes)n=this.visitKeyframes(s,t);else{let o=e.styles,a=!1;if(!o){a=!0;let u={};i.easing&&(u.easing=i.easing),o=Nt(u)}t.currentTime+=i.duration+i.delay;let l=this.visitStyle(o,t);l.isEmptyStep=a,n=l}return t.currentAnimateTimings=null,{type:v.Animate,timings:i,style:n,options:null}}visitStyle(e,t){let i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){let i=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of n)typeof a=="string"?a===V?i.push(a):t.errors.push(Nr(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(Kn)>=0){s=!0;break}}}),{type:v.Style,styles:i,easing:o,offset:e.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(e,t){let i=t.currentAnimateTimings,n=t.currentTime,s=t.currentTime;i&&s>0&&(s-=i.duration+i.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),h=u.get(l),c=!0;h&&(s!=n&&s>=h.startTime&&n<=h.endTime&&(t.errors.push(Dr(l,h.startTime,h.endTime,s,n)),c=!1),s=h.startTime),c&&u.set(l,{startTime:s,endTime:n}),t.options&&ss(a,t.options,t.errors)})})}visitKeyframes(e,t){let i={type:v.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(Lr()),i;let n=1,s=0,o=[],a=!1,l=!1,u=0,h=e.steps.map(P=>{let C=this._makeStyleAst(P,t),k=C.offset!=null?C.offset:gs(C.styles),D=0;return k!=null&&(s++,D=C.offset=k),l=l||D<0||D>1,a=a||D<u,u=D,o.push(D),C});l&&t.errors.push(kr()),a&&t.errors.push(Rr());let c=e.steps.length,_=0;s>0&&s<c?t.errors.push(Ir()):s==0&&(_=n/(c-1));let y=c-1,m=t.currentTime,g=t.currentAnimateTimings,T=g.duration;return h.forEach((P,C)=>{let k=_>0?C==y?1:_*C:o[C],D=k*T;t.currentTime=m+g.delay+D,g.duration=D,this._validateStyleAst(P,t),P.offset=k,i.styles.push(P)}),i}visitReference(e,t){return{type:v.Reference,animation:$(this,Pe(e.animation),t),options:he(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:v.AnimateChild,options:he(e.options)}}visitAnimateRef(e,t){return{type:v.AnimateRef,animation:this.visitReference(e.animation,t),options:he(e.options)}}visitQuery(e,t){let i=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[s,o]=fs(e.selector);t.currentQuerySelector=i.length?i+" "+s:s,z(t.collectedStyles,t.currentQuerySelector,new Map);let a=$(this,Pe(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:v.Query,selector:s,limit:n.limit||0,optional:!!n.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:he(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(Or());let i=e.timings==="full"?{duration:0,delay:0,easing:"full"}:rt(e.timings,t.errors,!0);return{type:v.Stagger,animation:$(this,Pe(e.animation),t),timings:i,options:null}}};function fs(r){let e=!!r.split(/\s*,\s*/).find(t=>t==qn);return e&&(r=r.replace(ms,"")),r=r.replace(/@\*/g,nt).replace(/@\w+/g,t=>nt+"-"+t.slice(1)).replace(/:animating/g,zt),[r,e]}function ps(r){return r?H({},r):null}var Ht=class{constructor(e){this.errors=e,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 gs(r){if(typeof r=="string")return null;let e=null;if(Array.isArray(r))r.forEach(t=>{if(t instanceof Map&&t.has("offset")){let i=t;e=parseFloat(i.get("offset")),i.delete("offset")}});else if(r instanceof Map&&r.has("offset")){let t=r;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function ys(r,e){if(r.hasOwnProperty("duration"))return r;if(typeof r=="number"){let s=rt(r,e).duration;return Rt(s,0,"")}let t=r;if(t.split(/\s+/).some(s=>s.charAt(0)=="{"&&s.charAt(1)=="{")){let s=Rt(0,0,"");return s.dynamic=!0,s.strValue=t,s}let n=rt(t,e);return Rt(n.duration,n.delay,n.easing)}function he(r){return r?(r=H({},r),r.params&&(r.params=ps(r.params))):r={},r}function Rt(r,e,t){return{duration:r,delay:e,easing:t}}function oi(r,e,t,i,n,s,o=null,a=!1){return{type:1,element:r,keyframes:e,preStyleProps:t,postStyleProps:i,duration:n,delay:s,totalTime:n+s,easing:o,subTimeline:a}}var De=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},_s=1,vs=":enter",Ss=new RegExp(vs,"g"),Es=":leave",bs=new RegExp(Es,"g");function Vn(r,e,t,i,n,s=new Map,o=new Map,a,l,u=[]){return new Ut().buildKeyframes(r,e,t,i,n,s,o,a,l,u)}var Ut=class{buildKeyframes(e,t,i,n,s,o,a,l,u,h=[]){u=u||new De;let c=new qt(e,t,u,n,s,h,[]);c.options=l;let _=l.delay?X(l.delay):0;c.currentTimeline.delayNextStep(_),c.currentTimeline.setStyles([o],null,c.errors,l),$(this,i,c);let y=c.timelines.filter(m=>m.containsAnimation());if(y.length&&a.size){let m;for(let g=y.length-1;g>=0;g--){let T=y[g];if(T.element===t){m=T;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,c.errors,l)}return y.length?y.map(m=>m.buildKeyframes()):[oi(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let i=t.subInstructions.get(t.element);if(i){let n=t.createSubContext(e.options),s=t.currentTimeline.currentTime,o=this._visitSubInstructions(i,n,n.options);s!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){let i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,i),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,i){for(let n of e){let s=n?.delay;if(s){let o=typeof s=="number"?s:X(Ne(s,n?.params??{},t.errors));i.delayNextStep(o)}}}_visitSubInstructions(e,t,i){let s=t.currentTimeline.currentTime,o=i.duration!=null?X(i.duration):null,a=i.delay!=null?X(i.delay):null;return o!==0&&e.forEach(l=>{let u=t.appendInstructionToTimeline(l,o,a);s=Math.max(s,u.duration+u.delay)}),s}visitReference(e,t){t.updateOptions(e.options,!0),$(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let i=t.subContextCount,n=t,s=e.options;if(s&&(s.params||s.delay)&&(n=t.createSubContext(s),n.transformIntoNewTimeline(),s.delay!=null)){n.previousNode.type==v.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=at);let o=X(s.delay);n.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>$(this,o,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let i=[],n=t.currentTimeline.currentTime,s=e.options&&e.options.delay?X(e.options.delay):0;e.steps.forEach(o=>{let a=t.createSubContext(e.options);s&&a.delayNextStep(s),$(this,o,a),n=Math.max(n,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let i=e.strValue,n=t.params?Ne(i,t.params,t.errors):i;return rt(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let i=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),n.snapshotCurrentStyles());let s=e.style;s.type==v.Keyframes?this.visitKeyframes(s,t):(t.incrementTime(i.duration),this.visitStyle(s,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let i=t.currentTimeline,n=t.currentAnimateTimings;!n&&i.hasCurrentStyleProperties()&&i.forwardFrame();let s=n&&n.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(s):i.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let i=t.currentAnimateTimings,n=t.currentTimeline.duration,s=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(l=>{let u=l.offset||0;a.forwardTime(u*s),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(n+s),t.previousNode=e}visitQuery(e,t){let i=t.currentTimeline.currentTime,n=e.options||{},s=n.delay?X(n.delay):0;s&&(t.previousNode.type===v.Style||i==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=at);let o=i,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((u,h)=>{t.currentQueryIndex=h;let c=t.createSubContext(e.options,u);s&&c.delayNextStep(s),u===t.element&&(l=c.currentTimeline),$(this,e.animation,c),c.currentTimeline.applyStylesToKeyframe();let _=c.currentTimeline.currentTime;o=Math.max(o,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let i=t.parentContext,n=t.currentTimeline,s=e.timings,o=Math.abs(s.duration),a=o*(t.currentQueryTotal-1),l=o*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let h=t.currentTimeline;l&&h.delayNextStep(l);let c=h.currentTime;$(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=n.currentTime-c+(n.startTime-i.currentTimeline.startTime)}},at={},qt=class r{constructor(e,t,i,n,s,o,a,l){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=n,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=at,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new lt(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let i=e,n=this.options;i.duration!=null&&(n.duration=X(i.duration)),i.delay!=null&&(n.delay=X(i.delay));let s=i.params;if(s){let o=n.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!t||!o.hasOwnProperty(a))&&(o[a]=Ne(s[a],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let i=e.params={};Object.keys(t).forEach(n=>{i[n]=t[n]})}}return e}createSubContext(e=null,t,i){let n=t||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(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=at,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){let n={duration:t??e.duration,delay:this.currentTimeline.currentTime+(i??0)+e.delay,easing:""},s=new Gt(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(s),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,n,s,o){let a=[];if(n&&a.push(this.element),e.length>0){e=e.replace(Ss,"."+this._enterClassName),e=e.replace(bs,"."+this._leaveClassName);let l=i!=1,u=this._driver.query(this.element,e,l);i!==0&&(u=i<0?u.slice(u.length+i,u.length):u.slice(0,i)),a.push(...u)}return!s&&a.length==0&&o.push(Fr(t)),a}},lt=class r{constructor(e,t,i,n){this._driver=e,this.element=t,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,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(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new r(this._driver,e,t||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+=_s,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||V),this._currentKeyframe.set(t,V);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,n){t&&this._previousKeyframe.set("easing",t);let s=n&&n.params||{},o=Ms(e,this._globalTimelineStyles);for(let[a,l]of o){let u=Ne(l,s,i);this._pendingStyles.set(a,u),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??V),this._updateStyle(a,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,i)=>{let n=this._styleSummary.get(i);(!n||t.time>n.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,i=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((a,l)=>{let u=new Map([...this._backFill,...a]);u.forEach((h,c)=>{h===Qe?e.add(c):h===V&&t.add(c)}),i||u.set("offset",l/this.duration),n.push(u)});let s=[...e.values()],o=[...t.values()];if(i){let a=n[0],l=new Map(a);a.set("offset",0),l.set("offset",1),n=[a,l]}return oi(this.element,n,s,o,this.duration,this.startTime,this.easing,!1)}},Gt=class extends lt{constructor(e,t,i,n,s,o,a=!1){super(e,t,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 e=this.keyframes,{delay:t,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){let s=[],o=i+t,a=t/o,l=new Map(e[0]);l.set("offset",0),s.push(l);let u=new Map(e[0]);u.set("offset",Ln(a)),s.push(u);let h=e.length-1;for(let c=1;c<=h;c++){let _=new Map(e[c]),y=_.get("offset"),m=t+y*i;_.set("offset",Ln(m/o)),s.push(_)}i=o,t=0,n="",e=s}return oi(this.element,e,this.preStyleProps,this.postStyleProps,i,t,n,!0)}};function Ln(r,e=3){let t=Math.pow(10,e-1);return Math.round(r*t)/t}function Ms(r,e){let t=new Map,i;return r.forEach(n=>{if(n==="*"){i??=e.keys();for(let s of i)t.set(s,V)}else for(let[s,o]of n)t.set(s,o)}),t}function kn(r,e,t,i,n,s,o,a,l,u,h,c,_){return{type:0,element:r,triggerName:e,isRemovalTransition:n,fromState:t,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:h,totalTime:c,errors:_}}var It={},ut=class{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,n){return Ts(this.ast.matchers,e,t,i,n)}buildStyles(e,t,i){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(t,i):new Map}build(e,t,i,n,s,o,a,l,u,h){let c=[],_=this.ast.options&&this.ast.options.params||It,y=a&&a.params||It,m=this.buildStyles(i,y,c),g=l&&l.params||It,T=this.buildStyles(n,g,c),P=new Set,C=new Map,k=new Map,D=n==="void",pe={params:Qn(g,_),delay:this.ast.options?.delay},q=h?[]:Vn(e,t,this.ast.animation,s,o,m,T,pe,u,c),R=0;return q.forEach(I=>{R=Math.max(I.duration+I.delay,R)}),c.length?kn(t,this._triggerName,i,n,D,m,T,[],[],C,k,R,c):(q.forEach(I=>{let re=I.element,ge=z(C,re,new Set);I.preStyleProps.forEach(se=>ge.add(se));let li=z(k,re,new Set);I.postStyleProps.forEach(se=>li.add(se)),re!==t&&P.add(re)}),kn(t,this._triggerName,i,n,D,m,T,q,[...P.values()],C,k,R))}};function Ts(r,e,t,i,n){return r.some(s=>s(e,t,i,n))}function Qn(r,e){let t=H({},e);return Object.entries(r).forEach(([i,n])=>{n!=null&&(t[i]=n)}),t}var Vt=class{constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){let i=new Map,n=Qn(e,this.defaultParams);return this.styles.styles.forEach(s=>{typeof s!="string"&&s.forEach((o,a)=>{o&&(o=Ne(o,n,t));let l=this.normalizer.normalizePropertyName(a,t);o=this.normalizer.normalizeStyleValue(a,l,o,t),i.set(a,o)})}),i}};function ws(r,e,t){return new Qt(r,e,t)}var Qt=class{constructor(e,t,i){this.name=e,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(n=>{let s=n.options&&n.options.params||{};this.states.set(n.name,new Vt(n.style,s,i))}),Rn(this.states,"true","1"),Rn(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new ut(e,n,this.states))}),this.fallbackTransition=As(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,n){return this.transitionFactories.find(o=>o.match(e,t,i,n))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}};function As(r,e,t){let i=[(o,a)=>!0],n={type:v.Sequence,steps:[],options:null},s={type:v.Transition,animation:n,matchers:i,options:null,queryCount:0,depCount:0};return new ut(r,s,e)}function Rn(r,e,t){r.has(e)?r.has(t)||r.set(t,r.get(e)):r.has(t)&&r.set(e,r.get(t))}var Ps=new De,Wt=class{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let i=[],n=[],s=Gn(this._driver,t,i,n);if(i.length)throw jr(i);n.length&&void 0,this._animations.set(e,s)}_buildPlayer(e,t,i){let n=e.element,s=zn(this._normalizer,e.keyframes,t,i);return this._driver.animate(n,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){let n=[],s=this._animations.get(e),o,a=new Map;if(s?(o=Vn(this._driver,t,s,Hn,$t,new Map,new Map,i,Ps,n),o.forEach(h=>{let c=z(a,h.element,new Map);h.postStyleProps.forEach(_=>c.set(_,null))})):(n.push(Kr()),o=[]),n.length)throw Hr(n);a.forEach((h,c)=>{h.forEach((_,y)=>{h.set(y,this._driver.computeStyle(c,y,V))})});let l=o.map(h=>{let c=a.get(h.element);return this._buildPlayer(h,new Map,c)}),u=ne(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Ur(e);return t}listen(e,t,i,n){let s=ti(t,"","","");return ei(this._getPlayer(e),i,s,n),()=>{}}command(e,t,i,n){if(i=="register"){this.register(e,n[0]);return}if(i=="create"){let o=n[0]||{};this.create(e,t,o);return}let s=this._getPlayer(e);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(e);break}}},In="ng-animate-queued",Cs=".ng-animate-queued",Ot="ng-animate-disabled",Ns=".ng-animate-disabled",Ds="ng-star-inserted",Ls=".ng-star-inserted",ks=[],Wn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Rs={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},U="__ng_removed",Le=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let i=e&&e.hasOwnProperty("value"),n=i?e.value:e;if(this.value=Os(n),i){let s=e,{value:o}=s,a=di(s,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let i=this.options.params;Object.keys(t).forEach(n=>{i[n]==null&&(i[n]=t[n])})}}},Ce="void",Ft=new Le(Ce),Jt=class{constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,K(t,this._hostClassName)}listen(e,t,i,n){if(!this._triggers.has(t))throw qr(i,t);if(i==null||i.length==0)throw Gr(t);if(!Fs(i))throw Vr(i,t);let s=z(this._elementListeners,e,[]),o={name:t,phase:i,callback:n};s.push(o);let a=z(this._engine.statesByElement,e,new Map);return a.has(t)||(K(e,Xe),K(e,Xe+"-"+t),a.set(t,Ft)),()=>{this._engine.afterFlush(()=>{let l=s.indexOf(o);l>=0&&s.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw Qr(e);return t}trigger(e,t,i,n=!0){let s=this._getTrigger(t),o=new ke(this.id,t,e),a=this._engine.statesByElement.get(e);a||(K(e,Xe),K(e,Xe+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t),u=new Le(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),a.set(t,u),l||(l=Ft),!(u.value===Ce)&&l.value===u.value){if(!zs(l.params,u.params)){let g=[],T=s.matchStyles(l.value,l.params,g),P=s.matchStyles(u.value,u.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{de(e,T),W(e,P)})}return}let _=z(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=s.matchTransition(l.value,u.value,e,u.params),m=!1;if(!y){if(!n)return;y=s.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:u,player:o,isFallbackTransition:m}),m||(K(e,In),o.onStart(()=>{be(e,In)})),o.onDone(()=>{let g=this.players.indexOf(o);g>=0&&this.players.splice(g,1);let T=this._engine.playersByElement.get(e);if(T){let P=T.indexOf(o);P>=0&&T.splice(P,1)}}),this.players.push(o),_.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let i=this._engine.driver.query(e,nt,!0);i.forEach(n=>{if(n[U])return;let s=this._engine.fetchNamespacesByElement(n);s.size?s.forEach(o=>o.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,i,n){let s=this._engine.statesByElement.get(e),o=new Map;if(s){let a=[];if(s.forEach((l,u)=>{if(o.set(u,l.value),this._triggers.has(u)){let h=this.trigger(e,u,Ce,n);h&&a.push(h)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),i&&ne(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){let n=new Set;t.forEach(s=>{let o=s.name;if(n.has(o))return;n.add(o);let l=this._triggers.get(o).fallbackTransition,u=i.get(o)||Ft,h=new Le(Ce),c=new ke(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:u,toState:h,player:c,isFallbackTransition:!0})})}}removeNode(e,t){let i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(i.totalAnimations){let s=i.players.length?i.playersByQueriedElement.get(e):[];if(s&&s.length)n=!0;else{let o=e;for(;o=o.parentNode;)if(i.statesByElement.get(o)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)i.markElementAsRemoved(this.id,e,!1,t);else{let s=e[U];(!s||s===Wn)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){K(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];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=ti(s,i.triggerName,i.fromState.value,i.toState.value);l._data=e,ei(i.player,a.phase,l,a.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(i)}),this._queue=[],t.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(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Yt=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,i,n){this.bodyNode=e,this.driver=t,this._normalizer=i,this.scheduler=n,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=(s,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){let i=new Jt(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){let i=this._namespaceList,n=this.namespacesByHostElement;if(i.length-1>=0){let o=!1,a=this.driver.getParentElement(t);for(;a;){let l=n.get(a);if(l){let u=i.indexOf(l);i.splice(u+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||i.unshift(e)}else i.push(e);return n.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let n=this._namespaceLookup[e];n&&n.register(t,i)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(e);this.namespacesByHostElement.delete(i.hostElement);let n=this._namespaceList.indexOf(i);n>=0&&this._namespaceList.splice(n,1),i.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,i=this.statesByElement.get(e);if(i){for(let n of i.values())if(n.namespaceId){let s=this._fetchNamespace(n.namespaceId);s&&t.add(s)}}return t}trigger(e,t,i,n){if(tt(t)){let s=this._fetchNamespace(e);if(s)return s.trigger(t,i,n),!0}return!1}insertNode(e,t,i,n){if(!tt(t))return;let s=t[U];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;let o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(t,i)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),K(e,Ot)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),be(e,Ot))}removeNode(e,t,i){if(tt(t)){this.scheduler?.notify();let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i);let s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,i,n,s){this.collectedLeaveElements.push(t),t[U]={namespaceId:e,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,t,i,n,s){return tt(t)?this._fetchNamespace(e).listen(t,i,n,s):()=>{}}_buildInstruction(e,t,i,n,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,n,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,nt,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,zt,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return ne(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[U];if(t&&t.setForRemoval){if(e[U]=Wn,t.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Ot)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Ns,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];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];K(n,Ds)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{t=this._flushAnimations(i,e)}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=[],t.length?ne(t).onDone(()=>{i.forEach(n=>n())}):i.forEach(n=>n())}}reportError(e){throw Wr(e)}_flushAnimations(e,t){let i=new De,n=[],s=new Map,o=[],a=new Map,l=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(d=>{h.add(d);let f=this.driver.query(d,Cs,!0);for(let p=0;p<f.length;p++)h.add(f[p])});let c=this.bodyNode,_=Array.from(this.statesByElement.keys()),y=Bn(_,this.collectedEnterElements),m=new Map,g=0;y.forEach((d,f)=>{let p=Hn+g++;m.set(f,p),d.forEach(S=>K(S,p))});let T=[],P=new Set,C=new Set;for(let d=0;d<this.collectedLeaveElements.length;d++){let f=this.collectedLeaveElements[d],p=f[U];p&&p.setForRemoval&&(T.push(f),P.add(f),p.hasAnimation?this.driver.query(f,Ls,!0).forEach(S=>P.add(S)):C.add(f))}let k=new Map,D=Bn(_,Array.from(P));D.forEach((d,f)=>{let p=$t+g++;k.set(f,p),d.forEach(S=>K(S,p))}),e.push(()=>{y.forEach((d,f)=>{let p=m.get(f);d.forEach(S=>be(S,p))}),D.forEach((d,f)=>{let p=k.get(f);d.forEach(S=>be(S,p))}),T.forEach(d=>{this.processLeaveNode(d)})});let pe=[],q=[];for(let d=this._namespaceList.length-1;d>=0;d--)this._namespaceList[d].drainQueuedTransitions(t).forEach(p=>{let S=p.player,N=p.element;if(pe.push(S),this.collectedEnterElements.length){let L=N[U];if(L&&L.setForMove){if(L.previousTriggersValues&&L.previousTriggersValues.has(p.triggerName)){let oe=L.previousTriggersValues.get(p.triggerName),x=this.statesByElement.get(p.element);if(x&&x.has(p.triggerName)){let Re=x.get(p.triggerName);Re.value=oe,x.set(p.triggerName,Re)}}S.destroy();return}}let G=!c||!this.driver.containsElement(c,N),F=k.get(N),Z=m.get(N),w=this._buildInstruction(p,i,Z,F,G);if(w.errors&&w.errors.length){q.push(w);return}if(G){S.onStart(()=>de(N,w.fromStyles)),S.onDestroy(()=>W(N,w.toStyles)),n.push(S);return}if(p.isFallbackTransition){S.onStart(()=>de(N,w.fromStyles)),S.onDestroy(()=>W(N,w.toStyles)),n.push(S);return}let hi=[];w.timelines.forEach(L=>{L.stretchStartingKeyframe=!0,this.disabledNodes.has(L.element)||hi.push(L)}),w.timelines=hi,i.append(N,w.timelines);let pr={instruction:w,player:S,element:N};o.push(pr),w.queriedElements.forEach(L=>z(a,L,[]).push(S)),w.preStyleProps.forEach((L,oe)=>{if(L.size){let x=l.get(oe);x||l.set(oe,x=new Set),L.forEach((Re,gt)=>x.add(gt))}}),w.postStyleProps.forEach((L,oe)=>{let x=u.get(oe);x||u.set(oe,x=new Set),L.forEach((Re,gt)=>x.add(gt))})});if(q.length){let d=[];q.forEach(f=>{d.push(Jr(f.triggerName,f.errors))}),pe.forEach(f=>f.destroy()),this.reportError(d)}let R=new Map,I=new Map;o.forEach(d=>{let f=d.element;i.has(f)&&(I.set(f,f),this._beforeAnimationBuild(d.player.namespaceId,d.instruction,R))}),n.forEach(d=>{let f=d.element;this._getPreviousPlayers(f,!1,d.namespaceId,d.triggerName,null).forEach(S=>{z(R,f,[]).push(S),S.destroy()})});let re=T.filter(d=>$n(d,l,u)),ge=new Map;Fn(ge,this.driver,C,u,V).forEach(d=>{$n(d,l,u)&&re.push(d)});let se=new Map;y.forEach((d,f)=>{Fn(se,this.driver,new Set(d),l,Qe)}),re.forEach(d=>{let f=ge.get(d),p=se.get(d);ge.set(d,new Map([...f?.entries()??[],...p?.entries()??[]]))});let pt=[],ui=[],ci={};o.forEach(d=>{let{element:f,player:p,instruction:S}=d;if(i.has(f)){if(h.has(f)){p.onDestroy(()=>W(f,S.toStyles)),p.disabled=!0,p.overrideTotalTime(S.totalTime),n.push(p);return}let N=ci;if(I.size>1){let F=f,Z=[];for(;F=F.parentNode;){let w=I.get(F);if(w){N=w;break}Z.push(F)}Z.forEach(w=>I.set(w,N))}let G=this._buildAnimation(p.namespaceId,S,R,s,se,ge);if(p.setRealPlayer(G),N===ci)pt.push(p);else{let F=this.playersByElement.get(N);F&&F.length&&(p.parentPlayer=ne(F)),n.push(p)}}else de(f,S.fromStyles),p.onDestroy(()=>W(f,S.toStyles)),ui.push(p),h.has(f)&&n.push(p)}),ui.forEach(d=>{let f=s.get(d.element);if(f&&f.length){let p=ne(f);d.setRealPlayer(p)}}),n.forEach(d=>{d.parentPlayer?d.syncPlayerEvents(d.parentPlayer):d.destroy()});for(let d=0;d<T.length;d++){let f=T[d],p=f[U];if(be(f,$t),p&&p.hasAnimation)continue;let S=[];if(a.size){let G=a.get(f);G&&G.length&&S.push(...G);let F=this.driver.query(f,zt,!0);for(let Z=0;Z<F.length;Z++){let w=a.get(F[Z]);w&&w.length&&S.push(...w)}}let N=S.filter(G=>!G.destroyed);N.length?Bs(this,f,N):this.processLeaveNode(f)}return T.length=0,pt.forEach(d=>{this.players.push(d),d.onDone(()=>{d.destroy();let f=this.players.indexOf(d);this.players.splice(f,1)}),d.play()}),pt}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,n,s){let o=[];if(t){let a=this.playersByQueriedElement.get(e);a&&(o=a)}else{let a=this.playersByElement.get(e);if(a){let l=!s||s==Ce;a.forEach(u=>{u.queued||!l&&u.triggerName!=n||o.push(u)})}}return(i||n)&&(o=o.filter(a=>!(i&&i!=a.namespaceId||n&&n!=a.triggerName))),o}_beforeAnimationBuild(e,t,i){let n=t.triggerName,s=t.element,o=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let u=l.element,h=u!==s,c=z(i,u,[]);this._getPreviousPlayers(u,h,o,a,t.toState).forEach(y=>{let m=y.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),y.destroy(),c.push(y)})}de(s,t.fromStyles)}_buildAnimation(e,t,i,n,s,o){let a=t.triggerName,l=t.element,u=[],h=new Set,c=new Set,_=t.timelines.map(m=>{let g=m.element;h.add(g);let T=g[U];if(T&&T.removedBeforeQueried)return new ve(m.duration,m.delay);let P=g!==l,C=$s((i.get(g)||ks).map(R=>R.getRealPlayer())).filter(R=>{let I=R;return I.element?I.element===g:!1}),k=s.get(g),D=o.get(g),pe=zn(this._normalizer,m.keyframes,k,D),q=this._buildPlayer(m,pe,C);if(m.subTimeline&&n&&c.add(g),P){let R=new ke(e,a,g);R.setRealPlayer(q),u.push(R)}return q});u.forEach(m=>{z(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>Is(this.playersByQueriedElement,m.element,m))}),h.forEach(m=>K(m,Cn));let y=ne(_);return y.onDestroy(()=>{h.forEach(m=>be(m,Cn)),W(l,t.toStyles)}),c.forEach(m=>{z(n,m,[]).push(y)}),y}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new ve(e.duration,e.delay)}},ke=class{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new ve,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(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,i)=>{t.forEach(n=>ei(e,i,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){z(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function Is(r,e,t){let i=r.get(e);if(i){if(i.length){let n=i.indexOf(t);i.splice(n,1)}i.length==0&&r.delete(e)}return i}function Os(r){return r??null}function tt(r){return r&&r.nodeType===1}function Fs(r){return r=="start"||r=="done"}function On(r,e){let t=r.style.display;return r.style.display=e??"none",t}function Fn(r,e,t,i,n){let s=[];t.forEach(l=>s.push(On(l)));let o=[];
1i.forEach((l,u)=>{let h=new Map;l.forEach(c=>{let _=e.computeStyle(u,c,n);h.set(c,_),(!_||_.length==0)&&(u[U]=Rs,o.push(u))}),r.set(u,h)});let a=0;return t.forEach(l=>On(l,s[a++])),o}function Bn(r,e){let t=new Map;if(r.forEach(a=>t.set(a,[])),e.length==0)return t;let i=1,n=new Set(e),s=new Map;function o(a){if(!a)return i;let l=s.get(a);if(l)return l;let u=a.parentNode;return t.has(u)?l=u:n.has(u)?l=i:l=o(u),s.set(a,l),l}return e.forEach(a=>{let l=o(a);l!==i&&t.get(l).push(a)}),t}function K(r,e){r.classList?.add(e)}function be(r,e){r.classList?.remove(e)}function Bs(r,e,t){ne(t).onDone(()=>r.processLeaveNode(e))}function $s(r){let e=[];return Jn(r,e),e}function Jn(r,e){for(let t=0;t<r.length;t++){let i=r[t];i instanceof Dt?Jn(i.players,e):e.push(i)}}function zs(r,e){let t=Object.keys(r),i=Object.keys(e);if(t.length!=i.length)return!1;for(let n=0;n<t.length;n++){let s=t[n];if(!e.hasOwnProperty(s)||r[s]!==e[s])return!1}return!0}function $n(r,e,t){let i=t.get(r);if(!i)return!1;let n=e.get(r);return n?i.forEach(s=>n.add(s)):e.set(r,i),t.delete(r),!0}var Te=class{constructor(e,t,i,n){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(s,o)=>{},this._transitionEngine=new Yt(e.body,t,i,n),this._timelineEngine=new Wt(e.body,t,i),this._transitionEngine.onRemovalComplete=(s,o)=>this.onRemovalComplete(s,o)}registerTrigger(e,t,i,n,s){let o=e+"-"+n,a=this._triggerCache[o];if(!a){let l=[],u=[],h=Gn(this._driver,s,l,u);if(l.length)throw zr(n,l);u.length&&void 0,a=ws(n,h,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,n,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,n){this._transitionEngine.insertNode(e,t,i,n)}onRemove(e,t,i){this._transitionEngine.removeNode(e,t,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,n){if(i.charAt(0)=="@"){let[s,o]=An(i),a=n;this._timelineEngine.command(s,t,o,a)}else this._transitionEngine.trigger(e,t,i,n)}listen(e,t,i,n,s){if(i.charAt(0)=="@"){let[o,a]=An(i);return this._timelineEngine.listen(o,t,a,s)}return this._transitionEngine.listen(e,t,i,n,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function xs(r,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=Bt(e[0]),e.length>1&&(i=Bt(e[e.length-1]))):e instanceof Map&&(t=Bt(e)),t||i?new Xt(r,t,i):null}var Me=class Me{constructor(e,t,i){this._element=e,this._startStyles=t,this._endStyles=i,this._state=0;let n=Me.initialStylesByElement.get(e);n||Me.initialStylesByElement.set(e,n=new Map),this._initialStyles=n}start(){this._state<1&&(this._startStyles&&W(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(W(this._element,this._initialStyles),this._endStyles&&(W(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Me.initialStylesByElement.delete(this._element),this._startStyles&&(de(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(de(this._element,this._endStyles),this._endStyles=null),W(this._element,this._initialStyles),this._state=3)}};Me.initialStylesByElement=new WeakMap;var Xt=Me;function Bt(r){let e=null;return r.forEach((t,i)=>{js(i)&&(e=e||new Map,e.set(i,t))}),e}function js(r){return r==="display"||r==="position"}var ct=class{constructor(e,t,i,n){this.element=e,this.keyframes=t,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(e
1=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){return e.animate(this._convertKeyframesToObject(t),i)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,n)=>{n!=="offset"&&e.set(n,this._finished?i:si(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},ht=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return xn(e,t)}getParentElement(e){return ii(e)}query(e,t,i){return jn(e,t,i)}computeStyle(e,t,i){return si(e,t)}animate(e,t,i,n,s,o=[]){let a=n==0?"both":"forwards",l={duration:i,delay:n,fill:a};s&&(l.easing=s);let u=new Map,h=o.filter(y=>y instanceof ct);as(i,n)&&h.forEach(y=>{y.currentSnapshot.forEach((m,g)=>u.set(g,m))});let c=rs(t).map(y=>new Map(y));c=ls(e,c,u);let _=xs(e,c);return new ct(e,c,l,_)}};var it="@",Yn="@.disabled",dt=class{constructor(e,t,i,n){this.namespaceId=e,this.delegate=t,this.engine=i,this._onDestroy=n,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i,n=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,n){this.delegate.setAttribute(e,t,i,n)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,n){this.delegate.setStyle(e,t,i,n)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){t.charAt(0)==it&&t==Yn?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Zt=class extends dt{constructor(e,t,i,n,s){super(t,i,n,s),this.factory=e,this.namespaceId=t}setProperty(e,t,i){t.charAt(0)==it?t.charAt(1)=="."&&t==Yn?(i=i===void 0?!0:!!i,this.disableAnimations(e,i)):this.engine.process(this.namespaceId,e,t.slice(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if(t.charAt(0)==it){let n=Ks(e),s=t.slice(1),o="";return s.charAt(0)!=it&&([s,o]=Hs(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(e,t,i)}};function Ks(r){switch(r){case"body":return document.body;case"document":return document;case"window":return window;default:return r}}function Hs(r){let e=r.indexOf("."),t=r.substring(0,e),i=r.slice(e+1);return[t,i]}var mt=class{constructor(e,t,i){this.delegate=e,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(n,s)=>{let o=s?.parentNode(n);o&&s.removeChild(o,n)}}createRenderer(e,t){let i="",n=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let u=this._rendererCache,h=u.get(n);if(!h){let c=()=>u.delete(n);h=new dt(i,n,this.engine,c),u.set(n,h)}return h}let s=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=u=>{Array.isArray(u)?u.forEach(a):this.engine.registerTrigger(s,o,e,u.name,u)};return t.data.animation.forEach(a),new Zt(this,o,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,i){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(i));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>
1{n.forEach(s=>{let[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),n.push([t,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 qs=(()=>{let e=class e extends Te{constructor(i,n,s){super(i,n,s,b(Ti,{optional:!0}))}ngOnDestroy(){this.flush()}};e.\u0275fac=function(n){return new(n||e)(B(Ue),B(me),B(fe))},e.\u0275prov=O({token:e,factory:e.\u0275fac});let r=e;return r})();function Gs(){return new st}function Vs(r,e,t){return new mt(r,e,t)}var Xn=[{provide:fe,useFactory:Gs},{provide:Te,useClass:qs},{provide:wi,useFactory:Vs,deps:[Bi,Te,Fe]}],Qs=[{provide:me,useFactory:()=>new ht},{provide:Tt,useValue:"BrowserAnimations"},...Xn],fa=[{provide:me,useClass:ni},{provide:Tt,useValue:"NoopAnimations"},...Xn];function Zn(){return Ai("NgEagerAnimations"),[...Qs]}var ft=class{http;prefix;suffix;constructor(e,t="/assets/i18n/",i=".json"){this.http=e,this.prefix=t,this.suffix=i}getTranslation(e){return this.http.get(`${this.prefix}${e}${this.suffix}`)}};function Ws(r){let e=r,t=Math.floor(Math.abs(r)),i=r.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var er=["en-GB",[["a","p"],["am","pm"],void 0],[["am","pm"],void 0,void 0],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE, d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} 'at' {0}",void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"GBP","\xA3","British Pound",{JPY:["JP\xA5","\xA5"],USD:["US$","$"]},"ltr",Ws];function Js(r){let e=r,t=Math.floor(Math.abs(r)),i=r.toString().replace(/^[^.]*\.?/,"").length,n=parseInt(r.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===1&&i===0?1:n===0&&t!==0&&t%1e6===0&&i===0||!(n>=0&&n<=5)?4:5}var tr=["it",[["m.","p."],["AM","PM"],void 0],void 0,[["D","L","M","M","G","V","S"],["dom","lun","mar","mer","gio","ven","sab"],["domenica","luned\xEC","marted\xEC","mercoled\xEC","gioved\xEC","venerd\xEC","sabato"],["dom","lun","mar","mer","gio","ven","sab"]],void 0,[["G","F","M","A","M","G","L","A","S","O","N","D"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]],void 0,[["aC","dC"],["a.C.","d.C."],["avanti Cristo","dopo Cristo"]],1,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} {0}",void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","euro",{BRL:[void 0,"R$"],BYN:[void 0,"Br"],EGP:[void 0,"\xA3E"],HKD:[void 0,"$"],INR:[void 0,"\u20B9"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NOK:[void 0,"NKr"],THB:["\u0E3F"],TWD:[void 0,"NT$"],USD:[void 0,"$"],VND:[void 0,"\u20AB"]},"ltr",Js];function Ys(r){let e=r,t=Math.floor(Math.abs(r)),i=r.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var ir=["de",[["AM","PM"],void 0,void 0],void 0,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xE4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],void 0,void 0],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}
1, {0}",void 0,"{1} 'um' {0}",void 0],[",",".",";","%","+","-","E","\xB7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","Euro",{ATS:["\xF6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[void 0,"\u0440."],CUC:[void 0,"Cub$"],DEM:["DM"],FKP:[void 0,"Fl\xA3"],GHS:[void 0,"\u20B5"],GNF:[void 0,"F.G."],KMF:[void 0,"FC"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],RWF:[void 0,"F.Rw"],SYP:[],THB:["\u0E3F"],TWD:["NT$"],XXX:[],ZMW:[void 0,"K"]},"ltr",Ys];function Xs(r){let e=r,t=Math.floor(Math.abs(r)),i=r.toString().replace(/^[^.]*\.?/,"").length,n=parseInt(r.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===0||t===1?1:n===0&&t!==0&&t%1e6===0&&i===0||!(n>=0&&n<=5)?4:5}var nr=["fr",[["AM","PM"],void 0,void 0],void 0,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xE9vr.","mars","avr.","mai","juin","juil.","ao\xFBt","sept.","oct.","nov.","d\xE9c."],["janvier","f\xE9vrier","mars","avril","mai","juin","juillet","ao\xFBt","septembre","octobre","novembre","d\xE9cembre"]],void 0,[["av. J.-C.","ap. J.-C."],void 0,["avant J\xE9sus-Christ","apr\xE8s J\xE9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1}, {0}","{1} '\xE0' {0}",void 0],[",","\u202F",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BYN:[void 0,"\u0440."],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[void 0,"\xA5"],COP:["$CO","$"],CYP:["\xA3CY"],EGP:[void 0,"\xA3E"],FJD:["$FJ","$"],FKP:["\xA3FK","\xA3"],FRF:["F"],GBP:["\xA3GB","\xA3"],GIP:["\xA3GI","\xA3"],HKD:[void 0,"$"],IEP:["\xA3IE"],ILP:["\xA3IL"],ITL:["\u20A4IT"],JPY:[void 0,"\xA5"],KMF:[void 0,"FC"],LBP:["\xA3LB","\xA3L"],MTP:["\xA3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[void 0,"$C"],NZD:["$NZ","$"],PHP:[void 0,"\u20B1"],RHD:["$RH"],RON:[void 0,"L"],RWF:[void 0,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[void 0,"$T"],TTD:["$TT","$"],TWD:[void 0,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[void 0,"$"],XPF:["FCFP"],ZMW:[void 0,"Kw"]},"ltr",Xs];function Zs(r){let e=r,t=Math.floor(Math.abs(r)),i=r.toString().replace(/^[^.]*\.?/,"").length,n=parseInt(r.toString().replace(/^[^.]*\.?/,""),10)||0;return i===0&&t%10===1&&t%100!==11||n%10===1&&n%100!==11?1:i===0&&t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)||n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?3:5}var rr=["hr",[["AM","PM"],void 0,void 0],void 0,[["N","P","U","S","\u010C","P","S"],["ned","pon","uto","sri","\u010Det","pet","sub"],["nedjelja","ponedjeljak","utorak","srijeda","\u010Detvrtak","petak","subota"],["ned","pon","uto","sri","\u010Det","pet","sub"]],[["n","p","u","s","\u010D","p","s"],["ned","pon","uto","sri","\u010Det","pet","sub"],["nedjelja","ponedjeljak","utorak","srijeda","\u010Detvrtak","petak","subota"],["ned","pon","uto","sri","\u010Det","pet","sub"]],[["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],["sij","velj","o\u017Eu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],["sije\u010Dnja","velja\u010De","o\u017Eujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenoga","prosinca"]],[["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],["sij","velj","o\u017Eu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],["sije\u010Danj","velja\u010Da","o\u017Eujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"]],[["pr.n.e.","AD"],["pr. Kr.","po. Kr."],["prije Krista","poslije Krista"]],1,[6,0],["dd. MM. y.","d. MMM y.","d. MMMM y.","EEEE, d. MMMM y."],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss (zzzz)"],["{1} {0}",void 0,"{1} 'u' {0}",void 0],[",",".",";","%","+","\u2212","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"HRK","kn","hrvatska kuna",{AUD:[void 0,"$"],BRL:[void 0,"R$"],BYN:[void 0,"\u0440."],CAD:[void 0,"$"],CNY:[void 0,"\xA5"],EUR:[void 0,"\u20AC"],GBP:[void 0,"\xA3"],HKD:[void 0,"$"],HRK:["kn"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],RUR:[void 0,"\u0440."],TWD:[void 0,"NT$"],USD:[void 0,"$"],VND:[void 0,"\u20AB"],XCD:[void 0,"$"],XPF:[],XXX:[]},"ltr",Zs];var sr=[[["mi","n","in the morning","in the afternoon","in the evening","at night"],["midnight","noon","in the morning","in the afternoon","in the evening","at night"],void 0],[["midnight","noon","morning","afternoon","evening","night"],void 0,void 0],["00:00","12:00",["06:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","06:00"]]];var or=[[["mezzanotte","mezzogiorno","di mattina","di pomeriggio","di sera","di notte"],void 0,["mezzanotte","mezzogiorno","di mattina","del pomeriggio","di sera","di notte"]],[["mezzanotte","mezzogiorno","mattina","pomeriggio","sera","notte"],void 0,void 0],["00:00","12:00",["06:00","12:00"],["12:00","18:00"],["18:00","24:00"],["00:00","06:00"]]];var ar=[[["Mitternacht","morgens","vorm.","mittags","nachm.","abends","nachts"],void 0,["Mitternacht","morgens","vormittags","mittags","nachmittags","abends","nachts"]],[["Mitternacht","Morgen","Vorm.","Mittag","Nachm.","Abend","Nacht"],void 0,["Mitternacht","Morgen","Vormittag","Mittag","Nachmittag","Abend","Nacht"]],["00:00",["05:00","10:00"],["10:00","12:00"],["12:00","13:00"],["13:00","18:00"],["18:00","24:00"],["00:00","05:00"]]];var lr=[[["minuit","midi","mat.","ap.m.","soir","nuit"],void 0,["minuit","midi","du matin","de l\u2019apr\xE8s-midi","du soir","du matin"]],[["minuit","midi","mat.","ap.m.","soir","nuit"],void 0,["minuit","midi","matin","apr\xE8s-midi","soir","nuit"]],["00:00","12:00",["04:00","12:00"],["12:00","18:00"],["18:00","24:00"],["00:00","04:00"]]];var ur=[[["pono\u0107","podne","ujutro","popodne","nave\u010Der","no\u0107u"],void 0,["pono\u0107","podne","ujutro","poslije podne","nave\u010Der","no\u0107u"]],[["pono\u0107","podne","ujutro","popodne","nave\u010Der","no\u0107u"],void 0,void 0],["00:00","12:00",["04:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","04:00"]]];var cr=(()=>{let e=class e extends Ye{constructor(){super(),this.translateService=b(We),this.getRangeLabel=(i,n,s)=>{if(s===0||n===0)return"0 od "+s;s=Math.max(s,0);let o=i*n,a=o<s?Math.min(o+n,s):o+n;return s===1?o+1+" - "+a+" "+this.of+" "+s+" "+this.element:o+1+" - "+a+" "+this.of+" "+s+" "+this.elements},this.itemsPerPageLabel=this.translateService.instant("paginator.rows_per_page"),this.nextPageLabel=this.translateService.instant("paginator.next_page"),this.previousPageLabel=this.translateService.instant("paginator.previous_page"),this.elements=this.translateService.instant("paginator.total_elements"),this.element=this.translateService.instant("paginator.element"),this.of=this.translateService.instant("paginator.of")}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var hr=(()=>{let e=class e{constructor(){this.disabled=!0}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();_e(er,A.EN.toLowerCase(),sr);_e(tr,A.IT.toLowerCase(),or);_e(ir,A.DE.toLowerCase(),ar);_e(nr,A.FR.toLowerCase(),lr);_e(rr,A.HR.toLowerCase(),ur);function eo(r){return new ft(r)}var to={showDelay:300,hideDelay:500,touchendHideDelay:500,touchGestures:"off",position:"above"},dr={providers:[Oi(Fi([tn])),Si(hn,Qi,Xi,rn,Pt,Ae,Tn,Mn,Je.forRoot({loader:{provide:Zi,useFactory:eo,deps:[qe]}}),un.forRoot()),{provide:Ye,useClass:cr},{provide:cn,useClass:dn},{provide:Yi,useValue:{duration:3e3}},{provide:nn,useValue:to},{provide:Ci,useValue:A.IT.toLowerCase()},{provide:Vi,useValue:"it-IT"},{provide:Wi,useExisting:hr},Zn(),Ki(En,Ui(),Hi({onSameUrlNavigation:"reload",paramsInheritanceStrategy:"always"}))]};var we=function(r){return r.PLATFORM_TIMEZONE="PLATFORM_TIMEZONE",r.GEOPOINT_RADIUS_EQUALITY="GEOPOINT_RADIUS_EQUALITY",r.PUBLIC_KEY="PUBLIC_KEY",r.B2C_AGENCY="B2C_AGENCY",r.MENU="MENU",r}(we||{});var mr=(()=>{let e=class e extends Gi{constructor(){super(...arguments),this.httpClient=b(qe),this.URLCheckMiniLink=M.baseTravelServiceUrl+"/agency/exist-minilink"}checkMiniLink(i){let n=new ki;return n=n.append("agencyCode",i),this.httpClient.get(this.URLCheckMiniLink,{params:n})}};e.\u0275fac=(()=>{let i;return function(s){return(i||(i=Ei(e)))(s||e)}})(),e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function io(r,e){if(r&1&&(xe(0,"mat-progress-bar",3),J(1,"async"),J(2,"translate")),r&2){let t=je();ze("value",Y(1,2,t._loader.value$)),$e("aria-label",Y(2,4,"aria.loading_page"))}}function no(r,e){if(r&1&&(ue(0,"div",5),xe(1,"mat-progress-spinner",6),J(2,"async"),J(3,"translate"),te()),r&2){let t=je();ee(),ze("value",Y(2,5,t._loader.value$))("diameter",150)("strokeWidth",13)("mode","indeterminate"),$e("aria-label",Y(3,7,"aria.loading"))}}var fr=(()=>{let e=class e{constructor(){this.translate=b(We),this._loader=b(Se),this.bookingService=b(an),this._settingService=b(fn),this._ngxPermissionsService=b(ln),this._router=b(j),this._secureSessionStorageService=b(qi),this._userLoginService=b(Q),this._liveAnnouncer=b(mn),this.document=b(Ue),this._agencyHttpService=b(mr),this.subscription=new mi,this.politeMessage="",this.assertiveMessage="",this._ngxPermissionsService.loadPermissions(this._userLoginService.getPermissions()),this.subscription.add(this._liveAnnouncer.politeMessage$.subscribe(n=>{this.politeMessage=n})),this.subscription.add(this._liveAnnouncer.assertiveMessage$.subscribe(n=>{this.assertiveMessage=n}));let i=navigator.language.split("-")[0];switch(this._router.events.pipe(St(n=>n instanceof Ge)).subscribe(n=>{if(n.url.includes(M.baseAdminPath))this.language=A.IT.toLowerCase();else if(n.url.includes(M.baseAgencyPath))if(this._userLoginService.getAgencyLanguage())this.language=this._userLoginService.getAgencyLanguage();else{switch(i){case A.EN.toLowerCase():this.language=A.EN.toLowerCase();break;default:this.language=A.IT.toLowerCase();break}this._userLoginService.setAgencyLanguage(this.language,!0)}else if(this._userLoginService.getLanguage())this.language=this._userLoginService.getLanguage();else{switch(i){case A.IT.toLowerCase():this.language=A.IT.toLowerCase();break;case A.DE.toLowerCase():this.language=A.DE.toLowerCase();break;case A.FR.toLowerCase():this.language=A.FR.toLowerCase();break;case A.HR.toLowerCase():this.language=A.HR.toLowerCase();break;default:this.language=A.EN.toLowerCase();break}this._userLoginService.setLanguage(this.language,!0)}this.translate.setDefaultLang(this.language),this.translate.use(this.language),this.document.documentElement.lang=this.language}),this.subscription.add(this._router.events.pipe(St(n=>n instanceof Ve)).subscribe(()=>{this._liveAnnouncer.announce(this.translate.instant("aria.navigation_completed"),"polite")})),this._userLoginService.getTheme()){case this._userLoginService.DARK_THEME:this._userLoginService.setTheme(this._userLoginService.DARK_THEME);break;case this._userLoginService.LIGHT_THEME:this._userLoginService.setTheme(this._userLoginService.LIGHT_THEME);break;default:this._userLoginService.setTheme(this._userLoginService.LIGHT_THEME)}if(window.location.hostname.includes(M.agencyUrl)&&!window.location.pathname.startsWith("/"+M.baseAgencyPath))this._router.navigate(["/"+M.baseAgencyPath]).then();else if(window.location.pathname.includes("/"+M.miniLinkUrl))if(window.location.search){let s=new URLSearchParams(window.location.search).get("code");this.subscription.add(this._agencyHttpService.checkMiniLink(s).subscribe({next:o=>{o.minilink?(this._secureSessionStorageService.setItem("miniLinkCode",s),this.get
1SettingsForMiniLink(s)):this._router.navigate(["/page-not-found"]).then()},error:()=>{this._router.navigate(["/page-not-found"]).then()}}))}else this._router.navigate(["/page-not-found"]).then();window.location.pathname.includes("/"+M.miniLinkUrl)||this.getSettings()}getSettingsForMiniLink(i){this.subscription.add(this._settingService.getPublicSettings().subscribe(n=>{let s=n.find(o=>o.settingKey===we.PLATFORM_TIMEZONE)?.value;s&&this._userLoginService.setTimezone(s),this.bookingService.agencyCodeB2C.set(i||this._secureSessionStorageService.getItem("miniLinkCode")),this._router.navigate(["/"+M.baseBookingPath+"/search"]).then()}))}getSettings(){this.subscription.add(this._settingService.getPublicSettings().subscribe(i=>{let n=i.find(s=>s.settingKey===we.PLATFORM_TIMEZONE)?.value;n&&this._userLoginService.setTimezone(n),this.bookingService.agencyCodeB2C.set(i.find(s=>s.settingKey===we.B2C_AGENCY)?.value),this.bookingService.menuType=i.find(s=>s.settingKey===we.MENU)?.value}))}skipToMainContent(i){i.preventDefault();let n=l=>!!l&&l.offsetParent!==null&&getComputedStyle(l).visibility!=="hidden",s=document.getElementById("skip-target"),o=document.getElementById("layout-skip-target"),a=n(s)?s:n(o)?o:document.getElementById("main-content");a&&(a.focus(),a.scrollIntoView({behavior:"smooth",block:"start"}))}handleEscapeKey(i){let n=this.document.activeElement;n&&n.blur&&(n.blur(),setTimeout(()=>n.focus(),100))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Mt({type:e,selectors:[["app-root"]],hostBindings:function(n,s){n&1&&At("keydown.escape",function(a){return s.handleEscapeKey(a)},!1,Mi)},standalone:!0,features:[Pi],decls:14,vars:11,consts:[["href","#main-content",1,"skip-link",3,"click","keydown.enter"],["role","status","aria-live","polite","aria-atomic","true",1,"sr-only"],["role","alert","aria-live","assertive","aria-atomic","true",1,"sr-only"],["mode","determinate","color","accent",1,"position-progress-bar",3,"value"],["id","main-content","tabindex","-1"],[1,"wrapper"],["color","accent",3,"value","diameter","strokeWidth","mode"]],template:function(n,s){n&1&&(ue(0,"header")(1,"a",0),At("click",function(a){return s.skipToMainContent(a)})("keydown.enter",function(a){return s.skipToMainContent(a)}),Ke(2),J(3,"translate"),te(),ue(4,"div",1),Ke(5),te(),ue(6,"div",2),Ke(7),te(),Be(8,io,3,6,"mat-progress-bar",3),J(9,"async"),te(),ue(10,"main",4)(11,"router-outlet"),Be(12,no,4,9,"div",5),J(13,"async"),te()()),n&2&&(ee(2),He(" ",Y(3,5,"aria.skip_to_main_content")," "),ee(3),He(" ",s.politeMessage," "),ee(2),He(" ",s.assertiveMessage," "),ee(),wt(8,Y(9,7,s._loader.value$)?8:-1),ee(4),wt(12,Y(13,9,s._loader.value$)?12:-1))},dependencies:[ji,gn,pn,on,sn,Ni,Je,en],styles:['.wrapper[_ngcontent-%COMP%]{position:fixed;z-index:999;width:100vw;height:100vh;display:flex;justify-content:center;align-items:center;pointer-events:all}.wrapper[_ngcontent-%COMP%]:before{background-color:#ebebeb;content:"";position:absolute;inset:0;opacity:.7;z-index:-1}.position-progress-bar[_ngcontent-%COMP%]{z-index:999;position:absolute}']});let r=e;return r})();window.dataLayer=window.dataLayer||[];var ro=console.warn.bind(console);console.warn=(...r)=>{typeof r[0]=="string"&&r[0].includes("scalapay widget")||ro(...r)};M.production&&void 0;$i(fr,dr).catch(r=>console.error(r));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.