import{a as Za,c as mf,d as sc,g as pf,h as lc,i as hf}from"./chunk-TY275UPP.js";import"./chunk-3UTNITF7.js";import"./chunk-DHQ3R5XE.js";import{a as yo,b as Qh,c as Kh,d as Jh,e as ef,f as tf,g as nf,h as of,i as rf,j as Bt,k as $e,l as Re,m as df,n as uf}from"./chunk-G5EBE63V.js";import{c as Nn,d as fn,e as Xl,g as Ai,h as Bn,i as Yi,j as br,k as _r}from"./chunk-JGYM447R.js";import{$ as Vt,$a as be,$b as x,A as Oa,Aa as Et,Ab as b,Ac as hn,B as $l,Ba as qe,Bb as Zi,Bc as Wh,C as lt,Ca as Aa,Cb as qi,Cc as Gh,D as Ch,Db as un,Dc as Zh,E as Oi,Eb as _e,Ec as qh,F as ho,Fb as Xt,Fc as yi,G as ln,Gb as Bh,Gc as Yh,H as Ul,Hb as P,Hc as Xh,I as yh,Ib as zh,Ic as xi,J as xh,Jb as C,K as wh,Kb as W,Kc as za,L as Wl,Lb as R,M as Pa,Ma as go,Mb as vr,N as jt,Na as kh,Nb as mn,O as wt,Oa as yt,Ob as Ge,P as Je,Pa as Th,Pb as xe,Q as Ih,Qa as Oh,Qb as ne,R as ot,Rb as oe,S as hr,Sa as h,Sb as bi,T as It,Ta as c,Tb as y,U as I,Ua as gr,Ub as Z,V as Gl,Va as vi,Vb as Be,Wa as Ph,Wb as Fi,X as z,Xa as Ra,Xb as _i,Y as v,Ya as Fh,Yb as ci,Z as Ce,Za as si,Zb as Ci,_ as re,_a as Ah,_b as We,a as Rt,aa as de,ab as V,ac as di,b as bh,ba as ue,bb as M,bc as Hh,c as jn,ca as q,cb as Rh,cc as F,d as zl,da as Gi,db as li,dc as $,e as Da,ea as S,eb as ke,ec as et,f as ce,fa as fr,fb as ct,fc as bo,g as Tt,gb as Lh,gc as $h,h as $i,ha as J,hb as jh,hc as La,i as Y,ia as ye,ib as Vh,ic as ja,j as ti,ja as Sh,jb as O,jc as Uh,k as me,ka as se,kb as ht,kc as pn,l as Vn,la as Eh,lb as ft,lc as ql,m as ka,mb as Ie,n as _h,na as Fa,nb as k,nc as De,o as Me,oa as ut,ob as Pi,oc as Qt,p as sn,pa as Mh,pb as ee,pc as Va,q as Lt,qa as Nt,qb as Nh,qc as Na,r as Ta,ra as j,rb as ii,rc as Yl,s as Ui,sa as w,sb as dn,t as po,ta as fo,tb as H,u as Wi,ua as Dh,ub as vo,uc as Ee,v as Gt,vb as Zl,vc as _o,w as Ue,wa as Ot,wb as Te,wc as ni,x as Hl,xa as cn,xb as Oe,y as Ti,ya as rt,yb as m,yc as Co,z as pr,za as Ct,zb as p,zc as Ba}from"./chunk-V56HZQFR.js";import{a as cc}from"./chunk-B43CU5JX.js";import{a as ff}from"./chunk-TQEIIVVC.js";import"./chunk-KSKP3UWS.js";import"./chunk-QTZB7UWH.js";import"./chunk-HC6MZPB3.js";import"./chunk-WND7HVWL.js";import"./chunk-426OJ4HC.js";import"./chunk-F2UYLNH6.js";import"./chunk-RL7OB6O5.js";import"./chunk-WQJ4QNRK.js";import"./chunk-7D6K5XYM.js";import"./chunk-OBXDPQ3V.js";import"./chunk-KMQJ72U6.js";import"./chunk-6VCQLN4S.js";import"./chunk-5WX7YLHU.js";import"./chunk-MCRJI3T3.js";import"./chunk-MM5QLNJM.js";import"./chunk-H3GX5QFY.js";import"./chunk-XIDNOUTQ.js";import"./chunk-NTIQCIDW.js";import{a as Ve,b as tc,c as ic,d as nc,e as oc,f as rc,g as Ua,h as Wa}from"./chunk-ULXVBXM7.js";import{a as gn}from"./chunk-F7XBNY6P.js";import{a as vn,b as Ha,c as af,d as $a,e as sf,f as Dt,g as Xi,h as ec,i as xr}from"./chunk-AJPISUXH.js";import{a as ac,c as Ga}from"./chunk-NMYJD6OP.js";import{a as lf,d as cf}from"./chunk-6OAAMOKG.js";import{a as Hn,b as Kl,c as yr,d as oi,e as Jl}from"./chunk-5OSCA4PF.js";import{a as wo,d as Ql,e as zt,f as Io,i as gt,j as So}from"./chunk-OZAZMMKQ.js";import{a as Cr,b as zn}from"./chunk-LF5XB4YN.js";import{a as xo}from"./chunk-5UTAZLTF.js";import{a as G,b as Ne,d as vh,e as Ae}from"./chunk-FP7EQKGB.js";var Pe="primary",Lr=Symbol("RouteTitle"),hc=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let o=this.params[t];return Array.isArray(o)?o[0]:o}return null}getAll(t){if(this.has(t)){let o=this.params[t];return Array.isArray(o)?o:[o]}return[]}get keys(){return Object.keys(this.params)}};function To(i){return new hc(i)}function G_(i,t,o){let e=o.path.split("/");if(e.length>i.length||o.pathMatch==="full"&&(t.hasChildren()||e.length<i.length))return null;let n={};for(let r=0;r<e.length;r++){let a=e[r],s=i[r];if(a.startsWith(":"))n[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:i.slice(0,e.length),posParams:n}}function Z_(i,t){if(i.length!==t.length)return!1;for(let o=0;o<i.length;++o)if(!Ri(i[o],t[o]))return!1;return!0}function Ri(i,t){let o=i?fc(i):void 0,e=t?fc(t):void 0;if(!o||!e||o.length!=e.length)return!1;let n;for(let r=0;r<o.length;r++)if(n=o[r],!wf(i[n],t[n]))return!1;return!0}function fc(i){return[...Object.keys(i),...Object.getOwnPropertySymbols(i)]}function wf(i,t){if(Array.isArray(i)&&Array.isArray(t)){if(i.length!==t.length)return!1;let o=[...i].sort(),e=[...t].sort();return o.every((n,r)=>e[r]===n)}else return i===t}function If(i){return i.length>0?i[i.length-1]:null}function yn(i){return ka(i)?i:La(i)?ti(Promise.resolve(i)):me(i)}var q_={exact:Ef,subset:Mf},Sf={exact:Y_,subset:X_,ignored:()=>!0};function gf(i,t,o){return q_[o.paths](i.root,t.root,o.matrixParams)&&Sf[o.queryParams](i.queryParams,t.queryParams)&&!(o.fragment==="exact"&&i.fragment!==t.fragment)}function Y_(i,t){return Ri(i,t)}function Ef(i,t,o){if(!Un(i.segments,t.segments)||!Xa(i.segments,t.segments,o)||i.numberOfChildren!==t.numberOfChildren)return!1;for(let e in t.children)if(!i.children[e]||!Ef(i.children[e],t.children[e],o))return!1;return!0}function X_(i,t){return Object.keys(t).length<=Object.keys(i).length&&Object.keys(t).every(o=>wf(i[o],t[o]))}function Mf(i,t,o){return Df(i,t,t.segments,o)}function Df(i,t,o,e){if(i.segments.length>o.length){let n=i.segments.slice(0,o.length);return!(!Un(n,o)||t.hasChildren()||!Xa(n,o,e))}else if(i.segments.length===o.length){if(!Un(i.segments,o)||!Xa(i.segments,o,e))return!1;for(let n in t.children)if(!i.children[n]||!Mf(i.children[n],t.children[n],e))return!1;return!0}else{let n=o.slice(0,i.segments.length),r=o.slice(i.segments.length);return!Un(i.segments,n)||!Xa(i.segments,n,e)||!i.children[Pe]?!1:Df(i.children[Pe],t,r,e)}}function Xa(i,t,o){return t.every((e,n)=>Sf[o](i[n].parameters,e.parameters))}var bn=class{constructor(t=new tt([],{}),o={},e=null){this.root=t,this.queryParams=o,this.fragment=e}get queryParamMap(){return this._queryParamMap??=To(this.queryParams),this._queryParamMap}toString(){return J_.serialize(this)}},tt=class{constructor(t,o){this.segments=t,this.children=o,this.parent=null,Object.values(o).forEach(e=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Qa(this)}},$n=class{constructor(t,o){this.path=t,this.parameters=o}get parameterMap(){return this._parameterMap??=To(this.parameters),this._parameterMap}toString(){return Tf(this)}};function Q_(i,t){return Un(i,t)&&i.every((o,e)=>Ri(o.parameters,t[e].parameters))}function Un(i,t){return i.length!==t.length?!1:i.every((o,e)=>o.path===t[e].path)}function K_(i,t){let o=[];return Object.entries(i.children).forEach(([e,n])=>{e===Pe&&(o=o.concat(t(n,e)))}),Object.entries(i.children).forEach(([e,n])=>{e!==Pe&&(o=o.concat(t(n,e)))}),o}var jr=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:()=>new Ja,providedIn:"root"});let i=t;return i})(),Ja=class{parse(t){let o=new vc(t);return new bn(o.parseRootSegment(),o.parseQueryParams(),o.parseFragment())}serialize(t){let o=`/${wr(t.root,!0)}`,e=iC(t.queryParams),n=typeof t.fragment=="string"?`#${eC(t.fragment)}`:"";return`${o}${e}${n}`}},J_=new Ja;function Qa(i){return i.segments.map(t=>Tf(t)).join("/")}function wr(i,t){if(!i.hasChildren())return Qa(i);if(t){let o=i.children[Pe]?wr(i.children[Pe],!1):"",e=[];return Object.entries(i.children).forEach(([n,r])=>{n!==Pe&&e.push(`${n}:${wr(r,!1)}`)}),e.length>0?`${o}(${e.join("//")})`:o}else{let o=K_(i,(e,n)=>n===Pe?[wr(i.children[Pe],!1)]:[`${n}:${wr(e,!1)}`]);return Object.keys(i.children).length===1&&i.children[Pe]!=null?`${Qa(i)}/${o[0]}`:`${Qa(i)}/(${o.join("//")})`}}function kf(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function qa(i){return kf(i).replace(/%3B/gi,";")}function eC(i){return encodeURI(i)}function gc(i){return kf(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ka(i){return decodeURIComponent(i)}function vf(i){return Ka(i.replace(/\+/g,"%20"))}function Tf(i){return`${gc(i.path)}${tC(i.parameters)}`}function tC(i){return Object.entries(i).map(([t,o])=>`;${gc(t)}=${gc(o)}`).join("")}function iC(i){let t=Object.entries(i).map(([o,e])=>Array.isArray(e)?e.map(n=>`${qa(o)}=${qa(n)}`).join("&"):`${qa(o)}=${qa(e)}`).filter(o=>o);return t.length?`?${t.join("&")}`:""}var nC=/^[^\/()?;#]+/;function dc(i){let t=i.match(nC);return t?t[0]:""}var oC=/^[^\/()?;=#]+/;function rC(i){let t=i.match(oC);return t?t[0]:""}var aC=/^[^=?&#]+/;function sC(i){let t=i.match(aC);return t?t[0]:""}var lC=/^[^&#]+/;function cC(i){let t=i.match(lC);return t?t[0]:""}var vc=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new tt([],{}):new tt([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let o={};this.peekStartsWith("/(")&&(this.capture("/"),o=this.parseParens(!0));let e={};return this.peekStartsWith("(")&&(e=this.parseParens(!1)),(t.length>0||Object.keys(o).length>0)&&(e[Pe]=new tt(t,o)),e}parseSegment(){let t=dc(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new It(4009,!1);return this.capture(t),new $n(Ka(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let o=rC(this.remaining);if(!o)return;this.capture(o);let e="";if(this.consumeOptional("=")){let n=dc(this.remaining);n&&(e=n,this.capture(e))}t[Ka(o)]=Ka(e)}parseQueryParam(t){let o=sC(this.remaining);if(!o)return;this.capture(o);let e="";if(this.consumeOptional("=")){let a=cC(this.remaining);a&&(e=a,this.capture(e))}let n=vf(o),r=vf(e);if(t.hasOwnProperty(n)){let a=t[n];Array.isArray(a)||(a=[a],t[n]=a),a.push(r)}else t[n]=r}parseParens(t){let o={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let e=dc(this.remaining),n=this.remaining[e.length];if(n!=="/"&&n!==")"&&n!==";")throw new It(4010,!1);let r;e.indexOf(":")>-1?(r=e.slice(0,e.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=Pe);let a=this.parseChildren();o[r]=Object.keys(a).length===1?a[Pe]:new tt([],a),this.consumeOptional("//")}return o}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new It(4011,!1)}};function Of(i){return i.segments.length>0?new tt([],{[Pe]:i}):i}function Pf(i){let t={};for(let[e,n]of Object.entries(i.children)){let r=Pf(n);if(e===Pe&&r.segments.length===0&&r.hasChildren())for(let[a,s]of Object.entries(r.children))t[a]=s;else(r.segments.length>0||r.hasChildren())&&(t[e]=r)}let o=new tt(i.segments,t);return dC(o)}function dC(i){if(i.numberOfChildren===1&&i.children[Pe]){let t=i.children[Pe];return new tt(i.segments.concat(t.segments),t.children)}return i}function Oo(i){return i instanceof bn}function uC(i,t,o=null,e=null){let n=Ff(i);return Af(n,t,o,e)}function Ff(i){let t;function o(r){let a={};for(let l of r.children){let d=o(l);a[l.outlet]=d}let s=new tt(r.url,a);return r===i&&(t=s),s}let e=o(i.root),n=Of(e);return t??n}function Af(i,t,o,e){let n=i;for(;n.parent;)n=n.parent;if(t.length===0)return uc(n,n,n,o,e);let r=mC(t);if(r.toRoot())return uc(n,n,new tt([],{}),o,e);let a=pC(r,n,i),s=a.processChildren?Er(a.segmentGroup,a.index,r.commands):Lf(a.segmentGroup,a.index,r.commands);return uc(n,a.segmentGroup,s,o,e)}function es(i){return typeof i=="object"&&i!=null&&!i.outlets&&!i.segmentPath}function kr(i){return typeof i=="object"&&i!=null&&i.outlets}function uc(i,t,o,e,n){let r={};e&&Object.entries(e).forEach(([l,d])=>{r[l]=Array.isArray(d)?d.map(u=>`${u}`):`${d}`});let a;i===t?a=o:a=Rf(i,t,o);let s=Of(Pf(a));return new bn(s,r,n)}function Rf(i,t,o){let e={};return Object.entries(i.children).forEach(([n,r])=>{r===t?e[n]=o:e[n]=Rf(r,t,o)}),new tt(i.segments,e)}var ts=class{constructor(t,o,e){if(this.isAbsolute=t,this.numberOfDoubleDots=o,this.commands=e,t&&e.length>0&&es(e[0]))throw new It(4003,!1);let n=e.find(kr);if(n&&n!==If(e))throw new It(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function mC(i){if(typeof i[0]=="string"&&i.length===1&&i[0]==="/")return new ts(!0,0,i);let t=0,o=!1,e=i.reduce((n,r,a)=>{if(typeof r=="object"&&r!=null){if(r.outlets){let s={};return Object.entries(r.outlets).forEach(([l,d])=>{s[l]=typeof d=="string"?d.split("/"):d}),[...n,{outlets:s}]}if(r.segmentPath)return[...n,r.segmentPath]}return typeof r!="string"?[...n,r]:a===0?(r.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?o=!0:s===".."?t++:s!=""&&n.push(s))}),n):[...n,r]},[]);return new ts(o,t,e)}var Do=class{constructor(t,o,e){this.segmentGroup=t,this.processChildren=o,this.index=e}};function pC(i,t,o){if(i.isAbsolute)return new Do(t,!0,0);if(!o)return new Do(t,!1,NaN);if(o.parent===null)return new Do(o,!0,0);let e=es(i.commands[0])?0:1,n=o.segments.length-1+e;return hC(o,n,i.numberOfDoubleDots)}function hC(i,t,o){let e=i,n=t,r=o;for(;r>n;){if(r-=n,e=e.parent,!e)throw new It(4005,!1);n=e.segments.length}return new Do(e,!1,n-r)}function fC(i){return kr(i[0])?i[0].outlets:{[Pe]:i}}function Lf(i,t,o){if(i??=new tt([],{}),i.segments.length===0&&i.hasChildren())return Er(i,t,o);let e=gC(i,t,o),n=o.slice(e.commandIndex);if(e.match&&e.pathIndex<i.segments.length){let r=new tt(i.segments.slice(0,e.pathIndex),{});return r.children[Pe]=new tt(i.segments.slice(e.pathIndex),i.children),Er(r,0,n)}else return e.match&&n.length===0?new tt(i.segments,{}):e.match&&!i.hasChildren()?bc(i,t,o):e.match?Er(i,0,n):bc(i,t,o)}function Er(i,t,o){if(o.length===0)return new tt(i.segments,{});{let e=fC(o),n={};if(Object.keys(e).some(r=>r!==Pe)&&i.children[Pe]&&i.numberOfChildren===1&&i.children[Pe].segments.length===0){let r=Er(i.children[Pe],t,o);return new tt(i.segments,r.children)}return Object.entries(e).forEach(([r,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(n[r]=Lf(i.children[r],t,a))}),Object.entries(i.children).forEach(([r,a])=>{e[r]===void 0&&(n[r]=a)}),new tt(i.segments,n)}}function gC(i,t,o){let e=0,n=t,r={match:!1,pathIndex:0,commandIndex:0};for(;n<i.segments.length;){if(e>=o.length)return r;let a=i.segments[n],s=o[e];if(kr(s))break;let l=`${s}`,d=e<o.length-1?o[e+1]:null;if(n>0&&l===void 0)break;if(l&&d&&typeof d=="object"&&d.outlets===void 0){if(!_f(l,d,a))return r;e+=2}else{if(!_f(l,{},a))return r;e++}n++}return{match:!0,pathIndex:n,commandIndex:e}}function bc(i,t,o){let e=i.segments.slice(0,t),n=0;for(;n<o.length;){let r=o[n];if(kr(r)){let l=vC(r.outlets);return new tt(e,l)}if(n===0&&es(o[0])){let l=i.segments[t];e.push(new $n(l.path,bf(o[0]))),n++;continue}let a=kr(r)?r.outlets[Pe]:`${r}`,s=n<o.length-1?o[n+1]:null;a&&s&&es(s)?(e.push(new $n(a,bf(s))),n+=2):(e.push(new $n(a,{})),n++)}return new tt(e,{})}function vC(i){let t={};return Object.entries(i).forEach(([o,e])=>{typeof e=="string"&&(e=[e]),e!==null&&(t[o]=bc(new tt([],{}),0,e))}),t}function bf(i){let t={};return Object.entries(i).forEach(([o,e])=>t[o]=`${e}`),t}function _f(i,t,o){return i==o.path&&Ri(t,o.parameters)}var Mr="imperative",Pt=function(i){return i[i.NavigationStart=0]="NavigationStart",i[i.NavigationEnd=1]="NavigationEnd",i[i.NavigationCancel=2]="NavigationCancel",i[i.NavigationError=3]="NavigationError",i[i.RoutesRecognized=4]="RoutesRecognized",i[i.ResolveStart=5]="ResolveStart",i[i.ResolveEnd=6]="ResolveEnd",i[i.GuardsCheckStart=7]="GuardsCheckStart",i[i.GuardsCheckEnd=8]="GuardsCheckEnd",i[i.RouteConfigLoadStart=9]="RouteConfigLoadStart",i[i.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",i[i.ChildActivationStart=11]="ChildActivationStart",i[i.ChildActivationEnd=12]="ChildActivationEnd",i[i.ActivationStart=13]="ActivationStart",i[i.ActivationEnd=14]="ActivationEnd",i[i.Scroll=15]="Scroll",i[i.NavigationSkipped=16]="NavigationSkipped",i}(Pt||{}),mi=class{constructor(t,o){this.id=t,this.url=o}},Qi=class extends mi{constructor(t,o,e="imperative",n=null){super(t,o),this.type=Pt.NavigationStart,this.navigationTrigger=e,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},_n=class extends mi{constructor(t,o,e){super(t,o),this.urlAfterRedirects=e,this.type=Pt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ui=function(i){return i[i.Redirect=0]="Redirect",i[i.SupersededByNewNavigation=1]="SupersededByNewNavigation",i[i.NoDataFromResolver=2]="NoDataFromResolver",i[i.GuardRejected=3]="GuardRejected",i}(ui||{}),_c=function(i){return i[i.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",i[i.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",i}(_c||{}),Cn=class extends mi{constructor(t,o,e,n){super(t,o),this.reason=e,this.code=n,this.type=Pt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Wn=class extends mi{constructor(t,o,e,n){super(t,o),this.reason=e,this.code=n,this.type=Pt.NavigationSkipped}},Tr=class extends mi{constructor(t,o,e,n){super(t,o),this.error=e,this.target=n,this.type=Pt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},is=class extends mi{constructor(t,o,e,n){super(t,o),this.urlAfterRedirects=e,this.state=n,this.type=Pt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Cc=class extends mi{constructor(t,o,e,n){super(t,o),this.urlAfterRedirects=e,this.state=n,this.type=Pt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},yc=class extends mi{constructor(t,o,e,n,r){super(t,o),this.urlAfterRedirects=e,this.state=n,this.shouldActivate=r,this.type=Pt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},xc=class extends mi{constructor(t,o,e,n){super(t,o),this.urlAfterRedirects=e,this.state=n,this.type=Pt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wc=class extends mi{constructor(t,o,e,n){super(t,o),this.urlAfterRedirects=e,this.state=n,this.type=Pt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ic=class{constructor(t){this.route=t,this.type=Pt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Sc=class{constructor(t){this.route=t,this.type=Pt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ec=class{constructor(t){this.snapshot=t,this.type=Pt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mc=class{constructor(t){this.snapshot=t,this.type=Pt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Dc=class{constructor(t){this.snapshot=t,this.type=Pt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},kc=class{constructor(t){this.snapshot=t,this.type=Pt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Or=class{},Pr=class{constructor(t){this.url=t}};var Tc=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Gn,this.attachRef=null}},Gn=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,n){let r=this.getOrCreateContext(e);r.outlet=n,this.contexts.set(e,r)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new Tc,this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),ns=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let o=this.pathFromRoot(t);return o.length>1?o[o.length-2]:null}children(t){let o=Oc(t,this._root);return o?o.children.map(e=>e.value):[]}firstChild(t){let o=Oc(t,this._root);return o&&o.children.length>0?o.children[0].value:null}siblings(t){let o=Pc(t,this._root);return o.length<2?[]:o[o.length-2].children.map(n=>n.value).filter(n=>n!==t)}pathFromRoot(t){return Pc(t,this._root).map(o=>o.value)}};function Oc(i,t){if(i===t.value)return t;for(let o of t.children){let e=Oc(i,o);if(e)return e}return null}function Pc(i,t){if(i===t.value)return[t];for(let o of t.children){let e=Pc(i,o);if(e.length)return e.unshift(t),e}return[]}var ri=class{constructor(t,o){this.value=t,this.children=o}toString(){return`TreeNode(${this.value})`}};function Mo(i){let t={};return i&&i.children.forEach(o=>t[o.value.outlet]=o),t}var os=class extends ns{constructor(t,o){super(t),this.snapshot=o,Hc(this,t)}toString(){return this.snapshot.toString()}};function jf(i){let t=bC(i),o=new Tt([new $n("",{})]),e=new Tt({}),n=new Tt({}),r=new Tt({}),a=new Tt(""),s=new it(o,e,r,a,n,Pe,i,t.root);return s.snapshot=t.root,new os(new ri(s,[]),t)}function bC(i){let t={},o={},e={},n="",r=new Fr([],t,e,n,o,Pe,i,null,{});return new rs("",new ri(r,[]))}var it=class{constructor(t,o,e,n,r,a,s,l){this.urlSubject=t,this.paramsSubject=o,this.queryParamsSubject=e,this.fragmentSubject=n,this.dataSubject=r,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(Me(d=>d[Lr]))??me(void 0),this.url=t,this.params=o,this.queryParams=e,this.fragment=n,this.data=r}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(Me(t=>To(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Me(t=>To(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function zc(i,t,o="emptyOnly"){let e,{routeConfig:n}=i;return t!==null&&(o==="always"||n?.path===""||!t.component&&!t.routeConfig?.loadComponent)?e={params:G(G({},t.params),i.params),data:G(G({},t.data),i.data),resolve:G(G(G(G({},i.data),t.data),n?.data),i._resolvedData)}:e={params:G({},i.params),data:G({},i.data),resolve:G(G({},i.data),i._resolvedData??{})},n&&Nf(n)&&(e.resolve[Lr]=n.title),e}var Fr=class{get title(){return this.data?.[Lr]}constructor(t,o,e,n,r,a,s,l,d){this.url=t,this.params=o,this.queryParams=e,this.fragment=n,this.data=r,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=To(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=To(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(e=>e.toString()).join("/"),o=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${o}')`}},rs=class extends ns{constructor(t,o){super(o),this.url=t,Hc(this,o)}toString(){return Vf(this._root)}};function Hc(i,t){t.value._routerState=i,t.children.forEach(o=>Hc(i,o))}function Vf(i){let t=i.children.length>0?` { ${i.children.map(Vf).join(", ")} } `:"";return`${i.value}${t}`}function mc(i){if(i.snapshot){let t=i.snapshot,o=i._futureSnapshot;i.snapshot=o,Ri(t.queryParams,o.queryParams)||i.queryParamsSubject.next(o.queryParams),t.fragment!==o.fragment&&i.fragmentSubject.next(o.fragment),Ri(t.params,o.params)||i.paramsSubject.next(o.params),Z_(t.url,o.url)||i.urlSubject.next(o.url),Ri(t.data,o.data)||i.dataSubject.next(o.data)}else i.snapshot=i._futureSnapshot,i.dataSubject.next(i._futureSnapshot.data)}function Fc(i,t){let o=Ri(i.params,t.params)&&Q_(i.url,t.url),e=!i.parent!=!t.parent;return o&&!e&&(!i.parent||Fc(i.parent,t.parent))}function Nf(i){return typeof i.title=="string"||i.title===null}var Vr=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=Pe,this.activateEvents=new I,this.deactivateEvents=new I,this.attachEvents=new I,this.detachEvents=new I,this.parentContexts=w(Gn),this.location=w(li),this.changeDetector=w(V),this.environmentInjector=w(Ot),this.inputBinder=w(ls,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:r}=e.name;if(n)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new It(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new It(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new It(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new It(4013,!1);this._activatedRoute=e;let r=this.location,s=e.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,d=new Ac(e,l,r.injector);this.activated=r.createComponent(s,{index:r.length,injector:d,environmentInjector:n??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=re({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[rt]});let i=t;return i})(),Ac=class{constructor(t,o,e){this.route=t,this.childContexts=o,this.parent=e}get(t,o){return t===it?this.route:t===Gn?this.childContexts:this.parent.get(t,o)}},ls=new se(""),Cf=(()=>{let t=class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,r=sn([n.queryParams,n.params,n.data]).pipe(wt(([a,s,l],d)=>(l=G(G(G({},a),s),l),d===0?me(l):Promise.resolve(l)))).subscribe(a=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let s=Na(n.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:l}of s.inputs)e.activatedComponentRef.setInput(l,a[l])});this.outletDataSubscriptions.set(e,r)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac});let i=t;return i})();function _C(i,t,o){let e=Ar(i,t._root,o?o._root:void 0);return new os(e,t)}function Ar(i,t,o){if(o&&i.shouldReuseRoute(t.value,o.value.snapshot)){let e=o.value;e._futureSnapshot=t.value;let n=CC(i,t,o);return new ri(e,n)}else{if(i.shouldAttach(t.value)){let r=i.retrieve(t.value);if(r!==null){let a=r.route;return a.value._futureSnapshot=t.value,a.children=t.children.map(s=>Ar(i,s)),a}}let e=yC(t.value),n=t.children.map(r=>Ar(i,r));return new ri(e,n)}}function CC(i,t,o){return t.children.map(e=>{for(let n of o.children)if(i.shouldReuseRoute(e.value,n.value.snapshot))return Ar(i,e,n);return Ar(i,e)})}function yC(i){return new it(new Tt(i.url),new Tt(i.params),new Tt(i.queryParams),new Tt(i.fragment),new Tt(i.data),i.outlet,i.component,i)}var Bf="ngNavigationCancelingError";function zf(i,t){let{redirectTo:o,navigationBehaviorOptions:e}=Oo(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,n=Hf(!1,ui.Redirect);return n.url=o,n.navigationBehaviorOptions=e,n}function Hf(i,t){let o=new Error(`NavigationCancelingError: ${i||""}`);return o[Bf]=!0,o.cancellationCode=t,o}function xC(i){return $f(i)&&Oo(i.url)}function $f(i){return!!i&&i[Bf]}var wC=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["ng-component"]],standalone:!0,features:[x],decls:1,vars:0,template:function(n,r){n&1&&b(0,"router-outlet")},dependencies:[Vr],encapsulation:2});let i=t;return i})();function IC(i,t){return i.providers&&!i._injector&&(i._injector=jh(i.providers,t,`Route: ${i.path}`)),i._injector??t}function $c(i){let t=i.children&&i.children.map($c),o=t?Ne(G({},i),{children:t}):G({},i);return!o.component&&!o.loadComponent&&(t||o.loadChildren)&&o.outlet&&o.outlet!==Pe&&(o.component=wC),o}function Li(i){return i.outlet||Pe}function SC(i,t){let o=i.filter(e=>Li(e)===t);return o.push(...i.filter(e=>Li(e)!==t)),o}function Nr(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let t=i.parent;t;t=t.parent){let o=t.routeConfig;if(o?._loadedInjector)return o._loadedInjector;if(o?._injector)return o._injector}return null}var EC=(i,t,o,e)=>Me(n=>(new Rc(t,n.targetRouterState,n.currentRouterState,o,e).activate(i),n)),Rc=class{constructor(t,o,e,n,r){this.routeReuseStrategy=t,this.futureState=o,this.currState=e,this.forwardEvent=n,this.inputBindingEnabled=r}activate(t){let o=this.futureState._root,e=this.currState?this.currState._root:null;this.deactivateChildRoutes(o,e,t),mc(this.futureState.root),this.activateChildRoutes(o,e,t)}deactivateChildRoutes(t,o,e){let n=Mo(o);t.children.forEach(r=>{let a=r.value.outlet;this.deactivateRoutes(r,n[a],e),delete n[a]}),Object.values(n).forEach(r=>{this.deactivateRouteAndItsChildren(r,e)})}deactivateRoutes(t,o,e){let n=t.value,r=o?o.value:null;if(n===r)if(n.component){let a=e.getContext(n.outlet);a&&this.deactivateChildRoutes(t,o,a.children)}else this.deactivateChildRoutes(t,o,e);else r&&this.deactivateRouteAndItsChildren(o,e)}deactivateRouteAndItsChildren(t,o){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,o):this.deactivateRouteAndOutlet(t,o)}detachAndStoreRouteSubtree(t,o){let e=o.getContext(t.value.outlet),n=e&&t.value.component?e.children:o,r=Mo(t);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,n);if(e&&e.outlet){let a=e.outlet.detach(),s=e.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:a,route:t,contexts:s})}}deactivateRouteAndOutlet(t,o){let e=o.getContext(t.value.outlet),n=e&&t.value.component?e.children:o,r=Mo(t);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,n);e&&(e.outlet&&(e.outlet.deactivate(),e.children.onOutletDeactivated()),e.attachRef=null,e.route=null)}activateChildRoutes(t,o,e){let n=Mo(o);t.children.forEach(r=>{this.activateRoutes(r,n[r.value.outlet],e),this.forwardEvent(new kc(r.value.snapshot))}),t.children.length&&this.forwardEvent(new Mc(t.value.snapshot))}activateRoutes(t,o,e){let n=t.value,r=o?o.value:null;if(mc(n),n===r)if(n.component){let a=e.getOrCreateContext(n.outlet);this.activateChildRoutes(t,o,a.children)}else this.activateChildRoutes(t,o,e);else if(n.component){let a=e.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){let s=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),mc(s.route.value),this.activateChildRoutes(t,null,a.children)}else{let s=Nr(n.snapshot);a.attachRef=null,a.route=n,a.injector=s,a.outlet&&a.outlet.activateWith(n,a.injector),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,e)}},as=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},ko=class{constructor(t,o){this.component=t,this.route=o}};function MC(i,t,o){let e=i._root,n=t?t._root:null;return Ir(e,n,o,[e.value])}function DC(i){let t=i.routeConfig?i.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:i,guards:t}}function Ao(i,t){let o=Symbol(),e=t.get(i,o);return e===o?typeof i=="function"&&!Sh(i)?i:t.get(i):e}function Ir(i,t,o,e,n={canDeactivateChecks:[],canActivateChecks:[]}){let r=Mo(t);return i.children.forEach(a=>{kC(a,r[a.value.outlet],o,e.concat([a.value]),n),delete r[a.value.outlet]}),Object.entries(r).forEach(([a,s])=>Dr(s,o.getContext(a),n)),n}function kC(i,t,o,e,n={canDeactivateChecks:[],canActivateChecks:[]}){let r=i.value,a=t?t.value:null,s=o?o.getContext(i.value.outlet):null;if(a&&r.routeConfig===a.routeConfig){let l=TC(a,r,r.routeConfig.runGuardsAndResolvers);l?n.canActivateChecks.push(new as(e)):(r.data=a.data,r._resolvedData=a._resolvedData),r.component?Ir(i,t,s?s.children:null,e,n):Ir(i,t,o,e,n),l&&s&&s.outlet&&s.outlet.isActivated&&n.canDeactivateChecks.push(new ko(s.outlet.component,a))}else a&&Dr(t,s,n),n.canActivateChecks.push(new as(e)),r.component?Ir(i,null,s?s.children:null,e,n):Ir(i,null,o,e,n);return n}function TC(i,t,o){if(typeof o=="function")return o(i,t);switch(o){case"pathParamsChange":return!Un(i.url,t.url);case"pathParamsOrQueryParamsChange":return!Un(i.url,t.url)||!Ri(i.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Fc(i,t)||!Ri(i.queryParams,t.queryParams);case"paramsChange":default:return!Fc(i,t)}}function Dr(i,t,o){let e=Mo(i),n=i.value;Object.entries(e).forEach(([r,a])=>{n.component?t?Dr(a,t.children.getContext(r),o):Dr(a,null,o):Dr(a,t,o)}),n.component?t&&t.outlet&&t.outlet.isActivated?o.canDeactivateChecks.push(new ko(t.outlet.component,n)):o.canDeactivateChecks.push(new ko(null,n)):o.canDeactivateChecks.push(new ko(null,n))}function Br(i){return typeof i=="function"}function OC(i){return typeof i=="boolean"}function PC(i){return i&&Br(i.canLoad)}function FC(i){return i&&Br(i.canActivate)}function AC(i){return i&&Br(i.canActivateChild)}function RC(i){return i&&Br(i.canDeactivate)}function LC(i){return i&&Br(i.canMatch)}function Uf(i){return i instanceof _h||i?.name==="EmptyError"}var Ya=Symbol("INITIAL_VALUE");function Po(){return wt(i=>sn(i.map(t=>t.pipe(lt(1),jt(Ya)))).pipe(Me(t=>{for(let o of t)if(o!==!0){if(o===Ya)return Ya;if(o===!1||o instanceof bn)return o}return!0}),Ue(t=>t!==Ya),lt(1)))}function jC(i,t){return Lt(o=>{let{targetSnapshot:e,currentSnapshot:n,guards:{canActivateChecks:r,canDeactivateChecks:a}}=o;return a.length===0&&r.length===0?me(Ne(G({},o),{guardsResult:!0})):VC(a,e,n,i).pipe(Lt(s=>s&&OC(s)?NC(e,r,i,t):me(s)),Me(s=>Ne(G({},o),{guardsResult:s})))})}function VC(i,t,o,e){return ti(i).pipe(Lt(n=>UC(n.component,n.route,o,t,e)),ln(n=>n!==!0,!0))}function NC(i,t,o,e){return ti(t).pipe(pr(n=>Ta(zC(n.route.parent,e),BC(n.route,e),$C(i,n.path,o),HC(i,n.route,o))),ln(n=>n!==!0,!0))}function BC(i,t){return i!==null&&t&&t(new Dc(i)),me(!0)}function zC(i,t){return i!==null&&t&&t(new Ec(i)),me(!0)}function HC(i,t,o){let e=t.routeConfig?t.routeConfig.canActivate:null;if(!e||e.length===0)return me(!0);let n=e.map(r=>Ui(()=>{let a=Nr(t)??o,s=Ao(r,a),l=FC(s)?s.canActivate(t,i):cn(a,()=>s(t,i));return yn(l).pipe(ln())}));return me(n).pipe(Po())}function $C(i,t,o){let e=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(a=>DC(a)).filter(a=>a!==null).map(a=>Ui(()=>{let s=a.guards.map(l=>{let d=Nr(a.node)??o,u=Ao(l,d),f=AC(u)?u.canActivateChild(e,i):cn(d,()=>u(e,i));return yn(f).pipe(ln())});return me(s).pipe(Po())}));return me(r).pipe(Po())}function UC(i,t,o,e,n){let r=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!r||r.length===0)return me(!0);let a=r.map(s=>{let l=Nr(t)??n,d=Ao(s,l),u=RC(d)?d.canDeactivate(i,t,o,e):cn(l,()=>d(i,t,o,e));return yn(u).pipe(ln())});return me(a).pipe(Po())}function WC(i,t,o,e){let n=t.canLoad;if(n===void 0||n.length===0)return me(!0);let r=n.map(a=>{let s=Ao(a,i),l=PC(s)?s.canLoad(t,o):cn(i,()=>s(t,o));return yn(l)});return me(r).pipe(Po(),Wf(e))}function Wf(i){return bh(ot(t=>{if(Oo(t))throw zf(i,t)}),Me(t=>t===!0))}function GC(i,t,o,e){let n=t.canMatch;if(!n||n.length===0)return me(!0);let r=n.map(a=>{let s=Ao(a,i),l=LC(s)?s.canMatch(t,o):cn(i,()=>s(t,o));return yn(l)});return me(r).pipe(Po(),Wf(e))}var Rr=class{constructor(t){this.segmentGroup=t||null}},ss=class extends Error{constructor(t){super(),this.urlTree=t}};function Eo(i){return Vn(new Rr(i))}function ZC(i){return Vn(new It(4e3,!1))}function qC(i){return Vn(Hf(!1,ui.GuardRejected))}var Lc=class{constructor(t,o){this.urlSerializer=t,this.urlTree=o}lineralizeSegments(t,o){let e=[],n=o.root;for(;;){if(e=e.concat(n.segments),n.numberOfChildren===0)return me(e);if(n.numberOfChildren>1||!n.children[Pe])return ZC(t.redirectTo);n=n.children[Pe]}}applyRedirectCommands(t,o,e){let n=this.applyRedirectCreateUrlTree(o,this.urlSerializer.parse(o),t,e);if(o.startsWith("/"))throw new ss(n);return n}applyRedirectCreateUrlTree(t,o,e,n){let r=this.createSegmentGroup(t,o.root,e,n);return new bn(r,this.createQueryParams(o.queryParams,this.urlTree.queryParams),o.fragment)}createQueryParams(t,o){let e={};return Object.entries(t).forEach(([n,r])=>{if(typeof r=="string"&&r.startsWith(":")){let s=r.substring(1);e[n]=o[s]}else e[n]=r}),e}createSegmentGroup(t,o,e,n){let r=this.createSegments(t,o.segments,e,n),a={};return Object.entries(o.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(t,l,e,n)}),new tt(r,a)}createSegments(t,o,e,n){return o.map(r=>r.path.startsWith(":")?this.findPosParam(t,r,n):this.findOrReturn(r,e))}findPosParam(t,o,e){let n=e[o.path.substring(1)];if(!n)throw new It(4001,!1);return n}findOrReturn(t,o){let e=0;for(let n of o){if(n.path===t.path)return o.splice(e),n;e++}return t}},jc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function YC(i,t,o,e,n){let r=Uc(i,t,o);return r.matched?(e=IC(t,e),GC(e,t,o,n).pipe(Me(a=>a===!0?r:G({},jc)))):me(r)}function Uc(i,t,o){if(t.path==="**")return XC(o);if(t.path==="")return t.pathMatch==="full"&&(i.hasChildren()||o.length>0)?G({},jc):{matched:!0,consumedSegments:[],remainingSegments:o,parameters:{},positionalParamSegments:{}};let n=(t.matcher||G_)(o,i,t);if(!n)return G({},jc);let r={};Object.entries(n.posParams??{}).forEach(([s,l])=>{r[s]=l.path});let a=n.consumed.length>0?G(G({},r),n.consumed[n.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:n.consumed,remainingSegments:o.slice(n.consumed.length),parameters:a,positionalParamSegments:n.posParams??{}}}function XC(i){return{matched:!0,parameters:i.length>0?If(i).parameters:{},consumedSegments:i,remainingSegments:[],positionalParamSegments:{}}}function yf(i,t,o,e){return o.length>0&&JC(i,o,e)?{segmentGroup:new tt(t,KC(e,new tt(o,i.children))),slicedSegments:[]}:o.length===0&&ey(i,o,e)?{segmentGroup:new tt(i.segments,QC(i,o,e,i.children)),slicedSegments:o}:{segmentGroup:new tt(i.segments,i.children),slicedSegments:o}}function QC(i,t,o,e){let n={};for(let r of o)if(cs(i,t,r)&&!e[Li(r)]){let a=new tt([],{});n[Li(r)]=a}return G(G({},e),n)}function KC(i,t){let o={};o[Pe]=t;for(let e of i)if(e.path===""&&Li(e)!==Pe){let n=new tt([],{});o[Li(e)]=n}return o}function JC(i,t,o){return o.some(e=>cs(i,t,e)&&Li(e)!==Pe)}function ey(i,t,o){return o.some(e=>cs(i,t,e))}function cs(i,t,o){return(i.hasChildren()||t.length>0)&&o.pathMatch==="full"?!1:o.path===""}function ty(i,t,o,e){return Li(i)!==e&&(e===Pe||!cs(t,o,i))?!1:Uc(t,i,o).matched}function iy(i,t,o){return t.length===0&&!i.children[o]}var Vc=class{};function ny(i,t,o,e,n,r,a="emptyOnly"){return new Nc(i,t,o,e,n,a,r).recognize()}var oy=31,Nc=class{constructor(t,o,e,n,r,a,s){this.injector=t,this.configLoader=o,this.rootComponentType=e,this.config=n,this.urlTree=r,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new Lc(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new It(4002,`'${t.segmentGroup}'`)}recognize(){let t=yf(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(Me(o=>{let e=new Fr([],Object.freeze({}),Object.freeze(G({},this.urlTree.queryParams)),this.urlTree.fragment,{},Pe,this.rootComponentType,null,{}),n=new ri(e,o),r=new rs("",n),a=uC(e,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(r._root,null),{state:r,tree:a}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,Pe).pipe(Ti(e=>{if(e instanceof ss)return this.urlTree=e.urlTree,this.match(e.urlTree.root);throw e instanceof Rr?this.noMatchError(e):e}))}inheritParamsAndData(t,o){let e=t.value,n=zc(e,o,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(r=>this.inheritParamsAndData(r,e))}processSegmentGroup(t,o,e,n){return e.segments.length===0&&e.hasChildren()?this.processChildren(t,o,e):this.processSegment(t,o,e,e.segments,n,!0).pipe(Me(r=>r instanceof ri?[r]:[]))}processChildren(t,o,e){let n=[];for(let r of Object.keys(e.children))r==="primary"?n.unshift(r):n.push(r);return ti(n).pipe(pr(r=>{let a=e.children[r],s=SC(o,r);return this.processSegmentGroup(t,s,a,r)}),xh((r,a)=>(r.push(...a),r)),$l(null),yh(),Lt(r=>{if(r===null)return Eo(e);let a=Gf(r);return ry(a),me(a)}))}processSegment(t,o,e,n,r,a){return ti(o).pipe(pr(s=>this.processSegmentAgainstRoute(s._injector??t,o,s,e,n,r,a).pipe(Ti(l=>{if(l instanceof Rr)return me(null);throw l}))),ln(s=>!!s),Ti(s=>{if(Uf(s))return iy(e,n,r)?me(new Vc):Eo(e);throw s}))}processSegmentAgainstRoute(t,o,e,n,r,a,s){return ty(e,n,r,a)?e.redirectTo===void 0?this.matchSegmentAgainstRoute(t,n,e,r,a):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(t,n,o,e,r,a):Eo(n):Eo(n)}expandSegmentAgainstRouteUsingRedirect(t,o,e,n,r,a){let{matched:s,consumedSegments:l,positionalParamSegments:d,remainingSegments:u}=Uc(o,n,r);if(!s)return Eo(o);n.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>oy&&(this.allowRedirects=!1));let f=this.applyRedirects.applyRedirectCommands(l,n.redirectTo,d);return this.applyRedirects.lineralizeSegments(n,f).pipe(Lt(g=>this.processSegment(t,e,o,g.concat(u),a,!1)))}matchSegmentAgainstRoute(t,o,e,n,r){let a=YC(o,e,n,t,this.urlSerializer);return e.path==="**"&&(o.children={}),a.pipe(wt(s=>s.matched?(t=e._injector??t,this.getChildConfig(t,e,n).pipe(wt(({routes:l})=>{let d=e._loadedInjector??t,{consumedSegments:u,remainingSegments:f,parameters:g}=s,_=new Fr(u,g,Object.freeze(G({},this.urlTree.queryParams)),this.urlTree.fragment,sy(e),Li(e),e.component??e._loadedComponent??null,e,ly(e)),{segmentGroup:D,slicedSegments:E}=yf(o,u,f,l);if(E.length===0&&D.hasChildren())return this.processChildren(d,l,D).pipe(Me(T=>T===null?null:new ri(_,T)));if(l.length===0&&E.length===0)return me(new ri(_,[]));let A=Li(e)===r;return this.processSegment(d,l,D,E,A?Pe:r,!0).pipe(Me(T=>new ri(_,T instanceof ri?[T]:[])))}))):Eo(o)))}getChildConfig(t,o,e){return o.children?me({routes:o.children,injector:t}):o.loadChildren?o._loadedRoutes!==void 0?me({routes:o._loadedRoutes,injector:o._loadedInjector}):WC(t,o,e,this.urlSerializer).pipe(Lt(n=>n?this.configLoader.loadChildren(t,o).pipe(ot(r=>{o._loadedRoutes=r.routes,o._loadedInjector=r.injector})):qC(o))):me({routes:[],injector:t})}};function ry(i){i.sort((t,o)=>t.value.outlet===Pe?-1:o.value.outlet===Pe?1:t.value.outlet.localeCompare(o.value.outlet))}function ay(i){let t=i.value.routeConfig;return t&&t.path===""}function Gf(i){let t=[],o=new Set;for(let e of i){if(!ay(e)){t.push(e);continue}let n=t.find(r=>e.value.routeConfig===r.value.routeConfig);n!==void 0?(n.children.push(...e.children),o.add(n)):t.push(e)}for(let e of o){let n=Gf(e.children);t.push(new ri(e.value,n))}return t.filter(e=>!o.has(e))}function sy(i){return i.data||{}}function ly(i){return i.resolve||{}}function cy(i,t,o,e,n,r){return Lt(a=>ny(i,t,o,e,a.extractedUrl,n,r).pipe(Me(({state:s,tree:l})=>Ne(G({},a),{targetSnapshot:s,urlAfterRedirects:l}))))}function dy(i,t){return Lt(o=>{let{targetSnapshot:e,guards:{canActivateChecks:n}}=o;if(!n.length)return me(o);let r=new Set(n.map(l=>l.route)),a=new Set;for(let l of r)if(!a.has(l))for(let d of Zf(l))a.add(d);let s=0;return ti(a).pipe(pr(l=>r.has(l)?uy(l,e,i,t):(l.data=zc(l,l.parent,i).resolve,me(void 0))),ot(()=>s++),Ul(1),Lt(l=>s===a.size?me(o):$i))})}function Zf(i){let t=i.children.map(o=>Zf(o)).flat();return[i,...t]}function uy(i,t,o,e){let n=i.routeConfig,r=i._resolve;return n?.title!==void 0&&!Nf(n)&&(r[Lr]=n.title),my(r,i,t,e).pipe(Me(a=>(i._resolvedData=a,i.data=zc(i,i.parent,o).resolve,null)))}function my(i,t,o,e){let n=fc(i);if(n.length===0)return me({});let r={};return ti(n).pipe(Lt(a=>py(i[a],t,o,e).pipe(ln(),ot(s=>{r[a]=s}))),Ul(1),Ch(r),Ti(a=>Uf(a)?$i:Vn(a)))}function py(i,t,o,e){let n=Nr(t)??e,r=Ao(i,n),a=r.resolve?r.resolve(t,o):cn(n,()=>r(t,o));return yn(a)}function pc(i){return wt(t=>{let o=i(t);return o?ti(o).pipe(Me(()=>t)):me(t)})}var qf=(()=>{let t=class t{buildTitle(e){let n,r=e.root;for(;r!==void 0;)n=this.getResolvedTitleForRoute(r)??n,r=r.children.find(a=>a.outlet===Pe);return n}getResolvedTitleForRoute(e){return e.data[Lr]}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:()=>w(hy),providedIn:"root"});let i=t;return i})(),hy=(()=>{let t=class t extends qf{constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}};t.\u0275fac=function(n){return new(n||t)(j(nf))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),Wc=new se("",{providedIn:"root",factory:()=>({})}),Gc=new se(""),fy=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=w(ql)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return me(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let n=yn(e.loadComponent()).pipe(Me(Yf),ot(a=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=a}),ho(()=>{this.componentLoaders.delete(e)})),r=new Da(n,()=>new ce).pipe(zl());return this.componentLoaders.set(e,r),r}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return me({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let a=gy(n,this.compiler,e,this.onLoadEndListener).pipe(ho(()=>{this.childrenLoaders.delete(n)})),s=new Da(a,()=>new ce).pipe(zl());return this.childrenLoaders.set(n,s),s}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();function gy(i,t,o,e){return yn(i.loadChildren()).pipe(Me(Yf),Lt(n=>n instanceof Lh||Array.isArray(n)?me(n):ti(t.compileModuleAsync(n))),Me(n=>{e&&e(i);let r,a,s=!1;return Array.isArray(n)?(a=n,s=!0):(r=n.create(o).injector,a=r.get(Gc,[],{optional:!0,self:!0}).flat()),{routes:a.map($c),injector:r}}))}function vy(i){return i&&typeof i=="object"&&"default"in i}function Yf(i){return vy(i)?i.default:i}var Zc=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:()=>w(by),providedIn:"root"});let i=t;return i})(),by=(()=>{let t=class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),Xf=new se(""),Qf=new se("");function _y(i,t,o){let e=i.get(Qf),n=i.get(Ee);return i.get(M).runOutsideAngular(()=>{if(!n.startViewTransition||e.skipNextTransition)return e.skipNextTransition=!1,Promise.resolve();let r,a=new Promise(d=>{r=d}),s=n.startViewTransition(()=>(r(),Cy(i))),{onViewTransitionCreated:l}=e;return l&&cn(i,()=>l({transition:s,from:t,to:o})),a})}function Cy(i){return new Promise(t=>{Rh(t,{injector:i})})}var yy=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ce,this.transitionAbortSubject=new ce,this.configLoader=w(fy),this.environmentInjector=w(Ot),this.urlSerializer=w(jr),this.rootContexts=w(Gn),this.location=w(ni),this.inputBindingEnabled=w(ls,{optional:!0})!==null,this.titleStrategy=w(qf),this.options=w(Wc,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=w(Zc),this.createViewTransition=w(Xf,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>me(void 0),this.rootComponentType=null;let e=r=>this.events.next(new Ic(r)),n=r=>this.events.next(new Sc(r));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;this.transitions?.next(Ne(G(G({},this.transitions.value),e),{id:n}))}setupNavigations(e,n,r){return this.transitions=new Tt({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Mr,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ue(a=>a.id!==0),Me(a=>Ne(G({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),wt(a=>{this.currentTransition=a;let s=!1,l=!1;return me(a).pipe(ot(d=>{this.currentNavigation={id:d.id,initialUrl:d.rawUrl,extractedUrl:d.extractedUrl,trigger:d.source,extras:d.extras,previousNavigation:this.lastSuccessfulNavigation?Ne(G({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),wt(d=>{let u=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),f=d.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!u&&f!=="reload"){let g="";return this.events.next(new Wn(d.id,this.urlSerializer.serialize(d.rawUrl),g,_c.IgnoredSameUrlNavigation)),d.resolve(null),$i}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return me(d).pipe(wt(g=>{let _=this.transitions?.getValue();return this.events.next(new Qi(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),_!==this.transitions?.getValue()?$i:Promise.resolve(g)}),cy(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),ot(g=>{a.targetSnapshot=g.targetSnapshot,a.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation=Ne(G({},this.currentNavigation),{finalUrl:g.urlAfterRedirects});let _=new is(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(_)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(d.currentRawUrl)){let{id:g,extractedUrl:_,source:D,restoredState:E,extras:A}=d,T=new Qi(g,this.urlSerializer.serialize(_),D,E);this.events.next(T);let L=jf(this.rootComponentType).snapshot;return this.currentTransition=a=Ne(G({},d),{targetSnapshot:L,urlAfterRedirects:_,extras:Ne(G({},A),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=_,me(a)}else{let g="";return this.events.next(new Wn(d.id,this.urlSerializer.serialize(d.extractedUrl),g,_c.IgnoredByUrlHandlingStrategy)),d.resolve(null),$i}}),ot(d=>{let u=new Cc(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),Me(d=>(this.currentTransition=a=Ne(G({},d),{guards:MC(d.targetSnapshot,d.currentSnapshot,this.rootContexts)}),a)),jC(this.environmentInjector,d=>this.events.next(d)),ot(d=>{if(a.guardsResult=d.guardsResult,Oo(d.guardsResult))throw zf(this.urlSerializer,d.guardsResult);let u=new yc(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(u)}),Ue(d=>d.guardsResult?!0:(this.cancelNavigationTransition(d,"",ui.GuardRejected),!1)),pc(d=>{if(d.guards.canActivateChecks.length)return me(d).pipe(ot(u=>{let f=new xc(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(f)}),wt(u=>{let f=!1;return me(u).pipe(dy(this.paramsInheritanceStrategy,this.environmentInjector),ot({next:()=>f=!0,complete:()=>{f||this.cancelNavigationTransition(u,"",ui.NoDataFromResolver)}}))}),ot(u=>{let f=new wc(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(f)}))}),pc(d=>{let u=f=>{let g=[];f.routeConfig?.loadComponent&&!f.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(f.routeConfig).pipe(ot(_=>{f.component=_}),Me(()=>{})));for(let _ of f.children)g.push(...u(_));return g};return sn(u(d.targetSnapshot.root)).pipe($l(null),lt(1))}),pc(()=>this.afterPreactivation()),wt(()=>{let{currentSnapshot:d,targetSnapshot:u}=a,f=this.createViewTransition?.(this.environmentInjector,d.root,u.root);return f?ti(f).pipe(Me(()=>a)):me(a)}),Me(d=>{let u=_C(e.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=a=Ne(G({},d),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,a}),ot(()=>{this.events.next(new Or)}),EC(this.rootContexts,e.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),lt(1),ot({next:d=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new _n(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects))),this.titleStrategy?.updateTitle(d.targetRouterState.snapshot),d.resolve(!0)},complete:()=>{s=!0}}),Je(this.transitionAbortSubject.pipe(ot(d=>{throw d}))),ho(()=>{!s&&!l&&this.cancelNavigationTransition(a,"",ui.SupersededByNewNavigation),this.currentTransition?.id===a.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ti(d=>{if(l=!0,$f(d))this.events.next(new Cn(a.id,this.urlSerializer.serialize(a.extractedUrl),d.message,d.cancellationCode)),xC(d)?this.events.next(new Pr(d.url)):a.resolve(!1);else{this.events.next(new Tr(a.id,this.urlSerializer.serialize(a.extractedUrl),d,a.targetSnapshot??void 0));try{a.resolve(e.errorHandler(d))}catch(u){this.options.resolveNavigationPromiseOnError?a.resolve(!1):a.reject(u)}}return $i}))}))}cancelNavigationTransition(e,n,r){let a=new Cn(e.id,this.urlSerializer.serialize(e.extractedUrl),n,r);this.events.next(a),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();function xy(i){return i!==Mr}var wy=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:()=>w(Iy),providedIn:"root"});let i=t;return i})(),Bc=class{shouldDetach(t){return!1}store(t,o){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,o){return t.routeConfig===o.routeConfig}},Iy=(()=>{let t=class t extends Bc{};t.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ct(t)))(r||t)}})(),t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),Kf=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:()=>w(Sy),providedIn:"root"});let i=t;return i})(),Sy=(()=>{let t=class t extends Kf{constructor(){super(...arguments),this.location=w(ni),this.urlSerializer=w(jr),this.options=w(Wc,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=w(Zc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new bn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=jf(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&e(n.url,n.state)})}handleRouterEvent(e,n){if(e instanceof Qi)this.stateMemento=this.createStateMemento();else if(e instanceof Wn)this.rawUrlTree=n.initialUrl;else if(e instanceof is){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let r=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(r,n)}}else e instanceof Or?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,n))):e instanceof Cn&&(e.code===ui.GuardRejected||e.code===ui.NoDataFromResolver)?this.restoreHistory(n):e instanceof Tr?this.restoreHistory(n,!0):e instanceof _n&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,n){let r=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(r)||n.extras.replaceUrl){let a=this.browserPageId,s=G(G({},n.extras.state),this.generateNgRouterState(n.id,a));this.location.replaceState(r,"",s)}else{let a=G(G({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(r,"",a)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,a=this.currentPageId-r;a!==0?this.location.historyGo(a):this.currentUrlTree===e.finalUrl&&a===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}};t.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ct(t)))(r||t)}})(),t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),Sr=function(i){return i[i.COMPLETE=0]="COMPLETE",i[i.FAILED=1]="FAILED",i[i.REDIRECTING=2]="REDIRECTING",i}(Sr||{});function Ey(i,t){i.events.pipe(Ue(o=>o instanceof _n||o instanceof Cn||o instanceof Tr||o instanceof Wn),Me(o=>o instanceof _n||o instanceof Wn?Sr.COMPLETE:(o instanceof Cn?o.code===ui.Redirect||o.code===ui.SupersededByNewNavigation:!1)?Sr.REDIRECTING:Sr.FAILED),Ue(o=>o!==Sr.REDIRECTING),lt(1)).subscribe(()=>{t()})}function My(i){throw i}var Dy={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ky={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},je=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=w($h),this.stateManager=w(Kf),this.options=w(Wc,{optional:!0})||{},this.pendingTasks=w(Vh),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=w(yy),this.urlSerializer=w(jr),this.location=w(ni),this.urlHandlingStrategy=w(Zc),this._events=new ce,this.errorHandler=this.options.errorHandler||My,this.navigated=!1,this.routeReuseStrategy=w(wy),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=w(Gc,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!w(ls,{optional:!0}),this.eventsSubscription=new Rt,this.isNgZoneEnabled=w(M)instanceof M&&M.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let r=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(r!==null&&a!==null){if(this.stateManager.handleRouterEvent(n,a),n instanceof Cn&&n.code!==ui.Redirect&&n.code!==ui.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof _n)this.navigated=!0;else if(n instanceof Pr){let s=this.urlHandlingStrategy.merge(n.url,r.currentRawUrl),l={info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||xy(r.source)};this.scheduleNavigation(s,Mr,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}Oy(n)&&this._events.next(n)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Mr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",n)},0)})}navigateToSyncWithBrowser(e,n,r){let a={replaceUrl:!0},s=r?.navigationId?r:null;if(r){let d=G({},r);delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(a.state=d)}let l=this.parseUrl(e);this.scheduleNavigation(l,n,s,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map($c),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){let{relativeTo:r,queryParams:a,fragment:s,queryParamsHandling:l,preserveFragment:d}=n,u=d?this.currentUrlTree.fragment:s,f=null;switch(l){case"merge":f=G(G({},this.currentUrlTree.queryParams),a);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=a||null}f!==null&&(f=this.removeEmptyProps(f));let g;try{let _=r?r.snapshot:this.routerState.snapshot.root;g=Ff(_)}catch{(typeof e[0]!="string"||!e[0].startsWith("/"))&&(e=[]),g=this.currentUrlTree.root}return Af(g,e,f,u??null)}navigateByUrl(e,n={skipLocationChange:!1}){let r=Oo(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(a,Mr,null,n)}navigate(e,n={skipLocationChange:!1}){return Ty(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,n){let r;if(n===!0?r=G({},Dy):n===!1?r=G({},ky):r=n,Oo(e))return gf(this.currentUrlTree,e,r);let a=this.parseUrl(e);return gf(this.currentUrlTree,a,r)}removeEmptyProps(e){return Object.entries(e).reduce((n,[r,a])=>(a!=null&&(n[r]=a),n),{})}scheduleNavigation(e,n,r,a,s){if(this.disposed)return Promise.resolve(!1);let l,d,u;s?(l=s.resolve,d=s.reject,u=s.promise):u=new Promise((g,_)=>{l=g,d=_});let f=this.pendingTasks.add();return Ey(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(f))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:a,resolve:l,reject:d,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(g=>Promise.reject(g))}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();function Ty(i){for(let t=0;t<i.length;t++)if(i[t]==null)throw new It(4008,!1)}function Oy(i){return!(i instanceof Or)&&!(i instanceof Pr)}var qc=(()=>{let t=class t{constructor(e,n,r,a,s,l){this.router=e,this.route=n,this.tabIndexAttribute=r,this.renderer=a,this.el=s,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new ce,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let d=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=d==="a"||d==="area",this.isAnchorElement?this.subscription=e.events.subscribe(u=>{u instanceof _n&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){e!=null?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,n,r,a,s){let l=this.urlTree;if(l===null||this.isAnchorElement&&(e!==0||n||r||a||s||typeof this.target=="string"&&this.target!="_self"))return!0;let d={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,d),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let n=this.href===null?null:Th(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(e,n){let r=this.renderer,a=this.el.nativeElement;n!==null?r.setAttribute(a,e,n):r.removeAttribute(a,e)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.\u0275fac=function(n){return new(n||t)(c(je),c(it),Et("tabindex"),c(si),c(S),c(_o))},t.\u0275dir=re({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,r){n&1&&P("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),n&2&&Ie("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[z.HasDecoratorInputTransform,"preserveFragment","preserveFragment",De],skipLocationChange:[z.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",De],replaceUrl:[z.HasDecoratorInputTransform,"replaceUrl","replaceUrl",De],routerLink:"routerLink"},standalone:!0,features:[ct,rt]});let i=t;return i})();var Py=new se("");function Jf(i,...t){return fo([{provide:Gc,multi:!0,useValue:i},[],{provide:it,useFactory:Fy,deps:[je]},{provide:Uh,multi:!0,useFactory:Ay},t.map(o=>o.\u0275providers)])}function Fy(i){return i.routerState.root}function eg(i,t){return{\u0275kind:i,\u0275providers:t}}function Ay(){let i=w(qe);return t=>{let o=i.get(pn);if(t!==o.components[0])return;let e=i.get(je),n=i.get(Ry);i.get(Ly)===1&&e.initialNavigation(),i.get(jy,null,Gl.Optional)?.setUpPreloading(),i.get(Py,null,Gl.Optional)?.init(),e.resetRootComponentType(o.componentTypes[0]),n.closed||(n.next(),n.complete(),n.unsubscribe())}}var Ry=new se("",{factory:()=>new ce}),Ly=new se("",{providedIn:"root",factory:()=>1});var jy=new se("");function tg(){return eg(8,[Cf,{provide:ls,useExisting:Cf}])}function ig(i){let t=[{provide:Xf,useValue:_y},{provide:Qf,useValue:G({skipNextTransition:!!i?.skipInitialTransition},i)}];return eg(9,t)}var ji={production:!1,api:"https://app.spiritsrim.com"};var pt=(()=>{let t=class t{};t.SECTIONS={MENU:"menu",FAVORITES:"favorites",RECOMMENDED:"recommended",SELECTION:"selection"},t.VIEWS={GRID:"grid",CAROUSEL:"carousel",TRADITIONAL:"grouped"},t.ENTITY_FILTERS=["body","caskNumber","chillFilter","colouring","limitedEdition","noAdds","numberOfBottles","richness","smoke"],t.RELATION_FILTERS=["age","bottler","bottlingDate","bottlingStatus","brand","capacity","caskType","category","certification","character","country","flavour","foodPairings","grapes","ingType","region","series","style","sustainability","type","vintage","volume"];let i=t;return i})();var zr=class{constructor(){[...Object.values(pt.ENTITY_FILTERS),...Object.values(pt.RELATION_FILTERS)].forEach(o=>{this[o]=[]})}};var Ro=(()=>{let t=class t{constructor(){this.currentLang="es"}getCurrentLang(){return this.currentLang}setCurrentLang(e){this.currentLang=e}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var Ye=(()=>{let t=class t{constructor(){this.SECTIONS=pt.SECTIONS,this.url=ji.api,this.http=w(yo),this.languageService=w(Ro),this.countries=be(null),this.uuid=be(""),this.filters=be(new zr),this.section=be(""),this.search=be(""),this.lang=be("es")}setUuid(e){this.uuid.update(()=>e)}setCountries(){this.countries.set(new Intl.DisplayNames([this.lang()],{type:"region"}))}getMenu(){let e=this.url+"/api/menu/"+this.uuid();return this.http.get(e)}getCompanyCategories(){let e=this.url+"/api/menu/"+this.uuid()+"/categories";return this.http.get(e)}getCoverPage(){let e=this.url+"/api/v1/restaurant/"+this.uuid()+"/coverPage";return this.http.get(e)}getCompanySpirits(e,n,r){let a=localStorage.getItem(this.uuid()+"_favorites"),s=a?JSON.parse(a):[],l=this.filters().category[0].uuid,d=s[l]??[],u=this.url+"/api/menu/"+this.uuid()+"/spirits/?page="+e+"&active=1";return n==this.SECTIONS.RECOMMENDED?u+=`&${n}=1`:u+=`&selection=${n==this.SECTIONS.SELECTION?1:0}`,r&&(u+=`&search=${r}`),u+=this.prepareUrl(),this.http.get(u).pipe(Me(f=>(f.results.forEach(g=>{let _=d.findIndex(D=>D.uuid==g.uuid);g.fav=_!=-1}),f)))}getCompanySpirit(e){let n=localStorage.getItem(this.uuid()+"_favorites"),r=n?JSON.parse(n):[],a=this.filters().category[0].uuid,s=r[a]??[],l=this.url+"/api/menu/"+this.uuid()+"/spirits/"+e;return this.http.get(l).pipe(Me(d=>{let u=s.findIndex(f=>f.uuid==d.uuid);return d.fav=u!=-1,d}))}getCompanySpiritsGrouped(){let e=this.url+"/api/v1/restaurant/"+this.uuid()+"/wines/grouped?page=0";return e+=this.prepareUrl(),this.http.get(e)}getCategorySpirits(e,n){let r=this.url+"/api/menu/"+this.uuid()+"/spirits/?page=1&limit="+n+"&active=1";return r+="&category="+encodeURIComponent(e.uuid),this.http.get(r)}getCategoryFilters(){let e=this.url+"/api/menu/"+this.uuid()+"/categories/"+this.filters().category[0].uuid+"/filters";return this.http.get(e)}getAllFilters(){let e=this.url+"/api/v1/restaurant/"+this.uuid()+"/filters";return this.http.get(e)}getFilterData(e){let n=this.url+"/api/menu/"+this.uuid()+"/categories/"+this.filters().category[0].uuid+"/filters/"+e+"/data";return n+=this.prepareUrlFilters().replace("&","?"),this.http.get(n)}getAllFilterData(e){let n=this.url+"/api/menu/"+this.uuid()+"/categories/"+this.filters().category[0].uuid+"/filters/"+e+"/data";return n+=`?category=${this.filters().category[0].uuid}`,this.http.get(n)}setSelectedFilter(e,n){this.filters()[e]=n,this.saveFilters()}setSelectedFilters(e){this.filters.set(e),this.saveFilters()}getSelectedFilters(){return this.filters()}clearSelectedFilters(){this.filters.set(new zr)}getCountryName(e){return this.countries().of(e)}prepareUrl(){let e="";return this.section()?e+=`&${this.section()}=1`:this.search()?e+=`&text='${this.search()}`:e+=this.prepareUrlFilters(),e}prepareUrlFilters(){let e="";for(let n in this.filters())n=="prices"||this.filters()[n].length>0&&(e+="&"+n+"="+encodeURIComponent(this.filters()[n].map(r=>r.uuid).join(",")));return e}saveFilters(){localStorage.setItem(this.uuid()+"_selectedFilters",JSON.stringify(this.filters()))}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();function Zn(i){return i!=null&&`${i}`!="false"}function Lo(i,t=0){return Ny(i)?Number(i):t}function Ny(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}function jo(i){return Array.isArray(i)?i:[i]}function St(i){return i==null?"":typeof i=="string"?i:`${i}px`}function pi(i){return i instanceof S?i.nativeElement:i}var Xc;try{Xc=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Xc=!1}var Ke=(()=>{let t=class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?za(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Xc)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};t.\u0275fac=function(n){return new(n||t)(j(Fa))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var Vo,ng=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Qc(){if(Vo)return Vo;if(typeof document!="object"||!document)return Vo=new Set(ng),Vo;let i=document.createElement("input");return Vo=new Set(ng.filter(t=>(i.setAttribute("type",t),i.type===t))),Vo}var Hr;function By(){if(Hr==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Hr=!0}))}finally{Hr=Hr||!1}return Hr}function xn(i){return By()?i:!!i.capture}var qn;function og(){if(qn==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return qn=!1,qn;if("scrollBehavior"in document.documentElement.style)qn=!0;else{let i=Element.prototype.scrollTo;i?qn=!/\{\s*\[native code\]\s*\}/.test(i.toString()):qn=!1}}return qn}var Yc;function zy(){if(Yc==null){let i=typeof document<"u"?document.head:null;Yc=!!(i&&(i.createShadowRoot||i.attachShadow))}return Yc}function rg(i){if(zy()){let t=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function $r(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){let t=i.shadowRoot.activeElement;if(t===i)break;i=t}return i}function wi(i){return i.composedPath?i.composedPath()[0]:i.target}function Ur(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var ag=xn({passive:!0}),sg=(()=>{let t=class t{constructor(e,n){this._platform=e,this._ngZone=n,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return $i;let n=pi(e),r=this._monitoredElements.get(n);if(r)return r.subject;let a=new ce,s="cdk-text-field-autofilled",l=d=>{d.animationName==="cdk-text-field-autofill-start"&&!n.classList.contains(s)?(n.classList.add(s),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!0}))):d.animationName==="cdk-text-field-autofill-end"&&n.classList.contains(s)&&(n.classList.remove(s),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{n.addEventListener("animationstart",l,ag),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:a,unlisten:()=>{n.removeEventListener("animationstart",l,ag)}}),a}stopMonitoring(e){let n=pi(e),r=this._monitoredElements.get(n);r&&(r.unlisten(),r.subject.complete(),n.classList.remove("cdk-text-field-autofill-monitored"),n.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(n))}ngOnDestroy(){this._monitoredElements.forEach((e,n)=>this.stopMonitoring(n))}};t.\u0275fac=function(n){return new(n||t)(j(Ke),j(M))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var lg=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({});let i=t;return i})();var gg=(()=>{let t=class t{constructor(e,n){this._renderer=e,this._elementRef=n,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}};t.\u0275fac=function(n){return new(n||t)(c(si),c(S))},t.\u0275dir=re({type:t});let i=t;return i})(),$y=(()=>{let t=class t extends gg{};t.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ct(t)))(r||t)}})(),t.\u0275dir=re({type:t,features:[ke]});let i=t;return i})(),Si=new se("");var Uy={provide:Si,useExisting:Nt(()=>In),multi:!0};function Wy(){let i=Yl()?Yl().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var Gy=new se(""),In=(()=>{let t=class t extends gg{constructor(e,n,r){super(e,n),this._compositionMode=r,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Wy())}writeValue(e){let n=e??"";this.setProperty("value",n)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}};t.\u0275fac=function(n){return new(n||t)(c(si),c(S),c(Gy,8))},t.\u0275dir=re({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){n&1&&P("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[We([Uy]),ke]});let i=t;return i})();function wn(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function vg(i){return i!=null&&typeof i.length=="number"}var Vi=new se(""),ed=new se(""),Zy=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Bo=class{static min(t){return bg(t)}static max(t){return _g(t)}static required(t){return qy(t)}static requiredTrue(t){return Yy(t)}static email(t){return Xy(t)}static minLength(t){return Qy(t)}static maxLength(t){return Ky(t)}static pattern(t){return Jy(t)}static nullValidator(t){return us(t)}static compose(t){return Sg(t)}static composeAsync(t){return Eg(t)}};function bg(i){return t=>{if(wn(t.value)||wn(i))return null;let o=parseFloat(t.value);return!isNaN(o)&&o<i?{min:{min:i,actual:t.value}}:null}}function _g(i){return t=>{if(wn(t.value)||wn(i))return null;let o=parseFloat(t.value);return!isNaN(o)&&o>i?{max:{max:i,actual:t.value}}:null}}function qy(i){return wn(i.value)?{required:!0}:null}function Yy(i){return i.value===!0?null:{required:!0}}function Xy(i){return wn(i.value)||Zy.test(i.value)?null:{email:!0}}function Qy(i){return t=>wn(t.value)||!vg(t.value)?null:t.value.length<i?{minlength:{requiredLength:i,actualLength:t.value.length}}:null}function Ky(i){return t=>vg(t.value)&&t.value.length>i?{maxlength:{requiredLength:i,actualLength:t.value.length}}:null}function Jy(i){if(!i)return us;let t,o;return typeof i=="string"?(o="",i.charAt(0)!=="^"&&(o+="^"),o+=i,i.charAt(i.length-1)!=="$"&&(o+="$"),t=new RegExp(o)):(o=i.toString(),t=i),e=>{if(wn(e.value))return null;let n=e.value;return t.test(n)?null:{pattern:{requiredPattern:o,actualValue:n}}}}function us(i){return null}function Cg(i){return i!=null}function yg(i){return La(i)?ti(i):i}function xg(i){let t={};return i.forEach(o=>{t=o!=null?G(G({},t),o):t}),Object.keys(t).length===0?null:t}function wg(i,t){return t.map(o=>o(i))}function ex(i){return!i.validate}function Ig(i){return i.map(t=>ex(t)?t:o=>t.validate(o))}function Sg(i){if(!i)return null;let t=i.filter(Cg);return t.length==0?null:function(o){return xg(wg(o,t))}}function td(i){return i!=null?Sg(Ig(i)):null}function Eg(i){if(!i)return null;let t=i.filter(Cg);return t.length==0?null:function(o){let e=wg(o,t).map(yg);return po(e).pipe(Me(xg))}}function id(i){return i!=null?Eg(Ig(i)):null}function cg(i,t){return i===null?[t]:Array.isArray(i)?[...i,t]:[i,t]}function Mg(i){return i._rawValidators}function Dg(i){return i._rawAsyncValidators}function Kc(i){return i?Array.isArray(i)?i:[i]:[]}function ms(i,t){return Array.isArray(i)?i.includes(t):i===t}function dg(i,t){let o=Kc(t);return Kc(i).forEach(n=>{ms(o,n)||o.push(n)}),o}function ug(i,t){return Kc(t).filter(o=>!ms(i,o))}var ps=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=td(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=id(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,o){return this.control?this.control.hasError(t,o):!1}getError(t,o){return this.control?this.control.getError(t,o):null}},Yn=class extends ps{get formDirective(){return null}get path(){return null}},Ii=class extends ps{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Jc=class{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},tx={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},E7=Ne(G({},tx),{"[class.ng-submitted]":"isSubmitted"}),zo=(()=>{let t=class t extends Jc{constructor(e){super(e)}};t.\u0275fac=function(n){return new(n||t)(c(Ii,2))},t.\u0275dir=re({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){n&2&&ee("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ke]});let i=t;return i})();var Wr="VALID",ds="INVALID",No="PENDING",Gr="DISABLED";function kg(i){return(_s(i)?i.validators:i)||null}function ix(i){return Array.isArray(i)?td(i):i||null}function Tg(i,t){return(_s(t)?t.asyncValidators:i)||null}function nx(i){return Array.isArray(i)?id(i):i||null}function _s(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function ox(i,t,o){let e=i.controls;if(!(t?Object.keys(e):e).length)throw new It(1e3,"");if(!e[o])throw new It(1001,"")}function rx(i,t,o){i._forEachChild((e,n)=>{if(o[n]===void 0)throw new It(1002,"")})}var hs=class{constructor(t,o){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(o)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Wr}get invalid(){return this.status===ds}get pending(){return this.status==No}get disabled(){return this.status===Gr}get enabled(){return this.status!==Gr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(dg(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(dg(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(ug(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(ug(t,this._rawAsyncValidators))}hasValidator(t){return ms(this._rawValidators,t)}hasAsyncValidator(t){return ms(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(o=>{o.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=No,t.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){let o=this._parentMarkedDirty(t.onlySelf);this.status=Gr,this.errors=null,this._forEachChild(e=>{e.disable(Ne(G({},t),{onlySelf:!0}))}),this._updateValue(),t.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Ne(G({},t),{skipPristineCheck:o})),this._onDisabledChange.forEach(e=>e(!0))}enable(t={}){let o=this._parentMarkedDirty(t.onlySelf);this.status=Wr,this._forEachChild(e=>{e.enable(Ne(G({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Ne(G({},t),{skipPristineCheck:o})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Wr||this.status===No)&&this._runAsyncValidator(t.emitEvent)),t.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(o=>o._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Gr:Wr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=No,this._hasOwnPendingAsyncValidator=!0;let o=yg(this.asyncValidator(this));this._asyncValidationSubscription=o.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,o={}){this.errors=t,this._updateControlsErrors(o.emitEvent!==!1)}get(t){let o=t;return o==null||(Array.isArray(o)||(o=o.split(".")),o.length===0)?null:o.reduce((e,n)=>e&&e._find(n),this)}getError(t,o){let e=o?this.get(o):this;return e&&e.errors?e.errors[t]:null}hasError(t,o){return!!this.getError(t,o)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new I,this.statusChanges=new I}_calculateStatus(){return this._allControlsDisabled()?Gr:this.errors?ds:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(No)?No:this._anyControlsHaveStatus(ds)?ds:Wr}_anyControlsHaveStatus(t){return this._anyControls(o=>o.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){_s(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let o=this._parent&&this._parent.dirty;return!t&&!!o&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=ix(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=nx(this._rawAsyncValidators)}},fs=class extends hs{constructor(t,o,e){super(kg(o),Tg(e,o)),this.controls=t,this._initObservables(),this._setUpdateStrategy(o),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,o){return this.controls[t]?this.controls[t]:(this.controls[t]=o,o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange),o)}addControl(t,o,e={}){this.registerControl(t,o),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}removeControl(t,o={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}setControl(t,o,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],o&&this.registerControl(t,o),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,o={}){rx(this,!0,t),Object.keys(t).forEach(e=>{ox(this,!0,e),this.controls[e].setValue(t[e],{onlySelf:!0,emitEvent:o.emitEvent})}),this.updateValueAndValidity(o)}patchValue(t,o={}){t!=null&&(Object.keys(t).forEach(e=>{let n=this.controls[e];n&&n.patchValue(t[e],{onlySelf:!0,emitEvent:o.emitEvent})}),this.updateValueAndValidity(o))}reset(t={},o={}){this._forEachChild((e,n)=>{e.reset(t?t[n]:null,{onlySelf:!0,emitEvent:o.emitEvent})}),this._updatePristine(o),this._updateTouched(o),this.updateValueAndValidity(o)}getRawValue(){return this._reduceChildren({},(t,o,e)=>(t[e]=o.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(o,e)=>e._syncPendingControls()?!0:o);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(o=>{let e=this.controls[o];e&&t(e,o)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[o,e]of Object.entries(this.controls))if(this.contains(o)&&t(e))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(o,e,n)=>((e.enabled||this.disabled)&&(o[n]=e.value),o))}_reduceChildren(t,o){let e=t;return this._forEachChild((n,r)=>{e=o(e,n,r)}),e}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var Cs=new se("CallSetDisabledState",{providedIn:"root",factory:()=>nd}),nd="always";function ax(i,t){return[...t.path,i]}function gs(i,t,o=nd){od(i,t),t.valueAccessor.writeValue(i.value),(i.disabled||o==="always")&&t.valueAccessor.setDisabledState?.(i.disabled),lx(i,t),dx(i,t),cx(i,t),sx(i,t)}function mg(i,t,o=!0){let e=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(e),t.valueAccessor.registerOnTouched(e)),bs(i,t),i&&(t._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function vs(i,t){i.forEach(o=>{o.registerOnValidatorChange&&o.registerOnValidatorChange(t)})}function sx(i,t){if(t.valueAccessor.setDisabledState){let o=e=>{t.valueAccessor.setDisabledState(e)};i.registerOnDisabledChange(o),t._registerOnDestroy(()=>{i._unregisterOnDisabledChange(o)})}}function od(i,t){let o=Mg(i);t.validator!==null?i.setValidators(cg(o,t.validator)):typeof o=="function"&&i.setValidators([o]);let e=Dg(i);t.asyncValidator!==null?i.setAsyncValidators(cg(e,t.asyncValidator)):typeof e=="function"&&i.setAsyncValidators([e]);let n=()=>i.updateValueAndValidity();vs(t._rawValidators,n),vs(t._rawAsyncValidators,n)}function bs(i,t){let o=!1;if(i!==null){if(t.validator!==null){let n=Mg(i);if(Array.isArray(n)&&n.length>0){let r=n.filter(a=>a!==t.validator);r.length!==n.length&&(o=!0,i.setValidators(r))}}if(t.asyncValidator!==null){let n=Dg(i);if(Array.isArray(n)&&n.length>0){let r=n.filter(a=>a!==t.asyncValidator);r.length!==n.length&&(o=!0,i.setAsyncValidators(r))}}}let e=()=>{};return vs(t._rawValidators,e),vs(t._rawAsyncValidators,e),o}function lx(i,t){t.valueAccessor.registerOnChange(o=>{i._pendingValue=o,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&Og(i,t)})}function cx(i,t){t.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&Og(i,t),i.updateOn!=="submit"&&i.markAsTouched()})}function Og(i,t){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function dx(i,t){let o=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};i.registerOnChange(o),t._registerOnDestroy(()=>{i._unregisterOnChange(o)})}function Pg(i,t){i==null,od(i,t)}function ux(i,t){return bs(i,t)}function mx(i,t){if(!i.hasOwnProperty("model"))return!1;let o=i.model;return o.isFirstChange()?!0:!Object.is(t,o.currentValue)}function px(i){return Object.getPrototypeOf(i.constructor)===$y}function Fg(i,t){i._syncPendingControls(),t.forEach(o=>{let e=o.control;e.updateOn==="submit"&&e._pendingChange&&(o.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function hx(i,t){if(!t)return null;Array.isArray(t);let o,e,n;return t.forEach(r=>{r.constructor===In?o=r:px(r)?e=r:n=r}),n||e||o||null}function fx(i,t){let o=i.indexOf(t);o>-1&&i.splice(o,1)}var gx={provide:Yn,useExisting:Nt(()=>qr)},Zr=Promise.resolve(),qr=(()=>{let t=class t extends Yn{constructor(e,n,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new I,this.form=new fs({},td(e),id(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Zr.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),gs(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Zr.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Zr.then(()=>{let n=this._findContainer(e.path),r=new fs({});Pg(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Zr.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){Zr.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Fg(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}};t.\u0275fac=function(n){return new(n||t)(c(Vi,10),c(ed,10),c(Cs,8))},t.\u0275dir=re({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){n&1&&P("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[z.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[We([gx]),ke]});let i=t;return i})();function pg(i,t){let o=i.indexOf(t);o>-1&&i.splice(o,1)}function hg(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var Ag=class extends hs{constructor(t=null,o,e){super(kg(o),Tg(e,o)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(o),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),_s(o)&&(o.nonNullable||o.initialValueIsDefault)&&(hg(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,o={}){this.value=this._pendingValue=t,this._onChange.length&&o.emitModelToViewChange!==!1&&this._onChange.forEach(e=>e(this.value,o.emitViewToModelChange!==!1)),this.updateValueAndValidity(o)}patchValue(t,o={}){this.setValue(t,o)}reset(t=this.defaultValue,o={}){this._applyFormState(t),this.markAsPristine(o),this.markAsUntouched(o),this.setValue(this.value,o),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){pg(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){pg(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){hg(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var vx=i=>i instanceof Ag;var bx={provide:Ii,useExisting:Nt(()=>Xn)},fg=Promise.resolve(),Xn=(()=>{let t=class t extends Ii{constructor(e,n,r,a,s,l){super(),this._changeDetectorRef=s,this.callSetDisabledState=l,this.control=new Ag,this._registered=!1,this.name="",this.update=new I,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=hx(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),mx(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){gs(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){fg.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,r=n!==0&&De(n);fg.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?ax(e,this._parent):[e]}};t.\u0275fac=function(n){return new(n||t)(c(Yn,9),c(Vi,10),c(ed,10),c(Si,10),c(V,8),c(Cs,8))},t.\u0275dir=re({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[z.None,"disabled","isDisabled"],model:[z.None,"ngModel","model"],options:[z.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[We([bx]),ke,rt]});let i=t;return i})();var _x={provide:Yn,useExisting:Nt(()=>Yr)},Yr=(()=>{let t=class t extends Yn{constructor(e,n,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new I,this._setValidators(e),this._setAsyncValidators(n)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(bs(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let n=this.form.get(e.path);return gs(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n}getControl(e){return this.form.get(e.path)}removeControl(e){mg(e.control||null,e,!1),fx(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,n){this.form.get(e.path).setValue(n)}onSubmit(e){return this.submitted=!0,Fg(this.form,this.directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{let n=e.control,r=this.form.get(e.path);n!==r&&(mg(n||null,e),vx(r)&&(gs(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);Pg(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let n=this.form.get(e.path);n&&ux(n,e)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){od(this.form,this),this._oldForm&&bs(this._oldForm,this)}_checkFormPresent(){this.form}};t.\u0275fac=function(n){return new(n||t)(c(Vi,10),c(ed,10),c(Cs,8))},t.\u0275dir=re({type:t,selectors:[["","formGroup",""]],hostBindings:function(n,r){n&1&&P("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[z.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[We([_x]),ke,rt]});let i=t;return i})();function Rg(i){return typeof i=="number"?i:parseFloat(i)}var Lg=(()=>{let t=class t{constructor(){this._validator=us}ngOnChanges(e){if(this.inputName in e){let n=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):us,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=re({type:t,features:[rt]});let i=t;return i})(),Cx={provide:Vi,useExisting:Nt(()=>rd),multi:!0},rd=(()=>{let t=class t extends Lg{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=e=>Rg(e),this.createValidator=e=>_g(e)}};t.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ct(t)))(r||t)}})(),t.\u0275dir=re({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&Ie("max",r._enabled?r.max:null)},inputs:{max:"max"},features:[We([Cx]),ke]});let i=t;return i})(),yx={provide:Vi,useExisting:Nt(()=>ad),multi:!0},ad=(()=>{let t=class t extends Lg{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>Rg(e),this.createValidator=e=>bg(e)}};t.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ct(t)))(r||t)}})(),t.\u0275dir=re({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&Ie("min",r._enabled?r.min:null)},inputs:{min:"min"},features:[We([yx]),ke]});let i=t;return i})();var xx=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({});let i=t;return i})();var Ho=(()=>{let t=class t{static withConfig(e){return{ngModule:t,providers:[{provide:Cs,useValue:e.callSetDisabledState??nd}]}}};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({imports:[xx]});let i=t;return i})();function qt(i,...t){return t.length?t.some(o=>i[o]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var wx=(()=>{let t=class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var ys=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({providers:[wx]});let i=t;return i})();var jg=new Set,Qn,Ix=(()=>{let t=class t{constructor(e,n){this._platform=e,this._nonce=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ex}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&Sx(e,this._nonce),this._matchMedia(e)}};t.\u0275fac=function(n){return new(n||t)(j(Ke),j(Mh,8))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();function Sx(i,t){if(!jg.has(i))try{Qn||(Qn=document.createElement("style"),t&&(Qn.nonce=t),Qn.setAttribute("type","text/css"),document.head.appendChild(Qn)),Qn.sheet&&(Qn.sheet.insertRule(`@media ${i} {body{ }}`,0),jg.add(i))}catch(o){console.error(o)}}function Ex(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var xs=(()=>{let t=class t{constructor(e,n){this._mediaMatcher=e,this._zone=n,this._queries=new Map,this._destroySubject=new ce}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Vg(jo(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=Vg(jo(e)).map(s=>this._registerQuery(s).observable),a=sn(r);return a=Ta(a.pipe(lt(1)),a.pipe(Pa(1),Oa(0))),a.pipe(Me(s=>{let l={matches:!1,breakpoints:{}};return s.forEach(({matches:d,query:u})=>{l.matches=l.matches||d,l.breakpoints[u]=d}),l}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let n=this._mediaMatcher.matchMedia(e),a={observable:new jn(s=>{let l=d=>this._zone.run(()=>s.next(d));return n.addListener(l),()=>{n.removeListener(l)}}).pipe(jt(n),Me(({matches:s})=>({query:e,matches:s})),Je(this._destroySubject)),mql:n};return this._queries.set(e,a),a}};t.\u0275fac=function(n){return new(n||t)(j(Ix),j(M))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();function Vg(i){return i.map(t=>t.split(",")).reduce((t,o)=>t.concat(o)).map(t=>t.trim())}var Kn={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var $g=" ";function hd(i,t,o){let e=Es(i,t);o=o.trim(),!e.some(n=>n.trim()===o)&&(e.push(o),i.setAttribute(t,e.join($g)))}function Ps(i,t,o){let e=Es(i,t);o=o.trim();let n=e.filter(r=>r!==o);n.length?i.setAttribute(t,n.join($g)):i.removeAttribute(t)}function Es(i,t){return i.getAttribute(t)?.match(/\S+/g)??[]}var Ug="cdk-describedby-message",ws="cdk-describedby-host",cd=0,Wg=(()=>{let t=class t{constructor(e,n){this._platform=n,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${cd++}`,this._document=e,this._id=w(Eh)+"-"+cd++}describe(e,n,r){if(!this._canBeDescribed(e,n))return;let a=sd(n,r);typeof n!="string"?(Ng(n,this._id),this._messageRegistry.set(a,{messageElement:n,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(n,r),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,n,r){if(!n||!this._isElementNode(e))return;let a=sd(n,r);if(this._isElementDescribedByMessage(e,a)&&this._removeMessageReference(e,a),typeof n=="string"){let s=this._messageRegistry.get(a);s&&s.referenceCount===0&&this._deleteMessageElement(a)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${ws}="${this._id}"]`);for(let n=0;n<e.length;n++)this._removeCdkDescribedByReferenceIds(e[n]),e[n].removeAttribute(ws);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,n){let r=this._document.createElement("div");Ng(r,this._id),r.textContent=e,n&&r.setAttribute("role",n),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(sd(e,n),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",n=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let a=0;a<n.length;a++)n[a].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let n=Es(e,"aria-describedby").filter(r=>r.indexOf(Ug)!=0);e.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(e,n){let r=this._messageRegistry.get(n);hd(e,"aria-describedby",r.messageElement.id),e.setAttribute(ws,this._id),r.referenceCount++}_removeMessageReference(e,n){let r=this._messageRegistry.get(n);r.referenceCount--,Ps(e,"aria-describedby",r.messageElement.id),e.removeAttribute(ws)}_isElementDescribedByMessage(e,n){let r=Es(e,"aria-describedby"),a=this._messageRegistry.get(n),s=a&&a.messageElement.id;return!!s&&r.indexOf(s)!=-1}_canBeDescribed(e,n){if(!this._isElementNode(e))return!1;if(n&&typeof n=="object")return!0;let r=n==null?"":`${n}`.trim(),a=e.getAttribute("aria-label");return r?!a||a.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}};t.\u0275fac=function(n){return new(n||t)(j(Ee),j(Ke))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();function sd(i,t){return typeof i=="string"?`${t||""}/${i}`:i}function Ng(i,t){i.id||(i.id=`${Ug}-${t}-${cd++}`)}var Ms=class{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new ce,this._typeaheadSubscription=Rt.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=o=>o.disabled,this._pressedLetters=[],this.tabOut=new ce,this.change=new ce,t instanceof fr&&(this._itemChangesSubscription=t.changes.subscribe(o=>{if(this._activeItem){let n=o.toArray().indexOf(this._activeItem);n>-1&&n!==this._activeItemIndex&&(this._activeItemIndex=n)}}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ot(o=>this._pressedLetters.push(o)),Oa(t),Ue(()=>this._pressedLetters.length>0),Me(()=>this._pressedLetters.join(""))).subscribe(o=>{let e=this._getItemsArray();for(let n=1;n<e.length+1;n++){let r=(this._activeItemIndex+n)%e.length,a=e[r];if(!this._skipPredicateFn(a)&&a.getLabel().toUpperCase().trim().indexOf(o)===0){this.setActiveItem(r);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}withPageUpDown(t=!0,o=10){return this._pageUpAndDown={enabled:t,delta:o},this}setActiveItem(t){let o=this._activeItem;this.updateActiveItem(t),this._activeItem!==o&&this.change.next(this._activeItemIndex)}onKeydown(t){let o=t.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!t[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(o){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let r=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(r<a?r:a-1,-1);break}else return;default:(n||qt(t,"shiftKey"))&&(t.key&&t.key.length===1?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(o>=65&&o<=90||o>=48&&o<=57)&&this._letterKeyStream.next(String.fromCharCode(o)));return}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){let o=this._getItemsArray(),e=typeof t=="number"?t:o.indexOf(t),n=o[e];this._activeItem=n??null,this._activeItemIndex=e}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){let o=this._getItemsArray();for(let e=1;e<=o.length;e++){let n=(this._activeItemIndex+t*e+o.length)%o.length,r=o[n];if(!this._skipPredicateFn(r)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,o){let e=this._getItemsArray();if(e[t]){for(;this._skipPredicateFn(e[t]);)if(t+=o,!e[t])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof fr?this._items.toArray():this._items}},Ds=class extends Ms{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}},ks=class extends Ms{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}};var Ji=(()=>{let t=class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return Hx(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let n=zx(Xx(e));if(n&&(Bg(n)===-1||!this.isVisible(n)))return!1;let r=e.nodeName.toLowerCase(),a=Bg(e);return e.hasAttribute("contenteditable")?a!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!qx(e)?!1:r==="audio"?e.hasAttribute("controls")?a!==-1:!1:r==="video"?a===-1?!1:a!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,n){return Yx(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}};t.\u0275fac=function(n){return new(n||t)(j(Ke))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();function zx(i){try{return i.frameElement}catch{return null}}function Hx(i){return!!(i.offsetWidth||i.offsetHeight||typeof i.getClientRects=="function"&&i.getClientRects().length)}function $x(i){let t=i.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function Ux(i){return Gx(i)&&i.type=="hidden"}function Wx(i){return Zx(i)&&i.hasAttribute("href")}function Gx(i){return i.nodeName.toLowerCase()=="input"}function Zx(i){return i.nodeName.toLowerCase()=="a"}function Gg(i){if(!i.hasAttribute("tabindex")||i.tabIndex===void 0)return!1;let t=i.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function Bg(i){if(!Gg(i))return null;let t=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function qx(i){let t=i.nodeName.toLowerCase(),o=t==="input"&&i.type;return o==="text"||o==="password"||t==="select"||t==="textarea"}function Yx(i){return Ux(i)?!1:$x(i)||Wx(i)||i.hasAttribute("contenteditable")||Gg(i)}function Xx(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}var dd=class{get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}constructor(t,o,e,n,r=!1){this._element=t,this._checker=o,this._ngZone=e,this._document=n,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}destroy(){let t=this._startAnchor,o=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),o&&(o.removeEventListener("focus",this.endAnchorListener),o.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(o=>{this._executeOnStable(()=>o(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(o=>{this._executeOnStable(()=>o(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(o=>{this._executeOnStable(()=>o(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let o=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return t=="start"?o.length?o[0]:this._getFirstTabbableElement(this._element):o.length?o[o.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){let o=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(o){if(!this._checker.isFocusable(o)){let e=this._getFirstTabbableElement(o);return e?.focus(t),!!e}return o.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){let o=this._getRegionBoundary("start");return o&&o.focus(t),!!o}focusLastTabbableElement(t){let o=this._getRegionBoundary("end");return o&&o.focus(t),!!o}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let o=t.children;for(let e=0;e<o.length;e++){let n=o[e].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(o[e]):null;if(n)return n}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let o=t.children;for(let e=o.length-1;e>=0;e--){let n=o[e].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(o[e]):null;if(n)return n}return null}_createAnchor(){let t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,o){t?o.setAttribute("tabindex","0"):o.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(lt(1)).subscribe(t)}},Uo=(()=>{let t=class t{constructor(e,n,r){this._checker=e,this._ngZone=n,this._document=r}create(e,n=!1){return new dd(e,this._checker,this._ngZone,this._document,n)}};t.\u0275fac=function(n){return new(n||t)(j(Ji),j(M),j(Ee))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();function fd(i){return i.buttons===0||i.detail===0}function gd(i){let t=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var Qx=new se("cdk-input-modality-detector-options"),Kx={ignoreKeys:[18,17,224,91,16]},Zg=650,$o=xn({passive:!0,capture:!0}),Jx=(()=>{let t=class t{get mostRecentModality(){return this._modality.value}constructor(e,n,r,a){this._platform=e,this._mostRecentTarget=null,this._modality=new Tt(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(l=>l===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=wi(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<Zg||(this._modality.next(fd(s)?"keyboard":"mouse"),this._mostRecentTarget=wi(s))},this._onTouchstart=s=>{if(gd(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=wi(s)},this._options=G(G({},Kx),a),this.modalityDetected=this._modality.pipe(Pa(1)),this.modalityChanged=this.modalityDetected.pipe(Oi()),e.isBrowser&&n.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,$o),r.addEventListener("mousedown",this._onMousedown,$o),r.addEventListener("touchstart",this._onTouchstart,$o)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,$o),document.removeEventListener("mousedown",this._onMousedown,$o),document.removeEventListener("touchstart",this._onTouchstart,$o))}};t.\u0275fac=function(n){return new(n||t)(j(Ke),j(M),j(Ee),j(Qx,8))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),e2=new se("liveAnnouncerElement",{providedIn:"root",factory:t2});function t2(){return null}var i2=new se("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),n2=0,qg=(()=>{let t=class t{constructor(e,n,r,a){this._ngZone=n,this._defaultOptions=a,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...n){let r=this._defaultOptions,a,s;return n.length===1&&typeof n[0]=="number"?s=n[0]:[a,s]=n,this.clear(),clearTimeout(this._previousTimeout),a||(a=r&&r.politeness?r.politeness:"polite"),s==null&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",a),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",n=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let a=0;a<n.length;a++)n[a].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${n2++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(e){let n=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<n.length;r++){let a=n[r],s=a.getAttribute("aria-owns");s?s.indexOf(e)===-1&&a.setAttribute("aria-owns",s+" "+e):a.setAttribute("aria-owns",e)}}};t.\u0275fac=function(n){return new(n||t)(j(e2,8),j(M),j(Ee),j(i2,8))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var Ss=function(i){return i[i.IMMEDIATE=0]="IMMEDIATE",i[i.EVENTUAL=1]="EVENTUAL",i}(Ss||{}),o2=new se("cdk-focus-monitor-default-options"),Is=xn({passive:!0,capture:!0}),Ei=(()=>{let t=class t{constructor(e,n,r,a,s){this._ngZone=e,this._platform=n,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ce,this._rootNodeFocusAndBlurListener=l=>{let d=wi(l);for(let u=d;u;u=u.parentElement)l.type==="focus"?this._onFocus(l,u):this._onBlur(l,u)},this._document=a,this._detectionMode=s?.detectionMode||Ss.IMMEDIATE}monitor(e,n=!1){let r=pi(e);if(!this._platform.isBrowser||r.nodeType!==1)return me();let a=rg(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return n&&(s.checkChildren=!0),s.subject;let l={checkChildren:n,subject:new ce,rootNode:a};return this._elementInfo.set(r,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(e){let n=pi(e),r=this._elementInfo.get(n);r&&(r.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(r))}focusVia(e,n,r){let a=pi(e),s=this._getDocument().activeElement;a===s?this._getClosestElementsInfo(a).forEach(([l,d])=>this._originChanged(l,n,d)):(this._setOrigin(n),typeof a.focus=="function"&&a.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Ss.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused",n==="touch"),e.classList.toggle("cdk-keyboard-focused",n==="keyboard"),e.classList.toggle("cdk-mouse-focused",n==="mouse"),e.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&n,this._detectionMode===Ss.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?Zg:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,n){let r=this._elementInfo.get(n),a=wi(e);!r||!r.checkChildren&&n!==a||this._originChanged(n,this._getFocusOrigin(a),r)}_onBlur(e,n){let r=this._elementInfo.get(n);!r||r.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(r,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,Is),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,Is)}),this._rootNodeFocusListenerCount.set(n,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Je(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){let n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let r=this._rootNodeFocusListenerCount.get(n);r>1?this._rootNodeFocusListenerCount.set(n,r-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Is),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Is),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,r){this._setClasses(e,n),this._emitOrigin(r,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){let n=[];return this._elementInfo.forEach((r,a)=>{(a===e||r.checkChildren&&a.contains(e))&&n.push([a,r])}),n}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:n,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!n||n===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let s=0;s<a.length;s++)if(a[s].contains(n))return!0}return!1}};t.\u0275fac=function(n){return new(n||t)(j(M),j(Ke),j(Jx),j(Ee,8),j(o2,8))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var Jn=function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i}(Jn||{}),zg="cdk-high-contrast-black-on-white",Hg="cdk-high-contrast-white-on-black",ld="cdk-high-contrast-active",vd=(()=>{let t=class t{constructor(e,n){this._platform=e,this._document=n,this._breakpointSubscription=w(xs).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Jn.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let n=this._document.defaultView||window,r=n&&n.getComputedStyle?n.getComputedStyle(e):null,a=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Jn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Jn.BLACK_ON_WHITE}return Jn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(ld,zg,Hg),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===Jn.BLACK_ON_WHITE?e.add(ld,zg):n===Jn.WHITE_ON_BLACK&&e.add(ld,Hg)}}};t.\u0275fac=function(n){return new(n||t)(j(Ke),j(Ee))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),Fs=(()=>{let t=class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}};t.\u0275fac=function(n){return new(n||t)(j(vd))},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({imports:[ys]});let i=t;return i})();var r2=new se("cdk-dir-doc",{providedIn:"root",factory:a2});function a2(){return w(Ee)}var s2=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function l2(i){let t=i?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?s2.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var hi=(()=>{let t=class t{constructor(e){if(this.value="ltr",this.change=new I,e){let n=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=l2(n||r||"ltr")}}ngOnDestroy(){this.change.complete()}};t.\u0275fac=function(n){return new(n||t)(j(r2,8))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var Sn=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({});let i=t;return i})();var c2=["text"];function d2(i,t){if(i&1&&b(0,"mat-pseudo-checkbox",6),i&2){let o=C();k("disabled",o.disabled)("state",o.selected?"checked":"unchecked")}}function u2(i,t){if(i&1&&b(0,"mat-pseudo-checkbox",7),i&2){let o=C();k("disabled",o.disabled)}}function m2(i,t){if(i&1&&(m(0,"span",8),y(1),p()),i&2){let o=C();h(),Be("(",o.group.label,")")}}var p2=[[["mat-icon"]],"*"],h2=["mat-icon","*"],f2=["mat-internal-form-field",""],g2=["*"];var Id=(()=>{let t=class t{};t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";let i=t;return i})(),Sd=(()=>{let t=class t{};t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms";let i=t;return i})();function v2(){return!0}var b2=new se("mat-sanity-checks",{providedIn:"root",factory:v2}),ze=(()=>{let t=class t{constructor(e,n,r){this._sanityChecks=n,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return Ur()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}};t.\u0275fac=function(n){return new(n||t)(j(vd),j(b2,8),j(Ee))},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({imports:[Sn,Sn]});let i=t;return i})();var to=class{constructor(t,o,e,n,r){this._defaultMatcher=t,this.ngControl=o,this._parentFormGroup=e,this._parentForm=n,this._stateChanges=r,this.errorState=!1}updateErrorState(){let t=this.errorState,o=this._parentFormGroup||this._parentForm,e=this.matcher||this._defaultMatcher,n=this.ngControl?this.ngControl.control:null,r=e?.isErrorState(n,o)??!1;r!==t&&(this.errorState=r,this._stateChanges.next())}};var Wo=(()=>{let t=class t{isErrorState(e,n){return!!(e&&e.invalid&&(e.touched||n&&n.submitted))}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var fi=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(fi||{}),Cd=class{constructor(t,o,e,n=!1){this._renderer=t,this.element=o,this.config=e,this._animationForciblyDisabledThroughCss=n,this.state=fi.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Yg=xn({passive:!0,capture:!0}),yd=class{constructor(){this._events=new Map,this._delegateEventHandler=t=>{let o=wi(t);o&&this._events.get(t.type)?.forEach((e,n)=>{(n===o||n.contains(o))&&e.forEach(r=>r.handleEvent(t))})}}addHandler(t,o,e,n){let r=this._events.get(o);if(r){let a=r.get(e);a?a.add(n):r.set(e,new Set([n]))}else this._events.set(o,new Map([[e,new Set([n])]])),t.runOutsideAngular(()=>{document.addEventListener(o,this._delegateEventHandler,Yg)})}removeHandler(t,o,e){let n=this._events.get(t);if(!n)return;let r=n.get(o);r&&(r.delete(e),r.size===0&&n.delete(o),n.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,Yg)))}},Xg={enterDuration:225,exitDuration:150},_2=800,Qg=xn({passive:!0,capture:!0}),Kg=["mousedown","touchstart"],Jg=["mouseup","mouseleave","touchend","touchcancel"],Qr=class Qr{constructor(t,o,e,n){this._target=t,this._ngZone=o,this._platform=n,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=pi(e))}fadeInRipple(t,o,e={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=G(G({},Xg),e.animation);e.centered&&(t=n.left+n.width/2,o=n.top+n.height/2);let a=e.radius||C2(t,o,n),s=t-n.left,l=o-n.top,d=r.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${s-a}px`,u.style.top=`${l-a}px`,u.style.height=`${a*2}px`,u.style.width=`${a*2}px`,e.color!=null&&(u.style.backgroundColor=e.color),u.style.transitionDuration=`${d}ms`,this._containerElement.appendChild(u);let f=window.getComputedStyle(u),g=f.transitionProperty,_=f.transitionDuration,D=g==="none"||_==="0s"||_==="0s, 0s"||n.width===0&&n.height===0,E=new Cd(this,u,e,D);u.style.transform="scale3d(1, 1, 1)",E.state=fi.FADING_IN,e.persistent||(this._mostRecentTransientRipple=E);let A=null;return!D&&(d||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let T=()=>this._finishRippleTransition(E),L=()=>this._destroyRipple(E);u.addEventListener("transitionend",T),u.addEventListener("transitioncancel",L),A={onTransitionEnd:T,onTransitionCancel:L}}),this._activeRipples.set(E,A),(D||!d)&&this._finishRippleTransition(E),E}fadeOutRipple(t){if(t.state===fi.FADING_OUT||t.state===fi.HIDDEN)return;let o=t.element,e=G(G({},Xg),t.config.animation);o.style.transitionDuration=`${e.exitDuration}ms`,o.style.opacity="0",t.state=fi.FADING_OUT,(t._animationForciblyDisabledThroughCss||!e.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let o=pi(t);!this._platform.isBrowser||!o||o===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=o,Kg.forEach(e=>{Qr._eventManager.addHandler(this._ngZone,e,o,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Jg.forEach(o=>{this._triggerElement.addEventListener(o,this,Qg)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===fi.FADING_IN?this._startFadeOutTransition(t):t.state===fi.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let o=t===this._mostRecentTransientRipple,{persistent:e}=t.config;t.state=fi.VISIBLE,!e&&(!o||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let o=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=fi.HIDDEN,o!==null&&(t.element.removeEventListener("transitionend",o.onTransitionEnd),t.element.removeEventListener("transitioncancel",o.onTransitionCancel)),t.element.remove()}_onMousedown(t){let o=fd(t),e=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+_2;!this._target.rippleDisabled&&!o&&!e&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!gd(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let o=t.changedTouches;if(o)for(let e=0;e<o.length;e++)this.fadeInRipple(o[e].clientX,o[e].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let o=t.state===fi.VISIBLE||t.config.terminateOnPointerUp&&t.state===fi.FADING_IN;!t.config.persistent&&o&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(Kg.forEach(o=>Qr._eventManager.removeHandler(o,t,this)),this._pointerUpEventsRegistered&&Jg.forEach(o=>t.removeEventListener(o,this,Qg)))}};Qr._eventManager=new yd;var xd=Qr;function C2(i,t,o){let e=Math.max(Math.abs(i-o.left),Math.abs(i-o.right)),n=Math.max(Math.abs(t-o.top),Math.abs(t-o.bottom));return Math.sqrt(e*e+n*n)}var Jr=new se("mat-ripple-global-options"),ea=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,n,r,a,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new xd(this,n,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:G(G(G({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,n=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,n,G(G({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,G(G({},this.rippleConfig),e))}};t.\u0275fac=function(n){return new(n||t)(c(S),c(M),c(Ke),c(Jr,8),c(ut,8))},t.\u0275dir=re({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mat-ripple-unbounded",r.unbounded)},inputs:{color:[z.None,"matRippleColor","color"],unbounded:[z.None,"matRippleUnbounded","unbounded"],centered:[z.None,"matRippleCentered","centered"],radius:[z.None,"matRippleRadius","radius"],animation:[z.None,"matRippleAnimation","animation"],disabled:[z.None,"matRippleDisabled","disabled"],trigger:[z.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let i=t;return i})(),ta=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({imports:[ze,ze]});let i=t;return i})(),y2=(()=>{let t=class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}};t.\u0275fac=function(n){return new(n||t)(c(ut,8))},t.\u0275cmp=v({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,r){n&2&&ee("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[x],decls:0,vars:0,template:function(n,r){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let i=t;return i})(),x2=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({imports:[ze]});let i=t;return i})(),Ed=new se("MAT_OPTION_PARENT_COMPONENT");var Md=new se("MatOptgroup");var w2=0,wd=class{constructor(t,o=!1){this.source=t,this.isUserInput=o}},Ls=(()=>{let t=class t{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(e,n,r,a){this._element=e,this._changeDetectorRef=n,this._parent=r,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${w2++}`,this.onSelectionChange=new I,this._stateChanges=new ce}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,n){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(n)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!qt(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new wd(this,e))}};t.\u0275fac=function(n){return new(n||t)(c(S),c(V),c(Ed,8),c(Md,8))},t.\u0275cmp=v({type:t,selectors:[["mat-option"]],viewQuery:function(n,r){if(n&1&&xe(c2,7),n&2){let a;ne(a=oe())&&(r._text=a.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,r){n&1&&P("click",function(){return r._selectViaInteraction()})("keydown",function(s){return r._handleKeydown(s)}),n&2&&(Xt("id",r.id),Ie("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),ee("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[z.HasDecoratorInputTransform,"disabled","disabled",De]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[ct,x],ngContentSelectors:h2,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled"],["class","cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(n,r){n&1&&(W(p2),O(0,d2,1,2,"mat-pseudo-checkbox",0),R(1),m(2,"span",1,2),R(4,1),p(),O(5,u2,1,1,"mat-pseudo-checkbox",3)(6,m2,2,1,"span",4),b(7,"div",5)),n&2&&(H(0,r.multiple?0:-1),h(5),H(5,!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),h(),H(6,r.group&&r.group._inert?6:-1),h(),k("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[y2,ea],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let i=t;return i})();function n0(i,t,o){if(o.length){let e=t.toArray(),n=o.toArray(),r=0;for(let a=0;a<i+1;a++)e[a].group&&e[a].group===n[r]&&r++;return r}return 0}function o0(i,t,o,e){return i<o?i:i+t>o+e?Math.max(0,i-e+t):o}var Dd=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({imports:[ta,ze,x2]});let i=t;return i})(),e0={capture:!0},t0=["focus","click","mouseenter","touchstart"],bd="mat-ripple-loader-uninitialized",_d="mat-ripple-loader-class-name",i0="mat-ripple-loader-centered",Rs="mat-ripple-loader-disabled",js=(()=>{let t=class t{constructor(){this._document=w(Ee,{optional:!0}),this._animationMode=w(ut,{optional:!0}),this._globalRippleOptions=w(Jr,{optional:!0}),this._platform=w(Ke),this._ngZone=w(M),this._hosts=new Map,this._onInteraction=e=>{if(!(e.target instanceof HTMLElement))return;let r=e.target.closest(`[${bd}]`);r&&this._createRipple(r)},this._ngZone.runOutsideAngular(()=>{for(let e of t0)this._document?.addEventListener(e,this._onInteraction,e0)})}ngOnDestroy(){let e=this._hosts.keys();for(let n of e)this.destroyRipple(n);for(let n of t0)this._document?.removeEventListener(n,this._onInteraction,e0)}configureRipple(e,n){e.setAttribute(bd,""),(n.className||!e.hasAttribute(_d))&&e.setAttribute(_d,n.className||""),n.centered&&e.setAttribute(i0,""),n.disabled&&e.setAttribute(Rs,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,n){let r=this._hosts.get(e);if(r){r.disabled=n;return}n?e.setAttribute(Rs,""):e.removeAttribute(Rs)}_createRipple(e){if(!this._document)return;let n=this._hosts.get(e);if(n)return n;e.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",e.getAttribute(_d)),e.append(r);let a=new ea(new S(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return a._isInitialized=!0,a.trigger=e,a.centered=e.hasAttribute(i0),a.disabled=e.hasAttribute(Rs),this.attachRipple(e,a),a}attachRipple(e,n){e.removeAttribute(bd),this._hosts.set(e,n)}destroyRipple(e){let n=this._hosts.get(e);n&&(n.ngOnDestroy(),this._hosts.delete(e))}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),r0=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[x],attrs:f2,ngContentSelectors:g2,decls:1,vars:0,template:function(n,r){n&1&&(W(),R(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0});let i=t;return i})();var Td=class{constructor(t){this._box=t,this._destroyed=new ce,this._resizeSubject=new ce,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(o=>this._resizeSubject.next(o)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new jn(o=>{let e=this._resizeSubject.subscribe(o);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),e.unsubscribe(),this._elementObservables.delete(t)}}).pipe(Ue(o=>o.some(e=>e.target===t)),Wl({bufferSize:1,refCount:!0}),Je(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},a0=(()=>{let t=class t{constructor(){this._observers=new Map,this._ngZone=w(M),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,n){let r=n?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new Td(r)),this._observers.get(r).observe(e)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var I2=["notch"],S2=["matFormFieldNotchedOutline",""],E2=["*"],M2=["textField"],D2=["iconPrefixContainer"],k2=["textPrefixContainer"];function T2(i,t){i&1&&b(0,"span",16)}function O2(i,t){if(i&1&&(m(0,"label",14),R(1,1),O(2,T2,1,0,"span",15),p()),i&2){let o=C(2);k("floating",o._shouldLabelFloat())("monitorResize",o._hasOutline())("id",o._labelId),Ie("for",o._control.id),h(2),H(2,!o.hideRequiredMarker&&o._control.required?2:-1)}}function P2(i,t){if(i&1&&O(0,O2,3,5,"label",14),i&2){let o=C();H(0,o._hasFloatingLabel()?0:-1)}}function F2(i,t){i&1&&b(0,"div",17)}function A2(i,t){}function R2(i,t){if(i&1&&O(0,A2,0,0,"ng-template",9),i&2){C(2);let o=bi(1);k("ngTemplateOutlet",o)}}function L2(i,t){if(i&1&&(m(0,"div",5),O(1,R2,1,1,null,9),p()),i&2){let o=C();k("matFormFieldNotchedOutlineOpen",o._shouldLabelFloat()),h(),H(1,o._forceDisplayInfixLabel()?-1:1)}}function j2(i,t){i&1&&(m(0,"div",18,19),R(2,2),p())}function V2(i,t){i&1&&(m(0,"div",20,21),R(2,3),p())}function N2(i,t){}function B2(i,t){if(i&1&&O(0,N2,0,0,"ng-template",9),i&2){C();let o=bi(1);k("ngTemplateOutlet",o)}}function z2(i,t){i&1&&(m(0,"div",22),R(1,4),p())}function H2(i,t){i&1&&(m(0,"div",23),R(1,5),p())}function $2(i,t){i&1&&b(0,"div",12)}function U2(i,t){if(i&1&&(m(0,"div",24),R(1,6),p()),i&2){let o=C();k("@transitionMessages",o._subscriptAnimationState)}}function W2(i,t){if(i&1&&(m(0,"mat-hint",26),y(1),p()),i&2){let o=C(2);k("id",o._hintLabelId),h(),Z(o.hintLabel)}}function G2(i,t){if(i&1&&(m(0,"div",25),O(1,W2,2,2,"mat-hint",26),R(2,7),b(3,"div",27),R(4,8),p()),i&2){let o=C();k("@transitionMessages",o._subscriptAnimationState),h(),H(1,o.hintLabel?1:-1)}}var Z2=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],q2=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"],Ns=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=re({type:t,selectors:[["mat-label"]],standalone:!0});let i=t;return i})();var Y2=new se("MatError");var X2=0,s0=(()=>{let t=class t{constructor(){this.align="start",this.id=`mat-mdc-hint-${X2++}`}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=re({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,r){n&2&&(Xt("id",r.id),Ie("align",null),ee("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let i=t;return i})(),f0=new se("MatPrefix"),Bs=(()=>{let t=class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=re({type:t,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[z.None,"matTextPrefix","_isTextSelector"]},standalone:!0,features:[We([{provide:f0,useExisting:t}])]});let i=t;return i})(),g0=new se("MatSuffix"),zs=(()=>{let t=class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=re({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[z.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[We([{provide:g0,useExisting:t}])]});let i=t;return i})(),v0=new se("FloatingLabelParent"),l0=(()=>{let t=class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=w(a0),this._ngZone=w(M),this._parent=w(v0),this._resizeSubscription=new Rt}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Q2(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};t.\u0275fac=function(n){return new(n||t)(c(S))},t.\u0275dir=re({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let i=t;return i})();function Q2(i){let t=i;if(t.offsetParent!==null)return t.scrollWidth;let o=t.cloneNode(!0);o.style.setProperty("position","absolute"),o.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(o);let e=o.scrollWidth;return o.remove(),e}var c0="mdc-line-ripple--active",Vs="mdc-line-ripple--deactivating",d0=(()=>{let t=class t{constructor(e,n){this._elementRef=e,this._handleTransitionEnd=r=>{let a=this._elementRef.nativeElement.classList,s=a.contains(Vs);r.propertyName==="opacity"&&s&&a.remove(c0,Vs)},n.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Vs),e.add(c0)}deactivate(){this._elementRef.nativeElement.classList.add(Vs)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};t.\u0275fac=function(n){return new(n||t)(c(S),c(M))},t.\u0275dir=re({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let i=t;return i})(),u0=(()=>{let t=class t{constructor(e,n){this._elementRef=e,this._ngZone=n,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};t.\u0275fac=function(n){return new(n||t)(c(S),c(M))},t.\u0275cmp=v({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,r){if(n&1&&xe(I2,5),n&2){let a;ne(a=oe())&&(r._notch=a.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,r){n&2&&ee("mdc-notched-outline--notched",r.open)},inputs:{open:[z.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[x],attrs:S2,ngContentSelectors:E2,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(n,r){n&1&&(W(),b(0,"div",0),m(1,"div",1,2),R(3),p(),b(4,"div",3))},encapsulation:2,changeDetection:0});let i=t;return i})(),K2={transitionMessages:Nn("transitionMessages",[Bn("enter",Ai({opacity:1,transform:"translateY(0%)"})),Yi("void => enter",[Ai({opacity:0,transform:"translateY(-5px)"}),fn("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ia=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=re({type:t});let i=t;return i})();var na=new se("MatFormField"),J2=new se("MAT_FORM_FIELD_DEFAULT_OPTIONS"),m0=0,p0="fill",e5="auto",h0="fixed",t5="translateY(-50%)",Mn=(()=>{let t=class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Zn(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||e5}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let n=this._appearance,r=e||this._defaults?.appearance||p0;this._appearance=r,this._appearance==="outline"&&this._appearance!==n&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||h0}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||h0}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,n,r,a,s,l,d,u){this._elementRef=e,this._changeDetectorRef=n,this._ngZone=r,this._dir=a,this._platform=s,this._defaults=l,this._animationMode=d,this._hideRequiredMarker=!1,this.color="primary",this._appearance=p0,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${m0++}`,this._hintLabelId=`mat-mdc-hint-${m0++}`,this._subscriptAnimationState="",this._destroyed=new ce,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Je(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Gt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Je(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(Je(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){let n=this._control?this._control.ngControl:null;return n&&n[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let n=this._hintChildren?this._hintChildren.find(a=>a.align==="start"):null,r=this._hintChildren?this._hintChildren.find(a=>a.align==="end"):null;n?e.push(n.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let n=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,a=n?.getBoundingClientRect().width??0,s=r?.getBoundingClientRect().width??0,l=this._dir.value==="rtl"?"-1":"1",d=`${a+s}px`,f=`calc(${l} * (${d} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var(
        --mat-mdc-form-field-label-transform,
        ${t5} translateX(${f})
    )`}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let n=e.getRootNode();return n&&n!==e}return document.documentElement.contains(e)}};t.\u0275fac=function(n){return new(n||t)(c(S),c(V),c(M),c(hi),c(Ke),c(J2,8),c(ut,8),c(Ee))},t.\u0275cmp=v({type:t,selectors:[["mat-form-field"]],contentQueries:function(n,r,a){if(n&1&&(Ge(a,Ns,5),Ge(a,Ns,7),Ge(a,ia,5),Ge(a,f0,5),Ge(a,g0,5),Ge(a,Y2,5),Ge(a,s0,5)),n&2){let s;ne(s=oe())&&(r._labelChildNonStatic=s.first),ne(s=oe())&&(r._labelChildStatic=s.first),ne(s=oe())&&(r._formFieldControl=s.first),ne(s=oe())&&(r._prefixChildren=s),ne(s=oe())&&(r._suffixChildren=s),ne(s=oe())&&(r._errorChildren=s),ne(s=oe())&&(r._hintChildren=s)}},viewQuery:function(n,r){if(n&1&&(xe(M2,5),xe(D2,5),xe(k2,5),xe(l0,5),xe(u0,5),xe(d0,5)),n&2){let a;ne(a=oe())&&(r._textField=a.first),ne(a=oe())&&(r._iconPrefixContainer=a.first),ne(a=oe())&&(r._textPrefixContainer=a.first),ne(a=oe())&&(r._floatingLabel=a.first),ne(a=oe())&&(r._notchedOutline=a.first),ne(a=oe())&&(r._lineRipple=a.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(n,r){n&2&&ee("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations",r._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[We([{provide:na,useExisting:t},{provide:v0,useExisting:t}]),x],ngContentSelectors:q2,decls:18,vars:21,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(n,r){if(n&1&&(W(Z2),O(0,P2,1,1,"ng-template",null,0,bo),m(2,"div",1,2),P("click",function(s){return r._control.onContainerClick(s)}),O(4,F2,1,0,"div",3),m(5,"div",4),O(6,L2,2,2,"div",5)(7,j2,3,0,"div",6)(8,V2,3,0,"div",7),m(9,"div",8),O(10,B2,1,1,null,9),R(11),p(),O(12,z2,2,0,"div",10)(13,H2,2,0,"div",11),p(),O(14,$2,1,0,"div",12),p(),m(15,"div",13),O(16,U2,2,1)(17,G2,5,2),p()),n&2){let a;h(2),ee("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),h(2),H(4,!r._hasOutline()&&!r._control.disabled?4:-1),h(2),H(6,r._hasOutline()?6:-1),h(),H(7,r._hasIconPrefix?7:-1),h(),H(8,r._hasTextPrefix?8:-1),h(2),H(10,!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),h(2),H(12,r._hasTextSuffix?12:-1),h(),H(13,r._hasIconSuffix?13:-1),h(),H(14,r._hasOutline()?-1:14),h(),ee("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic"),h(),H(16,(a=r._getDisplayedMessages())==="error"?16:a==="hint"?17:-1)}},dependencies:[l0,u0,yi,d0,s0],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[K2.transitionMessages]},changeDetection:0});let i=t;return i})(),Mi=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({imports:[ze,xi,ys,ze]});let i=t;return i})();var i5=new se("MAT_INPUT_VALUE_ACCESSOR"),n5=["button","checkbox","file","hidden","image","radio","range","reset","submit"],o5=0,Go=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){this._disabled=Zn(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Bo.required)??!1}set required(e){this._required=Zn(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Qc().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Zn(e)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,n,r,a,s,l,d,u,f,g){this._elementRef=e,this._platform=n,this.ngControl=r,this._autofillMonitor=u,this._formField=g,this._uid=`mat-input-${o5++}`,this.focused=!1,this.stateChanges=new ce,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(E=>Qc().has(E)),this._iOSKeyupListener=E=>{let A=E.target;!A.value&&A.selectionStart===0&&A.selectionEnd===0&&(A.setSelectionRange(1,1),A.setSelectionRange(0,0))};let _=this._elementRef.nativeElement,D=_.nodeName.toLowerCase();this._inputValueAccessor=d||_,this._previousNativeValue=this.value,this.id=this.id,n.IOS&&f.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new to(l,r,s,a,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=D==="select",this._isTextarea=D==="textarea",this._isInFormField=!!g,this._isNativeSelect&&(this.controlType=_.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let n=this._elementRef.nativeElement;this._previousPlaceholder=e,e?n.setAttribute("placeholder",e):n.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){n5.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,n=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&n&&n.label)}else return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}};t.\u0275fac=function(n){return new(n||t)(c(S),c(Ke),c(Ii,10),c(qr,8),c(Yr,8),c(Wo),c(i5,10),c(sg),c(M),c(na,8))},t.\u0275dir=re({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(n,r){n&1&&P("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),n&2&&(Xt("id",r.id)("disabled",r.disabled)("required",r.required),Ie("name",r.name||null)("readonly",r.readonly&&!r._isNativeSelect||null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),ee("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[z.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[We([{provide:ia,useExisting:t}]),rt]});let i=t;return i})(),Zo=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({imports:[ze,Mi,Mi,lg,ze]});let i=t;return i})();var r5=["mat-button",""],a5=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],s5=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var l5=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var c5=["mat-icon-button",""],d5=["*"];var u5=new se("MAT_BUTTON_CONFIG");var m5=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],b0=(()=>{let t=class t{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,n,r,a){this._elementRef=e,this._platform=n,this._ngZone=r,this._animationMode=a,this._focusMonitor=w(Ei),this._rippleLoader=w(js),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=w(u5,{optional:!0}),l=e.nativeElement,d=l.classList;this.disabledInteractive=s?.disabledInteractive??!1,this._rippleLoader?.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:u,mdcClasses:f}of m5)l.hasAttribute(u)&&d.add(...f)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",n){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,n):this._elementRef.nativeElement.focus(n)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};t.\u0275fac=function(n){gr()},t.\u0275dir=re({type:t,inputs:{color:"color",disableRipple:[z.HasDecoratorInputTransform,"disableRipple","disableRipple",De],disabled:[z.HasDecoratorInputTransform,"disabled","disabled",De],ariaDisabled:[z.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",De],disabledInteractive:[z.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",De]},features:[ct]});let i=t;return i})();var Ht=(()=>{let t=class t extends b0{constructor(e,n,r,a){super(e,n,r,a)}};t.\u0275fac=function(n){return new(n||t)(c(S),c(Ke),c(M),c(ut,8))},t.\u0275cmp=v({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(n,r){n&2&&(Ie("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),ii(r.color?"mat-"+r.color:""),ee("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ke,x],attrs:r5,ngContentSelectors:s5,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,r){n&1&&(W(a5),b(0,"span",0),R(1),m(2,"span",1),R(3,1),p(),R(4,2),b(5,"span",2)(6,"span",3)),n&2&&ee("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let i=t;return i})();var Kt=(()=>{let t=class t extends b0{constructor(e,n,r,a){super(e,n,r,a),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};t.\u0275fac=function(n){return new(n||t)(c(S),c(Ke),c(M),c(ut,8))},t.\u0275cmp=v({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(n,r){n&2&&(Ie("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),ii(r.color?"mat-"+r.color:""),ee("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ke,x],attrs:c5,ngContentSelectors:d5,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,r){n&1&&(W(),b(0,"span",0),R(1),b(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',l5],encapsulation:2,changeDetection:0});let i=t;return i})();var at=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({imports:[ze,ta,ze]});let i=t;return i})();var p5=["determinateSpinner"];function h5(i,t){if(i&1&&(q(),m(0,"svg",11),b(1,"circle",12),p()),i&2){let o=C();Ie("viewBox",o._viewBox()),h(),Pi("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeCircumference()/2,"px")("stroke-width",o._circleStrokeWidth(),"%"),Ie("r",o._circleRadius())}}var f5=new se("mat-progress-spinner-default-options",{providedIn:"root",factory:g5});function g5(){return{diameter:_0}}var _0=100,v5=10,C0=(()=>{let t=class t{get color(){return this._color||this._defaultColor}set color(e){this._color=e}constructor(e,n,r){this._elementRef=e,this._defaultColor="primary",this._value=0,this._diameter=_0,this._noopAnimations=n==="NoopAnimations"&&!!r&&!r._forceAnimations,this.mode=e.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",r&&(r.color&&(this.color=this._defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_circleRadius(){return(this.diameter-v5)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}};t.\u0275fac=function(n){return new(n||t)(c(S),c(ut,8),c(f5))},t.\u0275cmp=v({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(n,r){if(n&1&&xe(p5,5),n&2){let a;ne(a=oe())&&(r._determinateCircle=a.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(n,r){n&2&&(Ie("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),ii("mat-"+r.color),Pi("width",r.diameter,"px")("height",r.diameter,"px")("--mdc-circular-progress-size",r.diameter+"px")("--mdc-circular-progress-active-indicator-width",r.diameter+"px"),ee("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[z.HasDecoratorInputTransform,"value","value",Qt],diameter:[z.HasDecoratorInputTransform,"diameter","diameter",Qt],strokeWidth:[z.HasDecoratorInputTransform,"strokeWidth","strokeWidth",Qt]},exportAs:["matProgressSpinner"],standalone:!0,features:[ct,x],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(n,r){if(n&1&&(O(0,h5,2,8,"ng-template",null,0,bo),m(2,"div",1,2),q(),m(4,"svg",3),b(5,"circle",4),p()(),Gi(),m(6,"div",5)(7,"div",6)(8,"div",7),un(9,8),p(),m(10,"div",9),un(11,8),p(),m(12,"div",10),un(13,8),p()()()),n&2){let a=bi(1);h(4),Ie("viewBox",r._viewBox()),h(),Pi("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),Ie("r",r._circleRadius()),h(4),k("ngTemplateOutlet",a),h(2),k("ngTemplateOutlet",a),h(2),k("ngTemplateOutlet",a)}},dependencies:[yi],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0});let i=t;return i})();var y0=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({imports:[xi,ze]});let i=t;return i})();var Pd=xo("Preferences",{web:()=>import("./chunk-SN6YOVHY.js").then(i=>new i.PreferencesWeb)});var $s=(i,t,o,e,n)=>C5(i[1],t[1],o[1],e[1],n).map(r=>_5(i[0],t[0],o[0],e[0],r)),_5=(i,t,o,e,n)=>{let r=3*t*Math.pow(n-1,2),a=-3*o*n+3*o+e*n,s=i*Math.pow(n-1,3);return n*(r+n*a)-s},C5=(i,t,o,e,n)=>(i-=n,t-=n,o-=n,e-=n,x5(e-3*o+3*t-i,3*o-6*t+3*i,3*t-3*i,i).filter(a=>a>=0&&a<=1)),y5=(i,t,o)=>{let e=t*t-4*i*o;return e<0?[]:[(-t+Math.sqrt(e))/(2*i),(-t-Math.sqrt(e))/(2*i)]},x5=(i,t,o,e)=>{if(i===0)return y5(t,o,e);t/=i,o/=i,e/=i;let n=(3*o-t*t)/3,r=(2*t*t*t-9*t*o+27*e)/27;if(n===0)return[Math.pow(-r,.3333333333333333)];if(r===0)return[Math.sqrt(-n),-Math.sqrt(-n)];let a=Math.pow(r/2,2)+Math.pow(n/3,3);if(a===0)return[Math.pow(r/2,.5)-t/3];if(a>0)return[Math.pow(-(r/2)+Math.sqrt(a),.3333333333333333)-Math.pow(r/2+Math.sqrt(a),.3333333333333333)-t/3];let s=Math.sqrt(Math.pow(-(n/3),3)),l=Math.acos(-(r/(2*Math.sqrt(Math.pow(-(n/3),3))))),d=2*Math.pow(s,1/3);return[d*Math.cos(l/3)-t/3,d*Math.cos((l+2*Math.PI)/3)-t/3,d*Math.cos((l+4*Math.PI)/3)-t/3]};var w5=i=>i!==void 0?(Array.isArray(i)?i:i.split(" ")).filter(o=>o!=null).map(o=>o.trim()).filter(o=>o!==""):[],Us=i=>{let t={};return w5(i).forEach(o=>t[o]=!0),t};var Ws=(i,t,o,e,n,r)=>Ae(void 0,null,function*(){var a;if(i)return i.attachViewToDom(t,o,n,e);if(!r&&typeof o!="string"&&!(o instanceof HTMLElement))throw new Error("framework delegate is missing");let s=typeof o=="string"?(a=t.ownerDocument)===null||a===void 0?void 0:a.createElement(o):o;return e&&e.forEach(l=>s.classList.add(l)),n&&Object.assign(s,n),t.appendChild(s),yield new Promise(l=>vn(s,l)),s}),Gs=(i,t)=>{if(t){if(i){let o=t.parentElement;return i.removeViewFromDom(o,t)}t.remove()}return Promise.resolve()},Zs=()=>{let i,t;return{attachViewToDom:(l,d,...u)=>Ae(void 0,[l,d,...u],function*(n,r,a={},s=[]){var f,g;i=n;let _;if(r){let E=typeof r=="string"?(f=i.ownerDocument)===null||f===void 0?void 0:f.createElement(r):r;s.forEach(A=>E.classList.add(A)),Object.assign(E,a),i.appendChild(E),_=E,yield new Promise(A=>vn(E,A))}else if(i.children.length>0&&(i.tagName==="ION-MODAL"||i.tagName==="ION-POPOVER")&&!(_=i.children[0]).classList.contains("ion-delegate-host")){let A=(g=i.ownerDocument)===null||g===void 0?void 0:g.createElement("div");A.classList.add("ion-delegate-host"),s.forEach(T=>A.classList.add(T)),A.append(...i.children),i.appendChild(A),_=A}let D=document.querySelector("ion-app")||document.body;return t=document.createComment("ionic teleport"),i.parentNode.insertBefore(t,i),D.appendChild(i),_??i}),removeViewFromDom:()=>(i&&t&&(t.parentNode.insertBefore(i,t),t.remove()),Promise.resolve())}};var ra='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',qs=(i,t)=>{let o=i.querySelector(ra);I0(o,t??i)},x0=(i,t)=>{let o=Array.from(i.querySelectorAll(ra)),e=o.length>0?o[o.length-1]:null;I0(e,t??i)},I0=(i,t)=>{let o=i,e=i?.shadowRoot;e&&(o=e.querySelector(ra)||i),o?ec(o):t.focus()},Fd=0,I5=0,Ys=new WeakMap,S0=i=>({create(o){return S5(i,o)},dismiss(o,e,n){return k5(document,o,e,i,n)},getTop(){return Ae(this,null,function*(){return oa(document,i)})}});var Ad=S0("ion-modal");var Rd=S0("ion-popover");var Xs=i=>{typeof document<"u"&&D5(document);let t=Fd++;i.overlayIndex=t},Qs=i=>(i.hasAttribute("id")||(i.id=`ion-overlay-${++I5}`),i.id),S5=(i,t)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(i).then(()=>{let o=document.createElement(i);return o.classList.add("overlay-hidden"),Object.assign(o,Object.assign(Object.assign({},t),{hasController:!0})),M0(document).appendChild(o),new Promise(e=>vn(o,e))}):Promise.resolve(),E5=i=>i.classList.contains("overlay-hidden"),w0=(i,t)=>{let o=i,e=i?.shadowRoot;e&&(o=e.querySelector(ra)||i),o?ec(o):t.focus()},M5=(i,t)=>{let o=oa(t,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"),e=i.target;if(!o||!e||o.classList.contains(io))return;let n=()=>{if(o===e)o.lastFocus=void 0;else if(e.tagName==="ION-TOAST")w0(o.lastFocus,o);else{let a=Dt(o);if(!a.contains(e))return;let s=a.querySelector(".ion-overlay-wrapper");if(!s)return;if(s.contains(e)||e===a.querySelector("ion-backdrop"))o.lastFocus=e;else{let l=o.lastFocus;qs(s,o),l===t.activeElement&&x0(s,o),o.lastFocus=t.activeElement}}},r=()=>{if(o.contains(e))o.lastFocus=e;else if(e.tagName==="ION-TOAST")w0(o.lastFocus,o);else{let a=o.lastFocus;qs(o),a===t.activeElement&&x0(o),o.lastFocus=t.activeElement}};o.shadowRoot?r():n()},D5=i=>{Fd===0&&(Fd=1,i.addEventListener("focus",t=>{M5(t,i)},!0),i.addEventListener("ionBackButton",t=>{let o=oa(i);o?.backdropDismiss&&t.detail.register(cf,()=>{o.dismiss(void 0,qo)})}),lf()||i.addEventListener("keydown",t=>{if(t.key==="Escape"){let o=oa(i);o?.backdropDismiss&&o.dismiss(void 0,qo)}}))},k5=(i,t,o,e,n)=>{let r=oa(i,e,n);return r?r.dismiss(t,o):Promise.reject("overlay does not exist")},T5=(i,t)=>(t===void 0&&(t="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"),Array.from(i.querySelectorAll(t)).filter(o=>o.overlayIndex>0)),Ks=(i,t)=>T5(i,t).filter(o=>!E5(o)),oa=(i,t,o)=>{let e=Ks(i,t);return o===void 0?e[e.length-1]:e.find(n=>n.id===o)},E0=(i=!1)=>{let o=M0(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");o&&(i?o.setAttribute("aria-hidden","true"):o.removeAttribute("aria-hidden"))},Js=(i,t,o,e,n)=>Ae(void 0,null,function*(){var r,a;if(i.presented)return;E0(!0),document.body.classList.add(ac),F5(i.el),i.presented=!0,i.willPresent.emit(),(r=i.willPresentShorthand)===null||r===void 0||r.emit();let s=oi(i),l=i.enterAnimation?i.enterAnimation:Hn.get(t,s==="ios"?o:e);(yield D0(i,l,i.el,n))&&(i.didPresent.emit(),(a=i.didPresentShorthand)===null||a===void 0||a.emit()),i.el.tagName!=="ION-TOAST"&&O5(i.el),i.keyboardClose&&(document.activeElement===null||!i.el.contains(document.activeElement))&&i.el.focus(),i.el.removeAttribute("aria-hidden")}),O5=i=>Ae(void 0,null,function*(){let t=document.activeElement;if(!t)return;let o=t?.shadowRoot;o&&(t=o.querySelector(ra)||t),yield i.onDidDismiss(),(document.activeElement===null||document.activeElement===document.body)&&t.focus()}),el=(i,t,o,e,n,r,a)=>Ae(void 0,null,function*(){var s,l;if(!i.presented)return!1;zn!==void 0&&Ks(zn).length===1&&(E0(!1),document.body.classList.remove(ac)),i.presented=!1;try{i.el.style.setProperty("pointer-events","none"),i.willDismiss.emit({data:t,role:o}),(s=i.willDismissShorthand)===null||s===void 0||s.emit({data:t,role:o});let u=oi(i),f=i.leaveAnimation?i.leaveAnimation:Hn.get(e,u==="ios"?n:r);o!==Xo&&(yield D0(i,f,i.el,a)),i.didDismiss.emit({data:t,role:o}),(l=i.didDismissShorthand)===null||l===void 0||l.emit({data:t,role:o}),(Ys.get(i)||[]).forEach(_=>_.destroy()),Ys.delete(i),i.el.classList.add("overlay-hidden"),i.el.style.removeProperty("pointer-events"),i.el.lastFocus!==void 0&&(i.el.lastFocus=void 0)}catch(u){console.error(u)}return i.el.remove(),A5(),!0}),M0=i=>i.querySelector("ion-app")||i.body,D0=(i,t,o,e)=>Ae(void 0,null,function*(){o.classList.remove("overlay-hidden");let n=i.el,r=t(n,e);(!i.animated||!Hn.getBoolean("animated",!0))&&r.duration(0),i.keyboardClose&&r.beforeAddWrite(()=>{let s=o.ownerDocument.activeElement;s?.matches("input,ion-input, ion-textarea")&&s.blur()});let a=Ys.get(i)||[];return Ys.set(i,[...a,r]),yield r.play(),!0}),Yo=(i,t)=>{let o,e=new Promise(n=>o=n);return P5(i,t,n=>{o(n.detail)}),e},P5=(i,t,o)=>{let e=n=>{sf(i,t,e),o(n)};$a(i,t,e)};var qo="backdrop",Xo="gesture",k0=39;var T0=()=>{let i,t=()=>{i&&(i(),i=void 0)};return{addClickListener:(e,n)=>{t();let r=n!==void 0?document.getElementById(n):null;if(!r){gn(`A trigger element with the ID "${n}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,e);return}i=((s,l)=>{let d=()=>{l.present()};return s.addEventListener("click",d),()=>{s.removeEventListener("click",d)}})(r,e)},removeClickListener:t}},F5=i=>{var t;if(zn===void 0)return;let o=Ks(zn);for(let e=o.length-1;e>=0;e--){let n=o[e],r=(t=o[e+1])!==null&&t!==void 0?t:i;(r.hasAttribute("aria-hidden")||r.tagName!=="ION-TOAST")&&n.setAttribute("aria-hidden","true")}},A5=()=>{if(zn===void 0)return;let i=Ks(zn);for(let t=i.length-1;t>=0;t--){let o=i[t];if(o.removeAttribute("aria-hidden"),o.tagName!=="ION-TOAST")break}},io="ion-disable-focus-trap";var B5=["tabsInner"];var kn=(()=>{class i{doc;_readyPromise;win;backButton=new ce;keyboardDidShow=new ce;keyboardDidHide=new ce;pause=new ce;resume=new ce;resize=new ce;constructor(o,e){this.doc=o,e.run(()=>{this.win=o.defaultView,this.backButton.subscribeWithPriority=function(r,a){return this.subscribe(s=>s.register(r,l=>e.run(()=>a(l))))},Qo(this.pause,o,"pause",e),Qo(this.resume,o,"resume",e),Qo(this.backButton,o,"ionBackButton",e),Qo(this.resize,this.win,"resize",e),Qo(this.keyboardDidShow,this.win,"ionKeyboardDidShow",e),Qo(this.keyboardDidHide,this.win,"ionKeyboardDidHide",e);let n;this._readyPromise=new Promise(r=>{n=r}),this.win?.cordova?o.addEventListener("deviceready",()=>{n("cordova")},{once:!0}):n("dom")})}is(o){return yr(this.win,o)}platforms(){return Kl(this.win)}ready(){return this._readyPromise}get isRTL(){return this.doc.dir==="rtl"}getQueryParam(o){return z5(this.win.location.href,o)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent(o){let e=this.win.navigator;return!!(e?.userAgent&&e.userAgent.indexOf(o)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}static \u0275fac=function(e){return new(e||i)(j(Ee),j(M))};static \u0275prov=J({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),z5=(i,t)=>{t=t.replace(/[[\]\\]/g,"\\$&");let e=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(i);return e?decodeURIComponent(e[1].replace(/\+/g," ")):null},Qo=(i,t,o,e)=>{t&&t.addEventListener(o,n=>{e.run(()=>{let r=n?.detail;i.next(r)})})},Tn=(()=>{class i{location;serializer;router;topOutlet;direction=O0;animated=P0;animationBuilder;guessDirection="forward";guessAnimation;lastNavId=-1;constructor(o,e,n,r){this.location=e,this.serializer=n,this.router=r,r&&r.events.subscribe(a=>{if(a instanceof Qi){let s=a.restoredState?a.restoredState.navigationId:a.id;this.guessDirection=this.guessAnimation=s<this.lastNavId?"back":"forward",this.lastNavId=this.guessDirection==="forward"?a.id:s}}),o.backButton.subscribeWithPriority(0,a=>{this.pop(),a()})}navigateForward(o,e={}){return this.setDirection("forward",e.animated,e.animationDirection,e.animation),this.navigate(o,e)}navigateBack(o,e={}){return this.setDirection("back",e.animated,e.animationDirection,e.animation),this.navigate(o,e)}navigateRoot(o,e={}){return this.setDirection("root",e.animated,e.animationDirection,e.animation),this.navigate(o,e)}back(o={animated:!0,animationDirection:"back"}){return this.setDirection("back",o.animated,o.animationDirection,o.animation),this.location.back()}pop(){return Ae(this,null,function*(){let o=this.topOutlet;for(;o;){if(yield o.pop())return!0;o=o.parentOutlet}return!1})}setDirection(o,e,n,r){this.direction=o,this.animated=H5(o,e,n),this.animationBuilder=r}setTopOutlet(o){this.topOutlet=o}consumeTransition(){let o="root",e,n=this.animationBuilder;return this.direction==="auto"?(o=this.guessDirection,e=this.guessAnimation):(e=this.animated,o=this.direction),this.direction=O0,this.animated=P0,this.animationBuilder=void 0,{direction:o,animation:e,animationBuilder:n}}navigate(o,e){if(Array.isArray(o))return this.router.navigate(o,e);{let n=this.serializer.parse(o.toString());return e.queryParams!==void 0&&(n.queryParams=G({},e.queryParams)),e.fragment!==void 0&&(n.fragment=e.fragment),this.router.navigateByUrl(n,e)}}static \u0275fac=function(e){return new(e||i)(j(kn),j(ni),j(jr),j(je,8))};static \u0275prov=J({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),H5=(i,t,o)=>{if(t!==!1){if(o!==void 0)return o;if(i==="forward"||i==="back")return i;if(i==="root"&&t===!0)return"forward"}},O0="auto",P0=void 0,sa=(()=>{class i{get(o,e){let n=Ld();return n?n.get(o,e):null}getBoolean(o,e){let n=Ld();return n?n.getBoolean(o,e):!1}getNumber(o,e){let n=Ld();return n?n.getNumber(o,e):0}static \u0275fac=function(e){return new(e||i)};static \u0275prov=J({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),la=new se("USERCONFIG"),Ld=()=>{if(typeof window<"u"){let i=window.Ionic;if(i?.config)return i.config}return null},aa=class{data;constructor(t={}){this.data=t,console.warn("[Ionic Warning]: NavParams has been deprecated in favor of using Angular's input API. Developers should migrate to either the @Input decorator or the Signals-based input API.")}get(t){return this.data[t]}},en=(()=>{class i{zone=w(M);applicationRef=w(pn);config=w(la);create(o,e,n){return new Vd(o,e,this.applicationRef,this.zone,n,this.config.useSetInputAPI??!1)}static \u0275fac=function(e){return new(e||i)};static \u0275prov=J({token:i,factory:i.\u0275fac})}return i})(),Vd=class{environmentInjector;injector;applicationRef;zone;elementReferenceKey;enableSignalsSupport;elRefMap=new WeakMap;elEventsMap=new WeakMap;constructor(t,o,e,n,r,a){this.environmentInjector=t,this.injector=o,this.applicationRef=e,this.zone=n,this.elementReferenceKey=r,this.enableSignalsSupport=a}attachViewToDom(t,o,e,n){return this.zone.run(()=>new Promise(r=>{let a=G({},e);this.elementReferenceKey!==void 0&&(a[this.elementReferenceKey]=t);let s=$5(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,t,o,a,n,this.elementReferenceKey,this.enableSignalsSupport);r(s)}))}removeViewFromDom(t,o){return this.zone.run(()=>new Promise(e=>{let n=this.elRefMap.get(o);if(n){n.destroy(),this.elRefMap.delete(o);let r=this.elEventsMap.get(o);r&&(r(),this.elEventsMap.delete(o))}e()}))}},$5=(i,t,o,e,n,r,a,s,l,d,u,f)=>{let g=qe.create({providers:W5(l),parent:o}),_=Va(s,{environmentInjector:t,elementInjector:g}),D=_.instance,E=_.location.nativeElement;if(l)if(u&&D[u]!==void 0&&console.error(`[Ionic Error]: ${u} is a reserved property when using ${a.tagName.toLowerCase()}. Rename or remove the "${u}" property from ${s.name}.`),f===!0&&_.setInput!==void 0){let T=l,{modal:L,popover:B}=T,Q=vh(T,["modal","popover"]);for(let pe in Q)_.setInput(pe,Q[pe]);L!==void 0&&Object.assign(D,{modal:L}),B!==void 0&&Object.assign(D,{popover:B})}else Object.assign(D,l);if(d)for(let L of d)E.classList.add(L);let A=A0(i,D,E);return a.appendChild(E),e.attachView(_.hostView),n.set(E,_),r.set(E,A),E},U5=[tc,ic,nc,oc,rc],A0=(i,t,o)=>i.run(()=>{let e=U5.filter(n=>typeof t[n]=="function").map(n=>{let r=a=>t[n](a.detail);return o.addEventListener(n,r),()=>o.removeEventListener(n,r)});return()=>e.forEach(n=>n())}),F0=new se("NavParamsToken"),W5=i=>[{provide:F0,useValue:i},{provide:aa,useFactory:G5,deps:[F0]}],G5=i=>new aa(i),Z5=(i,t)=>{let o=i.prototype;t.forEach(e=>{Object.defineProperty(o,e,{get(){return this.el[e]},set(n){this.z.runOutsideAngular(()=>this.el[e]=n)}})})},q5=(i,t)=>{let o=i.prototype;t.forEach(e=>{o[e]=function(){let n=arguments;return this.z.runOutsideAngular(()=>this.el[e].apply(this.el,n))}})},Gd=(i,t,o)=>{o.forEach(e=>i[e]=Wi(t,e))};function ca(i){return function(o){let{defineCustomElementFn:e,inputs:n,methods:r}=i;return e!==void 0&&e(),n&&Z5(o,n),r&&q5(o,r),o}}var Y5=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","focusTrap","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],X5=["present","dismiss","onDidDismiss","onWillDismiss"],Zd=(()=>{let i=class Nd{z;template;isCmpOpen=!1;el;constructor(o,e,n){this.z=n,this.el=e.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,o.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,o.detectChanges()}),Gd(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}static \u0275fac=function(e){return new(e||Nd)(c(V),c(S),c(M))};static \u0275dir=re({type:Nd,selectors:[["ion-popover"]],contentQueries:function(e,n,r){if(e&1&&Ge(r,vi,5),e&2){let a;ne(a=oe())&&(n.template=a.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",focusTrap:"focusTrap",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"}})};return i=Y([ca({inputs:Y5,methods:X5})],i),i})(),Q5=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","focusTrap","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],K5=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"],qd=(()=>{let i=class Bd{z;template;isCmpOpen=!1;el;constructor(o,e,n){this.z=n,this.el=e.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,o.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,o.detectChanges()}),Gd(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}static \u0275fac=function(e){return new(e||Bd)(c(V),c(S),c(M))};static \u0275dir=re({type:Bd,selectors:[["ion-modal"]],contentQueries:function(e,n,r){if(e&1&&Ge(r,vi,5),e&2){let a;ne(a=oe())&&(n.template=a.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",focusTrap:"focusTrap",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"}})};return i=Y([ca({inputs:Q5,methods:K5})],i),i})(),J5=(i,t,o)=>o==="root"?R0(i,t):o==="forward"?ew(i,t):tw(i,t),R0=(i,t)=>(i=i.filter(o=>o.stackId!==t.stackId),i.push(t),i),ew=(i,t)=>(i.indexOf(t)>=0?i=i.filter(e=>e.stackId!==t.stackId||e.id<=t.id):i.push(t),i),tw=(i,t)=>i.indexOf(t)>=0?i.filter(e=>e.stackId!==t.stackId||e.id<=t.id):R0(i,t),zd=(i,t)=>{let o=i.createUrlTree(["."],{relativeTo:t});return i.serializeUrl(o)},L0=(i,t)=>t?i.stackId!==t.stackId:!0,iw=(i,t)=>{if(!i)return;let o=j0(t);for(let e=0;e<o.length;e++){if(e>=i.length)return o[e];if(o[e]!==i[e])return}},j0=i=>i.split("/").map(t=>t.trim()).filter(t=>t!==""),V0=i=>{i&&(i.ref.destroy(),i.unlistenEvents())},Hd=class{containerEl;router;navCtrl;zone;location;views=[];runningTask;skipTransition=!1;tabsPrefix;activeView;nextId=0;constructor(t,o,e,n,r,a){this.containerEl=o,this.router=e,this.navCtrl=n,this.zone=r,this.location=a,this.tabsPrefix=t!==void 0?j0(t):void 0}createView(t,o){let e=zd(this.router,o),n=t?.location?.nativeElement,r=A0(this.zone,t.instance,n);return{id:this.nextId++,stackId:iw(this.tabsPrefix,e),unlistenEvents:r,element:n,ref:t,url:e}}getExistingView(t){let o=zd(this.router,t),e=this.views.find(n=>n.url===o);return e&&e.ref.changeDetectorRef.reattach(),e}setActive(t){let o=this.navCtrl.consumeTransition(),{direction:e,animation:n,animationBuilder:r}=o,a=this.activeView,s=L0(t,a);s&&(e="back",n=void 0);let l=this.views.slice(),d,u=this.router;u.getCurrentNavigation?d=u.getCurrentNavigation():u.navigations?.value&&(d=u.navigations.value),d?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);let f=this.views.includes(t),g=this.insertView(t,e);f||t.ref.changeDetectorRef.detectChanges();let _=t.animationBuilder;return r===void 0&&e==="back"&&!s&&_!==void 0&&(r=_),a&&(a.animationBuilder=r),this.zone.runOutsideAngular(()=>this.wait(()=>(a&&a.ref.changeDetectorRef.detach(),t.ref.changeDetectorRef.reattach(),this.transition(t,a,n,this.canGoBack(1),!1,r).then(()=>nw(t,g,l,this.location,this.zone)).then(()=>({enteringView:t,direction:e,animation:n,tabSwitch:s})))))}canGoBack(t,o=this.getActiveStackId()){return this.getStack(o).length>t}pop(t,o=this.getActiveStackId()){return this.zone.run(()=>{let e=this.getStack(o);if(e.length<=t)return Promise.resolve(!1);let n=e[e.length-t-1],r=n.url,a=n.savedData;if(a){let l=a.get("primary");l?.route?._routerState?.snapshot.url&&(r=l.route._routerState.snapshot.url)}let{animationBuilder:s}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(r,Ne(G({},n.savedExtras),{animation:s})).then(()=>!0)})}startBackTransition(){let t=this.activeView;if(t){let o=this.getStack(t.stackId),e=o[o.length-2],n=e.animationBuilder;return this.wait(()=>this.transition(e,t,"back",this.canGoBack(2),!0,n))}return Promise.resolve()}endBackTransition(t){t?(this.skipTransition=!0,this.pop(1)):this.activeView&&N0(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(t){let o=this.getStack(t);return o.length>0?o[o.length-1]:void 0}getRootUrl(t){let o=this.getStack(t);return o.length>0?o[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return this.runningTask!==void 0}destroy(){this.containerEl=void 0,this.views.forEach(V0),this.activeView=void 0,this.views=[]}getStack(t){return this.views.filter(o=>o.stackId===t)}insertView(t,o){return this.activeView=t,this.views=J5(this.views,t,o),this.views.slice()}transition(t,o,e,n,r,a){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(o===t)return Promise.resolve(!1);let s=t?t.element:void 0,l=o?o.element:void 0,d=this.containerEl;return s&&s!==l&&(s.classList.add("ion-page"),s.classList.add("ion-page-invisible"),d.commit)?d.commit(s,l,{duration:e===void 0?0:void 0,direction:e,showGoBack:n,progressAnimation:r,animationBuilder:a}):Promise.resolve(!1)}wait(t){return Ae(this,null,function*(){this.runningTask!==void 0&&(yield this.runningTask,this.runningTask=void 0);let o=this.runningTask=t();return o.finally(()=>this.runningTask=void 0),o})}},nw=(i,t,o,e,n)=>typeof requestAnimationFrame=="function"?new Promise(r=>{requestAnimationFrame(()=>{N0(i,t,o,e,n),r()})}):Promise.resolve(),N0=(i,t,o,e,n)=>{n.run(()=>o.filter(r=>!t.includes(r)).forEach(V0)),t.forEach(r=>{let s=e.path().split("?")[0].split("#")[0];if(r!==i&&r.url!==s){let l=r.element;l.setAttribute("aria-hidden","true"),l.classList.add("ion-page-hidden"),r.ref.changeDetectorRef.detach()}})},tl=(()=>{class i{parentOutlet;nativeEl;activatedView=null;tabsPrefix;_swipeGesture;stackCtrl;proxyMap=new WeakMap;currentActivatedRoute$=new Tt(null);activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Pe;stackWillChange=new I;stackDidChange=new I;activateEvents=new I;deactivateEvents=new I;parentContexts=w(Gn);location=w(li);environmentInjector=w(Ot);inputBinder=w(B0,{optional:!0});supportsBindingToComponentInputs=!0;config=w(sa);navCtrl=w(Tn);set animation(o){this.nativeEl.animation=o}set animated(o){this.nativeEl.animated=o}set swipeGesture(o){this._swipeGesture=o,this.nativeEl.swipeHandler=o?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:e=>this.stackCtrl.endBackTransition(e)}:void 0}constructor(o,e,n,r,a,s,l,d){this.parentOutlet=d,this.nativeEl=r.nativeElement,this.name=o||Pe,this.tabsPrefix=e==="true"?zd(a,l):void 0,this.stackCtrl=new Hd(this.tabsPrefix,this.nativeEl,a,this.navCtrl,s,n),this.parentContexts.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.stackCtrl.destroy(),this.inputBinder?.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){let o=this.getContext();o?.route&&this.activateWith(o.route,o.injector)}new Promise(o=>vn(this.nativeEl,o)).then(()=>{this._swipeGesture===void 0&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled",this.nativeEl.mode==="ios"))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(o,e){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){let e=this.getContext();this.activatedView.savedData=new Map(e.children.contexts);let n=this.activatedView.savedData.get("primary");if(n&&e.route&&(n.route=G({},e.route)),this.activatedView.savedExtras={},e.route){let r=e.route.snapshot;this.activatedView.savedExtras.queryParams=r.queryParams,this.activatedView.savedExtras.fragment=r.fragment}}let o=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(o)}}activateWith(o,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=o;let n,r=this.stackCtrl.getExistingView(o);if(r){n=this.activated=r.ref;let s=r.savedData;if(s){let l=this.getContext();l.children.contexts=s}this.updateActivatedRouteProxy(n.instance,o)}else{let s=o._futureSnapshot,l=this.parentContexts.getOrCreateContext(this.name).children,d=new Tt(null),u=this.createActivatedRouteProxy(d,o),f=new $d(u,l,this.location.injector),g=s.routeConfig.component??s.component;n=this.activated=this.outletContent.createComponent(g,{index:this.outletContent.length,injector:f,environmentInjector:e??this.environmentInjector}),d.next(n.instance),r=this.stackCtrl.createView(this.activated,o),this.proxyMap.set(n.instance,u),this.currentActivatedRoute$.next({component:n.instance,activatedRoute:o})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=r,this.navCtrl.setTopOutlet(this);let a=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:r,tabSwitch:L0(r,a)}),this.stackCtrl.setActive(r).then(s=>{this.activateEvents.emit(n.instance),this.stackDidChange.emit(s)})}canGoBack(o=1,e){return this.stackCtrl.canGoBack(o,e)}pop(o=1,e){return this.stackCtrl.pop(o,e)}getLastUrl(o){let e=this.stackCtrl.getLastUrl(o);return e?e.url:void 0}getLastRouteView(o){return this.stackCtrl.getLastUrl(o)}getRootView(o){return this.stackCtrl.getRootUrl(o)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(o,e){let n=new it;return n._futureSnapshot=e._futureSnapshot,n._routerState=e._routerState,n.snapshot=e.snapshot,n.outlet=e.outlet,n.component=e.component,n._paramMap=this.proxyObservable(o,"paramMap"),n._queryParamMap=this.proxyObservable(o,"queryParamMap"),n.url=this.proxyObservable(o,"url"),n.params=this.proxyObservable(o,"params"),n.queryParams=this.proxyObservable(o,"queryParams"),n.fragment=this.proxyObservable(o,"fragment"),n.data=this.proxyObservable(o,"data"),n}proxyObservable(o,e){return o.pipe(Ue(n=>!!n),wt(n=>this.currentActivatedRoute$.pipe(Ue(r=>r!==null&&r.component===n),wt(r=>r&&r.activatedRoute[e]),Oi())))}updateActivatedRouteProxy(o,e){let n=this.proxyMap.get(o);if(!n)throw new Error("Could not find activated route proxy for view");n._futureSnapshot=e._futureSnapshot,n._routerState=e._routerState,n.snapshot=e.snapshot,n.outlet=e.outlet,n.component=e.component,this.currentActivatedRoute$.next({component:o,activatedRoute:e})}static \u0275fac=function(e){return new(e||i)(Et("name"),Et("tabs"),c(ni),c(S),c(je),c(M),c(it),c(i,12))};static \u0275dir=re({type:i,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]})}return i})(),$d=class{route;childContexts;parent;constructor(t,o,e){this.route=t,this.childContexts=o,this.parent=e}get(t,o){return t===it?this.route:t===Gn?this.childContexts:this.parent.get(t,o)}},B0=new se(""),ow=(()=>{class i{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(o){this.unsubscribeFromRouteData(o),this.subscribeToRouteData(o)}unsubscribeFromRouteData(o){this.outletDataSubscriptions.get(o)?.unsubscribe(),this.outletDataSubscriptions.delete(o)}subscribeToRouteData(o){let{activatedRoute:e}=o,n=sn([e.queryParams,e.params,e.data]).pipe(wt(([r,a,s],l)=>(s=G(G(G({},r),a),s),l===0?me(s):Promise.resolve(s)))).subscribe(r=>{if(!o.isActivated||!o.activatedComponentRef||o.activatedRoute!==e||e.component===null){this.unsubscribeFromRouteData(o);return}let a=Na(e.component);if(!a){this.unsubscribeFromRouteData(o);return}for(let{templateName:s}of a.inputs)o.activatedComponentRef.setInput(s,r[s])});this.outletDataSubscriptions.set(o,n)}static \u0275fac=function(e){return new(e||i)};static \u0275prov=J({token:i,factory:i.\u0275fac})}return i})(),Yd=()=>({provide:B0,useFactory:rw,deps:[je]});function rw(i){return i?.componentInputBindingEnabled?new ow:null}var aw=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"],Xd=(()=>{let i=class Ud{routerOutlet;navCtrl;config;r;z;el;constructor(o,e,n,r,a,s){this.routerOutlet=o,this.navCtrl=e,this.config=n,this.r=r,this.z=a,s.detach(),this.el=this.r.nativeElement}onClick(o){let e=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet?.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),o.preventDefault()):e!=null&&(this.navCtrl.navigateBack(e,{animation:this.routerAnimation}),o.preventDefault())}static \u0275fac=function(e){return new(e||Ud)(c(tl,8),c(Tn),c(sa),c(S),c(M),c(V))};static \u0275dir=re({type:Ud,hostBindings:function(e,n){e&1&&P("click",function(a){return n.onClick(a)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}})};return i=Y([ca({inputs:aw})],i),i})(),Qd=(()=>{class i{locationStrategy;navCtrl;elementRef;router;routerLink;routerDirection="forward";routerAnimation;constructor(o,e,n,r,a){this.locationStrategy=o,this.navCtrl=e,this.elementRef=n,this.router=r,this.routerLink=a}ngOnInit(){this.updateTargetUrlAndHref(),this.updateTabindex()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTabindex(){let o=["ION-BACK-BUTTON","ION-BREADCRUMB","ION-BUTTON","ION-CARD","ION-FAB-BUTTON","ION-ITEM","ION-ITEM-OPTION","ION-MENU-BUTTON","ION-SEGMENT-BUTTON","ION-TAB-BUTTON"],e=this.elementRef.nativeElement;o.includes(e.tagName)&&e.getAttribute("tabindex")==="0"&&e.removeAttribute("tabindex")}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){let o=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=o}}onClick(o){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),o.preventDefault()}static \u0275fac=function(e){return new(e||i)(c(_o),c(Tn),c(S),c(je),c(qc,8))};static \u0275dir=re({type:i,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,n){e&1&&P("click",function(a){return n.onClick(a)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[rt]})}return i})(),Kd=(()=>{class i{locationStrategy;navCtrl;elementRef;router;routerLink;routerDirection="forward";routerAnimation;constructor(o,e,n,r,a){this.locationStrategy=o,this.navCtrl=e,this.elementRef=n,this.router=r,this.routerLink=a}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){let o=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=o}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}static \u0275fac=function(e){return new(e||i)(c(_o),c(Tn),c(S),c(je),c(qc,8))};static \u0275dir=re({type:i,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(e,n){e&1&&P("click",function(){return n.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[rt]})}return i})(),sw=["animated","animation","root","rootParams","swipeGesture"],lw=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"],Jd=(()=>{let i=class Wd{z;el;constructor(o,e,n,r,a,s){this.z=a,s.detach(),this.el=o.nativeElement,o.nativeElement.delegate=r.create(e,n),Gd(this,this.el,["ionNavDidChange","ionNavWillChange"])}static \u0275fac=function(e){return new(e||Wd)(c(S),c(Ot),c(qe),c(en),c(M),c(V))};static \u0275dir=re({type:Wd,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}})};return i=Y([ca({inputs:sw,methods:lw})],i),i})(),eu=(()=>{class i{navCtrl;tabsInner;ionTabsWillChange=new I;ionTabsDidChange=new I;tabBarSlot="bottom";constructor(o){this.navCtrl=o}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:o,tabSwitch:e}){let n=o.stackId;e&&n!==void 0&&this.ionTabsWillChange.emit({tab:n})}onStackDidChange({enteringView:o,tabSwitch:e}){let n=o.stackId;e&&n!==void 0&&(this.tabBar&&(this.tabBar.selectedTab=n),this.ionTabsDidChange.emit({tab:n}))}select(o){let e=typeof o=="string",n=e?o:o.detail.tab,r=this.outlet.getActiveStackId()===n,a=`${this.outlet.tabsPrefix}/${n}`;if(e||o.stopPropagation(),r){let s=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(s)?.url===a)return;let d=this.outlet.getRootView(n),u=d&&a===d.url&&d.savedExtras;return this.navCtrl.navigateRoot(a,Ne(G({},u),{animated:!0,animationDirection:"back"}))}else{let s=this.outlet.getLastRouteView(n),l=s?.url||a,d=s?.savedExtras;return this.navCtrl.navigateRoot(l,Ne(G({},d),{animated:!0,animationDirection:"back"}))}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(o=>{let e=o.el.getAttribute("slot");e!==this.tabBarSlot&&(this.tabBarSlot=e,this.relocateTabBar())})}relocateTabBar(){let o=this.tabBar.el;this.tabBarSlot==="top"?this.tabsInner.nativeElement.before(o):this.tabsInner.nativeElement.after(o)}static \u0275fac=function(e){return new(e||i)(c(Tn))};static \u0275dir=re({type:i,selectors:[["ion-tabs"]],viewQuery:function(e,n){if(e&1&&xe(B5,7,S),e&2){let r;ne(r=oe())&&(n.tabsInner=r.first)}},hostBindings:function(e,n){e&1&&P("ionTabButtonClick",function(a){return n.select(a)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}})}return i})(),z0=i=>typeof __zone_symbol__requestAnimationFrame=="function"?__zone_symbol__requestAnimationFrame(i):typeof requestAnimationFrame=="function"?requestAnimationFrame(i):setTimeout(i),Jo=(()=>{class i{injector;elementRef;onChange=()=>{};onTouched=()=>{};lastValue;statusChanges;constructor(o,e){this.injector=o,this.elementRef=e}writeValue(o){this.elementRef.nativeElement.value=this.lastValue=o,Dn(this.elementRef)}handleValueChange(o,e){o===this.elementRef.nativeElement&&(e!==this.lastValue&&(this.lastValue=e,this.onChange(e)),Dn(this.elementRef))}_handleBlurEvent(o){o===this.elementRef.nativeElement&&(this.onTouched(),Dn(this.elementRef))}registerOnChange(o){this.onChange=o}registerOnTouched(o){this.onTouched=o}setDisabledState(o){this.elementRef.nativeElement.disabled=o}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let o;try{o=this.injector.get(Ii)}catch{}if(!o)return;o.statusChanges&&(this.statusChanges=o.statusChanges.subscribe(()=>Dn(this.elementRef)));let e=o.control;e&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(r=>{if(typeof e[r]<"u"){let a=e[r].bind(e);e[r]=(...s)=>{a(...s),Dn(this.elementRef)}}})}static \u0275fac=function(e){return new(e||i)(c(qe),c(S))};static \u0275dir=re({type:i,hostBindings:function(e,n){e&1&&P("ionBlur",function(a){return n._handleBlurEvent(a.target)})}})}return i})(),Dn=i=>{z0(()=>{let t=i.nativeElement,o=t.value!=null&&t.value.toString().length>0,e=cw(t);jd(t,e);let n=t.closest("ion-item");n&&(o?jd(n,[...e,"item-has-value"]):jd(n,e))})},cw=i=>{let t=i.classList,o=[];for(let e=0;e<t.length;e++){let n=t.item(e);n!==null&&dw(n,"ng-")&&o.push(`ion-${n.substring(3)}`)}return o},jd=(i,t)=>{let o=i.classList;o.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),o.add(...t)},dw=(i,t)=>i.substring(0,t.length)===t;var Ko=class{ctrl;constructor(t){this.ctrl=t}create(t){return this.ctrl.create(t||{})}dismiss(t,o,e){return this.ctrl.dismiss(t,o,e)}getTop(){return this.ctrl.getTop()}};var uw=()=>[$e,Go,Mn,In,zo,Xn,Ht];function mw(i,t){i&1&&(m(0,"span",7),y(1),F(2,"translate"),p()),i&2&&(h(),Z($(2,1,"shortcode.error")))}function pw(i,t){if(i&1){let o=_e();m(0,"div",0)(1,"div",1),b(2,"img",2),m(3,"span"),y(4),F(5,"translate"),p(),m(6,"mat-form-field",3)(7,"input",4),Ci("ngModelChange",function(n){de(o);let r=C();return ci(r.slugname,n)||(r.slugname=n),ue(n)}),p(),O(8,mw,3,3,"span",5),p(),m(9,"button",6),P("click",function(){de(o);let n=C();return ue(n.submit())}),y(10),F(11,"translate"),p()()()}if(i&2){let o=C();h(4),Z($(5,4,"shortcode.title")),h(3),_i("ngModel",o.slugname),h(),H(8,o.error?8:-1),h(2),Z($(11,6,"shortcode.action"))}}function hw(i,t){i&1&&b(0,"mat-spinner")}var $0=(()=>{let t=class t{constructor(e,n,r){this.router=e,this.route=n,this.platform=r,this.api=w(Ye),this.uuid="",this.slugname="",this.error=!1,this.showContent=!1}ngOnInit(){this.platform.is("hybrid")?this.getSavedSlugname().then(e=>{e.value?(this.slugname=e.value,this.submit()):this.showContent=!0}):this.showContent=!0}submit(){this.error=!1,this.api.setUuid(this.slugname),this.api.getMenu().subscribe(e=>{this.platform.is("hybrid")&&Pd.set({key:"slugname",value:this.slugname}),this.router.navigate(["../"+this.slugname],{relativeTo:this.route})},e=>{this.error=!0})}getSavedSlugname(){return Ae(this,null,function*(){return Pd.get({key:"slugname"})})}};t.\u0275fac=function(n){return new(n||t)(c(je),c(it),c(kn))},t.\u0275cmp=v({type:t,selectors:[["app-shortcode"]],standalone:!0,features:[x],decls:4,vars:1,consts:[["id","shortcode"],[1,"container"],["src","assets/images/logo-white.png"],["appearance","outline"],["matInput","","type","text","autocapitalize","off",3,"ngModel","ngModelChange"],["class","shortcode-error"],["mat-flat-button","","color","accent",3,"click"],[1,"shortcode-error"]],template:function(n,r){n&1&&(O(0,pw,12,8)(1,hw,1,0),ht(2,0,uw,null,1)),n&2&&(h(2),ft(r.showContent))},dependencies:[Re,Zo,Ho,at,y0,C0],styles:["#shortcode[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:100vh;width:100vw;overflow:hidden}#shortcode[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;color:#fff;max-width:500px;gap:40px}#shortcode[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:80%}#shortcode[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:360px;background-color:#7676803d;border-radius:10px;position:relative}#shortcode[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-input-element, #shortcode[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-input-element::placeholder{color:#fff;text-align:center}#shortcode[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-wrapper{padding-bottom:0!important;margin:0!important}#shortcode[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-flex{color:#fff}#shortcode[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-prefix{top:.4em}#shortcode[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-infix{font-size:20px;font-weight:400;padding:10px 0;min-height:auto}#shortcode[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-appearance-outline .mat-mdc-form-field-outline-start{border:none!important}#shortcode[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-appearance-outline .mat-mdc-form-field-outline-end{border:none!important}#shortcode[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-subscript-wrapper{display:none}#shortcode[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mdc-notched-outline__leading, #shortcode[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mdc-notched-outline__notch, #shortcode[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mdc-notched-outline__trailing{border:none}#shortcode[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]   .shortcode-error[_ngcontent-%COMP%]{color:#c03d29;position:absolute;left:50%;transform:translate(-50%);bottom:-24px;width:100%;text-align:center;font-size:14px}.mat-mdc-progress-spinner[_ngcontent-%COMP%]{width:50px!important;height:50px!important;--mdc-circular-progress-size: 50px !important;--mdc-circular-progress-active-indicator-width: 50px !important;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@media (max-width: 600px){.container[_ngcontent-%COMP%]{max-width:90vw!important}}"]});let i=t;return i})();var Xe=(()=>{let t=class t{constructor(){this.uuid=be(""),this.api=w(Ye)}setUuid(e){this.uuid.update(()=>e)}getUuid(){return this.uuid()}saveData(e,n){localStorage.setItem(this.uuid()+"_"+e,n)}getData(e){return localStorage.getItem(this.uuid()+"_"+e)}removeData(e){localStorage.removeItem(this.uuid()+"_"+e)}clearData(){localStorage.clear()}setDataWithExpiration(e,n,r,a){let s=new Date,l=0;r?l=r*24*60*60*1e3:a&&(l=a*60*1e3);let d={value:n,expiry:s.getTime()+l};localStorage.setItem(this.uuid()+"_"+e,JSON.stringify(d))}getDataWithExpiration(e){let n=localStorage.getItem(this.uuid()+"_"+e);if(!n)return null;let r=JSON.parse(n);return new Date().getTime()>r.expiry?(this.removeData(this.uuid()+"_"+e),null):r.value}setFilters(){let e=this.getData("selectedFilters");e&&this.api.setSelectedFilters(JSON.parse(e))}manageFavorites(e){let n=this.getData("favorites"),r=n?JSON.parse(n):{},a=this.getData("selectedFilters"),s=JSON.parse(a??"").category[0].uuid,l=r[s];if(l){let d=l.findIndex(u=>u.uuid==e.uuid);d!=-1?l.splice(d,1):l.push(e)}else r[s]=[e];this.saveData("favorites",JSON.stringify(r)),this.updateSpiritsFavorites(e)}updateSpiritsFavorites(e){let n=this.getDataWithExpiration("spirits");if(n){let r=JSON.parse(n),a=r.find(s=>s.uuid==e.uuid);a&&(a.fav=e.fav,this.setDataWithExpiration("spirits",JSON.stringify(r),0,1))}}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var da=(()=>{let t=class t{constructor(e){this.router=e,this.api=w(Ye),this.local=w(Xe)}resolve(e){let n=e.params.uuid;return this.local.setUuid(n),this.api.setUuid(n),this.api.setCountries(),this.local.setFilters(),me(n)}};t.\u0275fac=function(n){return new(n||t)(j(je))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var fw=["*"],il;function gw(){if(il===void 0&&(il=null,typeof window<"u")){let i=window;i.trustedTypes!==void 0&&(il=i.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return il}function ua(i){return gw()?.createHTML(i)||i}function U0(i){return Error(`Unable to find icon with the name "${i}"`)}function vw(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function W0(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function G0(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}var tn=class{constructor(t,o,e){this.url=t,this.svgText=o,this.options=e}},bw=(()=>{let t=class t{constructor(e,n,r,a){this._httpClient=e,this._sanitizer=n,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,n,r){return this.addSvgIconInNamespace("",e,n,r)}addSvgIconLiteral(e,n,r){return this.addSvgIconLiteralInNamespace("",e,n,r)}addSvgIconInNamespace(e,n,r,a){return this._addSvgIconConfig(e,n,new tn(r,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,n,r,a){let s=this._sanitizer.sanitize(go.HTML,r);if(!s)throw G0(r);let l=ua(s);return this._addSvgIconConfig(e,n,new tn("",l,a))}addSvgIconSet(e,n){return this.addSvgIconSetInNamespace("",e,n)}addSvgIconSetLiteral(e,n){return this.addSvgIconSetLiteralInNamespace("",e,n)}addSvgIconSetInNamespace(e,n,r){return this._addSvgIconSetConfig(e,new tn(n,null,r))}addSvgIconSetLiteralInNamespace(e,n,r){let a=this._sanitizer.sanitize(go.HTML,n);if(!a)throw G0(n);let s=ua(a);return this._addSvgIconSetConfig(e,new tn("",s,r))}registerFontClassAlias(e,n=e){return this._fontCssClassesByAlias.set(e,n),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let n=this._sanitizer.sanitize(go.RESOURCE_URL,e);if(!n)throw W0(e);let r=this._cachedIconsByUrl.get(n);return r?me(nl(r)):this._loadSvgIconFromConfig(new tn(e,null)).pipe(ot(a=>this._cachedIconsByUrl.set(n,a)),Me(a=>nl(a)))}getNamedSvgIcon(e,n=""){let r=Z0(n,e),a=this._svgIconConfigs.get(r);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(n,e),a)return this._svgIconConfigs.set(r,a),this._getSvgFromConfig(a);let s=this._iconSetConfigs.get(n);return s?this._getSvgFromIconSetConfigs(e,s):Vn(U0(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?me(nl(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Me(n=>nl(n)))}_getSvgFromIconSetConfigs(e,n){let r=this._extractIconWithNameFromAnySet(e,n);if(r)return me(r);let a=n.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(Ti(l=>{let u=`Loading icon set URL: ${this._sanitizer.sanitize(go.RESOURCE_URL,s.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(u)),me(null)})));return po(a).pipe(Me(()=>{let s=this._extractIconWithNameFromAnySet(e,n);if(!s)throw U0(e);return s}))}_extractIconWithNameFromAnySet(e,n){for(let r=n.length-1;r>=0;r--){let a=n[r];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(a),l=this._extractSvgIconFromSet(s,e,a.options);if(l)return l}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(ot(n=>e.svgText=n),Me(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?me(null):this._fetchIcon(e).pipe(ot(n=>e.svgText=n))}_extractSvgIconFromSet(e,n,r){let a=e.querySelector(`[id="${n}"]`);if(!a)return null;let s=a.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,r);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),r);let l=this._svgElementFromString(ua("<svg></svg>"));return l.appendChild(s),this._setSvgAttributes(l,r)}_svgElementFromString(e){let n=this._document.createElement("DIV");n.innerHTML=e;let r=n.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){let n=this._svgElementFromString(ua("<svg></svg>")),r=e.attributes;for(let a=0;a<r.length;a++){let{name:s,value:l}=r[a];s!=="id"&&n.setAttribute(s,l)}for(let a=0;a<e.childNodes.length;a++)e.childNodes[a].nodeType===this._document.ELEMENT_NODE&&n.appendChild(e.childNodes[a].cloneNode(!0));return n}_setSvgAttributes(e,n){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),n&&n.viewBox&&e.setAttribute("viewBox",n.viewBox),e}_fetchIcon(e){let{url:n,options:r}=e,a=r?.withCredentials??!1;if(!this._httpClient)throw vw();if(n==null)throw Error(`Cannot fetch icon from URL "${n}".`);let s=this._sanitizer.sanitize(go.RESOURCE_URL,n);if(!s)throw W0(n);let l=this._inProgressUrlFetches.get(s);if(l)return l;let d=this._httpClient.get(s,{responseType:"text",withCredentials:a}).pipe(Me(u=>ua(u)),ho(()=>this._inProgressUrlFetches.delete(s)),wh());return this._inProgressUrlFetches.set(s,d),d}_addSvgIconConfig(e,n,r){return this._svgIconConfigs.set(Z0(e,n),r),this}_addSvgIconSetConfig(e,n){let r=this._iconSetConfigs.get(e);return r?r.push(n):this._iconSetConfigs.set(e,[n]),this}_svgElementFromConfig(e){if(!e.svgElement){let n=this._svgElementFromString(e.svgText);this._setSvgAttributes(n,e.options),e.svgElement=n}return e.svgElement}_getIconConfigFromResolvers(e,n){for(let r=0;r<this._resolvers.length;r++){let a=this._resolvers[r](n,e);if(a)return _w(a)?new tn(a.url,null,a.options):new tn(a,null)}}};t.\u0275fac=function(n){return new(n||t)(j(yo,8),j(of),j(Ee,8),j(Aa))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();function nl(i){return i.cloneNode(!0)}function Z0(i,t){return i+":"+t}function _w(i){return!!(i.url&&i.options)}var Cw=new se("MAT_ICON_DEFAULT_OPTIONS"),yw=new se("mat-icon-location",{providedIn:"root",factory:xw});function xw(){let i=w(Ee),t=i?i.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var q0=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ww=q0.map(i=>`[${i}]`).join(", "),Iw=/^url\(['"]?#(.*?)['"]?\)$/,st=(()=>{let t=class t{get color(){return this._color||this._defaultColor}set color(e){this._color=e}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){let n=this._cleanupFontValue(e);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let n=this._cleanupFontValue(e);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}constructor(e,n,r,a,s,l){this._elementRef=e,this._iconRegistry=n,this._location=a,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Rt.EMPTY,l&&(l.color&&(this.color=this._defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let n=e.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,n=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){let r=e.childNodes[n];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),n.forEach(r=>e.classList.add(r)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let n=this._elementsWithExternalReferences;n&&n.forEach((r,a)=>{r.forEach(s=>{a.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let n=e.querySelectorAll(ww),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a<n.length;a++)q0.forEach(s=>{let l=n[a],d=l.getAttribute(s),u=d?d.match(Iw):null;if(u){let f=r.get(l);f||(f=[],r.set(l,f)),f.push({name:s,value:u[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[n,r]=this._splitIconName(e);n&&(this._svgNamespace=n),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,n).pipe(lt(1)).subscribe(a=>this._setSvgElement(a),a=>{let s=`Error retrieving icon ${n}:${r}! ${a.message}`;this._errorHandler.handleError(new Error(s))})}}};t.\u0275fac=function(n){return new(n||t)(c(S),c(bw),Et("aria-hidden"),c(yw),c(Aa),c(Cw,8))},t.\u0275cmp=v({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,r){n&2&&(Ie("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),ii(r.color?"mat-"+r.color:""),ee("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[z.HasDecoratorInputTransform,"inline","inline",De],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[ct,x],ngContentSelectors:fw,decls:1,vars:0,template:function(n,r){n&1&&(W(),R(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let i=t;return i})(),nt=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({imports:[ze,ze]});let i=t;return i})();var ol=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(t=!1,o,e=!0,n){this._multiple=t,this._emitChanges=e,this.compareWith=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new ce,o&&o.length&&(t?o.forEach(r=>this._markSelected(r)):this._markSelected(o[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(e=>this._markSelected(e));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}deselect(...t){this._verifyValueAssignment(t),t.forEach(e=>this._unmarkSelected(e));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}setSelection(...t){this._verifyValueAssignment(t);let o=this.selected,e=new Set(t);t.forEach(r=>this._markSelected(r)),o.filter(r=>!e.has(this._getConcreteValue(r,e))).forEach(r=>this._unmarkSelected(r));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();let o=this._hasQueuedChanges();return t&&this._emitChangeEvent(),o}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){t.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(t,o){if(this.compareWith){o=o??this._selection;for(let e of o)if(this.compareWith(t,e))return e;return t}else return t}};var Sw=20,Y0=(()=>{let t=class t{constructor(e,n,r){this._ngZone=e,this._platform=n,this._scrolled=new ce,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let n=this.scrollContainers.get(e);n&&(n.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Sw){return this._platform.isBrowser?new jn(n=>{this._globalSubscription||this._addGlobalListener();let r=e>0?this._scrolled.pipe(Hl(e)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):me()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(e,n){let r=this.getAncestorScrollContainers(e);return this.scrolled(n).pipe(Ue(a=>!a||r.indexOf(a)>-1))}getAncestorScrollContainers(e){let n=[];return this.scrollContainers.forEach((r,a)=>{this._scrollableContainsElement(a,e)&&n.push(a)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,n){let r=pi(n),a=e.getElementRef().nativeElement;do if(r==a)return!0;while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Wi(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};t.\u0275fac=function(n){return new(n||t)(j(M),j(Ke),j(Ee,8))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var Ew=20,ma=(()=>{let t=class t{constructor(e,n,r){this._platform=e,this._change=new ce,this._changeListener=a=>{this._change.next(a)},this._document=r,n.runOutsideAngular(()=>{if(e.isBrowser){let a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:n,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,n=this._getWindow(),r=e.documentElement,a=r.getBoundingClientRect(),s=-a.top||e.body.scrollTop||n.scrollY||r.scrollTop||0,l=-a.left||e.body.scrollLeft||n.scrollX||r.scrollLeft||0;return{top:s,left:l}}change(e=Ew){return e>0?this._change.pipe(Hl(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}};t.\u0275fac=function(n){return new(n||t)(j(Ke),j(M),j(Ee,8))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var rl=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({});let i=t;return i})(),tu=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({imports:[Sn,rl,Sn,rl]});let i=t;return i})();var pa=class{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},er=class extends pa{constructor(t,o,e,n,r){super(),this.component=t,this.viewContainerRef=o,this.injector=e,this.componentFactoryResolver=n,this.projectableNodes=r}},no=class extends pa{constructor(t,o,e,n){super(),this.templateRef=t,this.viewContainerRef=o,this.context=e,this.injector=n}get origin(){return this.templateRef.elementRef}attach(t,o=this.context){return this.context=o,super.attach(t)}detach(){return this.context=void 0,super.detach()}},iu=class extends pa{constructor(t){super(),this.element=t instanceof S?t.nativeElement:t}},tr=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof er)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof no)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof iu)return this._attachedPortal=t,this.attachDomPortal(t)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var al=class extends tr{constructor(t,o,e,n,r){super(),this.outletElement=t,this._componentFactoryResolver=o,this._appRef=e,this._defaultInjector=n,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let l=this._document.createComment("dom-portal");s.parentNode.insertBefore(l,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(s,l)})},this._document=r}attachComponentPortal(t){let e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector||qe.NULL),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let o=t.viewContainerRef,e=o.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return e.rootNodes.forEach(n=>this.outletElement.appendChild(n)),e.detectChanges(),this.setDisposeFn(()=>{let n=o.indexOf(e);n!==-1&&o.remove(n)}),this._attachedPortal=t,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var oo=(()=>{let t=class t extends tr{constructor(e,n,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=n,this._isInitialized=!1,this.attached=new I,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let l=this._document.createComment("dom-portal");a.setAttachedHost(this),s.parentNode.insertBefore(l,s),this._getRootNode().appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(s,l)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let n=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=n.createComponent(a,n.length,e.injector||n.injector,e.projectableNodes||void 0);return n!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);let n=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}};t.\u0275fac=function(n){return new(n||t)(c(Ra),c(li),c(Ee))},t.\u0275dir=re({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[z.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[ke]});let i=t;return i})();var nn=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({});let i=t;return i})();var Q0=og(),nu=class{constructor(t,o){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=o}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=St(-this._previousScrollPosition.left),t.style.top=St(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,o=this._document.body,e=t.style,n=o.style,r=e.scrollBehavior||"",a=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Q0&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Q0&&(e.scrollBehavior=r,n.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let o=this._document.body,e=this._viewportRuler.getViewportSize();return o.scrollHeight>e.height||o.scrollWidth>e.width}};var ou=class{constructor(t,o,e,n){this._scrollDispatcher=t,this._ngZone=o,this._viewportRuler=e,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(Ue(o=>!o||!this._overlayRef.overlayElement.contains(o.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let o=this._viewportRuler.getViewportScrollPosition().top;Math.abs(o-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},sl=class{enable(){}disable(){}attach(){}};function ru(i,t){return t.some(o=>{let e=i.bottom<o.top,n=i.top>o.bottom,r=i.right<o.left,a=i.left>o.right;return e||n||r||a})}function K0(i,t){return t.some(o=>{let e=i.top<o.top,n=i.bottom>o.bottom,r=i.left<o.left,a=i.right>o.right;return e||n||r||a})}var au=class{constructor(t,o,e,n){this._scrollDispatcher=t,this._viewportRuler=o,this._ngZone=e,this._config=n,this._scrollSubscription=null}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let o=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();ru(o,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Mw=(()=>{let t=class t{constructor(e,n,r,a){this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=r,this.noop=()=>new sl,this.close=s=>new ou(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new nu(this._viewportRuler,this._document),this.reposition=s=>new au(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=a}};t.\u0275fac=function(n){return new(n||t)(j(Y0),j(ma),j(M),j(Ee))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),ir=class{constructor(t){if(this.scrollStrategy=new sl,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let o=Object.keys(t);for(let e of o)t[e]!==void 0&&(this[e]=t[e])}}};var su=class{constructor(t,o){this.connectionPair=t,this.scrollableViewProperties=o}};var nv=(()=>{let t=class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let n=this._attachedOverlays.indexOf(e);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}};t.\u0275fac=function(n){return new(n||t)(j(Ee))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),Dw=(()=>{let t=class t extends nv{constructor(e,n){super(e),this._ngZone=n,this._keydownListener=r=>{let a=this._attachedOverlays;for(let s=a.length-1;s>-1;s--)if(a[s]._keydownEvents.observers.length>0){let l=a[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(r)):l.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};t.\u0275fac=function(n){return new(n||t)(j(Ee),j(M,8))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),kw=(()=>{let t=class t extends nv{constructor(e,n,r){super(e),this._platform=n,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=a=>{this._pointerDownEventTarget=wi(a)},this._clickListener=a=>{let s=wi(a),l=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;let d=this._attachedOverlays.slice();for(let u=d.length-1;u>-1;u--){let f=d[u];if(f._outsidePointerEvents.observers.length<1||!f.hasAttached())continue;if(f.overlayElement.contains(s)||f.overlayElement.contains(l))break;let g=f._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>g.next(a)):g.next(a)}}}add(e){if(super.add(e),!this._isAttached){let n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}};t.\u0275fac=function(n){return new(n||t)(j(Ee),j(Ke),j(M,8))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),nr=(()=>{let t=class t{constructor(e,n){this._platform=n,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Ur()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;a<r.length;a++)r[a].remove()}let n=this._document.createElement("div");n.classList.add(e),Ur()?n.setAttribute("platform","test"):this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}};t.\u0275fac=function(n){return new(n||t)(j(Ee),j(Ke))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),Di=class{constructor(t,o,e,n,r,a,s,l,d,u=!1){this._portalOutlet=t,this._host=o,this._pane=e,this._config=n,this._ngZone=r,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=d,this._animationsDisabled=u,this._backdropElement=null,this._backdropClick=new ce,this._attachments=new ce,this._detachments=new ce,this._locationChanges=Rt.EMPTY,this._backdropClickHandler=f=>this._backdropClick.next(f),this._backdropTransitionendHandler=f=>{this._disposeBackdrop(f.target)},this._keydownEvents=new ce,this._outsidePointerEvents=new ce,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let o=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(lt(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof o?.onDestroy=="function"&&o.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),o}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=G(G({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Ne(G({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=St(this._config.width),t.height=St(this._config.height),t.minWidth=St(this._config.minWidth),t.minHeight=St(this._config.minHeight),t.maxWidth=St(this._config.maxWidth),t.maxHeight=St(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return}t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,o,e){let n=jo(o||[]).filter(r=>!!r);n.length&&(e?t.classList.add(...n):t.classList.remove(...n))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let t=this._ngZone.onStable.pipe(Je(Gt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){let t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},J0="cdk-overlay-connected-position-bounding-box",Tw=/([A-Za-z%]+)$/,lu=class{get positions(){return this._preferredPositions}constructor(t,o,e,n,r){this._viewportRuler=o,this._document=e,this._platform=n,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new ce,this._resizeSubscription=Rt.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(J0),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._originRect,o=this._overlayRect,e=this._viewportRect,n=this._containerRect,r=[],a;for(let s of this._preferredPositions){let l=this._getOriginPoint(t,n,s),d=this._getOverlayPoint(l,o,s),u=this._getOverlayFit(d,o,e,s);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(u,d,e)){r.push({position:s,origin:l,overlayRect:o,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!a||a.overlayFit.visibleArea<u.visibleArea)&&(a={overlayFit:u,overlayPoint:d,originPoint:l,position:s,overlayRect:o})}if(r.length){let s=null,l=-1;for(let d of r){let u=d.boundingBoxRect.width*d.boundingBoxRect.height*(d.position.weight||1);u>l&&(l=u,s=d)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ro(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(J0),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let o=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,o)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,o,e){let n;if(e.originX=="center")n=t.left+t.width/2;else{let a=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;n=e.originX=="start"?a:s}o.left<0&&(n-=o.left);let r;return e.originY=="center"?r=t.top+t.height/2:r=e.originY=="top"?t.top:t.bottom,o.top<0&&(r-=o.top),{x:n,y:r}}_getOverlayPoint(t,o,e){let n;e.overlayX=="center"?n=-o.width/2:e.overlayX==="start"?n=this._isRtl()?-o.width:0:n=this._isRtl()?0:-o.width;let r;return e.overlayY=="center"?r=-o.height/2:r=e.overlayY=="top"?0:-o.height,{x:t.x+n,y:t.y+r}}_getOverlayFit(t,o,e,n){let r=tv(o),{x:a,y:s}=t,l=this._getOffset(n,"x"),d=this._getOffset(n,"y");l&&(a+=l),d&&(s+=d);let u=0-a,f=a+r.width-e.width,g=0-s,_=s+r.height-e.height,D=this._subtractOverflows(r.width,u,f),E=this._subtractOverflows(r.height,g,_),A=D*E;return{visibleArea:A,isCompletelyWithinViewport:r.width*r.height===A,fitsInViewportVertically:E===r.height,fitsInViewportHorizontally:D==r.width}}_canFitWithFlexibleDimensions(t,o,e){if(this._hasFlexibleDimensions){let n=e.bottom-o.y,r=e.right-o.x,a=ev(this._overlayRef.getConfig().minHeight),s=ev(this._overlayRef.getConfig().minWidth),l=t.fitsInViewportVertically||a!=null&&a<=n,d=t.fitsInViewportHorizontally||s!=null&&s<=r;return l&&d}return!1}_pushOverlayOnScreen(t,o,e){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let n=tv(o),r=this._viewportRect,a=Math.max(t.x+n.width-r.width,0),s=Math.max(t.y+n.height-r.height,0),l=Math.max(r.top-e.top-t.y,0),d=Math.max(r.left-e.left-t.x,0),u=0,f=0;return n.width<=r.width?u=d||-a:u=t.x<this._viewportMargin?r.left-e.left-t.x:0,n.height<=r.height?f=l||-s:f=t.y<this._viewportMargin?r.top-e.top-t.y:0,this._previousPushAmount={x:u,y:f},{x:t.x+u,y:t.y+f}}_applyPosition(t,o){if(this._setTransformOrigin(t),this._setOverlayElementStyles(o,t),this._setBoundingBoxStyles(o,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._positionChanges.observers.length){let e=this._getScrollVisibility();if(t!==this._lastPosition||!this._lastScrollVisibility||!Ow(this._lastScrollVisibility,e)){let n=new su(t,e);this._positionChanges.next(n)}this._lastScrollVisibility=e}this._lastPosition=t,this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;let o=this._boundingBox.querySelectorAll(this._transformOriginSelector),e,n=t.overlayY;t.overlayX==="center"?e="center":this._isRtl()?e=t.overlayX==="start"?"right":"left":e=t.overlayX==="start"?"left":"right";for(let r=0;r<o.length;r++)o[r].style.transformOrigin=`${e} ${n}`}_calculateBoundingBoxRect(t,o){let e=this._viewportRect,n=this._isRtl(),r,a,s;if(o.overlayY==="top")a=t.y,r=e.height-a+this._viewportMargin;else if(o.overlayY==="bottom")s=e.height-t.y+this._viewportMargin*2,r=e.height-s+this._viewportMargin;else{let _=Math.min(e.bottom-t.y+e.top,t.y),D=this._lastBoundingBoxSize.height;r=_*2,a=t.y-_,r>D&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-D/2)}let l=o.overlayX==="start"&&!n||o.overlayX==="end"&&n,d=o.overlayX==="end"&&!n||o.overlayX==="start"&&n,u,f,g;if(d)g=e.width-t.x+this._viewportMargin,u=t.x-this._viewportMargin;else if(l)f=t.x,u=e.right-t.x;else{let _=Math.min(e.right-t.x+e.left,t.x),D=this._lastBoundingBoxSize.width;u=_*2,f=t.x-_,u>D&&!this._isInitialRender&&!this._growAfterOpen&&(f=t.x-D/2)}return{top:a,left:f,bottom:s,right:g,width:u,height:r}}_setBoundingBoxStyles(t,o){let e=this._calculateBoundingBoxRect(t,o);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;n.height=St(e.height),n.top=St(e.top),n.bottom=St(e.bottom),n.width=St(e.width),n.left=St(e.left),n.right=St(e.right),o.overlayX==="center"?n.alignItems="center":n.alignItems=o.overlayX==="end"?"flex-end":"flex-start",o.overlayY==="center"?n.justifyContent="center":n.justifyContent=o.overlayY==="bottom"?"flex-end":"flex-start",r&&(n.maxHeight=St(r)),a&&(n.maxWidth=St(a))}this._lastBoundingBoxSize=e,ro(this._boundingBox.style,n)}_resetBoundingBoxStyles(){ro(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ro(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,o){let e={},n=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(n){let u=this._viewportRuler.getViewportScrollPosition();ro(e,this._getExactOverlayY(o,t,u)),ro(e,this._getExactOverlayX(o,t,u))}else e.position="static";let s="",l=this._getOffset(o,"x"),d=this._getOffset(o,"y");l&&(s+=`translateX(${l}px) `),d&&(s+=`translateY(${d}px)`),e.transform=s.trim(),a.maxHeight&&(n?e.maxHeight=St(a.maxHeight):r&&(e.maxHeight="")),a.maxWidth&&(n?e.maxWidth=St(a.maxWidth):r&&(e.maxWidth="")),ro(this._pane.style,e)}_getExactOverlayY(t,o,e){let n={top:"",bottom:""},r=this._getOverlayPoint(o,this._overlayRect,t);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,e)),t.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;n.bottom=`${a-(r.y+this._overlayRect.height)}px`}else n.top=St(r.y);return n}_getExactOverlayX(t,o,e){let n={left:"",right:""},r=this._getOverlayPoint(o,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,e));let a;if(this._isRtl()?a=t.overlayX==="end"?"left":"right":a=t.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;n.right=`${s-(r.x+this._overlayRect.width)}px`}else n.left=St(r.x);return n}_getScrollVisibility(){let t=this._getOriginRect(),o=this._pane.getBoundingClientRect(),e=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:K0(t,e),isOriginOutsideView:ru(t,e),isOverlayClipped:K0(o,e),isOverlayOutsideView:ru(o,e)}}_subtractOverflows(t,...o){return o.reduce((e,n)=>e-Math.max(n,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,o=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+t-this._viewportMargin,bottom:e.top+o-this._viewportMargin,width:t-2*this._viewportMargin,height:o-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,o){return o==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&jo(t).forEach(o=>{o!==""&&this._appliedPanelClasses.indexOf(o)===-1&&(this._appliedPanelClasses.push(o),this._pane.classList.add(o))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof S)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let o=t.width||0,e=t.height||0;return{top:t.y,bottom:t.y+e,left:t.x,right:t.x+o,height:e,width:o}}};function ro(i,t){for(let o in t)t.hasOwnProperty(o)&&(i[o]=t[o]);return i}function ev(i){if(typeof i!="number"&&i!=null){let[t,o]=i.split(Tw);return!o||o==="px"?parseFloat(t):null}return i||null}function tv(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function Ow(i,t){return i===t?!0:i.isOriginClipped===t.isOriginClipped&&i.isOriginOutsideView===t.isOriginOutsideView&&i.isOverlayClipped===t.isOverlayClipped&&i.isOverlayOutsideView===t.isOverlayOutsideView}var iv="cdk-global-overlay-wrapper",cu=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){let o=t.getConfig();this._overlayRef=t,this._width&&!o.width&&t.updateSize({width:this._width}),this._height&&!o.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(iv),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,o=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:n,height:r,maxWidth:a,maxHeight:s}=e,l=(n==="100%"||n==="100vw")&&(!a||a==="100%"||a==="100vw"),d=(r==="100%"||r==="100vh")&&(!s||s==="100%"||s==="100vh"),u=this._xPosition,f=this._xOffset,g=this._overlayRef.getConfig().direction==="rtl",_="",D="",E="";l?E="flex-start":u==="center"?(E="center",g?D=f:_=f):g?u==="left"||u==="end"?(E="flex-end",_=f):(u==="right"||u==="start")&&(E="flex-start",D=f):u==="left"||u==="start"?(E="flex-start",_=f):(u==="right"||u==="end")&&(E="flex-end",D=f),t.position=this._cssPosition,t.marginLeft=l?"0":_,t.marginTop=d?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":D,o.justifyContent=E,o.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,o=this._overlayRef.hostElement,e=o.style;o.classList.remove(iv),e.justifyContent=e.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},Pw=(()=>{let t=class t{constructor(e,n,r,a){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=a}global(){return new cu}flexibleConnectedTo(e){return new lu(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};t.\u0275fac=function(n){return new(n||t)(j(ma),j(Ee),j(Ke),j(nr))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),Fw=0,Ft=(()=>{let t=class t{constructor(e,n,r,a,s,l,d,u,f,g,_,D){this.scrollStrategies=e,this._overlayContainer=n,this._componentFactoryResolver=r,this._positionBuilder=a,this._keyboardDispatcher=s,this._injector=l,this._ngZone=d,this._document=u,this._directionality=f,this._location=g,this._outsideClickDispatcher=_,this._animationsModuleType=D}create(e){let n=this._createHostElement(),r=this._createPaneElement(n),a=this._createPortalOutlet(r),s=new ir(e);return s.direction=s.direction||this._directionality.value,new Di(a,n,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(e){let n=this._document.createElement("div");return n.id=`cdk-overlay-${Fw++}`,n.classList.add("cdk-overlay-pane"),e.appendChild(n),n}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(pn)),new al(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};t.\u0275fac=function(n){return new(n||t)(j(Mw),j(nr),j(Ra),j(Pw),j(Dw),j(qe),j(M),j(Ee),j(hi),j(ni),j(kw),j(ut,8))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),Aw=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ov=new se("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=w(Ft);return()=>i.scrollStrategies.reposition()}}),ll=(()=>{let t=class t{constructor(e){this.elementRef=e}};t.\u0275fac=function(n){return new(n||t)(c(S))},t.\u0275dir=re({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let i=t;return i})(),du=(()=>{let t=class t{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}constructor(e,n,r,a,s){this._overlay=e,this._dir=s,this._backdropSubscription=Rt.EMPTY,this._attachSubscription=Rt.EMPTY,this._detachSubscription=Rt.EMPTY,this._positionSubscription=Rt.EMPTY,this._disposeOnNavigation=!1,this._ngZone=w(M),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new I,this.positionChange=new I,this.attach=new I,this.detach=new I,this.overlayKeydown=new I,this.overlayOutsideClick=new I,this._templatePortal=new no(n,r),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Aw);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!qt(n)&&(n.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{this.overlayOutsideClick.next(n)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),n=new ir({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(n.width=this.width),(this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(e){let n=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ll?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Ih(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};t.\u0275fac=function(n){return new(n||t)(c(Ft),c(vi),c(li),c(ov),c(hi,8))},t.\u0275dir=re({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[z.None,"cdkConnectedOverlayOrigin","origin"],positions:[z.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[z.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[z.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[z.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[z.None,"cdkConnectedOverlayWidth","width"],height:[z.None,"cdkConnectedOverlayHeight","height"],minWidth:[z.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[z.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[z.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[z.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[z.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[z.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[z.None,"cdkConnectedOverlayOpen","open"],disableClose:[z.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[z.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[z.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",De],lockPosition:[z.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",De],flexibleDimensions:[z.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",De],growAfterOpen:[z.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",De],push:[z.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",De],disposeOnNavigation:[z.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",De]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ct,rt]});let i=t;return i})();function Rw(i){return()=>i.scrollStrategies.reposition()}var Lw={provide:ov,deps:[Ft],useFactory:Rw},or=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({providers:[Ft,Lw],imports:[Sn,nn,tu,tu]});let i=t;return i})();var jw=["trigger"],Vw=["panel"];function Nw(i,t){if(i&1&&(m(0,"span",9),y(1),p()),i&2){let o=C();h(),Z(o.placeholder)}}function Bw(i,t){i&1&&R(0)}function zw(i,t){if(i&1&&(m(0,"span",11),y(1),p()),i&2){let o=C(2);h(),Z(o.triggerValue)}}function Hw(i,t){if(i&1&&(m(0,"span",10),O(1,Bw,1,0)(2,zw,2,1),p()),i&2){let o=C();h(),H(1,o.customTrigger?1:2)}}function $w(i,t){if(i&1){let o=_e();q(),Gi(),m(0,"div",12,13),P("@transformPanel.done",function(n){de(o);let r=C();return ue(r._panelDoneAnimatingStream.next(n.toState))})("keydown",function(n){de(o);let r=C();return ue(r._handleKeydown(n))}),R(2,1),p()}if(i&2){let o=C();dn("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",o._getPanelTheme(),""),k("ngClass",o.panelClass)("@transformPanel","showing"),Ie("id",o.id+"-panel")("aria-multiselectable",o.multiple)("aria-label",o.ariaLabel||null)("aria-labelledby",o._getPanelAriaLabelledby())}}var Uw=[[["mat-select-trigger"]],"*"],Ww=["mat-select-trigger","*"],Gw={transformPanelWrap:Nn("transformPanelWrap",[Yi("* => void",_r("@transformPanel",[br()],{optional:!0}))]),transformPanel:Nn("transformPanel",[Bn("void",Ai({opacity:0,transform:"scale(1, 0.8)"})),Yi("void => showing",fn("120ms cubic-bezier(0, 0, 0.2, 1)",Ai({opacity:1,transform:"scale(1, 1)"}))),Yi("* => void",fn("100ms linear",Ai({opacity:0})))])};var rv=0,av=new se("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let i=w(Ft);return()=>i.scrollStrategies.reposition()}});function Zw(i){return()=>i.scrollStrategies.reposition()}var qw=new se("MAT_SELECT_CONFIG"),Yw={provide:av,deps:[Ft],useFactory:Zw},Xw=new se("MatSelectTrigger"),mu=class{constructor(t,o){this.source=t,this.value=o}},sv=(()=>{let t=class t{_scrollOptionIntoView(e){let n=this.options.toArray()[e];if(n){let r=this.panel.nativeElement,a=n0(e,this.options,this.optionGroups),s=n._getHostElement();e===0&&a===1?r.scrollTop=0:r.scrollTop=o0(s.offsetTop,s.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new mu(this,e)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Bo.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,n,r,a,s,l,d,u,f,g,_,D,E,A){this._viewportRuler=e,this._changeDetectorRef=n,this._ngZone=r,this._elementRef=s,this._dir=l,this._parentFormField=f,this.ngControl=g,this._liveAnnouncer=E,this._defaultOptions=A,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(T,L)=>T===L,this._uid=`mat-select-${rv++}`,this._triggerAriaLabelledBy=null,this._destroy=new ce,this.stateChanges=new ce,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${rv++}`,this._panelDoneAnimatingStream=new ce,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this.optionSelectionChanges=Ui(()=>{let T=this.options;return T?T.changes.pipe(jt(T),wt(()=>Gt(...T.map(L=>L.onSelectionChange)))):this._ngZone.onStable.pipe(lt(1),wt(()=>this.optionSelectionChanges))}),this.openedChange=new I,this._openedStream=this.openedChange.pipe(Ue(T=>T),Me(()=>{})),this._closedStream=this.openedChange.pipe(Ue(T=>!T),Me(()=>{})),this.selectionChange=new I,this.valueChange=new I,this._trackedModal=null,this._skipPredicate=T=>this.panelOpen?!1:T.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),A?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=A.typeaheadDebounceInterval),this._errorStateTracker=new to(a,g,u,d,this.stateChanges),this._scrollStrategyFactory=D,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(_)||0,this.id=this.id}ngOnInit(){this._selectionModel=new ol(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Oi(),Je(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(Je(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Je(this._destroy)).subscribe(e=>{e.added.forEach(n=>n.select()),e.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(jt(null),Je(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),n=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(this._previousControl!==void 0&&n.disabled!==null&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let n=`${this.id}-panel`;this._trackedModal&&Ps(this._trackedModal,"aria-owns",n),hd(e,"aria-owns",n),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;Ps(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(n=>n.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let n=e.keyCode,r=n===40||n===38||n===37||n===39,a=n===13||n===32,s=this._keyManager;if(!s.isTyping()&&a&&!qt(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let l=this.selected;s.onKeydown(e);let d=this.selected;d&&l!==d&&this._liveAnnouncer.announce(d.viewValue,1e4)}}_handleOpenKeydown(e){let n=this._keyManager,r=e.keyCode,a=r===40||r===38,s=n.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(!s&&(r===13||r===32)&&n.activeItem&&!qt(e))e.preventDefault(),n.activeItem._selectViaInteraction();else if(!s&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let l=this.options.some(d=>!d.disabled&&!d.selected);this.options.forEach(d=>{d.disabled||(l?d.select():d.deselect())})}else{let l=n.activeItemIndex;n.onKeydown(e),this._multiple&&a&&e.shiftKey&&n.activeItem&&n.activeItemIndex!==l&&n.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(lt(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{let n=this._selectOptionByValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let n=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return r.value!=null&&this._compareWith(r.value,e)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof ll?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Ds(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=Gt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Je(e)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Gt(...this.options.map(n=>n._stateChanges)).pipe(Je(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,n){let r=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),n&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),n&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((n,r)=>this.sortComparator?this.sortComparator(n,r,e):e.indexOf(n)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let n;this.multiple?n=this.selected.map(r=>r.value):n=this.selected?this.selected.value:e,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let n=0;n<this.options.length;n++)if(!this.options.get(n).disabled){e=n;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),n=e?e+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),n=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};t.\u0275fac=function(n){return new(n||t)(c(ma),c(V),c(M),c(Wo),c(S),c(hi,8),c(qr,8),c(Yr,8),c(na,8),c(Ii,10),Et("tabindex"),c(av),c(qg),c(qw,8))},t.\u0275cmp=v({type:t,selectors:[["mat-select"]],contentQueries:function(n,r,a){if(n&1&&(Ge(a,Xw,5),Ge(a,Ls,5),Ge(a,Md,5)),n&2){let s;ne(s=oe())&&(r.customTrigger=s.first),ne(s=oe())&&(r.options=s),ne(s=oe())&&(r.optionGroups=s)}},viewQuery:function(n,r){if(n&1&&(xe(jw,5),xe(Vw,5),xe(du,5)),n&2){let a;ne(a=oe())&&(r.trigger=a.first),ne(a=oe())&&(r.panel=a.first),ne(a=oe())&&(r._overlayDir=a.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(n,r){n&1&&P("keydown",function(s){return r._handleKeydown(s)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),n&2&&(Ie("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),ee("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple))},inputs:{userAriaDescribedBy:[z.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[z.HasDecoratorInputTransform,"disabled","disabled",De],disableRipple:[z.HasDecoratorInputTransform,"disableRipple","disableRipple",De],tabIndex:[z.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>e==null?0:Qt(e)],hideSingleSelectionIndicator:[z.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",De],placeholder:"placeholder",required:[z.HasDecoratorInputTransform,"required","required",De],multiple:[z.HasDecoratorInputTransform,"multiple","multiple",De],disableOptionCentering:[z.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",De],compareWith:"compareWith",value:"value",ariaLabel:[z.None,"aria-label","ariaLabel"],ariaLabelledby:[z.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[z.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",Qt],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[We([{provide:ia,useExisting:t},{provide:Ed,useExisting:t}]),ct,rt,x],ngContentSelectors:Ww,decls:11,vars:8,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(n,r){if(n&1&&(W(Uw),m(0,"div",0,1),P("click",function(){return r.open()}),m(3,"div",2),O(4,Nw,2,1,"span",3)(5,Hw,3,1),p(),m(6,"div",4)(7,"div",5),q(),m(8,"svg",6),b(9,"path",7),p()()()(),O(10,$w,3,9,"ng-template",8),P("backdropClick",function(){return r.close()})("attach",function(){return r._onAttached()})("detach",function(){return r.close()})),n&2){let a=bi(1);h(3),Ie("id",r._valueId),h(),H(4,r.empty?4:5),h(6),k("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||a)("cdkConnectedOverlayOpen",r.panelOpen)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)}},dependencies:[ll,du,Co],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[Gw.transformPanel]},changeDetection:0});let i=t;return i})();var lv=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({providers:[Yw],imports:[xi,or,Dd,ze,rl,Mi,Dd,ze]});let i=t;return i})();function Kw(i,t){}var on=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var fa=(()=>{let t=class t extends tr{constructor(e,n,r,a,s,l,d,u){super(),this._elementRef=e,this._focusTrapFactory=n,this._config=a,this._interactivityChecker=s,this._ngZone=l,this._overlayRef=d,this._focusMonitor=u,this._platform=w(Ke),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=w(V),this.attachDomPortal=f=>{this._portalOutlet.hasAttached();let g=this._portalOutlet.attachDomPortal(f);return this._contentAttached(),g},this._document=r,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let n=this._ariaLabelledByQueue.indexOf(e);n>-1&&(this._ariaLabelledByQueue.splice(n,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),n}attachTemplatePortal(e){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),n}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(n)}_focusByCssSelector(e,n){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,n)}_trapFocus(){let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElementWhenReady().then(n=>{n||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let e=this._config.restoreFocus,n=null;if(typeof e=="string"?n=this._document.querySelector(e):typeof e=="boolean"?n=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(n=e),this._config.restoreFocus&&n&&typeof n.focus=="function"){let r=$r(),a=this._elementRef.nativeElement;(!r||r===this._document.body||r===a||a.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,n=$r();return e===n||e.contains(n)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=$r()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};t.\u0275fac=function(n){return new(n||t)(c(S),c(Uo),c(Ee,8),c(on),c(Ji),c(M),c(Di),c(Ei))},t.\u0275cmp=v({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(n,r){if(n&1&&xe(oo,7),n&2){let a;ne(a=oe())&&(r._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(n,r){n&2&&Ie("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},standalone:!0,features:[ke,x],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,r){n&1&&O(0,Kw,0,0,"ng-template",0)},dependencies:[oo],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let i=t;return i})(),ha=class{constructor(t,o){this.overlayRef=t,this.config=o,this.closed=new ce,this.disableClose=o.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=o.id,this.keydownEvents.subscribe(e=>{e.keyCode===27&&!this.disableClose&&!qt(e)&&(e.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=t.detachments().subscribe(()=>{o.closeOnOverlayDetachments!==!1&&this.close()})}close(t,o){if(this.containerInstance){let e=this.closed;this.containerInstance._closeInteractionType=o?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),e.next(t),e.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",o=""){return this.overlayRef.updateSize({width:t,height:o}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}},Jw=new se("DialogScrollStrategy",{providedIn:"root",factory:()=>{let i=w(Ft);return()=>i.scrollStrategies.block()}}),eI=new se("DialogData"),tI=new se("DefaultDialogConfig");var iI=0,ga=(()=>{let t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,n,r,a,s,l){this._overlay=e,this._injector=n,this._defaultOptions=r,this._parentDialog=a,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ce,this._afterOpenedAtThisLevel=new ce,this._ariaHiddenElements=new Map,this.afterAllClosed=Ui(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(jt(void 0))),this._scrollStrategy=l}open(e,n){let r=this._defaultOptions||new on;n=G(G({},r),n),n.id=n.id||`cdk-dialog-${iI++}`,n.id&&this.getDialogById(n.id);let a=this._getOverlayConfig(n),s=this._overlay.create(a),l=new ha(s,n),d=this._attachContainer(s,l,n);return l.containerInstance=d,this._attachDialogContent(e,l,d,n),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){pu(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){pu(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),pu(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let n=new ir({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(n.backdropClass=e.backdropClass),n}_attachContainer(e,n,r){let a=r.injector||r.viewContainerRef?.injector,s=[{provide:on,useValue:r},{provide:ha,useValue:n},{provide:Di,useValue:e}],l;r.container?typeof r.container=="function"?l=r.container:(l=r.container.type,s.push(...r.container.providers(r))):l=fa;let d=new er(l,r.viewContainerRef,qe.create({parent:a||this._injector,providers:s}),r.componentFactoryResolver);return e.attach(d).instance}_attachDialogContent(e,n,r,a){if(e instanceof vi){let s=this._createInjector(a,n,r,void 0),l={$implicit:a.data,dialogRef:n};a.templateContext&&(l=G(G({},l),typeof a.templateContext=="function"?a.templateContext():a.templateContext)),r.attachTemplatePortal(new no(e,null,l,s))}else{let s=this._createInjector(a,n,r,this._injector),l=r.attachComponentPortal(new er(e,a.viewContainerRef,s,a.componentFactoryResolver));n.componentRef=l,n.componentInstance=l.instance}}_createInjector(e,n,r,a){let s=e.injector||e.viewContainerRef?.injector,l=[{provide:eI,useValue:e.data},{provide:ha,useValue:n}];return e.providers&&(typeof e.providers=="function"?l.push(...e.providers(n,e,r)):l.push(...e.providers)),e.direction&&(!s||!s.get(hi,null,{optional:!0}))&&l.push({provide:hi,useValue:{value:e.direction,change:me()}}),qe.create({parent:s||a,providers:l})}_removeOpenDialog(e,n){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,s)=>{a?s.setAttribute("aria-hidden",a):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let n=e.parentElement.children;for(let r=n.length-1;r>-1;r--){let a=n[r];a!==e&&a.nodeName!=="SCRIPT"&&a.nodeName!=="STYLE"&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}};t.\u0275fac=function(n){return new(n||t)(j(Ft),j(qe),j(tI,8),j(t,12),j(nr),j(Jw))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();function pu(i,t){let o=i.length;for(;o--;)t(i[o])}var cl=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({providers:[ga],imports:[or,nn,Fs,nn]});let i=t;return i})();function oI(i,t){}var va=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},hu="mdc-dialog--open",cv="mdc-dialog--opening",dv="mdc-dialog--closing",rI=150,aI=75,sI=(()=>{let t=class t extends fa{constructor(e,n,r,a,s,l,d,u,f){super(e,n,r,a,s,l,d,f),this._animationMode=u,this._animationStateChanged=new I,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?mv(this._config.enterAnimationDuration)??rI:0,this._exitAnimationDuration=this._animationsEnabled?mv(this._config.exitAnimationDuration)??aI:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(uv,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(cv,hu)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(hu),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(hu),this._animationsEnabled?(this._hostElement.style.setProperty(uv,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(dv)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(cv,dv)}_waitForAnimationToComplete(e,n){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let n=super.attachComponentPortal(e);return n.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),n}};t.\u0275fac=function(n){return new(n||t)(c(S),c(Uo),c(Ee,8),c(va),c(Ji),c(M),c(Di),c(ut,8),c(Ei))},t.\u0275cmp=v({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(n,r){n&2&&(Xt("id",r._config.id),Ie("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),ee("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},standalone:!0,features:[ke,x],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(n,r){n&1&&(m(0,"div",0)(1,"div",1),O(2,oI,0,0,"ng-template",2),p()())},dependencies:[oo],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2});let i=t;return i})(),uv="--mat-dialog-transition-duration";function mv(i){return i==null?null:typeof i=="number"?i:i.endsWith("ms")?Lo(i.substring(0,i.length-2)):i.endsWith("s")?Lo(i.substring(0,i.length-1))*1e3:i==="0"?0:null}var dl=function(i){return i[i.OPEN=0]="OPEN",i[i.CLOSING=1]="CLOSING",i[i.CLOSED=2]="CLOSED",i}(dl||{}),so=class{constructor(t,o,e){this._ref=t,this._containerInstance=e,this._afterOpened=new ce,this._beforeClosed=new ce,this._state=dl.OPEN,this.disableClose=o.disableClose,this.id=t.id,t.addPanelClass("mat-mdc-dialog-panel"),e._animationStateChanged.pipe(Ue(n=>n.state==="opened"),lt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Ue(n=>n.state==="closed"),lt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Gt(this.backdropClick(),this.keydownEvents().pipe(Ue(n=>n.keyCode===27&&!this.disableClose&&!qt(n)))).subscribe(n=>{this.disableClose||(n.preventDefault(),pv(this,n.type==="keydown"?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Ue(o=>o.state==="closing"),lt(1)).subscribe(o=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),o.totalTime+100)}),this._state=dl.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let o=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?o.left(t.left):o.right(t.right):o.centerHorizontally(),t&&(t.top||t.bottom)?t.top?o.top(t.top):o.bottom(t.bottom):o.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",o=""){return this._ref.updateSize(t,o),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=dl.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function pv(i,t,o){return i._closeInteractionType=t,i.close(o)}var lI=new se("MatMdcDialogData"),cI=new se("mat-mdc-dialog-default-options"),dI=new se("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let i=w(Ft);return()=>i.scrollStrategies.block()}});var uI=0,ba=(()=>{let t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,n,r,a,s,l,d,u){this._overlay=e,this._defaultOptions=a,this._scrollStrategy=s,this._parentDialog=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ce,this._afterOpenedAtThisLevel=new ce,this.dialogConfigClass=va,this.afterAllClosed=Ui(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(jt(void 0))),this._dialog=n.get(ga),this._dialogRefConstructor=so,this._dialogContainerType=sI,this._dialogDataToken=lI}open(e,n){let r;n=G(G({},this._defaultOptions||new va),n),n.id=n.id||`mat-mdc-dialog-${uI++}`,n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();let a=this._dialog.open(e,Ne(G({},n),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:on,useValue:n}]},templateContext:()=>({dialogRef:r}),providers:(s,l,d)=>(r=new this._dialogRefConstructor(s,n,d),r.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:d},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=a.componentRef,r.componentInstance=a.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(r);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let n=e.length;for(;n--;)e[n].close()}};t.\u0275fac=function(n){return new(n||t)(j(Ft),j(qe),j(ni,8),j(cI,8),j(dI),j(t,12),j(nr),j(ut,8))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),mI=0,hv=(()=>{let t=class t{constructor(e,n,r){this.dialogRef=e,this._elementRef=n,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=_v(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let n=e._matDialogClose||e._matDialogCloseResult;n&&(this.dialogResult=n.currentValue)}_onButtonClick(e){pv(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}};t.\u0275fac=function(n){return new(n||t)(c(so,8),c(S),c(ba))},t.\u0275dir=re({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(n,r){n&1&&P("click",function(s){return r._onButtonClick(s)}),n&2&&Ie("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[z.None,"aria-label","ariaLabel"],type:"type",dialogResult:[z.None,"mat-dialog-close","dialogResult"],_matDialogClose:[z.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[rt]});let i=t;return i})(),fv=(()=>{let t=class t{constructor(e,n,r){this._dialogRef=e,this._elementRef=n,this._dialog=r}ngOnInit(){this._dialogRef||(this._dialogRef=_v(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};t.\u0275fac=function(n){return new(n||t)(c(so,8),c(S),c(ba))},t.\u0275dir=re({type:t,standalone:!0});let i=t;return i})(),gv=(()=>{let t=class t extends fv{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${mI++}`}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}};t.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ct(t)))(r||t)}})(),t.\u0275dir=re({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(n,r){n&2&&Xt("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[ke]});let i=t;return i})(),vv=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=re({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0});let i=t;return i})(),bv=(()=>{let t=class t extends fv{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}};t.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ct(t)))(r||t)}})(),t.\u0275dir=re({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(n,r){n&2&&ee("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},standalone:!0,features:[ke]});let i=t;return i})();function _v(i,t){let o=i.nativeElement.parentElement;for(;o&&!o.classList.contains("mat-mdc-dialog-container");)o=o.parentElement;return o?t.find(e=>e.id===o.id):null}var ul=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({providers:[ba],imports:[cl,or,nn,ze,ze]});let i=t;return i})();function pI(i,t){i&1&&(m(0,"li",8),y(1),F(2,"translate"),p()),i&2&&(h(),Z($(2,1,"filters")))}function hI(i,t){i&1&&(m(0,"li",8),y(1),F(2,"translate"),p()),i&2&&(h(),Z($(2,1,"view")))}function fI(i,t){i&1&&(m(0,"li",8),y(1),F(2,"translate"),p()),i&2&&(h(),Z($(2,1,"cart")))}function gI(i,t){i&1&&(m(0,"li",8),y(1),F(2,"translate"),p()),i&2&&(h(),Z($(2,1,"favorites")))}function vI(i,t){if(i&1&&(m(0,"mat-dialog-content")(1,"span",6),y(2),F(3,"translate"),p(),m(4,"ul"),O(5,pI,3,3,"li",7)(6,hI,3,3,"li",7)(7,fI,3,3,"li",7)(8,gI,3,3,"li",7),p()()),i&2){let o=C();h(2),Z($(3,5,"modals.reset_local.text")),h(3),H(5,o.filters()?5:-1),h(),H(6,o.view()?6:-1),h(),H(7,o.cart()?7:-1),h(),H(8,o.favorites()?8:-1)}}function bI(i,t){if(i&1){let o=_e();m(0,"button",9),P("click",function(){de(o);let n=C();return ue(n.reset())}),y(1),F(2,"translate"),p()}i&2&&(h(),Z($(2,1,"modals.reset_local.reset")))}var yv=(()=>{let t=class t{constructor(e){this.dialogRef=e,this.local=w(Xe),this.filters=be(!1),this.view=be(!1),this.cart=be(!1),this.favorites=be(!1)}ngOnInit(){this.getLocal()}getLocal(){this.filters.set(this.local.getData("filters")!=null),this.view.set(this.local.getData("view")!=null),this.cart.set(this.local.getData("cart")!=null),this.favorites.set(this.local.getData("favorites")!=null)}close(){this.dialogRef.close()}reset(){this.local.removeData("cacheFilters"),this.local.removeData("selectedMenu"),this.local.removeData("filters"),this.local.removeData("displaySelectedFilters"),this.local.removeData("view"),this.local.removeData("cart"),this.local.removeData("favorites"),this.close()}};t.\u0275fac=function(n){return new(n||t)(c(so))},t.\u0275cmp=v({type:t,selectors:[["app-reset-storage"]],standalone:!0,features:[x],decls:15,vars:12,consts:[[1,"header"],["mat-dialog-title",""],["mat-icon-button","","mat-dialog-close",""],["align","end"],["mat-button","",1,"btn-white",3,"click"],["mat-flat-button","","color","primary"],[1,"message"],["class","text-white"],[1,"text-white"],["mat-flat-button","","color","primary",3,"click"]],template:function(n,r){n&1&&(m(0,"div",0)(1,"h2",1),y(2),F(3,"translate"),F(4,"translate"),p(),m(5,"button",2)(6,"mat-icon"),y(7,"close"),p()()(),O(8,vI,9,7,"mat-dialog-content"),m(9,"mat-dialog-actions",3)(10,"button",4),P("click",function(){return r.close()}),y(11),F(12,"translate"),F(13,"translate"),p(),O(14,bI,3,3,"button",5),p()),n&2&&(h(2),Z(r.filters()||r.view()||r.cart()||r.favorites()?$(3,4,"modals.reset_local.title"):$(4,6,"modals.reset_local.title_default")),h(6),H(8,r.filters()||r.view()||r.cart()||r.favorites()?8:-1),h(3),Z(r.filters()||r.view()||r.cart()||r.favorites()?$(12,8,"modals.reset_local.close"):$(13,10,"modals.reset_local.got_it")),h(3),H(14,r.filters()||r.view()||r.cart()||r.favorites()?14:-1))},dependencies:[Re,$e,nt,st,ul,hv,gv,bv,vv,at,Ht,Kt],styles:[".header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:8px}.header[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#dee2e6;margin:0}.header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{color:#fff;opacity:.5}.message[_ngcontent-%COMP%]{display:block;padding:0 24px;color:#fff;margin:24px 0 0}.text-white[_ngcontent-%COMP%], .btn-white[_ngcontent-%COMP%]{color:#fff}"]});let i=t;return i})();var xv=(()=>{let t=class t{constructor(){this.url=ji.api+"/images/coverImage/"}transform(e){return e?this.url+e:""}};t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=Vt({name:"coverImage",type:t,pure:!0,standalone:!0});let i=t;return i})();var wv=(()=>{let t=class t{constructor(){this.url=ji.api+"/images/user/"}transform(e){return e?this.url+e:""}};t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=Vt({name:"userImage",type:t,pure:!0,standalone:!0});let i=t;return i})();var Iv=xo("AppLauncher",{web:()=>import("./chunk-QLFNMBBN.js").then(i=>new i.AppLauncherWeb)});var K=["*"],jI=["outletContent"],VI=["outlet"],NI=[[["","slot","top"]],"*"],BI=["[slot=top]","*"];function zI(i,t){if(i&1&&(m(0,"div",1),un(1,2),p()),i&2){let o=C();h(),k("ngTemplateOutlet",o.template)}}function HI(i,t){if(i&1&&un(0,1),i&2){let o=C();k("ngTemplateOutlet",o.template)}}var $I=(()=>{class i extends Jo{constructor(o,e){super(o,e)}writeValue(o){this.elementRef.nativeElement.checked=this.lastValue=o,Dn(this.elementRef)}_handleIonChange(o){this.handleValueChange(o,o.checked)}static \u0275fac=function(e){return new(e||i)(c(qe),c(S))};static \u0275dir=re({type:i,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(e,n){e&1&&P("ionChange",function(a){return n._handleIonChange(a.target)})},features:[We([{provide:Si,useExisting:i,multi:!0}]),ke]})}return i})(),UI=(()=>{class i extends Jo{el;constructor(o,e){super(o,e),this.el=e}handleInputEvent(o){this.handleValueChange(o,o.value)}registerOnChange(o){this.el.nativeElement.tagName==="ION-INPUT"?super.registerOnChange(e=>{o(e===""?null:parseFloat(e))}):super.registerOnChange(o)}static \u0275fac=function(e){return new(e||i)(c(qe),c(S))};static \u0275dir=re({type:i,selectors:[["ion-input","type","number"],["ion-range"]],hostBindings:function(e,n){e&1&&P("ionInput",function(a){return n.handleInputEvent(a.target)})},features:[We([{provide:Si,useExisting:i,multi:!0}]),ke]})}return i})(),WI=(()=>{class i extends Jo{constructor(o,e){super(o,e)}_handleChangeEvent(o){this.handleValueChange(o,o.value)}static \u0275fac=function(e){return new(e||i)(c(qe),c(S))};static \u0275dir=re({type:i,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(e,n){e&1&&P("ionChange",function(a){return n._handleChangeEvent(a.target)})},features:[We([{provide:Si,useExisting:i,multi:!0}]),ke]})}return i})(),GI=(()=>{class i extends Jo{constructor(o,e){super(o,e)}_handleInputEvent(o){this.handleValueChange(o,o.value)}static \u0275fac=function(e){return new(e||i)(c(qe),c(S))};static \u0275dir=re({type:i,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"]],hostBindings:function(e,n){e&1&&P("ionInput",function(a){return n._handleInputEvent(a.target)})},features:[We([{provide:Si,useExisting:i,multi:!0}]),ke]})}return i})(),ZI=(i,t)=>{let o=i.prototype;t.forEach(e=>{Object.defineProperty(o,e,{get(){return this.el[e]},set(n){this.z.runOutsideAngular(()=>this.el[e]=n)},configurable:!0})})},qI=(i,t)=>{let o=i.prototype;t.forEach(e=>{o[e]=function(){let n=arguments;return this.z.runOutsideAngular(()=>this.el[e].apply(this.el,n))}})},Qe=(i,t,o)=>{o.forEach(e=>i[e]=Wi(t,e))};function ie(i){return function(o){let{defineCustomElementFn:e,inputs:n,methods:r}=i;return e!==void 0&&e(),n&&ZI(o,n),r&&qI(o,r),o}}var YI=(()=>{let i=class fu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||fu)(c(V),c(S),c(M))};static \u0275cmp=v({type:fu,selectors:[["ion-accordion"]],inputs:{disabled:"disabled",mode:"mode",readonly:"readonly",toggleIcon:"toggleIcon",toggleIconSlot:"toggleIconSlot",value:"value"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["disabled","mode","readonly","toggleIcon","toggleIconSlot","value"]})],i),i})(),XI=(()=>{let i=class gu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionChange"])}static \u0275fac=function(e){return new(e||gu)(c(V),c(S),c(M))};static \u0275cmp=v({type:gu,selectors:[["ion-accordion-group"]],inputs:{animated:"animated",disabled:"disabled",expand:"expand",mode:"mode",multiple:"multiple",readonly:"readonly",value:"value"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["animated","disabled","expand","mode","multiple","readonly","value"]})],i),i})(),QI=(()=>{let i=class vu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionActionSheetDidPresent","ionActionSheetWillPresent","ionActionSheetWillDismiss","ionActionSheetDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}static \u0275fac=function(e){return new(e||vu)(c(V),c(S),c(M))};static \u0275cmp=v({type:vu,selectors:[["ion-action-sheet"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",cssClass:"cssClass",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",subHeader:"subHeader",translucent:"translucent",trigger:"trigger"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],i),i})(),KI=(()=>{let i=class bu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionAlertDidPresent","ionAlertWillPresent","ionAlertWillDismiss","ionAlertDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}static \u0275fac=function(e){return new(e||bu)(c(V),c(S),c(M))};static \u0275cmp=v({type:bu,selectors:[["ion-alert"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",cssClass:"cssClass",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",inputs:"inputs",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",subHeader:"subHeader",translucent:"translucent",trigger:"trigger"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","inputs","isOpen","keyboardClose","leaveAnimation","message","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],i),i})(),JI=(()=>{let i=class _u{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||_u)(c(V),c(S),c(M))};static \u0275cmp=v({type:_u,selectors:[["ion-app"]],ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({})],i),i})(),e3=(()=>{let i=class Cu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Cu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Cu,selectors:[["ion-avatar"]],ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({})],i),i})(),t3=(()=>{let i=class yu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionBackdropTap"])}static \u0275fac=function(e){return new(e||yu)(c(V),c(S),c(M))};static \u0275cmp=v({type:yu,selectors:[["ion-backdrop"]],inputs:{stopPropagation:"stopPropagation",tappable:"tappable",visible:"visible"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["stopPropagation","tappable","visible"]})],i),i})(),i3=(()=>{let i=class xu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||xu)(c(V),c(S),c(M))};static \u0275cmp=v({type:xu,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","mode"]})],i),i})(),n3=(()=>{let i=class wu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionFocus","ionBlur"])}static \u0275fac=function(e){return new(e||wu)(c(V),c(S),c(M))};static \u0275cmp=v({type:wu,selectors:[["ion-breadcrumb"]],inputs:{active:"active",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",separator:"separator",target:"target"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["active","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","separator","target"]})],i),i})(),o3=(()=>{let i=class Iu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionCollapsedClick"])}static \u0275fac=function(e){return new(e||Iu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Iu,selectors:[["ion-breadcrumbs"]],inputs:{color:"color",itemsAfterCollapse:"itemsAfterCollapse",itemsBeforeCollapse:"itemsBeforeCollapse",maxItems:"maxItems",mode:"mode"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","itemsAfterCollapse","itemsBeforeCollapse","maxItems","mode"]})],i),i})(),r3=(()=>{let i=class Su{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionFocus","ionBlur"])}static \u0275fac=function(e){return new(e||Su)(c(V),c(S),c(M))};static \u0275cmp=v({type:Su,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],i),i})(),a3=(()=>{let i=class Eu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Eu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Eu,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["collapse"]})],i),i})(),s3=(()=>{let i=class Mu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Mu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Mu,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],i),i})(),l3=(()=>{let i=class Du{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Du)(c(V),c(S),c(M))};static \u0275cmp=v({type:Du,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["mode"]})],i),i})(),c3=(()=>{let i=class ku{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||ku)(c(V),c(S),c(M))};static \u0275cmp=v({type:ku,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","mode","translucent"]})],i),i})(),d3=(()=>{let i=class Tu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Tu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Tu,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","mode"]})],i),i})(),u3=(()=>{let i=class Ou{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Ou)(c(V),c(S),c(M))};static \u0275cmp=v({type:Ou,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","mode"]})],i),i})(),m3=(()=>{let i=class Pu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionChange","ionFocus","ionBlur"])}static \u0275fac=function(e){return new(e||Pu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Pu,selectors:[["ion-checkbox"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",mode:"mode",name:"name",value:"value"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","mode","name","value"]})],i),i})(),p3=(()=>{let i=class Fu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Fu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Fu,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","disabled","mode","outline"]})],i),i})(),h3=(()=>{let i=class Au{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Au)(c(V),c(S),c(M))};static \u0275cmp=v({type:Au,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],i),i})(),f3=(()=>{let i=class Ru{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}static \u0275fac=function(e){return new(e||Ru)(c(V),c(S),c(M))};static \u0275cmp=v({type:Ru,selectors:[["ion-content"]],inputs:{color:"color",fixedSlotPlacement:"fixedSlotPlacement",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","fixedSlotPlacement","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],i),i})(),g3=(()=>{let i=class Lu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}static \u0275fac=function(e){return new(e||Lu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Lu,selectors:[["ion-datetime"]],inputs:{cancelText:"cancelText",clearText:"clearText",color:"color",dayValues:"dayValues",disabled:"disabled",doneText:"doneText",firstDayOfWeek:"firstDayOfWeek",formatOptions:"formatOptions",highlightedDates:"highlightedDates",hourCycle:"hourCycle",hourValues:"hourValues",isDateEnabled:"isDateEnabled",locale:"locale",max:"max",min:"min",minuteValues:"minuteValues",mode:"mode",monthValues:"monthValues",multiple:"multiple",name:"name",preferWheel:"preferWheel",presentation:"presentation",readonly:"readonly",showClearButton:"showClearButton",showDefaultButtons:"showDefaultButtons",showDefaultTimeLabel:"showDefaultTimeLabel",showDefaultTitle:"showDefaultTitle",size:"size",titleSelectedDatesFormatter:"titleSelectedDatesFormatter",value:"value",yearValues:"yearValues"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["cancelText","clearText","color","dayValues","disabled","doneText","firstDayOfWeek","formatOptions","highlightedDates","hourCycle","hourValues","isDateEnabled","locale","max","min","minuteValues","mode","monthValues","multiple","name","preferWheel","presentation","readonly","showClearButton","showDefaultButtons","showDefaultTimeLabel","showDefaultTitle","size","titleSelectedDatesFormatter","value","yearValues"],methods:["confirm","reset","cancel"]})],i),i})(),v3=(()=>{let i=class ju{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||ju)(c(V),c(S),c(M))};static \u0275cmp=v({type:ju,selectors:[["ion-datetime-button"]],inputs:{color:"color",datetime:"datetime",disabled:"disabled",mode:"mode"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","datetime","disabled","mode"]})],i),i})(),b3=(()=>{let i=class Vu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Vu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Vu,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],i),i})(),_3=(()=>{let i=class Nu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionFocus","ionBlur"])}static \u0275fac=function(e){return new(e||Nu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Nu,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],i),i})(),C3=(()=>{let i=class Bu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Bu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Bu,selectors:[["ion-fab-list"]],inputs:{activated:"activated",side:"side"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["activated","side"]})],i),i})(),y3=(()=>{let i=class zu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||zu)(c(V),c(S),c(M))};static \u0275cmp=v({type:zu,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["collapse","mode","translucent"]})],i),i})(),x3=(()=>{let i=class Hu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Hu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Hu,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["fixed"]})],i),i})(),w3=(()=>{let i=class $u{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||$u)(c(V),c(S),c(M))};static \u0275cmp=v({type:$u,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["collapse","mode","translucent"]})],i),i})(),I3=(()=>{let i=class Uu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Uu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Uu,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],i),i})(),S3=(()=>{let i=class Wu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}static \u0275fac=function(e){return new(e||Wu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Wu,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["alt","src"]})],i),i})(),E3=(()=>{let i=class Gu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionInfinite"])}static \u0275fac=function(e){return new(e||Gu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Gu,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["disabled","position","threshold"],methods:["complete"]})],i),i})(),M3=(()=>{let i=class Zu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Zu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Zu,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["loadingSpinner","loadingText"]})],i),i})(),D3=(()=>{let i=class qu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}static \u0275fac=function(e){return new(e||qu)(c(V),c(S),c(M))};static \u0275cmp=v({type:qu,selectors:[["ion-input"]],inputs:{autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearInputIcon:"clearInputIcon",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearInputIcon","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],i),i})(),k3=(()=>{let i=class Yu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Yu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Yu,selectors:[["ion-input-password-toggle"]],inputs:{color:"color",hideIcon:"hideIcon",mode:"mode",showIcon:"showIcon"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","hideIcon","mode","showIcon"]})],i),i})(),T3=(()=>{let i=class Xu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Xu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Xu,selectors:[["ion-item"]],inputs:{button:"button",color:"color",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerAnimation","routerDirection","target","type"]})],i),i})(),O3=(()=>{let i=class Qu{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Qu)(c(V),c(S),c(M))};static \u0275cmp=v({type:Qu,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","mode","sticky"]})],i),i})(),P3=(()=>{let i=class Ku{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Ku)(c(V),c(S),c(M))};static \u0275cmp=v({type:Ku,selectors:[["ion-item-group"]],ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({})],i),i})(),F3=(()=>{let i=class Ju{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Ju)(c(V),c(S),c(M))};static \u0275cmp=v({type:Ju,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],i),i})(),A3=(()=>{let i=class em{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionSwipe"])}static \u0275fac=function(e){return new(e||em)(c(V),c(S),c(M))};static \u0275cmp=v({type:em,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["side"]})],i),i})(),R3=(()=>{let i=class tm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionDrag"])}static \u0275fac=function(e){return new(e||tm)(c(V),c(S),c(M))};static \u0275cmp=v({type:tm,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],i),i})(),L3=(()=>{let i=class im{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||im)(c(V),c(S),c(M))};static \u0275cmp=v({type:im,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","mode","position"]})],i),i})(),j3=(()=>{let i=class nm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||nm)(c(V),c(S),c(M))};static \u0275cmp=v({type:nm,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],i),i})(),V3=(()=>{let i=class om{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||om)(c(V),c(S),c(M))};static \u0275cmp=v({type:om,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","lines","mode"]})],i),i})(),N3=(()=>{let i=class rm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionLoadingDidPresent","ionLoadingWillPresent","ionLoadingWillDismiss","ionLoadingDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}static \u0275fac=function(e){return new(e||rm)(c(V),c(S),c(M))};static \u0275cmp=v({type:rm,selectors:[["ion-loading"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",showBackdrop:"showBackdrop",spinner:"spinner",translucent:"translucent",trigger:"trigger"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["animated","backdropDismiss","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","message","mode","showBackdrop","spinner","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],i),i})(),B3=(()=>{let i=class am{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}static \u0275fac=function(e){return new(e||am)(c(V),c(S),c(M))};static \u0275cmp=v({type:am,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],i),i})(),z3=(()=>{let i=class sm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||sm)(c(V),c(S),c(M))};static \u0275cmp=v({type:sm,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["autoHide","color","disabled","menu","mode","type"]})],i),i})(),H3=(()=>{let i=class lm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||lm)(c(V),c(S),c(M))};static \u0275cmp=v({type:lm,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["autoHide","menu"]})],i),i})(),$3=(()=>{let i=class cm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||cm)(c(V),c(S),c(M))};static \u0275cmp=v({type:cm,selectors:[["ion-nav-link"]],inputs:{component:"component",componentProps:"componentProps",routerAnimation:"routerAnimation",routerDirection:"routerDirection"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["component","componentProps","routerAnimation","routerDirection"]})],i),i})(),U3=(()=>{let i=class dm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||dm)(c(V),c(S),c(M))};static \u0275cmp=v({type:dm,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","mode"]})],i),i})(),W3=(()=>{let i=class um{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||um)(c(V),c(S),c(M))};static \u0275cmp=v({type:um,selectors:[["ion-picker"]],inputs:{mode:"mode"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["mode"]})],i),i})(),G3=(()=>{let i=class mm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionChange"])}static \u0275fac=function(e){return new(e||mm)(c(V),c(S),c(M))};static \u0275cmp=v({type:mm,selectors:[["ion-picker-column"]],inputs:{color:"color",disabled:"disabled",mode:"mode",value:"value"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","disabled","mode","value"],methods:["setFocus"]})],i),i})(),Z3=(()=>{let i=class pm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||pm)(c(V),c(S),c(M))};static \u0275cmp=v({type:pm,selectors:[["ion-picker-column-option"]],inputs:{color:"color",disabled:"disabled",value:"value"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","disabled","value"]})],i),i})(),q3=(()=>{let i=class hm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionPickerDidPresent","ionPickerWillPresent","ionPickerWillDismiss","ionPickerDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}static \u0275fac=function(e){return new(e||hm)(c(V),c(S),c(M))};static \u0275cmp=v({type:hm,selectors:[["ion-picker-legacy"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",columns:"columns",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",trigger:"trigger"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["animated","backdropDismiss","buttons","columns","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss","getColumn"]})],i),i})(),Y3=(()=>{let i=class fm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||fm)(c(V),c(S),c(M))};static \u0275cmp=v({type:fm,selectors:[["ion-progress-bar"]],inputs:{buffer:"buffer",color:"color",mode:"mode",reversed:"reversed",type:"type",value:"value"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["buffer","color","mode","reversed","type","value"]})],i),i})(),X3=(()=>{let i=class gm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionFocus","ionBlur"])}static \u0275fac=function(e){return new(e||gm)(c(V),c(S),c(M))};static \u0275cmp=v({type:gm,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",mode:"mode",name:"name",value:"value"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["alignment","color","disabled","justify","labelPlacement","mode","name","value"]})],i),i})(),Q3=(()=>{let i=class vm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionChange"])}static \u0275fac=function(e){return new(e||vm)(c(V),c(S),c(M))};static \u0275cmp=v({type:vm,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",compareWith:"compareWith",name:"name",value:"value"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["allowEmptySelection","compareWith","name","value"]})],i),i})(),K3=(()=>{let i=class bm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}static \u0275fac=function(e){return new(e||bm)(c(V),c(S),c(M))};static \u0275cmp=v({type:bm,selectors:[["ion-range"]],inputs:{activeBarStart:"activeBarStart",color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",label:"label",labelPlacement:"labelPlacement",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",pinFormatter:"pinFormatter",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"]})],i),i})(),J3=(()=>{let i=class _m{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionRefresh","ionPull","ionStart"])}static \u0275fac=function(e){return new(e||_m)(c(V),c(S),c(M))};static \u0275cmp=v({type:_m,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],i),i})(),eS=(()=>{let i=class Cm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Cm)(c(V),c(S),c(M))};static \u0275cmp=v({type:Cm,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],i),i})(),tS=(()=>{let i=class ym{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||ym)(c(V),c(S),c(M))};static \u0275cmp=v({type:ym,selectors:[["ion-reorder"]],ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({})],i),i})(),iS=(()=>{let i=class xm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionItemReorder"])}static \u0275fac=function(e){return new(e||xm)(c(V),c(S),c(M))};static \u0275cmp=v({type:xm,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["disabled"],methods:["complete"]})],i),i})(),nS=(()=>{let i=class wm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||wm)(c(V),c(S),c(M))};static \u0275cmp=v({type:wm,selectors:[["ion-ripple-effect"]],inputs:{type:"type"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["type"],methods:["addRipple"]})],i),i})(),oS=(()=>{let i=class Im{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Im)(c(V),c(S),c(M))};static \u0275cmp=v({type:Im,selectors:[["ion-row"]],ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({})],i),i})(),rS=(()=>{let i=class Sm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}static \u0275fac=function(e){return new(e||Sm)(c(V),c(S),c(M))};static \u0275cmp=v({type:Sm,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",maxlength:"maxlength",minlength:"minlength",mode:"mode",name:"name",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["animated","autocapitalize","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","maxlength","minlength","mode","name","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],i),i})(),aS=(()=>{let i=class Em{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionChange"])}static \u0275fac=function(e){return new(e||Em)(c(V),c(S),c(M))};static \u0275cmp=v({type:Em,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"]})],i),i})(),sS=(()=>{let i=class Mm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Mm)(c(V),c(S),c(M))};static \u0275cmp=v({type:Mm,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["disabled","layout","mode","type","value"]})],i),i})(),lS=(()=>{let i=class Dm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}static \u0275fac=function(e){return new(e||Dm)(c(V),c(S),c(M))};static \u0275cmp=v({type:Dm,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",color:"color",compareWith:"compareWith",disabled:"disabled",expandedIcon:"expandedIcon",fill:"fill",interface:"interface",interfaceOptions:"interfaceOptions",justify:"justify",label:"label",labelPlacement:"labelPlacement",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",shape:"shape",toggleIcon:"toggleIcon",value:"value"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["cancelText","color","compareWith","disabled","expandedIcon","fill","interface","interfaceOptions","justify","label","labelPlacement","mode","multiple","name","okText","placeholder","selectedText","shape","toggleIcon","value"],methods:["open"]})],i),i})(),cS=(()=>{let i=class km{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||km)(c(V),c(S),c(M))};static \u0275cmp=v({type:km,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["disabled","value"]})],i),i})(),dS=(()=>{let i=class Tm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Tm)(c(V),c(S),c(M))};static \u0275cmp=v({type:Tm,selectors:[["ion-skeleton-text"]],inputs:{animated:"animated"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["animated"]})],i),i})(),uS=(()=>{let i=class Om{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Om)(c(V),c(S),c(M))};static \u0275cmp=v({type:Om,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","duration","name","paused"]})],i),i})(),mS=(()=>{let i=class Pm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionSplitPaneVisible"])}static \u0275fac=function(e){return new(e||Pm)(c(V),c(S),c(M))};static \u0275cmp=v({type:Pm,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["contentId","disabled","when"]})],i),i})(),Fm=(()=>{let i=class Am{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Am)(c(V),c(S),c(M))};static \u0275cmp=v({type:Am,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","mode","selectedTab","translucent"]})],i),i})(),pS=(()=>{let i=class Rm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Rm)(c(V),c(S),c(M))};static \u0275cmp=v({type:Rm,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],i),i})(),hS=(()=>{let i=class Lm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Lm)(c(V),c(S),c(M))};static \u0275cmp=v({type:Lm,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","mode"]})],i),i})(),fS=(()=>{let i=class jm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}static \u0275fac=function(e){return new(e||jm)(c(V),c(S),c(M))};static \u0275cmp=v({type:jm,selectors:[["ion-textarea"]],inputs:{autoGrow:"autoGrow",autocapitalize:"autocapitalize",autofocus:"autofocus",clearOnEdit:"clearOnEdit",color:"color",cols:"cols",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",maxlength:"maxlength",minlength:"minlength",mode:"mode",name:"name",placeholder:"placeholder",readonly:"readonly",required:"required",rows:"rows",shape:"shape",spellcheck:"spellcheck",value:"value",wrap:"wrap"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","maxlength","minlength","mode","name","placeholder","readonly","required","rows","shape","spellcheck","value","wrap"],methods:["setFocus","getInputElement"]})],i),i})(),gS=(()=>{let i=class Vm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Vm)(c(V),c(S),c(M))};static \u0275cmp=v({type:Vm,selectors:[["ion-thumbnail"]],ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({})],i),i})(),vS=(()=>{let i=class Nm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Nm)(c(V),c(S),c(M))};static \u0275cmp=v({type:Nm,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","size"]})],i),i})(),bS=(()=>{let i=class Bm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionToastDidPresent","ionToastWillPresent","ionToastWillDismiss","ionToastDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}static \u0275fac=function(e){return new(e||Bm)(c(V),c(S),c(M))};static \u0275cmp=v({type:Bm,selectors:[["ion-toast"]],inputs:{animated:"animated",buttons:"buttons",color:"color",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",icon:"icon",isOpen:"isOpen",keyboardClose:"keyboardClose",layout:"layout",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",position:"position",positionAnchor:"positionAnchor",swipeGesture:"swipeGesture",translucent:"translucent",trigger:"trigger"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["animated","buttons","color","cssClass","duration","enterAnimation","header","htmlAttributes","icon","isOpen","keyboardClose","layout","leaveAnimation","message","mode","position","positionAnchor","swipeGesture","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],i),i})(),_S=(()=>{let i=class zm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement,Qe(this,this.el,["ionChange","ionFocus","ionBlur"])}static \u0275fac=function(e){return new(e||zm)(c(V),c(S),c(M))};static \u0275cmp=v({type:zm,selectors:[["ion-toggle"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",enableOnOffLabels:"enableOnOffLabels",justify:"justify",labelPlacement:"labelPlacement",mode:"mode",name:"name",value:"value"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["alignment","checked","color","disabled","enableOnOffLabels","justify","labelPlacement","mode","name","value"]})],i),i})(),CS=(()=>{let i=class Hm{z;el;constructor(o,e,n){this.z=n,o.detach(),this.el=e.nativeElement}static \u0275fac=function(e){return new(e||Hm)(c(V),c(S),c(M))};static \u0275cmp=v({type:Hm,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})};return i=Y([ie({inputs:["color","mode"]})],i),i})(),ml=(()=>{class i extends tl{parentOutlet;outletContent;constructor(o,e,n,r,a,s,l,d){super(o,e,n,r,a,s,l,d),this.parentOutlet=d}static \u0275fac=function(e){return new(e||i)(Et("name"),Et("tabs"),c(ni),c(S),c(je),c(M),c(it),c(i,12))};static \u0275cmp=v({type:i,selectors:[["ion-router-outlet"]],viewQuery:function(e,n){if(e&1&&xe(jI,7,li),e&2){let r;ne(r=oe())&&(n.outletContent=r.first)}},features:[ke],ngContentSelectors:K,decls:3,vars:0,consts:[["outletContent",""]],template:function(e,n){e&1&&(W(),Zi(0,null,0),R(2),qi())},encapsulation:2})}return i})(),yS=(()=>{class i extends eu{outlet;tabBar;tabBars;static \u0275fac=(()=>{let o;return function(n){return(o||(o=Ct(i)))(n||i)}})();static \u0275cmp=v({type:i,selectors:[["ion-tabs"]],contentQueries:function(e,n,r){if(e&1&&(Ge(r,Fm,5),Ge(r,Fm,4)),e&2){let a;ne(a=oe())&&(n.tabBar=a.first),ne(a=oe())&&(n.tabBars=a)}},viewQuery:function(e,n){if(e&1&&xe(VI,5,ml),e&2){let r;ne(r=oe())&&(n.outlet=r.first)}},features:[ke],ngContentSelectors:BI,decls:6,vars:0,consts:[[1,"tabs-inner"],["tabsInner",""],["tabs","true",3,"stackWillChange","stackDidChange"],["outlet",""]],template:function(e,n){e&1&&(W(NI),R(0),m(1,"div",0,1)(3,"ion-router-outlet",2,3),P("stackWillChange",function(a){return n.onStackWillChange(a)})("stackDidChange",function(a){return n.onStackDidChange(a)}),p()(),R(5,1))},dependencies:[ml],styles:["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]})}return i})(),xS=(()=>{class i extends Xd{constructor(o,e,n,r,a,s){super(o,e,n,r,a,s)}static \u0275fac=function(e){return new(e||i)(c(ml,8),c(Tn),c(sa),c(S),c(M),c(V))};static \u0275cmp=v({type:i,selectors:[["ion-back-button"]],features:[ke],ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})}return i})(),wS=(()=>{class i extends Jd{constructor(o,e,n,r,a,s){super(o,e,n,r,a,s)}static \u0275fac=function(e){return new(e||i)(c(S),c(Ot),c(qe),c(en),c(M),c(V))};static \u0275cmp=v({type:i,selectors:[["ion-nav"]],features:[ke],ngContentSelectors:K,decls:1,vars:0,template:function(e,n){e&1&&(W(),R(0))},encapsulation:2,changeDetection:0})}return i})(),IS=(()=>{class i extends Qd{static \u0275fac=(()=>{let o;return function(n){return(o||(o=Ct(i)))(n||i)}})();static \u0275dir=re({type:i,selectors:[["","routerLink","",5,"a",5,"area"]],features:[ke]})}return i})(),SS=(()=>{class i extends Kd{static \u0275fac=(()=>{let o;return function(n){return(o||(o=Ct(i)))(n||i)}})();static \u0275dir=re({type:i,selectors:[["a","routerLink",""],["area","routerLink",""]],features:[ke]})}return i})(),ES=(()=>{class i extends qd{static \u0275fac=(()=>{let o;return function(n){return(o||(o=Ct(i)))(n||i)}})();static \u0275cmp=v({type:i,selectors:[["ion-modal"]],features:[ke],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(e,n){e&1&&O(0,zI,2,1,"div",0),e&2&&k("ngIf",n.isCmpOpen||n.keepContentsMounted)},dependencies:[hn,yi],encapsulation:2,changeDetection:0})}return i})(),MS=(()=>{class i extends Zd{static \u0275fac=(()=>{let o;return function(n){return(o||(o=Ct(i)))(n||i)}})();static \u0275cmp=v({type:i,selectors:[["ion-popover"]],features:[ke],decls:1,vars:1,consts:[[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(e,n){e&1&&O(0,HI,1,1,"ng-container",0),e&2&&k("ngIf",n.isCmpOpen||n.keepContentsMounted)},dependencies:[hn,yi],encapsulation:2,changeDetection:0})}return i})(),DS={provide:Vi,useExisting:Nt(()=>Dv),multi:!0},Dv=(()=>{class i extends rd{static \u0275fac=(()=>{let o;return function(n){return(o||(o=Ct(i)))(n||i)}})();static \u0275dir=re({type:i,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(e,n){e&2&&Ie("max",n._enabled?n.max:null)},features:[We([DS]),ke]})}return i})(),kS={provide:Vi,useExisting:Nt(()=>kv),multi:!0},kv=(()=>{class i extends ad{static \u0275fac=(()=>{let o;return function(n){return(o||(o=Ct(i)))(n||i)}})();static \u0275dir=re({type:i,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(e,n){e&2&&Ie("min",n._enabled?n.min:null)},features:[We([kS]),ke]})}return i})();var TS=[YI,XI,QI,KI,JI,e3,t3,i3,n3,o3,r3,a3,s3,l3,c3,d3,u3,m3,p3,h3,f3,g3,v3,b3,_3,C3,y3,x3,w3,I3,S3,E3,M3,D3,k3,T3,O3,P3,F3,A3,R3,L3,j3,V3,N3,B3,z3,H3,$3,U3,W3,G3,Z3,q3,Y3,X3,Q3,K3,J3,eS,tS,iS,nS,oS,rS,aS,sS,lS,cS,dS,uS,mS,Fm,pS,hS,fS,gS,vS,bS,_S,CS],PR=[...TS,ES,MS,$I,UI,WI,GI,yS,ml,xS,wS,IS,SS,kv,Dv];function OS(i,t){if(i&1&&(m(0,"mat-option",14),y(1),p()),i&2){let o=t.$implicit,e=C(3);k("value",o.locale.code),h(),Be(" ",e.getLanguageName(o.locale.code)," ")}}function PS(i,t){if(i&1){let o=_e();m(0,"div",15)(1,"button",12),P("click",function(){de(o);let n=C(3);return ue(n.goToWinerim())}),b(2,"img",16),m(3,"span"),y(4),F(5,"translate"),p()()()}i&2&&(h(4),Z($(5,1,"home.winerim")))}function FS(i,t){if(i&1){let o=_e();m(0,"div",5),b(1,"img",6),F(2,"coverImage"),b(3,"img",7),F(4,"userImage"),m(5,"div",8)(6,"div",9)(7,"mat-form-field",10)(8,"mat-label"),y(9),F(10,"translate"),p(),m(11,"mat-select",11),P("selectionChange",function(){de(o);let n=C(2);return ue(n.switchLanguage())}),Ci("valueChange",function(n){de(o);let r=C(2);return ci(r.selectedLanguage,n)||(r.selectedLanguage=n),ue(n)}),Te(12,OS,2,2,"mat-option",14,Zl),p()()(),m(14,"div",9)(15,"button",12),P("click",function(){de(o);let n=C(2);return ue(n.navigate())}),y(16),F(17,"translate"),p()(),O(18,PS,6,3,"div",13),p()()}if(i&2){let o=C(2);h(),k("src",$(2,6,o.menu.coverImage),yt),h(2),k("src",$(4,8,o.menu.user.photo),yt),h(6),Z($(10,10,"home.language")),h(2),_i("value",o.selectedLanguage),h(),Oe(o.menu.locales),h(4),Z($(17,12,"home.view_menu")),h(2),H(18,o.menu.user.winerimUrl?18:-1)}}function AS(i,t){if(i&1&&(m(0,"mat-option",14),y(1),p()),i&2){let o=t.$implicit,e=C(4);k("value",o.locale.code),h(),Be(" ",e.getLanguageName(o.locale.code)," ")}}function RS(i,t){if(i&1){let o=_e();m(0,"div",15)(1,"button",12),P("click",function(){de(o);let n=C(4);return ue(n.goToWinerim())}),b(2,"img",16),m(3,"span"),y(4),F(5,"translate"),p()()()}i&2&&(h(4),Z($(5,1,"home.winerim")))}function LS(i,t){if(i&1){let o=_e();m(0,"div",20)(1,"div",15)(2,"mat-form-field",10)(3,"mat-label"),y(4),F(5,"translate"),p(),m(6,"mat-select",11),P("selectionChange",function(){de(o);let n=C(3);return ue(n.switchLanguage())}),Ci("valueChange",function(n){de(o);let r=C(3);return ci(r.selectedLanguage,n)||(r.selectedLanguage=n),ue(n)}),Te(7,AS,2,2,"mat-option",14,Zl),p()()(),m(9,"div",15)(10,"button",12),P("click",function(){de(o);let n=C(3);return ue(n.navigate())}),y(11),F(12,"translate"),p()(),O(13,RS,6,3,"div",13),p()}if(i&2){let o=C(3);h(4),Z($(5,4,"home.language")),h(2),_i("value",o.selectedLanguage),h(),Oe(o.menu.locales),h(4),Z($(12,6,"home.view_menu")),h(2),H(13,o.menu.user.winerimUrl?13:-1)}}function jS(i,t){if(i&1){let o=_e();m(0,"div",21)(1,"span",22),P("click",function(){de(o);let n=C(3);return ue(n.navigate())}),m(2,"mat-icon"),y(3,"info"),p(),y(4),F(5,"translate"),p()()}i&2&&(h(4),Z($(5,1,"home.view_menu")))}function VS(i,t){if(i&1&&(m(0,"div",17),b(1,"img",18),F(2,"userImage"),m(3,"span"),y(4),p(),O(5,LS,14,8,"div",19)(6,jS,6,3),p()),i&2){let o=C(2);h(),k("src",$(2,3,o.menu.user.photo),yt),h(3),Z(o.menu.user.name),h(),H(5,o.menu.locales.length>1?5:o.menu.locales.length==1?6:-1)}}function NS(i,t){if(i&1){let o=_e();m(0,"div",0),O(1,FS,19,14,"div",1)(2,VS,7,5),m(3,"div",2),b(4,"img",3),m(5,"button",4),P("click",function(){de(o);let n=C();return ue(n.resetLocalStorage())}),y(6,"Reset"),p()()()}if(i&2){let o=C();h(),H(1,o.menu.user.activeModules.includes("coverPage")&&o.menu.coverImage?1:2)}}var Ov=(()=>{let t=class t{constructor(e,n,r,a){this.router=e,this.route=n,this.dialog=r,this.platform=a,this.api=w(Ye),this.local=w(Xe),this.translate=w(Bt),this.selectedLanguage="",this.coverPage=!1,this.languages=[{code:"es",language:"Espa\xF1ol"},{code:"en",language:"English"},{code:"eu",language:"Euskera"},{code:"fr",language:"Fran\xE7ais"},{code:"it",language:"Italiano"},{code:"de",language:"Deutsch"},{code:"ca",language:"Catal\xE0"},{code:"ar",language:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"},{code:"gl",language:"Galego"},{code:"ja",language:"\u65E5\u672C\u8A9E"},{code:"no",language:"Norsk"},{code:"pt",language:"Portugu\xEAs"},{code:"ru",language:"P\u0443\u0441\u0441\u043A\u0438\u0439"},{code:"sv",language:"Svenska"},{code:"zh",language:"\u4E2D\u6587"}]}ngOnInit(){this.getMenu()}getMenu(){this.api.getMenu().subscribe(e=>{this.menu=e;let n=e.locales.find(r=>r.main);n||(n=e.locales[0]),this.selectedLanguage=n.locale.code,this.translate.use(n.locale.code),this.local.saveData("language",n.locale.code)})}getCoverPage(){this.api.getCoverPage().subscribe(e=>{e.photo||(this.coverPage=!1),e.sections&&e.types&&e.types.forEach(n=>{let r=e.sections.find(a=>a.name==n.type);r&&(n.translation=r?.translation)}),e.sections&&delete e.sections,e.types.sort((n,r)=>r[1]-n[1]),this.cover=e})}switchLanguage(){this.translate.use(this.selectedLanguage),this.local.saveData("language",this.selectedLanguage)}getLanguageName(e){return this.languages.find(n=>n.code==e)?.language??this.menu.locales[0].code}navigate(){this.router.navigate(["categories"],{relativeTo:this.route})}resetLocalStorage(){this.dialog.open(yv,{maxWidth:"95vw",minWidth:"350px",width:"500px",panelClass:"modal-no-padding"})}goToWinerim(){return Ae(this,null,function*(){if(this.platform.is("hybrid")){let{completed:e}=yield Iv.openUrl({url:"winerim://"});e||window.open(this.menu.user.winerimUrl,"_blank")}else window.open(this.menu.user.winerimUrl,"_blank")})}};t.\u0275fac=function(n){return new(n||t)(c(je),c(it),c(ba),c(kn))},t.\u0275cmp=v({type:t,selectors:[["app-home"]],standalone:!0,features:[x],decls:1,vars:1,consts:[["id","home"],["class","cover-page"],[1,"absolute-bottom"],["src","/assets/images/logo.png",1,"spiritsrim-logo"],["mat-button","","color","primary",3,"click"],[1,"cover-page"],[1,"background",3,"src"],[1,"cover-page-logo",3,"src"],[1,"cover-page-buttons"],[1,"cover-page-buttons-centered"],["appearance","outline"],[3,"value","selectionChange","valueChange"],["type","button",3,"click"],["class","container-buttons-centered"],[3,"value"],[1,"container-buttons-centered"],["src","/assets/images/logo-winerim.png",1,"winerim-logo"],[1,"container"],[1,"logo",3,"src"],["class","container-buttons"],[1,"container-buttons"],[1,"languages"],[1,"one-language",3,"click"]],template:function(n,r){n&1&&O(0,NS,7,1,"div",0),n&2&&H(0,r.menu?0:-1)},dependencies:[Re,$e,nt,st,Mi,Mn,Ns,lv,sv,Ls,ul,at,Ht,xv,wv],styles:["#home[_ngcontent-%COMP%]{background:#000;display:flex;flex-direction:column;justify-content:center;height:100%;width:100%;position:relative;cursor:default;overflow-x:hidden}#home[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;align-items:center;background-image:url(/assets/images/fondo-carrusel.png);background-repeat:no-repeat;background-position:center;justify-content:center;height:100%;gap:40px}#home[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:80vw;max-width:500px;max-height:200px;object-fit:contain;margin-bottom:36px;margin-top:24px}#home[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{color:#fff;font-size:34px;font-weight:700;line-height:41px;text-align:center}#home[_ngcontent-%COMP%]   .container-buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;width:100%;margin-bottom:40px}#home[_ngcontent-%COMP%]   .container-buttons-centered[_ngcontent-%COMP%]{display:flex;justify-content:center}#home[_ngcontent-%COMP%]   .container-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border:1px solid white;border-radius:6px;background:#0009;color:#fff;width:201px;height:50px;font-size:16px;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:12px}#home[_ngcontent-%COMP%]   .container-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{border-width:2px}#home[_ngcontent-%COMP%]   .container-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mdc-notched-outline__leading, #home[_ngcontent-%COMP%]   .container-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mdc-notched-outline__notch, #home[_ngcontent-%COMP%]   .container-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mdc-notched-outline__trailing{border-color:#fff!important}#home[_ngcontent-%COMP%]   .container-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-input-element, #home[_ngcontent-%COMP%]   .container-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-input-element::placeholder, #home[_ngcontent-%COMP%]   .container-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-select, #home[_ngcontent-%COMP%]   .container-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-select-arrow, #home[_ngcontent-%COMP%]   .container-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-floating-label{color:#fff!important}#home[_ngcontent-%COMP%]   .container-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-text-field-wrapper{padding:0 10px!important;background:#0009}#home[_ngcontent-%COMP%]   .container-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-infix{padding:12px 0!important;min-height:50px!important}#home[_ngcontent-%COMP%]   .container-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-subscript-wrapper{display:none}#home[_ngcontent-%COMP%]   .cover-page[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:36px}#home[_ngcontent-%COMP%]   .cover-page[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{z-index:1}#home[_ngcontent-%COMP%]   .cover-page-logo[_ngcontent-%COMP%]{height:150px;width:150px;border:2px solid white;border-radius:50%;object-fit:contain;background:#0009}#home[_ngcontent-%COMP%]   .cover-page-buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;width:100%;margin-bottom:40px}#home[_ngcontent-%COMP%]   .cover-page-buttons-centered[_ngcontent-%COMP%]{display:flex;justify-content:center}#home[_ngcontent-%COMP%]   .cover-page-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border:1px solid white;border-radius:6px;background:#0009;color:#fff;width:201px;height:50px;font-size:16px;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:12px}#home[_ngcontent-%COMP%]   .cover-page-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{border-width:2px}#home[_ngcontent-%COMP%]   .cover-page-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mdc-notched-outline__leading, #home[_ngcontent-%COMP%]   .cover-page-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mdc-notched-outline__notch, #home[_ngcontent-%COMP%]   .cover-page-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mdc-notched-outline__trailing{border-color:#fff!important}#home[_ngcontent-%COMP%]   .cover-page-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-input-element, #home[_ngcontent-%COMP%]   .cover-page-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-input-element::placeholder, #home[_ngcontent-%COMP%]   .cover-page-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-select, #home[_ngcontent-%COMP%]   .cover-page-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-select-arrow, #home[_ngcontent-%COMP%]   .cover-page-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-floating-label{color:#fff!important}#home[_ngcontent-%COMP%]   .cover-page-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-text-field-wrapper{padding:0 10px!important;background:#0009}#home[_ngcontent-%COMP%]   .cover-page-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-infix{padding:12px 0!important;min-height:50px!important}#home[_ngcontent-%COMP%]   .cover-page-buttons[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-subscript-wrapper{display:none}#home[_ngcontent-%COMP%]   .cover-page-info[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:24px;color:#fff;text-align:center;font-family:Times;letter-spacing:0em}#home[_ngcontent-%COMP%]   .cover-page-info-title[_ngcontent-%COMP%]{font-size:1.5rem;line-height:28px;grid-column:span 2}#home[_ngcontent-%COMP%]   .cover-page-info-data[_ngcontent-%COMP%]{font-size:2rem}#home[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{color:#fff;position:absolute;bottom:46px;right:24px;display:flex;flex-direction:row;align-items:center;gap:10px}#home[_ngcontent-%COMP%]   .absolute-bottom[_ngcontent-%COMP%]{position:absolute;left:50%;bottom:39px;transform:translate(-50%);display:flex;flex-direction:column;align-items:center}#home[_ngcontent-%COMP%]   .absolute-bottom[_ngcontent-%COMP%]   .spiritsrim-logo[_ngcontent-%COMP%]{height:40px}#home[_ngcontent-%COMP%]   .absolute-bottom[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{background:#0000004d}#home[_ngcontent-%COMP%]   .winerim-logo[_ngcontent-%COMP%]{height:60%;object-fit:contain}#home[_ngcontent-%COMP%]   .background[_ngcontent-%COMP%]{height:100vh;width:100vw;max-height:100vh;max-width:100vw;object-fit:cover;position:fixed;top:0;left:0;margin:0;z-index:0!important;filter:brightness(.7)}@media (max-width: 1200px){.cover-page-buttons[_ngcontent-%COMP%]{gap:30px!important}.cover-page-info[_ngcontent-%COMP%]{gap:14px!important}.cover-page-info-title[_ngcontent-%COMP%]{font-size:calc(1.275rem + .3vw)!important}.cover-page-info-data[_ngcontent-%COMP%]{font-size:calc(1.325rem + .9vw)!important}.container-buttons[_ngcontent-%COMP%]{gap:30px!important}}@media (max-width: 840px){.info[_ngcontent-%COMP%]{bottom:92px!important}.cover-page[_ngcontent-%COMP%]{justify-content:flex-start;padding-top:1em;gap:48px!important}.cover-page-buttons[_ngcontent-%COMP%]{grid-template-columns:1fr!important;gap:24px!important;margin-bottom:0!important}.cover-page-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{height:40px!important;font-size:14px!important}.cover-page-buttons[_ngcontent-%COMP%]   .hide-mobile[_ngcontent-%COMP%]{display:none}.cover-page-logo[_ngcontent-%COMP%]{height:100px!important;width:100px!important}.cover-page-info[_ngcontent-%COMP%]{gap:8px!important}.cover-page-info-title[_ngcontent-%COMP%]{font-size:calc(.875rem + .3vw)!important}.cover-page-info-data[_ngcontent-%COMP%]{font-size:calc(1rem + .9vw)!important}.container[_ngcontent-%COMP%]{gap:24px!important}.container-buttons[_ngcontent-%COMP%]{grid-template-columns:1fr!important;gap:24px!important;margin-bottom:0!important}.container-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{height:40px!important;font-size:14px!important}.container-buttons[_ngcontent-%COMP%]   .hide-mobile[_ngcontent-%COMP%]{display:none}}  .mat-select-panel{max-height:235px!important}"]});let i=t;return i})();var pl=(()=>{let t=class t{constructor(){this.translateService=w(Bt)}transform(e,n){if(!e)return"";let r=e.translations?.find(a=>a.locale.code==(this.translateService.currentLang??"es"));return r&&r[n]||(r=e.translations[0]??null,r&&r[n])?r[n]:null}};t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=Vt({name:"menuTranslation",type:t,pure:!0,standalone:!0});let i=t;return i})();function BS(i,t){if(i&1){let o=_e();m(0,"div",1),P("click",function(){de(o);let n=C();return ue(n.changeSection(n.SECTIONS.RECOMMENDED))}),m(1,"span"),y(2),F(3,"translate"),F(4,"menuTranslation"),p()()}if(i&2){let o=C(),e;ee("selected-option",o.section==o.SECTIONS.RECOMMENDED),h(2),Z($(3,3,(e=et(4,5,o.menu,o.SECTIONS.RECOMMENDED))!==null&&e!==void 0?e:"menu.highlight"))}}function zS(i,t){if(i&1){let o=_e();m(0,"div",1),P("click",function(){de(o);let n=C();return ue(n.changeSection(n.SECTIONS.SELECTION))}),m(1,"span"),y(2),F(3,"translate"),F(4,"menuTranslation"),p()()}if(i&2){let o=C(),e;ee("selected-option",o.section==o.SECTIONS.SELECTION),h(2),Z($(3,3,(e=et(4,5,o.menu,o.SECTIONS.SELECTION))!==null&&e!==void 0?e:"menu.selection"))}}var $m=(()=>{let t=class t{constructor(){this.SECTIONS=pt.SECTIONS,this.local=w(Xe),this.section="",this.update=new I,this.hasRecommended=!1,this.showRecommended=!1,this.showSelection=!1}ngOnInit(){this.hasRecommended=this.menu.hasRecommended??!0,this.showRecommended=this.menu.sections?.includes("recommended")??!0,this.showSelection=this.menu.sections?.includes("selection")??!0}changeSection(e){this.local.saveData("section",e),this.update.emit(e)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["app-section-switch"]],inputs:{menu:"menu",section:"section"},outputs:{update:"update"},standalone:!0,features:[x],decls:12,vars:15,consts:[[1,"section-switch"],[1,"section-switch-option",3,"click"],["class","section-switch-option",3,"selected-option"]],template:function(n,r){if(n&1&&(m(0,"div",0)(1,"div",1),P("click",function(){return r.changeSection(r.SECTIONS.MENU)}),m(2,"span"),y(3),F(4,"translate"),p()(),O(5,BS,5,8,"div",2)(6,zS,5,8,"div",2),m(7,"div",1),P("click",function(){return r.changeSection(r.SECTIONS.FAVORITES)}),m(8,"span"),y(9),F(10,"translate"),F(11,"menuTranslation"),p()()()),n&2){let a;h(),ee("selected-option",r.section==r.SECTIONS.MENU),h(2),Z($(4,8,"menu.menu")),h(2),H(5,r.hasRecommended&&r.showRecommended?5:-1),h(),H(6,r.showSelection?6:-1),h(),ee("selected-option",r.section==r.SECTIONS.FAVORITES),h(2),Z($(10,10,(a=et(11,12,r.menu,r.SECTIONS.FAVORITES))!==null&&a!==void 0?a:"menu.favorites"))}},dependencies:[pl,Re,$e],styles:[".section-switch[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;background-color:#7676803d;border-radius:4px;border:1px solid #FFFFFF;height:34px;max-width:calc(100dvw - 80px)}.section-switch-option[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex:1 1 115px;border-right:1px solid #FFFFFF;height:100%;cursor:pointer}.section-switch-option[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 8px)}.section-switch-option[_ngcontent-%COMP%]:first-child{border-radius:4px 0 0 4px}.section-switch-option[_ngcontent-%COMP%]:last-child{border-radius:0 4px 4px 0;border-right:none}.section-switch-option.selected-option[_ngcontent-%COMP%]{background-color:#fff}.section-switch-option.selected-option[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{filter:invert(1)}@media (width < 576px){.section-switch[_ngcontent-%COMP%]{max-width:calc(100dvw - 68px)!important}span[_ngcontent-%COMP%]{font-size:14px}}"]});let i=t;return i})();function HS(i,t){i&1&&(m(0,"span"),y(1),F(2,"translate"),p()),i&2&&(h(),Z($(2,1,"menu.title")))}function $S(i,t){if(i&1&&(m(0,"span"),y(1),F(2,"translate"),F(3,"menuTranslation"),p()),i&2){let o=C(),e;h(),Z($(2,1,(e=et(3,3,o.menu,o.SECTIONS.FAVORITES))!==null&&e!==void 0?e:"menu.favorites"))}}function US(i,t){if(i&1&&(m(0,"span"),y(1),F(2,"translate"),F(3,"menuTranslation"),p()),i&2){let o=C(),e;h(),Z($(2,1,(e=et(3,3,o.menu,o.SECTIONS.RECOMMENDED))!==null&&e!==void 0?e:"menu.highlight"))}}function WS(i,t){if(i&1&&(m(0,"span"),y(1),F(2,"translate"),F(3,"menuTranslation"),p()),i&2){let o=C(),e;h(),Z($(2,1,(e=et(3,3,o.menu,o.SECTIONS.SELECTION))!==null&&e!==void 0?e:"menu.selection"))}}function GS(i,t){i&1&&b(0,"span")}var Pv=(()=>{let t=class t{constructor(){this.SECTIONS=pt.SECTIONS,this.section=""}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["app-menu-title"]],inputs:{menu:"menu",section:"section"},standalone:!0,features:[x],decls:5,vars:1,template:function(n,r){if(n&1&&O(0,HS,3,3)(1,$S,4,6)(2,US,4,6)(3,WS,4,6)(4,GS,1,0),n&2){let a;H(0,(a=r.section)===r.SECTIONS.MENU?0:a===r.SECTIONS.FAVORITES?1:a===r.SECTIONS.RECOMMENDED?2:a===r.SECTIONS.SELECTION?3:4)}},dependencies:[pl,Re,$e],styles:["span[_ngcontent-%COMP%]{font-size:34px;line-height:41px;font-weight:700;color:#fff}"]});let i=t;return i})();function ZS(i,t){if(i&1){let o=_e();q(),Gi(),m(0,"div",1),P("click",function(){de(o);let n=C();return ue(n.changeView(n.VIEWS.TRADITIONAL))}),q(),m(1,"svg",2)(2,"g",9),b(3,"path",10),p(),m(4,"defs")(5,"clipPath",11),b(6,"rect",6),p()()()()}if(i&2){let o=C();ee("selected-option",o.view==o.VIEWS.TRADITIONAL)}}var Fv=(()=>{let t=class t{constructor(){this.VIEWS=pt.VIEWS,this.local=w(Xe),this.view="",this.update=new I,this.hasGrouped=!1}ngOnInit(){this.hasGrouped=this.menu.formats?.includes("grouped")??!0}changeView(e){this.local.setDataWithExpiration("view",e,0,10),this.update.emit(e)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["app-view-switch"]],inputs:{view:"view",menu:"menu"},outputs:{update:"update"},standalone:!0,features:[x],decls:12,vars:5,consts:[[1,"view-switch"],[1,"view-switch-option",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","viewBox","0 0 16 17","fill","none"],["clip-path","url(#clip0_3043_173058)"],["d","M10.9995 0.499023H2.99951C2.46908 0.499023 1.96037 0.709737 1.5853 1.08481C1.21023 1.45988 0.999512 1.96859 0.999512 2.49902V14.499C0.999512 15.0295 1.21023 15.5382 1.5853 15.9132C1.96037 16.2883 2.46908 16.499 2.99951 16.499H10.9995C11.5299 16.499 12.0387 16.2883 12.4137 15.9132C12.7888 15.5382 12.9995 15.0295 12.9995 14.499C13.5299 14.499 14.0387 14.2883 14.4137 13.9132C14.7888 13.5382 14.9995 13.0295 14.9995 12.499V4.49902C14.9995 3.96859 14.7888 3.45988 14.4137 3.08481C14.0387 2.70974 13.5299 2.49902 12.9995 2.49902C12.9995 1.96859 12.7888 1.45988 12.4137 1.08481C12.0387 0.709737 11.5299 0.499023 10.9995 0.499023ZM12.9995 3.49902C13.2647 3.49902 13.5191 3.60438 13.7066 3.79192C13.8942 3.97945 13.9995 4.23381 13.9995 4.49902V12.499C13.9995 12.7642 13.8942 13.0186 13.7066 13.2061C13.5191 13.3937 13.2647 13.499 12.9995 13.499V3.49902ZM1.99951 2.49902C1.99951 2.23381 2.10487 1.97945 2.2924 1.79192C2.47994 1.60438 2.7343 1.49902 2.99951 1.49902H10.9995C11.2647 1.49902 11.5191 1.60438 11.7066 1.79192C11.8942 1.97945 11.9995 2.23381 11.9995 2.49902V14.499C11.9995 14.7642 11.8942 15.0186 11.7066 15.2061C11.5191 15.3937 11.2647 15.499 10.9995 15.499H2.99951C2.7343 15.499 2.47994 15.3937 2.2924 15.2061C2.10487 15.0186 1.99951 14.7642 1.99951 14.499V2.49902Z","fill","#212529"],["id","clip0_3043_173058"],["width","16","height","16","fill","white","transform","translate(0 0.5)"],["d","M2.99951 4.99902H12.9995C13.5299 4.99902 14.0387 5.20974 14.4137 5.58481C14.7888 5.95988 14.9995 6.46859 14.9995 6.99902V9.99902C14.9995 10.5295 14.7888 11.0382 14.4137 11.4132C14.0387 11.7883 13.5299 11.999 12.9995 11.999H2.99951C2.46908 11.999 1.96037 11.7883 1.5853 11.4132C1.21023 11.0382 0.999512 10.5295 0.999512 9.99902V6.99902C0.999512 6.46859 1.21023 5.95988 1.5853 5.58481C1.96037 5.20974 2.46908 4.99902 2.99951 4.99902ZM2.99951 5.99902C2.7343 5.99902 2.47994 6.10438 2.2924 6.29192C2.10487 6.47945 1.99951 6.73381 1.99951 6.99902V9.99902C1.99951 10.2642 2.10487 10.5186 2.2924 10.7061C2.47994 10.8937 2.7343 10.999 2.99951 10.999H12.9995C13.2647 10.999 13.5191 10.8937 13.7066 10.7061C13.8942 10.5186 13.9995 10.2642 13.9995 9.99902V6.99902C13.9995 6.73381 13.8942 6.47945 13.7066 6.29192C13.5191 6.10438 13.2647 5.99902 12.9995 5.99902H2.99951ZM0.999512 2.49902C0.999512 2.36642 1.05219 2.23924 1.14596 2.14547C1.23973 2.0517 1.3669 1.99902 1.49951 1.99902H14.4995C14.6321 1.99902 14.7593 2.0517 14.8531 2.14547C14.9468 2.23924 14.9995 2.36642 14.9995 2.49902C14.9995 2.63163 14.9468 2.75881 14.8531 2.85258C14.7593 2.94634 14.6321 2.99902 14.4995 2.99902H1.49951C1.3669 2.99902 1.23973 2.94634 1.14596 2.85258C1.05219 2.75881 0.999512 2.63163 0.999512 2.49902ZM0.999512 14.499C0.999512 14.3664 1.05219 14.2392 1.14596 14.1455C1.23973 14.0517 1.3669 13.999 1.49951 13.999H14.4995C14.6321 13.999 14.7593 14.0517 14.8531 14.1455C14.9468 14.2392 14.9995 14.3664 14.9995 14.499C14.9995 14.6316 14.9468 14.7588 14.8531 14.8526C14.7593 14.9463 14.6321 14.999 14.4995 14.999H1.49951C1.3669 14.999 1.23973 14.9463 1.14596 14.8526C1.05219 14.7588 0.999512 14.6316 0.999512 14.499Z","fill","#212529"],["class","view-switch-option",3,"selected-option"],["clip-path","url(#clip0_3043_172659)"],["fill-rule","evenodd","clip-rule","evenodd","d","M-0.000488281 0.999023C-0.000488281 0.866415 0.0521901 0.739238 0.145958 0.64547C0.239727 0.551702 0.366903 0.499023 0.499512 0.499023H9.49951C9.63212 0.499023 9.7593 0.551702 9.85307 0.64547C9.94683 0.739238 9.99951 0.866415 9.99951 0.999023C9.99951 1.13163 9.94683 1.25881 9.85307 1.35258C9.7593 1.44635 9.63212 1.49902 9.49951 1.49902H0.499512C0.366903 1.49902 0.239727 1.44635 0.145958 1.35258C0.0521901 1.25881 -0.000488281 1.13163 -0.000488281 0.999023ZM12.9995 0.999023C12.9995 0.866415 13.0522 0.739238 13.146 0.64547C13.2397 0.551702 13.3669 0.499023 13.4995 0.499023H15.4995C15.6321 0.499023 15.7593 0.551702 15.8531 0.64547C15.9468 0.739238 15.9995 0.866415 15.9995 0.999023C15.9995 1.13163 15.9468 1.25881 15.8531 1.35258C15.7593 1.44635 15.6321 1.49902 15.4995 1.49902H13.4995C13.3669 1.49902 13.2397 1.44635 13.146 1.35258C13.0522 1.25881 12.9995 1.13163 12.9995 0.999023ZM-0.000488281 2.99902C-0.000488281 2.86642 0.0521901 2.73924 0.145958 2.64547C0.239727 2.5517 0.366903 2.49902 0.499512 2.49902H8.49951C8.63212 2.49902 8.7593 2.5517 8.85307 2.64547C8.94683 2.73924 8.99951 2.86642 8.99951 2.99902C8.99951 3.13163 8.94683 3.25881 8.85307 3.35258C8.7593 3.44634 8.63212 3.49902 8.49951 3.49902H0.499512C0.366903 3.49902 0.239727 3.44634 0.145958 3.35258C0.0521901 3.25881 -0.000488281 3.13163 -0.000488281 2.99902ZM12.9995 2.99902C12.9995 2.86642 13.0522 2.73924 13.146 2.64547C13.2397 2.5517 13.3669 2.49902 13.4995 2.49902H15.4995C15.6321 2.49902 15.7593 2.5517 15.8531 2.64547C15.9468 2.73924 15.9995 2.86642 15.9995 2.99902C15.9995 3.13163 15.9468 3.25881 15.8531 3.35258C15.7593 3.44634 15.6321 3.49902 15.4995 3.49902H13.4995C13.3669 3.49902 13.2397 3.44634 13.146 3.35258C13.0522 3.25881 12.9995 3.13163 12.9995 2.99902ZM-0.000488281 4.99902C-0.000488281 4.86642 0.0521901 4.73924 0.145958 4.64547C0.239727 4.5517 0.366903 4.49902 0.499512 4.49902H10.4995C10.6321 4.49902 10.7593 4.5517 10.8531 4.64547C10.9468 4.73924 10.9995 4.86642 10.9995 4.99902C10.9995 5.13163 10.9468 5.25881 10.8531 5.35258C10.7593 5.44634 10.6321 5.49902 10.4995 5.49902H0.499512C0.366903 5.49902 0.239727 5.44634 0.145958 5.35258C0.0521901 5.25881 -0.000488281 5.13163 -0.000488281 4.99902ZM12.9995 4.99902C12.9995 4.86642 13.0522 4.73924 13.146 4.64547C13.2397 4.5517 13.3669 4.49902 13.4995 4.49902H15.4995C15.6321 4.49902 15.7593 4.5517 15.8531 4.64547C15.9468 4.73924 15.9995 4.86642 15.9995 4.99902C15.9995 5.13163 15.9468 5.25881 15.8531 5.35258C15.7593 5.44634 15.6321 5.49902 15.4995 5.49902H13.4995C13.3669 5.49902 13.2397 5.44634 13.146 5.35258C13.0522 5.25881 12.9995 5.13163 12.9995 4.99902ZM-0.000488281 6.99902C-0.000488281 6.86642 0.0521901 6.73924 0.145958 6.64547C0.239727 6.5517 0.366903 6.49902 0.499512 6.49902H7.49951C7.63212 6.49902 7.7593 6.5517 7.85307 6.64547C7.94683 6.73924 7.99951 6.86642 7.99951 6.99902C7.99951 7.13163 7.94683 7.25881 7.85307 7.35258C7.7593 7.44634 7.63212 7.49902 7.49951 7.49902H0.499512C0.366903 7.49902 0.239727 7.44634 0.145958 7.35258C0.0521901 7.25881 -0.000488281 7.13163 -0.000488281 6.99902ZM12.9995 6.99902C12.9995 6.86642 13.0522 6.73924 13.146 6.64547C13.2397 6.5517 13.3669 6.49902 13.4995 6.49902H15.4995C15.6321 6.49902 15.7593 6.5517 15.8531 6.64547C15.9468 6.73924 15.9995 6.86642 15.9995 6.99902C15.9995 7.13163 15.9468 7.25881 15.8531 7.35258C15.7593 7.44634 15.6321 7.49902 15.4995 7.49902H13.4995C13.3669 7.49902 13.2397 7.44634 13.146 7.35258C13.0522 7.25881 12.9995 7.13163 12.9995 6.99902ZM-0.000488281 8.99902C-0.000488281 8.86642 0.0521901 8.73924 0.145958 8.64547C0.239727 8.5517 0.366903 8.49902 0.499512 8.49902H7.49951C7.63212 8.49902 7.7593 8.5517 7.85307 8.64547C7.94683 8.73924 7.99951 8.86642 7.99951 8.99902C7.99951 9.13163 7.94683 9.25881 7.85307 9.35258C7.7593 9.44635 7.63212 9.49902 7.49951 9.49902H0.499512C0.366903 9.49902 0.239727 9.44635 0.145958 9.35258C0.0521901 9.25881 -0.000488281 9.13163 -0.000488281 8.99902ZM12.9995 8.99902C12.9995 8.86642 13.0522 8.73924 13.146 8.64547C13.2397 8.5517 13.3669 8.49902 13.4995 8.49902H15.4995C15.6321 8.49902 15.7593 8.5517 15.8531 8.64547C15.9468 8.73924 15.9995 8.86642 15.9995 8.99902C15.9995 9.13163 15.9468 9.25881 15.8531 9.35258C15.7593 9.44635 15.6321 9.49902 15.4995 9.49902H13.4995C13.3669 9.49902 13.2397 9.44635 13.146 9.35258C13.0522 9.25881 12.9995 9.13163 12.9995 8.99902ZM-0.000488281 10.999C-0.000488281 10.8664 0.0521901 10.7392 0.145958 10.6455C0.239727 10.5517 0.366903 10.499 0.499512 10.499H9.49951C9.63212 10.499 9.7593 10.5517 9.85307 10.6455C9.94683 10.7392 9.99951 10.8664 9.99951 10.999C9.99951 11.1316 9.94683 11.2588 9.85307 11.3526C9.7593 11.4463 9.63212 11.499 9.49951 11.499H0.499512C0.366903 11.499 0.239727 11.4463 0.145958 11.3526C0.0521901 11.2588 -0.000488281 11.1316 -0.000488281 10.999ZM12.9995 10.999C12.9995 10.8664 13.0522 10.7392 13.146 10.6455C13.2397 10.5517 13.3669 10.499 13.4995 10.499H15.4995C15.6321 10.499 15.7593 10.5517 15.8531 10.6455C15.9468 10.7392 15.9995 10.8664 15.9995 10.999C15.9995 11.1316 15.9468 11.2588 15.8531 11.3526C15.7593 11.4463 15.6321 11.499 15.4995 11.499H13.4995C13.3669 11.499 13.2397 11.4463 13.146 11.3526C13.0522 11.2588 12.9995 11.1316 12.9995 10.999ZM-0.000488281 12.999C-0.000488281 12.8664 0.0521901 12.7392 0.145958 12.6455C0.239727 12.5517 0.366903 12.499 0.499512 12.499H5.49951C5.63212 12.499 5.7593 12.5517 5.85307 12.6455C5.94683 12.7392 5.99951 12.8664 5.99951 12.999C5.99951 13.1316 5.94683 13.2588 5.85307 13.3526C5.7593 13.4463 5.63212 13.499 5.49951 13.499H0.499512C0.366903 13.499 0.239727 13.4463 0.145958 13.3526C0.0521901 13.2588 -0.000488281 13.1316 -0.000488281 12.999ZM12.9995 12.999C12.9995 12.8664 13.0522 12.7392 13.146 12.6455C13.2397 12.5517 13.3669 12.499 13.4995 12.499H15.4995C15.6321 12.499 15.7593 12.5517 15.8531 12.6455C15.9468 12.7392 15.9995 12.8664 15.9995 12.999C15.9995 13.1316 15.9468 13.2588 15.8531 13.3526C15.7593 13.4463 15.6321 13.499 15.4995 13.499H13.4995C13.3669 13.499 13.2397 13.4463 13.146 13.3526C13.0522 13.2588 12.9995 13.1316 12.9995 12.999ZM-0.000488281 14.999C-0.000488281 14.8664 0.0521901 14.7392 0.145958 14.6455C0.239727 14.5517 0.366903 14.499 0.499512 14.499H10.4995C10.6321 14.499 10.7593 14.5517 10.8531 14.6455C10.9468 14.7392 10.9995 14.8664 10.9995 14.999C10.9995 15.1316 10.9468 15.2588 10.8531 15.3526C10.7593 15.4463 10.6321 15.499 10.4995 15.499H0.499512C0.366903 15.499 0.239727 15.4463 0.145958 15.3526C0.0521901 15.2588 -0.000488281 15.1316 -0.000488281 14.999ZM12.9995 14.999C12.9995 14.8664 13.0522 14.7392 13.146 14.6455C13.2397 14.5517 13.3669 14.499 13.4995 14.499H15.4995C15.6321 14.499 15.7593 14.5517 15.8531 14.6455C15.9468 14.7392 15.9995 14.8664 15.9995 14.999C15.9995 15.1316 15.9468 15.2588 15.8531 15.3526C15.7593 15.4463 15.6321 15.499 15.4995 15.499H13.4995C13.3669 15.499 13.2397 15.4463 13.146 15.3526C13.0522 15.2588 12.9995 15.1316 12.9995 14.999Z","fill","#212529"],["id","clip0_3043_172659"]],template:function(n,r){n&1&&(m(0,"div",0)(1,"div",1),P("click",function(){return r.changeView(r.VIEWS.CAROUSEL)}),q(),m(2,"svg",2)(3,"g",3),b(4,"path",4),p(),m(5,"defs")(6,"clipPath",5),b(7,"rect",6),p()()()(),Gi(),m(8,"div",1),P("click",function(){return r.changeView(r.VIEWS.GRID)}),q(),m(9,"svg",2),b(10,"path",7),p()(),O(11,ZS,7,2,"div",8),p()),n&2&&(h(),ee("selected-option",r.view==r.VIEWS.CAROUSEL),h(7),ee("selected-option",r.view==r.VIEWS.GRID),h(3),H(11,r.hasGrouped?11:-1))},styles:[".view-switch[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;background-color:#7676803d;border-radius:4px;width:100px;border:1px solid #FFFFFF;height:34px}.view-switch-option[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex:1 1 100%;border-right:1px solid #FFFFFF;height:100%;cursor:pointer}.view-switch-option[_ngcontent-%COMP%]:first-child{border-radius:4px 0 0 4px}.view-switch-option[_ngcontent-%COMP%]:last-child{border-radius:0 4px 4px 0;border-right:none}.view-switch-option.selected-option[_ngcontent-%COMP%]{background-color:#fff}.view-switch-option[_ngcontent-%COMP%]:not(.selected-option)   svg[_ngcontent-%COMP%]{filter:invert(1)}"]});let i=t;return i})();function qS(i,t){if(i&1){let o=_e();m(0,"button",6),P("click",function(){de(o);let n=C(2);return ue(n.clearSearch())}),y(1),F(2,"translate"),p()}i&2&&(h(),Z($(2,1,"menu.cancel_search")))}function YS(i,t){if(i&1){let o=_e();m(0,"mat-form-field",1)(1,"mat-icon",2),y(2,"search"),p(),m(3,"input",3,4),P("keyup",function(n){de(o);let r=C();return ue(r.applySearch(n))}),Ci("ngModelChange",function(n){de(o);let r=C();return ci(r.search,n)||(r.search=n),ue(n)}),F(5,"translate"),p()(),O(6,qS,3,3,"button",5)}if(i&2){let o=C();h(3),vr("placeholder",$(5,3,"menu.search")),_i("ngModel",o.search),h(3),H(6,o.search.length>0?6:-1)}}var Av=(()=>{let t=class t{constructor(){this.SECTIONS=pt.SECTIONS,this.local=w(Xe),this.section="",this.search="",this.update=new I}applySearch(e){let n=e.target.value;this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout(()=>{this.local.saveData("search",n),this.update.emit(n)},500)}clearSearch(){this.local.saveData("search",""),this.update.emit("")}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["app-search"]],inputs:{section:"section",search:"search"},outputs:{update:"update"},standalone:!0,features:[x],decls:2,vars:3,consts:[[1,"search"],["appearance","outline"],["matPrefix","",1,"black-medium-text"],["matInput","","autocomplete","off",3,"placeholder","ngModel","keyup","ngModelChange"],["searchInput",""],["mat-button","","matSuffix",""],["mat-button","","matSuffix","",3,"click"]],template:function(n,r){n&1&&(m(0,"div",0),O(1,YS,7,5),p()),n&2&&(ee("active",r.search.length>0),h(),H(1,r.section==r.SECTIONS.MENU?1:-1))},dependencies:[Re,$e,Mi,Mn,Bs,zs,at,Ht,Zo,Go,nt,st,Ho,In,zo,Xn],styles:[".search[_ngcontent-%COMP%]{height:36px;display:flex;align-items:center}.search.active[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 100px;align-items:center}.search.active[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{color:#0a84ff;font-weight:400;font-size:17px;line-height:22px}.search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:100%;background-color:#7676803d;border-radius:10px;height:36px}.search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-input-element, .search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-input-element::placeholder{color:#ebebf599}.search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-wrapper{padding-bottom:0!important;margin:0!important}.search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-flex{color:#ebebf599}.search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-prefix{top:.4em}.search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-infix{font-size:14px;font-weight:400;padding:10px 0;min-height:auto}.search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-appearance-outline .mat-mdc-form-field-outline-start{border:none!important}.search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-appearance-outline .mat-mdc-form-field-outline-end{border:none!important}.search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-subscript-wrapper{display:none}.search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-icon{height:16px;width:16px;font-size:16px;padding:7px}.search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mdc-notched-outline__leading, .search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mdc-notched-outline__notch, .search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mdc-notched-outline__trailing{border:none}"]});let i=t;return i})();var rn=(()=>{let t=class t{constructor(){this.url=ji.api+"/images/catalog/spirits/"}transform(e){return e?this.url+e:""}};t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=Vt({name:"spiritImage",type:t,pure:!0,standalone:!0});let i=t;return i})();var Ni=(()=>{let t=class t{constructor(){this.translateService=w(Bt)}transform(e,n){if(!e)return"";let r=e.translations?.find(s=>s.locale.code==(this.translateService.currentLang??"es"));if(r&&r[n])return r[n];let a=e.catalogSpirit?.translations?.find(s=>s.locale.code==(this.translateService.currentLang??"es"));return a&&a[n]?a[n]:e[n]?e[n]:(r=e.translations[0]??null,r&&r[n]?r[n]:(a=e.catalogSpirit?.translations[0]??null,a&&a[n]?a[n]:""))}};t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=Vt({name:"spiritTranslation",type:t,pure:!0,standalone:!0});let i=t;return i})();var kt=(()=>{let t=class t{constructor(){this.translateService=w(Bt)}transform(e){if(!e)return"";let n=e.translations?.find(r=>r.locale.code==(this.translateService.currentLang??"es"));return n?n.name:e.name??""}};t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=Vt({name:"catalogTranslation",type:t,pure:!0,standalone:!0});let i=t;return i})();var XS=(i,t)=>t.uuid;function QS(i,t){if(i&1&&(y(0),F(1,"catalogTranslation")),i&2){let o=C();Be(" ",$(1,1,o.spirit.catalogSpirit.type)," ")}}function KS(i,t){i&1&&y(0," - ")}function JS(i,t){if(i&1&&(y(0),F(1,"catalogTranslation")),i&2){let o=C();Be(" ",$(1,1,o.spirit.catalogSpirit.region)," ")}}function e4(i,t){if(i&1&&b(0,"app-price",5),i&2){let o=t.$implicit,e=C();k("price",o)("size","small")("menu",e.menu)}}var Rv=(()=>{let t=class t{constructor(e,n){this.router=e,this.route=n,this.goToDetail=new I,this.local=w(Xe)}navigate(e){this.goToDetail.emit(e)}favorite(e){e.fav=!e.fav,this.local.manageFavorites(e)}};t.\u0275fac=function(n){return new(n||t)(c(je),c(it))},t.\u0275cmp=v({type:t,selectors:[["app-grid-item"]],inputs:{spirit:"spirit",menu:"menu"},outputs:{goToDetail:"goToDetail"},standalone:!0,features:[x],decls:21,vars:17,consts:[[3,"click"],[3,"src"],[1,"fav",3,"click"],[1,"info",3,"click"],[1,"prices"],[3,"price","size","menu"]],template:function(n,r){n&1&&(m(0,"article")(1,"figure",0),P("click",function(){return r.navigate(r.spirit)}),b(2,"img",1),F(3,"spiritImage"),m(4,"div",2),P("click",function(s){return r.favorite(r.spirit),s.stopPropagation()}),b(5,"img",1),p()(),m(6,"div",3),P("click",function(){return r.navigate(r.spirit)}),m(7,"h5"),y(8),F(9,"spiritTranslation"),p(),m(10,"small"),y(11),F(12,"spiritTranslation"),p(),m(13,"small")(14,"em"),O(15,QS,2,3)(16,KS,1,0)(17,JS,2,3),p()(),m(18,"div",4),Te(19,e4,1,3,"app-price",5,XS),p()()()),n&2&&(h(2),k("src",$(3,9,r.spirit.catalogSpirit.image),yt),h(2),ee("fav-active",r.spirit.fav),h(),mn("src","assets/images/",r.spirit.fav?"fav":"no-fav",".png",yt),h(3),Z(et(9,11,r.spirit,"name")),h(3),Z(et(12,14,r.spirit,"subname")),h(4),H(15,r.spirit.catalogSpirit.type?15:-1),h(),H(16,r.spirit.catalogSpirit.type&&r.spirit.catalogSpirit.region?16:-1),h(),H(17,r.spirit.catalogSpirit.region?17:-1),h(2),Oe(r.spirit.priceVariants))},dependencies:[uf,rn,Ni,kt],styles:["article[_ngcontent-%COMP%]{display:grid;grid-template-columns:64px 1fr;align-items:center;gap:8px;overflow:hidden}article[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;align-items:center;height:64px;width:100%;margin:0;cursor:pointer}article[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:90%}article[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]   .fav[_ngcontent-%COMP%]{position:absolute;top:0;right:0;height:24px;width:24px;display:flex;justify-content:center;align-items:center;background-color:#303030;border-radius:0 11px}article[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]   .fav.fav-active[_ngcontent-%COMP%]{background-color:#c4c5c4}article[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]   .fav[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:12px;height:12px}article[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{display:flex;flex-direction:column;cursor:pointer;max-width:calc(100dvw - 80px)}article[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0!important}article[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .prices[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;overflow:hidden}"]});let i=t;return i})();var t4=(i,t)=>t.uuid;function i4(i,t){if(i&1){let o=_e();m(0,"app-grid-item",0),P("goToDetail",function(n){de(o);let r=C();return ue(r.navigate(n))}),p()}if(i&2){let o=t.$implicit,e=C();k("spirit",o)("menu",e.menu)}}var Lv=(()=>{let t=class t{constructor(e){this.router=e,this.uuid="",this.spirits=[],this.section="",this.local=w(Xe),this.SECTIONS=pt.SECTIONS}navigate(e){this.local.setDataWithExpiration("detailSpirit",JSON.stringify(e),0,1),this.router.navigate([`/${this.uuid}/menu/${e.uuid}`])}};t.\u0275fac=function(n){return new(n||t)(c(je))},t.\u0275cmp=v({type:t,selectors:[["app-grid"]],inputs:{uuid:"uuid",spirits:"spirits",menu:"menu",section:"section"},standalone:!0,features:[x],decls:3,vars:0,consts:[[3,"spirit","menu","goToDetail"],[3,"spirit","menu"]],template:function(n,r){n&1&&(m(0,"section"),Te(1,i4,1,2,"app-grid-item",1,t4),p()),n&2&&(h(),Oe(r.spirits))},dependencies:[Rv],styles:["section[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));grid-template-rows:max-content;align-items:flex-start;gap:24px 18px;width:100%;height:fit-content}"]});let i=t;return i})();function n4(i,t){}var o4={bottomSheetState:Nn("state",[Bn("void, hidden",Ai({transform:"translateY(100%)"})),Bn("visible",Ai({transform:"translateY(0%)"})),Yi("visible => void, visible => hidden",Xl([fn(`${Sd.COMPLEX} ${Id.ACCELERATION_CURVE}`),_r("@*",br(),{optional:!0})])),Yi("void => visible",Xl([fn(`${Sd.EXITING} ${Id.DECELERATION_CURVE}`),_r("@*",br(),{optional:!0})]))])},r4=(()=>{let t=class t extends fa{constructor(e,n,r,a,s,l,d,u,f){super(e,n,r,a,s,l,d,f),this._animationState="void",this._animationStateChanged=new I,this._breakpointSubscription=u.observe([Kn.Medium,Kn.Large,Kn.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",u.isMatched(Kn.Medium)),this._toggleClass("mat-bottom-sheet-container-large",u.isMatched(Kn.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",u.isMatched(Kn.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(e){e.toState==="visible"&&this._trapFocus(),this._animationStateChanged.emit(e)}_onAnimationStart(e){this._animationStateChanged.emit(e)}_captureInitialFocus(){}_toggleClass(e,n){this._elementRef.nativeElement.classList.toggle(e,n)}};t.\u0275fac=function(n){return new(n||t)(c(S),c(Uo),c(Ee,8),c(on),c(Ji),c(M),c(Di),c(xs),c(Ei))},t.\u0275cmp=v({type:t,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(n,r){n&1&&zh("@state.start",function(s){return r._onAnimationStart(s)})("@state.done",function(s){return r._onAnimationDone(s)}),n&2&&(Ie("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-label",r._config.ariaLabel),Bh("@state",r._animationState))},standalone:!0,features:[ke,x],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,r){n&1&&O(0,n4,0,0,"ng-template",0)},dependencies:[oo],styles:[".mat-bottom-sheet-container{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto;background:var(--mat-bottom-sheet-container-background-color);color:var(--mat-bottom-sheet-container-text-color);font-family:var(--mat-bottom-sheet-container-text-font);font-size:var(--mat-bottom-sheet-container-text-size);line-height:var(--mat-bottom-sheet-container-text-line-height);font-weight:var(--mat-bottom-sheet-container-text-weight);letter-spacing:var(--mat-bottom-sheet-container-text-tracking)}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:var(--mat-bottom-sheet-container-shape);border-top-right-radius:var(--mat-bottom-sheet-container-shape)}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[o4.bottomSheetState]}});let i=t;return i})(),_a=new se("MatBottomSheetData"),Um=class{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.ariaModal=!0,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}},On=class{get instance(){return this._ref.componentInstance}get componentRef(){return this._ref.componentRef}constructor(t,o,e){this._ref=t,this._afterOpened=new ce,this.containerInstance=e,this.disableClose=o.disableClose,e._animationStateChanged.pipe(Ue(n=>n.phaseName==="done"&&n.toState==="visible"),lt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Ue(n=>n.phaseName==="done"&&n.toState==="hidden"),lt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),t.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),Gt(this.backdropClick(),this.keydownEvents().pipe(Ue(n=>n.keyCode===27))).subscribe(n=>{!this.disableClose&&(n.type!=="keydown"||!qt(n))&&(n.preventDefault(),this.dismiss())})}dismiss(t){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(Ue(o=>o.phaseName==="start"),lt(1)).subscribe(o=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},o.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=t,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}},a4=new se("mat-bottom-sheet-default-options"),Ca=(()=>{let t=class t{get _openedBottomSheetRef(){let e=this._parentBottomSheet;return e?e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=e:this._bottomSheetRefAtThisLevel=e}constructor(e,n,r,a){this._overlay=e,this._parentBottomSheet=r,this._defaultOptions=a,this._bottomSheetRefAtThisLevel=null,this._dialog=n.get(ga)}open(e,n){let r=G(G({},this._defaultOptions||new Um),n),a;return this._dialog.open(e,Ne(G({},r),{disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:r4,scrollStrategy:r.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:a}),providers:(s,l,d)=>(a=new On(s,r,d),[{provide:On,useValue:a},{provide:_a,useValue:r.data}])})),a.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===a&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>a.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):a.containerInstance.enter(),this._openedBottomSheetRef=a,a}dismiss(e){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(e)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}};t.\u0275fac=function(n){return new(n||t)(j(Ft),j(qe),j(t,12),j(a4,8))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})(),Pn=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({providers:[Ca],imports:[cl,ze,nn,ze]});let i=t;return i})();function s4(i,t){i&1&&(m(0,"span",7),R(1,1),p())}function l4(i,t){i&1&&(m(0,"span",8),R(1,2),p())}var c4=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],d4=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];var u4='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused:before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus:before{border-color:var(--mdc-chip-focus-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-hover-state-layer-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-selected-hover-state-layer-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-chip-selected:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color);opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity)}.mat-mdc-chip-selected .mat-mdc-chip-remove::after{background:var(--mat-chip-selected-trailing-action-state-layer-color)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-2px;bottom:-2px;left:6px;right:6px;border-radius:50%}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}';function m4(i,t){i&1&&b(0,"span",7)}function p4(i,t){i&1&&(m(0,"span",8),R(1),p())}function h4(i,t){i&1&&R(0,1)}function f4(i,t){i&1&&b(0,"span",9)}function g4(i,t){if(i&1&&O(0,h4,1,0)(1,f4,1,0),i&2){let o=C();H(0,o.contentEditInput?0:1)}}function v4(i,t){i&1&&R(0,2)}function b4(i,t){i&1&&(m(0,"span",10),R(1,3),p())}var _4=[[["mat-chip-avatar"],["","matChipAvatar",""]],[["","matChipEditInput",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],C4=["mat-chip-avatar, [matChipAvatar]","[matChipEditInput]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],y4=["*"];var x4=new se("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),jv=new se("MatChipAvatar"),Vv=new se("MatChipTrailingIcon"),Nv=new se("MatChipRemove"),qm=new se("MatChip"),Gm=(()=>{let t=class t{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=e}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(e,n){this._elementRef=e,this._parentChip=n,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this.tabIndex=-1,this._allowFocusWhenDisabled=!1,e.nativeElement.nodeName==="BUTTON"&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}};t.\u0275fac=function(n){return new(n||t)(c(S),c(qm))},t.\u0275dir=re({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(n,r){n&1&&P("click",function(s){return r._handleClick(s)})("keydown",function(s){return r._handleKeydown(s)}),n&2&&(Ie("tabindex",r._getTabindex())("disabled",r._getDisabledAttribute())("aria-disabled",r.disabled),ee("mdc-evolution-chip__action--primary",r._isPrimary)("mdc-evolution-chip__action--presentational",!r.isInteractive)("mdc-evolution-chip__action--trailing",!r._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[z.HasDecoratorInputTransform,"disabled","disabled",De],tabIndex:[z.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>e==null?-1:Qt(e)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[ct]});let i=t;return i})();var w4=0,Zm=(()=>{let t=class t{_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}constructor(e,n,r,a,s,l,d,u){this._changeDetectorRef=e,this._elementRef=n,this._ngZone=r,this._focusMonitor=a,this._globalRippleOptions=d,this._onFocus=new ce,this._onBlur=new ce,this.role=null,this._hasFocusInternal=!1,this.id=`mat-mdc-chip-${w4++}`,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this.removable=!0,this.highlighted=!1,this.disableRipple=!1,this.disabled=!1,this.tabIndex=-1,this.removed=new I,this.destroyed=new I,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=w(js),this._document=s,this._animationsDisabled=l==="NoopAnimations",u!=null&&(this.tabIndex=parseInt(u)??-1),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){let e=this._elementRef.nativeElement;this._isBasicChip=e.hasAttribute(this.basicChipAttrName)||e.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Gt(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(e){(e.keyCode===8||e.keyCode===46)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(n=>{let r=n._elementRef.nativeElement;return r===e||r.contains(e)})}_getActions(){let e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_getTabIndex(){return this.role?this.disabled?-1:this.tabIndex:null}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let n=e!==null;n!==this._hasFocusInternal&&(this._hasFocusInternal=n,n?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(lt(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}};t.\u0275fac=function(n){return new(n||t)(c(V),c(S),c(M),c(Ei),c(Ee),c(ut,8),c(Jr,8),Et("tabindex"))},t.\u0275cmp=v({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(n,r,a){if(n&1&&(Ge(a,jv,5),Ge(a,Vv,5),Ge(a,Nv,5),Ge(a,jv,5),Ge(a,Vv,5),Ge(a,Nv,5)),n&2){let s;ne(s=oe())&&(r.leadingIcon=s.first),ne(s=oe())&&(r.trailingIcon=s.first),ne(s=oe())&&(r.removeIcon=s.first),ne(s=oe())&&(r._allLeadingIcons=s),ne(s=oe())&&(r._allTrailingIcons=s),ne(s=oe())&&(r._allRemoveIcons=s)}},viewQuery:function(n,r){if(n&1&&xe(Gm,5),n&2){let a;ne(a=oe())&&(r.primaryAction=a.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:32,hostBindings:function(n,r){n&1&&P("keydown",function(s){return r._handleKeydown(s)}),n&2&&(Xt("id",r.id),Ie("role",r.role)("tabindex",r._getTabIndex())("aria-label",r.ariaLabel),ii("mat-"+(r.color||"primary")),ee("mdc-evolution-chip",!r._isBasicChip)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",r.leadingIcon)("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-basic-chip",r._isBasicChip)("mat-mdc-standard-chip",!r._isBasicChip)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon())("_mat-animation-noopable",r._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[z.None,"aria-label","ariaLabel"],ariaDescription:[z.None,"aria-description","ariaDescription"],value:"value",color:"color",removable:[z.HasDecoratorInputTransform,"removable","removable",De],highlighted:[z.HasDecoratorInputTransform,"highlighted","highlighted",De],disableRipple:[z.HasDecoratorInputTransform,"disableRipple","disableRipple",De],disabled:[z.HasDecoratorInputTransform,"disabled","disabled",De],tabIndex:[z.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>e==null?void 0:Qt(e)]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[We([{provide:qm,useExisting:t}]),ct,x],ngContentSelectors:d4,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(n,r){n&1&&(W(c4),b(0,"span",0),m(1,"span",1)(2,"span",2),O(3,s4,2,0,"span",3),m(4,"span",4),R(5),b(6,"span",5),p()()(),O(7,l4,2,0,"span",6)),n&2&&(h(2),k("isInteractive",!1),h(),H(3,r.leadingIcon?3:-1),h(4),H(7,r._hasTrailingIcon()?7:-1))},dependencies:[Gm],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused:before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus:before{border-color:var(--mdc-chip-focus-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-hover-state-layer-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-selected-hover-state-layer-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-chip-selected:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color);opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity)}.mat-mdc-chip-selected .mat-mdc-chip-remove::after{background:var(--mat-chip-selected-trailing-action-state-layer-color)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-2px;bottom:-2px;left:6px;right:6px;border-radius:50%}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let i=t;return i})();var Wm=(()=>{let t=class t{constructor(e,n){this._elementRef=e,this._document=n}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){let e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);let n=window.getSelection();n.removeAllRanges(),n.addRange(e)}};t.\u0275fac=function(n){return new(n||t)(c(S),c(Ee))},t.\u0275dir=re({type:t,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"],standalone:!0});let i=t;return i})(),Ym=(()=>{let t=class t extends Zm{constructor(e,n,r,a,s,l,d,u){super(e,n,r,a,s,l,d,u),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new I,this._isEditing=!1,this.role="row",this._onBlur.pipe(Je(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(e){e.keyCode===13&&!this.disabled?this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e):this._isEditing?e.stopPropagation():super._handleKeydown(e)}_handleDoubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;let n=this.value;this._isEditing=this._editStartPending=!0,this._changeDetectorRef.detectChanges(),setTimeout(()=>{this._getEditInput().initialize(n),this._editStartPending=!1})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}};t.\u0275fac=function(n){return new(n||t)(c(V),c(S),c(M),c(Ei),c(Ee),c(ut,8),c(Jr,8),Et("tabindex"))},t.\u0275cmp=v({type:t,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(n,r,a){if(n&1&&Ge(a,Wm,5),n&2){let s;ne(s=oe())&&(r.contentEditInput=s.first)}},viewQuery:function(n,r){if(n&1&&xe(Wm,5),n&2){let a;ne(a=oe())&&(r.defaultEditInput=a.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(n,r){n&1&&P("focus",function(s){return r._handleFocus(s)})("dblclick",function(s){return r._handleDoubleclick(s)}),n&2&&(Xt("id",r.id),Ie("tabindex",r.disabled?null:-1)("aria-label",null)("aria-description",null)("role",r.role),ee("mat-mdc-chip-with-avatar",r.leadingIcon)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-chip-editing",r._isEditing)("mat-mdc-chip-editable",r.editable)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",r.leadingIcon)("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},standalone:!0,features:[We([{provide:Zm,useExisting:t},{provide:qm,useExisting:t}]),ke,x],ngContentSelectors:C4,decls:10,vars:10,consts:[["class","mat-mdc-chip-focus-overlay"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell"],[1,"cdk-visually-hidden",3,"id"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(n,r){n&1&&(W(_4),O(0,m4,1,0,"span",0),m(1,"span",1),O(2,p4,2,0,"span",2),m(3,"span",3),O(4,g4,2,1)(5,v4,1,0),b(6,"span",4),p()(),O(7,b4,2,0,"span",5),m(8,"span",6),y(9),p()),n&2&&(H(0,r._isEditing?-1:0),h(),k("tabIndex",r.tabIndex)("disabled",r.disabled),Ie("aria-label",r.ariaLabel)("aria-describedby",r._ariaDescriptionId),h(),H(2,r.leadingIcon?2:-1),h(2),H(4,r._isEditing?4:5),h(3),H(7,r._hasTrailingIcon()?7:-1),h(),k("id",r._ariaDescriptionId),h(),Z(r.ariaDescription))},dependencies:[Gm,Wm],styles:[u4],encapsulation:2,changeDetection:0});let i=t;return i})(),Bv=(()=>{let t=class t{get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get chipRemovedChanges(){return this._getChipStream(e=>e.removed)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}constructor(e,n,r){this._elementRef=e,this._changeDetectorRef=n,this._dir=r,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new ce,this._defaultRole="presentation",this._disabled=!1,this.tabIndex=0,this._explicitRole=null,this._chipActions=new fr}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(e=>{e.disabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&e<this._chips.length}_allowFocusEscape(){if(this.tabIndex!==-1){let e=this.tabIndex;this.tabIndex=-1,setTimeout(()=>this.tabIndex=e)}}_getChipStream(e){return this._chips.changes.pipe(jt(null),wt(()=>Gt(...this._chips.map(e))))}_originatesFromChip(e){let n=e.target;for(;n&&n!==this._elementRef.nativeElement;){if(n.classList.contains("mat-mdc-chip"))return!0;n=n.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(jt(this._chips)).subscribe(e=>{let n=[];e.forEach(r=>r._getActions().forEach(a=>n.push(a))),this._chipActions.reset(n),this._chipActions.notifyOnChanges()}),this._keyManager=new ks(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(Je(this._destroyed)).subscribe(({chip:e})=>{let n=e._getSourceAction(document.activeElement);n&&this._keyManager.updateActiveItem(n)}),this._dir?.change.pipe(Je(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(jt(null),Je(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(Je(this._destroyed)).subscribe(e=>{let r=this._chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),n=this._chips.toArray()[e];n.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():n.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}};t.\u0275fac=function(n){return new(n||t)(c(S),c(V),c(hi,8))},t.\u0275cmp=v({type:t,selectors:[["mat-chip-set"]],contentQueries:function(n,r,a){if(n&1&&Ge(a,Zm,5),n&2){let s;ne(s=oe())&&(r._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(n,r){n&1&&P("keydown",function(s){return r._handleKeydown(s)}),n&2&&Ie("role",r.role)},inputs:{disabled:[z.HasDecoratorInputTransform,"disabled","disabled",De],role:"role",tabIndex:[z.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>e==null?0:Qt(e)]},standalone:!0,features:[ct,x],ngContentSelectors:y4,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(n,r){n&1&&(W(),m(0,"div",0),R(1),p())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0});let i=t;return i})();var zv=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({providers:[Wo,{provide:x4,useValue:{separatorKeyCodes:[13]}}],imports:[ze,ta,ze]});let i=t;return i})();var S4=()=>[$e,Ym,kt],E4=(i,t)=>t.uuid;function M4(i,t){if(i&1){let o=_e();m(0,"mat-chip-row",3),P("click",function(){let r=de(o).$implicit,a=C(2);return ue(a.toggleFilter(r))}),m(1,"span"),y(2),F(3,"catalogTranslation"),p(),m(4,"span",4),y(5),p()()}if(i&2){let o=t.$implicit;ee("selected",o.selected)("disabled",o.count==0),h(2),Z($(3,6,o)),h(3),Be("(",o.count,")")}}function D4(i,t){i&1&&(m(0,"span",5),y(1),F(2,"translate"),p()),i&2&&(h(),Z($(2,1,"filters.empty")))}function k4(i,t){if(i&1&&(Te(0,M4,6,8,"mat-chip-row",6,E4),O(2,D4,3,3,"span",2)),i&2){let o=C(),e;Oe(o.filters()),h(2),H(2,((e=o.filters())==null?null:e.length)==0?2:-1)}}function T4(i,t){i&1&&b(0,"mat-chip-row",7)(1,"mat-chip-row",8)(2,"mat-chip-row",9)(3,"mat-chip-row",10)}var fl=(()=>{let t=class t{constructor(e,n){this.data=e,this.bottomsheet=n,this.api=w(Ye),this.filters=be(null),this.changes=be(!1)}ngOnInit(){this.getFilterData(this.data.categoryFilter)}getFilterData(e){this.api.getFilterData(e.uuid).subscribe(n=>{this.manageFilters(this.data.allFilters[e.filter.name],n[e.filter.name]),this.filters.set(n[e.filter.name]),this.getSelectedFilters()})}manageFilters(e,n){e.forEach(r=>{n.find(a=>a.uuid==r.uuid)||(r.count=0,n.push(r))})}getSelectedFilters(){let e=this.api.getSelectedFilters();this.filters()?.forEach(n=>{let r=this.data.categoryFilter.filter.name;e[r].find(a=>a.uuid==n.uuid)&&(n.selected=!0)})}toggleFilter(e){e.selected=!e.selected,this.changes.set(!0)}applyFilters(){let e=this.filters()?.filter(n=>n.selected)??[];this.api.setSelectedFilter(this.data.categoryFilter.filter.name,e),this.bottomsheet.dismiss(!0)}};t.\u0275fac=function(n){return new(n||t)(c(_a),c(On))},t.\u0275cmp=v({type:t,selectors:[["app-filter"]],standalone:!0,features:[x],decls:13,vars:8,consts:[[1,"text-white"],["mat-flat-button","","color","accent",1,"text-light",3,"disabled","click"],["class","text-white no-filters"],["color","accent",3,"click"],[1,"count"],[1,"text-white","no-filters"],["color","accent",3,"selected","disabled"],["color","accent",1,"filter","placeholder-wave","placeholder-1","placeholder"],["color","accent",1,"filter","placeholder-wave","placeholder-2","placeholder"],["color","accent",1,"filter","placeholder-wave","placeholder-3","placeholder"],["color","accent",1,"filter","placeholder-wave","placeholder-4","placeholder"]],template:function(n,r){if(n&1&&(m(0,"header")(1,"span",0),y(2),F(3,"translate"),p(),m(4,"button",1),P("click",function(){return r.applyFilters()}),y(5),F(6,"translate"),p()(),m(7,"main")(8,"mat-chip-set"),O(9,k4,3,1)(10,T4,4,0),ht(11,9,S4,null,10),p()()),n&2){let a;h(2),Z((a=r.data.categoryFilter==null?null:r.data.categoryFilter.name)!==null&&a!==void 0?a:$(3,4,"filters."+r.data.categoryFilter.filter.name)),h(2),k("disabled",!r.changes()),h(),Z($(6,6,"menu.apply")),h(6),ft(r.filters())}},dependencies:[Re,$e,nt,at,Ht,zv,Ym,Bv,Pn],styles:["header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:8px 0;margin-bottom:8px}header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:disabled{color:#ffffff5c!important}main[_ngcontent-%COMP%]   mat-chip-set[_ngcontent-%COMP%]   mat-chip-row[_ngcontent-%COMP%]{color:#000;font-weight:700;font-size:18px;background-color:#aaaaab}main[_ngcontent-%COMP%]   mat-chip-set[_ngcontent-%COMP%]   mat-chip-row.selected[_ngcontent-%COMP%]{background-color:#fff}main[_ngcontent-%COMP%]   mat-chip-set[_ngcontent-%COMP%]   mat-chip-row.disabled[_ngcontent-%COMP%]{opacity:.5}main[_ngcontent-%COMP%]   mat-chip-set[_ngcontent-%COMP%]   mat-chip-row.placeholder[_ngcontent-%COMP%]{width:80px}main[_ngcontent-%COMP%]   mat-chip-set[_ngcontent-%COMP%]   mat-chip-row.placeholder-1[_ngcontent-%COMP%]{opacity:.75}main[_ngcontent-%COMP%]   mat-chip-set[_ngcontent-%COMP%]   mat-chip-row.placeholder-2[_ngcontent-%COMP%]{opacity:.5}main[_ngcontent-%COMP%]   mat-chip-set[_ngcontent-%COMP%]   mat-chip-row.placeholder-3[_ngcontent-%COMP%]{opacity:.25}main[_ngcontent-%COMP%]   mat-chip-set[_ngcontent-%COMP%]   mat-chip-row.placeholder-4[_ngcontent-%COMP%]{opacity:.1}main[_ngcontent-%COMP%]   mat-chip-set[_ngcontent-%COMP%]   mat-chip-row[_ngcontent-%COMP%]   .count[_ngcontent-%COMP%]{opacity:.75;margin-left:4px}main[_ngcontent-%COMP%]   .no-filters[_ngcontent-%COMP%]{padding:12px 8px}"]});let i=t;return i})();var O4=["input"],P4=["label"],F4=["*"],A4=new se("mat-checkbox-default-options",{providedIn:"root",factory:$v});function $v(){return{color:"accent",clickAction:"check-indeterminate"}}var Ut=function(i){return i[i.Init=0]="Init",i[i.Checked=1]="Checked",i[i.Unchecked=2]="Unchecked",i[i.Indeterminate=3]="Indeterminate",i}(Ut||{}),R4={provide:Si,useExisting:Nt(()=>gl),multi:!0},Xm=class{},L4=0,Hv=$v(),gl=(()=>{let t=class t{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let n=new Xm;return n.source=this,n.checked=e,n}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,n,r,a,s,l){this._elementRef=e,this._changeDetectorRef=n,this._ngZone=r,this._animationMode=s,this._options=l,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new I,this.indeterminateChange=new I,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=Ut.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Hv,this.color=this._options.color||Hv.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`mat-mdc-checkbox-${++L4}`}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){let n=e!=this._indeterminate;this._indeterminate=e,n&&(this._indeterminate?this._transitionCheckState(Ut.Indeterminate):this._transitionCheckState(this.checked?Ut.Checked:Ut.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let n=this._currentCheckState,r=this._getAnimationTargetElement();if(!(n===e||!r)&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(n,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);let a=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(a)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?Ut.Checked:Ut.Unchecked),this._emitChangeEvent()):!this.disabled&&e==="noop"&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,n){if(this._animationMode==="NoopAnimations")return"";switch(e){case Ut.Init:if(n===Ut.Checked)return this._animationClasses.uncheckedToChecked;if(n==Ut.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case Ut.Unchecked:return n===Ut.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case Ut.Checked:return n===Ut.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case Ut.Indeterminate:return n===Ut.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let n=this._inputElement;n&&(n.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}};t.\u0275fac=function(n){return new(n||t)(c(S),c(V),c(M),Et("tabindex"),c(ut,8),c(A4,8))},t.\u0275cmp=v({type:t,selectors:[["mat-checkbox"]],viewQuery:function(n,r){if(n&1&&(xe(O4,5),xe(P4,5),xe(ea,5)),n&2){let a;ne(a=oe())&&(r._inputElement=a.first),ne(a=oe())&&(r._labelElement=a.first),ne(a=oe())&&(r.ripple=a.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(n,r){n&2&&(Xt("id",r.id),Ie("tabindex",null)("aria-label",null)("aria-labelledby",null),ii(r.color?"mat-"+r.color:"mat-accent"),ee("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mdc-checkbox--disabled",r.disabled)("mat-mdc-checkbox-disabled",r.disabled)("mat-mdc-checkbox-checked",r.checked))},inputs:{ariaLabel:[z.None,"aria-label","ariaLabel"],ariaLabelledby:[z.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[z.None,"aria-describedby","ariaDescribedby"],id:"id",required:[z.HasDecoratorInputTransform,"required","required",De],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[z.HasDecoratorInputTransform,"disableRipple","disableRipple",De],tabIndex:[z.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>e==null?void 0:Qt(e)],color:"color",checked:[z.HasDecoratorInputTransform,"checked","checked",De],disabled:[z.HasDecoratorInputTransform,"disabled","disabled",De],indeterminate:[z.HasDecoratorInputTransform,"indeterminate","indeterminate",De]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[We([R4,{provide:Vi,useExisting:t,multi:!0}]),ct,rt,x],ngContentSelectors:F4,decls:15,vars:19,consts:[["mat-internal-form-field","",3,"labelPosition","click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(n,r){if(n&1&&(W(),m(0,"div",0),P("click",function(s){return r._preventBubblingFromLabel(s)}),m(1,"div",1,2)(3,"div",3),P("click",function(){return r._onTouchTargetClick()}),p(),m(4,"input",4,5),P("blur",function(){return r._onBlur()})("click",function(){return r._onInputClick()})("change",function(s){return r._onInteractionEvent(s)}),p(),b(6,"div",6),m(7,"div",7),q(),m(8,"svg",8),b(9,"path",9),p(),Gi(),b(10,"div",10),p(),b(11,"div",11),p(),m(12,"label",12,13),R(14),p()()),n&2){let a=bi(2);k("labelPosition",r.labelPosition),h(4),ee("mdc-checkbox--selected",r.checked),k("checked",r.checked)("indeterminate",r.indeterminate)("disabled",r.disabled)("id",r.inputId)("required",r.required)("tabIndex",r.disabled?-1:r.tabIndex),Ie("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-checked",r.indeterminate?"mixed":null)("name",r.name)("value",r.value),h(7),k("matRippleTrigger",a)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),h(),k("for",r.inputId)}},dependencies:[ea,r0],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let i=t;return i})();var Uv=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({imports:[gl,ze,ze]});let i=t;return i})();var ai=typeof window<"u"?window:{screen:{},navigator:{}},rr=(ai.matchMedia||function(){return{matches:!1}}).bind(ai),Wv=!1,V4={get passive(){return Wv=!0}},Gv=function(){};ai.addEventListener&&ai.addEventListener("p",Gv,V4);ai.removeEventListener&&ai.removeEventListener("p",Gv,!1);var vl=Wv,yV="PointerEvent"in ai,Qm="ontouchstart"in ai,N4="TouchEvent"in ai,B4=Qm||N4&&rr("(any-pointer: coarse)").matches,xV=(ai.navigator.maxTouchPoints||0)>0||B4,Zv=ai.navigator.userAgent||"",z4=rr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(Zv)&&Math.min(ai.screen.width||0,ai.screen.height||0)>=768,wV=(rr("(pointer: coarse)").matches||!rr("(pointer: fine)").matches&&Qm)&&!/Windows.*Firefox/.test(Zv),IV=rr("(any-pointer: fine)").matches||rr("(any-hover: hover)").matches||z4||!Qm;function H4(i,t){}function $4(i,t){i&1&&O(0,H4,0,0,"ng-template")}var U4=(i,t,o)=>({tooltip:i,placement:t,content:o});function W4(i,t){if(i&1&&(Zi(0),O(1,$4,1,0,null,1),qi()),i&2){let o=C();h(),k("ngTemplateOutlet",o.template)("ngTemplateOutletContext",Hh(2,U4,o.tooltip,o.placement,o.content))}}function G4(i,t){if(i&1&&(Zi(0),m(1,"div",2),y(2),p(),qi()),i&2){let o=C();h(),Ie("title",o.tooltip)("data-tooltip-placement",o.placement),h(),Be(" ",o.content," ")}}var Z4=["tooltipTemplate"],q4=["leftOuterSelectionBar"],Y4=["rightOuterSelectionBar"],X4=["fullBar"],Q4=["selectionBar"],K4=["minHandle"],J4=["maxHandle"],eE=["floorLabel"],tE=["ceilLabel"],iE=["minHandleLabel"],nE=["maxHandleLabel"],oE=["combinedLabel"],rE=["ticksElement"];function aE(i,t){if(i&1&&b(0,"ngx-slider-tooltip-wrapper",32),i&2){let o=C().$implicit,e=C();k("template",e.tooltipTemplate)("tooltip",o.valueTooltip)("placement",o.valueTooltipPlacement)("content",o.value)}}function sE(i,t){if(i&1&&b(0,"span",33),i&2){let o=C().$implicit;k("innerText",o.legend)}}function lE(i,t){if(i&1&&b(0,"span",34),i&2){let o=C().$implicit;k("innerHTML",o.legend,kh)}}var cE=i=>({"ngx-slider-selected":i});function dE(i,t){if(i&1&&(m(0,"span",27),b(1,"ngx-slider-tooltip-wrapper",28),O(2,aE,1,4,"ngx-slider-tooltip-wrapper",29)(3,sE,1,1,"span",30)(4,lE,1,1,"span",31),p()),i&2){let o=t.$implicit,e=C();k("ngClass",di(8,cE,o.selected))("ngStyle",o.style),h(),k("template",e.tooltipTemplate)("tooltip",o.tooltip)("placement",o.tooltipPlacement),h(),k("ngIf",o.value!==null&&o.value!==void 0),h(),k("ngIf",o.legend!==null&&o.legend!==void 0&&e.allowUnsafeHtmlInSlider===!1),h(),k("ngIf",o.legend!==null&&o.legend!==void 0&&(e.allowUnsafeHtmlInSlider===null||e.allowUnsafeHtmlInSlider===void 0||e.allowUnsafeHtmlInSlider))}}var Bi=function(i){return i[i.Low=0]="Low",i[i.High=1]="High",i[i.Floor=2]="Floor",i[i.Ceil=3]="Ceil",i[i.TickValue=4]="TickValue",i}(Bi||{}),sr=class{floor=0;ceil=null;step=1;minRange=null;maxRange=null;pushRange=!1;minLimit=null;maxLimit=null;translate=null;combineLabels=null;getLegend=null;getStepLegend=null;stepsArray=null;bindIndexForStepsArray=!1;draggableRange=!1;draggableRangeOnly=!1;showSelectionBar=!1;showSelectionBarEnd=!1;showSelectionBarFromValue=null;showOuterSelectionBars=!1;hidePointerLabels=!1;hideLimitLabels=!1;autoHideLimitLabels=!0;readOnly=!1;disabled=!1;showTicks=!1;showTicksValues=!1;tickStep=null;tickValueStep=null;ticksArray=null;ticksTooltip=null;ticksValuesTooltip=null;vertical=!1;getSelectionBarColor=null;getTickColor=null;getPointerColor=null;keyboardSupport=!0;scale=1;rotate=0;enforceStep=!0;enforceRange=!0;enforceStepsArray=!0;noSwitching=!1;onlyBindHandles=!1;rightToLeft=!1;reversedControls=!1;boundPointerLabels=!0;logScale=!1;customValueToPosition=null;customPositionToValue=null;precisionLimit=12;selectionBarGradient=null;ariaLabel="ngx-slider";ariaLabelledBy=null;ariaLabelHigh="ngx-slider-max";ariaLabelledByHigh=null;handleDimension=null;barDimension=null;animate=!0;animateOnMove=!1},qv=new se("AllowUnsafeHtmlInSlider"),ge=function(i){return i[i.Min=0]="Min",i[i.Max=1]="Max",i}(ge||{}),Jm=class{value;highValue;pointerType},U=class{static isNullOrUndefined(t){return t==null}static areArraysEqual(t,o){if(t.length!==o.length)return!1;for(let e=0;e<t.length;++e)if(t[e]!==o[e])return!1;return!0}static linearValueToPosition(t,o,e){let n=e-o;return(t-o)/n}static logValueToPosition(t,o,e){t=Math.log(t),o=Math.log(o),e=Math.log(e);let n=e-o;return(t-o)/n}static linearPositionToValue(t,o,e){return t*(e-o)+o}static logPositionToValue(t,o,e){o=Math.log(o),e=Math.log(e);let n=t*(e-o)+o;return Math.exp(n)}static findStepIndex(t,o){let e=o.map(r=>Math.abs(t-r.value)),n=0;for(let r=0;r<o.length;r++)e[r]!==e[n]&&e[r]<e[n]&&(n=r);return n}},zi=class{static isTouchEvent(t){return window.TouchEvent!==void 0?t instanceof TouchEvent:t.touches!==void 0}static isResizeObserverAvailable(){return window.ResizeObserver!==void 0}},vt=class{static roundToPrecisionLimit(t,o){return+t.toPrecision(o)}static isModuloWithinPrecisionLimit(t,o,e){let n=Math.pow(10,-e);return Math.abs(t%o)<=n||Math.abs(Math.abs(t%o)-o)<=n}static clampToRange(t,o,e){return Math.min(Math.max(t,o),e)}},bl=class{eventName=null;events=null;eventsSubscription=null;teardownCallback=null},_l=class{renderer;constructor(t){this.renderer=t}attachPassiveEventListener(t,o,e,n){if(vl!==!0)return this.attachEventListener(t,o,e,n);let r=new bl;r.eventName=o,r.events=new ce;let a=s=>{r.events.next(s)};return t.addEventListener(o,a,{passive:!0,capture:!1}),r.teardownCallback=()=>{t.removeEventListener(o,a,{passive:!0,capture:!1})},r.eventsSubscription=r.events.pipe(U.isNullOrUndefined(n)?ot(()=>{}):hr(n,void 0,{leading:!0,trailing:!0})).subscribe(s=>{e(s)}),r}detachEventListener(t){U.isNullOrUndefined(t.eventsSubscription)||(t.eventsSubscription.unsubscribe(),t.eventsSubscription=null),U.isNullOrUndefined(t.events)||(t.events.complete(),t.events=null),U.isNullOrUndefined(t.teardownCallback)||(t.teardownCallback(),t.teardownCallback=null)}attachEventListener(t,o,e,n){let r=new bl;r.eventName=o,r.events=new ce;let a=s=>{r.events.next(s)};return r.teardownCallback=this.renderer.listen(t,o,a),r.eventsSubscription=r.events.pipe(U.isNullOrUndefined(n)?ot(()=>{}):hr(n,void 0,{leading:!0,trailing:!0})).subscribe(s=>{e(s)}),r}},Fn=(()=>{class i{elemRef;renderer;changeDetectionRef;_position=0;get position(){return this._position}_dimension=0;get dimension(){return this._dimension}_alwaysHide=!1;get alwaysHide(){return this._alwaysHide}_vertical=!1;get vertical(){return this._vertical}_scale=1;get scale(){return this._scale}_rotate=0;get rotate(){return this._rotate}opacity=1;visibility="visible";left="";bottom="";height="";width="";transform="";eventListenerHelper;eventListeners=[];constructor(o,e,n){this.elemRef=o,this.renderer=e,this.changeDetectionRef=n,this.eventListenerHelper=new _l(this.renderer)}setAlwaysHide(o){this._alwaysHide=o,o?this.visibility="hidden":this.visibility="visible"}hide(){this.opacity=0}show(){this.alwaysHide||(this.opacity=1)}isVisible(){return this.alwaysHide?!1:this.opacity!==0}setVertical(o){this._vertical=o,this._vertical?(this.left="",this.width=""):(this.bottom="",this.height="")}setScale(o){this._scale=o}setRotate(o){this._rotate=o,this.transform="rotate("+o+"deg)"}getRotate(){return this._rotate}setPosition(o){this._position!==o&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._position=o,this._vertical?this.bottom=Math.round(o)+"px":this.left=Math.round(o)+"px"}calculateDimension(){let o=this.getBoundingClientRect();this.vertical?this._dimension=(o.bottom-o.top)*this.scale:this._dimension=(o.right-o.left)*this.scale}setDimension(o){this._dimension!==o&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._dimension=o,this._vertical?this.height=Math.round(o)+"px":this.width=Math.round(o)+"px"}getBoundingClientRect(){return this.elemRef.nativeElement.getBoundingClientRect()}on(o,e,n){let r=this.eventListenerHelper.attachEventListener(this.elemRef.nativeElement,o,e,n);this.eventListeners.push(r)}onPassive(o,e,n){let r=this.eventListenerHelper.attachPassiveEventListener(this.elemRef.nativeElement,o,e,n);this.eventListeners.push(r)}off(o){let e,n;U.isNullOrUndefined(o)?(e=[],n=this.eventListeners):(e=this.eventListeners.filter(r=>r.eventName!==o),n=this.eventListeners.filter(r=>r.eventName===o));for(let r of n)this.eventListenerHelper.detachEventListener(r);this.eventListeners=e}isRefDestroyed(){return U.isNullOrUndefined(this.changeDetectionRef)||this.changeDetectionRef.destroyed}static \u0275fac=function(e){return new(e||i)(c(S),c(si),c(V))};static \u0275dir=re({type:i,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(e,n){e&2&&Pi("opacity",n.opacity)("visibility",n.visibility)("left",n.left)("bottom",n.bottom)("height",n.height)("width",n.width)("transform",n.transform)}})}return i})(),Km=(()=>{class i extends Fn{active=!1;role="";tabindex="";ariaOrientation="";ariaLabel="";ariaLabelledBy="";ariaValueNow="";ariaValueText="";ariaValueMin="";ariaValueMax="";focus(){this.elemRef.nativeElement.focus()}focusIfNeeded(){document.activeElement!==this.elemRef.nativeElement&&this.elemRef.nativeElement.focus()}constructor(o,e,n){super(o,e,n)}static \u0275fac=function(e){return new(e||i)(c(S),c(si),c(V))};static \u0275dir=re({type:i,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(e,n){e&2&&(Ie("role",n.role)("tabindex",n.tabindex)("aria-orientation",n.ariaOrientation)("aria-label",n.ariaLabel)("aria-labelledby",n.ariaLabelledBy)("aria-valuenow",n.ariaValueNow)("aria-valuetext",n.ariaValueText)("aria-valuemin",n.ariaValueMin)("aria-valuemax",n.ariaValueMax),ee("ngx-slider-active",n.active))},features:[ke]})}return i})(),ar=(()=>{class i extends Fn{allowUnsafeHtmlInSlider;_value=null;get value(){return this._value}constructor(o,e,n,r){super(o,e,n),this.allowUnsafeHtmlInSlider=r}setValue(o){let e=!1;!this.alwaysHide&&(U.isNullOrUndefined(this.value)||this.value.length!==o.length||this.value.length>0&&this.dimension===0)&&(e=!0),this._value=o,this.allowUnsafeHtmlInSlider===!1?this.elemRef.nativeElement.innerText=o:this.elemRef.nativeElement.innerHTML=o,e&&this.calculateDimension()}static \u0275fac=function(e){return new(e||i)(c(S),c(si),c(V),c(qv,8))};static \u0275dir=re({type:i,selectors:[["","ngxSliderLabel",""]],features:[ke]})}return i})(),uE=(()=>{class i{template;tooltip;placement;content;static \u0275fac=function(e){return new(e||i)};static \u0275cmp=v({type:i,selectors:[["ngx-slider-tooltip-wrapper"]],inputs:{template:"template",tooltip:"tooltip",placement:"placement",content:"content"},decls:2,vars:2,consts:[[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ngx-slider-inner-tooltip"]],template:function(e,n){e&1&&O(0,W4,2,6,"ng-container",0)(1,G4,3,3,"ng-container",0),e&2&&(k("ngIf",n.template),h(),k("ngIf",!n.template))},dependencies:[hn,yi],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return i})(),ep=class{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null},Cl=class{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0},lr=class{value;highValue;static compare(t,o){return U.isNullOrUndefined(t)&&U.isNullOrUndefined(o)||U.isNullOrUndefined(t)!==U.isNullOrUndefined(o)?!1:t.value===o.value&&t.highValue===o.highValue}},yl=class extends lr{forceChange;static compare(t,o){return U.isNullOrUndefined(t)&&U.isNullOrUndefined(o)||U.isNullOrUndefined(t)!==U.isNullOrUndefined(o)?!1:t.value===o.value&&t.highValue===o.highValue&&t.forceChange===o.forceChange}};var mE={provide:Si,useExisting:Nt(()=>tp),multi:!0},tp=(()=>{class i{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new I;highValue=null;highValueChange=new I;options=new sr;userChangeStart=new I;userChange=new I;userChangeEnd=new I;manualRefreshSubscription;set manualRefresh(o){this.unsubscribeManualRefresh(),this.manualRefreshSubscription=o.subscribe(()=>{setTimeout(()=>this.calculateViewDimensionsAndDetectChanges())})}triggerFocusSubscription;set triggerFocus(o){this.unsubscribeTriggerFocus(),this.triggerFocusSubscription=o.subscribe(e=>{this.focusPointer(e)})}get range(){return!U.isNullOrUndefined(this.value)&&!U.isNullOrUndefined(this.highValue)}initHasRun=!1;inputModelChangeSubject=new ce;inputModelChangeSubscription=null;outputModelChangeSubject=new ce;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new sr;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new Cl;leftOuterSelectionBarElement;rightOuterSelectionBarElement;fullBarElement;selectionBarElement;minHandleElement;maxHandleElement;floorLabelElement;ceilLabelElement;minHandleLabelElement;maxHandleLabelElement;combinedLabelElement;ticksElement;tooltipTemplate;sliderElementVerticalClass=!1;sliderElementAnimateClass=!1;sliderElementWithLegendClass=!1;sliderElementDisabledAttr=null;sliderElementAriaLabel="ngx-slider";barStyle={};minPointerStyle={};maxPointerStyle={};fullBarTransparentClass=!1;selectionBarDraggableClass=!1;ticksUnderValuesClass=!1;get showTicks(){return this.viewOptions.showTicks}intermediateTicks=!1;ticks=[];eventListenerHelper=null;onMoveEventListener=null;onEndEventListener=null;moving=!1;resizeObserver=null;onTouchedCallback=null;onChangeCallback=null;constructor(o,e,n,r,a){this.renderer=o,this.elementRef=e,this.changeDetectionRef=n,this.zone=r,this.allowUnsafeHtmlInSlider=a,this.eventListenerHelper=new _l(this.renderer)}ngOnInit(){this.viewOptions=new sr,Object.assign(this.viewOptions,this.options),this.updateDisabledState(),this.updateVerticalState(),this.updateAriaLabel()}ngAfterViewInit(){this.applyOptions(),this.subscribeInputModelChangeSubject(),this.subscribeOutputModelChangeSubject(),this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.range?this.viewHighValue=this.modelValueToViewValue(this.highValue):this.viewHighValue=null,this.updateVerticalState(),this.manageElementsStyle(),this.updateDisabledState(),this.calculateViewDimensions(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),this.initHandles(),this.manageEventsBindings(),this.updateAriaLabel(),this.subscribeResizeObserver(),this.initHasRun=!0,this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}ngOnChanges(o){!U.isNullOrUndefined(o.options)&&JSON.stringify(o.options.previousValue)!==JSON.stringify(o.options.currentValue)&&this.onChangeOptions(),(!U.isNullOrUndefined(o.value)||!U.isNullOrUndefined(o.highValue))&&this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}ngOnDestroy(){this.unbindEvents(),this.unsubscribeResizeObserver(),this.unsubscribeInputModelChangeSubject(),this.unsubscribeOutputModelChangeSubject(),this.unsubscribeManualRefresh(),this.unsubscribeTriggerFocus()}writeValue(o){o instanceof Array?(this.value=o[0],this.highValue=o[1]):this.value=o,this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}registerOnChange(o){this.onChangeCallback=o}registerOnTouched(o){this.onTouchedCallback=o}setDisabledState(o){this.viewOptions.disabled=o,this.updateDisabledState()}setAriaLabel(o){this.viewOptions.ariaLabel=o,this.updateAriaLabel()}onResize(o){this.calculateViewDimensionsAndDetectChanges()}subscribeInputModelChangeSubject(){this.inputModelChangeSubscription=this.inputModelChangeSubject.pipe(Oi(yl.compare),Ue(o=>!o.forceChange&&!o.internalChange)).subscribe(o=>this.applyInputModelChange(o))}subscribeOutputModelChangeSubject(){this.outputModelChangeSubscription=this.outputModelChangeSubject.pipe(Oi(yl.compare)).subscribe(o=>this.publishOutputModelChange(o))}subscribeResizeObserver(){zi.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){zi.isResizeObserverAvailable()&&this.resizeObserver!==null&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}unsubscribeOnMove(){U.isNullOrUndefined(this.onMoveEventListener)||(this.eventListenerHelper.detachEventListener(this.onMoveEventListener),this.onMoveEventListener=null)}unsubscribeOnEnd(){U.isNullOrUndefined(this.onEndEventListener)||(this.eventListenerHelper.detachEventListener(this.onEndEventListener),this.onEndEventListener=null)}unsubscribeInputModelChangeSubject(){U.isNullOrUndefined(this.inputModelChangeSubscription)||(this.inputModelChangeSubscription.unsubscribe(),this.inputModelChangeSubscription=null)}unsubscribeOutputModelChangeSubject(){U.isNullOrUndefined(this.outputModelChangeSubscription)||(this.outputModelChangeSubscription.unsubscribe(),this.outputModelChangeSubscription=null)}unsubscribeManualRefresh(){U.isNullOrUndefined(this.manualRefreshSubscription)||(this.manualRefreshSubscription.unsubscribe(),this.manualRefreshSubscription=null)}unsubscribeTriggerFocus(){U.isNullOrUndefined(this.triggerFocusSubscription)||(this.triggerFocusSubscription.unsubscribe(),this.triggerFocusSubscription=null)}getPointerElement(o){return o===ge.Min?this.minHandleElement:o===ge.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===ge.Min?this.viewLowValue:this.currentTrackingPointer===ge.Max?this.viewHighValue:null}modelValueToViewValue(o){return U.isNullOrUndefined(o)?NaN:!U.isNullOrUndefined(this.viewOptions.stepsArray)&&!this.viewOptions.bindIndexForStepsArray?U.findStepIndex(+o,this.viewOptions.stepsArray):+o}viewValueToModelValue(o){return!U.isNullOrUndefined(this.viewOptions.stepsArray)&&!this.viewOptions.bindIndexForStepsArray?this.getStepValue(o):o}getStepValue(o){let e=this.viewOptions.stepsArray[o];return U.isNullOrUndefined(e)?NaN:e.value}applyViewChange(){this.value=this.viewValueToModelValue(this.viewLowValue),this.range&&(this.highValue=this.viewValueToModelValue(this.viewHighValue)),this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,userEventInitiated:!0,forceChange:!1}),this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!0})}applyInputModelChange(o){let e=this.normaliseModelValues(o),n=!lr.compare(o,e);n&&(this.value=e.value,this.highValue=e.highValue),this.viewLowValue=this.modelValueToViewValue(e.value),this.range?this.viewHighValue=this.modelValueToViewValue(e.highValue):this.viewHighValue=null,this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateAriaAttributes(),this.range&&this.updateCombinedLabel(),this.outputModelChangeSubject.next({value:e.value,highValue:e.highValue,forceChange:n,userEventInitiated:!1})}publishOutputModelChange(o){let e=()=>{this.valueChange.emit(o.value),this.range&&this.highValueChange.emit(o.highValue),U.isNullOrUndefined(this.onChangeCallback)||(this.range?this.onChangeCallback([o.value,o.highValue]):this.onChangeCallback(o.value)),U.isNullOrUndefined(this.onTouchedCallback)||(this.range?this.onTouchedCallback([o.value,o.highValue]):this.onTouchedCallback(o.value))};o.userEventInitiated?(e(),this.userChange.emit(this.getChangeContext())):setTimeout(()=>{e()})}normaliseModelValues(o){let e=new lr;if(e.value=o.value,e.highValue=o.highValue,!U.isNullOrUndefined(this.viewOptions.stepsArray)){if(this.viewOptions.enforceStepsArray){let n=U.findStepIndex(e.value,this.viewOptions.stepsArray);if(e.value=this.viewOptions.stepsArray[n].value,this.range){let r=U.findStepIndex(e.highValue,this.viewOptions.stepsArray);e.highValue=this.viewOptions.stepsArray[r].value}}return e}if(this.viewOptions.enforceStep&&(e.value=this.roundStep(e.value),this.range&&(e.highValue=this.roundStep(e.highValue))),this.viewOptions.enforceRange&&(e.value=vt.clampToRange(e.value,this.viewOptions.floor,this.viewOptions.ceil),this.range&&(e.highValue=vt.clampToRange(e.highValue,this.viewOptions.floor,this.viewOptions.ceil)),this.range&&o.value>o.highValue))if(this.viewOptions.noSwitching)e.value=e.highValue;else{let n=o.value;e.value=o.highValue,e.highValue=n}return e}renormaliseModelValues(){let o={value:this.value,highValue:this.highValue},e=this.normaliseModelValues(o);lr.compare(e,o)||(this.value=e.value,this.highValue=e.highValue,this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!0,userEventInitiated:!1}))}onChangeOptions(){if(!this.initHasRun)return;let o=this.getOptionsInfluencingEventBindings(this.viewOptions);this.applyOptions();let e=this.getOptionsInfluencingEventBindings(this.viewOptions),n=!U.areArraysEqual(o,e);this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.range?this.viewHighValue=this.modelValueToViewValue(this.highValue):this.viewHighValue=null,this.resetSlider(n)}applyOptions(){if(this.viewOptions=new sr,Object.assign(this.viewOptions,this.options),this.viewOptions.draggableRange=this.range&&this.viewOptions.draggableRange,this.viewOptions.draggableRangeOnly=this.range&&this.viewOptions.draggableRangeOnly,this.viewOptions.draggableRangeOnly&&(this.viewOptions.draggableRange=!0),this.viewOptions.showTicks=this.viewOptions.showTicks||this.viewOptions.showTicksValues||!U.isNullOrUndefined(this.viewOptions.ticksArray),this.viewOptions.showTicks&&(!U.isNullOrUndefined(this.viewOptions.tickStep)||!U.isNullOrUndefined(this.viewOptions.ticksArray))&&(this.intermediateTicks=!0),this.viewOptions.showSelectionBar=this.viewOptions.showSelectionBar||this.viewOptions.showSelectionBarEnd||!U.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue),U.isNullOrUndefined(this.viewOptions.stepsArray)?this.applyFloorCeilOptions():this.applyStepsArrayOptions(),U.isNullOrUndefined(this.viewOptions.combineLabels)&&(this.viewOptions.combineLabels=(o,e)=>o+" - "+e),this.viewOptions.logScale&&this.viewOptions.floor===0)throw Error("Can't use floor=0 with logarithmic scale")}applyStepsArrayOptions(){this.viewOptions.floor=0,this.viewOptions.ceil=this.viewOptions.stepsArray.length-1,this.viewOptions.step=1,U.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=o=>this.viewOptions.bindIndexForStepsArray?String(this.getStepValue(o)):String(o))}applyFloorCeilOptions(){if(U.isNullOrUndefined(this.viewOptions.step)?this.viewOptions.step=1:(this.viewOptions.step=+this.viewOptions.step,this.viewOptions.step<=0&&(this.viewOptions.step=1)),U.isNullOrUndefined(this.viewOptions.ceil)||U.isNullOrUndefined(this.viewOptions.floor))throw Error("floor and ceil options must be supplied");this.viewOptions.ceil=+this.viewOptions.ceil,this.viewOptions.floor=+this.viewOptions.floor,U.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=o=>String(o))}resetSlider(o=!0){this.manageElementsStyle(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),o&&(this.unbindEvents(),this.manageEventsBindings()),this.updateDisabledState(),this.updateAriaLabel(),this.calculateViewDimensions(),this.refocusPointerIfNeeded()}focusPointer(o){o!==ge.Min&&o!==ge.Max&&(o=ge.Min),o===ge.Min?this.minHandleElement.focus():this.range&&o===ge.Max&&this.maxHandleElement.focus()}refocusPointerIfNeeded(){U.isNullOrUndefined(this.currentFocusPointer)||this.getPointerElement(this.currentFocusPointer).focusIfNeeded()}manageElementsStyle(){this.updateScale(),this.floorLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels),this.ceilLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels);let o=this.viewOptions.showTicksValues&&!this.intermediateTicks;this.minHandleLabelElement.setAlwaysHide(o||this.viewOptions.hidePointerLabels),this.maxHandleLabelElement.setAlwaysHide(o||!this.range||this.viewOptions.hidePointerLabels),this.combinedLabelElement.setAlwaysHide(o||!this.range||this.viewOptions.hidePointerLabels),this.selectionBarElement.setAlwaysHide(!this.range&&!this.viewOptions.showSelectionBar),this.leftOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.rightOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.fullBarTransparentClass=this.range&&this.viewOptions.showOuterSelectionBars,this.selectionBarDraggableClass=this.viewOptions.draggableRange&&!this.viewOptions.onlyBindHandles,this.ticksUnderValuesClass=this.intermediateTicks&&this.options.showTicksValues,this.sliderElementVerticalClass!==this.viewOptions.vertical&&(this.updateVerticalState(),setTimeout(()=>{this.resetSlider()})),this.sliderElementAnimateClass!==this.viewOptions.animate&&setTimeout(()=>{this.sliderElementAnimateClass=this.viewOptions.animate}),this.updateRotate()}manageEventsBindings(){this.viewOptions.disabled||this.viewOptions.readOnly?this.unbindEvents():this.bindEvents()}updateDisabledState(){this.sliderElementDisabledAttr=this.viewOptions.disabled?"disabled":null}updateAriaLabel(){this.sliderElementAriaLabel=this.viewOptions.ariaLabel||"nxg-slider"}updateVerticalState(){this.sliderElementVerticalClass=this.viewOptions.vertical;for(let o of this.getAllSliderElements())U.isNullOrUndefined(o)||o.setVertical(this.viewOptions.vertical)}updateScale(){for(let o of this.getAllSliderElements())o.setScale(this.viewOptions.scale)}updateRotate(){for(let o of this.getAllSliderElements())o.setRotate(this.viewOptions.rotate)}getAllSliderElements(){return[this.leftOuterSelectionBarElement,this.rightOuterSelectionBarElement,this.fullBarElement,this.selectionBarElement,this.minHandleElement,this.maxHandleElement,this.floorLabelElement,this.ceilLabelElement,this.minHandleLabelElement,this.maxHandleLabelElement,this.combinedLabelElement,this.ticksElement]}initHandles(){this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.range&&this.updateCombinedLabel(),this.updateTicksScale()}addAccessibility(){this.updateAriaAttributes(),this.minHandleElement.role="slider",this.viewOptions.keyboardSupport&&!(this.viewOptions.readOnly||this.viewOptions.disabled)?this.minHandleElement.tabindex="0":this.minHandleElement.tabindex="",this.minHandleElement.ariaOrientation=this.viewOptions.vertical||this.viewOptions.rotate!==0?"vertical":"horizontal",U.isNullOrUndefined(this.viewOptions.ariaLabel)?U.isNullOrUndefined(this.viewOptions.ariaLabelledBy)||(this.minHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledBy):this.minHandleElement.ariaLabel=this.viewOptions.ariaLabel,this.range&&(this.maxHandleElement.role="slider",this.viewOptions.keyboardSupport&&!(this.viewOptions.readOnly||this.viewOptions.disabled)?this.maxHandleElement.tabindex="0":this.maxHandleElement.tabindex="",this.maxHandleElement.ariaOrientation=this.viewOptions.vertical||this.viewOptions.rotate!==0?"vertical":"horizontal",U.isNullOrUndefined(this.viewOptions.ariaLabelHigh)?U.isNullOrUndefined(this.viewOptions.ariaLabelledByHigh)||(this.maxHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledByHigh):this.maxHandleElement.ariaLabel=this.viewOptions.ariaLabelHigh)}updateAriaAttributes(){this.minHandleElement.ariaValueNow=(+this.value).toString(),this.minHandleElement.ariaValueText=this.viewOptions.translate(+this.value,Bi.Low),this.minHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.minHandleElement.ariaValueMax=this.viewOptions.ceil.toString(),this.range&&(this.maxHandleElement.ariaValueNow=(+this.highValue).toString(),this.maxHandleElement.ariaValueText=this.viewOptions.translate(+this.highValue,Bi.High),this.maxHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.maxHandleElement.ariaValueMax=this.viewOptions.ceil.toString())}calculateViewDimensions(){U.isNullOrUndefined(this.viewOptions.handleDimension)?this.minHandleElement.calculateDimension():this.minHandleElement.setDimension(this.viewOptions.handleDimension);let o=this.minHandleElement.dimension;this.handleHalfDimension=o/2,U.isNullOrUndefined(this.viewOptions.barDimension)?this.fullBarElement.calculateDimension():this.fullBarElement.setDimension(this.viewOptions.barDimension),this.maxHandlePosition=this.fullBarElement.dimension-o,this.initHasRun&&(this.updateFloorLabel(),this.updateCeilLabel(),this.initHandles())}calculateViewDimensionsAndDetectChanges(){this.calculateViewDimensions(),this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}isRefDestroyed(){return this.changeDetectionRef.destroyed}updateTicksScale(){if(!this.viewOptions.showTicks&&this.sliderElementWithLegendClass){setTimeout(()=>{this.sliderElementWithLegendClass=!1});return}let o=U.isNullOrUndefined(this.viewOptions.ticksArray)?this.getTicksArray():this.viewOptions.ticksArray,e=this.viewOptions.vertical?"translateY":"translateX";this.viewOptions.rightToLeft&&o.reverse();let n=U.isNullOrUndefined(this.viewOptions.tickValueStep)?U.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep:this.viewOptions.tickValueStep,r=!1,a=o.map(s=>{let l=this.valueToPosition(s);this.viewOptions.vertical&&(l=this.maxHandlePosition-l);let d=e+"("+Math.round(l)+"px)",u=new ep;u.selected=this.isTickSelected(s),u.style={"-webkit-transform":d,"-moz-transform":d,"-o-transform":d,"-ms-transform":d,transform:d},u.selected&&!U.isNullOrUndefined(this.viewOptions.getSelectionBarColor)&&(u.style["background-color"]=this.getSelectionBarColor()),!u.selected&&!U.isNullOrUndefined(this.viewOptions.getTickColor)&&(u.style["background-color"]=this.getTickColor(s)),U.isNullOrUndefined(this.viewOptions.ticksTooltip)||(u.tooltip=this.viewOptions.ticksTooltip(s),u.tooltipPlacement=this.viewOptions.vertical?"right":"top"),this.viewOptions.showTicksValues&&!U.isNullOrUndefined(n)&&vt.isModuloWithinPrecisionLimit(s,n,this.viewOptions.precisionLimit)&&(u.value=this.getDisplayValue(s,Bi.TickValue),U.isNullOrUndefined(this.viewOptions.ticksValuesTooltip)||(u.valueTooltip=this.viewOptions.ticksValuesTooltip(s),u.valueTooltipPlacement=this.viewOptions.vertical?"right":"top"));let f=null;if(U.isNullOrUndefined(this.viewOptions.stepsArray))U.isNullOrUndefined(this.viewOptions.getLegend)||(f=this.viewOptions.getLegend(s));else{let g=this.viewOptions.stepsArray[s];U.isNullOrUndefined(this.viewOptions.getStepLegend)?U.isNullOrUndefined(g)||(f=g.legend):f=this.viewOptions.getStepLegend(g)}return U.isNullOrUndefined(f)||(u.legend=f,r=!0),u});if(this.sliderElementWithLegendClass!==r&&setTimeout(()=>{this.sliderElementWithLegendClass=r}),!U.isNullOrUndefined(this.ticks)&&this.ticks.length===a.length)for(let s=0;s<a.length;++s)Object.assign(this.ticks[s],a[s]);else this.ticks=a,this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}getTicksArray(){let o=U.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep,e=[],n=1+Math.floor(vt.roundToPrecisionLimit(Math.abs(this.viewOptions.ceil-this.viewOptions.floor)/o,this.viewOptions.precisionLimit));for(let r=0;r<n;++r)e.push(vt.roundToPrecisionLimit(this.viewOptions.floor+o*r,this.viewOptions.precisionLimit));return e}isTickSelected(o){if(!this.range)if(U.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)){if(this.viewOptions.showSelectionBarEnd){if(o>=this.viewLowValue)return!0}else if(this.viewOptions.showSelectionBar&&o<=this.viewLowValue)return!0}else{let e=this.viewOptions.showSelectionBarFromValue;if(this.viewLowValue>e&&o>=e&&o<=this.viewLowValue)return!0;if(this.viewLowValue<e&&o<=e&&o>=this.viewLowValue)return!0}return!!(this.range&&o>=this.viewLowValue&&o<=this.viewHighValue)}updateFloorLabel(){if(!this.floorLabelElement.alwaysHide){this.floorLabelElement.setValue(this.getDisplayValue(this.viewOptions.floor,Bi.Floor)),this.floorLabelElement.calculateDimension();let o=this.viewOptions.rightToLeft?this.fullBarElement.dimension-this.floorLabelElement.dimension:0;this.floorLabelElement.setPosition(o)}}updateCeilLabel(){if(!this.ceilLabelElement.alwaysHide){this.ceilLabelElement.setValue(this.getDisplayValue(this.viewOptions.ceil,Bi.Ceil)),this.ceilLabelElement.calculateDimension();let o=this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension;this.ceilLabelElement.setPosition(o)}}updateHandles(o,e){o===ge.Min?this.updateLowHandle(e):o===ge.Max&&this.updateHighHandle(e),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(o,e){let n=o===ge.Min?this.minHandleLabelElement.dimension:this.maxHandleLabelElement.dimension,r=e-n/2+this.handleHalfDimension,a=this.fullBarElement.dimension-n;return this.viewOptions.boundPointerLabels?this.viewOptions.rightToLeft&&o===ge.Min||!this.viewOptions.rightToLeft&&o===ge.Max?Math.min(r,a):Math.min(Math.max(r,0),a):r}updateLowHandle(o){this.minHandleElement.setPosition(o),this.minHandleLabelElement.setValue(this.getDisplayValue(this.viewLowValue,Bi.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(ge.Min,o)),U.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(ge.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(o){this.maxHandleElement.setPosition(o),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,Bi.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(ge.Max,o)),U.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(ge.Max)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateFloorAndCeilLabelsVisibility(){if(this.viewOptions.hidePointerLabels)return;let o=!1,e=!1,n=this.isLabelBelowFloorLabel(this.minHandleLabelElement),r=this.isLabelAboveCeilLabel(this.minHandleLabelElement),a=this.isLabelAboveCeilLabel(this.maxHandleLabelElement),s=this.isLabelBelowFloorLabel(this.combinedLabelElement),l=this.isLabelAboveCeilLabel(this.combinedLabelElement);if(n?(o=!0,this.floorLabelElement.hide()):(o=!1,this.floorLabelElement.show()),r?(e=!0,this.ceilLabelElement.hide()):(e=!1,this.ceilLabelElement.show()),this.range){let d=this.combinedLabelElement.isVisible()?l:a,u=this.combinedLabelElement.isVisible()?s:n;d?this.ceilLabelElement.hide():e||this.ceilLabelElement.show(),u?this.floorLabelElement.hide():o||this.floorLabelElement.show()}}isLabelBelowFloorLabel(o){let e=o.position,n=o.dimension,r=this.floorLabelElement.position,a=this.floorLabelElement.dimension;return this.viewOptions.rightToLeft?e+n>=r-2:e<=r+a+2}isLabelAboveCeilLabel(o){let e=o.position,n=o.dimension,r=this.ceilLabelElement.position,a=this.ceilLabelElement.dimension;return this.viewOptions.rightToLeft?e<=r+a+2:e+n>=r-2}updateSelectionBar(){let o=0,e=0,n=this.viewOptions.rightToLeft?!this.viewOptions.showSelectionBarEnd:this.viewOptions.showSelectionBarEnd,r=this.viewOptions.rightToLeft?this.maxHandleElement.position+this.handleHalfDimension:this.minHandleElement.position+this.handleHalfDimension;if(this.range)e=Math.abs(this.maxHandleElement.position-this.minHandleElement.position),o=r;else if(U.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue))n?(e=Math.ceil(Math.abs(this.maxHandlePosition-this.minHandleElement.position)+this.handleHalfDimension),o=Math.floor(this.minHandleElement.position+this.handleHalfDimension)):(e=this.minHandleElement.position+this.handleHalfDimension,o=0);else{let a=this.viewOptions.showSelectionBarFromValue,s=this.valueToPosition(a);(this.viewOptions.rightToLeft?this.viewLowValue<=a:this.viewLowValue>a)?(e=this.minHandleElement.position-s,o=s+this.handleHalfDimension):(e=s-this.minHandleElement.position,o=this.minHandleElement.position+this.handleHalfDimension)}if(this.selectionBarElement.setDimension(e),this.selectionBarElement.setPosition(o),this.range&&this.viewOptions.showOuterSelectionBars&&(this.viewOptions.rightToLeft?(this.rightOuterSelectionBarElement.setDimension(o),this.rightOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.leftOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(o+e)),this.leftOuterSelectionBarElement.setPosition(o+e)):(this.leftOuterSelectionBarElement.setDimension(o),this.leftOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.rightOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(o+e)),this.rightOuterSelectionBarElement.setPosition(o+e))),U.isNullOrUndefined(this.viewOptions.getSelectionBarColor)){if(!U.isNullOrUndefined(this.viewOptions.selectionBarGradient)){let a=U.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)?0:this.valueToPosition(this.viewOptions.showSelectionBarFromValue),s=a-o>0&&!n||a-o<=0&&n,l=this.viewOptions.vertical?s?"bottom":"top":s?"left":"right";this.barStyle={backgroundImage:"linear-gradient(to "+l+", "+this.viewOptions.selectionBarGradient.from+" 0%,"+this.viewOptions.selectionBarGradient.to+" 100%)"},this.viewOptions.vertical?(this.barStyle.backgroundPosition="center "+(a+e+o+(s?-this.handleHalfDimension:0))+"px",this.barStyle.backgroundSize="100% "+(this.fullBarElement.dimension-this.handleHalfDimension)+"px"):(this.barStyle.backgroundPosition=a-o+(s?this.handleHalfDimension:0)+"px center",this.barStyle.backgroundSize=this.fullBarElement.dimension-this.handleHalfDimension+"px 100%")}}else{let a=this.getSelectionBarColor();this.barStyle={backgroundColor:a}}}getSelectionBarColor(){return this.range?this.viewOptions.getSelectionBarColor(this.value,this.highValue):this.viewOptions.getSelectionBarColor(this.value)}getPointerColor(o){return o===ge.Max?this.viewOptions.getPointerColor(this.highValue,o):this.viewOptions.getPointerColor(this.value,o)}getTickColor(o){return this.viewOptions.getTickColor(o)}updateCombinedLabel(){let o=null;if(this.viewOptions.rightToLeft?o=this.minHandleLabelElement.position-this.minHandleLabelElement.dimension-10<=this.maxHandleLabelElement.position:o=this.minHandleLabelElement.position+this.minHandleLabelElement.dimension+10>=this.maxHandleLabelElement.position,o){let e=this.getDisplayValue(this.viewLowValue,Bi.Low),n=this.getDisplayValue(this.viewHighValue,Bi.High),r=this.viewOptions.rightToLeft?this.viewOptions.combineLabels(n,e):this.viewOptions.combineLabels(e,n);this.combinedLabelElement.setValue(r);let a=this.viewOptions.boundPointerLabels?Math.min(Math.max(this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2,0),this.fullBarElement.dimension-this.combinedLabelElement.dimension):this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2;this.combinedLabelElement.setPosition(a),this.minHandleLabelElement.hide(),this.maxHandleLabelElement.hide(),this.combinedLabelElement.show()}else this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.maxHandleLabelElement.show(),this.minHandleLabelElement.show(),this.combinedLabelElement.hide();this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}getDisplayValue(o,e){return!U.isNullOrUndefined(this.viewOptions.stepsArray)&&!this.viewOptions.bindIndexForStepsArray&&(o=this.getStepValue(o)),this.viewOptions.translate(o,e)}roundStep(o,e){let n=U.isNullOrUndefined(e)?this.viewOptions.step:e,r=vt.roundToPrecisionLimit((o-this.viewOptions.floor)/n,this.viewOptions.precisionLimit);return r=Math.round(r)*n,vt.roundToPrecisionLimit(this.viewOptions.floor+r,this.viewOptions.precisionLimit)}valueToPosition(o){let e=U.linearValueToPosition;U.isNullOrUndefined(this.viewOptions.customValueToPosition)?this.viewOptions.logScale&&(e=U.logValueToPosition):e=this.viewOptions.customValueToPosition,o=vt.clampToRange(o,this.viewOptions.floor,this.viewOptions.ceil);let n=e(o,this.viewOptions.floor,this.viewOptions.ceil);return U.isNullOrUndefined(n)&&(n=0),this.viewOptions.rightToLeft&&(n=1-n),n*this.maxHandlePosition}positionToValue(o){let e=o/this.maxHandlePosition;this.viewOptions.rightToLeft&&(e=1-e);let n=U.linearPositionToValue;U.isNullOrUndefined(this.viewOptions.customPositionToValue)?this.viewOptions.logScale&&(n=U.logPositionToValue):n=this.viewOptions.customPositionToValue;let r=n(e,this.viewOptions.floor,this.viewOptions.ceil);return U.isNullOrUndefined(r)?0:r}getEventXY(o,e){if(o instanceof MouseEvent)return this.viewOptions.vertical||this.viewOptions.rotate!==0?o.clientY:o.clientX;let n=0,r=o.touches;if(!U.isNullOrUndefined(e)){for(let a=0;a<r.length;a++)if(r[a].identifier===e){n=a;break}}return this.viewOptions.vertical||this.viewOptions.rotate!==0?r[n].clientY:r[n].clientX}getEventPosition(o,e){let n=this.elementRef.nativeElement.getBoundingClientRect(),r=this.viewOptions.vertical||this.viewOptions.rotate!==0?n.bottom:n.left,a=0;return this.viewOptions.vertical||this.viewOptions.rotate!==0?a=-this.getEventXY(o,e)+r:a=this.getEventXY(o,e)-r,a*this.viewOptions.scale-this.handleHalfDimension}getNearestHandle(o){if(!this.range)return ge.Min;let e=this.getEventPosition(o),n=Math.abs(e-this.minHandleElement.position),r=Math.abs(e-this.maxHandleElement.position);return n<r?ge.Min:n>r?ge.Max:this.viewOptions.rightToLeft?e>this.minHandleElement.position?ge.Min:ge.Max:e<this.minHandleElement.position?ge.Min:ge.Max}bindEvents(){let o=this.viewOptions.draggableRange;this.viewOptions.onlyBindHandles||this.selectionBarElement.on("mousedown",e=>this.onBarStart(null,o,e,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",e=>this.onBarStart(ge.Min,o,e,!0,!0)),this.maxHandleElement.on("mousedown",e=>this.onBarStart(ge.Max,o,e,!0,!0))):(this.minHandleElement.on("mousedown",e=>this.onStart(ge.Min,e,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",e=>this.onStart(ge.Max,e,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.on("mousedown",e=>this.onStart(null,e,!0,!0,!0)),this.ticksElement.on("mousedown",e=>this.onStart(null,e,!0,!0,!0,!0)))),this.viewOptions.onlyBindHandles||this.selectionBarElement.onPassive("touchstart",e=>this.onBarStart(null,o,e,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.onPassive("touchstart",e=>this.onBarStart(ge.Min,o,e,!0,!0)),this.maxHandleElement.onPassive("touchstart",e=>this.onBarStart(ge.Max,o,e,!0,!0))):(this.minHandleElement.onPassive("touchstart",e=>this.onStart(ge.Min,e,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",e=>this.onStart(ge.Max,e,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.onPassive("touchstart",e=>this.onStart(null,e,!0,!0,!0)),this.ticksElement.onPassive("touchstart",e=>this.onStart(null,e,!1,!1,!0,!0)))),this.viewOptions.keyboardSupport&&(this.minHandleElement.on("focus",()=>this.onPointerFocus(ge.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(ge.Max)))}getOptionsInfluencingEventBindings(o){return[o.disabled,o.readOnly,o.draggableRange,o.draggableRangeOnly,o.onlyBindHandles,o.keyboardSupport]}unbindEvents(){this.unsubscribeOnMove(),this.unsubscribeOnEnd();for(let o of this.getAllSliderElements())U.isNullOrUndefined(o)||o.off()}onBarStart(o,e,n,r,a,s,l){e?this.onDragStart(o,n,r,a):this.onStart(o,n,r,a,s,l)}onStart(o,e,n,r,a,s){e.stopPropagation(),!zi.isTouchEvent(e)&&!vl&&e.preventDefault(),this.moving=!1,this.calculateViewDimensions(),U.isNullOrUndefined(o)&&(o=this.getNearestHandle(e)),this.currentTrackingPointer=o;let l=this.getPointerElement(o);if(l.active=!0,this.viewOptions.keyboardSupport&&l.focus(),n){this.unsubscribeOnMove();let d=u=>this.dragging.active?this.onDragMove(u):this.onMove(u);zi.isTouchEvent(e)?this.onMoveEventListener=this.eventListenerHelper.attachPassiveEventListener(document,"touchmove",d):this.onMoveEventListener=this.eventListenerHelper.attachEventListener(document,"mousemove",d)}if(r){this.unsubscribeOnEnd();let d=u=>this.onEnd(u);zi.isTouchEvent(e)?this.onEndEventListener=this.eventListenerHelper.attachPassiveEventListener(document,"touchend",d):this.onEndEventListener=this.eventListenerHelper.attachEventListener(document,"mouseup",d)}this.userChangeStart.emit(this.getChangeContext()),zi.isTouchEvent(e)&&!U.isNullOrUndefined(e.changedTouches)&&U.isNullOrUndefined(this.touchId)&&(this.touchId=e.changedTouches[0].identifier),a&&this.onMove(e,!0),s&&this.onEnd(e)}onMove(o,e){let n=null;if(zi.isTouchEvent(o)){let d=o.changedTouches;for(let u=0;u<d.length;u++)if(d[u].identifier===this.touchId){n=d[u];break}if(U.isNullOrUndefined(n))return}this.viewOptions.animate&&!this.viewOptions.animateOnMove&&this.moving&&(this.sliderElementAnimateClass=!1),this.moving=!0;let r=U.isNullOrUndefined(n)?this.getEventPosition(o):this.getEventPosition(o,n.identifier),a,s=this.viewOptions.rightToLeft?this.viewOptions.floor:this.viewOptions.ceil,l=this.viewOptions.rightToLeft?this.viewOptions.ceil:this.viewOptions.floor;r<=0?a=l:r>=this.maxHandlePosition?a=s:(a=this.positionToValue(r),e&&!U.isNullOrUndefined(this.viewOptions.tickStep)?a=this.roundStep(a,this.viewOptions.tickStep):a=this.roundStep(a)),this.positionTrackingHandle(a)}onEnd(o){zi.isTouchEvent(o)&&o.changedTouches[0].identifier!==this.touchId||(this.moving=!1,this.viewOptions.animate&&(this.sliderElementAnimateClass=!0),this.touchId=null,this.viewOptions.keyboardSupport||(this.minHandleElement.active=!1,this.maxHandleElement.active=!1,this.currentTrackingPointer=null),this.dragging.active=!1,this.unsubscribeOnMove(),this.unsubscribeOnEnd(),this.userChangeEnd.emit(this.getChangeContext()))}onPointerFocus(o){let e=this.getPointerElement(o);e.on("blur",()=>this.onPointerBlur(e)),e.on("keydown",n=>this.onKeyboardEvent(n)),e.on("keyup",()=>this.onKeyUp()),e.active=!0,this.currentTrackingPointer=o,this.currentFocusPointer=o,this.firstKeyDown=!0}onKeyUp(){this.firstKeyDown=!0,this.userChangeEnd.emit(this.getChangeContext())}onPointerBlur(o){o.off("blur"),o.off("keydown"),o.off("keyup"),o.active=!1,U.isNullOrUndefined(this.touchId)&&(this.currentTrackingPointer=null,this.currentFocusPointer=null)}getKeyActions(o){let e=this.viewOptions.ceil-this.viewOptions.floor,n=o+this.viewOptions.step,r=o-this.viewOptions.step,a=o+e/10,s=o-e/10;this.viewOptions.reversedControls&&(n=o-this.viewOptions.step,r=o+this.viewOptions.step,a=o-e/10,s=o+e/10);let l={UP:n,DOWN:r,LEFT:r,RIGHT:n,PAGEUP:a,PAGEDOWN:s,HOME:this.viewOptions.reversedControls?this.viewOptions.ceil:this.viewOptions.floor,END:this.viewOptions.reversedControls?this.viewOptions.floor:this.viewOptions.ceil};return this.viewOptions.rightToLeft&&(l.LEFT=n,l.RIGHT=r,(this.viewOptions.vertical||this.viewOptions.rotate!==0)&&(l.UP=r,l.DOWN=n)),l}onKeyboardEvent(o){let e=this.getCurrentTrackingValue(),n=U.isNullOrUndefined(o.keyCode)?o.which:o.keyCode,r={38:"UP",40:"DOWN",37:"LEFT",39:"RIGHT",33:"PAGEUP",34:"PAGEDOWN",36:"HOME",35:"END"},a=this.getKeyActions(e),s=r[n],l=a[s];if(U.isNullOrUndefined(l)||U.isNullOrUndefined(this.currentTrackingPointer))return;o.preventDefault(),this.firstKeyDown&&(this.firstKeyDown=!1,this.userChangeStart.emit(this.getChangeContext()));let d=vt.clampToRange(l,this.viewOptions.floor,this.viewOptions.ceil),u=this.roundStep(d);if(!this.viewOptions.draggableRangeOnly)this.positionTrackingHandle(u);else{let f=this.viewHighValue-this.viewLowValue,g,_;this.currentTrackingPointer===ge.Min?(g=u,_=u+f,_>this.viewOptions.ceil&&(_=this.viewOptions.ceil,g=_-f)):this.currentTrackingPointer===ge.Max&&(_=u,g=u-f,g<this.viewOptions.floor&&(g=this.viewOptions.floor,_=g+f)),this.positionTrackingBar(g,_)}}onDragStart(o,e,n,r){let a=this.getEventPosition(e);this.dragging=new Cl,this.dragging.active=!0,this.dragging.value=this.positionToValue(a),this.dragging.difference=this.viewHighValue-this.viewLowValue,this.dragging.lowLimit=this.viewOptions.rightToLeft?this.minHandleElement.position-a:a-this.minHandleElement.position,this.dragging.highLimit=this.viewOptions.rightToLeft?a-this.maxHandleElement.position:this.maxHandleElement.position-a,this.onStart(o,e,n,r)}getMinValue(o,e,n){let r=this.viewOptions.rightToLeft,a=null;return e?n?a=r?this.viewOptions.floor:this.viewOptions.ceil-this.dragging.difference:a=r?this.viewOptions.ceil-this.dragging.difference:this.viewOptions.floor:a=r?this.positionToValue(o+this.dragging.lowLimit):this.positionToValue(o-this.dragging.lowLimit),this.roundStep(a)}getMaxValue(o,e,n){let r=this.viewOptions.rightToLeft,a=null;return e?n?a=r?this.viewOptions.floor+this.dragging.difference:this.viewOptions.ceil:a=r?this.viewOptions.ceil:this.viewOptions.floor+this.dragging.difference:r?a=this.positionToValue(o+this.dragging.lowLimit)+this.dragging.difference:a=this.positionToValue(o-this.dragging.lowLimit)+this.dragging.difference,this.roundStep(a)}onDragMove(o){let e=this.getEventPosition(o);this.viewOptions.animate&&!this.viewOptions.animateOnMove&&this.moving&&(this.sliderElementAnimateClass=!1),this.moving=!0;let n,r,a,s;this.viewOptions.rightToLeft?(n=this.dragging.lowLimit,r=this.dragging.highLimit,a=this.maxHandleElement,s=this.minHandleElement):(n=this.dragging.highLimit,r=this.dragging.lowLimit,a=this.minHandleElement,s=this.maxHandleElement);let l=e<=r,d=e>=this.maxHandlePosition-n,u,f;if(l){if(a.position===0)return;u=this.getMinValue(e,!0,!1),f=this.getMaxValue(e,!0,!1)}else if(d){if(s.position===this.maxHandlePosition)return;f=this.getMaxValue(e,!0,!0),u=this.getMinValue(e,!0,!0)}else u=this.getMinValue(e,!1,!1),f=this.getMaxValue(e,!1,!1);this.positionTrackingBar(u,f)}positionTrackingBar(o,e){!U.isNullOrUndefined(this.viewOptions.minLimit)&&o<this.viewOptions.minLimit&&(o=this.viewOptions.minLimit,e=vt.roundToPrecisionLimit(o+this.dragging.difference,this.viewOptions.precisionLimit)),!U.isNullOrUndefined(this.viewOptions.maxLimit)&&e>this.viewOptions.maxLimit&&(e=this.viewOptions.maxLimit,o=vt.roundToPrecisionLimit(e-this.dragging.difference,this.viewOptions.precisionLimit)),this.viewLowValue=o,this.viewHighValue=e,this.applyViewChange(),this.updateHandles(ge.Min,this.valueToPosition(o)),this.updateHandles(ge.Max,this.valueToPosition(e))}positionTrackingHandle(o){o=this.applyMinMaxLimit(o),this.range&&(this.viewOptions.pushRange?o=this.applyPushRange(o):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===ge.Min&&o>this.viewHighValue?o=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===ge.Max&&o<this.viewLowValue&&(o=this.applyMinMaxRange(this.viewLowValue))),o=this.applyMinMaxRange(o),this.currentTrackingPointer===ge.Min&&o>this.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(ge.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=ge.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===ge.Max&&o<this.viewLowValue&&(this.viewHighValue=this.viewLowValue,this.applyViewChange(),this.updateHandles(ge.Max,this.minHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=ge.Min,this.maxHandleElement.active=!1,this.minHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.minHandleElement.focus()))),this.getCurrentTrackingValue()!==o&&(this.currentTrackingPointer===ge.Min?(this.viewLowValue=o,this.applyViewChange()):this.currentTrackingPointer===ge.Max&&(this.viewHighValue=o,this.applyViewChange()),this.updateHandles(this.currentTrackingPointer,this.valueToPosition(o)),this.updateAriaAttributes())}applyMinMaxLimit(o){return!U.isNullOrUndefined(this.viewOptions.minLimit)&&o<this.viewOptions.minLimit?this.viewOptions.minLimit:!U.isNullOrUndefined(this.viewOptions.maxLimit)&&o>this.viewOptions.maxLimit?this.viewOptions.maxLimit:o}applyMinMaxRange(o){let e=this.currentTrackingPointer===ge.Min?this.viewHighValue:this.viewLowValue,n=Math.abs(o-e);if(!U.isNullOrUndefined(this.viewOptions.minRange)&&n<this.viewOptions.minRange){if(this.currentTrackingPointer===ge.Min)return vt.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.minRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===ge.Max)return vt.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.minRange,this.viewOptions.precisionLimit)}if(!U.isNullOrUndefined(this.viewOptions.maxRange)&&n>this.viewOptions.maxRange){if(this.currentTrackingPointer===ge.Min)return vt.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===ge.Max)return vt.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return o}applyPushRange(o){let e=this.currentTrackingPointer===ge.Min?this.viewHighValue-o:o-this.viewLowValue,n=U.isNullOrUndefined(this.viewOptions.minRange)?this.viewOptions.step:this.viewOptions.minRange,r=this.viewOptions.maxRange;return e<n?(this.currentTrackingPointer===ge.Min?(this.viewHighValue=vt.roundToPrecisionLimit(Math.min(o+n,this.viewOptions.ceil),this.viewOptions.precisionLimit),o=vt.roundToPrecisionLimit(this.viewHighValue-n,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(ge.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===ge.Max&&(this.viewLowValue=vt.roundToPrecisionLimit(Math.max(o-n,this.viewOptions.floor),this.viewOptions.precisionLimit),o=vt.roundToPrecisionLimit(this.viewLowValue+n,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(ge.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()):!U.isNullOrUndefined(r)&&e>r&&(this.currentTrackingPointer===ge.Min?(this.viewHighValue=vt.roundToPrecisionLimit(o+r,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(ge.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===ge.Max&&(this.viewLowValue=vt.roundToPrecisionLimit(o-r,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(ge.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),o}getChangeContext(){let o=new Jm;return o.pointerType=this.currentTrackingPointer,o.value=+this.value,this.range&&(o.highValue=+this.highValue),o}static \u0275fac=function(e){return new(e||i)(c(si),c(S),c(V),c(M),c(qv,8))};static \u0275cmp=v({type:i,selectors:[["ngx-slider"]],contentQueries:function(e,n,r){if(e&1&&Ge(r,Z4,5),e&2){let a;ne(a=oe())&&(n.tooltipTemplate=a.first)}},viewQuery:function(e,n){if(e&1&&(xe(q4,5,Fn),xe(Y4,5,Fn),xe(X4,5,Fn),xe(Q4,5,Fn),xe(K4,5,Km),xe(J4,5,Km),xe(eE,5,ar),xe(tE,5,ar),xe(iE,5,ar),xe(nE,5,ar),xe(oE,5,ar),xe(rE,5,Fn)),e&2){let r;ne(r=oe())&&(n.leftOuterSelectionBarElement=r.first),ne(r=oe())&&(n.rightOuterSelectionBarElement=r.first),ne(r=oe())&&(n.fullBarElement=r.first),ne(r=oe())&&(n.selectionBarElement=r.first),ne(r=oe())&&(n.minHandleElement=r.first),ne(r=oe())&&(n.maxHandleElement=r.first),ne(r=oe())&&(n.floorLabelElement=r.first),ne(r=oe())&&(n.ceilLabelElement=r.first),ne(r=oe())&&(n.minHandleLabelElement=r.first),ne(r=oe())&&(n.maxHandleLabelElement=r.first),ne(r=oe())&&(n.combinedLabelElement=r.first),ne(r=oe())&&(n.ticksElement=r.first)}},hostVars:10,hostBindings:function(e,n){e&1&&P("resize",function(a){return n.onResize(a)},!1,Oh),e&2&&(Ie("disabled",n.sliderElementDisabledAttr)("aria-label",n.sliderElementAriaLabel),ee("ngx-slider",n.sliderElementNgxSliderClass)("vertical",n.sliderElementVerticalClass)("animate",n.sliderElementAnimateClass)("with-legend",n.sliderElementWithLegendClass))},inputs:{value:"value",highValue:"highValue",options:"options",manualRefresh:"manualRefresh",triggerFocus:"triggerFocus"},outputs:{valueChange:"valueChange",highValueChange:"highValueChange",userChangeStart:"userChangeStart",userChange:"userChange",userChangeEnd:"userChangeEnd"},features:[We([mE]),rt],decls:29,vars:13,consts:[["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-left-out-selection"],["leftOuterSelectionBar",""],[1,"ngx-slider-span","ngx-slider-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-right-out-selection"],["rightOuterSelectionBar",""],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-full-bar"],["fullBar",""],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-selection-bar"],["selectionBar",""],[1,"ngx-slider-span","ngx-slider-bar","ngx-slider-selection",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-min",3,"ngStyle"],["minHandle",""],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-max",3,"ngStyle"],["maxHandle",""],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-floor"],["floorLabel",""],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-ceil"],["ceilLabel",""],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-value"],["minHandleLabel",""],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-high"],["maxHandleLabel",""],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-combined"],["combinedLabel",""],["ngxSliderElement","",1,"ngx-slider-ticks",3,"hidden"],["ticksElement",""],["class","ngx-slider-tick",3,"ngClass","ngStyle",4,"ngFor","ngForOf"],[1,"ngx-slider-tick",3,"ngClass","ngStyle"],[3,"template","tooltip","placement"],["class","ngx-slider-span ngx-slider-tick-value",3,"template","tooltip","placement","content",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerText",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerHTML",4,"ngIf"],[1,"ngx-slider-span","ngx-slider-tick-value",3,"template","tooltip","placement","content"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerText"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerHTML"]],template:function(e,n){e&1&&(m(0,"span",0,1),b(2,"span",2),p(),m(3,"span",3,4),b(5,"span",2),p(),m(6,"span",5,6),b(8,"span",2),p(),m(9,"span",7,8),b(11,"span",9),p(),b(12,"span",10,11)(14,"span",12,13)(16,"span",14,15)(18,"span",16,17)(20,"span",18,19)(22,"span",20,21)(24,"span",22,23),m(26,"span",24,25),O(28,dE,5,10,"span",26),p()),e&2&&(h(6),ee("ngx-slider-transparent",n.fullBarTransparentClass),h(3),ee("ngx-slider-draggable",n.selectionBarDraggableClass),h(2),k("ngStyle",n.barStyle),h(),k("ngStyle",n.minPointerStyle),h(2),Pi("display",n.range?"inherit":"none"),k("ngStyle",n.maxPointerStyle),h(12),ee("ngx-slider-ticks-values-under",n.ticksUnderValuesClass),k("hidden",!n.showTicks),h(2),k("ngForOf",n.ticks))},dependencies:[Co,Ba,hn,qh,Fn,Km,ar,uE],styles:['.ngx-slider{display:inline-block;position:relative;height:4px;width:100%;margin:35px 0 15px;vertical-align:middle;-webkit-user-select:none;user-select:none;touch-action:pan-y}  .ngx-slider.with-legend{margin-bottom:40px}  .ngx-slider[disabled]{cursor:not-allowed}  .ngx-slider[disabled] .ngx-slider-pointer{cursor:not-allowed;background-color:#d8e0f3}  .ngx-slider[disabled] .ngx-slider-draggable{cursor:not-allowed}  .ngx-slider[disabled] .ngx-slider-selection{background:#8b91a2}  .ngx-slider[disabled] .ngx-slider-tick{cursor:not-allowed}  .ngx-slider[disabled] .ngx-slider-tick.ngx-slider-selected{background:#8b91a2}  .ngx-slider .ngx-slider-span{white-space:nowrap;position:absolute;display:inline-block}  .ngx-slider .ngx-slider-base{width:100%;height:100%;padding:0}  .ngx-slider .ngx-slider-bar-wrapper{left:0;box-sizing:border-box;margin-top:-16px;padding-top:16px;width:100%;height:32px;z-index:1}  .ngx-slider .ngx-slider-draggable{cursor:move}  .ngx-slider .ngx-slider-bar{left:0;width:100%;height:4px;z-index:1;background:#d8e0f3;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}  .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-transparent .ngx-slider-bar{background:transparent}  .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-left-out-selection .ngx-slider-bar{background:#df002d}  .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-right-out-selection .ngx-slider-bar{background:#03a688}  .ngx-slider .ngx-slider-selection{z-index:2;background:#0db9f0;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}  .ngx-slider .ngx-slider-pointer{cursor:pointer;width:32px;height:32px;top:-14px;background-color:#0db9f0;z-index:3;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px}  .ngx-slider .ngx-slider-pointer:after{content:"";width:8px;height:8px;position:absolute;top:12px;left:12px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background:#fff}  .ngx-slider .ngx-slider-pointer:hover:after{background-color:#fff}  .ngx-slider .ngx-slider-pointer.ngx-slider-active{z-index:4}  .ngx-slider .ngx-slider-pointer.ngx-slider-active:after{background-color:#451aff}  .ngx-slider .ngx-slider-bubble{cursor:default;bottom:16px;padding:1px 3px;color:#55637d;font-size:16px}  .ngx-slider .ngx-slider-bubble.ngx-slider-limit{color:#55637d}  .ngx-slider .ngx-slider-ticks{box-sizing:border-box;width:100%;height:0;position:absolute;left:0;top:-3px;margin:0;z-index:1;list-style:none}  .ngx-slider .ngx-slider-ticks-values-under .ngx-slider-tick-value{top:auto;bottom:-36px}  .ngx-slider .ngx-slider-tick{text-align:center;cursor:pointer;width:10px;height:10px;background:#d8e0f3;border-radius:50%;position:absolute;top:0;left:0;margin-left:11px}  .ngx-slider .ngx-slider-tick.ngx-slider-selected{background:#0db9f0}  .ngx-slider .ngx-slider-tick-value{position:absolute;top:-34px;transform:translate(-50%)}  .ngx-slider .ngx-slider-tick-legend{position:absolute;top:24px;transform:translate(-50%);max-width:50px;white-space:normal}  .ngx-slider.vertical{position:relative;width:4px;height:100%;margin:0 20px;padding:0;vertical-align:baseline;touch-action:pan-x}  .ngx-slider.vertical .ngx-slider-base{width:100%;height:100%;padding:0}  .ngx-slider.vertical .ngx-slider-bar-wrapper{top:auto;left:0;margin:0 0 0 -16px;padding:0 0 0 16px;height:100%;width:32px}  .ngx-slider.vertical .ngx-slider-bar{bottom:0;left:auto;width:4px;height:100%}  .ngx-slider.vertical .ngx-slider-pointer{left:-14px!important;top:auto;bottom:0}  .ngx-slider.vertical .ngx-slider-bubble{left:16px!important;bottom:0}  .ngx-slider.vertical .ngx-slider-ticks{height:100%;width:0;left:-3px;top:0;z-index:1}  .ngx-slider.vertical .ngx-slider-tick{vertical-align:middle;margin-left:auto;margin-top:11px}  .ngx-slider.vertical .ngx-slider-tick-value{left:24px;top:auto;transform:translateY(-28%)}  .ngx-slider.vertical .ngx-slider-tick-legend{top:auto;right:24px;transform:translateY(-28%);max-width:none;white-space:nowrap}  .ngx-slider.vertical .ngx-slider-ticks-values-under .ngx-slider-tick-value{bottom:auto;left:auto;right:24px}  .ngx-slider *{transition:none}  .ngx-slider.animate .ngx-slider-bar-wrapper{transition:all linear .3s}  .ngx-slider.animate .ngx-slider-selection{transition:background-color linear .3s}  .ngx-slider.animate .ngx-slider-pointer{transition:all linear .3s}  .ngx-slider.animate .ngx-slider-pointer:after{transition:all linear .3s}  .ngx-slider.animate .ngx-slider-bubble{transition:all linear .3s}  .ngx-slider.animate .ngx-slider-bubble.ngx-slider-limit{transition:opacity linear .3s}  .ngx-slider.animate .ngx-slider-bubble.ngx-slider-combined{transition:opacity linear .3s}  .ngx-slider.animate .ngx-slider-tick{transition:background-color linear .3s}']})}return i})(),Yv=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275mod=Ce({type:i});static \u0275inj=ye({imports:[xi]})}return i})();var xl=(()=>{let t=class t{constructor(){this.minPrice=10,this.maxPrice=150,this.pricesOptions={floor:0,ceil:200}}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["app-price-variant"]],standalone:!0,features:[x],decls:17,vars:3,consts:[[1,"text-white"],["mat-icon-button","",1,"text-light"],[1,"price-variant"],[3,"value","highValue","options","valueChange","highValueChange"],[1,"variants"]],template:function(n,r){n&1&&(m(0,"header")(1,"span",0),y(2,"Precio"),p(),m(3,"button",1)(4,"mat-icon"),y(5,"close"),p()()(),m(6,"main",2)(7,"ngx-slider",3),Ci("valueChange",function(s){return ci(r.minPrice,s)||(r.minPrice=s),s})("highValueChange",function(s){return ci(r.maxPrice,s)||(r.maxPrice=s),s}),p(),m(8,"div",4)(9,"mat-checkbox"),y(10,"Chupito"),p(),m(11,"mat-checkbox"),y(12,"Medio vaso"),p(),m(13,"mat-checkbox"),y(14,"Vaso"),p(),m(15,"mat-checkbox"),y(16,"Botella"),p()()()),n&2&&(h(7),_i("value",r.minPrice)("highValue",r.maxPrice),k("options",r.pricesOptions))},dependencies:[Yv,tp,nt,st,at,Kt,Uv,gl],styles:['header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.price-variant[_ngcontent-%COMP%]     .ngx-slider .ngx-slider-pointer{background-color:transparent!important;outline:none!important}.price-variant[_ngcontent-%COMP%]     .ngx-slider .ngx-slider-pointer:after{content:"";width:16px;height:16px;position:absolute;top:8px;left:8px;border-radius:50%;background:#fff}.price-variant[_ngcontent-%COMP%]     .ngx-slider .ngx-slider-pointer.ngx-slider-active:after{background:#fff!important}.price-variant[_ngcontent-%COMP%]     .ngx-slider .ngx-slider-selection{background:#0a84ff!important}.price-variant[_ngcontent-%COMP%]     .ngx-slider-span{color:#fff}.price-variant[_ngcontent-%COMP%]     .ngx-slider-span.ngx-slider-limit{color:#48484a}.price-variant[_ngcontent-%COMP%]   .variants[_ngcontent-%COMP%]{display:flex;flex-direction:column}.price-variant[_ngcontent-%COMP%]   .variants[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]     .mdc-label{color:#fff}.price-variant[_ngcontent-%COMP%]   .variants[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]     .mdc-checkbox .mdc-checkbox__background{border-color:#48484a!important}']});let i=t;return i})();var Xv=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["type-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3 11V3H11V11H3ZM3 21V13H11V21H3ZM13 11V3H21V11H13ZM13 21V13H21V21H13ZM5 9H9V5H5V9ZM15 9H19V5H15V9ZM15 19H19V15H15V19ZM5 19H9V15H5V19Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var Qv=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["country-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M12 22C10.6333 22 9.34167 21.7375 8.125 21.2125C6.90833 20.6875 5.84583 19.9708 4.9375 19.0625C4.02917 18.1542 3.3125 17.0917 2.7875 15.875C2.2625 14.6583 2 13.3667 2 12C2 10.6167 2.2625 9.32083 2.7875 8.1125C3.3125 6.90417 4.02917 5.84583 4.9375 4.9375C5.84583 4.02917 6.90833 3.3125 8.125 2.7875C9.34167 2.2625 10.6333 2 12 2C13.3833 2 14.6792 2.2625 15.8875 2.7875C17.0958 3.3125 18.1542 4.02917 19.0625 4.9375C19.9708 5.84583 20.6875 6.90417 21.2125 8.1125C21.7375 9.32083 22 10.6167 22 12C22 13.3667 21.7375 14.6583 21.2125 15.875C20.6875 17.0917 19.9708 18.1542 19.0625 19.0625C18.1542 19.9708 17.0958 20.6875 15.8875 21.2125C14.6792 21.7375 13.3833 22 12 22ZM12 19.95C12.4333 19.35 12.8083 18.725 13.125 18.075C13.4417 17.425 13.7 16.7333 13.9 16H10.1C10.3 16.7333 10.5583 17.425 10.875 18.075C11.1917 18.725 11.5667 19.35 12 19.95ZM9.4 19.55C9.1 19 8.8375 18.4292 8.6125 17.8375C8.3875 17.2458 8.2 16.6333 8.05 16H5.1C5.58333 16.8333 6.1875 17.5583 6.9125 18.175C7.6375 18.7917 8.46667 19.25 9.4 19.55ZM14.6 19.55C15.5333 19.25 16.3625 18.7917 17.0875 18.175C17.8125 17.5583 18.4167 16.8333 18.9 16H15.95C15.8 16.6333 15.6125 17.2458 15.3875 17.8375C15.1625 18.4292 14.9 19 14.6 19.55ZM4.25 14H7.65C7.6 13.6667 7.5625 13.3375 7.5375 13.0125C7.5125 12.6875 7.5 12.35 7.5 12C7.5 11.65 7.5125 11.3125 7.5375 10.9875C7.5625 10.6625 7.6 10.3333 7.65 10H4.25C4.16667 10.3333 4.10417 10.6625 4.0625 10.9875C4.02083 11.3125 4 11.65 4 12C4 12.35 4.02083 12.6875 4.0625 13.0125C4.10417 13.3375 4.16667 13.6667 4.25 14ZM9.65 14H14.35C14.4 13.6667 14.4375 13.3375 14.4625 13.0125C14.4875 12.6875 14.5 12.35 14.5 12C14.5 11.65 14.4875 11.3125 14.4625 10.9875C14.4375 10.6625 14.4 10.3333 14.35 10H9.65C9.6 10.3333 9.5625 10.6625 9.5375 10.9875C9.5125 11.3125 9.5 11.65 9.5 12C9.5 12.35 9.5125 12.6875 9.5375 13.0125C9.5625 13.3375 9.6 13.6667 9.65 14ZM16.35 14H19.75C19.8333 13.6667 19.8958 13.3375 19.9375 13.0125C19.9792 12.6875 20 12.35 20 12C20 11.65 19.9792 11.3125 19.9375 10.9875C19.8958 10.6625 19.8333 10.3333 19.75 10H16.35C16.4 10.3333 16.4375 10.6625 16.4625 10.9875C16.4875 11.3125 16.5 11.65 16.5 12C16.5 12.35 16.4875 12.6875 16.4625 13.0125C16.4375 13.3375 16.4 13.6667 16.35 14ZM15.95 8H18.9C18.4167 7.16667 17.8125 6.44167 17.0875 5.825C16.3625 5.20833 15.5333 4.75 14.6 4.45C14.9 5 15.1625 5.57083 15.3875 6.1625C15.6125 6.75417 15.8 7.36667 15.95 8ZM10.1 8H13.9C13.7 7.26667 13.4417 6.575 13.125 5.925C12.8083 5.275 12.4333 4.65 12 4.05C11.5667 4.65 11.1917 5.275 10.875 5.925C10.5583 6.575 10.3 7.26667 10.1 8ZM5.1 8H8.05C8.2 7.36667 8.3875 6.75417 8.6125 6.1625C8.8375 5.57083 9.1 5 9.4 4.45C8.46667 4.75 7.6375 5.20833 6.9125 5.825C6.1875 6.44167 5.58333 7.16667 5.1 8Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var Kv=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["region-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M12 12C12.55 12 13.0208 11.8042 13.4125 11.4125C13.8042 11.0208 14 10.55 14 10C14 9.45 13.8042 8.97917 13.4125 8.5875C13.0208 8.19583 12.55 8 12 8C11.45 8 10.9792 8.19583 10.5875 8.5875C10.1958 8.97917 10 9.45 10 10C10 10.55 10.1958 11.0208 10.5875 11.4125C10.9792 11.8042 11.45 12 12 12ZM12 19.35C14.0333 17.4833 15.5417 15.7875 16.525 14.2625C17.5083 12.7375 18 11.3833 18 10.2C18 8.38333 17.4208 6.89583 16.2625 5.7375C15.1042 4.57917 13.6833 4 12 4C10.3167 4 8.89583 4.57917 7.7375 5.7375C6.57917 6.89583 6 8.38333 6 10.2C6 11.3833 6.49167 12.7375 7.475 14.2625C8.45833 15.7875 9.96667 17.4833 12 19.35ZM12 22C9.31667 19.7167 7.3125 17.5958 5.9875 15.6375C4.6625 13.6792 4 11.8667 4 10.2C4 7.7 4.80417 5.70833 6.4125 4.225C8.02083 2.74167 9.88333 2 12 2C14.1167 2 15.9792 2.74167 17.5875 4.225C19.1958 5.70833 20 7.7 20 10.2C20 11.8667 19.3375 13.6792 18.0125 15.6375C16.6875 17.5958 14.6833 19.7167 12 22Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var Jv=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["brand-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M12 21L2 9L5 3H19L22 9L12 21ZM9.625 8H14.375L12.875 5H11.125L9.625 8ZM11 16.675V10H5.45L11 16.675ZM13 16.675L18.55 10H13V16.675ZM16.6 8H19.25L17.75 5H15.1L16.6 8ZM4.75 8H7.4L8.9 5H6.25L4.75 8Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var e1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["vintage-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6C3 5.45 3.19583 4.97917 3.5875 4.5875C3.97917 4.19583 4.45 4 5 4H6V2H8V4H16V2H18V4H19C19.55 4 20.0208 4.19583 20.4125 4.5875C20.8042 4.97917 21 5.45 21 6V20C21 20.55 20.8042 21.0208 20.4125 21.4125C20.0208 21.8042 19.55 22 19 22H5ZM5 20H19V10H5V20ZM5 8H19V6H5V8Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var t1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["price-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","currentColor","xmlns","http://www.w3.org/2000/svg"],["d","M6.00293 14.1311H7.59743C8.10293 18.4856 10.9784 21.0011 15.5129 21.0011C16.4459 21.0011 17.2634 20.8991 18.0014 20.7236V18.7736C17.2754 18.9521 16.4339 19.0286 15.5129 19.0286C12.3629 19.0286 10.3304 17.2316 9.85043 14.1326H15.8759V12.7406H9.74843V11.3366C9.74843 11.1716 9.74843 11.0081 9.76043 10.8431H15.8774V9.45262H9.92993C10.5119 6.60562 12.5084 4.97512 15.5144 4.97512C16.4354 4.97512 17.2769 5.05012 18.0029 5.24062V3.29212C17.1891 3.0904 16.3529 2.99262 15.5144 3.00112C11.1224 3.00112 8.28443 5.35462 7.64843 9.45112H6.00293V10.8431H7.51793V12.7406H6.00293V14.1326V14.1311Z"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var i1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["age-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8 20H16V17C16 15.9 15.6083 14.9583 14.825 14.175C14.0417 13.3917 13.1 13 12 13C10.9 13 9.95833 13.3917 9.175 14.175C8.39167 14.9583 8 15.9 8 17V20ZM12 11C13.1 11 14.0417 10.6083 14.825 9.825C15.6083 9.04167 16 8.1 16 7V4H8V7C8 8.1 8.39167 9.04167 9.175 9.825C9.95833 10.6083 10.9 11 12 11ZM4 22V20H6V17C6 15.9833 6.2375 15.0292 6.7125 14.1375C7.1875 13.2458 7.85 12.5333 8.7 12C7.85 11.4667 7.1875 10.7542 6.7125 9.8625C6.2375 8.97083 6 8.01667 6 7V4H4V2H20V4H18V7C18 8.01667 17.7625 8.97083 17.2875 9.8625C16.8125 10.7542 16.15 11.4667 15.3 12C16.15 12.5333 16.8125 13.2458 17.2875 14.1375C17.7625 15.0292 18 15.9833 18 17V20H20V22H4Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var n1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["body-icon"]],standalone:!0,features:[x],decls:5,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M12 22C9.71667 22 7.8125 21.2167 6.2875 19.65C4.7625 18.0833 4 16.1333 4 13.8C4 12.1333 4.6625 10.3208 5.9875 8.3625C7.3125 6.40417 9.31667 4.28333 12 2C14.6833 4.28333 16.6875 6.40417 18.0125 8.3625C19.3375 10.3208 20 12.1333 20 13.8C20 16.1333 19.2375 18.0833 17.7125 19.65C16.1875 21.2167 14.2833 22 12 22ZM12 20C13.7333 20 15.1667 19.4125 16.3 18.2375C17.4333 17.0625 18 15.5833 18 13.8C18 12.5833 17.4958 11.2083 16.4875 9.675C15.4792 8.14167 13.9833 6.46667 12 4.65C10.0167 6.46667 8.52083 8.14167 7.5125 9.675C6.50417 11.2083 6 12.5833 6 13.8C6 15.5833 6.56667 17.0625 7.7 18.2375C8.83333 19.4125 10.2667 20 12 20Z","fill","currentColor"],["d","M11 8H13V14H11V8Z","fill","currentColor"],["d","M9 12L9 10L15 10V12L9 12Z","fill","currentColor"],["d","M9 18L9 16L15 16V18H9Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1)(2,"path",2)(3,"path",3)(4,"path",4),p())}});let i=t;return i})();var o1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["bottler-icon"]],standalone:!0,features:[x],decls:6,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_6206_892)"],["fill-rule","evenodd","clip-rule","evenodd","d","M15.6569 -18.8045L15.4613 -18.6089L15.4822 -14.1025L15.5032 -9.59603L15.7326 -9.00135C15.8588 -8.67429 16.1282 -8.14738 16.3314 -7.83042C16.8138 -7.07789 16.8483 -6.97484 16.9046 -6.11524L16.9523 -5.38803H16.3367H15.7212L14.4668 -6.65043C13.0994 -8.02648 13.0175 -8.14438 12.8274 -9.0102C12.4691 -10.6413 12.2687 -10.9102 8.94118 -14.2248L6.20444 -16.9509H5.84212H5.47979L3.2281 -14.6992L0.976421 -12.4475L0.976201 -12.0829L0.975982 -11.7183L3.88521 -8.81883C7.10913 -5.60567 7.24042 -5.50365 8.55083 -5.19416C9.82516 -4.89324 9.80774 -4.90136 10.3993 -4.3342L10.9568 -3.79967L10.6973 -3.47781C10.5546 -3.30078 10.345 -2.99503 10.2316 -2.79831L10.0255 -2.44074L9.10518 -2.47997C8.0646 -2.52431 7.9587 -2.55527 7.19695 -3.03776C5.78716 -3.93067 5.83311 -3.92437 0.714866 -3.92437H-3.61411L-3.80709 -3.73146L-4 -3.53848V-0.26524V3.008L-3.80446 3.20354L-3.60891 3.39916L0.89753 3.37823L5.40397 3.3573L5.99865 3.12787C6.32571 3.00171 6.85262 2.73225 7.16958 2.52909C7.95819 2.02355 8.05604 1.9942 9.10518 1.94949L10.0255 1.91026L10.2316 2.26783C10.345 2.46455 10.5528 2.76818 10.6935 2.94265L10.9491 3.25982L10.5184 3.69863C10.0021 4.22459 9.61256 4.43528 8.88015 4.58479C7.33226 4.90072 7.01706 5.13652 3.70247 8.45945L0.976421 11.1924V11.5547V11.917L3.2281 14.1687L5.47979 16.4204L5.84439 16.4206L6.20898 16.4208L9.10848 13.5116C12.3216 10.2877 12.4237 10.1564 12.7331 8.846C13.0603 7.46065 12.9326 7.66505 14.3899 6.19408L15.7142 4.85755H16.3332H16.9523L16.9046 5.58476C16.8487 6.4369 16.8129 6.54682 16.3532 7.27257C15.4603 8.68237 15.4666 8.63641 15.4666 13.7547V18.0836L15.6595 18.2766L15.8525 18.4695H19.1257H22.399L22.5945 18.274L22.7901 18.0784L22.7692 13.572L22.7483 9.06555L22.5188 8.47087C22.3927 8.14381 22.1232 7.6169 21.9201 7.29994C21.4376 6.54741 21.4032 6.44437 21.3469 5.58476L21.2992 4.85755H23.5167H25.7342L25.6865 5.58476C25.6306 6.4369 25.5948 6.54682 25.1351 7.27257C24.2422 8.68237 24.2485 8.63641 24.2485 13.7547V18.0836L24.4414 18.2766L24.6344 18.4695H27.9076H31.1809L31.3764 18.274L31.572 18.0784L31.5511 13.572L31.5302 9.06555L31.3008 8.47087C31.1746 8.14381 30.9051 7.6169 30.702 7.29994C30.2196 6.54741 30.1851 6.44437 30.1288 5.58476L30.0811 4.85755H31.5824H33.0836L33.2766 4.66464C33.5745 4.36671 33.5745 2.78699 33.2766 2.48906C32.7933 2.00576 32.0059 2.34592 32.0059 3.03793V3.39389L23.4984 3.39331C14.1775 3.39272 14.044 3.38753 13.2148 2.9938C11.8856 2.36253 11.1854 1.23618 11.1854 -0.270729V-1.19107L11.4927 -1.81115C12.55 -3.94501 12.4254 -3.92313 23.4984 -3.92379L32.0059 -3.92437V-3.56841C32.0059 -2.8764 32.7933 -2.53624 33.2766 -3.01954C33.5745 -3.31747 33.5745 -4.89719 33.2766 -5.19512L33.0836 -5.38803H31.5934H30.1031L30.1046 -5.77223C30.1076 -6.55134 30.2284 -7.07313 30.5053 -7.50315C31.5676 -9.15276 31.5668 -9.14698 31.5668 -14.2851V-18.6141L31.3739 -18.8071L31.1809 -19H27.9076H24.6344L24.4389 -18.8045L24.2432 -18.6089L24.2642 -14.1025L24.2851 -9.59603L24.5145 -9.00135C24.6407 -8.67429 24.9101 -8.14738 25.1133 -7.83042C25.5957 -7.07789 25.6302 -6.97484 25.6865 -6.11524L25.7342 -5.38803H23.5277H21.3212L21.3227 -5.77223C21.3257 -6.55134 21.4465 -7.07313 21.7234 -7.50315C22.7857 -9.15276 22.7849 -9.14698 22.7849 -14.2851V-18.6141L22.5919 -18.8071L22.399 -19H19.1257H15.8525L15.6569 -18.8045ZM21.3212 -16.8045V-16.0727H19.1257H16.9302V-16.8045V-17.5363H19.1257H21.3212V-16.8045ZM30.1031 -16.8045V-16.0727H27.9076H25.7122V-16.8045V-17.5363H27.9076H30.1031V-16.8045ZM5.3144 -12.6167L3.79644 -11.0974L3.30056 -11.5895L2.80467 -12.0816L4.32262 -13.6009L5.84058 -15.1201L6.33646 -14.6281L6.83235 -14.136L5.3144 -12.6167ZM21.3212 -12.9258V-11.2426H19.1257H16.9302V-12.9258V-14.609H19.1257H21.3212V-12.9258ZM30.1031 -12.9258V-11.2426H27.9076H25.7122V-12.9258V-14.609H27.9076H30.1031V-12.9258ZM8.93591 -12.0285L9.90441 -11.0581L8.38514 -9.54012L6.86594 -8.02223L5.87966 -9.01057L4.89338 -9.9989L6.39208 -11.4989C8.16771 -13.2762 7.77289 -13.194 8.93591 -12.0285ZM11.0752 -9.46774C11.1509 -9.29657 11.2786 -8.85513 11.359 -8.4868C11.573 -7.50601 11.7783 -7.16344 12.7416 -6.17935C13.4388 -5.46721 13.5607 -5.31089 13.4462 -5.27591C13.37 -5.25256 13.0499 -5.13306 12.7349 -5.01033L12.1621 -4.78712L11.5274 -5.40713C10.7836 -6.13361 10.3619 -6.36787 9.44036 -6.56656C7.87081 -6.90503 7.86408 -6.74864 9.51976 -8.40608C11.1079 -9.9959 10.9033 -9.85627 11.0752 -9.46774ZM21.1017 -9.70346C21.1017 -9.54107 20.8588 -9.0585 20.5065 -8.52105C19.9932 -7.73785 19.8575 -7.25762 19.8575 -6.22311V-5.38803H19.1257H18.3939V-6.22311C18.3939 -7.25762 18.2583 -7.73785 17.7449 -8.52105C17.3927 -9.0585 17.1498 -9.54107 17.1498 -9.70346C17.1498 -9.75352 17.8163 -9.77899 19.1257 -9.77899C20.4352 -9.77899 21.1017 -9.75352 21.1017 -9.70346ZM29.8836 -9.70346C29.8836 -9.54107 29.6407 -9.0585 29.2884 -8.52105C28.7751 -7.73785 28.6395 -7.25762 28.6395 -6.22311V-5.38803H27.9076H27.1758V-6.22311C27.1758 -7.25762 27.0402 -7.73785 26.5268 -8.52105C26.1746 -9.0585 25.9317 -9.54107 25.9317 -9.70346C25.9317 -9.75352 26.5982 -9.77899 27.9076 -9.77899C29.2171 -9.77899 29.8836 -9.75352 29.8836 -9.70346ZM-1.07269 -0.26524V1.93024H-1.80452H-2.53635V-0.26524V-2.46072H-1.80452H-1.07269V-0.26524ZM3.75736 -0.26524V1.93024H2.07416H0.390959V-0.26524V-2.46072H2.07416H3.75736V-0.26524ZM13.7248 -2.23693C12.1142 -1.43206 12.1142 0.901583 13.7248 1.70645C15.6513 2.66909 17.6691 0.6513 16.7064 -1.27516C16.1601 -2.36866 14.8403 -2.79436 13.7248 -2.23693ZM19.5795 -2.23693C17.5006 -1.1981 18.2588 1.93024 20.5894 1.93024C21.8906 1.93024 22.7824 1.03544 22.7841 -0.271826C22.7863 -1.95086 21.0893 -2.99144 19.5795 -2.23693ZM25.4341 -2.23693C23.3552 -1.1981 24.1134 1.93024 26.444 1.93024C27.7452 1.93024 28.6371 1.03544 28.6387 -0.271826C28.6409 -1.95086 26.9439 -2.99144 25.4341 -2.23693ZM5.6967 -2.10432C5.8577 -2.03085 6.22193 -1.81993 6.50603 -1.63573C7.28586 -1.13011 7.75709 -0.997066 8.76803 -0.997066H9.61197V-0.26524V0.466587H8.77689C7.74238 0.466587 7.26215 0.602196 6.47895 1.11557C5.9415 1.4678 5.45893 1.71069 5.29654 1.71069C5.24648 1.71069 5.22101 1.04422 5.22101 -0.26524C5.22101 -2.4403 5.1935 -2.33404 5.6967 -2.10432ZM32.1988 -0.804157C32.0447 -0.650106 32.0059 -0.541431 32.0059 -0.26524C32.0059 0.010952 32.0447 0.119629 32.1988 0.273678C32.3528 0.427729 32.4615 0.466587 32.7377 0.466587C33.0139 0.466587 33.1226 0.427729 33.2766 0.273678C33.4307 0.119629 33.4695 0.010952 33.4695 -0.26524C33.4695 -0.541431 33.4307 -0.650106 33.2766 -0.804157C33.1226 -0.958206 33.0139 -0.997066 32.7377 -0.997066C32.4615 -0.997066 32.3528 -0.958206 32.1988 -0.804157ZM15.2137 -0.744221C15.4678 -0.490204 15.4618 -0.0608387 15.2005 0.200495C14.7679 0.633005 14.0761 0.34642 14.0761 -0.26524C14.0761 -0.485519 14.1235 -0.612053 14.2558 -0.744221C14.3879 -0.876461 14.5145 -0.923883 14.7348 -0.923883C14.955 -0.923883 15.0816 -0.876461 15.2137 -0.744221ZM21.0684 -0.744221C21.4862 -0.326494 21.1746 0.393404 20.5761 0.393404C20.1782 0.393404 19.9307 0.14085 19.9307 -0.26524C19.9307 -0.677185 20.1774 -0.923883 20.5894 -0.923883C20.8097 -0.923883 20.9362 -0.876461 21.0684 -0.744221ZM26.923 -0.744221C27.3408 -0.326494 27.0292 0.393404 26.4307 0.393404C26.0328 0.393404 25.7853 0.14085 25.7853 -0.26524C25.7853 -0.677185 26.032 -0.923883 26.444 -0.923883C26.6643 -0.923883 26.7908 -0.876461 26.923 -0.744221ZM12.7538 4.48761C13.0584 4.60609 13.3708 4.72238 13.4478 4.74609C13.5646 4.78188 13.447 4.93227 12.7434 5.6466C11.7862 6.61839 11.5755 6.96616 11.3662 7.91987C11.0126 9.53092 11.1787 9.53626 9.50476 7.8606L8.11824 6.47261L8.44449 6.3283C8.62393 6.24897 9.07218 6.11819 9.44051 6.03784C10.3546 5.83834 10.7669 5.60928 11.5057 4.89026C11.8528 4.55252 12.151 4.27523 12.1683 4.27414C12.1857 4.27304 12.4492 4.36905 12.7538 4.48761ZM19.8575 5.69263C19.8575 6.72714 19.9932 7.20737 20.5065 7.99057C20.8588 8.52802 21.1017 9.01059 21.1017 9.17298C21.1017 9.22304 20.4352 9.24851 19.1257 9.24851C17.5929 9.24851 17.1502 9.22801 17.1514 9.15703C17.1542 9.00012 17.4064 8.50146 17.7552 7.96349C18.2608 7.18366 18.3939 6.71243 18.3939 5.70149V4.85755H19.1257H19.8575V5.69263ZM28.6395 5.69263C28.6395 6.72714 28.7751 7.20737 29.2884 7.99057C29.6407 8.52802 29.8836 9.01059 29.8836 9.17298C29.8836 9.22304 29.2171 9.24851 27.9076 9.24851C26.3748 9.24851 25.9321 9.22801 25.9333 9.15703C25.9361 9.00012 26.1884 8.50146 26.5371 7.96349C27.0428 7.18366 27.1758 6.71243 27.1758 5.70149V4.85755H27.9076H28.6395V5.69263ZM8.91681 11.5164L7.92863 12.5045L6.41082 10.9867L4.89294 9.46886L5.87944 8.48031L6.86594 7.49176L8.38551 9.01L9.905 10.5283L8.91681 11.5164ZM6.33778 14.0963L5.8457 14.5922L4.32643 13.0742L2.80716 11.5562L3.29924 11.0604L3.79132 10.5645L5.31059 12.0824L6.82986 13.6004L6.33778 14.0963ZM21.3212 12.3954V14.0786H19.1257H16.9302V12.3954V10.7122H19.1257H21.3212V12.3954ZM30.1031 12.3954V14.0786H27.9076H25.7122V12.3954V10.7122H27.9076H30.1031V12.3954ZM21.3212 16.274V17.0059H19.1257H16.9302V16.274V15.5422H19.1257H21.3212V16.274ZM30.1031 16.274V17.0059H27.9076H25.7122V16.274V15.5422H27.9076H30.1031V16.274Z","fill","currentColor"],["id","clip0_6206_892"],["width","24","height","24","fill","none"]],template:function(n,r){n&1&&(q(),m(0,"svg",0)(1,"g",1),b(2,"path",2),p(),m(3,"defs")(4,"clipPath",3),b(5,"rect",4),p()()())}});let i=t;return i})();var r1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["bottling-date-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M15.3 16.7L16.7 15.3L13 11.6V7H11V12.4L15.3 16.7ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22ZM12 20C14.2167 20 16.1042 19.2208 17.6625 17.6625C19.2208 16.1042 20 14.2167 20 12C20 9.78333 19.2208 7.89583 17.6625 6.3375C16.1042 4.77917 14.2167 4 12 4C9.78333 4 7.89583 4.77917 6.3375 6.3375C4.77917 7.89583 4 9.78333 4 12C4 14.2167 4.77917 16.1042 6.3375 17.6625C7.89583 19.2208 9.78333 20 12 20Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var a1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["bottling-status-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M11 13V3H13V13H11ZM12 21C10.7667 21 9.60417 20.7625 8.5125 20.2875C7.42083 19.8125 6.46667 19.1667 5.65 18.35C4.83333 17.5333 4.1875 16.5792 3.7125 15.4875C3.2375 14.3958 3 13.2333 3 12C3 10.6667 3.275 9.40833 3.825 8.225C4.375 7.04167 5.15 6.01667 6.15 5.15L7.55 6.55C6.75 7.21667 6.125 8.025 5.675 8.975C5.225 9.925 5 10.9333 5 12C5 13.9333 5.68333 15.5833 7.05 16.95C8.41667 18.3167 10.0667 19 12 19C13.95 19 15.6042 18.3167 16.9625 16.95C18.3208 15.5833 19 13.9333 19 12C19 10.9333 18.7792 9.925 18.3375 8.975C17.8958 8.025 17.2667 7.21667 16.45 6.55L17.85 5.15C18.85 6.01667 19.625 7.04167 20.175 8.225C20.725 9.40833 21 10.6667 21 12C21 13.2333 20.7625 14.3958 20.2875 15.4875C19.8125 16.5792 19.1708 17.5333 18.3625 18.35C17.5542 19.1667 16.6042 19.8125 15.5125 20.2875C14.4208 20.7625 13.25 21 12 21Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var s1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["capacity-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M9 22C8.45 22 7.97917 21.8042 7.5875 21.4125C7.19583 21.0208 7 20.55 7 20V10.45C7 10.0167 7.125 9.62917 7.375 9.2875C7.625 8.94583 7.95 8.7 8.35 8.55L9.3 8.2C9.53333 8.11667 9.70833 7.99583 9.825 7.8375C9.94167 7.67917 10 7.48333 10 7.25V3C10 2.71667 10.0958 2.47917 10.2875 2.2875C10.4792 2.09583 10.7167 2 11 2H14C14.2833 2 14.5208 2.09583 14.7125 2.2875C14.9042 2.47917 15 2.71667 15 3V7.25C15 7.48333 15.0583 7.67917 15.175 7.8375C15.2917 7.99583 15.4667 8.11667 15.7 8.2L16.65 8.55C17.05 8.7 17.375 8.94583 17.625 9.2875C17.875 9.62917 18 10.0167 18 10.45V20C18 20.55 17.8042 21.0208 17.4125 21.4125C17.0208 21.8042 16.55 22 16 22H9ZM12 5H13V4H12V5ZM9 12H16V10.45L15.05 10.1C14.4167 9.86667 13.9167 9.5 13.55 9C13.1833 8.5 13 7.93333 13 7.3V7H12V7.3C12 7.93333 11.8167 8.5 11.45 9C11.0833 9.5 10.5833 9.86667 9.95 10.1L9 10.45V12ZM9 20H16V18H9V20ZM9 16H16V14H9V16Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var l1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["characters-icon"]],standalone:!0,features:[x],decls:4,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.29072 18.8446C7.22497 18.925 5.07834 18.4179 4.21356 18.1176C1.20473 17.073 1.26931 15.9305 4.39393 14.9276C4.73236 14.8189 5.01546 14.7266 5.02302 14.7223C5.04511 14.71 4.57619 13.0394 4.54067 13.0039C4.52297 12.9862 4.31787 13.0312 4.08493 13.1038C-2.02134 15.0088 -1.13317 18.9003 5.75554 20.4239L6.20888 20.5242L8.31402 20.812C9.95427 21.2764 16.044 20.8367 18.7216 20.0604C23.4083 18.7017 24.4258 15.6622 20.8023 13.8447C20.6251 13.7558 20.4733 13.6773 20.4653 13.6704L19.8535 15.4202C21.5031 16.2487 21.5031 16.8561 19.8533 17.6821C17.7822 18.7189 12.9673 19.4037 9.83273 19.1073L9.32354 19.0591L7.29072 18.8446Z","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M21.1924 14.1213L21.8995 14.8284L14.8285 21.8995L14.1213 21.1924L15.5356 16.9497L14.0506 15.4648C12.8721 16.3133 10.851 17.3917 9.40141 17.2856C7.95184 17.1795 6.69673 16.5962 5.63607 15.5355L1.39343 9.87867L2.80764 8.46445L6.34317 13.4142L7.86345 14.7223C8.64127 15.1702 9.47802 15.347 10.3737 15.2527C11.2694 15.1584 12.7543 14.0742 13.4142 13.4142C14.0742 12.7542 15.1584 11.2693 15.2527 10.3736C15.347 9.47797 15.1702 8.64123 14.7224 7.86341L13.4142 6.34313L8.4645 2.8076L9.87871 1.39339L15.5356 5.63603C16.5962 6.69669 17.1796 7.9518 17.2857 9.40137C17.3917 10.8509 16.3134 12.8721 15.4649 14.0506L16.9498 15.5355L21.1924 14.1213Z","fill","currentColor"],["d","M15.3806 6.37006C10.9905 9.82281 7.97427 9.44778 2.82358 9.7347L3.34122 11.6666C9.39185 11.1332 12.9271 10.9313 15.8983 8.30191L15.3806 6.37006Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1)(2,"path",2)(3,"path",3),p())}});let i=t;return i})();var c1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["flavour-icon"]],standalone:!0,features:[x],decls:8,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_6206_872)"],["d","M2 22V20C2.76667 20 3.525 19.95 4.275 19.85C5.025 19.75 5.75833 19.5667 6.475 19.3C5.70833 18.9167 5.10417 18.3625 4.6625 17.6375C4.22083 16.9125 4 16.125 4 15.275V13H8V9.99999H11.375L8.1 3.44999L9.9 2.54999L13.175 9.09999C13.5083 9.76665 13.4833 10.4167 13.1 11.05C12.7167 11.6833 12.15 12 11.4 12H10V13C10 13.55 9.80417 14.0208 9.4125 14.4125C9.02083 14.8042 8.55 15 8 15H6V15.275C6 15.8583 6.17917 16.3708 6.5375 16.8125C6.89583 17.2542 7.35 17.55 7.9 17.7L8.2 17.775C8.86667 17.9417 9.24167 18.3583 9.325 19.025C9.40833 19.6917 9.15 20.1917 8.55 20.525C7.55 21.075 6.49583 21.4583 5.3875 21.675C4.27917 21.8917 3.15 22 2 22Z","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M27.2732 19.9092L27.9096 20.5456L21.5457 26.9095L20.9093 26.2731L22.1821 22.4548L20.8456 21.1183C19.785 21.882 17.9659 22.8525 16.6613 22.7571C15.3567 22.6616 14.2271 22.1366 13.2725 21.182L9.45415 16.0908L10.7269 14.818L13.9089 19.2728L15.2772 20.4501C15.9772 20.8532 16.7303 21.0123 17.5364 20.9274C18.3425 20.8426 19.6789 19.8668 20.2729 19.2728C20.8668 18.6788 21.8427 17.3424 21.9275 16.5363C22.0124 15.7302 21.8533 14.9771 21.4502 14.2771L20.2729 12.9088L15.8181 9.72685L17.0909 8.45405L22.1821 12.2724C23.1367 13.227 23.6617 14.3566 23.7571 15.6612C23.8526 16.9659 22.8821 18.7849 22.1184 19.8455L23.4549 21.182L27.2732 19.9092Z","fill","currentColor"],["d","M22.0426 12.933C18.0915 16.0405 15.3769 15.703 10.7413 15.9612L11.2071 17.6999C16.6527 17.2199 19.8345 17.0381 22.5085 14.6717L22.0426 12.933Z","fill","currentColor"],["id","clip0_6206_872"],["width","24","height","24","fill","none"]],template:function(n,r){n&1&&(q(),m(0,"svg",0)(1,"g",1),b(2,"path",2)(3,"path",3)(4,"path",4),p(),m(5,"defs")(6,"clipPath",5),b(7,"rect",6),p()()())}});let i=t;return i})();var d1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["food-pairings-icon"]],standalone:!0,features:[x],decls:7,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_6206_870)"],["d","M19.2844 10.5C19.9069 10.5 20.4994 10.665 21.0019 10.995C21.8569 11.55 22.3819 12.3975 22.5019 13.38C22.5844 14.3475 22.2469 15.3 21.5644 15.9825C21.0394 16.5 20.3719 16.83 19.6369 16.905C18.2044 17.055 16.9444 17.625 16.0069 18.5775C15.8494 18.7275 15.6769 18.75 15.5794 18.75C15.4894 18.75 15.3169 18.7275 15.1594 18.5775L14.4169 17.835C14.2819 17.7 14.2519 17.5425 14.2519 17.4375C14.2519 17.25 14.3344 17.085 14.4919 16.9275C15.3994 16.0125 15.9544 14.7975 16.0894 13.4025C16.1869 12.405 16.7194 11.55 17.5894 10.9875C18.0844 10.665 18.6694 10.5 19.2844 10.5ZM19.2844 9C18.4069 9 17.5294 9.24 16.7719 9.7275C15.4519 10.575 14.7244 11.895 14.5969 13.26C14.4994 14.25 14.1244 15.1725 13.4344 15.8625L13.4119 15.885C12.5419 16.755 12.5419 18.0825 13.3594 18.8925L14.1019 19.635C14.5144 20.0475 15.0469 20.25 15.5794 20.25C16.1119 20.25 16.6519 20.0475 17.0644 19.635C17.7919 18.9075 18.7519 18.51 19.7944 18.3975C20.8219 18.285 21.8269 17.835 22.6219 17.0475C24.6994 14.97 24.4294 11.445 21.8194 9.75C21.0619 9.2475 20.1769 9 19.2844 9ZM12.1969 22.395C12.3994 22.815 12.3319 23.325 11.9794 23.67C11.5444 24.1125 10.8319 24.1125 10.3894 23.67C10.1869 23.4675 10.0819 23.205 10.0669 22.935C9.79688 22.92 9.53438 22.815 9.33187 22.6125C8.88938 22.17 8.88938 21.4575 9.33187 21.0225C9.67687 20.6775 10.1944 20.6025 10.6069 20.805L12.4669 18.9825C12.5719 19.125 12.6919 19.29 12.8269 19.425L13.5694 20.1675C13.7269 20.3175 13.8769 20.445 14.0719 20.5575L12.1969 22.395Z","fill","currentColor"],["d","M0.652454 5.63053C1.71745 3.80803 4.02745 3.14803 5.90245 4.13053V0.380531H7.40245V4.13053C9.27745 3.14803 11.5875 3.80803 12.6525 5.63053C14.1525 7.88053 10.4025 14.6305 8.90245 14.6305C7.40245 14.6305 7.40245 13.8805 6.65245 13.8805C5.90245 13.8805 5.90245 14.6305 4.40245 14.6305C2.90245 14.6305 -0.847546 7.88053 0.652454 5.63053ZM1.96495 8.16553C2.42995 10.018 3.34495 11.7205 4.62745 13.1305C4.77745 13.1305 4.94995 13.0555 5.07745 12.943C5.99995 12.2005 7.30495 12.2005 8.22745 12.943C8.35495 13.0555 8.52745 13.1305 8.67745 13.1305C9.95995 11.728 10.8825 10.018 11.34 8.17303C11.5275 7.62553 11.565 7.03303 11.4075 6.47053C10.9725 5.69803 10.1625 5.20303 9.27745 5.18053C8.85745 5.18803 8.44495 5.28553 8.06995 5.47303L7.40245 5.81053H5.90245L5.23495 5.47303C4.85995 5.28553 4.44745 5.18803 4.02745 5.18053C3.14245 5.20303 2.33245 5.69053 1.89745 6.46303C1.73995 7.02553 1.77745 7.61803 1.96495 8.16553ZM7.40245 1.88053C11.6175 4.18303 12.57 0.965531 12.57 0.965531C12.57 0.965531 10.575 -1.72697 7.40245 1.88053Z","fill","currentColor"],["id","clip0_6206_870"],["width","24","height","24","fill","none"]],template:function(n,r){n&1&&(q(),m(0,"svg",0)(1,"g",1),b(2,"path",2)(3,"path",3),p(),m(4,"defs")(5,"clipPath",4),b(6,"rect",5),p()()())}});let i=t;return i})();var u1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["limited-edition-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8 18L12 14.95L16 18L14.5 13.05L18.5 10.2H13.6L12 5L10.4 10.2H5.5L9.5 13.05L8 18ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var m1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["number-of-bottles-icon"]],standalone:!0,features:[x],decls:6,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4 20C3.45 20 2.97917 19.8042 2.5875 19.4125C2.19583 19.0208 2 18.55 2 18V7C2 6.45 2.19583 5.97917 2.5875 5.5875C2.97917 5.19583 3.45 5 4 5H20C20.55 5 21.0208 5.19583 21.4125 5.5875C21.8042 5.97917 22 6.45 22 7V18C22 18.55 21.8042 19.0208 21.4125 19.4125C21.0208 19.8042 20.55 20 20 20H4ZM4 18H20V7H4V18Z","fill","currentColor"],["d","M19.5 11H15V8.5C15 8.21667 15.0958 7.97917 15.2875 7.7875C15.4792 7.59583 15.7167 7.5 16 7.5H18V6.5H15V5H18.5C18.7833 5 19.0208 5.09583 19.2125 5.2875C19.4042 5.47917 19.5 5.71667 19.5 6V7.5C19.5 7.78333 19.4042 8.02083 19.2125 8.2125C19.0208 8.40417 18.7833 8.5 18.5 8.5H16.5V9.5H19.5V11Z","fill","currentColor"],["d","M18.5 19H15V17.5H18V16.5H16V15.5H18V14.5H15V13H18.5C18.7833 13 19.0208 13.0958 19.2125 13.2875C19.4042 13.4792 19.5 13.7167 19.5 14V18C19.5 18.2833 19.4042 18.5208 19.2125 18.7125C19.0208 18.9042 18.7833 19 18.5 19Z","fill","currentColor"],["d","M14 15H12.5V10.5H11V9H14V15Z","fill","currentColor"],["d","M8.5 15H5V13.5H8V12.5H5V9H9.5V10.5H6.5V11.5H8.5C8.78333 11.5 9.02083 11.5958 9.2125 11.7875C9.40417 11.9792 9.5 12.2167 9.5 12.5V14C9.5 14.2833 9.40417 14.5208 9.2125 14.7125C9.02083 14.9042 8.78333 15 8.5 15Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1)(2,"path",2)(3,"path",3)(4,"path",4)(5,"path",5),p())}});let i=t;return i})();var p1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["richness-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3.4 18L2 16.6L9.4 9.15L13.4 13.15L18.6 8H16V6H22V12H20V9.4L13.4 16L9.4 12L3.4 18Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var h1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["series-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3 19C2.45 19 1.97917 18.8042 1.5875 18.4125C1.19583 18.0208 1 17.55 1 17V7C1 6.45 1.19583 5.97917 1.5875 5.5875C1.97917 5.19583 2.45 5 3 5H13C13.55 5 14.0208 5.19583 14.4125 5.5875C14.8042 5.97917 15 6.45 15 7V17C15 17.55 14.8042 18.0208 14.4125 18.4125C14.0208 18.8042 13.55 19 13 19H3ZM3 17H13V7H3V17ZM17 19V5H19V19H17ZM21 19V5H23V19H21Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var f1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["smoke-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M3.57299 1.91655C2.06249 2.3027 1.37614 4.0727 2.25709 5.3099C2.36559 5.46225 2.36564 5.46415 2.27689 5.80635C1.68679 8.08155 4.38624 9.5413 5.96099 7.7985C6.26039 7.4672 6.28554 7.4509 6.50004 7.4499C8.03564 7.44255 9.27324 5.76855 8.90279 4.2C8.57729 2.8219 7.02759 1.8755 5.70399 2.2465C5.49034 2.3064 5.46829 2.3015 5.04354 2.09965C4.54124 1.86095 4.03634 1.79805 3.57299 1.91655ZM14.8956 1.92225C13.4499 2.32105 12.7772 3.8985 13.4892 5.22015L13.6265 5.475L13.4617 5.95845C13.0114 7.2802 13.5152 8.67985 14.4631 8.7402C15.0776 8.7793 15.5059 8.0706 15.1547 7.59565C14.7314 7.02315 14.7281 6.9985 14.982 6.315C15.2489 5.59665 15.2446 5.2633 14.9611 4.68595C14.4632 3.6717 15.0011 3.1179 15.9886 3.6281C16.7057 3.99855 17.1552 3.9969 17.776 3.62155C18.2666 3.3249 18.3316 3.3316 18.7209 3.71911C19.0953 4.0916 19.29 4.20596 19.753 4.32536C20.6632 4.56011 20.8268 5.2275 20.1713 6.03225C19.7461 6.5542 19.6537 6.8841 19.7726 7.4543C19.9547 8.3273 19.6894 8.5798 18.9445 8.24235C18.3761 7.9849 17.9352 7.99805 17.3261 8.2907C16.8885 8.50095 16.8681 8.50556 16.5211 8.473C16.0056 8.42471 15.6512 8.65156 15.5705 9.08131C15.4083 9.94625 16.5984 10.3446 17.7334 9.80515L18.1763 9.5947L18.4507 9.71946C20.0791 10.4599 21.7209 9.14785 21.3505 7.40215L21.2879 7.1073L21.4862 6.86615C22.6861 5.40715 22.0824 3.3488 20.3142 2.8702C20.0281 2.79275 19.9386 2.7386 19.696 2.496C18.9732 1.77315 17.9857 1.65765 17.1377 2.1967L16.9003 2.3476L16.5627 2.17195C15.9677 1.86245 15.4133 1.7794 14.8956 1.92225ZM4.58594 3.59845C5.07879 3.8498 5.38509 3.89025 5.93939 3.77715C6.66934 3.6283 7.19714 3.9057 7.37989 4.53425C7.59134 5.2616 7.14619 5.7951 6.22004 5.92445C5.59749 6.0114 5.37244 6.12915 4.97059 6.57816C4.24979 7.3835 3.52079 7.0342 3.82559 6.02955C3.97684 5.531 3.93119 5.17015 3.64694 4.6173C3.15214 3.65505 3.64609 3.1191 4.58594 3.59845ZM10.55 4.8665C9.06679 5.20016 8.55369 6.97205 9.63524 8.0256C10.8075 9.1675 12.7616 8.32146 12.7578 6.67366C12.7551 5.5128 11.6604 4.61676 10.55 4.8665ZM11.0901 6.4375C11.3141 6.6312 11.2035 7 10.9214 7C10.5541 7 10.4977 6.515 10.85 6.38545C10.9687 6.34185 10.9831 6.34495 11.0901 6.4375ZM7.72354 9.0521C6.82459 9.16965 5.98489 9.67266 5.39724 10.4455C5.22519 10.6718 5.07904 10.8137 5.00004 10.8312C3.93834 11.0663 3.30114 11.4708 2.91174 12.1567C2.60204 12.7022 2.50844 13.4773 2.67504 14.117C2.77839 14.5138 2.77524 14.5326 2.55549 14.8236C1.50899 16.2097 1.67199 18.088 2.94039 19.2589C3.21979 19.5168 3.96224 19.95 4.12489 19.95C4.15969 19.95 4.21229 20.0459 4.24179 20.163C4.38609 20.7361 5.08479 20.9546 5.50849 20.5591L5.72504 20.357L5.72214 19.966C5.71664 19.2295 5.44579 18.7877 4.87449 18.5836C3.35174 18.0397 2.98459 16.8741 3.92269 15.5619C4.29104 15.0466 4.39224 14.4784 4.21934 13.8966C4.05199 13.3335 4.15319 12.907 4.51654 12.6438C4.71769 12.4981 4.80659 12.466 5.40004 12.3247C5.83289 12.2216 6.18884 11.9698 6.50534 11.5429C7.34664 10.4081 8.36939 10.2659 9.61519 11.1106C10.0617 11.4134 10.2051 11.4555 10.9281 11.4967C11.818 11.5473 11.8912 11.5944 12.3455 12.4098C12.5696 12.8118 12.9276 13.1178 13.3311 13.252C14.1316 13.5184 14.1992 13.8377 13.5928 14.4892C13.1465 14.9687 13.0831 15.1224 13.063 15.775C13.0401 16.52 13.0441 16.5097 12.6753 16.7805C12.1091 17.1962 11.9608 17.5014 11.9035 18.3686C11.8212 19.6152 11.3968 19.9679 10.3963 19.6215C9.61099 19.3495 9.00229 19.5015 8.28574 20.1485C7.83889 20.552 7.88734 20.538 7.50004 20.375C6.59024 19.9921 5.80474 20.8069 6.42349 21.4917C7.10949 22.251 8.35214 22.2062 9.23199 21.3904C9.65404 20.999 9.58844 21.0114 10.2705 21.1941C11.9957 21.6561 13.4368 20.4355 13.4511 18.5L13.4538 18.125L13.7231 17.9381C14.3328 17.5149 14.5626 17.0573 14.5753 16.2405L14.5837 15.7061L14.8747 15.3917C16.0967 14.0718 15.6204 12.4051 13.8443 11.7865C13.7999 11.771 13.6585 11.5762 13.5301 11.3536C12.9816 10.4027 12.1973 9.95335 11.0816 9.95085C10.6912 9.95 10.6847 9.9478 10.2552 9.6756C9.72474 9.33925 9.14299 9.12106 8.59314 9.0521C8.13974 8.99525 8.15839 8.99525 7.72354 9.0521ZM18.625 10.6693C17.3689 10.9748 16.651 12.4674 17.198 13.6363C18.0982 15.56 20.9145 15.1572 21.2529 13.0563C21.4867 11.6047 20.07 10.3179 18.625 10.6693ZM19.4705 12.2767C19.9438 12.5868 19.6887 13.35 19.1117 13.35C18.8678 13.35 18.5499 13.0349 18.5502 12.7934C18.5508 12.3077 19.0716 12.0153 19.4705 12.2767ZM17.175 15.5673C16.1937 15.8923 15.7296 16.565 15.7185 17.6789C15.7121 18.3147 15.7076 18.3402 15.5555 18.6039C14.2103 20.9356 17.0201 23.2665 19.0748 21.5233C19.3211 21.3144 19.4357 21.2498 19.561 21.2492C21.849 21.237 22.9792 18.4189 21.324 16.8535C20.8821 16.4356 20.48 16.2819 19.5412 16.1723C19.3828 16.1538 19.2459 16.0953 19.1162 15.9908C18.597 15.5719 17.7314 15.3831 17.175 15.5673ZM18.2707 17.2968C18.6639 17.5871 18.9335 17.682 19.464 17.7169C21.0343 17.8203 20.9697 19.5403 19.3894 19.7038C18.8381 19.7608 18.5788 19.8704 18.2375 20.1908C17.412 20.9654 16.3044 20.3143 16.8889 19.398C17.2213 18.8771 17.249 18.7722 17.2495 18.0337L17.25 17.3423L17.3962 17.1962C17.628 16.9644 17.8559 16.9906 18.2707 17.2968Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var g1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["sweetness-icon"]],standalone:!0,features:[x],decls:5,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.9 13L21 13L21 11L8.9 11L1 11C1 13 1.42083 13.6875 2.2625 14.2125C3.10417 14.7375 4.05 15 5.1 15C5.88333 15 6.62917 14.8417 7.3375 14.525C8.04583 14.2083 8.56667 13.7 8.9 13Z","fill","currentColor"],["x","1","y","7","width","3","height","3","fill","currentColor"],["x","3","y","3","width","3","height","3","fill","currentColor"],["x","5","y","7","width","3","height","3","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1)(2,"rect",2)(3,"rect",3)(4,"rect",4),p())}});let i=t;return i})();var v1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["volume-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.5 11C6.53333 11 5.70833 10.6583 5.025 9.975C4.34167 9.29167 4 8.46667 4 7.5C4 6.53333 4.34167 5.70833 5.025 5.025C5.70833 4.34167 6.53333 4 7.5 4C8.46667 4 9.29167 4.34167 9.975 5.025C10.6583 5.70833 11 6.53333 11 7.5C11 8.46667 10.6583 9.29167 9.975 9.975C9.29167 10.6583 8.46667 11 7.5 11ZM7.5 9C7.91667 9 8.27083 8.85417 8.5625 8.5625C8.85417 8.27083 9 7.91667 9 7.5C9 7.08333 8.85417 6.72917 8.5625 6.4375C8.27083 6.14583 7.91667 6 7.5 6C7.08333 6 6.72917 6.14583 6.4375 6.4375C6.14583 6.72917 6 7.08333 6 7.5C6 7.91667 6.14583 8.27083 6.4375 8.5625C6.72917 8.85417 7.08333 9 7.5 9ZM16.5 20C15.5333 20 14.7083 19.6583 14.025 18.975C13.3417 18.2917 13 17.4667 13 16.5C13 15.5333 13.3417 14.7083 14.025 14.025C14.7083 13.3417 15.5333 13 16.5 13C17.4667 13 18.2917 13.3417 18.975 14.025C19.6583 14.7083 20 15.5333 20 16.5C20 17.4667 19.6583 18.2917 18.975 18.975C18.2917 19.6583 17.4667 20 16.5 20ZM16.5 18C16.9167 18 17.2708 17.8542 17.5625 17.5625C17.8542 17.2708 18 16.9167 18 16.5C18 16.0833 17.8542 15.7292 17.5625 15.4375C17.2708 15.1458 16.9167 15 16.5 15C16.0833 15 15.7292 15.1458 15.4375 15.4375C15.1458 15.7292 15 16.0833 15 16.5C15 16.9167 15.1458 17.2708 15.4375 17.5625C15.7292 17.8542 16.0833 18 16.5 18ZM5.4 20L4 18.6L18.6 4L20 5.4L5.4 20Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var b1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["cask-number-icon"]],standalone:!0,features:[x],decls:6,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M20 13C20 18.5228 15.5228 23 10 23C4.47715 23 0 18.5228 0 13C0 7.47715 4.47715 3 10 3C15.5228 3 20 7.47715 20 13ZM1.99562 13C1.99562 17.4207 5.57931 21.0044 10 21.0044C14.4207 21.0044 18.0044 17.4207 18.0044 13C18.0044 8.57931 14.4207 4.99562 10 4.99562C5.57931 4.99562 1.99562 8.57931 1.99562 13Z","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M18.5694 19.8973C21.7943 18.2378 24 14.8765 24 11C24 5.47715 19.5228 1 14 1C12.4302 1 10.9448 1.36171 9.6228 2.00635C9.74801 2.00213 9.87375 2 9.99998 2C11.6551 2 13.2248 2.36553 14.6328 3.02027C18.7577 3.34289 22.0043 6.7923 22.0043 11C22.0043 12.5759 21.5489 14.0455 20.7625 15.2842C20.3992 17.0045 19.6339 18.5765 18.5694 19.8973Z","fill","currentColor"],["x","5","y","5","width","2","height","16","fill","currentColor"],["x","13","y","5","width","2","height","16","fill","currentColor"],["cx","10","cy","18","r","1","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1)(2,"path",2)(3,"rect",3)(4,"rect",4)(5,"circle",5),p())}});let i=t;return i})();var _1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["cask-type-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.48062 2C6.17684 2 5.89185 2.13939 5.74378 2.40464C5.49692 2.84687 5.11097 3.67472 4.76486 5H20.2351C19.889 3.67472 19.5031 2.84687 19.2562 2.40464C19.1082 2.13939 18.8232 2 18.5194 2H6.48062ZM20.4665 6H4.53347C4.41326 6.58994 4.30463 7.25459 4.21726 8H20.7827C20.6954 7.25459 20.5867 6.58994 20.4665 6ZM20.8823 9H4.11767C4.0435 9.8966 4 10.8939 4 12C4 13.1061 4.0435 14.1034 4.11767 15H20.8823C20.9565 14.1034 21 13.1061 21 12C21 10.8939 20.9565 9.8966 20.8823 9ZM20.7827 16H4.21726C4.30463 16.7454 4.41326 17.4101 4.53347 18H20.4665C20.5867 17.4101 20.6954 16.7454 20.7827 16ZM20.2351 19H4.76486C5.11097 20.3253 5.49692 21.1531 5.74378 21.5954C5.89185 21.8606 6.17684 22 6.48062 22H18.5194C18.8232 22 19.1082 21.8606 19.2562 21.5954C19.5031 21.1531 19.889 20.3253 20.2351 19Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var C1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["certification-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M13 21L15 20L17 21V14H13M17 9V7L15 8L13 7V9L11 10L13 11V13L15 12L17 13V11L19 10M20 3H4C3.46957 3 2.96086 3.21071 2.58579 3.58579C2.21071 3.96086 2 4.46957 2 5V15C2 15.5304 2.21071 16.0391 2.58579 16.4142C2.96086 16.7893 3.46957 17 4 17H11V15H4V5H20V15H19V17H20C20.5304 17 21.0391 16.7893 21.4142 16.4142C21.7893 16.0391 22 15.5304 22 15V5C22 4.46957 21.7893 3.96086 21.4142 3.58579C21.0391 3.21071 20.5304 3 20 3ZM11 8H5V6H11M9 11H5V9H9M11 14H5V12H11V14Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var y1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["chill-filter-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M14 12L8 23L2 12L8 1L14 12ZM18 12L12.325 22.425L11.175 20.325L15.725 12L11.175 3.675L12.325 1.575L18 12ZM22 12L16.325 22.425L15.175 20.325L19.725 12L15.175 3.675L16.325 1.575L22 12ZM11.725 12L8 5.175L4.275 12L8 18.825L11.725 12Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var x1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["colouring-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M12 22C10.6333 22 9.34167 21.7375 8.125 21.2125C6.90833 20.6875 5.84583 19.9708 4.9375 19.0625C4.02917 18.1542 3.3125 17.0917 2.7875 15.875C2.2625 14.6583 2 13.3667 2 12C2 10.6167 2.27083 9.31667 2.8125 8.1C3.35417 6.88333 4.0875 5.825 5.0125 4.925C5.9375 4.025 7.01667 3.3125 8.25 2.7875C9.48333 2.2625 10.8 2 12.2 2C13.5333 2 14.7917 2.22917 15.975 2.6875C17.1583 3.14583 18.1958 3.77917 19.0875 4.5875C19.9792 5.39583 20.6875 6.35417 21.2125 7.4625C21.7375 8.57083 22 9.76667 22 11.05C22 12.9667 21.4167 14.4375 20.25 15.4625C19.0833 16.4875 17.6667 17 16 17H14.15C14 17 13.8958 17.0417 13.8375 17.125C13.7792 17.2083 13.75 17.3 13.75 17.4C13.75 17.6 13.875 17.8875 14.125 18.2625C14.375 18.6375 14.5 19.0667 14.5 19.55C14.5 20.3833 14.2708 21 13.8125 21.4C13.3542 21.8 12.75 22 12 22ZM6.5 13C6.93333 13 7.29167 12.8583 7.575 12.575C7.85833 12.2917 8 11.9333 8 11.5C8 11.0667 7.85833 10.7083 7.575 10.425C7.29167 10.1417 6.93333 10 6.5 10C6.06667 10 5.70833 10.1417 5.425 10.425C5.14167 10.7083 5 11.0667 5 11.5C5 11.9333 5.14167 12.2917 5.425 12.575C5.70833 12.8583 6.06667 13 6.5 13ZM9.5 9C9.93333 9 10.2917 8.85833 10.575 8.575C10.8583 8.29167 11 7.93333 11 7.5C11 7.06667 10.8583 6.70833 10.575 6.425C10.2917 6.14167 9.93333 6 9.5 6C9.06667 6 8.70833 6.14167 8.425 6.425C8.14167 6.70833 8 7.06667 8 7.5C8 7.93333 8.14167 8.29167 8.425 8.575C8.70833 8.85833 9.06667 9 9.5 9ZM14.5 9C14.9333 9 15.2917 8.85833 15.575 8.575C15.8583 8.29167 16 7.93333 16 7.5C16 7.06667 15.8583 6.70833 15.575 6.425C15.2917 6.14167 14.9333 6 14.5 6C14.0667 6 13.7083 6.14167 13.425 6.425C13.1417 6.70833 13 7.06667 13 7.5C13 7.93333 13.1417 8.29167 13.425 8.575C13.7083 8.85833 14.0667 9 14.5 9ZM17.5 13C17.9333 13 18.2917 12.8583 18.575 12.575C18.8583 12.2917 19 11.9333 19 11.5C19 11.0667 18.8583 10.7083 18.575 10.425C18.2917 10.1417 17.9333 10 17.5 10C17.0667 10 16.7083 10.1417 16.425 10.425C16.1417 10.7083 16 11.0667 16 11.5C16 11.9333 16.1417 12.2917 16.425 12.575C16.7083 12.8583 17.0667 13 17.5 13ZM12 20C12.15 20 12.2708 19.9583 12.3625 19.875C12.4542 19.7917 12.5 19.6833 12.5 19.55C12.5 19.3167 12.375 19.0417 12.125 18.725C11.875 18.4083 11.75 17.9333 11.75 17.3C11.75 16.6 11.9917 16.0417 12.475 15.625C12.9583 15.2083 13.55 15 14.25 15H16C17.1 15 18.0417 14.6792 18.825 14.0375C19.6083 13.3958 20 12.4 20 11.05C20 9.03333 19.2292 7.35417 17.6875 6.0125C16.1458 4.67083 14.3167 4 12.2 4C9.93333 4 8 4.775 6.4 6.325C4.8 7.875 4 9.76667 4 12C4 14.2167 4.77917 16.1042 6.3375 17.6625C7.89583 19.2208 9.78333 20 12 20Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var w1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["grapes-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M19 12C19 10.61 18.05 9.47 16.78 9.12C16.92 8.78 17 8.4 17 8C17 6.34 15.66 5 14 5C13.57 5 13.17 5.1 12.81 5.26C13 4.19 13.39 2.59 14.4 2.2L13.6 1C11.9 1.77 11.4 4.09 11.26 5.29C10.87 5.11 10.45 5 10 5C8.34 5 7 6.34 7 8C7 8.4 7.08 8.77 7.22 9.12C5.94 9.46 5 10.62 5 12C5 13.39 5.95 14.54 7.23 14.88C7.09 15.22 7 15.6 7 16C7 17.39 7.94 18.54 9.22 18.88C9.08 19.23 9 19.61 9 20C9 21.66 10.34 23 12 23C13.66 23 15 21.66 15 20C15 19.61 14.92 19.23 14.78 18.88C16.06 18.54 17 17.39 17 16C17 15.6 16.92 15.23 16.77 14.88C18.05 14.54 19 13.39 19 12ZM16.31 9.88V9.9H16.3L16.31 9.88ZM14 6.5C14.83 6.5 15.5 7.17 15.5 8C15.5 8.83 14.83 9.5 14 9.5C13.17 9.5 12.5 8.83 12.5 8C12.5 7.17 13.17 6.5 14 6.5ZM13.5 12C13.5 12.83 12.83 13.5 12 13.5C11.17 13.5 10.5 12.83 10.5 12C10.5 11.17 11.17 10.5 12 10.5C12.83 10.5 13.5 11.17 13.5 12ZM10 6.5C10.83 6.5 11.5 7.17 11.5 8C11.5 8.83 10.83 9.5 10 9.5C9.17 9.5 8.5 8.83 8.5 8C8.5 7.17 9.17 6.5 10 6.5ZM6.5 12C6.5 11.17 7.17 10.5 8 10.5C8.83 10.5 9.5 11.17 9.5 12C9.5 12.83 8.83 13.5 8 13.5C7.17 13.5 6.5 12.83 6.5 12ZM8.5 16C8.5 15.17 9.17 14.5 10 14.5C10.83 14.5 11.5 15.17 11.5 16C11.5 16.83 10.83 17.5 10 17.5C9.17 17.5 8.5 16.83 8.5 16ZM12 21.5C11.17 21.5 10.5 20.83 10.5 20C10.5 19.17 11.17 18.5 12 18.5C12.83 18.5 13.5 19.17 13.5 20C13.5 20.83 12.83 21.5 12 21.5ZM14 17.5C13.17 17.5 12.5 16.83 12.5 16C12.5 15.17 13.17 14.5 14 14.5C14.83 14.5 15.5 15.17 15.5 16C15.5 16.83 14.83 17.5 14 17.5ZM16 13.5C15.17 13.5 14.5 12.83 14.5 12C14.5 11.17 15.17 10.5 16 10.5C16.83 10.5 17.5 11.17 17.5 12C17.5 12.83 16.83 13.5 16 13.5Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var I1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["ing-type-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M9 19V17H21V19H9ZM9 13V11H21V13H9ZM9 7V5H21V7H9ZM5 20C4.45 20 3.97917 19.8042 3.5875 19.4125C3.19583 19.0208 3 18.55 3 18C3 17.45 3.19583 16.9792 3.5875 16.5875C3.97917 16.1958 4.45 16 5 16C5.55 16 6.02083 16.1958 6.4125 16.5875C6.80417 16.9792 7 17.45 7 18C7 18.55 6.80417 19.0208 6.4125 19.4125C6.02083 19.8042 5.55 20 5 20ZM5 14C4.45 14 3.97917 13.8042 3.5875 13.4125C3.19583 13.0208 3 12.55 3 12C3 11.45 3.19583 10.9792 3.5875 10.5875C3.97917 10.1958 4.45 10 5 10C5.55 10 6.02083 10.1958 6.4125 10.5875C6.80417 10.9792 7 11.45 7 12C7 12.55 6.80417 13.0208 6.4125 13.4125C6.02083 13.8042 5.55 14 5 14ZM5 8C4.45 8 3.97917 7.80417 3.5875 7.4125C3.19583 7.02083 3 6.55 3 6C3 5.45 3.19583 4.97917 3.5875 4.5875C3.97917 4.19583 4.45 4 5 4C5.55 4 6.02083 4.19583 6.4125 4.5875C6.80417 4.97917 7 5.45 7 6C7 6.55 6.80417 7.02083 6.4125 7.4125C6.02083 7.80417 5.55 8 5 8Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var S1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["no-adds-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M15 12.175L13 10.175V4.99999H11V8.17499L9.00003 6.17499V4.99999H8.00002C7.71669 4.99999 7.47919 4.90415 7.28753 4.71249C7.09586 4.52082 7.00002 4.28332 7.00002 3.99999C7.00002 3.71665 7.09586 3.47915 7.28753 3.28749C7.47919 3.09582 7.71669 2.99999 8.00002 2.99999H16C16.2834 2.99999 16.5209 3.09582 16.7125 3.28749C16.9042 3.47915 17 3.71665 17 3.99999C17 4.28332 16.9042 4.52082 16.7125 4.71249C16.5209 4.90415 16.2834 4.99999 16 4.99999H15V12.175ZM5.00002 19H16.2L10.05 12.85L5.00002 19ZM19.8 22.6L18.2 21H5.00002C4.15002 21 3.54586 20.6208 3.18752 19.8625C2.82919 19.1042 2.91669 18.4 3.45002 17.75L8.65002 11.45L1.40002 4.19999L2.80002 2.79999L21.2 21.2L19.8 22.6Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var E1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["style-icon"]],standalone:!0,features:[x],decls:7,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_6206_874)"],["d","M7.5601 18.541L14.7635 18.6953L20.0856 15.4549C19.9683 15.3296 19.8197 15.2337 19.6398 15.1671C19.4599 15.1005 19.2729 15.0915 19.0789 15.1401L14.1803 16.3672C13.7438 16.4765 13.3921 16.5474 13.1254 16.5799C12.8586 16.6124 12.5756 16.6145 12.2765 16.5864L9.83286 16.3996L9.89254 14.3744L12.0209 14.5371C12.316 14.5491 12.6555 14.5327 13.0395 14.4881C13.4235 14.4434 13.9813 14.3381 14.7128 14.172C14.6683 13.9942 14.5732 13.8376 14.4276 13.7022C14.2821 13.5669 14.1304 13.4932 13.9728 13.4811L7.77568 12.8171L6.22363 13.2059L7.5601 18.541ZM2.5904 23.3941L-0.0825195 12.7238L7.28969 10.877C7.40286 10.8487 7.51907 10.8324 7.63832 10.8283C7.75756 10.8242 7.86973 10.8262 7.97484 10.8342L14.2023 11.5165C14.7844 11.5768 15.3019 11.808 15.7548 12.21C16.2077 12.612 16.5071 13.104 16.6529 13.686L18.593 13.2C19.4013 12.9975 20.1552 13.0922 20.8547 13.4839C21.5542 13.8757 22.0133 14.5081 22.232 15.3811L22.475 16.3512L15.3223 20.7202L8.05823 20.5296L8.41057 21.9361L2.5904 23.3941ZM4.04447 20.968L5.98453 20.482L4.28358 13.6918L2.34352 14.1778L4.04447 20.968Z","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M11 20V21H21V20L17 18V17.3355L14.7598 18.6994L13.6488 18.6756L11 20ZM15 16.1651V15.9C13.8333 15.7101 12.1642 15.233 11.0712 14.4689L12.0172 14.5412C12.3123 14.5532 12.6518 14.5369 13.0358 14.4922C13.4198 14.4476 13.9776 14.3422 14.7092 14.1761C14.6806 14.062 14.6312 13.9566 14.561 13.86C15.097 13.9533 15.6212 14 16 14C16.9333 14 18.75 13.7167 19.45 13.15C20.15 12.5833 20.6167 11.8667 20.85 11H11.15C11.3833 11.8667 11.85 12.5833 12.55 13.15C12.6479 13.2292 12.7676 13.3029 12.9037 13.3711L9.80232 13.0388C9.26744 12.1385 9 11.1255 9 10L10 3H12L11 9H21L20 3H22L23 10C23 11.5 22.525 12.8 21.575 13.9C21.1281 14.4175 20.4064 14.8391 19.6181 15.1648C19.4437 15.1041 19.2628 15.0973 19.0753 15.1442L15 16.1651Z","fill","currentColor"],["id","clip0_6206_874"],["width","24","height","24","fill","none"]],template:function(n,r){n&1&&(q(),m(0,"svg",0)(1,"g",1),b(2,"path",2)(3,"path",3),p(),m(4,"defs")(5,"clipPath",4),b(6,"rect",5),p()()())}});let i=t;return i})();var M1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["sustainability-icon"]],standalone:!0,features:[x],decls:7,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_6206_904)"],["d","M12 24C10.35 24 8.79583 23.6875 7.3375 23.0625C5.87917 22.4375 4.60417 21.5792 3.5125 20.4875C2.42083 19.3958 1.5625 18.1208 0.9375 16.6625C0.3125 15.2042 0 13.65 0 12H2C2 13.1833 2.2 14.3167 2.6 15.4C3 16.4833 3.55417 17.4583 4.2625 18.325C4.97083 19.1917 5.81667 19.9292 6.8 20.5375C7.78333 21.1458 8.85833 21.575 10.025 21.825L7.4 19.2L8.8 17.8L14.7 23.7C14.2667 23.8 13.8208 23.875 13.3625 23.925C12.9042 23.975 12.45 24 12 24ZM22 12C22 10.8167 21.8 9.68333 21.4 8.6C21 7.51667 20.4458 6.54167 19.7375 5.675C19.0292 4.80833 18.1833 4.07083 17.2 3.4625C16.2167 2.85417 15.1417 2.425 13.975 2.175L16.6 4.8L15.2 6.2L9.3 0.3C9.73333 0.2 10.1792 0.125 10.6375 0.075C11.0958 0.025 11.55 0 12 0C13.65 0 15.2042 0.3125 16.6625 0.9375C18.1208 1.5625 19.3958 2.42083 20.4875 3.5125C21.5792 4.60417 22.4375 5.87917 23.0625 7.3375C23.6875 8.79583 24 10.35 24 12H22Z","fill","currentColor"],["d","M9.36795 15.9442C9.72139 16.1514 10.084 16.3007 10.4557 16.3921C10.8274 16.4835 11.2083 16.5292 11.5983 16.5292C12.1589 16.5292 12.7134 16.4165 13.2619 16.191C13.8103 15.9655 14.3344 15.603 14.834 15.1033C15.0534 14.8839 15.2758 14.5762 15.5013 14.1801C15.7268 13.784 15.9218 13.266 16.0863 12.6262C16.2508 11.9863 16.3758 11.2124 16.4611 10.3044C16.5464 9.39648 16.5586 8.31484 16.4976 7.05952C15.9005 7.03515 15.2271 7.02601 14.4776 7.0321C13.728 7.0382 12.9815 7.09609 12.2381 7.20577C11.4947 7.31546 10.7878 7.49218 10.1175 7.73593C9.44717 7.97968 8.89874 8.31484 8.47217 8.7414C7.92374 9.28984 7.54592 9.83218 7.33874 10.3684C7.13155 10.9047 7.02795 11.4226 7.02795 11.9223C7.02795 12.6414 7.16506 13.2721 7.43928 13.8144C7.7135 14.3568 7.9542 14.7376 8.16139 14.957C8.67327 13.982 9.34967 13.0466 10.1906 12.1509C11.0315 11.2551 12.0126 10.5208 13.1339 9.94796C12.2564 10.7158 11.4916 11.5841 10.8396 12.553C10.1876 13.5219 9.69702 14.6523 9.36795 15.9442Z","fill","currentColor"],["id","clip0_6206_904"],["width","24","height","24","fill","none"]],template:function(n,r){n&1&&(q(),m(0,"svg",0)(1,"g",1),b(2,"path",2)(3,"path",3),p(),m(4,"defs")(5,"clipPath",4),b(6,"rect",5),p()()())}});let i=t;return i})();var D1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["description-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3 21V19H21V21H3ZM3 17V15H15V17H3ZM3 13V11H21V13H3ZM3 9V7H15V9H3ZM3 5V3H21V5H3Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var k1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["category-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M6 20C5.45 20 4.97917 19.8042 4.5875 19.4125C4.19583 19.0208 4 18.55 4 18C4 17.45 4.19583 16.9792 4.5875 16.5875C4.97917 16.1958 5.45 16 6 16C6.55 16 7.02083 16.1958 7.4125 16.5875C7.80417 16.9792 8 17.45 8 18C8 18.55 7.80417 19.0208 7.4125 19.4125C7.02083 19.8042 6.55 20 6 20ZM12 20C11.45 20 10.9792 19.8042 10.5875 19.4125C10.1958 19.0208 10 18.55 10 18C10 17.45 10.1958 16.9792 10.5875 16.5875C10.9792 16.1958 11.45 16 12 16C12.55 16 13.0208 16.1958 13.4125 16.5875C13.8042 16.9792 14 17.45 14 18C14 18.55 13.8042 19.0208 13.4125 19.4125C13.0208 19.8042 12.55 20 12 20ZM18 20C17.45 20 16.9792 19.8042 16.5875 19.4125C16.1958 19.0208 16 18.55 16 18C16 17.45 16.1958 16.9792 16.5875 16.5875C16.9792 16.1958 17.45 16 18 16C18.55 16 19.0208 16.1958 19.4125 16.5875C19.8042 16.9792 20 17.45 20 18C20 18.55 19.8042 19.0208 19.4125 19.4125C19.0208 19.8042 18.55 20 18 20ZM6 14C5.45 14 4.97917 13.8042 4.5875 13.4125C4.19583 13.0208 4 12.55 4 12C4 11.45 4.19583 10.9792 4.5875 10.5875C4.97917 10.1958 5.45 10 6 10C6.55 10 7.02083 10.1958 7.4125 10.5875C7.80417 10.9792 8 11.45 8 12C8 12.55 7.80417 13.0208 7.4125 13.4125C7.02083 13.8042 6.55 14 6 14ZM12 14C11.45 14 10.9792 13.8042 10.5875 13.4125C10.1958 13.0208 10 12.55 10 12C10 11.45 10.1958 10.9792 10.5875 10.5875C10.9792 10.1958 11.45 10 12 10C12.55 10 13.0208 10.1958 13.4125 10.5875C13.8042 10.9792 14 11.45 14 12C14 12.55 13.8042 13.0208 13.4125 13.4125C13.0208 13.8042 12.55 14 12 14ZM18 14C17.45 14 16.9792 13.8042 16.5875 13.4125C16.1958 13.0208 16 12.55 16 12C16 11.45 16.1958 10.9792 16.5875 10.5875C16.9792 10.1958 17.45 10 18 10C18.55 10 19.0208 10.1958 19.4125 10.5875C19.8042 10.9792 20 11.45 20 12C20 12.55 19.8042 13.0208 19.4125 13.4125C19.0208 13.8042 18.55 14 18 14ZM6 8C5.45 8 4.97917 7.80417 4.5875 7.4125C4.19583 7.02083 4 6.55 4 6C4 5.45 4.19583 4.97917 4.5875 4.5875C4.97917 4.19583 5.45 4 6 4C6.55 4 7.02083 4.19583 7.4125 4.5875C7.80417 4.97917 8 5.45 8 6C8 6.55 7.80417 7.02083 7.4125 7.4125C7.02083 7.80417 6.55 8 6 8ZM12 8C11.45 8 10.9792 7.80417 10.5875 7.4125C10.1958 7.02083 10 6.55 10 6C10 5.45 10.1958 4.97917 10.5875 4.5875C10.9792 4.19583 11.45 4 12 4C12.55 4 13.0208 4.19583 13.4125 4.5875C13.8042 4.97917 14 5.45 14 6C14 6.55 13.8042 7.02083 13.4125 7.4125C13.0208 7.80417 12.55 8 12 8ZM18 8C17.45 8 16.9792 7.80417 16.5875 7.4125C16.1958 7.02083 16 6.55 16 6C16 5.45 16.1958 4.97917 16.5875 4.5875C16.9792 4.19583 17.45 4 18 4C18.55 4 19.0208 4.19583 19.4125 4.5875C19.8042 4.97917 20 5.45 20 6C20 6.55 19.8042 7.02083 19.4125 7.4125C19.0208 7.80417 18.55 8 18 8Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var T1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["tasting-notes-icon"]],standalone:!0,features:[x],decls:4,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.29072 16.8446C7.22497 16.925 5.07834 16.4179 4.21356 16.1176C1.20473 15.073 1.26931 13.9305 4.39393 12.9276C4.73236 12.8189 5.01546 12.7266 5.02302 12.7223C5.04511 12.71 4.57619 11.0394 4.54067 11.0039C4.52297 10.9862 4.31787 11.0312 4.08493 11.1038C-2.02134 13.0088 -1.13317 16.9003 5.75554 18.4239L6.20888 18.5242L8.31402 18.812C9.95427 19.2764 16.044 18.8367 18.7216 18.0604C23.4083 16.7017 24.4258 13.6622 20.8023 11.8447C20.6251 11.7558 20.4733 11.6773 20.4653 11.6704L19.8535 13.4202C21.5031 14.2487 21.5031 14.8561 19.8533 15.6821C17.7822 16.7189 12.9673 17.4037 9.83273 17.1073L9.32354 17.0591L7.29072 16.8446Z","fill","currentColor"],["fill-rule","evenodd","clip-rule","evenodd","d","M2.80758 14.1213L2.10048 14.8284L9.17154 21.8995L9.87865 21.1924L8.46444 16.9498L9.94936 15.4648C11.1279 16.3134 13.149 17.3917 14.5986 17.2856C16.0482 17.1796 17.3033 16.5962 18.3639 15.5355L22.6066 9.87868L21.1924 8.46447L17.6568 13.4142L16.1365 14.7224C15.3587 15.1702 14.522 15.347 13.6263 15.2527C12.7306 15.1584 11.2457 14.0742 10.5858 13.4142C9.92579 12.7543 8.84156 11.2693 8.74728 10.3737C8.653 9.47799 8.82978 8.64125 9.27761 7.86343L10.5858 6.34315L15.5355 2.80761L14.1213 1.3934L8.46444 5.63604C7.40378 6.6967 6.82041 7.95182 6.71435 9.40139C6.60828 10.851 7.68662 12.8721 8.53515 14.0506L7.05022 15.5355L2.80758 14.1213Z","fill","currentColor"],["d","M8.61938 6.37006C13.0095 9.82281 16.0257 9.44778 21.1764 9.7347L20.6588 11.6666C14.6081 11.1332 11.0729 10.9313 8.10175 8.30191L8.61938 6.37006Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1)(2,"path",2)(3,"path",3),p())}});let i=t;return i})();var O1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["elaboration-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.5 22C6.53333 22 5.70833 21.6583 5.025 20.975C4.34167 20.2917 4 19.4667 4 18.5V5.5C4 4.53333 4.34167 3.70833 5.025 3.025C5.70833 2.34167 6.53333 2 7.5 2H20V17C19.5833 17 19.2292 17.1458 18.9375 17.4375C18.6458 17.7292 18.5 18.0833 18.5 18.5C18.5 18.9167 18.6458 19.2708 18.9375 19.5625C19.2292 19.8542 19.5833 20 20 20V22H7.5ZM6 15.325C6.23333 15.2083 6.475 15.125 6.725 15.075C6.975 15.025 7.23333 15 7.5 15H8V4H7.5C7.08333 4 6.72917 4.14583 6.4375 4.4375C6.14583 4.72917 6 5.08333 6 5.5V15.325ZM10 15H18V4H10V15ZM7.5 20H16.825C16.725 19.7667 16.6458 19.5292 16.5875 19.2875C16.5292 19.0458 16.5 18.7833 16.5 18.5C16.5 18.2333 16.525 17.975 16.575 17.725C16.625 17.475 16.7083 17.2333 16.825 17H7.5C7.06667 17 6.70833 17.1458 6.425 17.4375C6.14167 17.7292 6 18.0833 6 18.5C6 18.9333 6.14167 19.2917 6.425 19.575C6.70833 19.8583 7.06667 20 7.5 20Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();var P1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["ingredients-icon"]],standalone:!0,features:[x],decls:2,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M11 21V13.025C9.93333 13.025 8.90833 12.8208 7.925 12.4125C6.94167 12.0042 6.075 11.425 5.325 10.675C4.575 9.925 4 9.05833 3.6 8.075C3.2 7.09167 3 6.06667 3 5V3H5C6.05 3 7.06667 3.20417 8.05 3.6125C9.03333 4.02083 9.9 4.6 10.65 5.35C11.1667 5.86667 11.5958 6.43333 11.9375 7.05C12.2792 7.66667 12.5417 8.325 12.725 9.025C12.8083 8.90833 12.9 8.79583 13 8.6875C13.1 8.57917 13.2083 8.46667 13.325 8.35C14.075 7.6 14.9417 7.02083 15.925 6.6125C16.9083 6.20417 17.9333 6 19 6H21V8C21 9.06667 20.7958 10.0917 20.3875 11.075C19.9792 12.0583 19.4 12.925 18.65 13.675C17.9 14.425 17.0375 15 16.0625 15.4C15.0875 15.8 14.0667 16 13 16V21H11ZM11 11C11 10.2 10.8458 9.4375 10.5375 8.7125C10.2292 7.9875 9.79167 7.34167 9.225 6.775C8.65833 6.20833 8.0125 5.77083 7.2875 5.4625C6.5625 5.15417 5.8 5 5 5C5 5.8 5.15 6.56667 5.45 7.3C5.75 8.03333 6.18333 8.68333 6.75 9.25C7.31667 9.81667 7.96667 10.25 8.7 10.55C9.43333 10.85 10.2 11 11 11ZM13 14C13.8 14 14.5625 13.85 15.2875 13.55C16.0125 13.25 16.6583 12.8167 17.225 12.25C17.7917 11.6833 18.2292 11.0333 18.5375 10.3C18.8458 9.56667 19 8.8 19 8C18.2 8 17.4333 8.15417 16.7 8.4625C15.9667 8.77083 15.3167 9.20833 14.75 9.775C14.1833 10.3417 13.75 10.9875 13.45 11.7125C13.15 12.4375 13 13.2 13 14Z","fill","currentColor"]],template:function(n,r){n&1&&(q(),m(0,"svg",0),b(1,"path",1),p())}});let i=t;return i})();function hE(i,t){i&1&&b(0,"age-icon",0)}function fE(i,t){i&1&&b(0,"body-icon",0)}function gE(i,t){i&1&&b(0,"bottler-icon",0)}function vE(i,t){i&1&&b(0,"bottling-date-icon",0)}function bE(i,t){i&1&&b(0,"bottling-status-icon",0)}function _E(i,t){i&1&&b(0,"brand-icon",0)}function CE(i,t){i&1&&b(0,"capacity-icon",0)}function yE(i,t){i&1&&b(0,"cask-number-icon",0)}function xE(i,t){i&1&&b(0,"cask-type-icon",0)}function wE(i,t){i&1&&b(0,"category-icon",0)}function IE(i,t){i&1&&b(0,"certification-icon",0)}function SE(i,t){i&1&&b(0,"characters-icon",0)}function EE(i,t){i&1&&b(0,"chill-filter-icon",0)}function ME(i,t){i&1&&b(0,"colouring-icon",0)}function DE(i,t){i&1&&b(0,"country-icon",0)}function kE(i,t){i&1&&b(0,"description-icon",0)}function TE(i,t){i&1&&b(0,"flavour-icon",0)}function OE(i,t){i&1&&b(0,"food-pairings-icon",0)}function PE(i,t){i&1&&b(0,"grapes-icon",0)}function FE(i,t){i&1&&b(0,"ing-type-icon",0)}function AE(i,t){i&1&&b(0,"limited-edition-icon",0)}function RE(i,t){i&1&&b(0,"no-adds-icon",0)}function LE(i,t){i&1&&b(0,"number-of-bottles-icon",0)}function jE(i,t){i&1&&b(0,"price-icon",0)}function VE(i,t){i&1&&b(0,"region-icon",0)}function NE(i,t){i&1&&b(0,"richness-icon",0)}function BE(i,t){i&1&&b(0,"series-icon",0)}function zE(i,t){i&1&&b(0,"smoke-icon",0)}function HE(i,t){i&1&&b(0,"style-icon",0)}function $E(i,t){i&1&&b(0,"sustainability-icon",0)}function UE(i,t){i&1&&b(0,"sweetness-icon",0)}function WE(i,t){i&1&&b(0,"tasting-notes-icon",0)}function GE(i,t){i&1&&b(0,"type-icon",0)}function ZE(i,t){i&1&&b(0,"vintage-icon",0)}function qE(i,t){i&1&&b(0,"volume-icon",0)}function YE(i,t){i&1&&b(0,"elaboration-icon",0)}function XE(i,t){i&1&&b(0,"ingredients-icon",0)}function QE(i,t){}var An=(()=>{let t=class t{constructor(){this.type=""}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["app-data-icon"]],inputs:{type:"type"},standalone:!0,features:[x],decls:38,vars:1,consts:[[1,"icon"]],template:function(n,r){if(n&1&&O(0,hE,1,0)(1,fE,1,0)(2,gE,1,0)(3,vE,1,0)(4,bE,1,0)(5,_E,1,0)(6,CE,1,0)(7,yE,1,0)(8,xE,1,0)(9,wE,1,0)(10,IE,1,0)(11,SE,1,0)(12,EE,1,0)(13,ME,1,0)(14,DE,1,0)(15,kE,1,0)(16,TE,1,0)(17,OE,1,0)(18,PE,1,0)(19,FE,1,0)(20,AE,1,0)(21,RE,1,0)(22,LE,1,0)(23,jE,1,0)(24,VE,1,0)(25,NE,1,0)(26,BE,1,0)(27,zE,1,0)(28,HE,1,0)(29,$E,1,0)(30,UE,1,0)(31,WE,1,0)(32,GE,1,0)(33,ZE,1,0)(34,qE,1,0)(35,YE,1,0)(36,XE,1,0)(37,QE,0,0),n&2){let a;H(0,(a=r.type)==="age"?0:a==="body"?1:a==="bottler"?2:a==="bottlingDate"?3:a==="bottlingStatus"?4:a==="brand"?5:a==="capacity"?6:a==="caskNumber"?7:a==="caskType"?8:a==="category"?9:a==="certification"?10:a==="characters"?11:a==="chillFilter"?12:a==="colouring"?13:a==="country"?14:a==="description"?15:a==="flavour"?16:a==="foodPairings"?17:a==="grapes"?18:a==="ingType"?19:a==="limitedEdition"?20:a==="noAdds"?21:a==="numberOfBottles"?22:a==="price"?23:a==="region"?24:a==="richness"?25:a==="series"?26:a==="smoke"?27:a==="style"?28:a==="sustainability"?29:a==="sweetness"?30:a==="tastingNotes"?31:a==="type"?32:a==="vintage"?33:a==="volume"?34:a==="elaboration"?35:a==="ingredients"?36:37)}},dependencies:[i1,n1,o1,r1,a1,Jv,s1,b1,_1,k1,C1,l1,y1,x1,Qv,D1,c1,d1,w1,I1,u1,S1,m1,t1,Kv,p1,h1,f1,E1,M1,g1,T1,Xv,e1,v1,O1,P1],styles:[".icon[_ngcontent-%COMP%]{height:100%;width:100%}"]});let i=t;return i})();var KE=()=>[st,An,kt],JE=(i,t)=>t.uuid;function eM(i,t){if(i&1&&(m(0,"span",5),y(1),p()),i&2){let o=C(2).$implicit,e;h(),Z((e=o==null?null:o.selectedCount)!==null&&e!==void 0?e:0)}}function tM(i,t){i&1&&(m(0,"mat-icon"),y(1,"expand_more"),p())}function iM(i,t){if(i&1){let o=_e();m(0,"div",1),P("click",function(){de(o);let n=C().$implicit,r=C(2);return ue(r.openFilter(n))}),b(1,"app-data-icon",2),m(2,"span",3),y(3),F(4,"catalogTranslation"),p(),O(5,eM,2,1,"span",4)(6,tM,2,0),p()}if(i&2){let o=C().$implicit;h(),k("type",o==null||o.filter==null?null:o.filter.name),h(2),Z($(4,3,o)),h(2),H(5,o!=null&&o.selectedCount?5:6)}}function nM(i,t){if(i&1&&O(0,iM,7,5,"div",0),i&2){let o=t.$implicit,e=C(2),n,r;H(0,(n=e.allFilters())!=null&&n[(r=o==null||o.filter==null?null:o.filter.name)!==null&&r!==void 0?r:""]&&((n=e.allFilters())==null?null:n[o.filter.name].length)>0?0:-1)}}function oM(i,t){if(i&1&&Te(0,nM,1,1,null,null,JE),i&2){let o=C();Oe(o.categoryFilters())}}function rM(i,t){i&1&&b(0,"div",6)(1,"div",6)}var ip=(()=>{let t=class t{constructor(e){this._bottomSheet=e,this.update=new I,this.api=w(Ye),this.categoryFilters=be(null),this.allFilters=be(null)}ngOnInit(){this.getCategoryFilters()}getCategoryFilters(){this.api.getCategoryFilters().subscribe(e=>{this.categoryFilters.set(e),e.length>0&&(this.getAllFilterData(e[0].uuid),this.getSelectedFiltersCount())})}getAllFilterData(e){this.api.getAllFilterData(e).subscribe(n=>{this.allFilters.set(n)})}openFilter(e){this._bottomSheet.open(fl,{data:{categoryFilter:e,allFilters:this.allFilters()},panelClass:"mat-bottom-sheet-container-medium"}).afterDismissed().subscribe(r=>{r&&(this.update.emit(),this.getSelectedFiltersCount())})}openPriceVariantFilter(){this._bottomSheet.open(xl,{panelClass:"mat-bottom-sheet-container-medium"})}getSelectedFiltersCount(){let e=this.api.getSelectedFilters();this.categoryFilters()?.forEach(n=>{let r=n.filter.name;n.selectedCount=e[r].length})}};t.\u0275fac=function(n){return new(n||t)(c(Ca))},t.\u0275cmp=v({type:t,selectors:[["app-footer-desktop-filters"]],outputs:{update:"update"},standalone:!0,features:[x],decls:4,vars:1,consts:[["class","filter"],[1,"filter",3,"click"],[1,"text-light","icon",3,"type"],[1,"name"],["class","count"],[1,"count"],[1,"filter","placeholder-wave","placeholder"]],template:function(n,r){n&1&&(O(0,oM,2,0)(1,rM,2,0),ht(2,0,KE,null,1)),n&2&&(h(2),ft(r.categoryFilters()&&r.allFilters()))},dependencies:[Re,nt,Pn],styles:[".filter[_ngcontent-%COMP%]{display:flex;align-items:center;background-color:#636366;height:34px;width:fit-content;padding:0 6px;border-radius:7px;cursor:pointer;overflow:hidden;flex:0 1 auto}.filter[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{font-size:13px;line-height:18px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:6px}.filter[_ngcontent-%COMP%]   .count[_ngcontent-%COMP%]{width:18px;height:18px;background-color:#fff;border-radius:50%;color:#636366;font-size:13px;line-height:18px;text-align:center;margin-left:6px}.filter[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#ebebf54d}.filter.placeholder[_ngcontent-%COMP%]{width:100px}.filter[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{height:24px;width:24px}"]});let i=t;return i})();function aM(i,t,o,e){let n=window&&!!window.document&&window.document.documentElement,r=n&&t?window:o;if(i&&(r=i&&n&&typeof i=="string"?sM(i,o.nativeElement,e):i,!r))throw new Error("ngx-infinite-scroll {resolveContainerElement()}: selector for");return r}function sM(i,t,o){return(o?window.document:t).querySelector(i)}function np(i){return i&&!i.firstChange}function lM(){return typeof window<"u"}var cM={clientHeight:"clientHeight",offsetHeight:"offsetHeight",scrollHeight:"scrollHeight",pageYOffset:"pageYOffset",offsetTop:"offsetTop",scrollTop:"scrollTop",top:"top"},dM={clientHeight:"clientWidth",offsetHeight:"offsetWidth",scrollHeight:"scrollWidth",pageYOffset:"pageXOffset",offsetTop:"offsetLeft",scrollTop:"scrollLeft",top:"left"},op=class{constructor(t=!0){this.vertical=t,this.propsMap=t?cM:dM}clientHeightKey(){return this.propsMap.clientHeight}offsetHeightKey(){return this.propsMap.offsetHeight}scrollHeightKey(){return this.propsMap.scrollHeight}pageYOffsetKey(){return this.propsMap.pageYOffset}offsetTopKey(){return this.propsMap.offsetTop}scrollTopKey(){return this.propsMap.scrollTop}topKey(){return this.propsMap.top}};function uM(i,t,o){return!!(i&&t||!o&&t)}function mM({windowElement:i,axis:t}){return pM({axis:t,isWindow:hM(i)},i)}function pM(i,t){let o=i.isWindow||t&&!t.nativeElement?t:t.nativeElement;return Ne(G({},i),{container:o})}function hM(i){return["Window","global"].some(o=>Object.prototype.toString.call(i).includes(o))}function sp(i,t){return i?t.document.documentElement:null}function F1(i,t){let o=vM(t);return t.isWindow?fM(o,i,t):gM(o,i,t)}function fM(i,t,o){let{axis:e,container:n,isWindow:r}=o,{offsetHeightKey:a,clientHeightKey:s}=A1(e),l=i+L1(sp(r,n),e,r),d=R1(t.nativeElement,r,a,s),u=bM(t.nativeElement,e,r)+d;return{height:i,scrolled:l,totalToScroll:u,isWindow:r}}function gM(i,t,o){let{axis:e,container:n}=o,r=n[e.scrollTopKey()],a=n[e.scrollHeightKey()];return{height:i,scrolled:r,totalToScroll:a,isWindow:!1}}function A1(i){return{offsetHeightKey:i.offsetHeightKey(),clientHeightKey:i.clientHeightKey()}}function vM({container:i,isWindow:t,axis:o}){let{offsetHeightKey:e,clientHeightKey:n}=A1(o);return R1(i,t,e,n)}function R1(i,t,o,e){if(isNaN(i[o])){let n=sp(t,i);return n?n[e]:0}else return i[o]}function bM(i,t,o){let e=t.topKey();if(i.getBoundingClientRect)return i.getBoundingClientRect()[e]+L1(i,t,o)}function L1(i,t,o){let e=t.pageYOffsetKey(),n=t.scrollTopKey(),r=t.offsetTopKey();return isNaN(window.pageYOffset)?sp(o,i)[n]:i.ownerDocument?i.ownerDocument.defaultView[e]:i[r]}function _M(i,t={down:0,up:0},o){let e,n;if(i.totalToScroll<=0)return!1;let r=i.isWindow?i.scrolled:i.height+i.scrolled;if(o)e=(i.totalToScroll-r)/i.totalToScroll,n=(t?.down?t.down:0)/10;else{let s=i.scrolled+(i.totalToScroll-r);e=i.scrolled/s,n=(t?.up?t.up:0)/10}return e<=n}function CM(i,t){return i<t.scrolled}function yM(i,t,o){let e=CM(i,t);return{fire:_M(t,o,e),scrollDown:e}}var rp=class{constructor(t){this.lastScrollPosition=0,this.lastTotalToScroll=0,this.totalToScroll=0,this.triggered={down:0,up:0},Object.assign(this,t)}updateScrollPosition(t){return this.lastScrollPosition=t}updateTotalToScroll(t){this.lastTotalToScroll!==t&&(this.lastTotalToScroll=this.totalToScroll,this.totalToScroll=t)}updateScroll(t,o){this.updateScrollPosition(t),this.updateTotalToScroll(o)}updateTriggeredFlag(t,o){o?this.triggered.down=t:this.triggered.up=t}isTriggeredScroll(t,o){return o?this.triggered.down===t:this.triggered.up===t}};function xM(i){let{scrollContainer:t,scrollWindow:o,element:e,fromRoot:n}=i,r=mM({axis:new op(!i.horizontal),windowElement:aM(t,o,e,n)}),a=new rp({totalToScroll:F1(e,r).totalToScroll}),s={container:r.container,throttle:i.throttle},l={up:i.upDistance,down:i.downDistance};return wM(s).pipe(Lt(()=>me(F1(e,r))),Me(d=>IM(a.lastScrollPosition,d,l)),ot(({stats:d})=>a.updateScroll(d.scrolled,d.totalToScroll)),Ue(({fire:d,scrollDown:u,stats:{totalToScroll:f}})=>uM(i.alwaysCallback,d,a.isTriggeredScroll(f,u))),ot(({scrollDown:d,stats:{totalToScroll:u}})=>{a.updateTriggeredFlag(u,d)}),Me(SM))}function wM(i){let t=Wi(i.container,"scroll");return i.throttle&&(t=t.pipe(hr(i.throttle,void 0,{leading:!0,trailing:!0}))),t}function IM(i,t,o){let{scrollDown:e,fire:n}=yM(i,t,o);return{scrollDown:e,fire:n,stats:t}}var ap={DOWN:"[NGX_ISE] DOWN",UP:"[NGX_ISE] UP"};function SM(i){let{scrollDown:t,stats:{scrolled:o}}=i;return{type:t?ap.DOWN:ap.UP,payload:{currentScrollPosition:o}}}var lp=(()=>{let t=class t{constructor(e,n){this.element=e,this.zone=n,this.scrolled=new I,this.scrolledUp=new I,this.infiniteScrollDistance=2,this.infiniteScrollUpDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScrollDisabled=!1,this.infiniteScrollContainer=null,this.scrollWindow=!0,this.immediateCheck=!1,this.horizontal=!1,this.alwaysCallback=!1,this.fromRoot=!1}ngAfterViewInit(){this.infiniteScrollDisabled||this.setup()}ngOnChanges({infiniteScrollContainer:e,infiniteScrollDisabled:n,infiniteScrollDistance:r}){let a=np(e),s=np(n),l=np(r),d=!s&&!this.infiniteScrollDisabled||s&&!n.currentValue||l;(a||s||l)&&(this.destroyScroller(),d&&this.setup())}setup(){lM()&&this.zone.runOutsideAngular(()=>{this.disposeScroller=xM({fromRoot:this.fromRoot,alwaysCallback:this.alwaysCallback,disable:this.infiniteScrollDisabled,downDistance:this.infiniteScrollDistance,element:this.element,horizontal:this.horizontal,scrollContainer:this.infiniteScrollContainer,scrollWindow:this.scrollWindow,throttle:this.infiniteScrollThrottle,upDistance:this.infiniteScrollUpDistance}).subscribe(e=>this.handleOnScroll(e))})}handleOnScroll({type:e,payload:n}){let r=e===ap.DOWN?this.scrolled:this.scrolledUp;EM(r)&&this.zone.run(()=>r.emit(n))}ngOnDestroy(){this.destroyScroller()}destroyScroller(){this.disposeScroller&&this.disposeScroller.unsubscribe()}};t.\u0275fac=function(n){return new(n||t)(c(S),c(M))},t.\u0275dir=re({type:t,selectors:[["","infiniteScroll",""],["","infinite-scroll",""],["","data-infinite-scroll",""]],inputs:{infiniteScrollDistance:"infiniteScrollDistance",infiniteScrollUpDistance:"infiniteScrollUpDistance",infiniteScrollThrottle:"infiniteScrollThrottle",infiniteScrollDisabled:"infiniteScrollDisabled",infiniteScrollContainer:"infiniteScrollContainer",scrollWindow:"scrollWindow",immediateCheck:"immediateCheck",horizontal:"horizontal",alwaysCallback:"alwaysCallback",fromRoot:"fromRoot"},outputs:{scrolled:"scrolled",scrolledUp:"scrolledUp"},features:[rt]});let i=t;return i})();function EM(i){return i.observed??i.observers.length>0}var j1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({});let i=t;return i})();function DM(i,t){i&1&&(m(0,"span",3),y(1,"Sin stock"),p())}function kM(i,t){if(i&1&&(m(0,"div",4)(1,"span",5),y(2),F(3,"translate"),p()()),i&2){let o=C();h(2),Z(o.menu.newsName?o.menu.newsName:$(3,1,"new"))}}var V1=(()=>{let t=class t{constructor(){this.goToDetail=new I,this.soldout=!1,this.new=!1}ngOnInit(){this.soldout=this.spirit.soldout&&this.menu.modules?.includes("soldout"),this.new=this.spirit.soldout&&this.menu.modules?.includes("soldout")}navigate(e){this.goToDetail.emit(e)}favorite(e){}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["app-carousel-item"]],inputs:{spirit:"spirit",menu:"menu"},outputs:{goToDetail:"goToDetail"},standalone:!0,features:[x],decls:5,vars:7,consts:[[3,"src","click"],["class","soldout-chip"],["class","new background-primary"],[1,"soldout-chip"],[1,"new","background-primary"],[1,"text-white"]],template:function(n,r){n&1&&(m(0,"article")(1,"img",0),P("click",function(){return r.navigate(r.spirit)}),F(2,"spiritImage"),p(),O(3,DM,2,0,"span",1)(4,kM,4,3,"div",2),p()),n&2&&(ee("soldout",r.soldout),h(),k("src",$(2,5,r.spirit.catalogSpirit.image),yt),h(2),H(3,r.soldout?3:-1),h(),H(4,r.new?4:-1))},dependencies:[Re,$e,rn],styles:["article[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;position:relative;height:100%;width:100%}article.soldout[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{filter:contrast(.75) saturate(.5)!important}article.soldout[_ngcontent-%COMP%]   .soldout-chip[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#b3b3b3;border:1px solid rgba(0,0,0,.3019607843);color:#000;padding:3px 9px;border-radius:70px;white-space:nowrap}article.soldout[_ngcontent-%COMP%]   .new[_ngcontent-%COMP%]{filter:contrast(.75) saturate(.5)}article[_ngcontent-%COMP%]   .new[_ngcontent-%COMP%]{position:absolute;transform:rotate(45deg) translate(-33px,10px);padding:2px 0;width:120px;text-align:center;bottom:0;left:0;z-index:1}article[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{object-fit:contain;width:auto;height:95%;max-width:100vw;filter:brightness(.5);transition:all .5s ease}"]});let i=t;return i})();var TM=()=>[import("./chunk-237LZLX2.js").then(i=>i.PriceComponent),Ni,kt],OM=(i,t)=>t.uuid;function PM(i,t){if(i&1&&(y(0),F(1,"catalogTranslation")),i&2){let o=C(3);Be(" ",$(1,1,o.spirit.catalogSpirit.type)," ")}}function FM(i,t){i&1&&y(0," - ")}function AM(i,t){if(i&1&&(y(0),F(1,"catalogTranslation")),i&2){let o=C(3);Be(" ",$(1,1,o.spirit.catalogSpirit.region)," ")}}function RM(i,t){if(i&1&&b(0,"app-price",5),i&2){let o=t.$implicit,e=C(3);k("price",o)("menu",e.menu)}}function LM(i,t){if(i&1){let o=_e();m(0,"section")(1,"div",0)(2,"h5",1),P("click",function(){de(o);let n=C(2);return ue(n.navigate(n.spirit))}),y(3),F(4,"spiritTranslation"),p(),m(5,"div",2),P("click",function(n){de(o);let r=C(2);return r.favorite(r.spirit),ue(n.stopPropagation())}),b(6,"img",3),p()(),m(7,"small"),y(8),F(9,"spiritTranslation"),p(),m(10,"small")(11,"em"),O(12,PM,2,3)(13,FM,1,0)(14,AM,2,3),p()(),m(15,"div",4),Te(16,RM,1,2,"app-price",5,OM),p()()}if(i&2){let o=C(2);h(3),Z(et(4,6,o.spirit,"name")),h(3),mn("src","assets/images/",o.spirit.fav?"fav":"no-fav",".png",yt),h(2),Z(et(9,9,o.spirit,"subname")),h(4),H(12,o.spirit.catalogSpirit.type?12:-1),h(),H(13,o.spirit.catalogSpirit.type&&o.spirit.catalogSpirit.region?13:-1),h(),H(14,o.spirit.catalogSpirit.region?14:-1),h(2),Oe(o.spirit.priceVariants)}}function jM(i,t){if(i&1&&O(0,LM,18,12,"section"),i&2){let o=C();H(0,o.spirit?0:-1)}}var N1=(()=>{let t=class t{constructor(){this.goToDetail=new I,this.local=w(Xe)}navigate(e){this.goToDetail.emit(e)}favorite(e){e.fav=!e.fav,this.local.manageFavorites(e)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["app-carousel-active-item"]],inputs:{spirit:"spirit",menu:"menu"},outputs:{goToDetail:"goToDetail"},standalone:!0,features:[x],decls:3,vars:1,consts:[[1,"title"],[3,"click"],[1,"fav",3,"click"],[3,"src"],[1,"prices"],[3,"price","menu"]],template:function(n,r){n&1&&(O(0,jM,1,1),ht(1,0,TM)),n&2&&(h(),ft(r.spirit))},styles:["section[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center;position:relative}section[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{position:relative}section[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .fav[_ngcontent-%COMP%]{position:absolute;top:0;right:-30px;height:24px;width:24px;display:flex;justify-content:center;align-items:center;cursor:pointer}section[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .fav[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:16px;height:16px}section[_ngcontent-%COMP%]   .prices[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:8px}"]});let i=t;return i})();function B1(i){return i!==null&&typeof i=="object"&&"constructor"in i&&i.constructor===Object}function cp(i={},t={}){Object.keys(t).forEach(o=>{typeof i[o]>"u"?i[o]=t[o]:B1(t[o])&&B1(i[o])&&Object.keys(t[o]).length>0&&cp(i[o],t[o])})}var z1={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function dt(){let i=typeof document<"u"?document:{};return cp(i,z1),i}var VM={document:z1,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(i){return typeof setTimeout>"u"?(i(),null):setTimeout(i,0)},cancelAnimationFrame(i){typeof setTimeout>"u"||clearTimeout(i)}};function He(){let i=typeof window<"u"?window:{};return cp(i,VM),i}function NM(i){let t=i.__proto__;Object.defineProperty(i,"__proto__",{get(){return t},set(o){t.__proto__=o}})}var Hi=class extends Array{constructor(t){typeof t=="number"?super(t):(super(...t||[]),NM(this))}};function ya(i=[]){let t=[];return i.forEach(o=>{Array.isArray(o)?t.push(...ya(o)):t.push(o)}),t}function H1(i,t){return Array.prototype.filter.call(i,t)}function BM(i){let t=[];for(let o=0;o<i.length;o+=1)t.indexOf(i[o])===-1&&t.push(i[o]);return t}function zM(i,t){if(typeof i!="string")return[i];let o=[],e=t.querySelectorAll(i);for(let n=0;n<e.length;n+=1)o.push(e[n]);return o}function Le(i,t){let o=He(),e=dt(),n=[];if(!t&&i instanceof Hi)return i;if(!i)return new Hi(n);if(typeof i=="string"){let r=i.trim();if(r.indexOf("<")>=0&&r.indexOf(">")>=0){let a="div";r.indexOf("<li")===0&&(a="ul"),r.indexOf("<tr")===0&&(a="tbody"),(r.indexOf("<td")===0||r.indexOf("<th")===0)&&(a="tr"),r.indexOf("<tbody")===0&&(a="table"),r.indexOf("<option")===0&&(a="select");let s=e.createElement(a);s.innerHTML=r;for(let l=0;l<s.childNodes.length;l+=1)n.push(s.childNodes[l])}else n=zM(i.trim(),t||e)}else if(i.nodeType||i===o||i===e)n.push(i);else if(Array.isArray(i)){if(i instanceof Hi)return i;n=i}return new Hi(BM(n))}Le.fn=Hi.prototype;function $1(...i){let t=ya(i.map(o=>o.split(" ")));return this.forEach(o=>{o.classList.add(...t)}),this}function U1(...i){let t=ya(i.map(o=>o.split(" ")));return this.forEach(o=>{o.classList.remove(...t)}),this}function W1(...i){let t=ya(i.map(o=>o.split(" ")));this.forEach(o=>{t.forEach(e=>{o.classList.toggle(e)})})}function G1(...i){let t=ya(i.map(o=>o.split(" ")));return H1(this,o=>t.filter(e=>o.classList.contains(e)).length>0).length>0}function Z1(i,t){if(arguments.length===1&&typeof i=="string")return this[0]?this[0].getAttribute(i):void 0;for(let o=0;o<this.length;o+=1)if(arguments.length===2)this[o].setAttribute(i,t);else for(let e in i)this[o][e]=i[e],this[o].setAttribute(e,i[e]);return this}function q1(i){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(i);return this}function Y1(i){for(let t=0;t<this.length;t+=1)this[t].style.transform=i;return this}function X1(i){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration=typeof i!="string"?`${i}ms`:i;return this}function Q1(...i){let[t,o,e,n]=i;typeof i[1]=="function"&&([t,e,n]=i,o=void 0),n||(n=!1);function r(d){let u=d.target;if(!u)return;let f=d.target.dom7EventData||[];if(f.indexOf(d)<0&&f.unshift(d),Le(u).is(o))e.apply(u,f);else{let g=Le(u).parents();for(let _=0;_<g.length;_+=1)Le(g[_]).is(o)&&e.apply(g[_],f)}}function a(d){let u=d&&d.target?d.target.dom7EventData||[]:[];u.indexOf(d)<0&&u.unshift(d),e.apply(this,u)}let s=t.split(" "),l;for(let d=0;d<this.length;d+=1){let u=this[d];if(o)for(l=0;l<s.length;l+=1){let f=s[l];u.dom7LiveListeners||(u.dom7LiveListeners={}),u.dom7LiveListeners[f]||(u.dom7LiveListeners[f]=[]),u.dom7LiveListeners[f].push({listener:e,proxyListener:r}),u.addEventListener(f,r,n)}else for(l=0;l<s.length;l+=1){let f=s[l];u.dom7Listeners||(u.dom7Listeners={}),u.dom7Listeners[f]||(u.dom7Listeners[f]=[]),u.dom7Listeners[f].push({listener:e,proxyListener:a}),u.addEventListener(f,a,n)}}return this}function K1(...i){let[t,o,e,n]=i;typeof i[1]=="function"&&([t,e,n]=i,o=void 0),n||(n=!1);let r=t.split(" ");for(let a=0;a<r.length;a+=1){let s=r[a];for(let l=0;l<this.length;l+=1){let d=this[l],u;if(!o&&d.dom7Listeners?u=d.dom7Listeners[s]:o&&d.dom7LiveListeners&&(u=d.dom7LiveListeners[s]),u&&u.length)for(let f=u.length-1;f>=0;f-=1){let g=u[f];e&&g.listener===e||e&&g.listener&&g.listener.dom7proxy&&g.listener.dom7proxy===e?(d.removeEventListener(s,g.proxyListener,n),u.splice(f,1)):e||(d.removeEventListener(s,g.proxyListener,n),u.splice(f,1))}}}return this}function J1(...i){let t=He(),o=i[0].split(" "),e=i[1];for(let n=0;n<o.length;n+=1){let r=o[n];for(let a=0;a<this.length;a+=1){let s=this[a];if(t.CustomEvent){let l=new t.CustomEvent(r,{detail:e,bubbles:!0,cancelable:!0});s.dom7EventData=i.filter((d,u)=>u>0),s.dispatchEvent(l),s.dom7EventData=[],delete s.dom7EventData}}}return this}function eb(i){let t=this;function o(e){e.target===this&&(i.call(this,e),t.off("transitionend",o))}return i&&t.on("transitionend",o),this}function tb(i){if(this.length>0){if(i){let t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function ib(i){if(this.length>0){if(i){let t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function nb(){if(this.length>0){let i=He(),t=dt(),o=this[0],e=o.getBoundingClientRect(),n=t.body,r=o.clientTop||n.clientTop||0,a=o.clientLeft||n.clientLeft||0,s=o===i?i.scrollY:o.scrollTop,l=o===i?i.scrollX:o.scrollLeft;return{top:e.top+s-r,left:e.left+l-a}}return null}function ob(){let i=He();return this[0]?i.getComputedStyle(this[0],null):{}}function rb(i,t){let o=He(),e;if(arguments.length===1)if(typeof i=="string"){if(this[0])return o.getComputedStyle(this[0],null).getPropertyValue(i)}else{for(e=0;e<this.length;e+=1)for(let n in i)this[e].style[n]=i[n];return this}if(arguments.length===2&&typeof i=="string"){for(e=0;e<this.length;e+=1)this[e].style[i]=t;return this}return this}function ab(i){return i?(this.forEach((t,o)=>{i.apply(t,[t,o])}),this):this}function sb(i){let t=H1(this,i);return Le(t)}function lb(i){if(typeof i>"u")return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=i;return this}function cb(i){if(typeof i>"u")return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=i;return this}function db(i){let t=He(),o=dt(),e=this[0],n,r;if(!e||typeof i>"u")return!1;if(typeof i=="string"){if(e.matches)return e.matches(i);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(i);if(e.msMatchesSelector)return e.msMatchesSelector(i);for(n=Le(i),r=0;r<n.length;r+=1)if(n[r]===e)return!0;return!1}if(i===o)return e===o;if(i===t)return e===t;if(i.nodeType||i instanceof Hi){for(n=i.nodeType?[i]:i,r=0;r<n.length;r+=1)if(n[r]===e)return!0;return!1}return!1}function ub(){let i=this[0],t;if(i){for(t=0;(i=i.previousSibling)!==null;)i.nodeType===1&&(t+=1);return t}}function mb(i){if(typeof i>"u")return this;let t=this.length;if(i>t-1)return Le([]);if(i<0){let o=t+i;return o<0?Le([]):Le([this[o]])}return Le([this[i]])}function pb(...i){let t,o=dt();for(let e=0;e<i.length;e+=1){t=i[e];for(let n=0;n<this.length;n+=1)if(typeof t=="string"){let r=o.createElement("div");for(r.innerHTML=t;r.firstChild;)this[n].appendChild(r.firstChild)}else if(t instanceof Hi)for(let r=0;r<t.length;r+=1)this[n].appendChild(t[r]);else this[n].appendChild(t)}return this}function hb(i){let t=dt(),o,e;for(o=0;o<this.length;o+=1)if(typeof i=="string"){let n=t.createElement("div");for(n.innerHTML=i,e=n.childNodes.length-1;e>=0;e-=1)this[o].insertBefore(n.childNodes[e],this[o].childNodes[0])}else if(i instanceof Hi)for(e=0;e<i.length;e+=1)this[o].insertBefore(i[e],this[o].childNodes[0]);else this[o].insertBefore(i,this[o].childNodes[0]);return this}function fb(i){return this.length>0?i?this[0].nextElementSibling&&Le(this[0].nextElementSibling).is(i)?Le([this[0].nextElementSibling]):Le([]):this[0].nextElementSibling?Le([this[0].nextElementSibling]):Le([]):Le([])}function gb(i){let t=[],o=this[0];if(!o)return Le([]);for(;o.nextElementSibling;){let e=o.nextElementSibling;i?Le(e).is(i)&&t.push(e):t.push(e),o=e}return Le(t)}function vb(i){if(this.length>0){let t=this[0];return i?t.previousElementSibling&&Le(t.previousElementSibling).is(i)?Le([t.previousElementSibling]):Le([]):t.previousElementSibling?Le([t.previousElementSibling]):Le([])}return Le([])}function bb(i){let t=[],o=this[0];if(!o)return Le([]);for(;o.previousElementSibling;){let e=o.previousElementSibling;i?Le(e).is(i)&&t.push(e):t.push(e),o=e}return Le(t)}function _b(i){let t=[];for(let o=0;o<this.length;o+=1)this[o].parentNode!==null&&(i?Le(this[o].parentNode).is(i)&&t.push(this[o].parentNode):t.push(this[o].parentNode));return Le(t)}function Cb(i){let t=[];for(let o=0;o<this.length;o+=1){let e=this[o].parentNode;for(;e;)i?Le(e).is(i)&&t.push(e):t.push(e),e=e.parentNode}return Le(t)}function yb(i){let t=this;return typeof i>"u"?Le([]):(t.is(i)||(t=t.parents(i).eq(0)),t)}function xb(i){let t=[];for(let o=0;o<this.length;o+=1){let e=this[o].querySelectorAll(i);for(let n=0;n<e.length;n+=1)t.push(e[n])}return Le(t)}function wb(i){let t=[];for(let o=0;o<this.length;o+=1){let e=this[o].children;for(let n=0;n<e.length;n+=1)(!i||Le(e[n]).is(i))&&t.push(e[n])}return Le(t)}function Ib(){for(let i=0;i<this.length;i+=1)this[i].parentNode&&this[i].parentNode.removeChild(this[i]);return this}var HM="resize scroll".split(" ");function xt(i){function t(...o){if(typeof o[0]>"u"){for(let e=0;e<this.length;e+=1)HM.indexOf(i)<0&&(i in this[e]?this[e][i]():Le(this[e]).trigger(i));return this}return this.on(i,...o)}return t}var iz=xt("click"),nz=xt("blur"),oz=xt("focus"),rz=xt("focusin"),az=xt("focusout"),sz=xt("keyup"),lz=xt("keydown"),cz=xt("keypress"),dz=xt("submit"),uz=xt("change"),mz=xt("mousedown"),pz=xt("mousemove"),hz=xt("mouseup"),fz=xt("mouseenter"),gz=xt("mouseleave"),vz=xt("mouseout"),bz=xt("mouseover"),_z=xt("touchstart"),Cz=xt("touchend"),yz=xt("touchmove"),xz=xt("resize"),wz=xt("scroll");var Sb={addClass:$1,removeClass:U1,hasClass:G1,toggleClass:W1,attr:Z1,removeAttr:q1,transform:Y1,transition:X1,on:Q1,off:K1,trigger:J1,transitionEnd:eb,outerWidth:tb,outerHeight:ib,styles:ob,offset:nb,css:rb,each:ab,html:lb,text:cb,is:db,index:ub,eq:mb,append:pb,prepend:hb,next:fb,nextAll:gb,prev:vb,prevAll:bb,parent:_b,parents:Cb,closest:yb,find:xb,children:wb,filter:sb,remove:Ib};Object.keys(Sb).forEach(i=>{Object.defineProperty(Le.fn,i,{value:Sb[i],writable:!0})});var we=Le;function Eb(i){let t=i;Object.keys(t).forEach(o=>{try{t[o]=null}catch{}try{delete t[o]}catch{}})}function ki(i,t=0){return setTimeout(i,t)}function Mt(){return Date.now()}function $M(i){let t=He(),o;return t.getComputedStyle&&(o=t.getComputedStyle(i,null)),!o&&i.currentStyle&&(o=i.currentStyle),o||(o=i.style),o}function dp(i,t="x"){let o=He(),e,n,r,a=$M(i,null);return o.WebKitCSSMatrix?(n=a.transform||a.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(s=>s.replace(",",".")).join(", ")),r=new o.WebKitCSSMatrix(n==="none"?"":n)):(r=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),e=r.toString().split(",")),t==="x"&&(o.WebKitCSSMatrix?n=r.m41:e.length===16?n=parseFloat(e[12]):n=parseFloat(e[4])),t==="y"&&(o.WebKitCSSMatrix?n=r.m42:e.length===16?n=parseFloat(e[13]):n=parseFloat(e[5])),n||0}function xa(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"}function UM(i){return typeof window<"u"&&typeof window.HTMLElement<"u"?i instanceof HTMLElement:i&&(i.nodeType===1||i.nodeType===11)}function Wt(...i){let t=Object(i[0]),o=["__proto__","constructor","prototype"];for(let e=1;e<i.length;e+=1){let n=i[e];if(n!=null&&!UM(n)){let r=Object.keys(Object(n)).filter(a=>o.indexOf(a)<0);for(let a=0,s=r.length;a<s;a+=1){let l=r[a],d=Object.getOwnPropertyDescriptor(n,l);d!==void 0&&d.enumerable&&(xa(t[l])&&xa(n[l])?n[l].__swiper__?t[l]=n[l]:Wt(t[l],n[l]):!xa(t[l])&&xa(n[l])?(t[l]={},n[l].__swiper__?t[l]=n[l]:Wt(t[l],n[l])):t[l]=n[l])}}}return t}function lo(i,t,o){i.style.setProperty(t,o)}function wl({swiper:i,targetPosition:t,side:o}){let e=He(),n=-i.translate,r=null,a,s=i.params.speed;i.wrapperEl.style.scrollSnapType="none",e.cancelAnimationFrame(i.cssModeFrameID);let l=t>n?"next":"prev",d=(f,g)=>l==="next"&&f>=g||l==="prev"&&f<=g,u=()=>{a=new Date().getTime(),r===null&&(r=a);let f=Math.max(Math.min((a-r)/s,1),0),g=.5-Math.cos(f*Math.PI)/2,_=n+g*(t-n);if(d(_,t)&&(_=t),i.wrapperEl.scrollTo({[o]:_}),d(_,t)){i.wrapperEl.style.overflow="hidden",i.wrapperEl.style.scrollSnapType="",setTimeout(()=>{i.wrapperEl.style.overflow="",i.wrapperEl.scrollTo({[o]:_})}),e.cancelAnimationFrame(i.cssModeFrameID);return}i.cssModeFrameID=e.requestAnimationFrame(u)};u()}var up;function WM(){let i=He(),t=dt();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in i||i.DocumentTouch&&t instanceof i.DocumentTouch),passiveListener:function(){let e=!1;try{let n=Object.defineProperty({},"passive",{get(){e=!0}});i.addEventListener("testPassiveListener",null,n)}catch{}return e}(),gestures:function(){return"ongesturestart"in i}()}}function Il(){return up||(up=WM()),up}var mp;function GM({userAgent:i}={}){let t=Il(),o=He(),e=o.navigator.platform,n=i||o.navigator.userAgent,r={ios:!1,android:!1},a=o.screen.width,s=o.screen.height,l=n.match(/(Android);?[\s\/]+([\d.]+)?/),d=n.match(/(iPad).*OS\s([\d_]+)/),u=n.match(/(iPod)(.*OS\s([\d_]+))?/),f=!d&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),g=e==="Win32",_=e==="MacIntel",D=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&_&&t.touch&&D.indexOf(`${a}x${s}`)>=0&&(d=n.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),_=!1),l&&!g&&(r.os="android",r.android=!0),(d||f||u)&&(r.os="ios",r.ios=!0),r}function Mb(i={}){return mp||(mp=GM(i)),mp}var pp;function ZM(){let i=He();function t(){let o=i.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}return{isSafari:t(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(i.navigator.userAgent)}}function Db(){return pp||(pp=ZM()),pp}function hp({swiper:i,on:t,emit:o}){let e=He(),n=null,r=null,a=()=>{!i||i.destroyed||!i.initialized||(o("beforeResize"),o("resize"))},s=()=>{!i||i.destroyed||!i.initialized||(n=new ResizeObserver(u=>{r=e.requestAnimationFrame(()=>{let{width:f,height:g}=i,_=f,D=g;u.forEach(({contentBoxSize:E,contentRect:A,target:T})=>{T&&T!==i.el||(_=A?A.width:(E[0]||E).inlineSize,D=A?A.height:(E[0]||E).blockSize)}),(_!==f||D!==g)&&a()})}),n.observe(i.el))},l=()=>{r&&e.cancelAnimationFrame(r),n&&n.unobserve&&i.el&&(n.unobserve(i.el),n=null)},d=()=>{!i||i.destroyed||!i.initialized||o("orientationchange")};t("init",()=>{if(i.params.resizeObserver&&typeof e.ResizeObserver<"u"){s();return}e.addEventListener("resize",a),e.addEventListener("orientationchange",d)}),t("destroy",()=>{l(),e.removeEventListener("resize",a),e.removeEventListener("orientationchange",d)})}function fp({swiper:i,extendParams:t,on:o,emit:e}){let n=[],r=He(),a=(d,u={})=>{let f=r.MutationObserver||r.WebkitMutationObserver,g=new f(_=>{if(_.length===1){e("observerUpdate",_[0]);return}let D=function(){e("observerUpdate",_[0])};r.requestAnimationFrame?r.requestAnimationFrame(D):r.setTimeout(D,0)});g.observe(d,{attributes:typeof u.attributes>"u"?!0:u.attributes,childList:typeof u.childList>"u"?!0:u.childList,characterData:typeof u.characterData>"u"?!0:u.characterData}),n.push(g)},s=()=>{if(i.params.observer){if(i.params.observeParents){let d=i.$el.parents();for(let u=0;u<d.length;u+=1)a(d[u])}a(i.$el[0],{childList:i.params.observeSlideChildren}),a(i.$wrapperEl[0],{attributes:!1})}},l=()=>{n.forEach(d=>{d.disconnect()}),n.splice(0,n.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),o("init",s),o("destroy",l)}var kb={on(i,t,o){let e=this;if(!e.eventsListeners||e.destroyed||typeof t!="function")return e;let n=o?"unshift":"push";return i.split(" ").forEach(r=>{e.eventsListeners[r]||(e.eventsListeners[r]=[]),e.eventsListeners[r][n](t)}),e},once(i,t,o){let e=this;if(!e.eventsListeners||e.destroyed||typeof t!="function")return e;function n(...r){e.off(i,n),n.__emitterProxy&&delete n.__emitterProxy,t.apply(e,r)}return n.__emitterProxy=t,e.on(i,n,o)},onAny(i,t){let o=this;if(!o.eventsListeners||o.destroyed||typeof i!="function")return o;let e=t?"unshift":"push";return o.eventsAnyListeners.indexOf(i)<0&&o.eventsAnyListeners[e](i),o},offAny(i){let t=this;if(!t.eventsListeners||t.destroyed||!t.eventsAnyListeners)return t;let o=t.eventsAnyListeners.indexOf(i);return o>=0&&t.eventsAnyListeners.splice(o,1),t},off(i,t){let o=this;return!o.eventsListeners||o.destroyed||!o.eventsListeners||i.split(" ").forEach(e=>{typeof t>"u"?o.eventsListeners[e]=[]:o.eventsListeners[e]&&o.eventsListeners[e].forEach((n,r)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&o.eventsListeners[e].splice(r,1)})}),o},emit(...i){let t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let o,e,n;return typeof i[0]=="string"||Array.isArray(i[0])?(o=i[0],e=i.slice(1,i.length),n=t):(o=i[0].events,e=i[0].data,n=i[0].context||t),e.unshift(n),(Array.isArray(o)?o:o.split(" ")).forEach(a=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(s=>{s.apply(n,[a,...e])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(s=>{s.apply(n,e)})}),t}};function gp(){let i=this,t,o,e=i.$el;typeof i.params.width<"u"&&i.params.width!==null?t=i.params.width:t=e[0].clientWidth,typeof i.params.height<"u"&&i.params.height!==null?o=i.params.height:o=e[0].clientHeight,!(t===0&&i.isHorizontal()||o===0&&i.isVertical())&&(t=t-parseInt(e.css("padding-left")||0,10)-parseInt(e.css("padding-right")||0,10),o=o-parseInt(e.css("padding-top")||0,10)-parseInt(e.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(o)&&(o=0),Object.assign(i,{width:t,height:o,size:i.isHorizontal()?t:o}))}function vp(){let i=this;function t(te){return i.isHorizontal()?te:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[te]}function o(te,X){return parseFloat(te.getPropertyValue(t(X))||0)}let e=i.params,{$wrapperEl:n,size:r,rtlTranslate:a,wrongRTL:s}=i,l=i.virtual&&e.virtual.enabled,d=l?i.virtual.slides.length:i.slides.length,u=n.children(`.${i.params.slideClass}`),f=l?i.virtual.slides.length:u.length,g=[],_=[],D=[],E=e.slidesOffsetBefore;typeof E=="function"&&(E=e.slidesOffsetBefore.call(i));let A=e.slidesOffsetAfter;typeof A=="function"&&(A=e.slidesOffsetAfter.call(i));let T=i.snapGrid.length,L=i.slidesGrid.length,B=e.spaceBetween,Q=-E,pe=0,ae=0;if(typeof r>"u")return;typeof B=="string"&&B.indexOf("%")>=0&&(B=parseFloat(B.replace("%",""))/100*r),i.virtualSize=-B,a?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),e.centeredSlides&&e.cssMode&&(lo(i.wrapperEl,"--swiper-centered-offset-before",""),lo(i.wrapperEl,"--swiper-centered-offset-after",""));let le=e.grid&&e.grid.rows>1&&i.grid;le&&i.grid.initSlides(f);let he,ve=e.slidesPerView==="auto"&&e.breakpoints&&Object.keys(e.breakpoints).filter(te=>typeof e.breakpoints[te].slidesPerView<"u").length>0;for(let te=0;te<f;te+=1){he=0;let X=u.eq(te);if(le&&i.grid.updateSlide(te,X,f,t),X.css("display")!=="none"){if(e.slidesPerView==="auto"){ve&&(u[te].style[t("width")]="");let fe=getComputedStyle(X[0]),Fe=X[0].style.transform,bt=X[0].style.webkitTransform;if(Fe&&(X[0].style.transform="none"),bt&&(X[0].style.webkitTransform="none"),e.roundLengths)he=i.isHorizontal()?X.outerWidth(!0):X.outerHeight(!0);else{let Ze=o(fe,"width"),Se=o(fe,"padding-left"),mt=o(fe,"padding-right"),_t=o(fe,"margin-left"),gi=o(fe,"margin-right"),Yt=fe.getPropertyValue("box-sizing");if(Yt&&Yt==="border-box")he=Ze+_t+gi;else{let{clientWidth:At,offsetWidth:mo}=X[0];he=Ze+Se+mt+_t+gi+(mo-At)}}Fe&&(X[0].style.transform=Fe),bt&&(X[0].style.webkitTransform=bt),e.roundLengths&&(he=Math.floor(he))}else he=(r-(e.slidesPerView-1)*B)/e.slidesPerView,e.roundLengths&&(he=Math.floor(he)),u[te]&&(u[te].style[t("width")]=`${he}px`);u[te]&&(u[te].swiperSlideSize=he),D.push(he),e.centeredSlides?(Q=Q+he/2+pe/2+B,pe===0&&te!==0&&(Q=Q-r/2-B),te===0&&(Q=Q-r/2-B),Math.abs(Q)<1/1e3&&(Q=0),e.roundLengths&&(Q=Math.floor(Q)),ae%e.slidesPerGroup===0&&g.push(Q),_.push(Q)):(e.roundLengths&&(Q=Math.floor(Q)),(ae-Math.min(i.params.slidesPerGroupSkip,ae))%i.params.slidesPerGroup===0&&g.push(Q),_.push(Q),Q=Q+he+B),i.virtualSize+=he+B,pe=he,ae+=1}}if(i.virtualSize=Math.max(i.virtualSize,r)+A,a&&s&&(e.effect==="slide"||e.effect==="coverflow")&&n.css({width:`${i.virtualSize+e.spaceBetween}px`}),e.setWrapperSize&&n.css({[t("width")]:`${i.virtualSize+e.spaceBetween}px`}),le&&i.grid.updateWrapperSize(he,g,t),!e.centeredSlides){let te=[];for(let X=0;X<g.length;X+=1){let fe=g[X];e.roundLengths&&(fe=Math.floor(fe)),g[X]<=i.virtualSize-r&&te.push(fe)}g=te,Math.floor(i.virtualSize-r)-Math.floor(g[g.length-1])>1&&g.push(i.virtualSize-r)}if(g.length===0&&(g=[0]),e.spaceBetween!==0){let te=i.isHorizontal()&&a?"marginLeft":t("marginRight");u.filter((X,fe)=>e.cssMode?fe!==u.length-1:!0).css({[te]:`${B}px`})}if(e.centeredSlides&&e.centeredSlidesBounds){let te=0;D.forEach(fe=>{te+=fe+(e.spaceBetween?e.spaceBetween:0)}),te-=e.spaceBetween;let X=te-r;g=g.map(fe=>fe<0?-E:fe>X?X+A:fe)}if(e.centerInsufficientSlides){let te=0;if(D.forEach(X=>{te+=X+(e.spaceBetween?e.spaceBetween:0)}),te-=e.spaceBetween,te<r){let X=(r-te)/2;g.forEach((fe,Fe)=>{g[Fe]=fe-X}),_.forEach((fe,Fe)=>{_[Fe]=fe+X})}}if(Object.assign(i,{slides:u,snapGrid:g,slidesGrid:_,slidesSizesGrid:D}),e.centeredSlides&&e.cssMode&&!e.centeredSlidesBounds){lo(i.wrapperEl,"--swiper-centered-offset-before",`${-g[0]}px`),lo(i.wrapperEl,"--swiper-centered-offset-after",`${i.size/2-D[D.length-1]/2}px`);let te=-i.snapGrid[0],X=-i.slidesGrid[0];i.snapGrid=i.snapGrid.map(fe=>fe+te),i.slidesGrid=i.slidesGrid.map(fe=>fe+X)}if(f!==d&&i.emit("slidesLengthChange"),g.length!==T&&(i.params.watchOverflow&&i.checkOverflow(),i.emit("snapGridLengthChange")),_.length!==L&&i.emit("slidesGridLengthChange"),e.watchSlidesProgress&&i.updateSlidesOffset(),!l&&!e.cssMode&&(e.effect==="slide"||e.effect==="fade")){let te=`${e.containerModifierClass}backface-hidden`,X=i.$el.hasClass(te);f<=e.maxBackfaceHiddenSlides?X||i.$el.addClass(te):X&&i.$el.removeClass(te)}}function bp(i){let t=this,o=[],e=t.virtual&&t.params.virtual.enabled,n=0,r;typeof i=="number"?t.setTransition(i):i===!0&&t.setTransition(t.params.speed);let a=s=>e?t.slides.filter(l=>parseInt(l.getAttribute("data-swiper-slide-index"),10)===s)[0]:t.slides.eq(s)[0];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||we([])).each(s=>{o.push(s)});else for(r=0;r<Math.ceil(t.params.slidesPerView);r+=1){let s=t.activeIndex+r;if(s>t.slides.length&&!e)break;o.push(a(s))}else o.push(a(t.activeIndex));for(r=0;r<o.length;r+=1)if(typeof o[r]<"u"){let s=o[r].offsetHeight;n=s>n?s:n}(n||n===0)&&t.$wrapperEl.css("height",`${n}px`)}function _p(){let i=this,t=i.slides;for(let o=0;o<t.length;o+=1)t[o].swiperSlideOffset=i.isHorizontal()?t[o].offsetLeft:t[o].offsetTop}function Cp(i=this&&this.translate||0){let t=this,o=t.params,{slides:e,rtlTranslate:n,snapGrid:r}=t;if(e.length===0)return;typeof e[0].swiperSlideOffset>"u"&&t.updateSlidesOffset();let a=-i;n&&(a=i),e.removeClass(o.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let s=0;s<e.length;s+=1){let l=e[s],d=l.swiperSlideOffset;o.cssMode&&o.centeredSlides&&(d-=e[0].swiperSlideOffset);let u=(a+(o.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o.spaceBetween),f=(a-r[0]+(o.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o.spaceBetween),g=-(a-d),_=g+t.slidesSizesGrid[s];(g>=0&&g<t.size-1||_>1&&_<=t.size||g<=0&&_>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(s),e.eq(s).addClass(o.slideVisibleClass)),l.progress=n?-u:u,l.originalProgress=n?-f:f}t.visibleSlides=we(t.visibleSlides)}function yp(i){let t=this;if(typeof i>"u"){let d=t.rtlTranslate?-1:1;i=t&&t.translate&&t.translate*d||0}let o=t.params,e=t.maxTranslate()-t.minTranslate(),{progress:n,isBeginning:r,isEnd:a}=t,s=r,l=a;e===0?(n=0,r=!0,a=!0):(n=(i-t.minTranslate())/e,r=n<=0,a=n>=1),Object.assign(t,{progress:n,isBeginning:r,isEnd:a}),(o.watchSlidesProgress||o.centeredSlides&&o.autoHeight)&&t.updateSlidesProgress(i),r&&!s&&t.emit("reachBeginning toEdge"),a&&!l&&t.emit("reachEnd toEdge"),(s&&!r||l&&!a)&&t.emit("fromEdge"),t.emit("progress",n)}function xp(){let i=this,{slides:t,params:o,$wrapperEl:e,activeIndex:n,realIndex:r}=i,a=i.virtual&&o.virtual.enabled;t.removeClass(`${o.slideActiveClass} ${o.slideNextClass} ${o.slidePrevClass} ${o.slideDuplicateActiveClass} ${o.slideDuplicateNextClass} ${o.slideDuplicatePrevClass}`);let s;a?s=i.$wrapperEl.find(`.${o.slideClass}[data-swiper-slide-index="${n}"]`):s=t.eq(n),s.addClass(o.slideActiveClass),o.loop&&(s.hasClass(o.slideDuplicateClass)?e.children(`.${o.slideClass}:not(.${o.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(o.slideDuplicateActiveClass):e.children(`.${o.slideClass}.${o.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(o.slideDuplicateActiveClass));let l=s.nextAll(`.${o.slideClass}`).eq(0).addClass(o.slideNextClass);o.loop&&l.length===0&&(l=t.eq(0),l.addClass(o.slideNextClass));let d=s.prevAll(`.${o.slideClass}`).eq(0).addClass(o.slidePrevClass);o.loop&&d.length===0&&(d=t.eq(-1),d.addClass(o.slidePrevClass)),o.loop&&(l.hasClass(o.slideDuplicateClass)?e.children(`.${o.slideClass}:not(.${o.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(o.slideDuplicateNextClass):e.children(`.${o.slideClass}.${o.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(o.slideDuplicateNextClass),d.hasClass(o.slideDuplicateClass)?e.children(`.${o.slideClass}:not(.${o.slideDuplicateClass})[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(o.slideDuplicatePrevClass):e.children(`.${o.slideClass}.${o.slideDuplicateClass}[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(o.slideDuplicatePrevClass)),i.emitSlidesClasses()}function wp(i){let t=this,o=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:e,snapGrid:n,params:r,activeIndex:a,realIndex:s,snapIndex:l}=t,d=i,u;if(typeof d>"u"){for(let g=0;g<e.length;g+=1)typeof e[g+1]<"u"?o>=e[g]&&o<e[g+1]-(e[g+1]-e[g])/2?d=g:o>=e[g]&&o<e[g+1]&&(d=g+1):o>=e[g]&&(d=g);r.normalizeSlideIndex&&(d<0||typeof d>"u")&&(d=0)}if(n.indexOf(o)>=0)u=n.indexOf(o);else{let g=Math.min(r.slidesPerGroupSkip,d);u=g+Math.floor((d-g)/r.slidesPerGroup)}if(u>=n.length&&(u=n.length-1),d===a){u!==l&&(t.snapIndex=u,t.emit("snapIndexChange"));return}let f=parseInt(t.slides.eq(d).attr("data-swiper-slide-index")||d,10);Object.assign(t,{snapIndex:u,realIndex:f,previousIndex:a,activeIndex:d}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),s!==f&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")}function Ip(i){let t=this,o=t.params,e=we(i).closest(`.${o.slideClass}`)[0],n=!1,r;if(e){for(let a=0;a<t.slides.length;a+=1)if(t.slides[a]===e){n=!0,r=a;break}}if(e&&n)t.clickedSlide=e,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(we(e).attr("data-swiper-slide-index"),10):t.clickedIndex=r;else{t.clickedSlide=void 0,t.clickedIndex=void 0;return}o.slideToClickedSlide&&t.clickedIndex!==void 0&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}var Tb={updateSize:gp,updateSlides:vp,updateAutoHeight:bp,updateSlidesOffset:_p,updateSlidesProgress:Cp,updateProgress:yp,updateSlidesClasses:xp,updateActiveIndex:wp,updateClickedSlide:Ip};function Sp(i=this.isHorizontal()?"x":"y"){let t=this,{params:o,rtlTranslate:e,translate:n,$wrapperEl:r}=t;if(o.virtualTranslate)return e?-n:n;if(o.cssMode)return n;let a=dp(r[0],i);return e&&(a=-a),a||0}function Ep(i,t){let o=this,{rtlTranslate:e,params:n,$wrapperEl:r,wrapperEl:a,progress:s}=o,l=0,d=0,u=0;o.isHorizontal()?l=e?-i:i:d=i,n.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),n.cssMode?a[o.isHorizontal()?"scrollLeft":"scrollTop"]=o.isHorizontal()?-l:-d:n.virtualTranslate||r.transform(`translate3d(${l}px, ${d}px, ${u}px)`),o.previousTranslate=o.translate,o.translate=o.isHorizontal()?l:d;let f,g=o.maxTranslate()-o.minTranslate();g===0?f=0:f=(i-o.minTranslate())/g,f!==s&&o.updateProgress(i),o.emit("setTranslate",o.translate,t)}function Mp(){return-this.snapGrid[0]}function Dp(){return-this.snapGrid[this.snapGrid.length-1]}function kp(i=0,t=this.params.speed,o=!0,e=!0,n){let r=this,{params:a,wrapperEl:s}=r;if(r.animating&&a.preventInteractionOnTransition)return!1;let l=r.minTranslate(),d=r.maxTranslate(),u;if(e&&i>l?u=l:e&&i<d?u=d:u=i,r.updateProgress(u),a.cssMode){let f=r.isHorizontal();if(t===0)s[f?"scrollLeft":"scrollTop"]=-u;else{if(!r.support.smoothScroll)return wl({swiper:r,targetPosition:-u,side:f?"left":"top"}),!0;s.scrollTo({[f?"left":"top"]:-u,behavior:"smooth"})}return!0}return t===0?(r.setTransition(0),r.setTranslate(u),o&&(r.emit("beforeTransitionStart",t,n),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(u),o&&(r.emit("beforeTransitionStart",t,n),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(g){!r||r.destroyed||g.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,o&&r.emit("transitionEnd"))}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),!0}var Ob={getTranslate:Sp,setTranslate:Ep,minTranslate:Mp,maxTranslate:Dp,translateTo:kp};function Tp(i,t){let o=this;o.params.cssMode||o.$wrapperEl.transition(i),o.emit("setTransition",i,t)}function wa({swiper:i,runCallbacks:t,direction:o,step:e}){let{activeIndex:n,previousIndex:r}=i,a=o;if(a||(n>r?a="next":n<r?a="prev":a="reset"),i.emit(`transition${e}`),t&&n!==r){if(a==="reset"){i.emit(`slideResetTransition${e}`);return}i.emit(`slideChangeTransition${e}`),a==="next"?i.emit(`slideNextTransition${e}`):i.emit(`slidePrevTransition${e}`)}}function Op(i=!0,t){let o=this,{params:e}=o;e.cssMode||(e.autoHeight&&o.updateAutoHeight(),wa({swiper:o,runCallbacks:i,direction:t,step:"Start"}))}function Pp(i=!0,t){let o=this,{params:e}=o;o.animating=!1,!e.cssMode&&(o.setTransition(0),wa({swiper:o,runCallbacks:i,direction:t,step:"End"}))}var Pb={setTransition:Tp,transitionStart:Op,transitionEnd:Pp};function Fp(i=0,t=this.params.speed,o=!0,e,n){if(typeof i!="number"&&typeof i!="string")throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof i}] given.`);if(typeof i=="string"){let B=parseInt(i,10);if(!isFinite(B))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${i}] given.`);i=B}let r=this,a=i;a<0&&(a=0);let{params:s,snapGrid:l,slidesGrid:d,previousIndex:u,activeIndex:f,rtlTranslate:g,wrapperEl:_,enabled:D}=r;if(r.animating&&s.preventInteractionOnTransition||!D&&!e&&!n)return!1;let E=Math.min(r.params.slidesPerGroupSkip,a),A=E+Math.floor((a-E)/r.params.slidesPerGroup);A>=l.length&&(A=l.length-1);let T=-l[A];if(s.normalizeSlideIndex)for(let B=0;B<d.length;B+=1){let Q=-Math.floor(T*100),pe=Math.floor(d[B]*100),ae=Math.floor(d[B+1]*100);typeof d[B+1]<"u"?Q>=pe&&Q<ae-(ae-pe)/2?a=B:Q>=pe&&Q<ae&&(a=B+1):Q>=pe&&(a=B)}if(r.initialized&&a!==f&&(!r.allowSlideNext&&T<r.translate&&T<r.minTranslate()||!r.allowSlidePrev&&T>r.translate&&T>r.maxTranslate()&&(f||0)!==a))return!1;a!==(u||0)&&o&&r.emit("beforeSlideChangeStart"),r.updateProgress(T);let L;if(a>f?L="next":a<f?L="prev":L="reset",g&&-T===r.translate||!g&&T===r.translate)return r.updateActiveIndex(a),s.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),s.effect!=="slide"&&r.setTranslate(T),L!=="reset"&&(r.transitionStart(o,L),r.transitionEnd(o,L)),!1;if(s.cssMode){let B=r.isHorizontal(),Q=g?T:-T;if(t===0){let pe=r.virtual&&r.params.virtual.enabled;pe&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),_[B?"scrollLeft":"scrollTop"]=Q,pe&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._swiperImmediateVirtual=!1})}else{if(!r.support.smoothScroll)return wl({swiper:r,targetPosition:Q,side:B?"left":"top"}),!0;_.scrollTo({[B?"left":"top"]:Q,behavior:"smooth"})}return!0}return r.setTransition(t),r.setTranslate(T),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,e),r.transitionStart(o,L),t===0?r.transitionEnd(o,L):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(Q){!r||r.destroyed||Q.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(o,L))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd)),!0}function Ap(i=0,t=this.params.speed,o=!0,e){if(typeof i=="string"){let a=parseInt(i,10);if(!isFinite(a))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${i}] given.`);i=a}let n=this,r=i;return n.params.loop&&(r+=n.loopedSlides),n.slideTo(r,t,o,e)}function Rp(i=this.params.speed,t=!0,o){let e=this,{animating:n,enabled:r,params:a}=e;if(!r)return e;let s=a.slidesPerGroup;a.slidesPerView==="auto"&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(s=Math.max(e.slidesPerViewDynamic("current",!0),1));let l=e.activeIndex<a.slidesPerGroupSkip?1:s;if(a.loop){if(n&&a.loopPreventsSlide)return!1;e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft}return a.rewind&&e.isEnd?e.slideTo(0,i,t,o):e.slideTo(e.activeIndex+l,i,t,o)}function Lp(i=this.params.speed,t=!0,o){let e=this,{params:n,animating:r,snapGrid:a,slidesGrid:s,rtlTranslate:l,enabled:d}=e;if(!d)return e;if(n.loop){if(r&&n.loopPreventsSlide)return!1;e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft}let u=l?e.translate:-e.translate;function f(A){return A<0?-Math.floor(Math.abs(A)):Math.floor(A)}let g=f(u),_=a.map(A=>f(A)),D=a[_.indexOf(g)-1];if(typeof D>"u"&&n.cssMode){let A;a.forEach((T,L)=>{g>=T&&(A=L)}),typeof A<"u"&&(D=a[A>0?A-1:A])}let E=0;if(typeof D<"u"&&(E=s.indexOf(D),E<0&&(E=e.activeIndex-1),n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(E=E-e.slidesPerViewDynamic("previous",!0)+1,E=Math.max(E,0))),n.rewind&&e.isBeginning){let A=e.params.virtual&&e.params.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1;return e.slideTo(A,i,t,o)}return e.slideTo(E,i,t,o)}function jp(i=this.params.speed,t=!0,o){let e=this;return e.slideTo(e.activeIndex,i,t,o)}function Vp(i=this.params.speed,t=!0,o,e=.5){let n=this,r=n.activeIndex,a=Math.min(n.params.slidesPerGroupSkip,r),s=a+Math.floor((r-a)/n.params.slidesPerGroup),l=n.rtlTranslate?n.translate:-n.translate;if(l>=n.snapGrid[s]){let d=n.snapGrid[s],u=n.snapGrid[s+1];l-d>(u-d)*e&&(r+=n.params.slidesPerGroup)}else{let d=n.snapGrid[s-1],u=n.snapGrid[s];l-d<=(u-d)*e&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,i,t,o)}function Np(){let i=this,{params:t,$wrapperEl:o}=i,e=t.slidesPerView==="auto"?i.slidesPerViewDynamic():t.slidesPerView,n=i.clickedIndex,r;if(t.loop){if(i.animating)return;r=parseInt(we(i.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?n<i.loopedSlides-e/2||n>i.slides.length-i.loopedSlides+e/2?(i.loopFix(),n=o.children(`.${t.slideClass}[data-swiper-slide-index="${r}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),ki(()=>{i.slideTo(n)})):i.slideTo(n):n>i.slides.length-e?(i.loopFix(),n=o.children(`.${t.slideClass}[data-swiper-slide-index="${r}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),ki(()=>{i.slideTo(n)})):i.slideTo(n)}else i.slideTo(n)}var Fb={slideTo:Fp,slideToLoop:Ap,slideNext:Rp,slidePrev:Lp,slideReset:jp,slideToClosest:Vp,slideToClickedSlide:Np};function Bp(){let i=this,t=dt(),{params:o,$wrapperEl:e}=i,n=e.children().length>0?we(e.children()[0].parentNode):e;n.children(`.${o.slideClass}.${o.slideDuplicateClass}`).remove();let r=n.children(`.${o.slideClass}`);if(o.loopFillGroupWithBlank){let l=o.slidesPerGroup-r.length%o.slidesPerGroup;if(l!==o.slidesPerGroup){for(let d=0;d<l;d+=1){let u=we(t.createElement("div")).addClass(`${o.slideClass} ${o.slideBlankClass}`);n.append(u)}r=n.children(`.${o.slideClass}`)}}o.slidesPerView==="auto"&&!o.loopedSlides&&(o.loopedSlides=r.length),i.loopedSlides=Math.ceil(parseFloat(o.loopedSlides||o.slidesPerView,10)),i.loopedSlides+=o.loopAdditionalSlides,i.loopedSlides>r.length&&i.params.loopedSlidesLimit&&(i.loopedSlides=r.length);let a=[],s=[];r.each((l,d)=>{we(l).attr("data-swiper-slide-index",d)});for(let l=0;l<i.loopedSlides;l+=1){let d=l-Math.floor(l/r.length)*r.length;s.push(r.eq(d)[0]),a.unshift(r.eq(r.length-d-1)[0])}for(let l=0;l<s.length;l+=1)n.append(we(s[l].cloneNode(!0)).addClass(o.slideDuplicateClass));for(let l=a.length-1;l>=0;l-=1)n.prepend(we(a[l].cloneNode(!0)).addClass(o.slideDuplicateClass))}function zp(){let i=this;i.emit("beforeLoopFix");let{activeIndex:t,slides:o,loopedSlides:e,allowSlidePrev:n,allowSlideNext:r,snapGrid:a,rtlTranslate:s}=i,l;i.allowSlidePrev=!0,i.allowSlideNext=!0;let u=-a[t]-i.getTranslate();t<e?(l=o.length-e*3+t,l+=e,i.slideTo(l,0,!1,!0)&&u!==0&&i.setTranslate((s?-i.translate:i.translate)-u)):t>=o.length-e&&(l=-o.length+t+e,l+=e,i.slideTo(l,0,!1,!0)&&u!==0&&i.setTranslate((s?-i.translate:i.translate)-u)),i.allowSlidePrev=n,i.allowSlideNext=r,i.emit("loopFix")}function Hp(){let i=this,{$wrapperEl:t,params:o,slides:e}=i;t.children(`.${o.slideClass}.${o.slideDuplicateClass},.${o.slideClass}.${o.slideBlankClass}`).remove(),e.removeAttr("data-swiper-slide-index")}var Ab={loopCreate:Bp,loopFix:zp,loopDestroy:Hp};function $p(i){let t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let o=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;o.style.cursor="move",o.style.cursor=i?"grabbing":"grab"}function Up(){let i=this;i.support.touch||i.params.watchOverflow&&i.isLocked||i.params.cssMode||(i[i.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="")}var Rb={setGrabCursor:$p,unsetGrabCursor:Up};function qM(i,t=this){function o(e){if(!e||e===dt()||e===He())return null;e.assignedSlot&&(e=e.assignedSlot);let n=e.closest(i);return!n&&!e.getRootNode?null:n||o(e.getRootNode().host)}return o(t)}function Wp(i){let t=this,o=dt(),e=He(),n=t.touchEventsData,{params:r,touches:a,enabled:s}=t;if(!s||t.animating&&r.preventInteractionOnTransition)return;!t.animating&&r.cssMode&&r.loop&&t.loopFix();let l=i;l.originalEvent&&(l=l.originalEvent);let d=we(l.target);if(r.touchEventsTarget==="wrapper"&&!d.closest(t.wrapperEl).length||(n.isTouchEvent=l.type==="touchstart",!n.isTouchEvent&&"which"in l&&l.which===3)||!n.isTouchEvent&&"button"in l&&l.button>0||n.isTouched&&n.isMoved)return;let u=!!r.noSwipingClass&&r.noSwipingClass!=="",f=i.composedPath?i.composedPath():i.path;u&&l.target&&l.target.shadowRoot&&f&&(d=we(f[0]));let g=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,_=!!(l.target&&l.target.shadowRoot);if(r.noSwiping&&(_?qM(g,d[0]):d.closest(g)[0])){t.allowClick=!0;return}if(r.swipeHandler&&!d.closest(r.swipeHandler)[0])return;a.currentX=l.type==="touchstart"?l.targetTouches[0].pageX:l.pageX,a.currentY=l.type==="touchstart"?l.targetTouches[0].pageY:l.pageY;let D=a.currentX,E=a.currentY,A=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,T=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(A&&(D<=T||D>=e.innerWidth-T))if(A==="prevent")i.preventDefault();else return;if(Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=D,a.startY=E,n.touchStartTime=Mt(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1),l.type!=="touchstart"){let L=!0;d.is(n.focusableElements)&&(L=!1,d[0].nodeName==="SELECT"&&(n.isTouched=!1)),o.activeElement&&we(o.activeElement).is(n.focusableElements)&&o.activeElement!==d[0]&&o.activeElement.blur();let B=L&&t.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||B)&&!d[0].isContentEditable&&l.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!r.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",l)}function Gp(i){let t=dt(),o=this,e=o.touchEventsData,{params:n,touches:r,rtlTranslate:a,enabled:s}=o;if(!s)return;let l=i;if(l.originalEvent&&(l=l.originalEvent),!e.isTouched){e.startMoving&&e.isScrolling&&o.emit("touchMoveOpposite",l);return}if(e.isTouchEvent&&l.type!=="touchmove")return;let d=l.type==="touchmove"&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),u=l.type==="touchmove"?d.pageX:l.pageX,f=l.type==="touchmove"?d.pageY:l.pageY;if(l.preventedByNestedSwiper){r.startX=u,r.startY=f;return}if(!o.allowTouchMove){we(l.target).is(e.focusableElements)||(o.allowClick=!1),e.isTouched&&(Object.assign(r,{startX:u,startY:f,currentX:u,currentY:f}),e.touchStartTime=Mt());return}if(e.isTouchEvent&&n.touchReleaseOnEdges&&!n.loop){if(o.isVertical()){if(f<r.startY&&o.translate<=o.maxTranslate()||f>r.startY&&o.translate>=o.minTranslate()){e.isTouched=!1,e.isMoved=!1;return}}else if(u<r.startX&&o.translate<=o.maxTranslate()||u>r.startX&&o.translate>=o.minTranslate())return}if(e.isTouchEvent&&t.activeElement&&l.target===t.activeElement&&we(l.target).is(e.focusableElements)){e.isMoved=!0,o.allowClick=!1;return}if(e.allowTouchCallbacks&&o.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;r.currentX=u,r.currentY=f;let g=r.currentX-r.startX,_=r.currentY-r.startY;if(o.params.threshold&&Math.sqrt(g**2+_**2)<o.params.threshold)return;if(typeof e.isScrolling>"u"){let T;o.isHorizontal()&&r.currentY===r.startY||o.isVertical()&&r.currentX===r.startX?e.isScrolling=!1:g*g+_*_>=25&&(T=Math.atan2(Math.abs(_),Math.abs(g))*180/Math.PI,e.isScrolling=o.isHorizontal()?T>n.touchAngle:90-T>n.touchAngle)}if(e.isScrolling&&o.emit("touchMoveOpposite",l),typeof e.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(e.startMoving=!0),e.isScrolling){e.isTouched=!1;return}if(!e.startMoving)return;o.allowClick=!1,!n.cssMode&&l.cancelable&&l.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&l.stopPropagation(),e.isMoved||(n.loop&&!n.cssMode&&o.loopFix(),e.startTranslate=o.getTranslate(),o.setTransition(0),o.animating&&o.$wrapperEl.trigger("webkitTransitionEnd transitionend"),e.allowMomentumBounce=!1,n.grabCursor&&(o.allowSlideNext===!0||o.allowSlidePrev===!0)&&o.setGrabCursor(!0),o.emit("sliderFirstMove",l)),o.emit("sliderMove",l),e.isMoved=!0;let D=o.isHorizontal()?g:_;r.diff=D,D*=n.touchRatio,a&&(D=-D),o.swipeDirection=D>0?"prev":"next",e.currentTranslate=D+e.startTranslate;let E=!0,A=n.resistanceRatio;if(n.touchReleaseOnEdges&&(A=0),D>0&&e.currentTranslate>o.minTranslate()?(E=!1,n.resistance&&(e.currentTranslate=o.minTranslate()-1+(-o.minTranslate()+e.startTranslate+D)**A)):D<0&&e.currentTranslate<o.maxTranslate()&&(E=!1,n.resistance&&(e.currentTranslate=o.maxTranslate()+1-(o.maxTranslate()-e.startTranslate-D)**A)),E&&(l.preventedByNestedSwiper=!0),!o.allowSlideNext&&o.swipeDirection==="next"&&e.currentTranslate<e.startTranslate&&(e.currentTranslate=e.startTranslate),!o.allowSlidePrev&&o.swipeDirection==="prev"&&e.currentTranslate>e.startTranslate&&(e.currentTranslate=e.startTranslate),!o.allowSlidePrev&&!o.allowSlideNext&&(e.currentTranslate=e.startTranslate),n.threshold>0)if(Math.abs(D)>n.threshold||e.allowThresholdMove){if(!e.allowThresholdMove){e.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,e.currentTranslate=e.startTranslate,r.diff=o.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{e.currentTranslate=e.startTranslate;return}!n.followFinger||n.cssMode||((n.freeMode&&n.freeMode.enabled&&o.freeMode||n.watchSlidesProgress)&&(o.updateActiveIndex(),o.updateSlidesClasses()),o.params.freeMode&&n.freeMode.enabled&&o.freeMode&&o.freeMode.onTouchMove(),o.updateProgress(e.currentTranslate),o.setTranslate(e.currentTranslate))}function Zp(i){let t=this,o=t.touchEventsData,{params:e,touches:n,rtlTranslate:r,slidesGrid:a,enabled:s}=t;if(!s)return;let l=i;if(l.originalEvent&&(l=l.originalEvent),o.allowTouchCallbacks&&t.emit("touchEnd",l),o.allowTouchCallbacks=!1,!o.isTouched){o.isMoved&&e.grabCursor&&t.setGrabCursor(!1),o.isMoved=!1,o.startMoving=!1;return}e.grabCursor&&o.isMoved&&o.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);let d=Mt(),u=d-o.touchStartTime;if(t.allowClick){let L=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(L&&L[0]||l.target),t.emit("tap click",l),u<300&&d-o.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(o.lastClickTime=Mt(),ki(()=>{t.destroyed||(t.allowClick=!0)}),!o.isTouched||!o.isMoved||!t.swipeDirection||n.diff===0||o.currentTranslate===o.startTranslate){o.isTouched=!1,o.isMoved=!1,o.startMoving=!1;return}o.isTouched=!1,o.isMoved=!1,o.startMoving=!1;let f;if(e.followFinger?f=r?t.translate:-t.translate:f=-o.currentTranslate,e.cssMode)return;if(t.params.freeMode&&e.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:f});return}let g=0,_=t.slidesSizesGrid[0];for(let L=0;L<a.length;L+=L<e.slidesPerGroupSkip?1:e.slidesPerGroup){let B=L<e.slidesPerGroupSkip-1?1:e.slidesPerGroup;typeof a[L+B]<"u"?f>=a[L]&&f<a[L+B]&&(g=L,_=a[L+B]-a[L]):f>=a[L]&&(g=L,_=a[a.length-1]-a[a.length-2])}let D=null,E=null;e.rewind&&(t.isBeginning?E=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(D=0));let A=(f-a[g])/_,T=g<e.slidesPerGroupSkip-1?1:e.slidesPerGroup;if(u>e.longSwipesMs){if(!e.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(A>=e.longSwipesRatio?t.slideTo(e.rewind&&t.isEnd?D:g+T):t.slideTo(g)),t.swipeDirection==="prev"&&(A>1-e.longSwipesRatio?t.slideTo(g+T):E!==null&&A<0&&Math.abs(A)>e.longSwipesRatio?t.slideTo(E):t.slideTo(g))}else{if(!e.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(l.target===t.navigation.nextEl||l.target===t.navigation.prevEl)?l.target===t.navigation.nextEl?t.slideTo(g+T):t.slideTo(g):(t.swipeDirection==="next"&&t.slideTo(D!==null?D:g+T),t.swipeDirection==="prev"&&t.slideTo(E!==null?E:g))}}function Sl(){let i=this,{params:t,el:o}=i;if(o&&o.offsetWidth===0)return;t.breakpoints&&i.setBreakpoint();let{allowSlideNext:e,allowSlidePrev:n,snapGrid:r}=i;i.allowSlideNext=!0,i.allowSlidePrev=!0,i.updateSize(),i.updateSlides(),i.updateSlidesClasses(),(t.slidesPerView==="auto"||t.slidesPerView>1)&&i.isEnd&&!i.isBeginning&&!i.params.centeredSlides?i.slideTo(i.slides.length-1,0,!1,!0):i.slideTo(i.activeIndex,0,!1,!0),i.autoplay&&i.autoplay.running&&i.autoplay.paused&&i.autoplay.run(),i.allowSlidePrev=n,i.allowSlideNext=e,i.params.watchOverflow&&r!==i.snapGrid&&i.checkOverflow()}function qp(i){let t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&i.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(i.stopPropagation(),i.stopImmediatePropagation())))}function Yp(){let i=this,{wrapperEl:t,rtlTranslate:o,enabled:e}=i;if(!e)return;i.previousTranslate=i.translate,i.isHorizontal()?i.translate=-t.scrollLeft:i.translate=-t.scrollTop,i.translate===0&&(i.translate=0),i.updateActiveIndex(),i.updateSlidesClasses();let n,r=i.maxTranslate()-i.minTranslate();r===0?n=0:n=(i.translate-i.minTranslate())/r,n!==i.progress&&i.updateProgress(o?-i.translate:i.translate),i.emit("setTranslate",i.translate,!1)}var Lb=!1;function YM(){}var jb=(i,t)=>{let o=dt(),{params:e,touchEvents:n,el:r,wrapperEl:a,device:s,support:l}=i,d=!!e.nested,u=t==="on"?"addEventListener":"removeEventListener",f=t;if(!l.touch)r[u](n.start,i.onTouchStart,!1),o[u](n.move,i.onTouchMove,d),o[u](n.end,i.onTouchEnd,!1);else{let g=n.start==="touchstart"&&l.passiveListener&&e.passiveListeners?{passive:!0,capture:!1}:!1;r[u](n.start,i.onTouchStart,g),r[u](n.move,i.onTouchMove,l.passiveListener?{passive:!1,capture:d}:d),r[u](n.end,i.onTouchEnd,g),n.cancel&&r[u](n.cancel,i.onTouchEnd,g)}(e.preventClicks||e.preventClicksPropagation)&&r[u]("click",i.onClick,!0),e.cssMode&&a[u]("scroll",i.onScroll),e.updateOnWindowResize?i[f](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",Sl,!0):i[f]("observerUpdate",Sl,!0)};function XM(){let i=this,t=dt(),{params:o,support:e}=i;i.onTouchStart=Wp.bind(i),i.onTouchMove=Gp.bind(i),i.onTouchEnd=Zp.bind(i),o.cssMode&&(i.onScroll=Yp.bind(i)),i.onClick=qp.bind(i),e.touch&&!Lb&&(t.addEventListener("touchstart",YM),Lb=!0),jb(i,"on")}function QM(){jb(this,"off")}var Vb={attachEvents:XM,detachEvents:QM};var Nb=(i,t)=>i.grid&&t.grid&&t.grid.rows>1;function Xp(){let i=this,{activeIndex:t,initialized:o,loopedSlides:e=0,params:n,$el:r}=i,a=n.breakpoints;if(!a||a&&Object.keys(a).length===0)return;let s=i.getBreakpoint(a,i.params.breakpointsBase,i.el);if(!s||i.currentBreakpoint===s)return;let d=(s in a?a[s]:void 0)||i.originalParams,u=Nb(i,n),f=Nb(i,d),g=n.enabled;u&&!f?(r.removeClass(`${n.containerModifierClass}grid ${n.containerModifierClass}grid-column`),i.emitContainerClasses()):!u&&f&&(r.addClass(`${n.containerModifierClass}grid`),(d.grid.fill&&d.grid.fill==="column"||!d.grid.fill&&n.grid.fill==="column")&&r.addClass(`${n.containerModifierClass}grid-column`),i.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(A=>{let T=n[A]&&n[A].enabled,L=d[A]&&d[A].enabled;T&&!L&&i[A].disable(),!T&&L&&i[A].enable()});let _=d.direction&&d.direction!==n.direction,D=n.loop&&(d.slidesPerView!==n.slidesPerView||_);_&&o&&i.changeDirection(),Wt(i.params,d);let E=i.params.enabled;Object.assign(i,{allowTouchMove:i.params.allowTouchMove,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev}),g&&!E?i.disable():!g&&E&&i.enable(),i.currentBreakpoint=s,i.emit("_beforeBreakpoint",d),D&&o&&(i.loopDestroy(),i.loopCreate(),i.updateSlides(),i.slideTo(t-e+i.loopedSlides,0,!1)),i.emit("breakpoint",d)}function Qp(i,t="window",o){if(!i||t==="container"&&!o)return;let e=!1,n=He(),r=t==="window"?n.innerHeight:o.clientHeight,a=Object.keys(i).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){let l=parseFloat(s.substr(1));return{value:r*l,point:s}}return{value:s,point:s}});a.sort((s,l)=>parseInt(s.value,10)-parseInt(l.value,10));for(let s=0;s<a.length;s+=1){let{point:l,value:d}=a[s];t==="window"?n.matchMedia(`(min-width: ${d}px)`).matches&&(e=l):d<=o.clientWidth&&(e=l)}return e||"max"}var Bb={setBreakpoint:Xp,getBreakpoint:Qp};function KM(i,t){let o=[];return i.forEach(e=>{typeof e=="object"?Object.keys(e).forEach(n=>{e[n]&&o.push(t+n)}):typeof e=="string"&&o.push(t+e)}),o}function Kp(){let i=this,{classNames:t,params:o,rtl:e,$el:n,device:r,support:a}=i,s=KM(["initialized",o.direction,{"pointer-events":!a.touch},{"free-mode":i.params.freeMode&&o.freeMode.enabled},{autoheight:o.autoHeight},{rtl:e},{grid:o.grid&&o.grid.rows>1},{"grid-column":o.grid&&o.grid.rows>1&&o.grid.fill==="column"},{android:r.android},{ios:r.ios},{"css-mode":o.cssMode},{centered:o.cssMode&&o.centeredSlides},{"watch-progress":o.watchSlidesProgress}],o.containerModifierClass);t.push(...s),n.addClass([...t].join(" ")),i.emitContainerClasses()}function Jp(){let i=this,{$el:t,classNames:o}=i;t.removeClass(o.join(" ")),i.emitContainerClasses()}var zb={addClasses:Kp,removeClasses:Jp};function eh(i,t,o,e,n,r){let a=He(),s;function l(){r&&r()}!we(i).parent("picture")[0]&&(!i.complete||!n)&&t?(s=new a.Image,s.onload=l,s.onerror=l,e&&(s.sizes=e),o&&(s.srcset=o),t&&(s.src=t)):l()}function th(){let i=this;i.imagesToLoad=i.$el.find("img");function t(){typeof i>"u"||i===null||!i||i.destroyed||(i.imagesLoaded!==void 0&&(i.imagesLoaded+=1),i.imagesLoaded===i.imagesToLoad.length&&(i.params.updateOnImagesReady&&i.update(),i.emit("imagesReady")))}for(let o=0;o<i.imagesToLoad.length;o+=1){let e=i.imagesToLoad[o];i.loadImage(e,e.currentSrc||e.getAttribute("src"),e.srcset||e.getAttribute("srcset"),e.sizes||e.getAttribute("sizes"),!0,t)}}var Hb={loadImage:eh,preloadImages:th};function JM(){let i=this,{isLocked:t,params:o}=i,{slidesOffsetBefore:e}=o;if(e){let n=i.slides.length-1,r=i.slidesGrid[n]+i.slidesSizesGrid[n]+e*2;i.isLocked=i.size>r}else i.isLocked=i.snapGrid.length===1;o.allowSlideNext===!0&&(i.allowSlideNext=!i.isLocked),o.allowSlidePrev===!0&&(i.allowSlidePrev=!i.isLocked),t&&t!==i.isLocked&&(i.isEnd=!1),t!==i.isLocked&&i.emit(i.isLocked?"lock":"unlock")}var $b={checkOverflow:JM};var ih={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function nh(i,t){return function(e={}){let n=Object.keys(e)[0],r=e[n];if(typeof r!="object"||r===null){Wt(t,e);return}if(["navigation","pagination","scrollbar"].indexOf(n)>=0&&i[n]===!0&&(i[n]={auto:!0}),!(n in i&&"enabled"in r)){Wt(t,e);return}i[n]===!0&&(i[n]={enabled:!0}),typeof i[n]=="object"&&!("enabled"in i[n])&&(i[n].enabled=!0),i[n]||(i[n]={enabled:!1}),Wt(t,e)}}var oh={eventsEmitter:kb,update:Tb,translate:Ob,transition:Pb,slide:Fb,loop:Ab,grabCursor:Rb,events:Vb,breakpoints:Bb,checkOverflow:$b,classes:zb,images:Hb},rh={},Ia=class i{constructor(...t){let o,e;if(t.length===1&&t[0].constructor&&Object.prototype.toString.call(t[0]).slice(8,-1)==="Object"?e=t[0]:[o,e]=t,e||(e={}),e=Wt({},e),o&&!e.el&&(e.el=o),e.el&&we(e.el).length>1){let s=[];return we(e.el).each(l=>{let d=Wt({},e,{el:l});s.push(new i(d))}),s}let n=this;n.__swiper__=!0,n.support=Il(),n.device=Mb({userAgent:e.userAgent}),n.browser=Db(),n.eventsListeners={},n.eventsAnyListeners=[],n.modules=[...n.__modules__],e.modules&&Array.isArray(e.modules)&&n.modules.push(...e.modules);let r={};n.modules.forEach(s=>{s({swiper:n,extendParams:nh(e,r),on:n.on.bind(n),once:n.once.bind(n),off:n.off.bind(n),emit:n.emit.bind(n)})});let a=Wt({},ih,r);return n.params=Wt({},a,rh,e),n.originalParams=Wt({},n.params),n.passedParams=Wt({},e),n.params&&n.params.on&&Object.keys(n.params.on).forEach(s=>{n.on(s,n.params.on[s])}),n.params&&n.params.onAny&&n.onAny(n.params.onAny),n.$=we,Object.assign(n,{enabled:n.params.enabled,el:o,classNames:[],slides:we(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return n.params.direction==="horizontal"},isVertical(){return n.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev,touchEvents:function(){let l=["touchstart","touchmove","touchend","touchcancel"],d=["pointerdown","pointermove","pointerup"];return n.touchEventsTouch={start:l[0],move:l[1],end:l[2],cancel:l[3]},n.touchEventsDesktop={start:d[0],move:d[1],end:d[2]},n.support.touch||!n.params.simulateTouch?n.touchEventsTouch:n.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:n.params.focusableElements,lastClickTime:Mt(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:n.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),n.emit("_swiper"),n.params.init&&n.init(),n}enable(){let t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){let t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,o){let e=this;t=Math.min(Math.max(t,0),1);let n=e.minTranslate(),a=(e.maxTranslate()-n)*t+n;e.translateTo(a,typeof o>"u"?0:o),e.updateActiveIndex(),e.updateSlidesClasses()}emitContainerClasses(){let t=this;if(!t.params._emitClasses||!t.el)return;let o=t.el.className.split(" ").filter(e=>e.indexOf("swiper")===0||e.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",o.join(" "))}getSlideClasses(t){let o=this;return o.destroyed?"":t.className.split(" ").filter(e=>e.indexOf("swiper-slide")===0||e.indexOf(o.params.slideClass)===0).join(" ")}emitSlidesClasses(){let t=this;if(!t.params._emitClasses||!t.el)return;let o=[];t.slides.each(e=>{let n=t.getSlideClasses(e);o.push({slideEl:e,classNames:n}),t.emit("_slideClass",e,n)}),t.emit("_slideClasses",o)}slidesPerViewDynamic(t="current",o=!1){let e=this,{params:n,slides:r,slidesGrid:a,slidesSizesGrid:s,size:l,activeIndex:d}=e,u=1;if(n.centeredSlides){let f=r[d].swiperSlideSize,g;for(let _=d+1;_<r.length;_+=1)r[_]&&!g&&(f+=r[_].swiperSlideSize,u+=1,f>l&&(g=!0));for(let _=d-1;_>=0;_-=1)r[_]&&!g&&(f+=r[_].swiperSlideSize,u+=1,f>l&&(g=!0))}else if(t==="current")for(let f=d+1;f<r.length;f+=1)(o?a[f]+s[f]-a[d]<l:a[f]-a[d]<l)&&(u+=1);else for(let f=d-1;f>=0;f-=1)a[d]-a[f]<l&&(u+=1);return u}update(){let t=this;if(!t||t.destroyed)return;let{snapGrid:o,params:e}=t;e.breakpoints&&t.setBreakpoint(),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function n(){let a=t.rtlTranslate?t.translate*-1:t.translate,s=Math.min(Math.max(a,t.maxTranslate()),t.minTranslate());t.setTranslate(s),t.updateActiveIndex(),t.updateSlidesClasses()}let r;t.params.freeMode&&t.params.freeMode.enabled?(n(),t.params.autoHeight&&t.updateAutoHeight()):((t.params.slidesPerView==="auto"||t.params.slidesPerView>1)&&t.isEnd&&!t.params.centeredSlides?r=t.slideTo(t.slides.length-1,0,!1,!0):r=t.slideTo(t.activeIndex,0,!1,!0),r||n()),e.watchOverflow&&o!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,o=!0){let e=this,n=e.params.direction;return t||(t=n==="horizontal"?"vertical":"horizontal"),t===n||t!=="horizontal"&&t!=="vertical"||(e.$el.removeClass(`${e.params.containerModifierClass}${n}`).addClass(`${e.params.containerModifierClass}${t}`),e.emitContainerClasses(),e.params.direction=t,e.slides.each(r=>{t==="vertical"?r.style.width="":r.style.height=""}),e.emit("changeDirection"),o&&e.update()),e}changeLanguageDirection(t){let o=this;o.rtl&&t==="rtl"||!o.rtl&&t==="ltr"||(o.rtl=t==="rtl",o.rtlTranslate=o.params.direction==="horizontal"&&o.rtl,o.rtl?(o.$el.addClass(`${o.params.containerModifierClass}rtl`),o.el.dir="rtl"):(o.$el.removeClass(`${o.params.containerModifierClass}rtl`),o.el.dir="ltr"),o.update())}mount(t){let o=this;if(o.mounted)return!0;let e=we(t||o.params.el);if(t=e[0],!t)return!1;t.swiper=o;let n=()=>`.${(o.params.wrapperClass||"").trim().split(" ").join(".")}`,a=(()=>{if(t&&t.shadowRoot&&t.shadowRoot.querySelector){let s=we(t.shadowRoot.querySelector(n()));return s.children=l=>e.children(l),s}return e.children?e.children(n()):we(e).children(n())})();if(a.length===0&&o.params.createElements){let l=dt().createElement("div");a=we(l),l.className=o.params.wrapperClass,e.append(l),e.children(`.${o.params.slideClass}`).each(d=>{a.append(d)})}return Object.assign(o,{$el:e,el:t,$wrapperEl:a,wrapperEl:a[0],mounted:!0,rtl:t.dir.toLowerCase()==="rtl"||e.css("direction")==="rtl",rtlTranslate:o.params.direction==="horizontal"&&(t.dir.toLowerCase()==="rtl"||e.css("direction")==="rtl"),wrongRTL:a.css("display")==="-webkit-box"}),!0}init(t){let o=this;return o.initialized||o.mount(t)===!1||(o.emit("beforeInit"),o.params.breakpoints&&o.setBreakpoint(),o.addClasses(),o.params.loop&&o.loopCreate(),o.updateSize(),o.updateSlides(),o.params.watchOverflow&&o.checkOverflow(),o.params.grabCursor&&o.enabled&&o.setGrabCursor(),o.params.preloadImages&&o.preloadImages(),o.params.loop?o.slideTo(o.params.initialSlide+o.loopedSlides,0,o.params.runCallbacksOnInit,!1,!0):o.slideTo(o.params.initialSlide,0,o.params.runCallbacksOnInit,!1,!0),o.attachEvents(),o.initialized=!0,o.emit("init"),o.emit("afterInit")),o}destroy(t=!0,o=!0){let e=this,{params:n,$el:r,$wrapperEl:a,slides:s}=e;return typeof e.params>"u"||e.destroyed||(e.emit("beforeDestroy"),e.initialized=!1,e.detachEvents(),n.loop&&e.loopDestroy(),o&&(e.removeClasses(),r.removeAttr("style"),a.removeAttr("style"),s&&s.length&&s.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),e.emit("destroy"),Object.keys(e.eventsListeners).forEach(l=>{e.off(l)}),t!==!1&&(e.$el[0].swiper=null,Eb(e)),e.destroyed=!0),null}static extendDefaults(t){Wt(rh,t)}static get extendedDefaults(){return rh}static get defaults(){return ih}static installModule(t){i.prototype.__modules__||(i.prototype.__modules__=[]);let o=i.prototype.__modules__;typeof t=="function"&&o.indexOf(t)<0&&o.push(t)}static use(t){return Array.isArray(t)?(t.forEach(o=>i.installModule(o)),i):(i.installModule(t),i)}};Object.keys(oh).forEach(i=>{Object.keys(oh[i]).forEach(t=>{Ia.prototype[t]=oh[i][t]})});Ia.use([hp,fp]);var an=Ia;function El({swiper:i,extendParams:t,on:o,emit:e}){t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let n;i.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};function r(f,g){let _=i.params.virtual;if(_.cache&&i.virtual.cache[g])return i.virtual.cache[g];let D=_.renderSlide?we(_.renderSlide.call(i,f,g)):we(`<div class="${i.params.slideClass}" data-swiper-slide-index="${g}">${f}</div>`);return D.attr("data-swiper-slide-index")||D.attr("data-swiper-slide-index",g),_.cache&&(i.virtual.cache[g]=D),D}function a(f){let{slidesPerView:g,slidesPerGroup:_,centeredSlides:D}=i.params,{addSlidesBefore:E,addSlidesAfter:A}=i.params.virtual,{from:T,to:L,slides:B,slidesGrid:Q,offset:pe}=i.virtual;i.params.cssMode||i.updateActiveIndex();let ae=i.activeIndex||0,le;i.rtlTranslate?le="right":le=i.isHorizontal()?"left":"top";let he,ve;D?(he=Math.floor(g/2)+_+A,ve=Math.floor(g/2)+_+E):(he=g+(_-1)+A,ve=_+E);let te=Math.max((ae||0)-ve,0),X=Math.min((ae||0)+he,B.length-1),fe=(i.slidesGrid[te]||0)-(i.slidesGrid[0]||0);Object.assign(i.virtual,{from:te,to:X,offset:fe,slidesGrid:i.slidesGrid});function Fe(){i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),i.lazy&&i.params.lazy.enabled&&i.lazy.load(),e("virtualUpdate")}if(T===te&&L===X&&!f){i.slidesGrid!==Q&&fe!==pe&&i.slides.css(le,`${fe}px`),i.updateProgress(),e("virtualUpdate");return}if(i.params.virtual.renderExternal){i.params.virtual.renderExternal.call(i,{offset:fe,from:te,to:X,slides:function(){let mt=[];for(let _t=te;_t<=X;_t+=1)mt.push(B[_t]);return mt}()}),i.params.virtual.renderExternalUpdate?Fe():e("virtualUpdate");return}let bt=[],Ze=[];if(f)i.$wrapperEl.find(`.${i.params.slideClass}`).remove();else for(let Se=T;Se<=L;Se+=1)(Se<te||Se>X)&&i.$wrapperEl.find(`.${i.params.slideClass}[data-swiper-slide-index="${Se}"]`).remove();for(let Se=0;Se<B.length;Se+=1)Se>=te&&Se<=X&&(typeof L>"u"||f?Ze.push(Se):(Se>L&&Ze.push(Se),Se<T&&bt.push(Se)));Ze.forEach(Se=>{i.$wrapperEl.append(r(B[Se],Se))}),bt.sort((Se,mt)=>mt-Se).forEach(Se=>{i.$wrapperEl.prepend(r(B[Se],Se))}),i.$wrapperEl.children(".swiper-slide").css(le,`${fe}px`),Fe()}function s(f){if(typeof f=="object"&&"length"in f)for(let g=0;g<f.length;g+=1)f[g]&&i.virtual.slides.push(f[g]);else i.virtual.slides.push(f);a(!0)}function l(f){let g=i.activeIndex,_=g+1,D=1;if(Array.isArray(f)){for(let E=0;E<f.length;E+=1)f[E]&&i.virtual.slides.unshift(f[E]);_=g+f.length,D=f.length}else i.virtual.slides.unshift(f);if(i.params.virtual.cache){let E=i.virtual.cache,A={};Object.keys(E).forEach(T=>{let L=E[T],B=L.attr("data-swiper-slide-index");B&&L.attr("data-swiper-slide-index",parseInt(B,10)+D),A[parseInt(T,10)+D]=L}),i.virtual.cache=A}a(!0),i.slideTo(_,0)}function d(f){if(typeof f>"u"||f===null)return;let g=i.activeIndex;if(Array.isArray(f))for(let _=f.length-1;_>=0;_-=1)i.virtual.slides.splice(f[_],1),i.params.virtual.cache&&delete i.virtual.cache[f[_]],f[_]<g&&(g-=1),g=Math.max(g,0);else i.virtual.slides.splice(f,1),i.params.virtual.cache&&delete i.virtual.cache[f],f<g&&(g-=1),g=Math.max(g,0);a(!0),i.slideTo(g,0)}function u(){i.virtual.slides=[],i.params.virtual.cache&&(i.virtual.cache={}),a(!0),i.slideTo(0,0)}o("beforeInit",()=>{i.params.virtual.enabled&&(i.virtual.slides=i.params.virtual.slides,i.classNames.push(`${i.params.containerModifierClass}virtual`),i.params.watchSlidesProgress=!0,i.originalParams.watchSlidesProgress=!0,i.params.initialSlide||a())}),o("setTranslate",()=>{i.params.virtual.enabled&&(i.params.cssMode&&!i._immediateVirtual?(clearTimeout(n),n=setTimeout(()=>{a()},100)):a())}),o("init update resize",()=>{i.params.virtual.enabled&&i.params.cssMode&&lo(i.wrapperEl,"--swiper-virtual-size",`${i.virtualSize}px`)}),Object.assign(i.virtual,{appendSlide:s,prependSlide:l,removeSlide:d,removeAllSlides:u,update:a})}function Ml({swiper:i,extendParams:t,on:o,emit:e}){let n=dt(),r=He();i.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function a(d){if(!i.enabled)return;let{rtlTranslate:u}=i,f=d;f.originalEvent&&(f=f.originalEvent);let g=f.keyCode||f.charCode,_=i.params.keyboard.pageUpDown,D=_&&g===33,E=_&&g===34,A=g===37,T=g===39,L=g===38,B=g===40;if(!i.allowSlideNext&&(i.isHorizontal()&&T||i.isVertical()&&B||E)||!i.allowSlidePrev&&(i.isHorizontal()&&A||i.isVertical()&&L||D))return!1;if(!(f.shiftKey||f.altKey||f.ctrlKey||f.metaKey)&&!(n.activeElement&&n.activeElement.nodeName&&(n.activeElement.nodeName.toLowerCase()==="input"||n.activeElement.nodeName.toLowerCase()==="textarea"))){if(i.params.keyboard.onlyInViewport&&(D||E||A||T||L||B)){let Q=!1;if(i.$el.parents(`.${i.params.slideClass}`).length>0&&i.$el.parents(`.${i.params.slideActiveClass}`).length===0)return;let pe=i.$el,ae=pe[0].clientWidth,le=pe[0].clientHeight,he=r.innerWidth,ve=r.innerHeight,te=i.$el.offset();u&&(te.left-=i.$el[0].scrollLeft);let X=[[te.left,te.top],[te.left+ae,te.top],[te.left,te.top+le],[te.left+ae,te.top+le]];for(let fe=0;fe<X.length;fe+=1){let Fe=X[fe];if(Fe[0]>=0&&Fe[0]<=he&&Fe[1]>=0&&Fe[1]<=ve){if(Fe[0]===0&&Fe[1]===0)continue;Q=!0}}if(!Q)return}i.isHorizontal()?((D||E||A||T)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),((E||T)&&!u||(D||A)&&u)&&i.slideNext(),((D||A)&&!u||(E||T)&&u)&&i.slidePrev()):((D||E||L||B)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),(E||B)&&i.slideNext(),(D||L)&&i.slidePrev()),e("keyPress",g)}}function s(){i.keyboard.enabled||(we(n).on("keydown",a),i.keyboard.enabled=!0)}function l(){i.keyboard.enabled&&(we(n).off("keydown",a),i.keyboard.enabled=!1)}o("init",()=>{i.params.keyboard.enabled&&s()}),o("destroy",()=>{i.keyboard.enabled&&l()}),Object.assign(i.keyboard,{enable:s,disable:l})}function Dl({swiper:i,extendParams:t,on:o,emit:e}){let n=He();t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),i.mousewheel={enabled:!1};let r,a=Mt(),s,l=[];function d(L){let ae=0,le=0,he=0,ve=0;return"detail"in L&&(le=L.detail),"wheelDelta"in L&&(le=-L.wheelDelta/120),"wheelDeltaY"in L&&(le=-L.wheelDeltaY/120),"wheelDeltaX"in L&&(ae=-L.wheelDeltaX/120),"axis"in L&&L.axis===L.HORIZONTAL_AXIS&&(ae=le,le=0),he=ae*10,ve=le*10,"deltaY"in L&&(ve=L.deltaY),"deltaX"in L&&(he=L.deltaX),L.shiftKey&&!he&&(he=ve,ve=0),(he||ve)&&L.deltaMode&&(L.deltaMode===1?(he*=40,ve*=40):(he*=800,ve*=800)),he&&!ae&&(ae=he<1?-1:1),ve&&!le&&(le=ve<1?-1:1),{spinX:ae,spinY:le,pixelX:he,pixelY:ve}}function u(){i.enabled&&(i.mouseEntered=!0)}function f(){i.enabled&&(i.mouseEntered=!1)}function g(L){return i.params.mousewheel.thresholdDelta&&L.delta<i.params.mousewheel.thresholdDelta||i.params.mousewheel.thresholdTime&&Mt()-a<i.params.mousewheel.thresholdTime?!1:L.delta>=6&&Mt()-a<60?!0:(L.direction<0?(!i.isEnd||i.params.loop)&&!i.animating&&(i.slideNext(),e("scroll",L.raw)):(!i.isBeginning||i.params.loop)&&!i.animating&&(i.slidePrev(),e("scroll",L.raw)),a=new n.Date().getTime(),!1)}function _(L){let B=i.params.mousewheel;if(L.direction<0){if(i.isEnd&&!i.params.loop&&B.releaseOnEdges)return!0}else if(i.isBeginning&&!i.params.loop&&B.releaseOnEdges)return!0;return!1}function D(L){let B=L,Q=!0;if(!i.enabled)return;let pe=i.params.mousewheel;i.params.cssMode&&B.preventDefault();let ae=i.$el;if(i.params.mousewheel.eventsTarget!=="container"&&(ae=we(i.params.mousewheel.eventsTarget)),!i.mouseEntered&&!ae[0].contains(B.target)&&!pe.releaseOnEdges)return!0;B.originalEvent&&(B=B.originalEvent);let le=0,he=i.rtlTranslate?-1:1,ve=d(B);if(pe.forceToAxis)if(i.isHorizontal())if(Math.abs(ve.pixelX)>Math.abs(ve.pixelY))le=-ve.pixelX*he;else return!0;else if(Math.abs(ve.pixelY)>Math.abs(ve.pixelX))le=-ve.pixelY;else return!0;else le=Math.abs(ve.pixelX)>Math.abs(ve.pixelY)?-ve.pixelX*he:-ve.pixelY;if(le===0)return!0;pe.invert&&(le=-le);let te=i.getTranslate()+le*pe.sensitivity;if(te>=i.minTranslate()&&(te=i.minTranslate()),te<=i.maxTranslate()&&(te=i.maxTranslate()),Q=i.params.loop?!0:!(te===i.minTranslate()||te===i.maxTranslate()),Q&&i.params.nested&&B.stopPropagation(),!i.params.freeMode||!i.params.freeMode.enabled){let X={time:Mt(),delta:Math.abs(le),direction:Math.sign(le),raw:L};l.length>=2&&l.shift();let fe=l.length?l[l.length-1]:void 0;if(l.push(X),fe?(X.direction!==fe.direction||X.delta>fe.delta||X.time>fe.time+150)&&g(X):g(X),_(X))return!0}else{let X={time:Mt(),delta:Math.abs(le),direction:Math.sign(le)},fe=s&&X.time<s.time+500&&X.delta<=s.delta&&X.direction===s.direction;if(!fe){s=void 0,i.params.loop&&i.loopFix();let Fe=i.getTranslate()+le*pe.sensitivity,bt=i.isBeginning,Ze=i.isEnd;if(Fe>=i.minTranslate()&&(Fe=i.minTranslate()),Fe<=i.maxTranslate()&&(Fe=i.maxTranslate()),i.setTransition(0),i.setTranslate(Fe),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!bt&&i.isBeginning||!Ze&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeMode.sticky){clearTimeout(r),r=void 0,l.length>=15&&l.shift();let Se=l.length?l[l.length-1]:void 0,mt=l[0];if(l.push(X),Se&&(X.delta>Se.delta||X.direction!==Se.direction))l.splice(0);else if(l.length>=15&&X.time-mt.time<500&&mt.delta-X.delta>=1&&X.delta<=6){let _t=le>0?.8:.2;s=X,l.splice(0),r=ki(()=>{i.slideToClosest(i.params.speed,!0,void 0,_t)},0)}r||(r=ki(()=>{s=X,l.splice(0),i.slideToClosest(i.params.speed,!0,void 0,.5)},500))}if(fe||e("scroll",B),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),Fe===i.minTranslate()||Fe===i.maxTranslate())return!0}}return B.preventDefault?B.preventDefault():B.returnValue=!1,!1}function E(L){let B=i.$el;i.params.mousewheel.eventsTarget!=="container"&&(B=we(i.params.mousewheel.eventsTarget)),B[L]("mouseenter",u),B[L]("mouseleave",f),B[L]("wheel",D)}function A(){return i.params.cssMode?(i.wrapperEl.removeEventListener("wheel",D),!0):i.mousewheel.enabled?!1:(E("on"),i.mousewheel.enabled=!0,!0)}function T(){return i.params.cssMode?(i.wrapperEl.addEventListener(event,D),!0):i.mousewheel.enabled?(E("off"),i.mousewheel.enabled=!1,!0):!1}o("init",()=>{!i.params.mousewheel.enabled&&i.params.cssMode&&T(),i.params.mousewheel.enabled&&A()}),o("destroy",()=>{i.params.cssMode&&A(),i.mousewheel.enabled&&T()}),Object.assign(i.mousewheel,{enable:A,disable:T})}function kl({swiper:i,extendParams:t,emit:o,once:e}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function n(){let s=i.getTranslate();i.setTranslate(s),i.setTransition(0),i.touchEventsData.velocities.length=0,i.freeMode.onTouchEnd({currentPos:i.rtl?i.translate:-i.translate})}function r(){let{touchEventsData:s,touches:l}=i;s.velocities.length===0&&s.velocities.push({position:l[i.isHorizontal()?"startX":"startY"],time:s.touchStartTime}),s.velocities.push({position:l[i.isHorizontal()?"currentX":"currentY"],time:Mt()})}function a({currentPos:s}){let{params:l,$wrapperEl:d,rtlTranslate:u,snapGrid:f,touchEventsData:g}=i,D=Mt()-g.touchStartTime;if(s<-i.minTranslate()){i.slideTo(i.activeIndex);return}if(s>-i.maxTranslate()){i.slides.length<f.length?i.slideTo(f.length-1):i.slideTo(i.slides.length-1);return}if(l.freeMode.momentum){if(g.velocities.length>1){let ae=g.velocities.pop(),le=g.velocities.pop(),he=ae.position-le.position,ve=ae.time-le.time;i.velocity=he/ve,i.velocity/=2,Math.abs(i.velocity)<l.freeMode.minimumVelocity&&(i.velocity=0),(ve>150||Mt()-ae.time>300)&&(i.velocity=0)}else i.velocity=0;i.velocity*=l.freeMode.momentumVelocityRatio,g.velocities.length=0;let E=1e3*l.freeMode.momentumRatio,A=i.velocity*E,T=i.translate+A;u&&(T=-T);let L=!1,B,Q=Math.abs(i.velocity)*20*l.freeMode.momentumBounceRatio,pe;if(T<i.maxTranslate())l.freeMode.momentumBounce?(T+i.maxTranslate()<-Q&&(T=i.maxTranslate()-Q),B=i.maxTranslate(),L=!0,g.allowMomentumBounce=!0):T=i.maxTranslate(),l.loop&&l.centeredSlides&&(pe=!0);else if(T>i.minTranslate())l.freeMode.momentumBounce?(T-i.minTranslate()>Q&&(T=i.minTranslate()+Q),B=i.minTranslate(),L=!0,g.allowMomentumBounce=!0):T=i.minTranslate(),l.loop&&l.centeredSlides&&(pe=!0);else if(l.freeMode.sticky){let ae;for(let le=0;le<f.length;le+=1)if(f[le]>-T){ae=le;break}Math.abs(f[ae]-T)<Math.abs(f[ae-1]-T)||i.swipeDirection==="next"?T=f[ae]:T=f[ae-1],T=-T}if(pe&&e("transitionEnd",()=>{i.loopFix()}),i.velocity!==0){if(u?E=Math.abs((-T-i.translate)/i.velocity):E=Math.abs((T-i.translate)/i.velocity),l.freeMode.sticky){let ae=Math.abs((u?-T:T)-i.translate),le=i.slidesSizesGrid[i.activeIndex];ae<le?E=l.speed:ae<2*le?E=l.speed*1.5:E=l.speed*2.5}}else if(l.freeMode.sticky){i.slideToClosest();return}l.freeMode.momentumBounce&&L?(i.updateProgress(B),i.setTransition(E),i.setTranslate(T),i.transitionStart(!0,i.swipeDirection),i.animating=!0,d.transitionEnd(()=>{!i||i.destroyed||!g.allowMomentumBounce||(o("momentumBounce"),i.setTransition(l.speed),setTimeout(()=>{i.setTranslate(B),d.transitionEnd(()=>{!i||i.destroyed||i.transitionEnd()})},0))})):i.velocity?(o("_freeModeNoMomentumRelease"),i.updateProgress(T),i.setTransition(E),i.setTranslate(T),i.transitionStart(!0,i.swipeDirection),i.animating||(i.animating=!0,d.transitionEnd(()=>{!i||i.destroyed||i.transitionEnd()}))):i.updateProgress(T),i.updateActiveIndex(),i.updateSlidesClasses()}else if(l.freeMode.sticky){i.slideToClosest();return}else l.freeMode&&o("_freeModeNoMomentumRelease");(!l.freeMode.momentum||D>=l.longSwipesMs)&&(i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses())}Object.assign(i,{freeMode:{onTouchStart:n,onTouchMove:r,onTouchEnd:a}})}function Rn(i){let{effect:t,swiper:o,on:e,setTranslate:n,setTransition:r,overwriteParams:a,perspective:s,recreateShadows:l,getEffectParams:d}=i;e("beforeInit",()=>{if(o.params.effect!==t)return;o.classNames.push(`${o.params.containerModifierClass}${t}`),s&&s()&&o.classNames.push(`${o.params.containerModifierClass}3d`);let f=a?a():{};Object.assign(o.params,f),Object.assign(o.originalParams,f)}),e("setTranslate",()=>{o.params.effect===t&&n()}),e("setTransition",(f,g)=>{o.params.effect===t&&r(g)}),e("transitionEnd",()=>{if(o.params.effect===t&&l){if(!d||!d().slideShadows)return;o.slides.each(f=>{o.$(f).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()}),l()}});let u;e("virtualUpdate",()=>{o.params.effect===t&&(o.slides.length||(u=!0),requestAnimationFrame(()=>{u&&o.slides&&o.slides.length&&(n(),u=!1)}))})}function co(i,t){return i.transformEl?t.find(i.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function uo(i,t,o){let e=`swiper-slide-shadow${o?`-${o}`:""}`,n=i.transformEl?t.find(i.transformEl):t,r=n.children(`.${e}`);return r.length||(r=we(`<div class="swiper-slide-shadow${o?`-${o}`:""}"></div>`),n.append(r)),r}function Tl({swiper:i,extendParams:t,on:o}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}}),Rn({effect:"coverflow",swiper:i,on:o,setTranslate:()=>{let{width:r,height:a,slides:s,slidesSizesGrid:l}=i,d=i.params.coverflowEffect,u=i.isHorizontal(),f=i.translate,g=u?-f+r/2:-f+a/2,_=u?d.rotate:-d.rotate,D=d.depth;for(let E=0,A=s.length;E<A;E+=1){let T=s.eq(E),L=l[E],B=T[0].swiperSlideOffset,Q=(g-B-L/2)/L,pe=typeof d.modifier=="function"?d.modifier(Q):Q*d.modifier,ae=u?_*pe:0,le=u?0:_*pe,he=-D*Math.abs(pe),ve=d.stretch;typeof ve=="string"&&ve.indexOf("%")!==-1&&(ve=parseFloat(d.stretch)/100*L);let te=u?0:ve*pe,X=u?ve*pe:0,fe=1-(1-d.scale)*Math.abs(pe);Math.abs(X)<.001&&(X=0),Math.abs(te)<.001&&(te=0),Math.abs(he)<.001&&(he=0),Math.abs(ae)<.001&&(ae=0),Math.abs(le)<.001&&(le=0),Math.abs(fe)<.001&&(fe=0);let Fe=`translate3d(${X}px,${te}px,${he}px)  rotateX(${le}deg) rotateY(${ae}deg) scale(${fe})`;if(co(d,T).transform(Fe),T[0].style.zIndex=-Math.abs(Math.round(pe))+1,d.slideShadows){let Ze=u?T.find(".swiper-slide-shadow-left"):T.find(".swiper-slide-shadow-top"),Se=u?T.find(".swiper-slide-shadow-right"):T.find(".swiper-slide-shadow-bottom");Ze.length===0&&(Ze=uo(d,T,u?"left":"top")),Se.length===0&&(Se=uo(d,T,u?"right":"bottom")),Ze.length&&(Ze[0].style.opacity=pe>0?pe:0),Se.length&&(Se[0].style.opacity=-pe>0?-pe:0)}}},setTransition:r=>{let{transformEl:a}=i.params.coverflowEffect;(a?i.slides.find(a):i.slides).transition(r).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(r)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}var t9=["prevElRef"],i9=["nextElRef"],n9=["scrollbarElRef"],o9=["paginationElRef"];function r9(i,t){i&1&&(Zi(0),b(1,"div",6,7)(3,"div",8,9),qi())}function a9(i,t){i&1&&b(0,"div",10,11)}function s9(i,t){i&1&&b(0,"div",12,13)}function l9(i,t){}function c9(i,t){i&1&&O(0,l9,0,0,"ng-template")}function d9(i,t){}function u9(i,t){i&1&&O(0,d9,0,0,"ng-template")}function m9(i,t){}function p9(i,t){i&1&&O(0,m9,0,0,"ng-template")}function h9(i,t){}var Gb=i=>({$implicit:i});function f9(i,t){if(i&1&&(m(0,"div",3),O(1,h9,0,0,"ng-template",18),p()),i&2){let o=C().$implicit,e=C(2);k("ngClass",e.zoomContainerClass),h(),k("ngTemplateOutlet",o.template)("ngTemplateOutletContext",di(3,Gb,o.slideData))}}function g9(i,t){}function v9(i,t){if(i&1&&(Zi(0),O(1,g9,0,0,"ng-template",18),qi()),i&2){let o=C().$implicit;h(),k("ngTemplateOutlet",o.template)("ngTemplateOutletContext",di(2,Gb,o.slideData))}}function b9(i,t){if(i&1&&(m(0,"div",15),O(1,f9,2,5,"div",16)(2,v9,2,4,"ng-container",17),p()),i&2){let o=t.$implicit,e=C().key,n=C();Nh(n.style),k("ngClass",(o.class?o.class+" ":"")+n.slideClass+(e!==""?" "+n.slideDuplicateClass:""))("ngSwitch",o.zoom),Ie("data-swiper-slide-index",o.virtualIndex?o.virtualIndex:o.slideIndex)("data-swiper-autoplay",o.autoplayDelay),h(),k("ngSwitchCase",!0)}}function _9(i,t){if(i&1&&(O(0,b9,3,7,"div",14),F(1,"async")),i&2){let o=t.loopSlides;k("ngForOf",$(1,1,o))}}var C9=[[["","slot","container-start"]],[["","slot","wrapper-start"]],[["","slot","wrapper-end"]],[["","slot","container-end"]]],y9=i=>({loopSlides:i,key:"prepend"}),x9=i=>({loopSlides:i,key:""}),w9=i=>({loopSlides:i,key:"append"}),I9=["[slot=container-start]","[slot=wrapper-start]","[slot=wrapper-end]","[slot=container-end]"],Zb=["init","enabled","_direction","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_preloadImages","updateOnImagesReady","_loop","_loopAdditionalSlides","_loopedSlides","_loopedSlidesLimit","_loopFillGroupWithBlank","loopPreventsSlide","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideBlankClass","slideActiveClass","slideDuplicateActiveClass","slideVisibleClass","slideDuplicateClass","slideNextClass","slideDuplicateNextClass","slidePrevClass","slideDuplicatePrevClass","wrapperClass","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","lazy","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","on"];function cr(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"}function sh(i){return typeof i<"u"&&typeof i!="boolean"&&i.enabled===!0}function Wb(i,t,o){return Pl(i)===!0&&t&&!t.el||!(typeof t!="boolean"&&t.el!==o?.nativeElement&&(typeof t.el=="string"||typeof t.el=="object"))}function Ln(i,t){let o=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>o.indexOf(e)<0).forEach(e=>{if(typeof i[e]>"u"){i[e]=t[e];return}i[e]&&!t[e]||(cr(t[e])&&cr(i[e])&&Object.keys(t[e]).length>0?t[e].__swiper__?i[e]=t[e]:Ln(i[e],t[e]):i[e]=t[e])})}function Pl(i){return i!=null&&`${i}`!="false"}var S9=["pagination","navigation","scrollbar","virtual"];function Ol(i,t={}){return cr(i)?i:Pl(i)===!0?t:!1}var wZ=Zb.map(i=>i.replace(/_/,""));function lh(i={}){let t={on:{}},o={};Ln(t,an.defaults),Ln(t,an.extendedDefaults),t._emitClasses=!0,t.init=!1;let e={},n=Zb.map(r=>r.replace(/_/,""));return Object.keys(i).forEach(r=>{let a=r.replace(/^_/,"");n.indexOf(a)>=0?cr(i[r])?(t[a]={},o[a]={},Ln(t[a],i[r]),Ln(o[a],i[r])):(t[a]=i[r],o[a]=i[r]):e[a]=i[r]}),["navigation","pagination","scrollbar"].forEach(r=>{t[r]===!0&&(t[r]={}),t[r]===!1&&delete t[r]}),{params:t,passedParams:o,rest:e}}var ch=(()=>{class i{constructor(o){this.template=o,this.class="",this.autoplayDelay=null,this.slideData={isActive:!1,isPrev:!1,isNext:!1,isVisible:!1,isDuplicate:!1}}set ngClass(o){this.class=[this.class||"",o].join(" ")}set zoom(o){this._zoom=Pl(o)}get zoom(){return this._zoom}get classNames(){return this._classNames}set classNames(o){this._classNames!==o&&(this._classNames=o,this.slideData={isActive:this._hasClass(["swiper-slide-active","swiper-slide-duplicate-active"]),isVisible:this._hasClass(["swiper-slide-visible"]),isDuplicate:this._hasClass(["swiper-slide-duplicate"]),isPrev:this._hasClass(["swiper-slide-prev","swiper-slide-duplicate-prev"]),isNext:this._hasClass(["swiper-slide-next","swiper-slide-duplicate-next"])})}_hasClass(o){return o.some(e=>this._classNames.indexOf(e)>=0)}}return i.\u0275fac=function(o){return new(o||i)(c(vi))},i.\u0275dir=re({type:i,selectors:[["ng-template","swiperSlide",""]],inputs:{virtualIndex:"virtualIndex",class:"class",ngClass:"ngClass",autoplayDelay:[z.None,"data-swiper-autoplay","autoplayDelay"],zoom:"zoom"}}),i})(),qb=(()=>{class i{constructor(o,e,n,r){this._ngZone=o,this.elementRef=e,this._changeDetectorRef=n,this._platformId=r,this.slideClass="swiper-slide",this.wrapperClass="swiper-wrapper",this.showNavigation=!0,this.showPagination=!0,this.showScrollbar=!0,this.s__beforeBreakpoint=new I,this.s__containerClasses=new I,this.s__slideClass=new I,this.s__swiper=new I,this.s_activeIndexChange=new I,this.s_afterInit=new I,this.s_autoplay=new I,this.s_autoplayStart=new I,this.s_autoplayStop=new I,this.s_autoplayPause=new I,this.s_autoplayResume=new I,this.s_beforeDestroy=new I,this.s_beforeInit=new I,this.s_beforeLoopFix=new I,this.s_beforeResize=new I,this.s_beforeSlideChangeStart=new I,this.s_beforeTransitionStart=new I,this.s_breakpoint=new I,this.s_changeDirection=new I,this.s_click=new I,this.s_doubleTap=new I,this.s_doubleClick=new I,this.s_destroy=new I,this.s_fromEdge=new I,this.s_hashChange=new I,this.s_hashSet=new I,this.s_imagesReady=new I,this.s_init=new I,this.s_keyPress=new I,this.s_lazyImageLoad=new I,this.s_lazyImageReady=new I,this.s_loopFix=new I,this.s_momentumBounce=new I,this.s_navigationHide=new I,this.s_navigationShow=new I,this.s_navigationPrev=new I,this.s_navigationNext=new I,this.s_observerUpdate=new I,this.s_orientationchange=new I,this.s_paginationHide=new I,this.s_paginationRender=new I,this.s_paginationShow=new I,this.s_paginationUpdate=new I,this.s_progress=new I,this.s_reachBeginning=new I,this.s_reachEnd=new I,this.s_realIndexChange=new I,this.s_resize=new I,this.s_scroll=new I,this.s_scrollbarDragEnd=new I,this.s_scrollbarDragMove=new I,this.s_scrollbarDragStart=new I,this.s_setTransition=new I,this.s_setTranslate=new I,this.s_slideChange=new I,this.s_slideChangeTransitionEnd=new I,this.s_slideChangeTransitionStart=new I,this.s_slideNextTransitionEnd=new I,this.s_slideNextTransitionStart=new I,this.s_slidePrevTransitionEnd=new I,this.s_slidePrevTransitionStart=new I,this.s_slideResetTransitionStart=new I,this.s_slideResetTransitionEnd=new I,this.s_sliderMove=new I,this.s_sliderFirstMove=new I,this.s_slidesLengthChange=new I,this.s_slidesGridLengthChange=new I,this.s_snapGridLengthChange=new I,this.s_snapIndexChange=new I,this.s_tap=new I,this.s_toEdge=new I,this.s_touchEnd=new I,this.s_touchMove=new I,this.s_touchMoveOpposite=new I,this.s_touchStart=new I,this.s_transitionEnd=new I,this.s_transitionStart=new I,this.s_update=new I,this.s_zoomChange=new I,this.s_swiper=new I,this.s_lock=new I,this.s_unlock=new I,this._activeSlides=new ce,this.containerClasses="swiper",this.slidesChanges=a=>{this.slides=a.map((s,l)=>(s.slideIndex=l,s.classNames=this.slideClass||"",s)),this.loop&&!this.loopedSlides&&this.calcLoopedSlides(),this.virtual?this.swiperRef&&this.swiperRef.virtual&&this._ngZone.runOutsideAngular(()=>{this.swiperRef.virtual.slides=this.slides,this.swiperRef.virtual.update(!0)}):this.loopedSlides&&(this.prependSlides=me(this.slides.slice(this.slides.length-this.loopedSlides)),this.appendSlides=me(this.slides.slice(0,this.loopedSlides))),this._changeDetectorRef.detectChanges()},this.style=null,this.updateVirtualSlides=a=>{!this.swiperRef||this.currentVirtualData&&this.currentVirtualData.from===a.from&&this.currentVirtualData.to===a.to&&this.currentVirtualData.offset===a.offset||(this.style=this.swiperRef.isHorizontal()?{[this.swiperRef.rtlTranslate?"right":"left"]:`${a.offset}px`}:{top:`${a.offset}px`},this.currentVirtualData=a,this._activeSlides.next(a.slides),this._ngZone.run(()=>{this._changeDetectorRef.detectChanges()}),this._ngZone.runOutsideAngular(()=>{this.swiperRef.updateSlides(),this.swiperRef.updateProgress(),this.swiperRef.updateSlidesClasses(),sh(this.swiperRef.params.lazy)&&this.swiperRef.lazy.load(),this.swiperRef.virtual.update(!0)}))}}set navigation(o){var e,n,r;let a=typeof this._navigation!="boolean"&&this._navigation!==""?(e=this._navigation)===null||e===void 0?void 0:e.nextEl:null,s=typeof this._navigation!="boolean"&&this._navigation!==""?(n=this._navigation)===null||n===void 0?void 0:n.prevEl:null;this._navigation=Ol(o,{nextEl:a||null,prevEl:s||null}),this.showNavigation=!(Pl(o)!==!0||this._navigation&&typeof this._navigation!="boolean"&&this._navigation.prevEl!==((r=this._prevElRef)===null||r===void 0?void 0:r.nativeElement)&&(this._navigation.prevEl!==null||this._navigation.nextEl!==null)&&(typeof this._navigation.nextEl=="string"||typeof this._navigation.prevEl=="string"||typeof this._navigation.nextEl=="object"||typeof this._navigation.prevEl=="object"))}get navigation(){return this._navigation}set pagination(o){var e;let n=typeof this._pagination!="boolean"&&this._pagination!==""?(e=this._pagination)===null||e===void 0?void 0:e.el:null;this._pagination=Ol(o,{el:n||null}),this.showPagination=Wb(o,this._pagination,this._paginationElRef)}get pagination(){return this._pagination}set scrollbar(o){var e;let n=typeof this._scrollbar!="boolean"&&this._scrollbar!==""?(e=this._scrollbar)===null||e===void 0?void 0:e.el:null;this._scrollbar=Ol(o,{el:n||null}),this.showScrollbar=Wb(o,this._scrollbar,this._scrollbarElRef)}get scrollbar(){return this._scrollbar}set virtual(o){this._virtual=Ol(o)}get virtual(){return this._virtual}set config(o){this.updateSwiper(o);let{params:e}=lh(o);Object.assign(this,e)}set prevElRef(o){this._prevElRef=o,this._setElement(o,this.navigation,"navigation","prevEl")}set nextElRef(o){this._nextElRef=o,this._setElement(o,this.navigation,"navigation","nextEl")}set scrollbarElRef(o){this._scrollbarElRef=o,this._setElement(o,this.scrollbar,"scrollbar")}set paginationElRef(o){this._paginationElRef=o,this._setElement(o,this.pagination,"pagination")}get activeSlides(){return this.virtual?this._activeSlides:me(this.slides)}get zoomContainerClass(){return this.zoom&&typeof this.zoom!="boolean"?this.zoom.containerClass:"swiper-zoom-container"}_setElement(o,e,n,r="el"){if(!e||!o)return;if(o.nativeElement){if(e[r]===o.nativeElement)return;e[r]=o.nativeElement}let a={};a[n]=!0,this.updateInitSwiper(a)}ngOnInit(){let{params:o}=lh(this);Object.assign(this,o)}ngAfterViewInit(){this.childrenSlidesInit(),this.initSwiper(),this._changeDetectorRef.detectChanges(),setTimeout(()=>{this.s_swiper.emit(this.swiperRef)})}childrenSlidesInit(){this.slidesChanges(this.slidesEl),this.slidesEl.changes.subscribe(this.slidesChanges)}get isSwiperActive(){return this.swiperRef&&!this.swiperRef.destroyed}initSwiper(){let{params:o,passedParams:e}=lh(this);Object.assign(this,o),this._ngZone.runOutsideAngular(()=>{o.init=!1,o.virtual||(o.observer=!0),o.onAny=(l,...d)=>{let u=this["s_"+l];u&&u.emit([...d])};let n=(l,d)=>{d.forEach(({slideEl:u,classNames:f},g)=>{let _=u.getAttribute("data-swiper-slide-index"),D=_?parseInt(_):g;if(this.virtual){let E=this.slides.find(A=>A.virtualIndex&&A.virtualIndex===D);if(E){E.classNames=f;return}}this.slides[D]&&(this.slides[D].classNames=f)}),this._changeDetectorRef.detectChanges()},r=(l,d)=>{setTimeout(()=>{this.containerClasses=d})};Object.assign(o.on,{_containerClasses:r,_slideClasses:n});let a=new an(o);a.loopCreate=()=>{},a.loopDestroy=()=>{},o.loop&&(a.loopedSlides=this.loopedSlides);let s=sh(a.params.virtual);if(a.virtual&&s){a.virtual.slides=this.slides;let l={cache:!1,slides:this.slides,renderExternal:this.updateVirtualSlides,renderExternalUpdate:!1};Ln(a.params.virtual,l),Ln(a.originalParams.virtual,l)}if(za(this._platformId)){this.swiperRef=a.init(this.elementRef.nativeElement);let l=sh(this.swiperRef.params.virtual);this.swiperRef.virtual&&l&&this.swiperRef.virtual.update(!0),this._changeDetectorRef.detectChanges()}})}ngOnChanges(o){this.updateSwiper(o),this._changeDetectorRef.detectChanges()}updateInitSwiper(o){o&&this.swiperRef&&!this.swiperRef.destroyed&&this._ngZone.runOutsideAngular(()=>{let{params:e,pagination:n,navigation:r,scrollbar:a,virtual:s,thumbs:l}=this.swiperRef;o.pagination&&(this.pagination&&typeof this.pagination!="boolean"&&this.pagination.el&&n&&!n.el?(this.updateParameter("pagination",this.pagination),n.init(),n.render(),n.update()):(n.destroy(),n.el=null)),o.scrollbar&&(this.scrollbar&&typeof this.scrollbar!="boolean"&&this.scrollbar.el&&a&&!a.el?(this.updateParameter("scrollbar",this.scrollbar),a.init(),a.updateSize(),a.setTranslate()):(a.destroy(),a.el=null)),o.navigation&&(this.navigation&&typeof this.navigation!="boolean"&&this.navigation.prevEl&&this.navigation.nextEl&&r&&!r.prevEl&&!r.nextEl?(this.updateParameter("navigation",this.navigation),r.init(),r.update()):r.prevEl&&r.nextEl&&(r.destroy(),r.nextEl=null,r.prevEl=null)),o.thumbs&&this.thumbs&&this.thumbs.swiper&&(this.updateParameter("thumbs",this.thumbs),l.init()&&l.update(!0)),o.controller&&this.controller&&this.controller.control&&(this.swiperRef.controller.control=this.controller.control),this.swiperRef.update()})}updateSwiper(o){this._ngZone.runOutsideAngular(()=>{var e,n;if(!o.config&&o&&this.swiperRef&&!this.swiperRef.destroyed){for(let r in o){if(S9.indexOf(r)>=0)continue;let a=(n=(e=o[r])===null||e===void 0?void 0:e.currentValue)!==null&&n!==void 0?n:o[r];this.updateParameter(r,a)}o.allowSlideNext&&(this.swiperRef.allowSlideNext=this.allowSlideNext),o.allowSlidePrev&&(this.swiperRef.allowSlidePrev=this.allowSlidePrev),o.direction&&this.swiperRef.changeDirection(this.direction,!1),o.breakpoints&&(this.loop&&!this.loopedSlides&&this.calcLoopedSlides(),this.swiperRef.currentBreakpoint=null,this.swiperRef.setBreakpoint()),(o.thumbs||o.controller)&&this.updateInitSwiper(o),this.swiperRef.update()}})}calcLoopedSlides(){if(!this.loop)return!1;let o=this.slidesPerView;if(this.breakpoints){let n=an.prototype.getBreakpoint(this.breakpoints),r=n in this.breakpoints?this.breakpoints[n]:void 0;r&&r.slidesPerView&&(o=r.slidesPerView)}if(o==="auto")return this.loopedSlides=this.slides.length,this.slides.length;let e=this.loopedSlides||o;return e?(this.loopAdditionalSlides&&(e+=this.loopAdditionalSlides),e>this.slides.length&&(e=this.slides.length),this.loopedSlides=e,!0):!1}updateParameter(o,e){if(!(this.swiperRef&&!this.swiperRef.destroyed))return;let n=o.replace(/^_/,""),r=cr(this.swiperRef.params[n]);if(n==="enabled"){e===!0?this.swiperRef.enable():e===!1&&this.swiperRef.disable();return}r&&cr(e)?Ln(this.swiperRef.params[n],e):this.swiperRef.params[n]=e}ngOnDestroy(){this._ngZone.runOutsideAngular(()=>{var o;(o=this.swiperRef)===null||o===void 0||o.destroy(!0,!1)})}}return i.\u0275fac=function(o){return new(o||i)(c(M),c(S),c(V),c(Fa))},i.\u0275cmp=v({type:i,selectors:[["swiper"],["","swiper",""]],contentQueries:function(o,e,n){if(o&1&&Ge(n,ch,4),o&2){let r;ne(r=oe())&&(e.slidesEl=r)}},viewQuery:function(o,e){if(o&1&&(xe(t9,5),xe(i9,5),xe(n9,5),xe(o9,5)),o&2){let n;ne(n=oe())&&(e.prevElRef=n.first),ne(n=oe())&&(e.nextElRef=n.first),ne(n=oe())&&(e.scrollbarElRef=n.first),ne(n=oe())&&(e.paginationElRef=n.first)}},hostVars:2,hostBindings:function(o,e){o&2&&ii(e.containerClasses)},inputs:{enabled:"enabled",on:"on",direction:"direction",touchEventsTarget:"touchEventsTarget",initialSlide:"initialSlide",speed:"speed",cssMode:"cssMode",updateOnWindowResize:"updateOnWindowResize",resizeObserver:"resizeObserver",nested:"nested",focusableElements:"focusableElements",width:"width",height:"height",preventInteractionOnTransition:"preventInteractionOnTransition",userAgent:"userAgent",url:"url",edgeSwipeDetection:"edgeSwipeDetection",edgeSwipeThreshold:"edgeSwipeThreshold",freeMode:"freeMode",autoHeight:"autoHeight",setWrapperSize:"setWrapperSize",virtualTranslate:"virtualTranslate",effect:"effect",breakpoints:"breakpoints",spaceBetween:"spaceBetween",slidesPerView:"slidesPerView",maxBackfaceHiddenSlides:"maxBackfaceHiddenSlides",grid:"grid",slidesPerGroup:"slidesPerGroup",slidesPerGroupSkip:"slidesPerGroupSkip",centeredSlides:"centeredSlides",centeredSlidesBounds:"centeredSlidesBounds",slidesOffsetBefore:"slidesOffsetBefore",slidesOffsetAfter:"slidesOffsetAfter",normalizeSlideIndex:"normalizeSlideIndex",centerInsufficientSlides:"centerInsufficientSlides",watchOverflow:"watchOverflow",roundLengths:"roundLengths",touchRatio:"touchRatio",touchAngle:"touchAngle",simulateTouch:"simulateTouch",shortSwipes:"shortSwipes",longSwipes:"longSwipes",longSwipesRatio:"longSwipesRatio",longSwipesMs:"longSwipesMs",followFinger:"followFinger",allowTouchMove:"allowTouchMove",threshold:"threshold",touchMoveStopPropagation:"touchMoveStopPropagation",touchStartPreventDefault:"touchStartPreventDefault",touchStartForcePreventDefault:"touchStartForcePreventDefault",touchReleaseOnEdges:"touchReleaseOnEdges",uniqueNavElements:"uniqueNavElements",resistance:"resistance",resistanceRatio:"resistanceRatio",watchSlidesProgress:"watchSlidesProgress",grabCursor:"grabCursor",preventClicks:"preventClicks",preventClicksPropagation:"preventClicksPropagation",slideToClickedSlide:"slideToClickedSlide",preloadImages:"preloadImages",updateOnImagesReady:"updateOnImagesReady",loop:"loop",loopAdditionalSlides:"loopAdditionalSlides",loopedSlides:"loopedSlides",loopedSlidesLimit:"loopedSlidesLimit",loopFillGroupWithBlank:"loopFillGroupWithBlank",loopPreventsSlide:"loopPreventsSlide",rewind:"rewind",allowSlidePrev:"allowSlidePrev",allowSlideNext:"allowSlideNext",swipeHandler:"swipeHandler",noSwiping:"noSwiping",noSwipingClass:"noSwipingClass",noSwipingSelector:"noSwipingSelector",passiveListeners:"passiveListeners",containerModifierClass:"containerModifierClass",slideClass:"slideClass",slideBlankClass:"slideBlankClass",slideActiveClass:"slideActiveClass",slideDuplicateActiveClass:"slideDuplicateActiveClass",slideVisibleClass:"slideVisibleClass",slideDuplicateClass:"slideDuplicateClass",slideNextClass:"slideNextClass",slideDuplicateNextClass:"slideDuplicateNextClass",slidePrevClass:"slidePrevClass",slideDuplicatePrevClass:"slideDuplicatePrevClass",wrapperClass:"wrapperClass",runCallbacksOnInit:"runCallbacksOnInit",observeParents:"observeParents",observeSlideChildren:"observeSlideChildren",a11y:"a11y",autoplay:"autoplay",controller:"controller",coverflowEffect:"coverflowEffect",cubeEffect:"cubeEffect",fadeEffect:"fadeEffect",flipEffect:"flipEffect",creativeEffect:"creativeEffect",cardsEffect:"cardsEffect",hashNavigation:"hashNavigation",history:"history",keyboard:"keyboard",lazy:"lazy",mousewheel:"mousewheel",parallax:"parallax",thumbs:"thumbs",zoom:"zoom",slidesPerGroupAuto:"slidesPerGroupAuto",class:"class",id:"id",navigation:"navigation",pagination:"pagination",scrollbar:"scrollbar",virtual:"virtual",config:"config"},outputs:{s__beforeBreakpoint:"_beforeBreakpoint",s__containerClasses:"_containerClasses",s__slideClass:"_slideClass",s__swiper:"_swiper",s_activeIndexChange:"activeIndexChange",s_afterInit:"afterInit",s_autoplay:"autoplay",s_autoplayStart:"autoplayStart",s_autoplayStop:"autoplayStop",s_autoplayPause:"autoplayPause",s_autoplayResume:"autoplayResume",s_beforeDestroy:"beforeDestroy",s_beforeInit:"beforeInit",s_beforeLoopFix:"beforeLoopFix",s_beforeResize:"beforeResize",s_beforeSlideChangeStart:"beforeSlideChangeStart",s_beforeTransitionStart:"beforeTransitionStart",s_breakpoint:"breakpoint",s_changeDirection:"changeDirection",s_click:"click",s_doubleTap:"doubleTap",s_doubleClick:"doubleClick",s_destroy:"destroy",s_fromEdge:"fromEdge",s_hashChange:"hashChange",s_hashSet:"hashSet",s_imagesReady:"imagesReady",s_init:"init",s_keyPress:"keyPress",s_lazyImageLoad:"lazyImageLoad",s_lazyImageReady:"lazyImageReady",s_loopFix:"loopFix",s_momentumBounce:"momentumBounce",s_navigationHide:"navigationHide",s_navigationShow:"navigationShow",s_navigationPrev:"navigationPrev",s_navigationNext:"navigationNext",s_observerUpdate:"observerUpdate",s_orientationchange:"orientationchange",s_paginationHide:"paginationHide",s_paginationRender:"paginationRender",s_paginationShow:"paginationShow",s_paginationUpdate:"paginationUpdate",s_progress:"progress",s_reachBeginning:"reachBeginning",s_reachEnd:"reachEnd",s_realIndexChange:"realIndexChange",s_resize:"resize",s_scroll:"scroll",s_scrollbarDragEnd:"scrollbarDragEnd",s_scrollbarDragMove:"scrollbarDragMove",s_scrollbarDragStart:"scrollbarDragStart",s_setTransition:"setTransition",s_setTranslate:"setTranslate",s_slideChange:"slideChange",s_slideChangeTransitionEnd:"slideChangeTransitionEnd",s_slideChangeTransitionStart:"slideChangeTransitionStart",s_slideNextTransitionEnd:"slideNextTransitionEnd",s_slideNextTransitionStart:"slideNextTransitionStart",s_slidePrevTransitionEnd:"slidePrevTransitionEnd",s_slidePrevTransitionStart:"slidePrevTransitionStart",s_slideResetTransitionStart:"slideResetTransitionStart",s_slideResetTransitionEnd:"slideResetTransitionEnd",s_sliderMove:"sliderMove",s_sliderFirstMove:"sliderFirstMove",s_slidesLengthChange:"slidesLengthChange",s_slidesGridLengthChange:"slidesGridLengthChange",s_snapGridLengthChange:"snapGridLengthChange",s_snapIndexChange:"snapIndexChange",s_tap:"tap",s_toEdge:"toEdge",s_touchEnd:"touchEnd",s_touchMove:"touchMove",s_touchMoveOpposite:"touchMoveOpposite",s_touchStart:"touchStart",s_transitionEnd:"transitionEnd",s_transitionStart:"transitionStart",s_update:"update",s_zoomChange:"zoomChange",s_swiper:"swiper",s_lock:"lock",s_unlock:"unlock"},features:[rt],ngContentSelectors:I9,decls:13,vars:17,consts:[[4,"ngIf"],["class","swiper-scrollbar",4,"ngIf"],["class","swiper-pagination",4,"ngIf"],[3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["slidesTemplate",""],[1,"swiper-button-prev"],["prevElRef",""],[1,"swiper-button-next"],["nextElRef",""],[1,"swiper-scrollbar"],["scrollbarElRef",""],[1,"swiper-pagination"],["paginationElRef",""],[3,"ngClass","style","ngSwitch",4,"ngFor","ngForOf"],[3,"ngClass","ngSwitch"],[3,"ngClass",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(o,e){if(o&1&&(W(C9),R(0),O(1,r9,5,0,"ng-container",0)(2,a9,2,0,"div",1)(3,s9,2,0,"div",2),m(4,"div",3),R(5,1),O(6,c9,1,0,null,4)(7,u9,1,0,null,4)(8,p9,1,0,null,4),R(9,2),p(),R(10,3),O(11,_9,2,3,"ng-template",null,5,bo)),o&2){let n=bi(12);h(),k("ngIf",e.navigation&&e.showNavigation),h(),k("ngIf",e.scrollbar&&e.showScrollbar),h(),k("ngIf",e.pagination&&e.showPagination),h(),k("ngClass",e.wrapperClass),Ie("id",e.id),h(2),k("ngTemplateOutlet",n)("ngTemplateOutletContext",di(11,y9,e.prependSlides)),h(),k("ngTemplateOutlet",n)("ngTemplateOutletContext",di(13,x9,e.activeSlides)),h(),k("ngTemplateOutlet",n)("ngTemplateOutletContext",di(15,w9,e.appendSlides))}},dependencies:[hn,Co,yi,Ba,Wh,Gh,Zh,Yh],styles:[`swiper{display:block}
`],encapsulation:2,changeDetection:0}),i})(),Yb=(()=>{class i{}return i.\u0275fac=function(o){return new(o||i)},i.\u0275mod=Ce({type:i}),i.\u0275inj=ye({imports:[[xi]]}),i})();var Xb=(()=>{let t=class t{constructor(){this.url=ji.api+"/images/backgroundImage/"}transform(e){return e?this.url+e:""}};t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=Vt({name:"backgroundImage",type:t,pure:!0,standalone:!0});let i=t;return i})();var M9=(i,t)=>t.uuid;function D9(i,t){if(i&1){let o=_e();m(0,"app-carousel-item",3),P("goToDetail",function(n){de(o);let r=C(2);return ue(r.navigate(n))}),p()}if(i&2){let o=C().$implicit,e=C();k("spirit",o)("menu",e.menu)}}function k9(i,t){i&1&&O(0,D9,1,2,"ng-template",4)}an.use([kl,El,Ml,Dl,Tl]);var Qb=(()=>{let t=class t{constructor(e,n){this.router=e,this.zone=n,this.uuid="",this.spirits=null,this.section="",this.getSpirits=new I,this.local=w(Xe),this.SECTIONS=pt.SECTIONS,this.activeSpirit=null,this.swiperOptions={slidesPerView:3,spaceBetween:50,centeredSlides:!0,loop:!1,breakpointsBase:"window",effect:"coverflow",slideToClickedSlide:!0,observer:!0,runCallbacksOnInit:!0,mousewheel:!0,keyboard:{enabled:!0},virtual:{enabled:!0,addSlidesAfter:3,addSlidesBefore:3,cache:!1},freeMode:{enabled:!0,momentum:!0,sticky:!0},coverflowEffect:{rotate:0,modifier:1,slideShadows:!1,scale:1},initialSlide:0,breakpoints:{640:{slidesPerView:4,spaceBetween:50},1024:{slidesPerView:4,spaceBetween:50},1300:{slidesPerView:6,spaceBetween:70},2048:{slidesPerView:8,spaceBetween:70}}}}ngOnInit(){this.initialize()}initialize(){this.activeSpirit=this.spirits[0]??null}onSlide(e){this.zone.run(()=>{setTimeout(()=>{let n=e[0].activeIndex,r=this.spirits[n];this.activeSpirit=r,this.spirits.length-4<=n&&this.section!=this.SECTIONS.FAVORITES&&this.getSpirits.emit()},200)})}navigate(e){e.uuid==this.activeSpirit.uuid&&(this.local.setDataWithExpiration("detailSpirit",JSON.stringify(e),0,1),this.router.navigate([`/${this.uuid}/menu/${e.uuid}`]))}};t.\u0275fac=function(n){return new(n||t)(c(je),c(M))},t.\u0275cmp=v({type:t,selectors:[["app-carousel"]],inputs:{uuid:"uuid",spirits:"spirits",menu:"menu",section:"section"},outputs:{getSpirits:"getSpirits"},standalone:!0,features:[x],decls:9,vars:8,consts:[[1,"background"],["onerror","this.onerror=null;this.src='assets/images/fondo-carrusel.png';",3,"src"],[1,"swiper",3,"config","slideChange"],[3,"spirit","menu","goToDetail"],["swiperSlide",""]],template:function(n,r){n&1&&(m(0,"div",0),b(1,"img",1),F(2,"backgroundImage"),p(),m(3,"main")(4,"swiper",2),P("slideChange",function(s){return r.onSlide(s)}),Te(5,k9,1,0,null,4,M9),p()(),m(7,"footer")(8,"app-carousel-active-item",3),P("goToDetail",function(s){return r.navigate(s)}),p()()),n&2&&(ee("cover",(r.menu.backgroundImage==null?null:r.menu.backgroundImage.objectFit)=="cover"),h(),k("src",r.menu.user.activeModules.includes("backgroundImage")?$(2,6,r.menu.backgroundImage==null?null:r.menu.backgroundImage.image):"assets/images/fondo-carrusel.png",yt),h(3),k("config",r.swiperOptions),h(),Oe(r.spirits),h(3),k("spirit",r.activeSpirit)("menu",r.menu))},dependencies:[V1,N1,Xb,Yb,qb,ch],styles:["main[_ngcontent-%COMP%]{width:100%;height:calc(100% - 100px)}main[_ngcontent-%COMP%]   .swiper[_ngcontent-%COMP%]{height:100%}main[_ngcontent-%COMP%]     .swiper-wrapper{height:100%;display:flex;align-items:center}main[_ngcontent-%COMP%]     .swiper-slide{height:95%}main[_ngcontent-%COMP%]     .swiper-slide-active{z-index:1}main[_ngcontent-%COMP%]     .swiper-slide-active img{filter:brightness(1) drop-shadow(0px 0px 16px rgba(0,0,0,.2))!important}main[_ngcontent-%COMP%]   app-carousel-item[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;justify-content:center}footer[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:flex-start;height:100px;position:relative;z-index:1}.background[_ngcontent-%COMP%]{position:absolute;display:block;height:100%;width:100%}.background.cover[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{object-fit:cover!important}.background[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:100%;width:100%;object-fit:contain;margin-top:-16px}@media (width < 576px){  .swiper-slide{height:75%!important}.background[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{transform:scale(1.2)}}"]});let i=t;return i})();function T9(i,t){if(i&1&&(m(0,"article")(1,"figure",0),b(2,"img"),p(),m(3,"div",1),b(4,"h5",0)(5,"small",0),m(6,"div",2),b(7,"span",0)(8,"span",0),p()()()),i&2){let o=t.$index;dn("placeholder-wave placeholder-",o,"")}}var Kb=(()=>{let t=class t{constructor(){this.items=[1,2,3,4,5]}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["app-grid-placeholder"]],standalone:!0,features:[x],decls:3,vars:0,consts:[[1,"placeholder"],[1,"info"],[1,"prices"],[3,"class"]],template:function(n,r){n&1&&(m(0,"section"),Te(1,T9,9,3,"article",3,vo),p()),n&2&&(h(),Oe(r.items))},styles:["section[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));grid-template-rows:max-content;align-items:flex-start;gap:24px 18px;width:100%;height:fit-content}article[_ngcontent-%COMP%]{display:grid;grid-template-columns:64px 1fr;align-items:center;gap:8px}article[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;align-items:center;height:64px;width:90%;margin:0 0 0 10%}article[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:90%}article[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{display:flex;flex-direction:column}article[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{max-width:90%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0!important}article[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{max-width:70%;margin:.25rem 0}article[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .prices[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;overflow:hidden}article[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .prices[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:40px}article.placeholder-1[_ngcontent-%COMP%]{opacity:.75}article.placeholder-2[_ngcontent-%COMP%]{opacity:.5}article.placeholder-3[_ngcontent-%COMP%]{opacity:.25}article.placeholder-4[_ngcontent-%COMP%]{opacity:.1}"]});let i=t;return i})();function O9(i,t){if(i&1&&(m(0,"div"),b(1,"div",2),p()),i&2){let o=t.$index;dn("item placeholder-wave placeholder-",o,"")}}var Jb=(()=>{let t=class t{constructor(){this.items=[1,2,3,4,5,6,7]}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["app-carousel-placeholder"]],standalone:!0,features:[x],decls:11,vars:0,consts:[[1,"swiper"],[1,"placeholder-wave"],[1,"placeholder"],[1,"prices"],[3,"class"]],template:function(n,r){n&1&&(m(0,"main")(1,"section",0),Te(2,O9,2,3,"div",4,vo),p()(),m(4,"footer")(5,"section",1),b(6,"h5",2)(7,"small",2),m(8,"div",3),b(9,"span",2)(10,"span",2),p()()()),n&2&&(h(2),Oe(r.items))},styles:["main[_ngcontent-%COMP%]{width:100%;height:calc(100% - 100px)}main[_ngcontent-%COMP%]   .swiper[_ngcontent-%COMP%]{height:100%;display:flex;justify-content:center;flex-wrap:nowrap;gap:30px}main[_ngcontent-%COMP%]   .swiper[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{flex-basis:270px;flex-shrink:0;flex-grow:0;display:flex;align-items:center;justify-content:center}main[_ngcontent-%COMP%]   .swiper[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   .placeholder[_ngcontent-%COMP%]{height:90%;width:85%}main[_ngcontent-%COMP%]   .swiper[_ngcontent-%COMP%]   .placeholder-0[_ngcontent-%COMP%], main[_ngcontent-%COMP%]   .swiper[_ngcontent-%COMP%]   .placeholder-1[_ngcontent-%COMP%], main[_ngcontent-%COMP%]   .swiper[_ngcontent-%COMP%]   .placeholder-2[_ngcontent-%COMP%]{opacity:0}main[_ngcontent-%COMP%]   .swiper[_ngcontent-%COMP%]   .placeholder-4[_ngcontent-%COMP%]{opacity:.5}main[_ngcontent-%COMP%]   .swiper[_ngcontent-%COMP%]   .placeholder-5[_ngcontent-%COMP%]{opacity:.25}main[_ngcontent-%COMP%]   .swiper[_ngcontent-%COMP%]   .placeholder-6[_ngcontent-%COMP%]{opacity:.1}footer[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:100px}footer[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center}footer[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{width:250px;margin-bottom:.25rem}footer[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{width:100px}footer[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .prices[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin-top:14px;gap:8px}footer[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .prices[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:50px}"]});let i=t;return i})();var e_=(()=>{let t=class t{constructor(e,n){this.router=e,this.route=n,this.goToDetail=new I,this.local=w(Xe)}ngOnInit(){this.copa=this.spirit.priceVariants.find(e=>e.priceVariant.slugName=="copa"),this.botella=this.spirit.priceVariants.find(e=>e.priceVariant.slugName=="botella")}navigate(e){this.goToDetail.emit(e)}favorite(e){e.fav=!e.fav,this.local.manageFavorites(e)}};t.\u0275fac=function(n){return new(n||t)(c(je),c(it))},t.\u0275cmp=v({type:t,selectors:[["app-grouped-item"]],inputs:{spirit:"spirit",menu:"menu"},outputs:{goToDetail:"goToDetail"},standalone:!0,features:[x],decls:21,vars:19,consts:[[1,"spirit"],[1,"fav",3,"click"],[3,"src"],[1,"info",3,"click"],[1,"text-light"],[1,"prices"]],template:function(n,r){if(n&1&&(m(0,"article")(1,"div",0)(2,"div",1),P("click",function(s){return r.favorite(r.spirit),s.stopPropagation()}),b(3,"img",2),p(),m(4,"div",3),P("click",function(){return r.navigate(r.spirit)}),m(5,"h6"),y(6),F(7,"spiritTranslation"),p(),m(8,"small"),y(9),F(10,"spiritTranslation"),p(),m(11,"small",4),y(12),F(13,"catalogTranslation"),F(14,"catalogTranslation"),p()()(),m(15,"div",5)(16,"small"),y(17),p(),y(18," / "),m(19,"small"),y(20),p()()()),n&2){let a,s;h(2),ee("fav-active",r.spirit.fav),h(),mn("src","assets/images/",r.spirit.fav?"fav":"no-fav",".png",yt),h(3),Z(et(7,9,r.spirit,"name")),h(3),Z(et(10,12,r.spirit,"subname")),h(3),Fi("",$(13,15,r.spirit.catalogSpirit.region)," ",$(14,17,r.spirit.catalogSpirit.type),""),h(5),Z(r.copa!=null&&r.copa.price?r.copa.price+" "+((a=r.menu.currency==null?null:r.menu.currency.symbol)!==null&&a!==void 0?a:"\u20AC"):"-"),h(3),Z(r.botella!=null&&r.botella.price?r.botella.price+" "+((s=r.menu.currency==null?null:r.menu.currency.symbol)!==null&&s!==void 0?s:"\u20AC"):"-")}},dependencies:[Ni,kt],styles:["article[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}article[_ngcontent-%COMP%]   .spirit[_ngcontent-%COMP%]{display:flex;gap:8px}article[_ngcontent-%COMP%]   .spirit[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{display:flex;flex-direction:column;cursor:pointer}article[_ngcontent-%COMP%]   .spirit[_ngcontent-%COMP%]   .fav[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:14px;width:14px;margin-top:3px;cursor:pointer}article[_ngcontent-%COMP%]   .prices[_ngcontent-%COMP%]{display:inline;white-space:nowrap}"]});let i=t;return i})();var P9=(i,t)=>t.uuid;function F9(i,t){if(i&1){let o=_e();m(0,"app-grouped-item",1),P("goToDetail",function(n){de(o);let r=C();return ue(r.navigate(n))}),p()}if(i&2){let o=t.$implicit,e=C();k("spirit",o)("menu",e.menu)}}var t_=(()=>{let t=class t{constructor(e){this.router=e,this.uuid="",this.spirits=[],this.section="",this.local=w(Xe),this.SECTIONS=pt.SECTIONS}navigate(e){this.local.setDataWithExpiration("detailSpirit",JSON.stringify(e),0,1),this.router.navigate([`/${this.uuid}/menu/${e.uuid}`])}};t.\u0275fac=function(n){return new(n||t)(c(je))},t.\u0275cmp=v({type:t,selectors:[["app-grouped"]],inputs:{uuid:"uuid",spirits:"spirits",menu:"menu",section:"section"},standalone:!0,features:[x],decls:8,vars:8,consts:[[1,"text-light"],[3,"spirit","menu","goToDetail"],[3,"spirit","menu"]],template:function(n,r){n&1&&(m(0,"section")(1,"header")(2,"small",0),y(3),F(4,"priceVariantTranslation"),F(5,"priceVariantTranslation"),p()(),Te(6,F9,1,2,"app-grouped-item",2,P9),p()),n&2&&(h(3),Fi(" ",et(4,2,r.menu,"copa")," / ",et(5,5,r.menu,"botella")," "),h(3),Oe(r.spirits))},dependencies:[df,e_,Re],styles:["section[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;max-width:960px;width:calc(100% - 32px);padding:0 16px;width:100%;height:fit-content}section[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;width:100%;margin-bottom:16px}section[_ngcontent-%COMP%]   app-grouped-item[_ngcontent-%COMP%]{width:100%;padding-bottom:12px}@media (width < 576px){section[_ngcontent-%COMP%]{width:100%;padding:0}}"]});let i=t;return i})();function A9(i,t){if(i&1&&(m(0,"article")(1,"div",2)(2,"div",3),b(3,"span",1),p(),m(4,"div",4),b(5,"h6",1)(6,"small",1),p()(),m(7,"div",5),b(8,"small",1),y(9," / "),b(10,"small",1),p()()),i&2){let o=t.$index;dn("placeholder-wave placeholder-",o,"")}}var i_=(()=>{let t=class t{constructor(){this.items=[1,2,3,4,5]}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["app-grouped-placeholder"]],standalone:!0,features:[x],decls:7,vars:0,consts:[[1,"placeholder-wave","prices"],[1,"placeholder"],[1,"spirit"],[1,"fav"],[1,"info"],[1,"prices"],[3,"class"]],template:function(n,r){n&1&&(m(0,"section")(1,"header",0),b(2,"small",1),y(3," / "),b(4,"small",1),p(),Te(5,A9,11,3,"article",6,vo),p()),n&2&&(h(5),Oe(r.items))},styles:["section[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;max-width:960px;width:calc(100% - 32px);padding:0 16px}section[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]{display:flex!important;justify-content:flex-end;width:100%;margin-bottom:16px;gap:4px}section[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{width:40px!important}section[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:flex-start;width:100%}section[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]   .spirit[_ngcontent-%COMP%]{display:flex;gap:8px;margin-bottom:12px}section[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]   .spirit[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{display:flex;flex-direction:column}section[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]   .spirit[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{width:200px;margin-top:.25rem;margin-bottom:.25rem}section[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]   .spirit[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{width:100px;margin-bottom:.25rem}section[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]   .spirit[_ngcontent-%COMP%]   .fav[_ngcontent-%COMP%]   .placeholder[_ngcontent-%COMP%]{height:14px;width:14px;margin-top:3px}section[_ngcontent-%COMP%]   article.placeholder-1[_ngcontent-%COMP%]{opacity:.75}section[_ngcontent-%COMP%]   article.placeholder-2[_ngcontent-%COMP%]{opacity:.5}section[_ngcontent-%COMP%]   article.placeholder-3[_ngcontent-%COMP%]{opacity:.25}section[_ngcontent-%COMP%]   article.placeholder-4[_ngcontent-%COMP%]{opacity:.1}section[_ngcontent-%COMP%]   .prices[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px}section[_ngcontent-%COMP%]   .prices[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{width:25px}@media (width < 576px){section[_ngcontent-%COMP%]{width:100%;padding:0}}"]});let i=t;return i})();var R9=()=>[An,kt],L9=(i,t)=>t.uuid;function j9(i,t){if(i&1&&(m(0,"span",7),y(1),p()),i&2){let o=C(2).$implicit,e;h(),Z((e=o==null?null:o.selectedCount)!==null&&e!==void 0?e:0)}}function V9(i,t){if(i&1){let o=_e();m(0,"div",3),P("click",function(){de(o);let n=C().$implicit,r=C(2);return ue(r.openFilter(n))}),b(1,"app-data-icon",4),m(2,"span",5),y(3),F(4,"catalogTranslation"),p(),O(5,j9,2,1,"span",6),p()}if(i&2){let o=C().$implicit;h(),k("type",o==null||o.filter==null?null:o.filter.name),h(2),Z($(4,3,o)),h(2),H(5,o!=null&&o.selectedCount?5:-1)}}function N9(i,t){if(i&1&&O(0,V9,6,5,"div",2),i&2){let o=t.$implicit,e=C(2),n,r;H(0,(n=e.allFilters())!=null&&n[(r=o==null||o.filter==null?null:o.filter.name)!==null&&r!==void 0?r:""]&&((n=e.allFilters())==null?null:n[o.filter.name].length)>0?0:-1)}}function B9(i,t){if(i&1&&Te(0,N9,1,1,null,null,L9),i&2){let o=C();Oe(o.categoryFilters())}}function z9(i,t){i&1&&(m(0,"div",8),b(1,"div",9)(2,"h5",9),p(),m(3,"div",8),b(4,"div",9)(5,"h5",9),p())}var n_=(()=>{let t=class t{constructor(e,n){this.data=e,this._bottomSheetRef=n,this.api=w(Ye),this.categoryFilters=be(null),this.allFilters=be(null)}ngOnInit(){this.categoryFilters.set(this.data.categoryFilters),this.allFilters.set(this.data.allFilters),this.getSelectedFiltersCount()}openFilter(e){this._bottomSheetRef.dismiss(e)}openPriceVariantFilter(){this._bottomSheetRef.dismiss(xl)}getSelectedFiltersCount(){let e=this.api.getSelectedFilters();this.categoryFilters()?.forEach(n=>{let r=n.filter.name;n.selectedCount=e[r].length})}dismiss(){this._bottomSheetRef.dismiss()}};t.\u0275fac=function(n){return new(n||t)(c(_a),c(On))},t.\u0275cmp=v({type:t,selectors:[["app-mobile-filters"]],standalone:!0,features:[x],decls:15,vars:4,consts:[[1,"text-white"],["mat-icon-button","",1,"text-light",3,"click"],["class","filter"],[1,"filter",3,"click"],[1,"text-light","icon",3,"type"],[1,"name"],["class","count"],[1,"count"],[1,"filter","placeholder-wave"],[1,"placeholder"]],template:function(n,r){n&1&&(m(0,"header")(1,"div")(2,"mat-icon",0),y(3,"tune"),p(),m(4,"span",0),y(5),F(6,"translate"),p()(),m(7,"button",1),P("click",function(){return r.dismiss()}),m(8,"mat-icon"),y(9,"close"),p()()(),m(10,"main"),O(11,B9,2,0)(12,z9,6,0),ht(13,11,R9,null,12),p()),n&2&&(h(5),Z($(6,2,"menu.filters")),h(8),ft(r.categoryFilters()&&r.allFilters()))},dependencies:[nt,st,at,Kt,Pn,Re,$e],styles:["header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}main[_ngcontent-%COMP%]{padding:8px;display:flex;flex-direction:column;gap:8px}main[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]{display:flex;align-items:center;height:48px;width:100%;cursor:pointer;color:#fff;gap:12px}main[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]   .count[_ngcontent-%COMP%]{width:18px;height:18px;background-color:#fff;border-radius:50%;color:#636366;font-size:13px;line-height:18px;text-align:center;margin-left:auto}main[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]   div.placeholder[_ngcontent-%COMP%]{width:24px;height:24px}main[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]   h5.placeholder[_ngcontent-%COMP%]{width:80px}"]});let i=t;return i})();var o_=(()=>{let t=class t{constructor(e){this._bottomSheet=e,this.update=new I,this.api=w(Ye),this.categoryFilters=be(null),this.allFilters=be(null)}ngOnInit(){this.getCategoryFilters()}openFilters(){this._bottomSheet.open(n_,{data:{categoryFilters:this.categoryFilters(),allFilters:this.allFilters()},panelClass:"mat-bottom-sheet-container-medium"}).afterDismissed().subscribe(n=>{n&&this.openSelectedFilter(n)})}openSelectedFilter(e){this._bottomSheet.open(fl,{data:{categoryFilter:e,allFilters:this.allFilters()},panelClass:"mat-bottom-sheet-container-medium"}).afterDismissed().subscribe(r=>{r&&this.update.emit()})}getCategoryFilters(){this.api.getCategoryFilters().subscribe(e=>{this.categoryFilters.set(e),e.length>0&&this.getAllFilterData(e[0].uuid)})}getAllFilterData(e){this.api.getAllFilterData(e).subscribe(n=>{this.allFilters.set(n)})}};t.\u0275fac=function(n){return new(n||t)(c(Ca))},t.\u0275cmp=v({type:t,selectors:[["app-footer-mobile-filters-button"]],outputs:{update:"update"},standalone:!0,features:[x],decls:8,vars:3,consts:[["mat-flat-button","","color","primary",3,"click"],["iconPositionEnd",""]],template:function(n,r){n&1&&(m(0,"button",0),P("click",function(){return r.openFilters()}),m(1,"mat-icon"),y(2,"tune"),p(),m(3,"span"),y(4),F(5,"translate"),p(),m(6,"mat-icon",1),y(7,"keyboard_arrow_up"),p()()),n&2&&(h(4),Z($(5,1,"menu.filters")))},dependencies:[nt,st,at,Ht,Pn,Re,$e]});let i=t;return i})();var H9=(i,t)=>t.key,$9=(i,t)=>t.uuid;function U9(i,t){if(i&1){let o=_e();m(0,"button",4),P("click",function(){let r=de(o).$implicit,a=C(2).$implicit,s=C(2);return ue(s.deleteSelectedFilter(a.key,r.uuid))}),b(1,"app-data-icon",5),m(2,"span"),y(3),p(),m(4,"mat-icon",3),y(5,"close"),p()()}if(i&2){let o=t.$implicit,e=C(2).$implicit;h(),k("type",e.key),h(2),Z(o.name)}}function W9(i,t){if(i&1&&Te(0,U9,6,2,"button",6,$9),i&2){let o=C().$implicit;Oe(o.value)}}function G9(i,t){if(i&1&&O(0,W9,2,0),i&2){let o=t.$implicit;H(0,o.key!="category"?0:-1)}}function Z9(i,t){if(i&1){let o=_e();m(0,"div",1)(1,"button",2),P("click",function(){de(o);let n=C();return ue(n.deleteAllSelectedFilters())}),m(2,"span"),y(3,"Borrar filtros"),p(),m(4,"mat-icon",3),y(5,"close"),p()(),Te(6,G9,1,1,null,null,H9),F(8,"keyvalue"),p()}if(i&2){let o=C();h(6),Oe($(8,0,o.selectedFilters()))}}var Sa=(()=>{let t=class t{constructor(){this.update=new I,this.api=w(Ye),this.selectedFilters=be(null),this.anySelectedFilter=be(!1)}ngOnInit(){this.updateSelectedFilters()}updateSelectedFilters(){this.selectedFilters.set(this.api.getSelectedFilters()),this.anySelectedFilter.set(this.checkSelectedFilters())}checkSelectedFilters(){if(!this.selectedFilters())return!1;for(let e in this.selectedFilters())if(this.selectedFilters()[e].length>0&&e!="category")return!0;return!1}deleteAllSelectedFilters(){for(let e in this.selectedFilters())e!="category"&&(this.selectedFilters()[e]=[]);this.api.setSelectedFilters(this.selectedFilters()),this.anySelectedFilter.set(!1),this.updateSpirits()}deleteSelectedFilter(e,n){let r=this.selectedFilters()[e].find(a=>a.uuid==n);if(r){let a=this.selectedFilters()[e].indexOf(r);this.selectedFilters()[e].splice(a,1)}this.api.setSelectedFilters(this.selectedFilters()),this.anySelectedFilter.set(this.checkSelectedFilters()),this.updateSpirits()}updateSpirits(){this.update.emit()}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["app-selected-filters"]],outputs:{update:"update"},standalone:!0,features:[x],decls:1,vars:1,consts:[["class","selected-filters"],[1,"selected-filters"],["mat-flat-button","",3,"click"],["iconPositionEnd",""],["mat-stroked-button","",1,"text-white","border-white",3,"click"],[1,"icon",3,"type"],["mat-stroked-button","","class","text-white border-white"]],template:function(n,r){n&1&&O(0,Z9,9,2,"div",0),n&2&&H(0,r.anySelectedFilter()?0:-1)},dependencies:[Xh,nt,st,at,Ht,An],styles:[".selected-filters[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;text-wrap:nowrap}.selected-filters[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:0 8px;height:30px;border-radius:3.2px}.selected-filters[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]     .mdc-button__label{display:flex;align-items:center;gap:6px;font-weight:700}.selected-filters[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{height:20px;width:20px}"]});let i=t;return i})();var Fl=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["app-spirits-empty"]],standalone:!0,features:[x],decls:2,vars:0,consts:[[1,"text-white"]],template:function(n,r){n&1&&(m(0,"h1",0),y(1,"No hay spirits"),p())}});let i=t;return i})();var q9=["appSelectedFilters"],Y9=["appSelectedFiltersMobile"],X9=["appDesktopFilters"],Q9=["appCarousel"],K9=()=>[$e,Pv,$m,Fv,Av,Sa,st,Kt],J9=i=>({count:i});function eD(i,t){if(i&1){let o=_e();m(0,"section",1)(1,"div",2)(2,"button",3),P("click",function(){de(o);let n=C();return ue(n.goHome())}),m(3,"mat-icon"),y(4,"keyboard_arrow_left"),p()(),m(5,"span"),y(6),F(7,"translate"),p()(),m(8,"div",4)(9,"app-section-switch",5),P("update",function(n){de(o);let r=C();return ue(r.changeSection(n))}),p()()(),m(10,"section",6),b(11,"app-menu-title",7),m(12,"span",8),y(13),F(14,"translate"),p(),m(15,"app-selected-filters",9,10),P("update",function(){de(o);let n=C();return ue(n.applyFilters())}),p()(),m(17,"section",11)(18,"app-search",12),P("update",function(n){de(o);let r=C();return ue(r.changeSearch(n))}),p(),m(19,"app-view-switch",13),P("update",function(n){de(o);let r=C();return ue(r.changeView(n))}),p()()}if(i&2){let o=C();h(6),Z($(7,10,"menu.spirit_type")),h(3),k("menu",o.menu)("section",o.section()),h(2),k("menu",o.menu)("section",o.section()),h(2),Be(" ",et(14,12,"menu.spirits_total",di(15,J9,o.totalSpirits))," "),h(5),k("search",o.search())("section",o.section()),h(),k("menu",o.menu)("view",o.view())}}var tD=()=>[lp,Lv,Fl];function iD(i,t){if(i&1){let o=_e();m(0,"app-grid",15),P("scrolled",function(){de(o);let n=C(3);return ue(n.getSpirits())}),p()}if(i&2){let o=C(3);k("uuid",o.slugname)("spirits",o.spirits())("menu",o.menu)("section",o.section())("infiniteScrollThrottle",10)("scrollWindow",!1)}}function nD(i,t){i&1&&b(0,"app-spirits-empty")}function oD(i,t){if(i&1&&O(0,iD,1,6,"app-grid",14)(1,nD,1,0,"app-spirits-empty"),i&2){let o=C(2);H(0,o.spirits()&&o.spirits().length>0?0:-1),h(),H(1,o.spirits()&&o.spirits().length==0?1:-1)}}function rD(i,t){i&1&&b(0,"app-grid-placeholder")}function aD(i,t){if(i&1&&(O(0,oD,2,2)(1,rD,1,0),ht(2,0,tD,null,1)),i&2){let o=C();h(2),ft(o.spirits())}}var sD=()=>[Qb,Fl];function lD(i,t){if(i&1){let o=_e();m(0,"app-carousel",17,18),P("getSpirits",function(){de(o);let n=C(3);return ue(n.getSpirits())}),p()}if(i&2){let o=C(3);k("uuid",o.slugname)("spirits",o.spirits())("menu",o.menu)("section",o.section())}}function cD(i,t){i&1&&b(0,"app-spirits-empty")}function dD(i,t){if(i&1&&O(0,lD,2,4,"app-carousel",16)(1,cD,1,0,"app-spirits-empty"),i&2){let o=C(2);H(0,o.spirits()&&o.spirits().length>0?0:-1),h(),H(1,o.spirits()&&o.spirits().length==0?1:-1)}}function uD(i,t){i&1&&b(0,"app-carousel-placeholder")}function mD(i,t){if(i&1&&(O(0,dD,2,2)(1,uD,1,0),ht(2,0,sD,null,1)),i&2){let o=C();h(2),ft(o.spirits())}}var pD=()=>[lp,t_,Fl];function hD(i,t){if(i&1){let o=_e();m(0,"app-grouped",15),P("scrolled",function(){de(o);let n=C(3);return ue(n.getSpirits())}),p()}if(i&2){let o=C(3);k("uuid",o.slugname)("spirits",o.spirits())("menu",o.menu)("section",o.section())("infiniteScrollThrottle",10)("scrollWindow",!1)}}function fD(i,t){i&1&&b(0,"app-spirits-empty")}function gD(i,t){if(i&1&&O(0,hD,1,6,"app-grouped",14)(1,fD,1,0,"app-spirits-empty"),i&2){let o=C(2);H(0,o.spirits()&&o.spirits().length>0?0:-1),h(),H(1,o.spirits()&&o.spirits().length==0?1:-1)}}function vD(i,t){i&1&&b(0,"app-grouped-placeholder")}function bD(i,t){if(i&1&&(O(0,gD,2,2)(1,vD,1,0),ht(2,0,pD,null,1)),i&2){let o=C();h(2),ft(o.spirits())}}function _D(i,t){if(i&1){let o=_e();m(0,"app-footer-desktop-filters",9,19),P("update",function(){de(o);let n=C();return ue(n.applyFilters())}),p(),m(2,"app-footer-mobile-filters-button",9),P("update",function(){de(o);let n=C();return ue(n.applyFilters())}),p(),m(3,"section",20)(4,"app-selected-filters",9,21),P("update",function(){de(o);let n=C();return ue(n.applyFilters())}),p()()}}var r_=(()=>{let t=class t{constructor(e,n){this.route=e,this.router=n,this.appSelectedFilters=new Sa,this.appSelectedFiltersMobile=new Sa,this.appDesktopFilters=new ip,this.VIEWS=pt.VIEWS,this.SECTIONS=pt.SECTIONS,this.uuid="",this.slugname="",this.local=w(Xe),this.api=w(Ye),this.translate=w(Bt),this.view=be(""),this.section=be(this.SECTIONS.MENU),this.search=be(""),this.spirits=be(null),this.groupedSpirits=be(null),this.totalSpirits=0,this.fastGlassFilter=!0,this.page=0,this.limitReached=!1}ngOnInit(){this.setLang(),this.slugname=this.route.snapshot.url[0].path,this.getMenu(),this.router.events.subscribe(e=>{e instanceof Qi&&this.checkFavChanges()})}getMenu(){this.api.getMenu().subscribe(e=>{this.menu=e,this.getLocalData()})}getLocalData(){this.section.set(this.local.getData("section")??this.SECTIONS.MENU),this.view.set(this.local.getDataWithExpiration("view")??this.menu.defaultView??this.VIEWS.CAROUSEL),this.search.set(this.local.getData("search")??""),this.getSpirits()}getSpirits(){if(this.section()==this.SECTIONS.FAVORITES){this.getFavorites();return}if(!this.limitReached){if(this.page++,this.page===1){let e=this.local.getDataWithExpiration("spirits"+this.section());e?this.spirits.update(()=>JSON.parse(e)):this.spirits.update(()=>null)}this.getCompanySpirits()}}getCompanySpirits(){this.api.getCompanySpirits(this.page,this.section(),this.search()).subscribe(e=>{this.page===1?(this.totalSpirits=0,this.spirits.set(e.results),this.local.setDataWithExpiration("spirits"+this.section(),JSON.stringify(e.results),0,1)):this.spirits.update(n=>[...n,...e.results]),this.totalSpirits=e.totalItems??0,e.pagination[0].more||(this.limitReached=!0),this.view()==this.VIEWS.GRID&&this.fillWindow()})}changeSection(e){this.section.update(()=>e),e==this.SECTIONS.FAVORITES?this.getFavorites():this.restartSpirits()}changeView(e){this.view.update(()=>e),this.spirits()||this.getSpirits(),e==this.VIEWS.GRID&&this.fillWindow()}changeSearch(e){this.search.update(()=>e),this.restartSpirits()}applyFilters(){this.restartSpirits(),this.updateSelectedFilters()}restartSpirits(){this.limitReached=!1,this.page=0,this.spirits.update(()=>null),this.getSpirits()}goHome(){this.router.navigate(["../categories"],{relativeTo:this.route})}getFavorites(){let e=this.local.getData("favorites"),n=e?JSON.parse(e):{},r=this.api.getSelectedFilters().category[0].uuid,a=n[r]??[];this.spirits.set(a),this.totalSpirits=this.spirits()?.length??0,this.view()==this.VIEWS.CAROUSEL&&a&&a.length>0&&setTimeout(()=>{this.appCarousel.initialize()},100)}setLang(e){let n=this.local.getData("language")??e;n&&this.translate.use(n)}fillWindow(){let e=window.innerHeight,n=window.innerWidth,r=e-220;this.spirits().length<r*n/24e3&&this.getSpirits()}updateSelectedFilters(){this.appSelectedFilters.updateSelectedFilters(),this.appSelectedFiltersMobile.updateSelectedFilters(),this.appDesktopFilters.getSelectedFiltersCount()}checkFavChanges(){let e=this.local.getData("favUpdatedSpirit");if(e){let n=JSON.parse(e);this.local.removeData("favUpdatedSpirit");let r=this.spirits()?.find(a=>a.uuid==n.uuid);r&&(r.fav=n.fav)}}};t.\u0275fac=function(n){return new(n||t)(c(it),c(je))},t.\u0275cmp=v({type:t,selectors:[["app-menu"]],viewQuery:function(n,r){if(n&1&&(xe(q9,5),xe(Y9,5),xe(X9,5),xe(Q9,5)),n&2){let a;ne(a=oe())&&(r.appSelectedFilters=a.first),ne(a=oe())&&(r.appSelectedFiltersMobile=a.first),ne(a=oe())&&(r.appDesktopFilters=a.first),ne(a=oe())&&(r.appCarousel=a.first)}},inputs:{uuid:"uuid"},standalone:!0,features:[x],decls:12,vars:5,consts:[["id","spirits"],[1,"first-row"],[1,"left"],["mat-icon-button","",3,"click"],[1,"center"],[3,"menu","section","update"],[1,"second-row"],[3,"menu","section"],[1,"spirits-total"],[3,"update"],["appSelectedFilters",""],[1,"third-row"],[3,"search","section","update"],[3,"menu","view","update"],["infinite-scroll","",3,"uuid","spirits","menu","section","infiniteScrollThrottle","scrollWindow"],["infinite-scroll","",3,"uuid","spirits","menu","section","infiniteScrollThrottle","scrollWindow","scrolled"],[3,"uuid","spirits","menu","section"],[3,"uuid","spirits","menu","section","getSpirits"],["appCarousel",""],["appDesktopFilters",""],[1,"mobile-selected-filters"],["appSelectedFiltersMobile",""]],template:function(n,r){n&1&&(m(0,"main")(1,"header"),O(2,eD,20,17),ht(3,2,K9),p(),m(5,"div",0),O(6,aD,4,1)(7,mD,4,1)(8,bD,4,1),p(),m(9,"footer"),O(10,_D,6,0),p()(),b(11,"router-outlet")),n&2&&(h(3),ft(r.menu),h(3),H(6,r.view()==r.VIEWS.GRID?6:-1),h(),H(7,r.view()==r.VIEWS.CAROUSEL?7:-1),h(),H(8,r.view()==r.VIEWS.TRADITIONAL?8:-1),h(2),H(10,r.section()==r.SECTIONS.MENU?10:-1))},dependencies:[j1,Re,Vr,Kb,Jb,i_,ip,o_,Sa,nt,at],styles:["main[_ngcontent-%COMP%]{background:#000;color:#fff;width:100%;height:100%;display:grid;grid-template-rows:149px 1fr 66px;overflow:hidden}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;align-items:stretch;overflow:hidden}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .first-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;flex-wrap:wrap;padding:10px 16px}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .first-row[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .first-row[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{height:36px;width:36px;padding:6px}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .first-row[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]     .mat-mdc-button-touch-target{height:36px;width:36px}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .first-row[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .company-name[_ngcontent-%COMP%]{font-size:17px;line-height:22px;font-weight:400;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .first-row[_ngcontent-%COMP%]   .center[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .first-row[_ngcontent-%COMP%]   app-section-switch[_ngcontent-%COMP%]{width:100%}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .second-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;padding:0 16px;white-space:nowrap}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .second-row[_ngcontent-%COMP%]   .spirits-total[_ngcontent-%COMP%]{font-size:34px;line-height:41px;font-weight:400;color:#ffffff8a}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .third-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 100px;gap:12px;padding:8px 16px}main[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{width:calc(100% - 32px);height:42px;padding:8px 16px 16px;background-color:#161616f0;display:flex;flex-direction:row;align-items:center;justify-content:center;overflow:hidden}main[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]   .mobile-selected-filters[_ngcontent-%COMP%]{display:none;margin-left:16px;overflow-x:auto;overflow-y:hidden}main[_ngcontent-%COMP%]   #spirits[_ngcontent-%COMP%]{width:100vw;min-height:100%;background-color:#212529;overflow:hidden}main[_ngcontent-%COMP%]   app-grid[_ngcontent-%COMP%]{overflow-y:auto;overflow-x:hidden;width:calc(100vw - 32px);height:calc(100% - 32px);padding:16px;display:flex}main[_ngcontent-%COMP%]   app-grid-placeholder[_ngcontent-%COMP%]{overflow:hidden;width:calc(100vw - 32px);height:calc(100% - 32px);padding:16px;display:flex}main[_ngcontent-%COMP%]   app-carousel[_ngcontent-%COMP%], main[_ngcontent-%COMP%]   app-carousel-placeholder[_ngcontent-%COMP%]{width:100vw;min-height:calc(100% - 32px);height:calc(100% - 32px);padding:16px 0;position:relative;display:block}main[_ngcontent-%COMP%]   app-grouped[_ngcontent-%COMP%]{overflow-y:auto;overflow-x:hidden;width:calc(100vw - 32px);height:calc(100% - 32px);padding:16px;display:flex;justify-content:center}main[_ngcontent-%COMP%]   app-grouped-placeholder[_ngcontent-%COMP%]{overflow-y:scroll;overflow-x:hidden;width:calc(100vw - 64px);min-height:calc(100% - 32px);padding:16px 32px;display:flex;justify-content:center}main[_ngcontent-%COMP%]   app-footer-desktop-filters[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:12px}main[_ngcontent-%COMP%]   app-footer-mobile-filters-button[_ngcontent-%COMP%]{display:none}main[_ngcontent-%COMP%]   app-spirits-empty[_ngcontent-%COMP%]{overflow:hidden;width:calc(100vw - 64px);height:calc(100% - 32px);padding:16px 32px;display:flex;flex-direction:column;align-items:center;justify-content:center}@media (width < 992px){header[_ngcontent-%COMP%]   .first-row[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr!important}}@media (width < 576px){main[_ngcontent-%COMP%]{grid-template-rows:109px 1fr 66px!important}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .first-row[_ngcontent-%COMP%]{grid-template-columns:36px 1fr!important}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .first-row[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:28px!important;padding:6px 0!important}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .first-row[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:none}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .second-row[_ngcontent-%COMP%]{display:none!important}main[_ngcontent-%COMP%]   app-grid[_ngcontent-%COMP%], main[_ngcontent-%COMP%]   app-grid-placeholder[_ngcontent-%COMP%], main[_ngcontent-%COMP%]   app-spirits-empty[_ngcontent-%COMP%]{width:calc(100vw - 8px)!important;padding:16px 4px!important}main[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{justify-content:flex-start}main[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]   app-footer-desktop-filters[_ngcontent-%COMP%]{display:none!important}main[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]   app-footer-mobile-filters-button[_ngcontent-%COMP%]{display:block!important}main[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]   .mobile-selected-filters[_ngcontent-%COMP%]{display:flex}}"]});let i=t;return i})();var a_=(()=>{let t=class t{transform(e){return e.replace(/> /g,`
`)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=Vt({name:"lineBreak",type:t,pure:!0,standalone:!0});let i=t;return i})();function CD(i,t){if(i&1&&(m(0,"p",5),y(1),F(2,"translate"),m(3,"b"),y(4),p()()),i&2){let o=C(2);h(),Be("",$(2,2,"spirit."+o.key()),": "),h(3),Z(o.value())}}function yD(i,t){if(i&1&&(m(0,"p",5),y(1),F(2,"translate"),m(3,"b"),y(4),p()()),i&2){let o=C(2);h(),Be("",$(2,2,"spirit."+o.key()),": "),h(3),Z(o.value())}}function xD(i,t){if(i&1&&(m(0,"p",5)(1,"b"),y(2),F(3,"translate"),p(),b(4,"br"),y(5),F(6,"lineBreak"),F(7,"spiritTranslation"),p()),i&2){let o=C(2);h(2),Z($(3,2,"spirit."+o.key())),h(3),Z($(6,4,et(7,6,o.value(),o.key())))}}function wD(i,t){if(i&1&&(m(0,"p",5)(1,"b"),y(2),F(3,"translate"),p(),b(4,"br"),y(5),F(6,"lineBreak"),p()),i&2){let o=C(2);h(2),Z($(3,2,"spirit."+o.key())),h(3),Z($(6,4,o.value()))}}function ID(i,t){if(i&1&&(m(0,"p",5),y(1),F(2,"translate"),m(3,"b"),y(4),F(5,"catalogTranslation"),p()()),i&2){let o=C(2);h(),Be("",$(2,2,"spirit."+o.key()),": "),h(3),Z($(5,4,o.value()))}}function SD(i,t){if(i&1&&(m(0,"p",5),y(1),F(2,"translate"),m(3,"b"),y(4),F(5,"translate"),p()()),i&2){let o=C(2);h(),Be("",$(2,2,"spirit."+o.key()),": "),h(3),Z($(5,4,o.value()?"spirit.si":"spirit.no"))}}function ED(i,t){if(i&1&&(m(0,"div",6)(1,"p",5),y(2),F(3,"translate"),p(),m(4,"div",7),b(5,"div",8)(6,"div",8)(7,"div",8)(8,"div",8)(9,"div",8),p()()),i&2){let o=C(2);h(2),Z($(3,21,"spirit."+o.key())),h(3),ee("background-primary",1<=o.value())("shadow-primary",1<=o.value()),h(),ee("background-primary",2<=o.value())("shadow-primary",2<=o.value()),h(),ee("background-primary",3<=o.value())("shadow-primary",3<=o.value()),h(),ee("background-primary",4<=o.value())("shadow-primary",4<=o.value()),h(),ee("background-primary",5<=o.value())("shadow-primary",5<=o.value())}}var MD=(i,t)=>t.key;function DD(i,t){if(i&1&&(m(0,"b"),y(1),F(2,"catalogTranslation"),p(),y(3,", ")),i&2){let o=t.$implicit,e;h(),Z((e=$(2,1,o))!==null&&e!==void 0?e:o)}}function kD(i,t){if(i&1&&(m(0,"p",5),y(1),F(2,"translate"),Te(3,DD,4,3,null,null,MD),p()),i&2){let o=C(2);h(),Be("",$(2,1,"spirit."+o.key()),": "),h(2),Oe(o.value())}}function TD(i,t){if(i&1&&(m(0,"div",1),b(1,"app-data-icon",2),O(2,CD,5,4,"p",3)(3,yD,5,4,"p",3)(4,xD,8,9,"p",3)(5,wD,7,6,"p",3)(6,ID,6,6,"p",3)(7,SD,6,6,"p",3)(8,ED,10,23,"div",4)(9,kD,5,3,"p",3),p()),i&2){let o=C();h(),k("type",o.key()),h(),H(2,o.valueType()=="string"?2:-1),h(),H(3,o.valueType()=="number"?3:-1),h(),H(4,o.valueType()=="Spirit"?4:-1),h(),H(5,o.valueType()=="Textarea"?5:-1),h(),H(6,o.valueType()=="Object"?6:-1),h(),H(7,o.valueType()=="boolean"?7:-1),h(),H(8,o.valueType()=="Circles"?8:-1),h(),H(9,o.valueType()=="Array"?9:-1)}}var s_=(()=>{let t=class t{constructor(){this.key=be(""),this.value=be(null),this.valueType=be("")}ngOnInit(){this.data&&(this.key.set(this.name),this.value.set(this.data),this.valueType.set(this.getType(this.name,this.data)))}getType(e,n){return Array.isArray(n)?"Array":["body","richness","smoke","sweetness"].includes(e)?"Circles":["description","tastingNotes","ingredients","elaboration"].includes(e)?"Spirit":n===null?"null":n instanceof Date?"Date":n instanceof RegExp?"RegExp":typeof n=="object"?"Object":typeof n=="string"&&["description","tastingNotes"].includes(e)?"Textarea":typeof n}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["app-spirit-detail-characteristic"]],inputs:{name:"name",data:"data"},standalone:!0,features:[x],decls:2,vars:4,consts:[["class","characteristic"],[1,"characteristic"],[1,"text-light","icon",3,"type"],["class","text-light"],["class","circles"],[1,"text-light"],[1,"circles"],[1,"values"],[1,"value"]],template:function(n,r){n&1&&(O(0,TD,10,9,"div",0),F(1,"spiritTranslation")),n&2&&H(0,r.data&&(r.valueType()!="Array"||r.valueType()=="Array"&&r.value().length>0)&&(r.valueType()!="Spirit"||r.valueType()=="Spirit"&&et(1,1,r.value(),r.key()))?0:-1)},dependencies:[Re,$e,An,kt,Ni,a_],styles:[".characteristic[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:6px;margin:8px 0}p[_ngcontent-%COMP%]{margin:0;white-space:pre-line}.circles[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:6px}.circles[_ngcontent-%COMP%]   .values[_ngcontent-%COMP%]{display:flex;gap:4px}.circles[_ngcontent-%COMP%]   .values[_ngcontent-%COMP%]   .value[_ngcontent-%COMP%]{width:17.2px;height:8px;border-radius:4px;background:#ffffff54}.icon[_ngcontent-%COMP%]{height:24px;width:24px;min-width:24px}"]});let i=t;return i})();function OD(i,t){if(i&1&&(m(0,"span"),y(1),F(2,"translate"),F(3,"catalogTranslation"),p()),i&2){let o=C(),e;h(),Fi("",$(2,2,"detail.back_button")," ",$(3,4,(e=o.spirit())==null||e.catalogSpirit==null?null:e.catalogSpirit.category),"")}}var PD=()=>[import("./chunk-237LZLX2.js").then(i=>i.PriceComponent)],FD=()=>[s_];function AD(i,t){i&1&&y(0,",")}function RD(i,t){i&1&&y(0,"/")}var LD=(i,t)=>t.uuid;function jD(i,t){if(i&1&&b(0,"app-price",11),i&2){let o=t.$implicit,e=C(3);k("price",o)("menu",e.menu())("showName",!0)}}function VD(i,t){if(i&1&&Te(0,jD,1,3,"app-price",11,LD),i&2){let o=C(2),e;Oe((e=o.spirit())==null?null:e.priceVariants)}}function ND(i,t){if(i&1&&(m(0,"div",12),b(1,"app-spirit-detail-characteristic",13)(2,"app-spirit-detail-characteristic",14)(3,"app-spirit-detail-characteristic",15)(4,"app-spirit-detail-characteristic",16)(5,"app-spirit-detail-characteristic",17)(6,"app-spirit-detail-characteristic",18)(7,"app-spirit-detail-characteristic",19)(8,"app-spirit-detail-characteristic",20)(9,"app-spirit-detail-characteristic",21)(10,"app-spirit-detail-characteristic",22)(11,"app-spirit-detail-characteristic",23)(12,"app-spirit-detail-characteristic",24)(13,"app-spirit-detail-characteristic",25)(14,"app-spirit-detail-characteristic",26)(15,"app-spirit-detail-characteristic",27)(16,"app-spirit-detail-characteristic",28)(17,"app-spirit-detail-characteristic",29)(18,"app-spirit-detail-characteristic",30)(19,"app-spirit-detail-characteristic",31)(20,"app-spirit-detail-characteristic",32)(21,"app-spirit-detail-characteristic",33)(22,"app-spirit-detail-characteristic",34)(23,"app-spirit-detail-characteristic",35)(24,"app-spirit-detail-characteristic",36)(25,"app-spirit-detail-characteristic",37)(26,"app-spirit-detail-characteristic",38)(27,"app-spirit-detail-characteristic",39)(28,"app-spirit-detail-characteristic",40)(29,"app-spirit-detail-characteristic",41)(30,"app-spirit-detail-characteristic",42)(31,"app-spirit-detail-characteristic",43)(32,"app-spirit-detail-characteristic",44),p()),i&2){let o=C(2),e,n,r,a,s,l,d,u,f,g,_,D,E,A,T,L,B,Q,pe,ae,le,he,ve,te,X,fe,Fe,bt;h(),k("data",(e=o.catalogSpirit())==null?null:e.brand),h(),k("data",o.spirit()),h(),k("data",(n=o.catalogSpirit())==null?null:n.age),h(),k("data",(r=o.catalogSpirit())==null?null:r.vintage),h(),k("data",(a=o.catalogSpirit())==null?null:a.volume),h(),k("data",(s=o.catalogSpirit())==null?null:s.capacity),h(),k("data",o.spirit()),h(),k("data",o.spirit()),h(),k("data",o.spirit()),h(),k("data",(l=o.catalogSpirit())==null?null:l.body),h(),k("data",(d=o.catalogSpirit())==null?null:d.richness),h(),k("data",(u=o.catalogSpirit())==null?null:u.smoke),h(),k("data",(f=o.catalogSpirit())==null?null:f.sweetness),h(),k("data",(g=o.catalogSpirit())==null?null:g.characters),h(),k("data",(_=o.catalogSpirit())==null?null:_.foodPairings),h(),k("data",(D=o.catalogSpirit())==null?null:D.caskNumber),h(),k("data",(E=o.catalogSpirit())==null?null:E.caskType),h(),k("data",(A=o.catalogSpirit())==null?null:A.style),h(),k("data",(T=o.catalogSpirit())==null?null:T.flavour),h(),k("data",(L=o.catalogSpirit())==null?null:L.ingType),h(),k("data",(B=o.catalogSpirit())==null?null:B.grapes),h(),k("data",(Q=o.catalogSpirit())==null?null:Q.bottler),h(),k("data",(pe=o.catalogSpirit())==null?null:pe.bottlingStatus),h(),k("data",(ae=o.catalogSpirit())==null?null:ae.numberOfBottles),h(),k("data",(le=o.catalogSpirit())==null?null:le.limitedEdition),h(),k("data",(he=o.catalogSpirit())==null?null:he.series),h(),k("data",(ve=o.catalogSpirit())==null?null:ve.bottlingDate),h(),k("data",(te=o.catalogSpirit())==null?null:te.certification),h(),k("data",(X=o.catalogSpirit())==null?null:X.sustainability),h(),k("data",(fe=o.catalogSpirit())==null?null:fe.colouring),h(),k("data",(Fe=o.catalogSpirit())==null?null:Fe.chillFilter),h(),k("data",(bt=o.catalogSpirit())==null?null:bt.noAdds)}}function BD(i,t){if(i&1){let o=_e();m(0,"section",3),b(1,"img",4),F(2,"spiritImage"),p(),m(3,"section",5)(4,"div",6)(5,"h1"),y(6),F(7,"spiritTranslation"),p(),m(8,"div",7),P("click",function(n){de(o);let r=C();return r.favorite(r.spirit()),ue(n.stopPropagation())}),b(9,"img",8),p()(),m(10,"h4"),y(11),F(12,"spiritTranslation"),p(),m(13,"h6",9),y(14),F(15,"catalogTranslation"),O(16,AD,1,0),y(17),F(18,"catalogTranslation"),p(),m(19,"h6",9),y(20),F(21,"catalogTranslation"),O(22,RD,1,0),y(23),F(24,"catalogTranslation"),p(),m(25,"div",10),O(26,VD,2,0),ht(27,26,PD),p(),m(29,"p",9)(30,"b"),y(31),F(32,"translate"),p()(),O(33,ND,33,32),ht(34,33,FD),p()}if(i&2){let o=C(),e,n,r,a,s,l,d,u,f;h(),k("src",$(2,15,(e=o.spirit())==null?null:e.catalogSpirit.image),yt),h(5),Z(et(7,17,o.spirit(),"name")),h(2),ee("fav-active",(n=o.spirit())==null?null:n.fav),h(),mn("src","assets/images/",(r=o.spirit())!=null&&r.fav?"fav":"no-fav",".png",yt),h(2),Z(et(12,20,o.spirit(),"subname")),h(3),Be(" ",$(15,23,(a=o.spirit())==null?null:a.catalogSpirit.type),""),h(2),H(16,(s=o.spirit())!=null&&s.catalogSpirit.type&&((s=o.spirit())!=null&&s.catalogSpirit.category)?16:-1),h(),Be(" ",$(18,25,(l=o.spirit())==null?null:l.catalogSpirit.category),""),h(3),Be(" ",$(21,27,(d=o.spirit())==null?null:d.catalogSpirit.region)," "),h(2),H(22,(u=o.spirit())!=null&&u.catalogSpirit.region&&((u=o.spirit())!=null&&u.catalogSpirit.country)?22:-1),h(),Be(" ",$(24,29,(f=o.spirit())==null?null:f.catalogSpirit.country)," "),h(4),ft(o.menu()),h(4),Z($(32,31,"detail.characteristics")),h(3),ft(o.catalogSpirit())}}var l_=(()=>{let t=class t{constructor(e,n){this.router=e,this.route=n,this.api=w(Ye),this.local=w(Xe),this.spiritSlugname="",this.menu=be(null),this.spirit=be(null),this.catalogSpirit=be(null)}ngOnInit(){let e=this.local.getDataWithExpiration("detailSpirit");e&&(this.spirit.set(JSON.parse(e)),this.local.removeData("detailSpirit")),this.getSpirit(),this.getMenu()}getMenu(){this.api.getMenu().subscribe(e=>{this.menu.set(e)})}getSpirit(){this.api.getCompanySpirit(this.spiritSlugname).subscribe(e=>{this.spirit.set(e),this.catalogSpirit.set(e.catalogSpirit)})}goBack(){this.router.navigate(["../"],{relativeTo:this.route})}favorite(e){e.fav=!e.fav,this.local.manageFavorites(e),this.local.saveData("favUpdatedSpirit",JSON.stringify(e))}};t.\u0275fac=function(n){return new(n||t)(c(je),c(it))},t.\u0275cmp=v({type:t,selectors:[["app-spirit-detail"]],inputs:{spiritSlugname:"spiritSlugname"},standalone:!0,features:[x],decls:12,vars:5,consts:[["id","spirit-detail"],[1,"back"],["mat-icon-button","",3,"click"],[1,"img"],["alt","",3,"src"],[1,"info"],[1,"row"],[1,"fav",3,"click"],[3,"src"],[1,"text-light"],[1,"prices","text-light"],[3,"price","menu","showName"],[1,"characteristics"],["name","brand",3,"data"],["name","description",3,"data"],["name","age",3,"data"],["name","vintage",3,"data"],["name","volume",3,"data"],["name","capacity",3,"data"],["name","tastingNotes",3,"data"],["name","ingredients",3,"data"],["name","elaboration",3,"data"],["name","body",1,"w-auto",3,"data"],["name","richness",1,"w-auto",3,"data"],["name","smoke",1,"w-auto",3,"data"],["name","sweetness",1,"w-auto",3,"data"],["name","characters",3,"data"],["name","foodPairings",3,"data"],["name","caskNumber",3,"data"],["name","caskType",3,"data"],["name","style",3,"data"],["name","flavour",3,"data"],["name","ingType",3,"data"],["name","grapes",3,"data"],["name","bottler",3,"data"],["name","bottlingStatus",3,"data"],["name","numberOfBottles",3,"data"],["name","limitedEdition",3,"data"],["name","series",3,"data"],["name","bottlingDate",3,"data"],["name","certification",3,"data"],["name","sustainability",3,"data"],["name","colouring",3,"data"],["name","chillFilter",3,"data"],["name","noAdds",3,"data"]],template:function(n,r){n&1&&(m(0,"div",0)(1,"header")(2,"div",1)(3,"button",2),P("click",function(){return r.goBack()}),m(4,"mat-icon"),y(5,"keyboard_arrow_left"),p()(),O(6,OD,4,6,"span"),p(),m(7,"p"),y(8),F(9,"translate"),p()(),m(10,"main"),O(11,BD,36,33),p()()),n&2&&(h(6),H(6,r.spirit()?6:-1),h(2),Z($(9,3,"detail.title")),h(3),H(11,r.spirit()?11:-1))},dependencies:[nt,st,at,Kt,Ni,kt,rn,Re,$e],styles:['#spirit-detail[_ngcontent-%COMP%]{width:calc(100vw - 32px);height:calc(100vh - 10px);background:#000;padding:10px 16px 0;z-index:1;overflow:hidden;position:fixed;top:0;left:0}#spirit-detail[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]{height:100px}#spirit-detail[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start}#spirit-detail[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{height:36px;width:36px;padding:6px}#spirit-detail[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:41px;font-weight:700;line-height:61.5px;margin:0}#spirit-detail[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 3fr;gap:40px;height:calc(100vh - 116px)}#spirit-detail[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   .img[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;background-image:url("./media/fondo-carrusel-6PQEXYAS.png");background-repeat:no-repeat;background-position:center;background-size:contain;position:relative;height:calc(100vh - 116px)}#spirit-detail[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   .img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:60%}#spirit-detail[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{overflow:auto}#spirit-detail[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:32px}#spirit-detail[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .fav[_ngcontent-%COMP%], #spirit-detail[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{cursor:pointer;height:32px;width:32px}#spirit-detail[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-bottom:16px}#spirit-detail[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{margin-bottom:8px}#spirit-detail[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .prices[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:32px 0}#spirit-detail[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .characteristics[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap}#spirit-detail[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   app-spirit-detail-characteristic[_ngcontent-%COMP%]{width:100%}#spirit-detail[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   app-spirit-detail-characteristic.w-auto[_ngcontent-%COMP%]{width:auto;margin-right:32px}@media (width < 992px){header[_ngcontent-%COMP%]{height:48px!important}header[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{display:none}main[_ngcontent-%COMP%]{display:flex!important;flex-direction:column;gap:32px!important;overflow-y:auto;height:calc(100vh - 60px)!important}main[_ngcontent-%COMP%]   .img[_ngcontent-%COMP%]{height:35dvh!important}main[_ngcontent-%COMP%]   .img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:100%!important}main[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{overflow:unset!important;padding-bottom:80px}}']});let i=t;return i})();var zD=()=>[$e,st,Kt];function HD(i,t){if(i&1){let o=_e();m(0,"div",4)(1,"button",5),P("click",function(){de(o);let n=C(2);return ue(n.goHome())}),m(2,"mat-icon"),y(3,"keyboard_arrow_left"),p()(),m(4,"span"),y(5),F(6,"translate"),p()()}i&2&&(h(5),Z($(6,1,"categories.back")))}function $D(i,t){if(i&1){let o=_e();m(0,"div",4)(1,"button",5),P("click",function(){de(o);let n=C(2);return ue(n.returnFromChild())}),m(2,"mat-icon"),y(3,"keyboard_arrow_left"),p()(),m(4,"span"),y(5),F(6,"translate"),p()()}i&2&&(h(5),Z($(6,1,"categories.all")))}function UD(i,t){if(i&1&&(O(0,HD,7,3,"div",1)(1,$D,7,3),m(2,"div",2),b(3,"img",3),p()),i&2){let o=C();H(0,o.showChildCategoriesFlag()?1:0)}}var dr=(i,t)=>t.uuid;function WD(i,t){if(i&1&&(b(0,"img",8),F(1,"spiritImage")),i&2){let o=t.$implicit;k("src",$(1,1,o==null?null:o.catalogSpirit.image),yt)}}function GD(i,t){if(i&1){let o=_e();m(0,"article",6),P("click",function(){let r=de(o).$implicit,a=C(2);return ue(a.showChildCategories(r))}),m(1,"h5"),y(2),p(),m(3,"h6"),y(4),F(5,"translate"),p(),m(6,"div",7),Te(7,WD,2,3,"img",8,dr),p()()}if(i&2){let o=t.$implicit;h(2),Z(o.name),h(2),Fi("",o.totalSpirits," ",$(5,3,"categories.bottles"),""),h(3),Oe(o.spirits)}}var ZD=()=>[rn];function qD(i,t){if(i&1&&y(0),i&2){let o=C(2).$implicit;Be(" ",o.totalSpirits," ")}}function YD(i,t){if(i&1&&(O(0,qD,1,1),ht(1,0)),i&2){let o=C().$implicit;h(),ft(o.totalSpirits)}}var XD=()=>[$e];function QD(i,t){if(i&1&&(m(0,"h6"),y(1),F(2,"translate"),p()),i&2){let o=C(2).$implicit;h(),Fi("",o.totalSpirits," ",$(2,2,"categories.bottles"),"")}}function KD(i,t){i&1&&b(0,"h6",9)}function JD(i,t){if(i&1&&(O(0,QD,3,4)(1,KD,1,0),ht(2,0,XD,null,1)),i&2){let o=C().$implicit;h(2),ft(o.totalSpirits)}}function ek(i,t){i&1&&b(0,"h6")}function tk(i,t){if(i&1&&(b(0,"img",10),F(1,"spiritImage")),i&2){let o=t.$implicit;k("src",$(1,1,o==null?null:o.catalogSpirit.image),yt)}}function ik(i,t){if(i&1&&Te(0,tk,2,3,"img",11,dr),i&2){let o=C().$implicit;Oe(o.spirits)}}function nk(i,t){i&1&&b(0,"div",12)(1,"div",12)(2,"div",12)}function ok(i,t){if(i&1){let o=_e();m(0,"article",6),P("click",function(){let r=de(o).$implicit,a=C(2);return ue(a.navigate(r))}),m(1,"h5"),O(2,YD,3,1),y(3),F(4,"catalogTranslation"),p(),O(5,JD,4,1)(6,ek,1,0),m(7,"div",7),O(8,ik,2,0)(9,nk,3,0),ht(10,8,ZD,null,9),p()()}if(i&2){let o=t.$implicit;h(2),H(2,o.uuid=="e93e770f-65e8-4d2a-8228-0005932b7925"?2:-1),h(),Be(" ",$(4,4,o)," "),h(2),H(5,o.uuid!="e93e770f-65e8-4d2a-8228-0005932b7925"?5:6),h(5),ft(o.spirits)}}function rk(i,t){if(i&1&&(Te(0,GD,9,5,"article",null,dr),Te(2,ok,12,6,"article",null,dr)),i&2){let o=C();Oe(o.parentCategories()),h(2),Oe(o.currentCategories())}}function ak(i,t){if(i&1&&(b(0,"img",8),F(1,"spiritImage")),i&2){let o=t.$implicit;k("src",$(1,1,o==null?null:o.catalogSpirit.image),yt)}}function sk(i,t){if(i&1){let o=_e();m(0,"article",6),P("click",function(){let r=de(o).$implicit,a=C(2);return ue(a.navigate(r))}),m(1,"h5"),y(2),F(3,"catalogTranslation"),p(),m(4,"h6"),y(5),F(6,"translate"),p(),m(7,"div",7),Te(8,ak,2,3,"img",8,dr),p()()}if(i&2){let o=t.$implicit;h(2),Z($(3,3,o)),h(3),Fi("",o.totalSpirits," ",$(6,5,"categories.bottles"),""),h(3),Oe(o.spirits)}}function lk(i,t){if(i&1&&Te(0,sk,10,7,"article",null,dr),i&2){let o=C();Oe(o.childCategories())}}var c_=(()=>{let t=class t{constructor(e,n){this.route=e,this.router=n,this.SECTIONS=pt.SECTIONS,this.api=w(Ye),this.local=w(Xe),this.translate=w(Bt),this.destroy$=new ce,this.section=be(this.SECTIONS.MENU),this.allCategories=be([]),this.parentCategories=be([]),this.currentCategories=be([]),this.childCategories=be([]),this.showChildCategoriesFlag=be(!1)}ngOnInit(){this.manageLocalData(),this.getMenu()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}manageLocalData(){this.section.set(this.local.getData("section")??this.SECTIONS.MENU),this.local.removeData("selectedFilters"),Object.values(this.SECTIONS).forEach(e=>{this.local.removeData("spirits"+e)}),this.api.clearSelectedFilters()}getMenu(){this.api.getMenu().subscribe(e=>{this.menu=e,this.setLang(e.locales[0].locale.code),this.getCategories()})}getCategories(){this.api.getCompanyCategories().subscribe(e=>{let n=this.sortCategories(e),r=Object.values(n);this.allCategories.set(r),this.manageParentAndCurrentCategories(),this.setLocalStorageImages(),this.getCategoriesImages()})}manageParentAndCurrentCategories(){let e=this.allCategories().filter(a=>!a.parentCategory),n=this.allCategories().filter(a=>a.parentCategory),r=[];n.forEach(a=>{if(!r.find(l=>l.uuid==a.parentCategory?.uuid)){let{name:l,uuid:d,translations:u}=a.parentCategory,f=a.spirits?[...a.spirits]:[],g=a.totalSpirits??0;r.push({name:l,uuid:d,spirits:f,totalSpirits:g,translations:u})}}),this.parentCategories.set(r),this.currentCategories.set(e)}setLocalStorageImages(){let e=this.local.getDataWithExpiration("categories");if(e){let n=JSON.parse(e);this.allCategories().map(r=>{let a=n.find(s=>s.uuid==r.uuid);if(a&&a.totalSpirits){let s={results:a.spirits,totalItems:a.totalSpirits};r.spirits=s.results,r.totalSpirits=s.totalItems,r.parentCategory&&this.addImagesToParent(r,s),this.addImagesToCurrent(r,s)}})}}getCategoriesImages(){let e=this.allCategories().map(n=>this.api.getCategorySpirits(n,3).pipe(Ti(r=>me({results:[],totalItems:0})),Lt(r=>(n.spirits=r.results,n.totalSpirits=r.totalItems,n.parentCategory&&this.addImagesToParent(n,r),this.addImagesToCurrent(n,r),this.local.setDataWithExpiration("categories",JSON.stringify(this.currentCategories()),0,5),me(r)))));po(e).pipe(Je(this.destroy$)).subscribe()}addImagesToParent(e,n){let r=this.parentCategories().find(s=>s.uuid==e.parentCategory?.uuid);r.totalSpirits+=n.totalItems;let a=r.spirits?.length??0;if(a<3)for(let s=0;s<3-a;s++)r.spirits.push(n.results[s]);if(a>0&&a==3){let s=this.getRandomInt(a);r.spirits[s]=n.results[0]}}addImagesToCurrent(e,n){let r=this.currentCategories().find(a=>a.uuid==e.uuid);r&&(r.spirits=n.results,r.totalSpirits=n.totalItems)}showChildCategories(e){let n=this.allCategories().filter(r=>r.parentCategory?.uuid==e.uuid);this.childCategories.set(n),this.showChildCategoriesFlag.set(!0)}returnFromChild(){this.childCategories.set([]),this.showChildCategoriesFlag.set(!1)}goHome(){this.router.navigate(["../"],{relativeTo:this.route})}navigate(e){this.api.setSelectedFilter("category",[e]),this.router.navigate(["../menu"],{relativeTo:this.route})}changeSection(e){this.section.update(()=>e)}setLang(e){let n=this.local.getData("language")??e;this.translate.use(n)}getRandomInt(e){return Math.floor(Math.random()*e)}sortCategories(e){let n={};return this.menu.menuCategories.forEach(a=>{n[a.category.uuid]=a.order}),e.sort((a,s)=>(n[a.uuid]||0)-(n[s.uuid]||0))}};t.\u0275fac=function(n){return new(n||t)(c(it),c(je))},t.\u0275cmp=v({type:t,selectors:[["app-categories"]],standalone:!0,features:[x],decls:9,vars:2,consts:[[1,"categories"],["class","left"],[1,"center"],["src","/assets/images/logo.png"],[1,"left"],["mat-icon-button","",3,"click"],[3,"click"],[1,"images"],["alt","",3,"src"],[1,"placeholder-wave","placeholder"],["alt","",1,"fade-in",3,"src"],["class","fade-in","alt","",3,"src"],[1,"placeholder"]],template:function(n,r){n&1&&(m(0,"main")(1,"header"),O(2,UD,4,1),ht(3,2,zD),p(),m(5,"section")(6,"div",0),O(7,rk,4,0)(8,lk,2,0),p()()()),n&2&&(h(3),ft(r.menu),h(4),H(7,r.showChildCategoriesFlag()?8:7))},dependencies:[Re,$e,rn,nt,at,kt],styles:["main[_ngcontent-%COMP%]{background:#000;color:#fff;width:100%;height:100%;display:grid;grid-template-rows:56px 1fr}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]{width:calc(100% - 32px);display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;flex-wrap:wrap;padding:10px 16px}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{height:36px;width:36px;padding:6px}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .company-name[_ngcontent-%COMP%]{font-size:17px;line-height:22px;font-weight:400;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .center[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .center[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:36px;object-fit:contain}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   app-section-switch[_ngcontent-%COMP%]{width:100%}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:flex-start;background-color:#212529;padding:32px;overflow-y:auto}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));grid-template-rows:max-content;align-items:flex-start;gap:24px;width:100%}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]{background:#0000003d;height:100%;border-radius:16px;overflow:hidden;cursor:pointer}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]:hover{background-color:#000}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{padding:16px 16px 8px}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{padding:0 16px 8px;color:#adb5bd;display:list-item}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]   h6.placeholder[_ngcontent-%COMP%]{margin:0 16px 8px;padding:0;height:19px;width:80px}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]   .images[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr;margin-bottom:-16px;padding-left:8px}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]   .images[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:190px;object-fit:contain;opacity:0;animation:_ngcontent-%COMP%_fadeIn .5s ease-in-out .25s;animation-fill-mode:forwards;margin-right:-32px}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]   .images[_ngcontent-%COMP%]   .placeholder[_ngcontent-%COMP%]{height:190px;width:0px;opacity:0}@media (width < 992px){main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]{padding:16px}}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}"]});let i=t;return i})();var ur=class{constructor(t=0,o="",e="",n="",r="",a=""){this.id=t,this.label=o,this.photo=e,this.type=n,this.subfilter=r,this.uuid=a}};var ck=0,d_="mat-badge-content",Al=new Set,dk=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["ng-component"]],standalone:!0,features:[x],decls:0,vars:0,template:function(n,r){},styles:[".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:var(--mat-badge-text-font);font-weight:var(--mat-badge-text-weight);border-radius:var(--mat-badge-container-shape)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, unset);min-height:var(--mat-badge-small-size-container-size, unset);line-height:var(--mat-badge-legacy-small-size-container-size, var(--mat-badge-small-size-container-size));padding:var(--mat-badge-small-size-container-padding);font-size:var(--mat-badge-small-size-text-size);margin:var(--mat-badge-small-size-container-offset)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, unset);min-height:var(--mat-badge-container-size, unset);line-height:var(--mat-badge-legacy-container-size, var(--mat-badge-container-size));padding:var(--mat-badge-container-padding);font-size:var(--mat-badge-text-size);margin:var(--mat-badge-container-offset)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, unset);min-height:var(--mat-badge-large-size-container-size, unset);line-height:var(--mat-badge-legacy-large-size-container-size, var(--mat-badge-large-size-container-size));padding:var(--mat-badge-large-size-container-padding);font-size:var(--mat-badge-large-size-text-size);margin:var(--mat-badge-large-size-container-offset)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset)}"],encapsulation:2,changeDetection:0});let i=t;return i})(),u_=(()=>{let t=class t{get color(){return this._color}set color(e){this._setColor(e),this._color=e}get content(){return this._content}set content(e){this._updateRenderedContent(e)}get description(){return this._description}set description(e){this._updateDescription(e)}constructor(e,n,r,a,s){this._ngZone=e,this._elementRef=n,this._ariaDescriber=r,this._renderer=a,this._animationMode=s,this._color="primary",this.overlap=!0,this.position="above after",this.size="medium",this._id=ck++,this._isInitialized=!1,this._interactivityChecker=w(Ji),this._document=w(Ee);let l=w(pn);if(!Al.has(l)){Al.add(l);let d=Va(dk,{environmentInjector:w(Ot)});l.onDestroy(()=>{Al.delete(l),Al.size===0&&d.destroy()})}}isAbove(){return this.position.indexOf("below")===-1}isAfter(){return this.position.indexOf("before")===-1}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){let e=this._renderer.createElement("span"),n="mat-badge-active";return e.setAttribute("id",`mat-badge-content-${this._id}`),e.setAttribute("aria-hidden","true"),e.classList.add(d_),this._animationMode==="NoopAnimations"&&e.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(e),typeof requestAnimationFrame=="function"&&this._animationMode!=="NoopAnimations"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{e.classList.add(n)})}):e.classList.add(n),e}_updateRenderedContent(e){let n=`${e??""}`.trim();this._isInitialized&&n&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=n),this._content=n}_updateDescription(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!e||this._isHostInteractive())&&this._removeInlineDescription(),this._description=e,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,e):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(e){let n=this._elementRef.nativeElement.classList;n.remove(`mat-badge-${this._color}`),e&&n.add(`mat-badge-${e}`)}_clearExistingBadges(){let e=this._elementRef.nativeElement.querySelectorAll(`:scope > .${d_}`);for(let n of Array.from(e))n!==this._badgeElement&&n.remove()}};t.\u0275fac=function(n){return new(n||t)(c(M),c(S),c(Wg),c(si),c(ut,8))},t.\u0275dir=re({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(n,r){n&2&&ee("mat-badge-overlap",r.overlap)("mat-badge-above",r.isAbove())("mat-badge-below",!r.isAbove())("mat-badge-before",!r.isAfter())("mat-badge-after",r.isAfter())("mat-badge-small",r.size==="small")("mat-badge-medium",r.size==="medium")("mat-badge-large",r.size==="large")("mat-badge-hidden",r.hidden||!r.content)("mat-badge-disabled",r.disabled)},inputs:{color:[z.None,"matBadgeColor","color"],overlap:[z.HasDecoratorInputTransform,"matBadgeOverlap","overlap",De],disabled:[z.HasDecoratorInputTransform,"matBadgeDisabled","disabled",De],position:[z.None,"matBadgePosition","position"],content:[z.None,"matBadge","content"],description:[z.None,"matBadgeDescription","description"],size:[z.None,"matBadgeSize","size"],hidden:[z.HasDecoratorInputTransform,"matBadgeHidden","hidden",De]},standalone:!0,features:[ct]});let i=t;return i})(),m_=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Ce({type:t}),t.\u0275inj=ye({imports:[Fs,ze,ze]});let i=t;return i})();var p_=(i,t)=>t.uuid;function mk(i,t){if(i&1){let o=_e();m(0,"button",9),P("click",function(){de(o);let n=C();return ue(n.search="")}),m(1,"mat-icon"),y(2,"close"),p()()}}function pk(i,t){if(i&1){let o=_e();m(0,"div",14),P("click",function(){let r=de(o).$implicit,a=C(3);return ue(a.selectSubfilter(r))}),m(1,"span"),y(2),F(3,"translate"),m(4,"span",15),y(5),p()(),m(6,"mat-icon"),y(7,"chevron_right"),p()()}if(i&2){let o=t.$implicit,e=C(3),n,r;ee("selected",e.isSelected(e.intermediateFilter.subfilter,o.name))("disabled",o.count==0),h(2),Be("",$(3,6,(n=o.translation)!==null&&n!==void 0?n:o.name)," "),h(3),Be("(",(r=o.count)!==null&&r!==void 0?r:0,")")}}function hk(i,t){if(i&1&&(m(0,"div",13),Te(1,pk,8,8,"div",16,p_),p()),i&2){let o=C().$implicit,e=C();h(),Oe(e.filterSubfilters(o[e.intermediateFilter.subfilter]))}}function fk(i,t){if(i&1){let o=_e();m(0,"div",10),P("click",function(){let r=de(o).$implicit,a=C();return ue(a.selectFilter(r))}),m(1,"span"),y(2),F(3,"translate"),m(4,"span",11),y(5),p()(),m(6,"mat-icon"),y(7,"chevron_right"),p()(),O(8,hk,3,0,"div",12)}if(i&2){let o=t.$implicit,e=C(),n,r;ee("has-subfilters",e.intermediateFilter.subfilter)("opened",e.filterOpened==o.name||e.search!="")("selected",e.isSelected(e.intermediateFilter.type,o))("disabled",o.count==0),h(2),Be("",$(3,11,(n=o.translation)!==null&&n!==void 0?n:o.name)," "),h(3),Be("(",(r=o.count)!==null&&r!==void 0?r:0,")"),h(3),H(8,e.intermediateFilter.subfilter!=""&&(e.filterOpened==o.name||e.search!="")?8:-1)}}var gk=i=>({type:i});var h_=(()=>{let t=class t{constructor(){this.intermediateFilter=new ur,this.selectedIntermediateFilterId=-1,this.filters=[],this.closeFilterEvent=new I,this.api=w(Ye),this.selectedCount=be(0),this.search="",this.filterOpened=null}ngOnInit(){this.getSelectedCount()}closeFilter(e){e.stopPropagation(),this.closeFilterEvent.emit()}getSelectedCount(){let e=this.api.getSelectedFilters(),n=0;this.intermediateFilter.type=="country"?n=e[this.intermediateFilter.subfilter].length:n=e[this.intermediateFilter.type].length,this.selectedCount.set(n)}filterFilters(e){return this.search?e.filter(n=>(n.translation?.toLowerCase().includes(this.search.toLowerCase())??n.name.toLowerCase().includes(this.search.toLowerCase()))||n[this.intermediateFilter.subfilter]?.find(r=>r.name.toLowerCase().includes(this.search.toLowerCase()))):e}filterSubfilters(e){return this.search?e.filter(n=>n.translation?.toLowerCase().includes(this.search.toLowerCase())??n.name.toLowerCase().includes(this.search.toLowerCase())):e}isSelected(e,n){return this.api.getSelectedFilters()[e].filter(a=>a.uuid==n.uuid).length>0}selectFilter(e){if(this.filterOpened==e.uuid){this.filterOpened=null;return}this.intermediateFilter.subfilter&&this.filterOpened!=e.uuid?this.filterOpened=e.uuid:this.saveSelected(this.intermediateFilter.type,e)}selectSubfilter(e){this.saveSelected(this.intermediateFilter.subfilter,e)}saveSelected(e,n){let a=this.api.getSelectedFilters()[e]??[];if(a.find(s=>s.uuid==n.uuid)){let s=a.find(d=>d.uuid==n.uuid),l=a.indexOf(s);a.splice(l,1)}else a.push(n);this.api.setSelectedFilter(e,a),this.selectedCount.set(a.length)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["app-intermediate-filter-list"]],inputs:{intermediateFilter:"intermediateFilter",selectedIntermediateFilterId:"selectedIntermediateFilterId",filters:"filters"},outputs:{closeFilterEvent:"closeFilterEvent"},standalone:!0,features:[x],decls:19,vars:14,consts:[[1,"close-filter",3,"click"],["matBadgeOverlap","false",3,"matBadge"],[1,"filter-search"],["appearance","outline",1,"example-form-field"],["matPrefix",""],["matInput","","type","text",3,"ngModel","placeholder","ngModelChange"],["matSuffix","","mat-icon-button","","aria-label","Clear"],[1,"filter-overflow"],[1,"filter-list"],["matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],[1,"filter-item",3,"click"],[1,"filter-item-count"],["class","subfilter-list"],[1,"subfilter-list"],[1,"subfilter-item",3,"click"],[1,"subfilter-item-count"],["class","subfilter-item",3,"selected","disabled"]],template:function(n,r){n&1&&(m(0,"main")(1,"aside")(2,"div",0),P("click",function(s){return r.closeFilter(s)}),m(3,"mat-icon"),y(4,"close"),p(),m(5,"span",1),y(6),p()()(),m(7,"section")(8,"div",2)(9,"mat-form-field",3)(10,"mat-icon",4),y(11,"search"),p(),m(12,"input",5),Ci("ngModelChange",function(s){return ci(r.search,s)||(r.search=s),s}),F(13,"translate"),p(),O(14,mk,3,0,"button",6),p()(),m(15,"div",7)(16,"div",8),Te(17,fk,9,13,null,null,p_),p()()()()),n&2&&(ee("opened",r.selectedIntermediateFilterId==r.intermediateFilter.id),h(5),vr("matBadge",r.selectedCount()),h(),Z(r.intermediateFilter.label),h(),ee("space-between",r.search==""),h(5),vr("placeholder",et(13,9,"buscar_web",di(12,gk,r.intermediateFilter.label.toLocaleLowerCase()))),_i("ngModel",r.search),h(2),H(14,r.search?14:-1),h(3),Oe(r.filterFilters(r.filters)))},dependencies:[Re,$e,nt,st,at,Kt,m_,u_,Zo,Go,Mn,Bs,zs,Mi,Ho,In,zo,Xn],styles:["main[_ngcontent-%COMP%]{height:100%;width:50%;background:#ffffff80;-webkit-backdrop-filter:blur(36px);backdrop-filter:blur(36px);opacity:0;transition:opacity .7s ease;display:grid;grid-template-columns:10px 1fr}main.opened[_ngcontent-%COMP%]{min-width:300px;opacity:1;grid-template-columns:100px 1fr;align-items:flex-end}main.opened[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]{height:calc(100vh - 97px);height:calc(100dvh - 97px)}main.opened[_ngcontent-%COMP%]   .filter-overflow[_ngcontent-%COMP%]{height:auto!important;width:auto!important}main.opened[_ngcontent-%COMP%]   .filter-item[_ngcontent-%COMP%]{padding:12px 9px;margin-top:16px;margin-right:24px;width:auto}main.opened[_ngcontent-%COMP%]   .close-filter[_ngcontent-%COMP%]{display:flex!important}main[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-end}main[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .close-filter[_ngcontent-%COMP%]{display:none;align-items:center;transform:rotate(-90deg) translate(50%);font-size:24px;grid-gap:4px;gap:4px;cursor:pointer;white-space:nowrap;color:#140090}main[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .close-filter[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{height:28px;width:28px;line-height:28px;font-size:28px;display:contents}main[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .close-filter[_ngcontent-%COMP%]   .mat-badge-content[_ngcontent-%COMP%]{transform:rotate(90deg);top:0;right:-30px;background-color:#e01827;font-size:12px}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]{height:0;display:flex;flex-direction:column}main[_ngcontent-%COMP%]   section.space-between[_ngcontent-%COMP%]{justify-content:space-between}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-text-field-wrapper{padding-bottom:0!important;margin:0!important}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-flex{color:#00000080;padding:0 .75em}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-infix{font-size:17px;font-weight:400;padding:6px 0;min-height:32px!important}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-icon-prefix .mat-icon{padding:0;height:20px;font-size:20px}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-prefix{top:.4em}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-icon-button{height:32px;width:32px;padding:4px}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-icon-button span{height:32px;width:32px}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mdc-notched-outline__leading, main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mdc-notched-outline__notch, main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mdc-notched-outline__trailing{border:none!important}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-search[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]     .mat-mdc-form-field-subscript-wrapper{display:none}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-overflow[_ngcontent-%COMP%]{max-height:calc(100% - 70px);overflow-y:auto;height:0;width:0}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-overflow[_ngcontent-%COMP%]   .filter-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:20px;font-size:24px;line-height:24px}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-overflow[_ngcontent-%COMP%]   .filter-list[_ngcontent-%COMP%]   .filter-item[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;cursor:pointer;color:#000}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-overflow[_ngcontent-%COMP%]   .filter-list[_ngcontent-%COMP%]   .filter-item.has-subfilters[_ngcontent-%COMP%]{border-bottom:2px solid #000}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-overflow[_ngcontent-%COMP%]   .filter-list[_ngcontent-%COMP%]   .filter-item.opened[_ngcontent-%COMP%] + .subfilter-list[_ngcontent-%COMP%]{max-height:fit-content}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-overflow[_ngcontent-%COMP%]   .filter-list[_ngcontent-%COMP%]   .filter-item[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{transition:transform .5s ease}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-overflow[_ngcontent-%COMP%]   .filter-list[_ngcontent-%COMP%]   .filter-item.opened[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{transform:rotate(90deg)}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-overflow[_ngcontent-%COMP%]   .filter-list[_ngcontent-%COMP%]   .filter-item.selected[_ngcontent-%COMP%]{background-color:#ffffffb3;border-radius:10px}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-overflow[_ngcontent-%COMP%]   .filter-list[_ngcontent-%COMP%]   .filter-item.disabled[_ngcontent-%COMP%]{opacity:.4}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-overflow[_ngcontent-%COMP%]   .filter-list[_ngcontent-%COMP%]   .filter-item-count[_ngcontent-%COMP%]{opacity:.54}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-overflow[_ngcontent-%COMP%]   .filter-list[_ngcontent-%COMP%]   .subfilter-list[_ngcontent-%COMP%]{font-size:18px;display:flex;flex-direction:column;gap:4px;max-height:0px;transition:max-height .7s ease}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-overflow[_ngcontent-%COMP%]   .filter-list[_ngcontent-%COMP%]   .subfilter-list[_ngcontent-%COMP%]   .subfilter-item[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:8px 6px;margin-right:24px;border-bottom:1px solid #000;cursor:pointer}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-overflow[_ngcontent-%COMP%]   .filter-list[_ngcontent-%COMP%]   .subfilter-list[_ngcontent-%COMP%]   .subfilter-item-count[_ngcontent-%COMP%]{opacity:.54}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-overflow[_ngcontent-%COMP%]   .filter-list[_ngcontent-%COMP%]   .subfilter-list[_ngcontent-%COMP%]   .subfilter-item.selected[_ngcontent-%COMP%]{background-color:#ffffffb3;border-radius:10px}main[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]   .filter-overflow[_ngcontent-%COMP%]   .filter-list[_ngcontent-%COMP%]   .subfilter-list[_ngcontent-%COMP%]   .subfilter-item.disabled[_ngcontent-%COMP%]{opacity:.4}mat-form-field[_ngcontent-%COMP%]{width:calc(100% - 24px);background-color:#7676803d;border-radius:10px}.mat-mdc-input-element[_ngcontent-%COMP%]::placeholder{color:#00000080}@media (max-width: 926px){main[_ngcontent-%COMP%]{width:calc(100% - 24px);padding-left:24px}main.opened[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;align-items:unset}main.opened[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]{height:calc(100vh - 300px);height:calc(100dvh - 300px)}.close-filter[_ngcontent-%COMP%]{transform:none!important;margin-top:24px}.close-filter[_ngcontent-%COMP%]   .mat-badge-content[_ngcontent-%COMP%]{transform:none!important}}"]});let i=t;return i})();var f_=(()=>{let t=class t{constructor(){this.intermediateFilter=new ur,this.selectedIntermediateFilterId=-1,this.allFilters=null,this.openFilterEvent=new I,this.closeFilterEvent=new I,this.api=w(Ye),this.filters=be(null)}openFilter(){this.selectedIntermediateFilterId!=this.intermediateFilter.id&&(this.getFilterData(),this.openFilterEvent.emit(this.intermediateFilter.id))}getFilterData(){this.api.getFilterData(this.intermediateFilter.uuid).subscribe(e=>{this.manageFilters(this.allFilters[this.intermediateFilter.type],e[this.intermediateFilter.type]),this.filters.set(e[this.intermediateFilter.type]),this.getSelectedFilters()})}manageFilters(e,n){e.forEach(r=>{n.find(a=>a.uuid==r.uuid)||(r.count=0,n.push(r))})}getSelectedFilters(){let e=this.api.getSelectedFilters();this.filters()?.forEach(n=>{let r=this.intermediateFilter.type;e[r].find(a=>a.uuid==n.uuid)&&(n.selected=!0)})}closeIntermediateFilter(){this.closeFilterEvent.emit()}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["app-intermediate-filter"]],inputs:{intermediateFilter:"intermediateFilter",selectedIntermediateFilterId:"selectedIntermediateFilterId",allFilters:"allFilters"},outputs:{openFilterEvent:"openFilterEvent",closeFilterEvent:"closeFilterEvent"},standalone:!0,features:[x],decls:3,vars:7,consts:[[3,"click"],[1,"background-gradient"],[3,"intermediateFilter","selectedIntermediateFilterId","filters","closeFilterEvent"]],template:function(n,r){n&1&&(m(0,"section",0),P("click",function(){return r.openFilter()}),b(1,"div",1),m(2,"app-intermediate-filter-list",2),P("closeFilterEvent",function(){return r.closeIntermediateFilter()}),p()()),n&2&&(Pi("background-image","url("+r.intermediateFilter.photo+")"),h(),ee("selected",r.selectedIntermediateFilterId==r.intermediateFilter.id),h(),k("intermediateFilter",r.intermediateFilter)("selectedIntermediateFilterId",r.selectedIntermediateFilterId)("filters",r.filters()))},dependencies:[h_],styles:["section[_ngcontent-%COMP%]{position:relative;background-repeat:no-repeat;background-position:center;background-size:cover;height:100%}section[_ngcontent-%COMP%]:hover   .background-gradient[_ngcontent-%COMP%]{background-color:#14009080}section[_ngcontent-%COMP%]   .background-gradient[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:100%;width:100%;background-color:#564a90bf;transition:background-color .7s ease}section[_ngcontent-%COMP%]   .background-gradient.selected[_ngcontent-%COMP%]{background-color:transparent}"]});let i=t;return i})();var vk=(i,t)=>t.id;function bk(i,t){if(i&1){let o=_e();m(0,"app-intermediate-filter",2),P("openFilterEvent",function(n){de(o);let r=C();return ue(r.openIntermediateFilter(n))})("closeFilterEvent",function(){de(o);let n=C();return ue(n.closeIntermediateFilter())}),p()}if(i&2){let o=t.$implicit,e=C();ee("opened",e.selectedIntermediateFilterId()==o.id),k("intermediateFilter",o)("selectedIntermediateFilterId",e.selectedIntermediateFilterId())("allFilters",e.allFilters())}}var g_=(()=>{let t=class t{constructor(e,n){this.router=e,this.route=n,this.translate=w(Bt),this.api=w(Ye),this.selectedIntermediateFilterId=be(-1),this.selectedFiltersCount=be(0),this.intermediateFilters=[],this.selectedCategory=be(null),this.categoryFilters=be(null),this.allFilters=be(null)}ngOnInit(){this.setIntermediateFilters(),this.getSelectedCategory(),this.getCategoryFilters()}setIntermediateFilters(){this.intermediateFilters=[{id:1,label:this.translate.instant("filters.type"),photo:"assets/images/intermediate-filters/type.jpg",type:"type",subfilter:"",uuid:""},{id:2,label:this.translate.instant("filters.country")+" / "+this.translate.instant("filters.region"),photo:"assets/images/intermediate-filters/country.jpg",type:"country",subfilter:"",uuid:""},{id:3,label:this.translate.instant("filters.brand"),photo:"assets/images/intermediate-filters/brand.jpg",type:"brand",subfilter:"",uuid:""}]}getSelectedCategory(){let n=this.api.getSelectedFilters().category[0];this.selectedCategory.set(n)}openIntermediateFilter(e){this.selectedIntermediateFilterId.update(()=>e)}closeIntermediateFilter(){this.selectedIntermediateFilterId.update(()=>-1)}getCategoryFilters(){this.api.getCategoryFilters().subscribe(e=>{this.setCategoryFiltersUuidToIntermediateFilters(e),e.length>0&&this.getAllFilterData(e[0].uuid)})}getAllFilterData(e){this.api.getAllFilterData(e).subscribe(n=>{this.allFilters.set(n)})}getSelectedFiltersCount(){let e=this.api.getSelectedFilters(),n=0;this.intermediateFilters.forEach(r=>{let a=r.type;n+=e[a].length}),this.selectedFiltersCount.set(n)}setCategoryFiltersUuidToIntermediateFilters(e){this.intermediateFilters.forEach(n=>{let r=e.find(a=>a.filter.name==n.type);n.uuid=r?.uuid??""})}goBack(){this.router.navigate(["../categories"],{relativeTo:this.route})}navigateToMenu(){this.router.navigate(["../menu"],{relativeTo:this.route})}};t.\u0275fac=function(n){return new(n||t)(c(je),c(it))},t.\u0275cmp=v({type:t,selectors:[["app-intermediate-filters"]],standalone:!0,features:[x],decls:15,vars:1,consts:[["mat-flat-button","",3,"click"],["iconPositionEnd",""],[3,"intermediateFilter","selectedIntermediateFilterId","allFilters","openFilterEvent","closeFilterEvent"],[3,"opened","intermediateFilter","selectedIntermediateFilterId","allFilters"]],template:function(n,r){if(n&1&&(m(0,"main")(1,"header")(2,"div")(3,"button",0),P("click",function(){return r.goBack()}),m(4,"mat-icon"),y(5,"chevron_left"),p(),y(6," Atr\xE1s "),p(),m(7,"h1"),y(8),p()(),m(9,"button",0),P("click",function(){return r.navigateToMenu()}),y(10," Ver resultados "),m(11,"mat-icon",1),y(12,"chevron_right"),p()()(),Te(13,bk,1,5,"app-intermediate-filter",3,vk),p()),n&2){let a;h(8),Z((a=r.selectedCategory())==null?null:a.name),h(5),Oe(r.intermediateFilters)}},dependencies:[Re,at,Ht,nt,st,f_],styles:["main[_ngcontent-%COMP%]{display:flex;height:100vh;width:100vw;height:100dvh;width:100dvw}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]{width:calc(100% - 52px);position:fixed;top:0;display:flex;justify-content:space-between;align-items:center;padding:21px 26px;z-index:1}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{display:flex;align-items:center;gap:16px}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:1.5rem;line-height:1}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{color:#fff;border-radius:50px;border:1px solid rgba(255,255,255,.1);background:#fff3;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}main[_ngcontent-%COMP%]   app-intermediate-filter[_ngcontent-%COMP%]{flex:1;height:100%;transition:flex .7s ease-in-out}main[_ngcontent-%COMP%]   app-intermediate-filter[_ngcontent-%COMP%]:hover{flex:1.25}main[_ngcontent-%COMP%]   app-intermediate-filter.opened[_ngcontent-%COMP%]{flex:8}@media (max-width: 926px){main[_ngcontent-%COMP%]{flex-direction:column}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{display:none}main[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{background:#271f81;top:16px;right:16px}}"]});let i=t;return i})();var dh=(()=>{let t=class t{constructor(e){this.router=e,this.api=w(Ye),this.local=w(Xe)}resolve(e){let n=e.params.uuid;this.local.setUuid(n),this.api.setUuid(n),this.api.setCountries(),this.local.setFilters(),this.api.getSelectedFilters().category.length==0&&this.router.navigate([n+"/categories"])}};t.\u0275fac=function(n){return new(n||t)(j(je))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var v_=[{path:"shortcode",component:$0},{path:":uuid",resolve:{uuid:da},component:Ov},{path:":uuid/categories",resolve:{uuid:da},component:c_},{path:":uuid/intermediate-filters",resolve:{uuid:da,CategorySelectedService:dh},component:g_},{path:":uuid/menu",resolve:{uuid:da,CategorySelectedService:dh},component:r_,children:[{path:":spiritSlugname",component:l_}]},{path:"",redirectTo:"/shortcode",pathMatch:"full"}];var _k="@",Ck=(()=>{let t=class t{constructor(e,n,r,a,s){this.doc=e,this.delegate=n,this.zone=r,this.animationType=a,this.moduleImpl=s,this._rendererFactoryPromise=null,this.scheduler=w(Ph,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-ZTCYZNAY.js")).catch(n=>{throw new It(5300,!1)}).then(({\u0275createEngine:n,\u0275AnimationRendererFactory:r})=>{this._engine=n(this.animationType,this.doc,this.scheduler);let a=new r(this.delegate,this._engine,this.zone);return this.delegate=a,a})}createRenderer(e,n){let r=this.delegate.createRenderer(e,n);if(r.\u0275type===0)return r;typeof r.throwOnSyntheticProps=="boolean"&&(r.throwOnSyntheticProps=!1);let a=new uh(r);return n?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(s=>{let l=s.createRenderer(e,n);a.use(l)}).catch(s=>{a.use(r)}),a}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};t.\u0275fac=function(n){gr()},t.\u0275prov=J({token:t,factory:t.\u0275fac});let i=t;return i})(),uh=class{constructor(t){this.delegate=t,this.replay=[],this.\u0275type=1}use(t){if(this.delegate=t,this.replay!==null){for(let o of this.replay)o(t);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(t,o){return this.delegate.createElement(t,o)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}get destroyNode(){return this.delegate.destroyNode}appendChild(t,o){this.delegate.appendChild(t,o)}insertBefore(t,o,e,n){this.delegate.insertBefore(t,o,e,n)}removeChild(t,o,e){this.delegate.removeChild(t,o,e)}selectRootElement(t,o){return this.delegate.selectRootElement(t,o)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,o,e,n){this.delegate.setAttribute(t,o,e,n)}removeAttribute(t,o,e){this.delegate.removeAttribute(t,o,e)}addClass(t,o){this.delegate.addClass(t,o)}removeClass(t,o){this.delegate.removeClass(t,o)}setStyle(t,o,e,n){this.delegate.setStyle(t,o,e,n)}removeStyle(t,o,e){this.delegate.removeStyle(t,o,e)}setProperty(t,o,e){this.shouldReplay(o)&&this.replay.push(n=>n.setProperty(t,o,e)),this.delegate.setProperty(t,o,e)}setValue(t,o){this.delegate.setValue(t,o)}listen(t,o,e){return this.shouldReplay(o)&&this.replay.push(n=>n.listen(t,o,e)),this.delegate.listen(t,o,e)}shouldReplay(t){return this.replay!==null&&t.startsWith(_k)}};function b_(i="animations"){return Ah("NgAsyncAnimations"),fo([{provide:Fh,useFactory:(t,o,e)=>new Ck(t,o,e,i),deps:[Ee,ef,M]},{provide:ut,useValue:i==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Rl=class{http;prefix;suffix;constructor(t,o="/assets/i18n/",e=".json"){this.http=t,this.prefix=o,this.suffix=e}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}};var __=(i,t)=>{let o=w(Ro),e=i.clone({setHeaders:{"Accept-Language":o.getCurrentLang()}});return t(e)};var Ll=()=>{let i;return{lock:()=>Ae(void 0,null,function*(){let o=i,e;return i=new Promise(n=>e=n),o!==void 0&&(yield o),e})}};var yk=":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}",xk=yk,wk=":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}",Ik=wk,Sk=So(class extends wo{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionBackdropTap=gt(this,"ionBackdropTap",7),this.visible=!0,this.tappable=!0,this.stopPropagation=!0}onMouseDown(t){this.emitTap(t)}emitTap(t){this.stopPropagation&&(t.preventDefault(),t.stopPropagation()),this.tappable&&this.ionBackdropTap.emit()}render(){let t=oi(this);return zt(Io,{key:"c803b4302c8e722064feb03dafe3cb6e190b4f2b",tabindex:"-1","aria-hidden":"true",class:{[t]:!0,"backdrop-hide":!this.visible,"backdrop-no-tappable":!this.tappable}})}static get style(){return{ios:xk,md:Ik}}},[33,"ion-backdrop",{visible:[4],tappable:[4],stopPropagation:[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]);function jl(){if(typeof customElements>"u")return;["ion-backdrop"].forEach(t=>{switch(t){case"ion-backdrop":customElements.get(t)||customElements.define(t,Sk);break}})}var Ea=function(i){return i.Dark="DARK",i.Light="LIGHT",i.Default="DEFAULT",i}(Ea||{}),fh={getEngine(){let i=ff();if(i?.isPluginAvailable("StatusBar"))return i.Plugins.StatusBar},setStyle(i){let t=this.getEngine();t&&t.setStyle(i)},getStyle:function(){return Ae(this,null,function*(){let i=this.getEngine();if(!i)return Ea.Default;let{style:t}=yield i.getInfo();return t})}},mh=(i,t)=>{if(t===1)return 0;let o=1/(1-t),e=-(t*o);return i*o+e},w_=()=>{!Cr||Cr.innerWidth>=768||fh.setStyle({style:Ea.Dark})},ph=(i=Ea.Default)=>{!Cr||Cr.innerWidth>=768||fh.setStyle({style:i})},I_=(i,t)=>Ae(void 0,null,function*(){typeof i.canDismiss!="function"||!(yield i.canDismiss(void 0,Xo))||(t.isRunning()?t.onFinish(()=>{i.dismiss(void 0,"handler")},{oneTimeCallback:!0}):i.dismiss(void 0,"handler"))}),hh=i=>.00255275*2.71828**(-14.9619*i)-1.00255*2.71828**(-.0380968*i)+1,Vl={MIN_PRESENTING_SCALE:.915},Ek=(i,t,o,e)=>{let r=i.offsetHeight,a=!1,s=!1,l=null,d=null,u=.2,f=!0,g=0,_=()=>l&&Za(l)?l.scrollY:!0,L=Ga({el:i,gestureName:"modalSwipeToClose",gesturePriority:k0,direction:"y",threshold:10,canStart:B=>{let Q=B.event.target;return Q===null||!Q.closest?!0:(l=sc(Q),l?(Za(l)?d=Dt(l).querySelector(".inner-scroll"):d=l,!!!l.querySelector("ion-refresher")&&d.scrollTop===0):Q.closest("ion-footer")===null)},onStart:B=>{let{deltaY:Q}=B;f=_(),s=i.canDismiss!==void 0&&i.canDismiss!==!0,Q>0&&l&&lc(l),t.progressStart(!0,a?1:0)},onMove:B=>{let{deltaY:Q}=B;Q>0&&l&&lc(l);let pe=B.deltaY/r,ae=pe>=0&&s,le=ae?u:.9999,he=ae?hh(pe/le):pe,ve=xr(1e-4,he,le);t.progressStep(ve),ve>=.5&&g<.5?ph(o):ve<.5&&g>=.5&&w_(),g=ve},onEnd:B=>{let Q=B.velocityY,pe=B.deltaY/r,ae=pe>=0&&s,le=ae?u:.9999,he=ae?hh(pe/le):pe,ve=xr(1e-4,he,le),te=(B.deltaY+Q*1e3)/r,X=!ae&&te>=.5,fe=X?-.001:.001;X?(t.easing("cubic-bezier(0.32, 0.72, 0, 1)"),fe+=$s([0,0],[.32,.72],[0,1],[1,1],ve)[0]):(t.easing("cubic-bezier(1, 0, 0.68, 0.28)"),fe+=$s([0,0],[1,0],[.68,.28],[1,1],ve)[0]);let Fe=C_(X?pe*r:(1-ve)*r,Q);a=X,L.enable(!1),l&&hf(l,f),t.onFinish(()=>{X||L.enable(!0)}).progressEnd(X?1:0,fe,Fe),ae&&ve>le/4?I_(i,t):X&&e()}});return L},C_=(i,t)=>xr(400,i/Math.abs(t*1.1),500),S_=i=>{let{currentBreakpoint:t,backdropBreakpoint:o}=i,e=o===void 0||o<t,n=e?`calc(var(--backdrop-opacity) * ${t})`:"0",r=Ve("backdropAnimation").fromTo("opacity",0,n);return e&&r.beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),{wrapperAnimation:Ve("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:"translateY(100%)"},{offset:1,opacity:1,transform:`translateY(${100-t*100}%)`}]),backdropAnimation:r}},E_=i=>{let{currentBreakpoint:t,backdropBreakpoint:o}=i,e=`calc(var(--backdrop-opacity) * ${mh(t,o)})`,n=[{offset:0,opacity:e},{offset:1,opacity:0}],r=[{offset:0,opacity:e},{offset:o,opacity:0},{offset:1,opacity:0}],a=Ve("backdropAnimation").keyframes(o!==0?r:n);return{wrapperAnimation:Ve("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:`translateY(${100-t*100}%)`},{offset:1,opacity:1,transform:"translateY(100%)"}]),backdropAnimation:a}},Mk=()=>{let i=Ve().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),t=Ve().fromTo("transform","translateY(100vh)","translateY(0vh)");return{backdropAnimation:i,wrapperAnimation:t}},y_=(i,t)=>{let{presentingEl:o,currentBreakpoint:e}=t,n=Dt(i),{wrapperAnimation:r,backdropAnimation:a}=e!==void 0?S_(t):Mk();a.addElement(n.querySelector("ion-backdrop")),r.addElement(n.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});let s=Ve("entering-base").addElement(i).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(r);if(o){let l=window.innerWidth<768,d=o.tagName==="ION-MODAL"&&o.presentingElement!==void 0,u=Dt(o),f=Ve().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),g=document.body;if(l){let _=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",D=d?"-10px":_,E=Vl.MIN_PRESENTING_SCALE,A=`translateY(${D}) scale(${E})`;f.afterStyles({transform:A}).beforeAddWrite(()=>g.style.setProperty("background-color","black")).addElement(o).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:A,borderRadius:"10px 10px 0 0"}]),s.addAnimation(f)}else if(s.addAnimation(a),!d)r.fromTo("opacity","0","1");else{let D=`translateY(-10px) scale(${d?Vl.MIN_PRESENTING_SCALE:1})`;f.afterStyles({transform:D}).addElement(u.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:D}]);let E=Ve().afterStyles({transform:D}).addElement(u.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:D}]);s.addAnimation([f,E])}}else s.addAnimation(a);return s},Dk=()=>{let i=Ve().fromTo("opacity","var(--backdrop-opacity)",0),t=Ve().fromTo("transform","translateY(0vh)","translateY(100vh)");return{backdropAnimation:i,wrapperAnimation:t}},x_=(i,t,o=500)=>{let{presentingEl:e,currentBreakpoint:n}=t,r=Dt(i),{wrapperAnimation:a,backdropAnimation:s}=n!==void 0?E_(t):Dk();s.addElement(r.querySelector("ion-backdrop")),a.addElement(r.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});let l=Ve("leaving-base").addElement(i).easing("cubic-bezier(0.32,0.72,0,1)").duration(o).addAnimation(a);if(e){let d=window.innerWidth<768,u=e.tagName==="ION-MODAL"&&e.presentingElement!==void 0,f=Dt(e),g=Ve().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish(D=>{if(D!==1)return;e.style.setProperty("overflow",""),Array.from(_.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter(A=>A.presentingElement!==void 0).length<=1&&_.style.setProperty("background-color","")}),_=document.body;if(d){let D=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",E=u?"-10px":D,A=Vl.MIN_PRESENTING_SCALE,T=`translateY(${E}) scale(${A})`;g.addElement(e).keyframes([{offset:0,filter:"contrast(0.85)",transform:T,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),l.addAnimation(g)}else if(l.addAnimation(s),!u)a.fromTo("opacity","1","0");else{let E=`translateY(-10px) scale(${u?Vl.MIN_PRESENTING_SCALE:1})`;g.addElement(f.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:E},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);let A=Ve().addElement(f.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:E},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);l.addAnimation([g,A])}}else l.addAnimation(s);return l},kk=()=>{let i=Ve().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),t=Ve().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}]);return{backdropAnimation:i,wrapperAnimation:t}},Tk=(i,t)=>{let{currentBreakpoint:o}=t,e=Dt(i),{wrapperAnimation:n,backdropAnimation:r}=o!==void 0?S_(t):kk();return r.addElement(e.querySelector("ion-backdrop")),n.addElement(e.querySelector(".modal-wrapper")),Ve().addElement(i).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([r,n])},Ok=()=>{let i=Ve().fromTo("opacity","var(--backdrop-opacity)",0),t=Ve().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}]);return{backdropAnimation:i,wrapperAnimation:t}},Pk=(i,t)=>{let{currentBreakpoint:o}=t,e=Dt(i),{wrapperAnimation:n,backdropAnimation:r}=o!==void 0?E_(t):Ok();return r.addElement(e.querySelector("ion-backdrop")),n.addElement(e.querySelector(".modal-wrapper")),Ve().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([r,n])},Fk=(i,t,o,e,n,r,a=[],s,l,d)=>{let u=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}],f=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-n,opacity:0},{offset:1,opacity:0}],g={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:n!==0?f:u},_=i.querySelector("ion-content"),D=o.clientHeight,E=e,A=0,T=!1,L=.95,B=r.childAnimations.find(Ze=>Ze.id==="wrapperAnimation"),Q=r.childAnimations.find(Ze=>Ze.id==="backdropAnimation"),pe=a[a.length-1],ae=a[0],le=()=>{i.style.setProperty("pointer-events","auto"),t.style.setProperty("pointer-events","auto"),i.classList.remove(io)},he=()=>{i.style.setProperty("pointer-events","none"),t.style.setProperty("pointer-events","none"),i.classList.add(io)};B&&Q&&(B.keyframes([...g.WRAPPER_KEYFRAMES]),Q.keyframes([...g.BACKDROP_KEYFRAMES]),r.progressStart(!0,1-E),E>n?le():he()),_&&E!==pe&&(_.scrollY=!1);let ve=Ze=>{let Se=sc(Ze.event.target);if(E=s(),E===1&&Se){let mt=Za(Se)?Dt(Se).querySelector(".inner-scroll"):Se;return!!!Se.querySelector("ion-refresher")&&mt.scrollTop===0}return!0},te=Ze=>{T=i.canDismiss!==void 0&&i.canDismiss!==!0&&ae===0,Ze.deltaY>0&&_&&(_.scrollY=!1),Xi(()=>{i.focus()}),r.progressStart(!0,1-E)},X=Ze=>{Ze.deltaY>0&&_&&(_.scrollY=!1);let Se=1-E,mt=a.length>1?1-a[1]:void 0,_t=Se+Ze.deltaY/D,gi=mt!==void 0&&_t>=mt&&T,Yt=gi?L:.9999,At=gi&&mt!==void 0?mt+hh((_t-mt)/(Yt-mt)):_t;A=xr(1e-4,At,Yt),r.progressStep(A)},fe=Ze=>{let Se=Ze.velocityY,mt=(Ze.deltaY+Se*350)/D,_t=E-mt,gi=a.reduce((Yt,At)=>Math.abs(At-_t)<Math.abs(Yt-_t)?At:Yt);Fe({breakpoint:gi,breakpointOffset:A,canDismiss:T,animated:!0})},Fe=Ze=>{let{breakpoint:Se,canDismiss:mt,breakpointOffset:_t,animated:gi}=Ze,Yt=mt&&Se===0,At=Yt?E:Se,mo=At!==0;return E=0,B&&Q&&(B.keyframes([{offset:0,transform:`translateY(${_t*100}%)`},{offset:1,transform:`translateY(${(1-At)*100}%)`}]),Q.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${mh(1-_t,n)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${mh(At,n)})`}]),r.progressStep(0)),bt.enable(!1),Yt?I_(i,r):mo||l(),_&&At===a[a.length-1]&&(_.scrollY=!0),new Promise(mr=>{r.onFinish(()=>{mo?B&&Q?Xi(()=>{B.keyframes([...g.WRAPPER_KEYFRAMES]),Q.keyframes([...g.BACKDROP_KEYFRAMES]),r.progressStart(!0,1-At),E=At,d(E),E>n?le():he(),bt.enable(!0),mr()}):(bt.enable(!0),mr()):mr()},{oneTimeCallback:!0}).progressEnd(1,0,gi?500:0)})},bt=Ga({el:o,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:ve,onStart:te,onMove:X,onEnd:fe});return{gesture:bt,moveSheetToBreakpoint:Fe}},Ak=':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0,  100%,  0);transform:translate3d(0,  100%,  0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}',Rk=Ak,Lk=':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0,  40px,  0);transform:translate3d(0,  40px,  0);opacity:0.01}',jk=Lk,Vk=So(class extends wo{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=gt(this,"ionModalDidPresent",7),this.willPresent=gt(this,"ionModalWillPresent",7),this.willDismiss=gt(this,"ionModalWillDismiss",7),this.didDismiss=gt(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=gt(this,"ionBreakpointDidChange",7),this.didPresentShorthand=gt(this,"didPresent",7),this.willPresentShorthand=gt(this,"willPresent",7),this.willDismissShorthand=gt(this,"willDismiss",7),this.didDismissShorthand=gt(this,"didDismiss",7),this.ionMount=gt(this,"ionMount",7),this.lockController=Ll(),this.triggerController=T0(),this.coreDelegate=Zs(),this.isSheetModal=!1,this.inheritedAttributes={},this.inline=!1,this.gestureAnimationDismissing=!1,this.onHandleClick=()=>{let{sheetTransition:t,handleBehavior:o}=this;o!=="cycle"||t!==void 0||this.moveToNextBreakpoint()},this.onBackdropTap=()=>{let{sheetTransition:t}=this;t===void 0&&this.dismiss(void 0,qo)},this.onLifecycle=t=>{let o=this.usersElement,e=Nk[t.type];if(o&&e){let n=new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t.detail});o.dispatchEvent(n)}},this.presented=!1,this.hasController=!1,this.overlayIndex=void 0,this.delegate=void 0,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.breakpoints=void 0,this.initialBreakpoint=void 0,this.backdropBreakpoint=0,this.handle=void 0,this.handleBehavior="none",this.component=void 0,this.componentProps=void 0,this.cssClass=void 0,this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.presentingElement=void 0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0,this.keepContentsMounted=!1,this.focusTrap=!0,this.canDismiss=!0}onIsOpenChange(t,o){t===!0&&o===!1?this.present():t===!1&&o===!0&&this.dismiss()}triggerChanged(){let{trigger:t,el:o,triggerController:e}=this;t&&e.addClickListener(o,t)}breakpointsChanged(t){t!==void 0&&(this.sortedBreakpoints=t.sort((o,e)=>o-e))}connectedCallback(){let{el:t}=this;Xs(t),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){var t;let{breakpoints:o,initialBreakpoint:e,el:n,htmlAttributes:r}=this,a=this.isSheetModal=o!==void 0&&e!==void 0,s=["aria-label","role"];this.inheritedAttributes=af(n,s),r!==void 0&&s.forEach(l=>{r[l]&&(this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[l]:r[l]}),delete r[l])}),a&&(this.currentBreakpoint=this.initialBreakpoint),o!==void 0&&e!==void 0&&!o.includes(e)&&gn("Your breakpoints array must include the initialBreakpoint value."),!((t=this.htmlAttributes)===null||t===void 0)&&t.id||Qs(this.el)}componentDidLoad(){this.isOpen===!0&&Xi(()=>this.present()),this.breakpointsChanged(this.breakpoints),this.triggerChanged()}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};let o=this.el.parentNode,e=this.inline=o!==null&&!this.hasController,n=this.workingDelegate=e?this.delegate||this.coreDelegate:this.delegate;return{inline:e,delegate:n}}checkCanDismiss(t,o){return Ae(this,null,function*(){let{canDismiss:e}=this;return typeof e=="function"?e(t,o):e})}present(){return Ae(this,null,function*(){let t=yield this.lockController.lock();if(this.presented){t();return}let{presentingElement:o,el:e}=this;this.currentBreakpoint=this.initialBreakpoint;let{inline:n,delegate:r}=this.getDelegate(!0);this.ionMount.emit(),this.usersElement=yield Ws(r,e,this.component,["ion-page"],this.componentProps,n),Ha(e)?yield Wa(this.usersElement):this.keepContentsMounted||(yield Ua()),Ql(()=>this.el.classList.add("show-modal"));let a=o!==void 0;a&&oi(this)==="ios"&&(this.statusBarStyle=yield fh.getStyle(),w_()),yield Js(this,"modalEnter",y_,Tk,{presentingEl:o,currentBreakpoint:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint}),typeof window<"u"&&(this.keyboardOpenCallback=()=>{this.gesture&&(this.gesture.enable(!1),Xi(()=>{this.gesture&&this.gesture.enable(!0)}))},window.addEventListener(cc,this.keyboardOpenCallback)),this.isSheetModal?this.initSheetGesture():a&&this.initSwipeToClose(),t()})}initSwipeToClose(){var t;if(oi(this)!=="ios")return;let{el:o}=this,e=this.leaveAnimation||Hn.get("modalLeave",x_),n=this.animation=e(o,{presentingEl:this.presentingElement});if(!mf(o)){pf(o);return}let a=(t=this.statusBarStyle)!==null&&t!==void 0?t:Ea.Default;this.gesture=Ek(o,n,a,()=>{this.gestureAnimationDismissing=!0,ph(this.statusBarStyle),this.animation.onFinish(()=>Ae(this,null,function*(){yield this.dismiss(void 0,Xo),this.gestureAnimationDismissing=!1}))}),this.gesture.enable(!0)}initSheetGesture(){let{wrapperEl:t,initialBreakpoint:o,backdropBreakpoint:e}=this;if(!t||o===void 0)return;let n=this.enterAnimation||Hn.get("modalEnter",y_),r=this.animation=n(this.el,{presentingEl:this.presentingElement,currentBreakpoint:o,backdropBreakpoint:e});r.progressStart(!0,1);let{gesture:a,moveSheetToBreakpoint:s}=Fk(this.el,this.backdropEl,t,o,e,r,this.sortedBreakpoints,()=>{var l;return(l=this.currentBreakpoint)!==null&&l!==void 0?l:0},()=>this.sheetOnDismiss(),l=>{this.currentBreakpoint!==l&&(this.currentBreakpoint=l,this.ionBreakpointDidChange.emit({breakpoint:l}))});this.gesture=a,this.moveSheetToBreakpoint=s,this.gesture.enable(!0)}sheetOnDismiss(){this.gestureAnimationDismissing=!0,this.animation.onFinish(()=>Ae(this,null,function*(){this.currentBreakpoint=0,this.ionBreakpointDidChange.emit({breakpoint:this.currentBreakpoint}),yield this.dismiss(void 0,Xo),this.gestureAnimationDismissing=!1}))}dismiss(t,o){return Ae(this,null,function*(){var e;if(this.gestureAnimationDismissing&&o!==Xo)return!1;let n=yield this.lockController.lock();if(o!=="handler"&&!(yield this.checkCanDismiss(t,o)))return n(),!1;let{presentingElement:r}=this;r!==void 0&&oi(this)==="ios"&&ph(this.statusBarStyle),typeof window<"u"&&this.keyboardOpenCallback&&(window.removeEventListener(cc,this.keyboardOpenCallback),this.keyboardOpenCallback=void 0);let s=yield el(this,t,o,"modalLeave",x_,Pk,{presentingEl:r,currentBreakpoint:(e=this.currentBreakpoint)!==null&&e!==void 0?e:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint});if(s){let{delegate:l}=this.getDelegate();yield Gs(l,this.usersElement),Ql(()=>this.el.classList.remove("show-modal")),this.animation&&this.animation.destroy(),this.gesture&&this.gesture.destroy()}return this.currentBreakpoint=void 0,this.animation=void 0,n(),s})}onDidDismiss(){return Yo(this.el,"ionModalDidDismiss")}onWillDismiss(){return Yo(this.el,"ionModalWillDismiss")}setCurrentBreakpoint(t){return Ae(this,null,function*(){if(!this.isSheetModal){gn("setCurrentBreakpoint is only supported on sheet modals.");return}if(!this.breakpoints.includes(t)){gn(`Attempted to set invalid breakpoint value ${t}. Please double check that the breakpoint value is part of your defined breakpoints.`);return}let{currentBreakpoint:o,moveSheetToBreakpoint:e,canDismiss:n,breakpoints:r,animated:a}=this;o!==t&&e&&(this.sheetTransition=e({breakpoint:t,breakpointOffset:1-o,canDismiss:n!==void 0&&n!==!0&&r[0]===0,animated:a}),yield this.sheetTransition,this.sheetTransition=void 0)})}getCurrentBreakpoint(){return Ae(this,null,function*(){return this.currentBreakpoint})}moveToNextBreakpoint(){return Ae(this,null,function*(){let{breakpoints:t,currentBreakpoint:o}=this;if(!t||o==null)return!1;let e=t.filter(s=>s!==0),r=(e.indexOf(o)+1)%e.length,a=e[r];return yield this.setCurrentBreakpoint(a),!0})}render(){let{handle:t,isSheetModal:o,presentingElement:e,htmlAttributes:n,handleBehavior:r,inheritedAttributes:a,focusTrap:s}=this,l=t!==!1&&o,d=oi(this),u=e!==void 0&&d==="ios",f=r==="cycle";return zt(Io,Object.assign({key:"013ba4864ca4d2c1052c512f6a4b0732b8decff7","no-router":!0,tabindex:"-1"},n,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[d]:!0,"modal-default":!u&&!o,"modal-card":u,"modal-sheet":o,"overlay-hidden":!0,[io]:s===!1},Us(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),zt("ion-backdrop",{key:"498b1c0a03836d6799dcf3b8e9315805c70f6480",ref:g=>this.backdropEl=g,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),d==="ios"&&zt("div",{key:"ce22e4caf1096e87248926fe2477f0d5a4c8a5cf",class:"modal-shadow"}),zt("div",Object.assign({key:"540e47b15d8290166c39b022c725182114a75682",role:"dialog"},a,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:g=>this.wrapperEl=g}),l&&zt("button",{key:"f3b352ec9a63a7ec801462aacfd8295b4302d115",class:"modal-handle",tabIndex:f?0:-1,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:f?this.onHandleClick:void 0,part:"handle"}),zt("slot",{key:"31a3f58f4c733ffdf736523c154200874a96b1d0"})))}get el(){return this}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}static get style(){return{ios:Rk,md:jk}}},[33,"ion-modal",{hasController:[4,"has-controller"],overlayIndex:[2,"overlay-index"],delegate:[16],keyboardClose:[4,"keyboard-close"],enterAnimation:[16],leaveAnimation:[16],breakpoints:[16],initialBreakpoint:[2,"initial-breakpoint"],backdropBreakpoint:[2,"backdrop-breakpoint"],handle:[4],handleBehavior:[1,"handle-behavior"],component:[1],componentProps:[16],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],showBackdrop:[4,"show-backdrop"],animated:[4],presentingElement:[16],htmlAttributes:[16],isOpen:[4,"is-open"],trigger:[1],keepContentsMounted:[4,"keep-contents-mounted"],focusTrap:[4,"focus-trap"],canDismiss:[4,"can-dismiss"],presented:[32],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64],setCurrentBreakpoint:[64],getCurrentBreakpoint:[64]},void 0,{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}]),Nk={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};function Bk(){if(typeof customElements>"u")return;["ion-modal","ion-backdrop"].forEach(t=>{switch(t){case"ion-modal":customElements.get(t)||customElements.define(t,Vk);break;case"ion-backdrop":customElements.get(t)||jl();break}})}var M_=Bk;var zk=i=>{if(!i)return{arrowWidth:0,arrowHeight:0};let{width:t,height:o}=i.getBoundingClientRect();return{arrowWidth:t,arrowHeight:o}},k_=(i,t,o)=>{let e=t.getBoundingClientRect(),n=e.height,r=e.width;return i==="cover"&&o&&(r=o.getBoundingClientRect().width),{contentWidth:r,contentHeight:n}},Hk=(i,t,o,e)=>{let n=[],a=Dt(e).querySelector(".popover-content");switch(t){case"hover":n=[{eventName:"mouseenter",callback:s=>{document.elementFromPoint(s.clientX,s.clientY)!==i&&o.dismiss(void 0,void 0,!1)}}];break;case"context-menu":case"click":default:n=[{eventName:"click",callback:s=>{if(s.target.closest("[data-ion-popover-trigger]")===i){s.stopPropagation();return}o.dismiss(void 0,void 0,!1)}}];break}return n.forEach(({eventName:s,callback:l})=>a.addEventListener(s,l)),()=>{n.forEach(({eventName:s,callback:l})=>a.removeEventListener(s,l))}},$k=(i,t,o)=>{let e=[];switch(t){case"hover":let n;e=[{eventName:"mouseenter",callback:r=>Ae(void 0,null,function*(){r.stopPropagation(),n&&clearTimeout(n),n=setTimeout(()=>{Xi(()=>{o.presentFromTrigger(r),n=void 0})},100)})},{eventName:"mouseleave",callback:r=>{n&&clearTimeout(n);let a=r.relatedTarget;a&&a.closest("ion-popover")!==o&&o.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:r=>r.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:r=>o.presentFromTrigger(r,!0)}];break;case"context-menu":e=[{eventName:"contextmenu",callback:r=>{r.preventDefault(),o.presentFromTrigger(r)}},{eventName:"click",callback:r=>r.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:r=>o.presentFromTrigger(r,!0)}];break;case"click":default:e=[{eventName:"click",callback:r=>o.presentFromTrigger(r)},{eventName:"ionPopoverActivateTrigger",callback:r=>o.presentFromTrigger(r,!0)}];break}return e.forEach(({eventName:n,callback:r})=>i.addEventListener(n,r)),i.setAttribute("data-ion-popover-trigger","true"),()=>{e.forEach(({eventName:n,callback:r})=>i.removeEventListener(n,r)),i.removeAttribute("data-ion-popover-trigger")}},T_=(i,t)=>!t||t.tagName!=="ION-ITEM"?-1:i.findIndex(o=>o===t),Uk=(i,t)=>{let o=T_(i,t);return i[o+1]},Wk=(i,t)=>{let o=T_(i,t);return i[o-1]},Nl=i=>{let o=Dt(i).querySelector("button");o&&Xi(()=>o.focus())},Gk=i=>i.hasAttribute("data-ion-popover-trigger"),Zk=i=>{let t=o=>Ae(void 0,null,function*(){var e;let n=document.activeElement,r=[],a=(e=o.target)===null||e===void 0?void 0:e.tagName;if(!(a!=="ION-POPOVER"&&a!=="ION-ITEM")){try{r=Array.from(i.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch{}switch(o.key){case"ArrowLeft":(yield i.getParentPopover())&&i.dismiss(void 0,void 0,!1);break;case"ArrowDown":o.preventDefault();let l=Uk(r,n);l!==void 0&&Nl(l);break;case"ArrowUp":o.preventDefault();let d=Wk(r,n);d!==void 0&&Nl(d);break;case"Home":o.preventDefault();let u=r[0];u!==void 0&&Nl(u);break;case"End":o.preventDefault();let f=r[r.length-1];f!==void 0&&Nl(f);break;case"ArrowRight":case" ":case"Enter":if(n&&Gk(n)){let g=new CustomEvent("ionPopoverActivateTrigger");n.dispatchEvent(g)}break}}});return i.addEventListener("keydown",t),()=>i.removeEventListener("keydown",t)},O_=(i,t,o,e,n,r,a,s,l,d,u)=>{var f;let g={top:0,left:0,width:0,height:0};switch(r){case"event":if(!u)return l;let pe=u;g={top:pe.clientY,left:pe.clientX,width:1,height:1};break;case"trigger":default:let ae=u,le=d||((f=ae?.detail)===null||f===void 0?void 0:f.ionShadowTarget)||ae?.target;if(!le)return l;let he=le.getBoundingClientRect();g={top:he.top,left:he.left,width:he.width,height:he.height};break}let _=Xk(a,g,t,o,e,n,i),D=Qk(s,a,g,t,o),E=_.top+D.top,A=_.left+D.left,{arrowTop:T,arrowLeft:L}=Yk(a,e,n,E,A,t,o,i),{originX:B,originY:Q}=qk(a,s,i);return{top:E,left:A,referenceCoordinates:g,arrowTop:T,arrowLeft:L,originX:B,originY:Q}},qk=(i,t,o)=>{switch(i){case"top":return{originX:D_(t),originY:"bottom"};case"bottom":return{originX:D_(t),originY:"top"};case"left":return{originX:"right",originY:Bl(t)};case"right":return{originX:"left",originY:Bl(t)};case"start":return{originX:o?"left":"right",originY:Bl(t)};case"end":return{originX:o?"right":"left",originY:Bl(t)}}},D_=i=>{switch(i){case"start":return"left";case"center":return"center";case"end":return"right"}},Bl=i=>{switch(i){case"start":return"top";case"center":return"center";case"end":return"bottom"}},Yk=(i,t,o,e,n,r,a,s)=>{let l={arrowTop:e+a/2-t/2,arrowLeft:n+r-t/2},d={arrowTop:e+a/2-t/2,arrowLeft:n-t*1.5};switch(i){case"top":return{arrowTop:e+a,arrowLeft:n+r/2-t/2};case"bottom":return{arrowTop:e-o,arrowLeft:n+r/2-t/2};case"left":return l;case"right":return d;case"start":return s?d:l;case"end":return s?l:d;default:return{arrowTop:0,arrowLeft:0}}},Xk=(i,t,o,e,n,r,a)=>{let s={top:t.top,left:t.left-o-n},l={top:t.top,left:t.left+t.width+n};switch(i){case"top":return{top:t.top-e-r,left:t.left};case"right":return l;case"bottom":return{top:t.top+t.height+r,left:t.left};case"left":return s;case"start":return a?l:s;case"end":return a?s:l}},Qk=(i,t,o,e,n)=>{switch(i){case"center":return Jk(t,o,e,n);case"end":return Kk(t,o,e,n);case"start":default:return{top:0,left:0}}},Kk=(i,t,o,e)=>{switch(i){case"start":case"end":case"left":case"right":return{top:-(e-t.height),left:0};case"top":case"bottom":default:return{top:0,left:-(o-t.width)}}},Jk=(i,t,o,e)=>{switch(i){case"start":case"end":case"left":case"right":return{top:-(e/2-t.height/2),left:0};case"top":case"bottom":default:return{top:0,left:-(o/2-t.width/2)}}},P_=(i,t,o,e,n,r,a,s,l,d,u,f,g=0,_=0,D=0)=>{let E=g,A=_,T=o,L=t,B,Q=d,pe=u,ae=!1,le=!1,he=f?f.top+f.height:r/2-s/2,ve=f?f.height:0,te=!1;return T<e+l?(T=e,ae=!0,Q="left"):a+e+T+l>n&&(le=!0,T=n-a-e,Q="right"),he+ve+s>r&&(i==="top"||i==="bottom")&&(he-s>0?(L=Math.max(12,he-s-ve-(D-1)),E=L+s,pe="bottom",te=!0):B=e),{top:L,left:T,bottom:B,originX:Q,originY:pe,checkSafeAreaLeft:ae,checkSafeAreaRight:le,arrowTop:E,arrowLeft:A,addPopoverBottomClass:te}},e6=(i,t=!1,o,e)=>!(!o&&!e||i!=="top"&&i!=="bottom"&&t),t6=5,i6=(i,t)=>{var o;let{event:e,size:n,trigger:r,reference:a,side:s,align:l}=t,d=i.ownerDocument,u=d.dir==="rtl",f=d.defaultView.innerWidth,g=d.defaultView.innerHeight,_=Dt(i),D=_.querySelector(".popover-content"),E=_.querySelector(".popover-arrow"),A=r||((o=e?.detail)===null||o===void 0?void 0:o.ionShadowTarget)||e?.target,{contentWidth:T,contentHeight:L}=k_(n,D,A),{arrowWidth:B,arrowHeight:Q}=zk(E),pe={top:g/2-L/2,left:f/2-T/2,originX:u?"right":"left",originY:"top"},ae=O_(u,T,L,B,Q,a,s,l,pe,r,e),le=n==="cover"?0:t6,he=n==="cover"?0:25,{originX:ve,originY:te,top:X,left:fe,bottom:Fe,checkSafeAreaLeft:bt,checkSafeAreaRight:Ze,arrowTop:Se,arrowLeft:mt,addPopoverBottomClass:_t}=P_(s,ae.top,ae.left,le,f,g,T,L,he,ae.originX,ae.originY,ae.referenceCoordinates,ae.arrowTop,ae.arrowLeft,Q),gi=Ve(),Yt=Ve(),At=Ve();return Yt.addElement(_.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),At.addElement(_.querySelector(".popover-arrow")).addElement(_.querySelector(".popover-content")).fromTo("opacity",.01,1),gi.easing("ease").duration(100).beforeAddWrite(()=>{n==="cover"&&i.style.setProperty("--width",`${T}px`),_t&&i.classList.add("popover-bottom"),Fe!==void 0&&D.style.setProperty("bottom",`${Fe}px`);let mo=" + var(--ion-safe-area-left, 0)",mr=" - var(--ion-safe-area-right, 0)",Ma=`${fe}px`;if(bt&&(Ma=`${fe}px${mo}`),Ze&&(Ma=`${fe}px${mr}`),D.style.setProperty("top",`calc(${X}px + var(--offset-y, 0))`),D.style.setProperty("left",`calc(${Ma} + var(--offset-x, 0))`),D.style.setProperty("transform-origin",`${te} ${ve}`),E!==null){let H_=ae.top!==X||ae.left!==fe;e6(s,H_,e,r)?(E.style.setProperty("top",`calc(${Se}px + var(--offset-y, 0))`),E.style.setProperty("left",`calc(${mt}px + var(--offset-x, 0))`)):E.style.setProperty("display","none")}}).addAnimation([Yt,At])},n6=i=>{let t=Dt(i),o=t.querySelector(".popover-content"),e=t.querySelector(".popover-arrow"),n=Ve(),r=Ve(),a=Ve();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),a.addElement(t.querySelector(".popover-arrow")).addElement(t.querySelector(".popover-content")).fromTo("opacity",.99,0),n.easing("ease").afterAddWrite(()=>{i.style.removeProperty("--width"),i.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin"),e&&(e.style.removeProperty("top"),e.style.removeProperty("left"),e.style.removeProperty("display"))}).duration(300).addAnimation([r,a])},o6=12,r6=(i,t)=>{var o;let{event:e,size:n,trigger:r,reference:a,side:s,align:l}=t,d=i.ownerDocument,u=d.dir==="rtl",f=d.defaultView.innerWidth,g=d.defaultView.innerHeight,_=Dt(i),D=_.querySelector(".popover-content"),E=r||((o=e?.detail)===null||o===void 0?void 0:o.ionShadowTarget)||e?.target,{contentWidth:A,contentHeight:T}=k_(n,D,E),L={top:g/2-T/2,left:f/2-A/2,originX:u?"right":"left",originY:"top"},B=O_(u,A,T,0,0,a,s,l,L,r,e),Q=n==="cover"?0:o6,{originX:pe,originY:ae,top:le,left:he,bottom:ve}=P_(s,B.top,B.left,Q,f,g,A,T,0,B.originX,B.originY,B.referenceCoordinates),te=Ve(),X=Ve(),fe=Ve(),Fe=Ve(),bt=Ve();return X.addElement(_.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),fe.addElement(_.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),Fe.addElement(D).beforeStyles({top:`calc(${le}px + var(--offset-y, 0px))`,left:`calc(${he}px + var(--offset-x, 0px))`,"transform-origin":`${ae} ${pe}`}).beforeAddWrite(()=>{ve!==void 0&&D.style.setProperty("bottom",`${ve}px`)}).fromTo("transform","scale(0.8)","scale(1)"),bt.addElement(_.querySelector(".popover-viewport")).fromTo("opacity",.01,1),te.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite(()=>{n==="cover"&&i.style.setProperty("--width",`${A}px`),ae==="bottom"&&i.classList.add("popover-bottom")}).addAnimation([X,fe,Fe,bt])},a6=i=>{let t=Dt(i),o=t.querySelector(".popover-content"),e=Ve(),n=Ve(),r=Ve();return n.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),r.addElement(t.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),e.easing("ease").afterAddWrite(()=>{i.style.removeProperty("--width"),i.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin")}).duration(150).addAnimation([n,r])},s6=':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}.popover-arrow::after{inset-inline-start:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}',l6=s6,c6=":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}",d6=c6,F_=So(class extends wo{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=gt(this,"ionPopoverDidPresent",7),this.willPresent=gt(this,"ionPopoverWillPresent",7),this.willDismiss=gt(this,"ionPopoverWillDismiss",7),this.didDismiss=gt(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=gt(this,"didPresent",7),this.willPresentShorthand=gt(this,"willPresent",7),this.willDismissShorthand=gt(this,"willDismiss",7),this.didDismissShorthand=gt(this,"didDismiss",7),this.ionMount=gt(this,"ionMount",7),this.parentPopover=null,this.coreDelegate=Zs(),this.lockController=Ll(),this.inline=!1,this.focusDescendantOnPresent=!1,this.onBackdropTap=()=>{this.dismiss(void 0,qo)},this.onLifecycle=t=>{let o=this.usersElement,e=u6[t.type];if(o&&e){let n=new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t.detail});o.dispatchEvent(n)}},this.configureTriggerInteraction=()=>{let{trigger:t,triggerAction:o,el:e,destroyTriggerInteraction:n}=this;if(n&&n(),t===void 0)return;let r=this.triggerEl=t!==void 0?document.getElementById(t):null;if(!r){gn(`A trigger element with the ID "${t}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.`,this.el);return}this.destroyTriggerInteraction=$k(r,o,e)},this.configureKeyboardInteraction=()=>{let{destroyKeyboardInteraction:t,el:o}=this;t&&t(),this.destroyKeyboardInteraction=Zk(o)},this.configureDismissInteraction=()=>{let{destroyDismissInteraction:t,parentPopover:o,triggerAction:e,triggerEl:n,el:r}=this;!o||!n||(t&&t(),this.destroyDismissInteraction=Hk(n,e,r,o))},this.presented=!1,this.hasController=!1,this.delegate=void 0,this.overlayIndex=void 0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.component=void 0,this.componentProps=void 0,this.keyboardClose=!0,this.cssClass=void 0,this.backdropDismiss=!0,this.event=void 0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.triggerAction="click",this.trigger=void 0,this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.alignment=void 0,this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.focusTrap=!0,this.keepContentsMounted=!1}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(t,o){t===!0&&o===!1?this.present():t===!1&&o===!0&&this.dismiss()}connectedCallback(){let{configureTriggerInteraction:t,el:o}=this;Xs(o),t()}disconnectedCallback(){let{destroyTriggerInteraction:t}=this;t&&t()}componentWillLoad(){var t,o;let{el:e}=this,n=(o=(t=this.htmlAttributes)===null||t===void 0?void 0:t.id)!==null&&o!==void 0?o:Qs(e);this.parentPopover=e.closest(`ion-popover:not(#${n})`),this.alignment===void 0&&(this.alignment=oi(this)==="ios"?"center":"start")}componentDidLoad(){let{parentPopover:t,isOpen:o}=this;o===!0&&Xi(()=>this.present()),t&&$a(t,"ionPopoverWillDismiss",()=>{this.dismiss(void 0,void 0,!1)}),this.configureTriggerInteraction()}presentFromTrigger(t,o=!1){return Ae(this,null,function*(){this.focusDescendantOnPresent=o,yield this.present(t),this.focusDescendantOnPresent=!1})}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};let o=this.el.parentNode,e=this.inline=o!==null&&!this.hasController,n=this.workingDelegate=e?this.delegate||this.coreDelegate:this.delegate;return{inline:e,delegate:n}}present(t){return Ae(this,null,function*(){let o=yield this.lockController.lock();if(this.presented){o();return}let{el:e}=this,{inline:n,delegate:r}=this.getDelegate(!0);this.ionMount.emit(),this.usersElement=yield Ws(r,e,this.component,["popover-viewport"],this.componentProps,n),this.keyboardEvents||this.configureKeyboardInteraction(),this.configureDismissInteraction(),Ha(e)?yield Wa(this.usersElement):this.keepContentsMounted||(yield Ua()),yield Js(this,"popoverEnter",i6,r6,{event:t||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment}),this.focusDescendantOnPresent&&qs(e),o()})}dismiss(t,o,e=!0){return Ae(this,null,function*(){let n=yield this.lockController.lock(),{destroyKeyboardInteraction:r,destroyDismissInteraction:a}=this;e&&this.parentPopover&&this.parentPopover.dismiss(t,o,e);let s=yield el(this,t,o,"popoverLeave",n6,a6,this.event);if(s){r&&(r(),this.destroyKeyboardInteraction=void 0),a&&(a(),this.destroyDismissInteraction=void 0);let{delegate:l}=this.getDelegate();yield Gs(l,this.usersElement)}return n(),s})}getParentPopover(){return Ae(this,null,function*(){return this.parentPopover})}onDidDismiss(){return Yo(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return Yo(this.el,"ionPopoverWillDismiss")}render(){let t=oi(this),{onLifecycle:o,parentPopover:e,dismissOnSelect:n,side:r,arrow:a,htmlAttributes:s,focusTrap:l}=this,d=yr("desktop"),u=a&&!e;return zt(Io,Object.assign({key:"3a7c4c39384bab1447c4bd6b9b06d7837a09353b","aria-modal":"true","no-router":!0,tabindex:"-1"},s,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({},Us(this.cssClass)),{[t]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":d,[`popover-side-${r}`]:!0,[io]:l===!1,"popover-nested":!!e}),onIonPopoverDidPresent:o,onIonPopoverWillPresent:o,onIonPopoverWillDismiss:o,onIonPopoverDidDismiss:o,onIonBackdropTap:this.onBackdropTap}),!e&&zt("ion-backdrop",{key:"38a1c4ad29238d1e81cab407f099121fa4947cce",tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),zt("div",{key:"f825494c5e3be89d7fcf0229e29b405bccb13edb",class:"popover-wrapper ion-overlay-wrapper",onClick:n?()=>this.dismiss():void 0},u&&zt("div",{key:"3acae5a0106389c776c8ffe5bf10f3ff006e0346",class:"popover-arrow",part:"arrow"}),zt("div",{key:"2aa73e9f06b1d2ac4c0d36c23186b9164f395079",class:"popover-content",part:"content"},zt("slot",{key:"62f5713414aae47dde6a8aef1f9b69af287534ae"}))))}get el(){return this}static get watchers(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}}static get style(){return{ios:l6,md:d6}}},[33,"ion-popover",{hasController:[4,"has-controller"],delegate:[16],overlayIndex:[2,"overlay-index"],enterAnimation:[16],leaveAnimation:[16],component:[1],componentProps:[16],keyboardClose:[4,"keyboard-close"],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],event:[8],showBackdrop:[4,"show-backdrop"],translucent:[4],animated:[4],htmlAttributes:[16],triggerAction:[1,"trigger-action"],trigger:[1],size:[1],dismissOnSelect:[4,"dismiss-on-select"],reference:[1],side:[1],alignment:[1025],arrow:[4],isOpen:[4,"is-open"],keyboardEvents:[4,"keyboard-events"],focusTrap:[4,"focus-trap"],keepContentsMounted:[4,"keep-contents-mounted"],presented:[32],presentFromTrigger:[64],present:[64],dismiss:[64],getParentPopover:[64],onDidDismiss:[64],onWillDismiss:[64]},void 0,{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}]),u6={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};function A_(){if(typeof customElements>"u")return;["ion-popover","ion-backdrop"].forEach(t=>{switch(t){case"ion-popover":customElements.get(t)||customElements.define(t,F_);break;case"ion-backdrop":customElements.get(t)||jl();break}})}var R_=A_;var m6=(()=>{class i extends Ko{angularDelegate=w(en);injector=w(qe);environmentInjector=w(Ot);constructor(){super(Ad),M_()}create(o){return super.create(Ne(G({},o),{delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")}))}static \u0275fac=function(e){return new(e||i)};static \u0275prov=J({token:i,factory:i.\u0275fac})}return i})(),gh=class extends Ko{angularDelegate=w(en);injector=w(qe);environmentInjector=w(Ot);constructor(){super(Rd),R_()}create(t){return super.create(Ne(G({},t),{delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")}))}},L_=(i={})=>fo([{provide:la,useValue:i},{provide:ja,useFactory:p6,multi:!0,deps:[la,Ee]},Yd(),en,m6,gh]),p6=(i,t)=>()=>{t.documentElement.classList.add("ion-ce"),Jl(i)};function h6(i){return new Rl(i)}var f6=()=>({defaultLanguage:"es",loader:{provide:rf,useFactory:h6,deps:[yo]}}),j_={providers:[Jf(v_,tg(),ig()),Qh(Jh(),Kh([__])),b_(),Dh([Re.forRoot(f6())]),L_({})]};var V_=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=v({type:t,selectors:[["app-landscape"]],standalone:!0,features:[x],decls:9,vars:6,consts:[[1,"landscape"],[1,"screen_rotation_one"],[1,"screen_rotation_two"]],template:function(n,r){n&1&&(m(0,"div",0)(1,"mat-icon"),y(2,"screen_rotation"),p(),m(3,"span",1),y(4),F(5,"translate"),p(),m(6,"span",2),y(7),F(8,"translate"),p()()),n&2&&(h(4),Z($(5,2,"screen_rotation_one")),h(3),Z($(8,4,"screen_rotation_two")))},dependencies:[nt,st,Re,$e],styles:[".landscape[_ngcontent-%COMP%]{display:none;width:100%;height:100%;position:absolute;top:0;left:0;z-index:999999999999;background:#000;color:#fff}.landscape[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{height:48px;width:48px;font-size:48px;margin-bottom:38px;transform:rotate(90deg)}.landscape[_ngcontent-%COMP%]   .screen_rotation_one[_ngcontent-%COMP%]{font-size:34px;font-weight:700;line-height:41px;letter-spacing:.3740000129px;text-align:center;margin-bottom:29px}.landscape[_ngcontent-%COMP%]   .screen_rotation_two[_ngcontent-%COMP%]{font-size:17px;font-weight:400;line-height:22px;letter-spacing:-.4079999924px;opacity:.6}@media (min-width: 667px) and (max-width: 926px) and (orientation: landscape){.landscape[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column}}"]});let i=t;return i})();var N_=xo("SplashScreen",{web:()=>import("./chunk-LHQGCXF3.js").then(i=>new i.SplashScreenWeb)});var B_=(()=>{let t=class t{constructor(e,n){this.translateService=e,this.languageService=n,this.translateService.onLangChange.subscribe(r=>{this.languageService.setCurrentLang(r.lang)})}};t.\u0275fac=function(n){return new(n||t)(j(Bt),j(Ro))},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var z_=(()=>{let t=class t{constructor(e,n){this.translationHelperService=e,this.platform=n,this.title="Spiritsrim",this.platform.is("hybrid")&&this.platform.ready().then(()=>Ae(this,null,function*(){setTimeout(()=>{N_.hide({fadeOutDuration:500})},2e3)}))}};t.\u0275fac=function(n){return new(n||t)(c(B_),c(kn))},t.\u0275cmp=v({type:t,selectors:[["app-root"]],standalone:!0,features:[x],decls:2,vars:0,template:function(n,r){n&1&&b(0,"router-outlet")(1,"app-landscape")},dependencies:[Vr,V_]});let i=t;return i})();tf(z_,j_).catch(i=>console.error(i));
