@mxtommy/kip 3.0.0-beta.8 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/CHANGELOG.md +32 -1
  2. package/README.md +83 -77
  3. package/images/KipConfig-Units-1024.png +0 -0
  4. package/images/KipConfig-display-1024x488.png +0 -0
  5. package/images/KipFreeboard-SK-1024.png +0 -0
  6. package/images/KipGaugeSample1-1024x545.png +0 -0
  7. package/images/KipGaugeSample2-1024x488.png +0 -0
  8. package/images/KipNightMode-1024.png +0 -0
  9. package/images/KipWidgetConfig-layout-1024.png +0 -0
  10. package/images/KipWidgetConfig-paths-1024x488.png +0 -0
  11. package/images/formfactor.png +0 -0
  12. package/package.json +26 -27
  13. package/public/3rdpartylicenses.txt +493 -432
  14. package/public/assets/apple-icon-180.png +0 -0
  15. package/public/assets/apple-splash-1125-2436.jpg +0 -0
  16. package/public/assets/apple-splash-1136-640.jpg +0 -0
  17. package/public/assets/apple-splash-1170-2532.jpg +0 -0
  18. package/public/assets/apple-splash-1179-2556.jpg +0 -0
  19. package/public/assets/apple-splash-1206-2622.jpg +0 -0
  20. package/public/assets/apple-splash-1242-2208.jpg +0 -0
  21. package/public/assets/apple-splash-1242-2688.jpg +0 -0
  22. package/public/assets/apple-splash-1284-2778.jpg +0 -0
  23. package/public/assets/apple-splash-1290-2796.jpg +0 -0
  24. package/public/assets/apple-splash-1320-2868.jpg +0 -0
  25. package/public/assets/apple-splash-1334-750.jpg +0 -0
  26. package/public/assets/apple-splash-1488-2266.jpg +0 -0
  27. package/public/assets/apple-splash-1536-2048.jpg +0 -0
  28. package/public/assets/apple-splash-1620-2160.jpg +0 -0
  29. package/public/assets/apple-splash-1640-2360.jpg +0 -0
  30. package/public/assets/apple-splash-1668-2224.jpg +0 -0
  31. package/public/assets/apple-splash-1668-2388.jpg +0 -0
  32. package/public/assets/apple-splash-1792-828.jpg +0 -0
  33. package/public/assets/apple-splash-2048-1536.jpg +0 -0
  34. package/public/assets/apple-splash-2048-2732.jpg +0 -0
  35. package/public/assets/apple-splash-2160-1620.jpg +0 -0
  36. package/public/assets/apple-splash-2208-1242.jpg +0 -0
  37. package/public/assets/apple-splash-2224-1668.jpg +0 -0
  38. package/public/assets/apple-splash-2266-1488.jpg +0 -0
  39. package/public/assets/apple-splash-2360-1640.jpg +0 -0
  40. package/public/assets/apple-splash-2388-1668.jpg +0 -0
  41. package/public/assets/apple-splash-2436-1125.jpg +0 -0
  42. package/public/assets/apple-splash-2532-1170.jpg +0 -0
  43. package/public/assets/apple-splash-2556-1179.jpg +0 -0
  44. package/public/assets/apple-splash-2622-1206.jpg +0 -0
  45. package/public/assets/apple-splash-2688-1242.jpg +0 -0
  46. package/public/assets/apple-splash-2732-2048.jpg +0 -0
  47. package/public/assets/apple-splash-2778-1284.jpg +0 -0
  48. package/public/assets/apple-splash-2796-1290.jpg +0 -0
  49. package/public/assets/apple-splash-2868-1320.jpg +0 -0
  50. package/public/assets/apple-splash-640-1136.jpg +0 -0
  51. package/public/assets/apple-splash-750-1334.jpg +0 -0
  52. package/public/assets/apple-splash-828-1792.jpg +0 -0
  53. package/public/assets/apple-touch-icon.png +0 -0
  54. package/public/assets/favicon-16x16.png +0 -0
  55. package/public/assets/favicon-32x32.png +0 -0
  56. package/public/assets/favicon.ico +0 -0
  57. package/public/assets/favicon.png +0 -0
  58. package/public/assets/favicon.svg +83 -120
  59. package/public/assets/hammer.min.js +7 -0
  60. package/public/assets/help-docs/configuration.md +57 -0
  61. package/public/assets/help-docs/contact-us.md +16 -0
  62. package/public/assets/help-docs/dashboards.md +39 -0
  63. package/public/assets/help-docs/datainspector.md +3 -0
  64. package/public/assets/help-docs/datasets.md +20 -0
  65. package/public/assets/help-docs/grafana.md +4 -0
  66. package/public/assets/help-docs/img/general-layout.png +0 -0
  67. package/public/assets/help-docs/influxdb.md +4 -0
  68. package/public/assets/help-docs/menu.json +11 -0
  69. package/public/assets/help-docs/welcome.md +55 -0
  70. package/public/assets/help-docs/zones.md +15 -0
  71. package/public/assets/icon-192x192.png +0 -0
  72. package/public/assets/icon-256x256.png +0 -0
  73. package/public/assets/icon-384x384.png +0 -0
  74. package/public/assets/icon-512x512.png +0 -0
  75. package/public/assets/icon-64x64.png +0 -0
  76. package/public/assets/icon-72x72.png +0 -0
  77. package/public/assets/manifest-icon-192.maskable.png +0 -0
  78. package/public/assets/manifest-icon-512.maskable.png +0 -0
  79. package/public/assets/svg/icons.svg +30 -1
  80. package/public/chunk-2FNQ2DDU.js +1 -0
  81. package/public/chunk-5XHGHOGP.js +3 -0
  82. package/public/chunk-6YW4QM26.js +1 -0
  83. package/public/chunk-FVY2LG57.js +18 -0
  84. package/public/chunk-HGGZHPEL.js +7 -0
  85. package/public/chunk-K6J43745.js +1 -0
  86. package/public/chunk-KMMN237T.js +1 -0
  87. package/public/chunk-L5XQ6LLN.js +1 -0
  88. package/public/chunk-L7UKAWLY.js +5 -0
  89. package/public/chunk-LSXVFISK.js +6 -0
  90. package/public/chunk-LV6YZ7OS.js +2 -0
  91. package/public/chunk-M2JB3XFU.js +2 -0
  92. package/public/chunk-M5DGTFVK.js +2 -0
  93. package/public/chunk-NYV2LWVP.js +3 -0
  94. package/public/chunk-R42HCTYK.js +3 -0
  95. package/public/chunk-RDGFD5GJ.js +2 -0
  96. package/public/chunk-RPKF2WTO.js +3 -0
  97. package/public/chunk-SGYCFQGT.js +0 -0
  98. package/public/chunk-TZDJ5EHM.js +2 -0
  99. package/public/chunk-UC4KBAC2.js +4 -0
  100. package/public/chunk-VBAR3X2R.js +2 -0
  101. package/public/chunk-VFVNTTL3.js +8 -0
  102. package/public/chunk-XWXYB7TO.js +6 -0
  103. package/public/chunk-YUTPM75L.js +1 -0
  104. package/public/chunk-Z4VURE4A.js +5 -0
  105. package/public/chunk-ZACGYWMT.js +2 -0
  106. package/public/chunk-ZV2B2T7U.js +60 -0
  107. package/public/index.html +5 -4
  108. package/public/main-BZ6Y5IZZ.js +107 -0
  109. package/public/polyfills-2DK6FBPF.js +2 -0
  110. package/public/prerendered-routes.json +3 -0
  111. package/public/styles-ILFVF6BG.css +1 -0
  112. package/images/kipPhone.png +0 -0
  113. package/public/assets/screenshot-540x720.png +0 -0
  114. package/public/assets/screenshot-720x540.png +0 -0
  115. package/public/main-WKIOAJTQ.js +0 -31
  116. package/public/polyfills-2MSMW7FV.js +0 -2
  117. package/public/styles-7T7WCDLW.css +0 -1
@@ -0,0 +1,3 @@
1
+ import{$a as Fr,$b as At,$c as De,A as Rt,Aa as _e,Ab as Jr,Ad as kn,B as D,Ba as H,Bb as ei,Bd as yi,C as mn,Cd as Ci,D as br,Da as wt,Dd as Ri,E as vn,F as _r,Fb as ti,Gb as _t,Hb as Ae,He as Ke,Ia as bn,Ib as B,Ja as xr,Jb as Et,K as re,Ka as pe,L as X,La as kr,M as fe,Ma as Nr,Na as Pr,Oa as Ee,Ob as In,P as Sn,Pa as F,Pb as ni,Q as ie,Qa as se,Qb as It,Rb as Tt,Sa as Ur,Sb as Tn,Ta as bt,Tb as ri,V as be,Vb as Mn,W as oe,Wb as An,Wc as Dt,X as yn,Xa as Lr,Xb as Dn,Xc as On,Y as Er,Ya as _n,Yb as Mt,Za as jr,Zc as li,_a as Ge,_c as ui,a as h,ab as En,b as M,ba as Ir,bb as $r,bc as ii,ca as Tr,cb as zr,dd as di,eb as Hr,ed as _,fa as Mr,fb as Ye,fd as Oe,g as Ct,ga as j,gb as Ie,gd as hi,ha as Ar,hb as Te,hd as fi,i as Cr,ia as b,ib as Br,id as pi,jb as Vr,jd as xe,k as pn,kb as qr,kc as oi,kd as gi,ke as Qe,l as gn,la as C,lb as Wr,ld as ke,m as L,ma as J,mb as Gr,md as xn,nb as Yr,o as P,oa as m,ob as Zr,pa as z,pb as x,qa as Dr,qc as si,r as K,ra as R,s as A,sa as Cn,sb as Qr,sc as ai,t as f,ta as g,tc as ci,u as he,ua as d,v as Rr,va as Rn,vb as Ze,w as wr,wd as mi,xa as wn,xb as Kr,xd as vi,yb as Xr,yd as Si,z as v,za as Or,zb as Me}from"./chunk-FVY2LG57.js";var Ne=new R(""),Ln=(()=>{class n{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,t,i,o){return this._findPluginFor(t).addEventListener(e,t,i,o)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(o=>o.supports(e)),!t)throw new C(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||n)(g(Ne),g(F))};static \u0275prov=m({token:n,factory:n.\u0275fac})}return n})(),ge=class{_doc;constructor(r){this._doc=r}manager},Ot="ng-app-id";function wi(n){for(let r of n)r.remove()}function bi(n,r){let e=r.createElement("style");return e.textContent=n,e}function Ho(n,r,e,t){let i=n.head?.querySelectorAll(`style[${Ot}="${r}"],link[${Ot}="${r}"]`);if(i)for(let o of i)o.removeAttribute(Ot),o instanceof HTMLLinkElement?t.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function Pn(n,r){let e=r.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",n),e}var jn=(()=>{class n{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,t,i,o={}){this.doc=e,this.appId=t,this.nonce=i,this.isServer=kn(o),Ho(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(let i of e)this.addUsage(i,this.inline,bi);t?.forEach(i=>this.addUsage(i,this.external,Pn))}removeStyles(e,t){for(let i of e)this.removeUsage(i,this.inline);t?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,t,i){let o=t.get(e);o?o.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,t){let i=t.get(e);i&&(i.usage--,i.usage<=0&&(wi(i.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])wi(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:i}]of this.inline)i.push(this.addElement(e,bi(t,this.doc)));for(let[t,{elements:i}]of this.external)i.push(this.addElement(e,Pn(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),this.isServer&&t.setAttribute(Ot,this.appId),e.appendChild(t)}static \u0275fac=function(t){return new(t||n)(g(_),g(_n),g(En,8),g(Ge))};static \u0275prov=m({token:n,factory:n.\u0275fac})}return n})(),Nn={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Fn=/%COMP%/g;var Ei="%COMP%",Bo=`_nghost-${Ei}`,Vo=`_ngcontent-${Ei}`,qo=!0,Wo=new R("",{providedIn:"root",factory:()=>qo});function Go(n){return Vo.replace(Fn,n)}function Yo(n){return Bo.replace(Fn,n)}function Ii(n,r){return r.map(e=>e.replace(Fn,n))}var $n=(()=>{class n{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,t,i,o,s,a,c,l=null,u=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.tracingService=u,this.platformIsServer=kn(a),this.defaultRenderer=new Xe(e,s,c,this.platformIsServer,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===Ye.ShadowDom&&(t=M(h({},t),{encapsulation:Ye.Emulated}));let i=this.getOrCreateRenderer(e,t);return i instanceof xt?i.applyToHost(e):i instanceof Je&&i.applyStyles(),i}getOrCreateRenderer(e,t){let i=this.rendererByCompId,o=i.get(t.id);if(!o){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,y=this.platformIsServer,w=this.tracingService;switch(t.encapsulation){case Ye.Emulated:o=new xt(c,l,t,this.appId,u,s,a,y,w);break;case Ye.ShadowDom:return new Un(c,l,e,t,s,a,this.nonce,y,w);default:o=new Je(c,l,t,u,s,a,y,w);break}i.set(t.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(t){return new(t||n)(g(Ln),g(jn),g(_n),g(Wo),g(_),g(Ge),g(F),g(En),g($r,8))};static \u0275prov=m({token:n,factory:n.\u0275fac})}return n})(),Xe=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,e,t,i,o){this.eventManager=r,this.doc=e,this.ngZone=t,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS(Nn[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(_i(r)?r.content:r).appendChild(e)}insertBefore(r,e,t){r&&(_i(r)?r.content:r).insertBefore(e,t)}removeChild(r,e){e.remove()}selectRootElement(r,e){let t=typeof r=="string"?this.doc.querySelector(r):r;if(!t)throw new C(-5104,!1);return e||(t.textContent=""),t}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,t,i){if(i){e=i+":"+e;let o=Nn[i];o?r.setAttributeNS(o,e,t):r.setAttribute(e,t)}else r.setAttribute(e,t)}removeAttribute(r,e,t){if(t){let i=Nn[t];i?r.removeAttributeNS(i,e):r.removeAttribute(`${t}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,t,i){i&(Ze.DashCase|Ze.Important)?r.style.setProperty(e,t,i&Ze.Important?"important":""):r.style[e]=t}removeStyle(r,e,t){t&Ze.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,t){r!=null&&(r[e]=t)}setValue(r,e){r.nodeValue=e}listen(r,e,t,i){if(typeof r=="string"&&(r=Oe().getGlobalEventTarget(this.doc,r),!r))throw new C(5102,!1);let o=this.decoratePreventDefault(t);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(r,e,o)),this.eventManager.addEventListener(r,e,o,i)}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;(this.platformIsServer?this.ngZone.runGuarded(()=>r(e)):r(e))===!1&&e.preventDefault()}}};function _i(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Un=class extends Xe{sharedStylesHost;hostEl;shadowRoot;constructor(r,e,t,i,o,s,a,c,l){super(r,o,s,c,l),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=i.styles;u=Ii(i.id,u);for(let w of u){let I=document.createElement("style");a&&I.setAttribute("nonce",a),I.textContent=w,this.shadowRoot.appendChild(I)}let y=i.getExternalStyles?.();if(y)for(let w of y){let I=Pn(w,o);a&&I.setAttribute("nonce",a),this.shadowRoot.appendChild(I)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,t){return super.insertBefore(this.nodeOrShadowRoot(r),e,t)}removeChild(r,e){return super.removeChild(null,e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Je=class extends Xe{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,e,t,i,o,s,a,c,l){super(r,o,s,a,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let u=t.styles;this.styles=l?Ii(l,u):u,this.styleUrls=t.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},xt=class extends Je{contentAttr;hostAttr;constructor(r,e,t,i,o,s,a,c,l){let u=i+"-"+t.id;super(r,e,t,o,s,a,c,l,u),this.contentAttr=Go(u),this.hostAttr=Yo(u)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,e){let t=super.createElement(r,e);return super.setAttribute(t,this.contentAttr,""),t}};var kt=class n extends fi{supportsDOMEvents=!0;static makeCurrent(){hi(new n)}onAndCancel(r,e,t,i){return r.addEventListener(e,t,i),()=>{r.removeEventListener(e,t,i)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.remove()}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null}getBaseHref(r){let e=Zo();return e==null?null:Qo(e)}resetBaseElement(){et=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return vi(document.cookie,r)}},et=null;function Zo(){return et=et||document.querySelector("base"),et?et.getAttribute("href"):null}function Qo(n){return new URL(n,document.baseURI).pathname}var Nt=class{addToWindow(r){J.getAngularTestability=(t,i=!0)=>{let o=r.findTestabilityInTree(t,i);if(o==null)throw new C(5103,!1);return o},J.getAllAngularTestabilities=()=>r.getAllTestabilities(),J.getAllAngularRootElements=()=>r.getAllRootElements();let e=t=>{let i=J.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&t()};i.forEach(a=>{a.whenStable(s)})};J.frameworkStabilizers||(J.frameworkStabilizers=[]),J.frameworkStabilizers.push(e)}findTestabilityInTree(r,e,t){if(e==null)return null;let i=r.getTestability(e);return i??(t?Oe().isShadowRoot(e)?this.findTestabilityInTree(r,e.host,!0):this.findTestabilityInTree(r,e.parentElement,!0):null)}},Ko=(()=>{class n{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||n)};static \u0275prov=m({token:n,factory:n.\u0275fac})}return n})(),Mi=(()=>{class n extends ge{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,i,o){return e.addEventListener(t,i,o),()=>this.removeEventListener(e,t,i,o)}removeEventListener(e,t,i,o){return e.removeEventListener(t,i,o)}static \u0275fac=function(t){return new(t||n)(g(_))};static \u0275prov=m({token:n,factory:n.\u0275fac})}return n})(),Ti=["alt","control","meta","shift"],Xo={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Jo={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},Ai=(()=>{class n extends ge{constructor(e){super(e)}supports(e){return n.parseEventName(e)!=null}addEventListener(e,t,i,o){let s=n.parseEventName(t),a=n.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Oe().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let t=e.toLowerCase().split("."),i=t.shift();if(t.length===0||!(i==="keydown"||i==="keyup"))return null;let o=n._normalizeKey(t.pop()),s="",a=t.indexOf("code");if(a>-1&&(t.splice(a,1),s="code."),Ti.forEach(l=>{let u=t.indexOf(l);u>-1&&(t.splice(u,1),s+=l+".")}),s+=o,t.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(e,t){let i=Xo[e.key]||e.key,o="";return t.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Ti.forEach(s=>{if(s!==i){let a=Jo[s];a(e)&&(o+=s+".")}}),o+=i,o===t)}static eventCallback(e,t,i){return o=>{n.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>t(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||n)(g(_))};static \u0275prov=m({token:n,factory:n.\u0275fac})}return n})();function es(n,r){return ui(h({rootComponent:n},ts(r)))}function ts(n){return{appProviders:[...Di,...n?.providers??[]],platformProviders:os}}function ns(){kt.makeCurrent()}function rs(){return new se}function is(){return Lr(document),document}var os=[{provide:Ge,useValue:Si},{provide:jr,useValue:ns,multi:!0},{provide:_,useFactory:is}];var ss=[{provide:It,useClass:Nt},{provide:ni,useClass:Tt,deps:[F,Tn,It]},{provide:Tt,useClass:Tt,deps:[F,Tn,It]}],Di=[{provide:Or,useValue:"root"},{provide:se,useFactory:rs},{provide:Ne,useClass:Mi,multi:!0,deps:[_]},{provide:Ne,useClass:Ai,multi:!0,deps:[_]},$n,jn,Ln,{provide:Kr,useExisting:$n},{provide:yi,useClass:Ko},[]],as=(()=>{class n{constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275mod=B({type:n});static \u0275inj=z({providers:[...Di,...ss],imports:[mi,li]})}return n})();var Oi=(()=>{class n{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(t){return new(t||n)(g(_))};static \u0275prov=m({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ls={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},zn=new R(""),xi=new R(""),us=(()=>{class n{events=[];overrides={};options;buildHammer(e){let t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(let i in this.overrides)t.get(i).set(this.overrides[i]);return t}static \u0275fac=function(t){return new(t||n)};static \u0275prov=m({token:n,factory:n.\u0275fac})}return n})(),ds=(()=>{class n extends ge{_config;_injector;loader;_loaderPromise=null;constructor(e,t,i,o){super(e),this._config=t,this._injector=i,this.loader=o}supports(e){return!(!ls.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader)}addEventListener(e,t,i){let o=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||o.runOutsideAngular(()=>this.loader());let s=!1,a=()=>{s=!0};return o.runOutsideAngular(()=>this._loaderPromise.then(()=>{if(!window.Hammer){a=()=>{};return}s||(a=this.addEventListener(e,t,i))}).catch(()=>{a=()=>{}})),()=>{a()}}return o.runOutsideAngular(()=>{let s=this._config.buildHammer(e),a=function(c){o.runGuarded(function(){i(c)})};return s.on(t,a),()=>{s.off(t,a),typeof s.destroy=="function"&&s.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}static \u0275fac=function(t){return new(t||n)(g(_),g(zn),g(pe),g(xi,8))};static \u0275prov=m({token:n,factory:n.\u0275fac})}return n})(),zc=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=B({type:n});static \u0275inj=z({providers:[{provide:Ne,useClass:ds,multi:!0,deps:[_,zn,pe,[new Rn,xi]]},{provide:zn,useClass:us}]})}return n})(),Hn=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=m({token:n,factory:function(t){let i=null;return t?i=new(t||n):i=g(hs),i},providedIn:"root"})}return n})(),hs=(()=>{class n extends Hn{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(t==null)return null;switch(e){case x.NONE:return t;case x.HTML:return Te(t,"HTML")?Ie(t):Zr(this._doc,String(t)).toString();case x.STYLE:return Te(t,"Style")?Ie(t):t;case x.SCRIPT:if(Te(t,"Script"))return Ie(t);throw new C(5200,!1);case x.URL:return Te(t,"URL")?Ie(t):Yr(String(t));case x.RESOURCE_URL:if(Te(t,"ResourceURL"))return Ie(t);throw new C(5201,!1);default:throw new C(5202,!1)}}bypassSecurityTrustHtml(e){return Br(e)}bypassSecurityTrustStyle(e){return Vr(e)}bypassSecurityTrustScript(e){return qr(e)}bypassSecurityTrustUrl(e){return Wr(e)}bypassSecurityTrustResourceUrl(e){return Gr(e)}static \u0275fac=function(t){return new(t||n)(g(_))};static \u0275prov=m({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var p="primary",ft=Symbol("RouteTitle"),Gn=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Se(n){return new Gn(n)}function zi(n,r,e){let t=e.path.split("/");if(t.length>n.length||e.pathMatch==="full"&&(r.hasChildren()||t.length<n.length))return null;let i={};for(let o=0;o<t.length;o++){let s=t[o],a=n[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:n.slice(0,t.length),posParams:i}}function fs(n,r){if(n.length!==r.length)return!1;for(let e=0;e<n.length;++e)if(!V(n[e],r[e]))return!1;return!0}function V(n,r){let e=n?Yn(n):void 0,t=r?Yn(r):void 0;if(!e||!t||e.length!=t.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!Hi(n[i],r[i]))return!1;return!0}function Yn(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function Hi(n,r){if(Array.isArray(n)&&Array.isArray(r)){if(n.length!==r.length)return!1;let e=[...n].sort(),t=[...r].sort();return e.every((i,o)=>t[o]===i)}else return n===r}function Bi(n){return n.length>0?n[n.length-1]:null}function de(n){return Rr(n)?n:ri(n)?A(Promise.resolve(n)):f(n)}var ps={exact:qi,subset:Wi},Vi={exact:gs,subset:ms,ignored:()=>!0};function Ni(n,r,e){return ps[e.paths](n.root,r.root,e.matrixParams)&&Vi[e.queryParams](n.queryParams,r.queryParams)&&!(e.fragment==="exact"&&n.fragment!==r.fragment)}function gs(n,r){return V(n,r)}function qi(n,r,e){if(!me(n.segments,r.segments)||!Lt(n.segments,r.segments,e)||n.numberOfChildren!==r.numberOfChildren)return!1;for(let t in r.children)if(!n.children[t]||!qi(n.children[t],r.children[t],e))return!1;return!0}function ms(n,r){return Object.keys(r).length<=Object.keys(n).length&&Object.keys(r).every(e=>Hi(n[e],r[e]))}function Wi(n,r,e){return Gi(n,r,r.segments,e)}function Gi(n,r,e,t){if(n.segments.length>e.length){let i=n.segments.slice(0,e.length);return!(!me(i,e)||r.hasChildren()||!Lt(i,e,t))}else if(n.segments.length===e.length){if(!me(n.segments,e)||!Lt(n.segments,e,t))return!1;for(let i in r.children)if(!n.children[i]||!Wi(n.children[i],r.children[i],t))return!1;return!0}else{let i=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!me(n.segments,i)||!Lt(n.segments,i,t)||!n.children[p]?!1:Gi(n.children[p],r,o,t)}}function Lt(n,r,e){return r.every((t,i)=>Vi[e](n[i].parameters,t.parameters))}var W=class{root;queryParams;fragment;_queryParamMap;constructor(r=new S([],{}),e={},t=null){this.root=r,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap??=Se(this.queryParams),this._queryParamMap}toString(){return ys.serialize(this)}},S=class{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return jt(this)}},ae=class{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap??=Se(this.parameters),this._parameterMap}toString(){return Zi(this)}};function vs(n,r){return me(n,r)&&n.every((e,t)=>V(e.parameters,r[t].parameters))}function me(n,r){return n.length!==r.length?!1:n.every((e,t)=>e.path===r[t].path)}function Ss(n,r){let e=[];return Object.entries(n.children).forEach(([t,i])=>{t===p&&(e=e.concat(r(i,t)))}),Object.entries(n.children).forEach(([t,i])=>{t!==p&&(e=e.concat(r(i,t)))}),e}var ye=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=m({token:n,factory:()=>new ce,providedIn:"root"})}return n})(),ce=class{parse(r){let e=new Qn(r);return new W(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){let e=`/${tt(r.root,!0)}`,t=ws(r.queryParams),i=typeof r.fragment=="string"?`#${Cs(r.fragment)}`:"";return`${e}${t}${i}`}},ys=new ce;function jt(n){return n.segments.map(r=>Zi(r)).join("/")}function tt(n,r){if(!n.hasChildren())return jt(n);if(r){let e=n.children[p]?tt(n.children[p],!1):"",t=[];return Object.entries(n.children).forEach(([i,o])=>{i!==p&&t.push(`${i}:${tt(o,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}else{let e=Ss(n,(t,i)=>i===p?[tt(n.children[p],!1)]:[`${i}:${tt(t,!1)}`]);return Object.keys(n.children).length===1&&n.children[p]!=null?`${jt(n)}/${e[0]}`:`${jt(n)}/(${e.join("//")})`}}function Yi(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pt(n){return Yi(n).replace(/%3B/gi,";")}function Cs(n){return encodeURI(n)}function Zn(n){return Yi(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ft(n){return decodeURIComponent(n)}function Pi(n){return Ft(n.replace(/\+/g,"%20"))}function Zi(n){return`${Zn(n.path)}${Rs(n.parameters)}`}function Rs(n){return Object.entries(n).map(([r,e])=>`;${Zn(r)}=${Zn(e)}`).join("")}function ws(n){let r=Object.entries(n).map(([e,t])=>Array.isArray(t)?t.map(i=>`${Pt(e)}=${Pt(i)}`).join("&"):`${Pt(e)}=${Pt(t)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}var bs=/^[^\/()?;#]+/;function Bn(n){let r=n.match(bs);return r?r[0]:""}var _s=/^[^\/()?;=#]+/;function Es(n){let r=n.match(_s);return r?r[0]:""}var Is=/^[^=?&#]+/;function Ts(n){let r=n.match(Is);return r?r[0]:""}var Ms=/^[^&#]+/;function As(n){let r=n.match(Ms);return r?r[0]:""}var Qn=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new S([],{}):new S([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(t[p]=new S(r,e)),t}parseSegment(){let r=Bn(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(r),new ae(Ft(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let e=Es(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let i=Bn(this.remaining);i&&(t=i,this.capture(t))}r[Ft(e)]=Ft(t)}parseQueryParam(r){let e=Ts(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let s=As(this.remaining);s&&(t=s,this.capture(t))}let i=Pi(e),o=Pi(t);if(r.hasOwnProperty(i)){let s=r[i];Array.isArray(s)||(s=[s],r[i]=s),s.push(o)}else r[i]=o}parseParens(r){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=Bn(this.remaining),i=this.remaining[t.length];if(i!=="/"&&i!==")"&&i!==";")throw new C(4010,!1);let o;t.indexOf(":")>-1?(o=t.slice(0,t.indexOf(":")),this.capture(o),this.capture(":")):r&&(o=p);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[p]:new S([],s),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new C(4011,!1)}};function Qi(n){return n.segments.length>0?new S([],{[p]:n}):n}function Ki(n){let r={};for(let[t,i]of Object.entries(n.children)){let o=Ki(i);if(t===p&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))r[s]=a;else(o.segments.length>0||o.hasChildren())&&(r[t]=o)}let e=new S(n.segments,r);return Ds(e)}function Ds(n){if(n.numberOfChildren===1&&n.children[p]){let r=n.children[p];return new S(n.segments.concat(r.segments),r.children)}return n}function le(n){return n instanceof W}function Xi(n,r,e=null,t=null){let i=Ji(n);return eo(i,r,e,t)}function Ji(n){let r;function e(o){let s={};for(let c of o.children){let l=e(c);s[c.outlet]=l}let a=new S(o.url,s);return o===n&&(r=a),a}let t=e(n.root),i=Qi(t);return r??i}function eo(n,r,e,t){let i=n;for(;i.parent;)i=i.parent;if(r.length===0)return Vn(i,i,i,e,t);let o=Os(r);if(o.toRoot())return Vn(i,i,new S([],{}),e,t);let s=xs(o,i,n),a=s.processChildren?rt(s.segmentGroup,s.index,o.commands):no(s.segmentGroup,s.index,o.commands);return Vn(i,s.segmentGroup,a,e,t)}function zt(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function ot(n){return typeof n=="object"&&n!=null&&n.outlets}function Vn(n,r,e,t,i){let o={};t&&Object.entries(t).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let s;n===r?s=e:s=to(n,r,e);let a=Qi(Ki(s));return new W(a,o,i)}function to(n,r,e){let t={};return Object.entries(n.children).forEach(([i,o])=>{o===r?t[i]=e:t[i]=to(o,r,e)}),new S(n.segments,t)}var Ht=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,t){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=t,r&&t.length>0&&zt(t[0]))throw new C(4003,!1);let i=t.find(ot);if(i&&i!==Bi(t))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Os(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new Ht(!0,0,n);let r=0,e=!1,t=n.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?e=!0:a===".."?r++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Ht(e,r,t)}var Le=class{segmentGroup;processChildren;index;constructor(r,e,t){this.segmentGroup=r,this.processChildren=e,this.index=t}};function xs(n,r,e){if(n.isAbsolute)return new Le(r,!0,0);if(!e)return new Le(r,!1,NaN);if(e.parent===null)return new Le(e,!0,0);let t=zt(n.commands[0])?0:1,i=e.segments.length-1+t;return ks(e,i,n.numberOfDoubleDots)}function ks(n,r,e){let t=n,i=r,o=e;for(;o>i;){if(o-=i,t=t.parent,!t)throw new C(4005,!1);i=t.segments.length}return new Le(t,!1,i-o)}function Ns(n){return ot(n[0])?n[0].outlets:{[p]:n}}function no(n,r,e){if(n??=new S([],{}),n.segments.length===0&&n.hasChildren())return rt(n,r,e);let t=Ps(n,r,e),i=e.slice(t.commandIndex);if(t.match&&t.pathIndex<n.segments.length){let o=new S(n.segments.slice(0,t.pathIndex),{});return o.children[p]=new S(n.segments.slice(t.pathIndex),n.children),rt(o,0,i)}else return t.match&&i.length===0?new S(n.segments,{}):t.match&&!n.hasChildren()?Kn(n,r,e):t.match?rt(n,0,i):Kn(n,r,e)}function rt(n,r,e){if(e.length===0)return new S(n.segments,{});{let t=Ns(e),i={};if(Object.keys(t).some(o=>o!==p)&&n.children[p]&&n.numberOfChildren===1&&n.children[p].segments.length===0){let o=rt(n.children[p],r,e);return new S(n.segments,o.children)}return Object.entries(t).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=no(n.children[o],r,s))}),Object.entries(n.children).forEach(([o,s])=>{t[o]===void 0&&(i[o]=s)}),new S(n.segments,i)}}function Ps(n,r,e){let t=0,i=r,o={match:!1,pathIndex:0,commandIndex:0};for(;i<n.segments.length;){if(t>=e.length)return o;let s=n.segments[i],a=e[t];if(ot(a))break;let c=`${a}`,l=t<e.length-1?e[t+1]:null;if(i>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Li(c,l,s))return o;t+=2}else{if(!Li(c,{},s))return o;t++}i++}return{match:!0,pathIndex:i,commandIndex:t}}function Kn(n,r,e){let t=n.segments.slice(0,r),i=0;for(;i<e.length;){let o=e[i];if(ot(o)){let c=Us(o.outlets);return new S(t,c)}if(i===0&&zt(e[0])){let c=n.segments[r];t.push(new ae(c.path,Ui(e[0]))),i++;continue}let s=ot(o)?o.outlets[p]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&zt(a)?(t.push(new ae(s,Ui(a))),i+=2):(t.push(new ae(s,{})),i++)}return new S(t,{})}function Us(n){let r={};return Object.entries(n).forEach(([e,t])=>{typeof t=="string"&&(t=[t]),t!==null&&(r[e]=Kn(new S([],{}),0,t))}),r}function Ui(n){let r={};return Object.entries(n).forEach(([e,t])=>r[e]=`${t}`),r}function Li(n,r,e){return n==e.path&&V(r,e.parameters)}var $t="imperative",E=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(E||{}),N=class{id;url;constructor(r,e){this.id=r,this.url=e}},ue=class extends N{type=E.NavigationStart;navigationTrigger;restoredState;constructor(r,e,t="imperative",i=null){super(r,e),this.navigationTrigger=t,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},U=class extends N{urlAfterRedirects;type=E.NavigationEnd;constructor(r,e,t){super(r,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},O=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(O||{}),Fe=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(Fe||{}),q=class extends N{reason;code;type=E.NavigationCancel;constructor(r,e,t,i){super(r,e),this.reason=t,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},G=class extends N{reason;code;type=E.NavigationSkipped;constructor(r,e,t,i){super(r,e),this.reason=t,this.code=i}},$e=class extends N{error;target;type=E.NavigationError;constructor(r,e,t,i){super(r,e),this.error=t,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},st=class extends N{urlAfterRedirects;state;type=E.RoutesRecognized;constructor(r,e,t,i){super(r,e),this.urlAfterRedirects=t,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Bt=class extends N{urlAfterRedirects;state;type=E.GuardsCheckStart;constructor(r,e,t,i){super(r,e),this.urlAfterRedirects=t,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vt=class extends N{urlAfterRedirects;state;shouldActivate;type=E.GuardsCheckEnd;constructor(r,e,t,i,o){super(r,e),this.urlAfterRedirects=t,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},qt=class extends N{urlAfterRedirects;state;type=E.ResolveStart;constructor(r,e,t,i){super(r,e),this.urlAfterRedirects=t,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wt=class extends N{urlAfterRedirects;state;type=E.ResolveEnd;constructor(r,e,t,i){super(r,e),this.urlAfterRedirects=t,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Gt=class{route;type=E.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Yt=class{route;type=E.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Zt=class{snapshot;type=E.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qt=class{snapshot;type=E.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Kt=class{snapshot;type=E.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xt=class{snapshot;type=E.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ze=class{routerEvent;position;anchor;type=E.Scroll;constructor(r,e,t){this.routerEvent=r,this.position=e,this.anchor=t}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`}},at=class{},He=class{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e}};function Ls(n,r){return n.providers&&!n._injector&&(n._injector=_t(n.providers,r,`Route: ${n.path}`)),n._injector??r}function $(n){return n.outlet||p}function js(n,r){let e=n.filter(t=>$(t)===r);return e.push(...n.filter(t=>$(t)!==r)),e}function pt(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let r=n.parent;r;r=r.parent){let e=r.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Jt=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return pt(this.route?.snapshot)??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new Ce(this.rootInjector)}},Ce=(()=>{class n{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,t){let i=this.getOrCreateContext(e);i.outlet=t,this.contexts.set(e,i)}onChildOutletDestroyed(e){let t=this.getContext(e);t&&(t.outlet=null,t.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new Jt(this.rootInjector),this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(t){return new(t||n)(g(_e))};static \u0275prov=m({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),en=class{_root;constructor(r){this._root=r}get root(){return this._root.value}parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){let e=Xn(r,this._root);return e?e.children.map(t=>t.value):[]}firstChild(r){let e=Xn(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){let e=Jn(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return Jn(r,this._root).map(e=>e.value)}};function Xn(n,r){if(n===r.value)return r;for(let e of r.children){let t=Xn(n,e);if(t)return t}return null}function Jn(n,r){if(n===r.value)return[r];for(let e of r.children){let t=Jn(n,e);if(t.length)return t.unshift(r),t}return[]}var k=class{value;children;constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}};function Ue(n){let r={};return n&&n.children.forEach(e=>r[e.value.outlet]=e),r}var ct=class extends en{snapshot;constructor(r,e){super(r),this.snapshot=e,ar(this,r)}toString(){return this.snapshot.toString()}};function ro(n){let r=Fs(n),e=new P([new ae("",{})]),t=new P({}),i=new P({}),o=new P({}),s=new P(""),a=new Y(e,t,o,s,i,p,n,r.root);return a.snapshot=r.root,new ct(new k(a,[]),r)}function Fs(n){let r={},e={},t={},i="",o=new ve([],r,t,i,e,p,n,null,{});return new lt("",new k(o,[]))}var Y=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,e,t,i,o,s,a,c){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=t,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(v(l=>l[ft]))??f(void 0),this.url=r,this.params=e,this.queryParams=t,this.fragment=i,this.data=o}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(v(r=>Se(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(v(r=>Se(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function tn(n,r,e="emptyOnly"){let t,{routeConfig:i}=n;return r!==null&&(e==="always"||i?.path===""||!r.component&&!r.routeConfig?.loadComponent)?t={params:h(h({},r.params),n.params),data:h(h({},r.data),n.data),resolve:h(h(h(h({},n.data),r.data),i?.data),n._resolvedData)}:t={params:h({},n.params),data:h({},n.data),resolve:h(h({},n.data),n._resolvedData??{})},i&&oo(i)&&(t.resolve[ft]=i.title),t}var ve=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ft]}constructor(r,e,t,i,o,s,a,c,l){this.url=r,this.params=e,this.queryParams=t,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}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??=Se(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Se(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(t=>t.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${e}')`}},lt=class extends en{url;constructor(r,e){super(e),this.url=r,ar(this,e)}toString(){return io(this._root)}};function ar(n,r){r.value._routerState=n,r.children.forEach(e=>ar(n,e))}function io(n){let r=n.children.length>0?` { ${n.children.map(io).join(", ")} } `:"";return`${n.value}${r}`}function qn(n){if(n.snapshot){let r=n.snapshot,e=n._futureSnapshot;n.snapshot=e,V(r.queryParams,e.queryParams)||n.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&n.fragmentSubject.next(e.fragment),V(r.params,e.params)||n.paramsSubject.next(e.params),fs(r.url,e.url)||n.urlSubject.next(e.url),V(r.data,e.data)||n.dataSubject.next(e.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function er(n,r){let e=V(n.params,r.params)&&vs(n.url,r.url),t=!n.parent!=!r.parent;return e&&!t&&(!n.parent||er(n.parent,r.parent))}function oo(n){return typeof n.title=="string"||n.title===null}var so=new R(""),cr=(()=>{class n{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=p;activateEvents=new Ee;deactivateEvents=new Ee;attachEvents=new Ee;detachEvents=new Ee;routerOutletData=Ur(void 0);parentContexts=d(Ce);location=d(ei);changeDetector=d(On);inputBinder=d(gt,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:t,previousValue:i}=e.name;if(t)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),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 C(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,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,t){if(this.isActivated)throw new C(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new tr(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:c,environmentInjector:t}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=Et({type:n,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[wt]})}return n})(),tr=class{route;childContexts;parent;outletData;constructor(r,e,t,i){this.route=r,this.childContexts=e,this.parent=t,this.outletData=i}get(r,e){return r===Y?this.route:r===Ce?this.childContexts:r===so?this.outletData:this.parent.get(r,e)}},gt=new R(""),lr=(()=>{class n{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:t}=e,i=Rt([t.queryParams,t.params,t.data]).pipe(j(([o,s,a],c)=>(a=h(h(h({},o),s),a),c===0?f(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==t||t.component===null){this.unsubscribeFromRouteData(e);return}let s=di(t.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=m({token:n,factory:n.\u0275fac})}return n})();function $s(n,r,e){let t=ut(n,r._root,e?e._root:void 0);return new ct(t,r)}function ut(n,r,e){if(e&&n.shouldReuseRoute(r.value,e.value.snapshot)){let t=e.value;t._futureSnapshot=r.value;let i=zs(n,r,e);return new k(t,i)}else{if(n.shouldAttach(r.value)){let o=n.retrieve(r.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=r.value,s.children=r.children.map(a=>ut(n,a)),s}}let t=Hs(r.value),i=r.children.map(o=>ut(n,o));return new k(t,i)}}function zs(n,r,e){return r.children.map(t=>{for(let i of e.children)if(n.shouldReuseRoute(t.value,i.value.snapshot))return ut(n,t,i);return ut(n,t)})}function Hs(n){return new Y(new P(n.url),new P(n.params),new P(n.queryParams),new P(n.fragment),new P(n.data),n.outlet,n.component,n)}var Be=class{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e}},ao="ngNavigationCancelingError";function nn(n,r){let{redirectTo:e,navigationBehaviorOptions:t}=le(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=co(!1,O.Redirect);return i.url=e,i.navigationBehaviorOptions=t,i}function co(n,r){let e=new Error(`NavigationCancelingError: ${n||""}`);return e[ao]=!0,e.cancellationCode=r,e}function Bs(n){return lo(n)&&le(n.url)}function lo(n){return!!n&&n[ao]}var Vs=(n,r,e,t)=>v(i=>(new nr(r,i.targetRouterState,i.currentRouterState,e,t).activate(n),i)),nr=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,t,i,o){this.routeReuseStrategy=r,this.futureState=e,this.currState=t,this.forwardEvent=i,this.inputBindingEnabled=o}activate(r){let e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,r),qn(this.futureState.root),this.activateChildRoutes(e,t,r)}deactivateChildRoutes(r,e,t){let i=Ue(e);r.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],t),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,t)})}deactivateRoutes(r,e,t){let i=r.value,o=e?e.value:null;if(i===o)if(i.component){let s=t.getContext(i.outlet);s&&this.deactivateChildRoutes(r,e,s.children)}else this.deactivateChildRoutes(r,e,t);else o&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){let t=e.getContext(r.value.outlet),i=t&&r.value.component?t.children:e,o=Ue(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(t&&t.outlet){let s=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:s,route:r,contexts:a})}}deactivateRouteAndOutlet(r,e){let t=e.getContext(r.value.outlet),i=t&&r.value.component?t.children:e,o=Ue(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(r,e,t){let i=Ue(e);r.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],t),this.forwardEvent(new Xt(o.value.snapshot))}),r.children.length&&this.forwardEvent(new Qt(r.value.snapshot))}activateRoutes(r,e,t){let i=r.value,o=e?e.value:null;if(qn(i),i===o)if(i.component){let s=t.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,s.children)}else this.activateChildRoutes(r,e,t);else if(i.component){let s=t.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),qn(a.route.value),this.activateChildRoutes(r,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(r,null,s.children)}else this.activateChildRoutes(r,null,t)}},rn=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},je=class{component;route;constructor(r,e){this.component=r,this.route=e}};function qs(n,r,e){let t=n._root,i=r?r._root:null;return nt(t,i,e,[t.value])}function Ws(n){let r=n.routeConfig?n.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:n,guards:r}}function qe(n,r){let e=Symbol(),t=r.get(n,e);return t===e?typeof n=="function"&&!Dr(n)?n:r.get(n):t}function nt(n,r,e,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ue(r);return n.children.forEach(s=>{Gs(s,o[s.value.outlet],e,t.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>it(a,e.getContext(s),i)),i}function Gs(n,r,e,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,s=r?r.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=Ys(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new rn(t)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?nt(n,r,a?a.children:null,t,i):nt(n,r,e,t,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new je(a.outlet.component,s))}else s&&it(r,a,i),i.canActivateChecks.push(new rn(t)),o.component?nt(n,null,a?a.children:null,t,i):nt(n,null,e,t,i);return i}function Ys(n,r,e){if(typeof e=="function")return e(n,r);switch(e){case"pathParamsChange":return!me(n.url,r.url);case"pathParamsOrQueryParamsChange":return!me(n.url,r.url)||!V(n.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!er(n,r)||!V(n.queryParams,r.queryParams);case"paramsChange":default:return!er(n,r)}}function it(n,r,e){let t=Ue(n),i=n.value;Object.entries(t).forEach(([o,s])=>{i.component?r?it(s,r.children.getContext(o),e):it(s,null,e):it(s,r,e)}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new je(r.outlet.component,i)):e.canDeactivateChecks.push(new je(null,i)):e.canDeactivateChecks.push(new je(null,i))}function mt(n){return typeof n=="function"}function Zs(n){return typeof n=="boolean"}function Qs(n){return n&&mt(n.canLoad)}function Ks(n){return n&&mt(n.canActivate)}function Xs(n){return n&&mt(n.canActivateChild)}function Js(n){return n&&mt(n.canDeactivate)}function ea(n){return n&&mt(n.canMatch)}function uo(n){return n instanceof wr||n?.name==="EmptyError"}var Ut=Symbol("INITIAL_VALUE");function Ve(){return j(n=>Rt(n.map(r=>r.pipe(ie(1),Mr(Ut)))).pipe(v(r=>{for(let e of r)if(e!==!0){if(e===Ut)return Ut;if(e===!1||ta(e))return e}return!0}),re(r=>r!==Ut),ie(1)))}function ta(n){return le(n)||n instanceof Be}function na(n,r){return D(e=>{let{targetSnapshot:t,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?f(M(h({},e),{guardsResult:!0})):ra(s,t,i,n).pipe(D(a=>a&&Zs(a)?ia(t,o,n,r):f(a)),v(a=>M(h({},e),{guardsResult:a})))})}function ra(n,r,e,t){return A(n).pipe(D(i=>la(i.component,i.route,e,r,t)),oe(i=>i!==!0,!0))}function ia(n,r,e,t){return A(r).pipe(fe(i=>br(sa(i.route.parent,t),oa(i.route,t),ca(n,i.path,e),aa(n,i.route,e))),oe(i=>i!==!0,!0))}function oa(n,r){return n!==null&&r&&r(new Kt(n)),f(!0)}function sa(n,r){return n!==null&&r&&r(new Zt(n)),f(!0)}function aa(n,r,e){let t=r.routeConfig?r.routeConfig.canActivate:null;if(!t||t.length===0)return f(!0);let i=t.map(o=>vn(()=>{let s=pt(r)??e,a=qe(o,s),c=Ks(a)?a.canActivate(r,n):H(s,()=>a(r,n));return de(c).pipe(oe())}));return f(i).pipe(Ve())}function ca(n,r,e){let t=r[r.length-1],o=r.slice(0,r.length-1).reverse().map(s=>Ws(s)).filter(s=>s!==null).map(s=>vn(()=>{let a=s.guards.map(c=>{let l=pt(s.node)??e,u=qe(c,l),y=Xs(u)?u.canActivateChild(t,n):H(l,()=>u(t,n));return de(y).pipe(oe())});return f(a).pipe(Ve())}));return f(o).pipe(Ve())}function la(n,r,e,t,i){let o=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!o||o.length===0)return f(!0);let s=o.map(a=>{let c=pt(r)??i,l=qe(a,c),u=Js(l)?l.canDeactivate(n,r,e,t):H(c,()=>l(n,r,e,t));return de(u).pipe(oe())});return f(s).pipe(Ve())}function ua(n,r,e,t){let i=r.canLoad;if(i===void 0||i.length===0)return f(!0);let o=i.map(s=>{let a=qe(s,n),c=Qs(a)?a.canLoad(r,e):H(n,()=>a(r,e));return de(c)});return f(o).pipe(Ve(),ho(t))}function ho(n){return Cr(b(r=>{if(typeof r!="boolean")throw nn(n,r)}),v(r=>r===!0))}function da(n,r,e,t){let i=r.canMatch;if(!i||i.length===0)return f(!0);let o=i.map(s=>{let a=qe(s,n),c=ea(a)?a.canMatch(r,e):H(n,()=>a(r,e));return de(c)});return f(o).pipe(Ve(),ho(t))}var dt=class{segmentGroup;constructor(r){this.segmentGroup=r||null}},ht=class extends Error{urlTree;constructor(r){super(),this.urlTree=r}};function Pe(n){return he(new dt(n))}function ha(n){return he(new C(4e3,!1))}function fa(n){return he(co(!1,O.GuardRejected))}var rr=class{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e}lineralizeSegments(r,e){let t=[],i=e.root;for(;;){if(t=t.concat(i.segments),i.numberOfChildren===0)return f(t);if(i.numberOfChildren>1||!i.children[p])return ha(`${r.redirectTo}`);i=i.children[p]}}applyRedirectCommands(r,e,t,i,o){if(typeof e!="string"){let a=e,{queryParams:c,fragment:l,routeConfig:u,url:y,outlet:w,params:I,data:T,title:ne}=i,Q=H(o,()=>a({params:I,data:T,queryParams:c,fragment:l,routeConfig:u,url:y,outlet:w,title:ne}));if(Q instanceof W)throw new ht(Q);e=Q}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),r,t);if(e[0]==="/")throw new ht(s);return s}applyRedirectCreateUrlTree(r,e,t,i){let o=this.createSegmentGroup(r,e.root,t,i);return new W(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){let t={};return Object.entries(r).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);t[i]=e[a]}else t[i]=o}),t}createSegmentGroup(r,e,t,i){let o=this.createSegments(r,e.segments,t,i),s={};return Object.entries(e.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(r,c,t,i)}),new S(o,s)}createSegments(r,e,t,i){return e.map(o=>o.path[0]===":"?this.findPosParam(r,o,i):this.findOrReturn(o,t))}findPosParam(r,e,t){let i=t[e.path.substring(1)];if(!i)throw new C(4001,!1);return i}findOrReturn(r,e){let t=0;for(let i of e){if(i.path===r.path)return e.splice(t),i;t++}return r}},ir={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function pa(n,r,e,t,i){let o=fo(n,r,e);return o.matched?(t=Ls(r,t),da(t,r,e,i).pipe(v(s=>s===!0?o:h({},ir)))):f(o)}function fo(n,r,e){if(r.path==="**")return ga(e);if(r.path==="")return r.pathMatch==="full"&&(n.hasChildren()||e.length>0)?h({},ir):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r.matcher||zi)(e,n,r);if(!i)return h({},ir);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?h(h({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function ga(n){return{matched:!0,parameters:n.length>0?Bi(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function ji(n,r,e,t){return e.length>0&&Sa(n,e,t)?{segmentGroup:new S(r,va(t,new S(e,n.children))),slicedSegments:[]}:e.length===0&&ya(n,e,t)?{segmentGroup:new S(n.segments,ma(n,e,t,n.children)),slicedSegments:e}:{segmentGroup:new S(n.segments,n.children),slicedSegments:e}}function ma(n,r,e,t){let i={};for(let o of e)if(sn(n,r,o)&&!t[$(o)]){let s=new S([],{});i[$(o)]=s}return h(h({},t),i)}function va(n,r){let e={};e[p]=r;for(let t of n)if(t.path===""&&$(t)!==p){let i=new S([],{});e[$(t)]=i}return e}function Sa(n,r,e){return e.some(t=>sn(n,r,t)&&$(t)!==p)}function ya(n,r,e){return e.some(t=>sn(n,r,t))}function sn(n,r,e){return(n.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Ca(n,r,e){return r.length===0&&!n.children[e]}var or=class{};function Ra(n,r,e,t,i,o,s="emptyOnly"){return new sr(n,r,e,t,i,s,o).recognize()}var wa=31,sr=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,e,t,i,o,s,a){this.injector=r,this.configLoader=e,this.rootComponentType=t,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new rr(this.urlSerializer,this.urlTree)}noMatchError(r){return new C(4002,`'${r.segmentGroup}'`)}recognize(){let r=ji(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(v(({children:e,rootSnapshot:t})=>{let i=new k(t,e),o=new lt("",i),s=Xi(t,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(r){let e=new ve([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),p,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,p,e).pipe(v(t=>({children:t,rootSnapshot:e})),X(t=>{if(t instanceof ht)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof dt?this.noMatchError(t):t}))}processSegmentGroup(r,e,t,i,o){return t.segments.length===0&&t.hasChildren()?this.processChildren(r,e,t,o):this.processSegment(r,e,t,t.segments,i,!0,o).pipe(v(s=>s instanceof k?[s]:[]))}processChildren(r,e,t,i){let o=[];for(let s of Object.keys(t.children))s==="primary"?o.unshift(s):o.push(s);return A(o).pipe(fe(s=>{let a=t.children[s],c=js(e,s);return this.processSegmentGroup(r,c,a,s,i)}),Ir((s,a)=>(s.push(...a),s)),Sn(null),Er(),D(s=>{if(s===null)return Pe(t);let a=po(s);return ba(a),f(a)}))}processSegment(r,e,t,i,o,s,a){return A(e).pipe(fe(c=>this.processSegmentAgainstRoute(c._injector??r,e,c,t,i,o,s,a).pipe(X(l=>{if(l instanceof dt)return f(null);throw l}))),oe(c=>!!c),X(c=>{if(uo(c))return Ca(t,i,o)?f(new or):Pe(t);throw c}))}processSegmentAgainstRoute(r,e,t,i,o,s,a,c){return $(t)!==s&&(s===p||!sn(i,o,t))?Pe(i):t.redirectTo===void 0?this.matchSegmentAgainstRoute(r,i,t,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(r,i,e,t,o,s,c):Pe(i)}expandSegmentAgainstRouteUsingRedirect(r,e,t,i,o,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:y,remainingSegments:w}=fo(e,i,o);if(!c)return Pe(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>wa&&(this.allowRedirects=!1));let I=new ve(o,l,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Fi(i),$(i),i.component??i._loadedComponent??null,i,$i(i)),T=tn(I,a,this.paramsInheritanceStrategy);I.params=Object.freeze(T.params),I.data=Object.freeze(T.data);let ne=this.applyRedirects.applyRedirectCommands(u,i.redirectTo,y,I,r);return this.applyRedirects.lineralizeSegments(i,ne).pipe(D(Q=>this.processSegment(r,t,e,Q.concat(w),s,!1,a)))}matchSegmentAgainstRoute(r,e,t,i,o,s){let a=pa(e,t,i,r,this.urlSerializer);return t.path==="**"&&(e.children={}),a.pipe(j(c=>c.matched?(r=t._injector??r,this.getChildConfig(r,t,i).pipe(j(({routes:l})=>{let u=t._loadedInjector??r,{parameters:y,consumedSegments:w,remainingSegments:I}=c,T=new ve(w,y,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Fi(t),$(t),t.component??t._loadedComponent??null,t,$i(t)),ne=tn(T,s,this.paramsInheritanceStrategy);T.params=Object.freeze(ne.params),T.data=Object.freeze(ne.data);let{segmentGroup:Q,slicedSegments:fn}=ji(e,w,I,l);if(fn.length===0&&Q.hasChildren())return this.processChildren(u,l,Q,T).pipe(v(yt=>new k(T,yt)));if(l.length===0&&fn.length===0)return f(new k(T,[]));let zo=$(t)===o;return this.processSegment(u,l,Q,fn,zo?p:o,!0,T).pipe(v(yt=>new k(T,yt instanceof k?[yt]:[])))}))):Pe(e)))}getChildConfig(r,e,t){return e.children?f({routes:e.children,injector:r}):e.loadChildren?e._loadedRoutes!==void 0?f({routes:e._loadedRoutes,injector:e._loadedInjector}):ua(r,e,t,this.urlSerializer).pipe(D(i=>i?this.configLoader.loadChildren(r,e).pipe(b(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):fa(e))):f({routes:[],injector:r})}};function ba(n){n.sort((r,e)=>r.value.outlet===p?-1:e.value.outlet===p?1:r.value.outlet.localeCompare(e.value.outlet))}function _a(n){let r=n.value.routeConfig;return r&&r.path===""}function po(n){let r=[],e=new Set;for(let t of n){if(!_a(t)){r.push(t);continue}let i=r.find(o=>t.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...t.children),e.add(i)):r.push(t)}for(let t of e){let i=po(t.children);r.push(new k(t.value,i))}return r.filter(t=>!e.has(t))}function Fi(n){return n.data||{}}function $i(n){return n.resolve||{}}function Ea(n,r,e,t,i,o){return D(s=>Ra(n,r,e,t,s.extractedUrl,i,o).pipe(v(({state:a,tree:c})=>M(h({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function Ia(n,r){return D(e=>{let{targetSnapshot:t,guards:{canActivateChecks:i}}=e;if(!i.length)return f(e);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of go(c))s.add(l);let a=0;return A(s).pipe(fe(c=>o.has(c)?Ta(c,t,n,r):(c.data=tn(c,c.parent,n).resolve,f(void 0))),b(()=>a++),yn(1),D(c=>a===s.size?f(e):K))})}function go(n){let r=n.children.map(e=>go(e)).flat();return[n,...r]}function Ta(n,r,e,t){let i=n.routeConfig,o=n._resolve;return i?.title!==void 0&&!oo(i)&&(o[ft]=i.title),Ma(o,n,r,t).pipe(v(s=>(n._resolvedData=s,n.data=tn(n,n.parent,e).resolve,null)))}function Ma(n,r,e,t){let i=Yn(n);if(i.length===0)return f({});let o={};return A(i).pipe(D(s=>Aa(n[s],r,e,t).pipe(oe(),b(a=>{if(a instanceof Be)throw nn(new ce,a);o[s]=a}))),yn(1),v(()=>o),X(s=>uo(s)?K:he(s)))}function Aa(n,r,e,t){let i=pt(r)??t,o=qe(n,i),s=o.resolve?o.resolve(r,e):H(i,()=>o(r,e));return de(s)}function Wn(n){return j(r=>{let e=n(r);return e?A(e).pipe(v(()=>r)):f(r)})}var ur=(()=>{class n{buildTitle(e){let t,i=e.root;for(;i!==void 0;)t=this.getResolvedTitleForRoute(i)??t,i=i.children.find(o=>o.outlet===p);return t}getResolvedTitleForRoute(e){return e.data[ft]}static \u0275fac=function(t){return new(t||n)};static \u0275prov=m({token:n,factory:()=>d(mo),providedIn:"root"})}return n})(),mo=(()=>{class n extends ur{title;constructor(e){super(),this.title=e}updateTitle(e){let t=this.buildTitle(e);t!==void 0&&this.title.setTitle(t)}static \u0275fac=function(t){return new(t||n)(g(Oi))};static \u0275prov=m({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Re=new R("",{providedIn:"root",factory:()=>({})}),dr=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=Ae({type:n,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(t,i){t&1&&oi(0,"router-outlet")},dependencies:[cr],encapsulation:2})}return n})();function hr(n){let r=n.children&&n.children.map(hr),e=r?M(h({},n),{children:r}):h({},n);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==p&&(e.component=dr),e}var we=new R(""),an=(()=>{class n{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=d(Dt);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return f(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let t=de(e.loadComponent()).pipe(v(So),b(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),be(()=>{this.componentLoaders.delete(e)})),i=new gn(t,()=>new L).pipe(pn());return this.componentLoaders.set(e,i),i}loadChildren(e,t){if(this.childrenLoaders.get(t))return this.childrenLoaders.get(t);if(t._loadedRoutes)return f({routes:t._loadedRoutes,injector:t._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(t);let o=vo(t,this.compiler,e,this.onLoadEndListener).pipe(be(()=>{this.childrenLoaders.delete(t)})),s=new gn(o,()=>new L).pipe(pn());return this.childrenLoaders.set(t,s),s}static \u0275fac=function(t){return new(t||n)};static \u0275prov=m({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function vo(n,r,e,t){return de(n.loadChildren()).pipe(v(So),D(i=>i instanceof ti||Array.isArray(i)?f(i):A(r.compileModuleAsync(i))),v(i=>{t&&t(n);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(e).injector,s=o.get(we,[],{optional:!0,self:!0}).flat()),{routes:s.map(hr),injector:o}}))}function Da(n){return n&&typeof n=="object"&&"default"in n}function So(n){return Da(n)?n.default:n}var cn=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=m({token:n,factory:()=>d(Oa),providedIn:"root"})}return n})(),Oa=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}static \u0275fac=function(t){return new(t||n)};static \u0275prov=m({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),fr=new R(""),pr=new R("");function yo(n,r,e){let t=n.get(pr),i=n.get(_);return n.get(F).runOutsideAngular(()=>{if(!i.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,new Promise(l=>setTimeout(l));let o,s=new Promise(l=>{o=l}),a=i.startViewTransition(()=>(o(),xa(n))),{onViewTransitionCreated:c}=t;return c&&H(n,()=>c({transition:a,from:r,to:e})),s})}function xa(n){return new Promise(r=>{Hr({read:()=>setTimeout(r)},{injector:n})})}var gr=new R(""),ln=(()=>{class n{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new L;transitionAbortSubject=new L;configLoader=d(an);environmentInjector=d(_e);destroyRef=d(Nr);urlSerializer=d(ye);rootContexts=d(Ce);location=d(ke);inputBindingEnabled=d(gt,{optional:!0})!==null;titleStrategy=d(ur);options=d(Re,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=d(cn);createViewTransition=d(fr,{optional:!0});navigationErrorHandler=d(gr,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>f(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new Gt(i)),t=i=>this.events.next(new Yt(i));this.configLoader.onLoadEndListener=t,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let t=++this.navigationId;this.transitions?.next(M(h({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:t}))}setupNavigations(e){return this.transitions=new P(null),this.transitions.pipe(re(t=>t!==null),j(t=>{let i=!1,o=!1;return f(t).pipe(j(s=>{if(this.navigationId>t.id)return this.cancelNavigationTransition(t,"",O.SupersededByNewNavigation),K;this.currentTransition=t,this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?M(h({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let a=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),c=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!a&&c!=="reload"){let l="";return this.events.next(new G(s.id,this.urlSerializer.serialize(s.rawUrl),l,Fe.IgnoredSameUrlNavigation)),s.resolve(!1),K}if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return f(s).pipe(j(l=>(this.events.next(new ue(l.id,this.urlSerializer.serialize(l.extractedUrl),l.source,l.restoredState)),l.id!==this.navigationId?K:Promise.resolve(l))),Ea(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),b(l=>{t.targetSnapshot=l.targetSnapshot,t.urlAfterRedirects=l.urlAfterRedirects,this.currentNavigation=M(h({},this.currentNavigation),{finalUrl:l.urlAfterRedirects});let u=new st(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:l,extractedUrl:u,source:y,restoredState:w,extras:I}=s,T=new ue(l,this.urlSerializer.serialize(u),y,w);this.events.next(T);let ne=ro(this.rootComponentType).snapshot;return this.currentTransition=t=M(h({},s),{targetSnapshot:ne,urlAfterRedirects:u,extras:M(h({},I),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=u,f(t)}else{let l="";return this.events.next(new G(s.id,this.urlSerializer.serialize(s.extractedUrl),l,Fe.IgnoredByUrlHandlingStrategy)),s.resolve(!1),K}}),b(s=>{let a=new Bt(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),v(s=>(this.currentTransition=t=M(h({},s),{guards:qs(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),t)),na(this.environmentInjector,s=>this.events.next(s)),b(s=>{if(t.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw nn(this.urlSerializer,s.guardsResult);let a=new Vt(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),re(s=>s.guardsResult?!0:(this.cancelNavigationTransition(s,"",O.GuardRejected),!1)),Wn(s=>{if(s.guards.canActivateChecks.length!==0)return f(s).pipe(b(a=>{let c=new qt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}),j(a=>{let c=!1;return f(a).pipe(Ia(this.paramsInheritanceStrategy,this.environmentInjector),b({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(a,"",O.NoDataFromResolver)}}))}),b(a=>{let c=new Wt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}))}),Wn(s=>{let a=c=>{let l=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&l.push(this.configLoader.loadComponent(c.routeConfig).pipe(b(u=>{c.component=u}),v(()=>{})));for(let u of c.children)l.push(...a(u));return l};return Rt(a(s.targetSnapshot.root)).pipe(Sn(null),ie(1))}),Wn(()=>this.afterPreactivation()),j(()=>{let{currentSnapshot:s,targetSnapshot:a}=t,c=this.createViewTransition?.(this.environmentInjector,s.root,a.root);return c?A(c).pipe(v(()=>t)):f(t)}),v(s=>{let a=$s(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=t=M(h({},s),{targetRouterState:a}),this.currentNavigation.targetRouterState=a,t}),b(()=>{this.events.next(new at)}),Vs(this.rootContexts,e.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),ie(1),b({next:s=>{i=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new U(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{i=!0}}),Ar(this.transitionAbortSubject.pipe(b(s=>{throw s}))),be(()=>{!i&&!o&&this.cancelNavigationTransition(t,"",O.SupersededByNewNavigation),this.currentTransition?.id===t.id&&(this.currentNavigation=null,this.currentTransition=null)}),X(s=>{if(this.destroyed)return t.resolve(!1),K;if(o=!0,lo(s))this.events.next(new q(t.id,this.urlSerializer.serialize(t.extractedUrl),s.message,s.cancellationCode)),Bs(s)?this.events.next(new He(s.url,s.navigationBehaviorOptions)):t.resolve(!1);else{let a=new $e(t.id,this.urlSerializer.serialize(t.extractedUrl),s,t.targetSnapshot??void 0);try{let c=H(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(c instanceof Be){let{message:l,cancellationCode:u}=nn(this.urlSerializer,c);this.events.next(new q(t.id,this.urlSerializer.serialize(t.extractedUrl),l,u)),this.events.next(new He(c.redirectTo,c.navigationBehaviorOptions))}else throw this.events.next(a),s}catch(c){this.options.resolveNavigationPromiseOnError?t.resolve(!1):t.reject(c)}}return K}))}))}cancelNavigationTransition(e,t,i){let o=new q(e.id,this.urlSerializer.serialize(e.extractedUrl),t,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),t=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==t?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(t){return new(t||n)};static \u0275prov=m({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function ka(n){return n!==$t}var Co=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=m({token:n,factory:()=>d(Na),providedIn:"root"})}return n})(),on=class{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}},Na=(()=>{class n extends on{static \u0275fac=(()=>{let e;return function(i){return(e||(e=bn(n)))(i||n)}})();static \u0275prov=m({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ro=(()=>{class n{urlSerializer=d(ye);options=d(Re,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=d(ke);urlHandlingStrategy=d(cn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new W;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:t,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,t):t,s=i??o;return s instanceof W?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:t,initialUrl:i}){t&&e?(this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(t,i),this.routerState=e):this.rawUrlTree=i}routerState=ro(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=m({token:n,factory:()=>d(Pa),providedIn:"root"})}return n})(),Pa=(()=>{class n extends Ro{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(t=>{t.type==="popstate"&&setTimeout(()=>{e(t.url,t.state,"popstate")})})}handleRouterEvent(e,t){e instanceof ue?this.updateStateMemento():e instanceof G?this.commitTransition(t):e instanceof st?this.urlUpdateStrategy==="eager"&&(t.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof at?(this.commitTransition(t),this.urlUpdateStrategy==="deferred"&&!t.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof q&&(e.code===O.GuardRejected||e.code===O.NoDataFromResolver)?this.restoreHistory(t):e instanceof $e?this.restoreHistory(t,!0):e instanceof U&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:t,id:i}){let{replaceUrl:o,state:s}=t;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,c=h(h({},s),this.generateNgRouterState(i,a));this.location.replaceState(e,"",c)}else{let a=h(h({},s),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,t=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(t&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,t){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=bn(n)))(i||n)}})();static \u0275prov=m({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function un(n,r){n.events.pipe(re(e=>e instanceof U||e instanceof q||e instanceof $e||e instanceof G),v(e=>e instanceof U||e instanceof G?0:(e instanceof q?e.code===O.Redirect||e.code===O.SupersededByNewNavigation:!1)?2:1),re(e=>e!==2),ie(1)).subscribe(()=>{r()})}var Ua={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},La={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Z=(()=>{class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=d(In);stateManager=d(Ro);options=d(Re,{optional:!0})||{};pendingTasks=d(Pr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=d(ln);urlSerializer=d(ye);location=d(ke);urlHandlingStrategy=d(cn);_events=new L;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=d(Co);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=d(we,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!d(gt,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Ct;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(t=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(t,o),t instanceof q&&t.code!==O.Redirect&&t.code!==O.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof U)this.navigated=!0;else if(t instanceof He){let s=t.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(t.url,i.currentRawUrl),c=h({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||ka(i.source)},s);this.scheduleNavigation(a,$t,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Fa(t)&&this._events.next(t)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});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),$t,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,t,i)=>{this.navigateToSyncWithBrowser(e,i,t)})}navigateToSyncWithBrowser(e,t,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let c=h({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let a=this.parseUrl(e);this.scheduleNavigation(a,t,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(hr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,t={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=t,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=h(h({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let y;try{let w=i?i.snapshot:this.routerState.snapshot.root;y=Ji(w)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),y=this.currentUrlTree.root}return eo(y,e,u,l??null)}navigateByUrl(e,t={skipLocationChange:!1}){let i=le(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,$t,null,t)}navigate(e,t={skipLocationChange:!1}){return ja(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,t){let i;if(t===!0?i=h({},Ua):t===!1?i=h({},La):i=t,le(e))return Ni(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Ni(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((t,[i,o])=>(o!=null&&(t[i]=o),t),{})}scheduleNavigation(e,t,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((y,w)=>{a=y,c=w});let u=this.pendingTasks.add();return un(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:t,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(y=>Promise.reject(y))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=m({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function ja(n){for(let r=0;r<n.length;r++)if(n[r]==null)throw new C(4008,!1)}function Fa(n){return!(n instanceof at)&&!(n instanceof He)}var wo=(()=>{class n{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new L;constructor(e,t,i,o,s,a){this.router=e,this.route=t,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=e.events.subscribe(l=>{l instanceof U&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(le(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,t,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||t||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c),!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 t=this.href===null?null:Qr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(e,t){let i=this.renderer,o=this.el.nativeElement;t!==null?i.setAttribute(o,e,t):i.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:le(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(t){return new(t||n)(Me(Z),Me(Y),xr("tabindex"),Me(Xr),Me(bt),Me(xe))};static \u0275dir=Et({type:n,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(t,i){t&1&&si("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),t&2&&Mt("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",De],skipLocationChange:[2,"skipLocationChange","skipLocationChange",De],replaceUrl:[2,"replaceUrl","replaceUrl",De],routerLink:"routerLink"},features:[wt]})}return n})();var vt=class{};var bo=(()=>{class n{router;injector;preloadingStrategy;loader;subscription;constructor(e,t,i,o,s){this.router=e,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(re(e=>e instanceof U),fe(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){let i=[];for(let o of t){o.providers&&!o._injector&&(o._injector=_t(o.providers,e,`Route: ${o.path}`));let s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return A(i).pipe(mn())}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>{let i;t.loadChildren&&t.canLoad===void 0?i=this.loader.loadChildren(e,t):i=f(null);let o=i.pipe(D(s=>s===null?f(void 0):(t._loadedRoutes=s.routes,t._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(t.loadComponent&&!t._loadedComponent){let s=this.loader.loadComponent(t);return A([o,s]).pipe(mn())}else return o})}static \u0275fac=function(t){return new(t||n)(g(Z),g(Dt),g(_e),g(vt),g(an))};static \u0275prov=m({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),_o=new R(""),$a=(()=>{class n{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,t,i,o,s={}){this.urlSerializer=e,this.transitions=t,this.viewportScroller=i,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof ue?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof U?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof G&&e.code===Fe.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof ze&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ze(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,t))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(t){Jr()};static \u0275prov=m({token:n,factory:n.\u0275fac})}return n})();function za(n,...r){return wn([{provide:we,multi:!0,useValue:n},[],{provide:Y,useFactory:Eo,deps:[Z]},{provide:An,multi:!0,useFactory:Io},r.map(e=>e.\u0275providers)])}function Eo(n){return n.routerState.root}function We(n,r){return{\u0275kind:n,\u0275providers:r}}function Io(){let n=d(pe);return r=>{let e=n.get(Dn);if(r!==e.components[0])return;let t=n.get(Z),i=n.get(To);n.get(vr)===1&&t.initialNavigation(),n.get(Do,null,Cn.Optional)?.setUpPreloading(),n.get(_o,null,Cn.Optional)?.init(),t.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var To=new R("",{factory:()=>new L}),vr=new R("",{providedIn:"root",factory:()=>1});function Mo(){let n=[{provide:vr,useValue:0},Mn(()=>{let r=d(pe);return r.get(pi,Promise.resolve()).then(()=>new Promise(t=>{let i=r.get(Z),o=r.get(To);un(i,()=>{t(!0)}),r.get(ln).afterPreactivation=()=>(t(!0),o.closed?f(void 0):o),i.initialNavigation()}))})];return We(2,n)}function Ao(){let n=[Mn(()=>{d(Z).setUpLocationChangeListener()}),{provide:vr,useValue:2}];return We(3,n)}var Do=new R("");function Oo(n){return We(0,[{provide:Do,useExisting:bo},{provide:vt,useExisting:n}])}function Ha(){return We(6,[{provide:xe,useClass:xn}])}function xo(){return We(8,[lr,{provide:gt,useExisting:lr}])}function ko(n){zr("NgRouterViewTransitions");let r=[{provide:fr,useValue:yo},{provide:pr,useValue:h({skipNextTransition:!!n?.skipInitialTransition},n)}];return We(9,r)}var No=[ke,{provide:ye,useClass:ce},Z,Ce,{provide:Y,useFactory:Eo,deps:[Z]},an,[]],Ba=(()=>{class n{constructor(){}static forRoot(e,t){return{ngModule:n,providers:[No,[],{provide:we,multi:!0,useValue:e},[],t?.errorHandler?{provide:gr,useValue:t.errorHandler}:[],{provide:Re,useValue:t||{}},t?.useHash?qa():Wa(),Va(),t?.preloadingStrategy?Oo(t.preloadingStrategy).\u0275providers:[],t?.initialNavigation?Ga(t):[],t?.bindToComponentInputs?xo().\u0275providers:[],t?.enableViewTransitions?ko().\u0275providers:[],Ya()]}}static forChild(e){return{ngModule:n,providers:[{provide:we,multi:!0,useValue:e}]}}static \u0275fac=function(t){return new(t||n)};static \u0275mod=B({type:n});static \u0275inj=z({})}return n})();function Va(){return{provide:_o,useFactory:()=>{let n=d(Ci),r=d(F),e=d(Re),t=d(ln),i=d(ye);return e.scrollOffset&&n.setOffset(e.scrollOffset),new $a(i,t,n,r,e)}}}function qa(){return{provide:xe,useClass:xn}}function Wa(){return{provide:xe,useClass:gi}}function Ga(n){return[n.initialNavigation==="disabled"?Ao().\u0275providers:[],n.initialNavigation==="enabledBlocking"?Mo().\u0275providers:[]]}var mr=new R("");function Ya(){return[{provide:mr,useFactory:Io},{provide:An,multi:!0,useExisting:mr}]}var dn;function Za(){if(dn===void 0&&(dn=null,typeof window<"u")){let n=window;n.trustedTypes!==void 0&&(dn=n.trustedTypes.createPolicy("angular#components",{createHTML:r=>r}))}return dn}function St(n){return Za()?.createHTML(n)||n}function Po(n){return Error(`Unable to find icon with the name "${n}"`)}function Qa(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Uo(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Lo(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}var te=class{url;svgText;options;svgElement;constructor(r,e,t){this.url=r,this.svgText=e,this.options=t}},Fo=(()=>{class n{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,t,i,o){this._httpClient=e,this._sanitizer=t,this._errorHandler=o,this._document=i}addSvgIcon(e,t,i){return this.addSvgIconInNamespace("",e,t,i)}addSvgIconLiteral(e,t,i){return this.addSvgIconLiteralInNamespace("",e,t,i)}addSvgIconInNamespace(e,t,i,o){return this._addSvgIconConfig(e,t,new te(i,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,i,o){let s=this._sanitizer.sanitize(x.HTML,i);if(!s)throw Lo(i);let a=St(s);return this._addSvgIconConfig(e,t,new te("",a,o))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,i){return this._addSvgIconSetConfig(e,new te(t,null,i))}addSvgIconSetLiteralInNamespace(e,t,i){let o=this._sanitizer.sanitize(x.HTML,t);if(!o)throw Lo(t);let s=St(o);return this._addSvgIconSetConfig(e,new te("",s,i))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let t=this._sanitizer.sanitize(x.RESOURCE_URL,e);if(!t)throw Uo(e);let i=this._cachedIconsByUrl.get(t);return i?f(hn(i)):this._loadSvgIconFromConfig(new te(e,null)).pipe(b(o=>this._cachedIconsByUrl.set(t,o)),v(o=>hn(o)))}getNamedSvgIcon(e,t=""){let i=jo(t,e),o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(t,e),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);let s=this._iconSetConfigs.get(t);return s?this._getSvgFromIconSetConfigs(e,s):he(Po(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?f(hn(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(v(t=>hn(t)))}_getSvgFromIconSetConfigs(e,t){let i=this._extractIconWithNameFromAnySet(e,t);if(i)return f(i);let o=t.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(X(a=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(x.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(l)),f(null)})));return _r(o).pipe(v(()=>{let s=this._extractIconWithNameFromAnySet(e,t);if(!s)throw Po(e);return s}))}_extractIconWithNameFromAnySet(e,t){for(let i=t.length-1;i>=0;i--){let o=t[i];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(b(t=>e.svgText=t),v(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?f(null):this._fetchIcon(e).pipe(b(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,i){let o=e.querySelector(`[id="${t}"]`);if(!o)return null;let s=o.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,i);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),i);let a=this._svgElementFromString(St("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,i)}_svgElementFromString(e){let t=this._document.createElement("DIV");t.innerHTML=e;let i=t.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(e){let t=this._svgElementFromString(St("<svg></svg>")),i=e.attributes;for(let o=0;o<i.length;o++){let{name:s,value:a}=i[o];s!=="id"&&t.setAttribute(s,a)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&t.appendChild(e.childNodes[o].cloneNode(!0));return t}_setSvgAttributes(e,t){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),t&&t.viewBox&&e.setAttribute("viewBox",t.viewBox),e}_fetchIcon(e){let{url:t,options:i}=e,o=i?.withCredentials??!1;if(!this._httpClient)throw Qa();if(t==null)throw Error(`Cannot fetch icon from URL "${t}".`);let s=this._sanitizer.sanitize(x.RESOURCE_URL,t);if(!s)throw Uo(t);let a=this._inProgressUrlFetches.get(s);if(a)return a;let c=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(v(l=>St(l)),be(()=>this._inProgressUrlFetches.delete(s)),Tr());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(e,t,i){return this._svgIconConfigs.set(jo(e,t),i),this}_addSvgIconSetConfig(e,t){let i=this._iconSetConfigs.get(e);return i?i.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){let t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let i=0;i<this._resolvers.length;i++){let o=this._resolvers[i](t,e);if(o)return Ka(o)?new te(o.url,null,o.options):new te(o,null)}}static \u0275fac=function(t){return new(t||n)(g(Ri,8),g(Hn),g(_,8),g(se))};static \u0275prov=m({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function hn(n){return n.cloneNode(!0)}function jo(n,r){return n+":"+r}function Ka(n){return!!(n.url&&n.options)}var Xa=["*"],Ja=new R("MAT_ICON_DEFAULT_OPTIONS"),ec=new R("mat-icon-location",{providedIn:"root",factory:tc});function tc(){let n=d(_),r=n?n.location:null;return{getPathname:()=>r?r.pathname+r.search:""}}var $o=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],nc=$o.map(n=>`[${n}]`).join(", "),rc=/^url\(['"]?#(.*?)['"]?\)$/,nu=(()=>{class n{_elementRef=d(bt);_iconRegistry=d(Fo);_location=d(ec);_errorHandler=d(se);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Ct.EMPTY;constructor(){let e=d(new kr("aria-hidden"),{optional:!0}),t=d(Ja,{optional:!0});t&&(t.color&&(this.color=this._defaultColor=t.color),t.fontSet&&(this.fontSet=t.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let t=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){let i=e.childNodes[t];(i.nodeType!==1||i.nodeName.toLowerCase()==="svg")&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,t=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>e.classList.remove(i)),t.forEach(i=>e.classList.add(i)),this._previousFontSetClass=t,this.fontIcon!==this._previousFontIconClass&&!t.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 t=this._elementsWithExternalReferences;t&&t.forEach((i,o)=>{i.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let t=e.querySelectorAll(nc),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<t.length;o++)$o.forEach(s=>{let a=t[o],c=a.getAttribute(s),l=c?c.match(rc):null;if(l){let u=i.get(a);u||(u=[],i.set(a,u)),u.push({name:s,value:l[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[t,i]=this._splitIconName(e);t&&(this._svgNamespace=t),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,t).pipe(ie(1)).subscribe(o=>this._setSvgElement(o),o=>{let s=`Error retrieving icon ${t}:${i}! ${o.message}`;this._errorHandler.handleError(new Error(s))})}}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=Ae({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(t,i){t&2&&(Mt("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),ii(i.color?"mat-"+i.color:""),At("mat-icon-inline",i.inline)("mat-icon-no-color",i.color!=="primary"&&i.color!=="accent"&&i.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",De],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:Xa,decls:1,vars:0,template:function(t,i){t&1&&(ai(),ci(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.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}
2
+ `],encapsulation:2,changeDetection:0})}return n})(),ru=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=B({type:n});static \u0275inj=z({imports:[Qe,Qe]})}return n})();var uu=(()=>{class n{_animationMode=d(Fr,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=Ae({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(t,i){t&2&&At("mat-pseudo-checkbox-indeterminate",i.state==="indeterminate")("mat-pseudo-checkbox-checked",i.state==="checked")("mat-pseudo-checkbox-disabled",i.disabled)("mat-pseudo-checkbox-minimal",i.appearance==="minimal")("mat-pseudo-checkbox-full",i.appearance==="full")("_mat-animation-noopable",i._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(t,i){},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, var(--mat-sys-primary))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, var(--mat-sys-primary));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, var(--mat-sys-on-primary))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, var(--mat-sys-surface))}.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}
3
+ `],encapsulation:2,changeDetection:0})}return n})();var fu=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=B({type:n});static \u0275inj=z({imports:[Qe]})}return n})();var ic=(()=>{class n{_listeners=[];notify(e,t){for(let i of this._listeners)i(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(t){return new(t||n)};static \u0275prov=m({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Sr=class{applyChanges(r,e,t,i,o){r.forEachOperation((s,a,c)=>{let l,u;if(s.previousIndex==null){let y=t(s,a,c);l=e.createEmbeddedView(y.templateRef,y.context,y.index),u=Ke.INSERTED}else c==null?(e.remove(a),u=Ke.REMOVED):(l=e.get(a),e.move(l,c),u=Ke.MOVED);o&&o({context:l?.context,operation:u,record:s})})}detach(){}};var yr=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new L;constructor(r=!1,e,t=!0,i){this._multiple=r,this._emitChanges=t,this.compareWith=i,e&&e.length&&(r?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...r){this._verifyValueAssignment(r),r.forEach(t=>this._markSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...r){this._verifyValueAssignment(r),r.forEach(t=>this._unmarkSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...r){this._verifyValueAssignment(r);let e=this.selected,t=new Set(r.map(o=>this._getConcreteValue(o)));r.forEach(o=>this._markSelected(o)),e.filter(o=>!t.has(this._getConcreteValue(o,t))).forEach(o=>this._unmarkSelected(o));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(r){return this.isSelected(r)?this.deselect(r):this.select(r)}clear(r=!0){this._unmarkAll();let e=this._hasQueuedChanges();return r&&this._emitChangeEvent(),e}isSelected(r){return this._selection.has(this._getConcreteValue(r))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(r){this._multiple&&this.selected&&this._selected.sort(r)}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(r){r=this._getConcreteValue(r),this.isSelected(r)||(this._multiple||this._unmarkAll(),this.isSelected(r)||this._selection.add(r),this._emitChanges&&this._selectedToEmit.push(r))}_unmarkSelected(r){r=this._getConcreteValue(r),this.isSelected(r)&&(this._selection.delete(r),this._emitChanges&&this._deselectedToEmit.push(r))}_unmarkAll(){this.isEmpty()||this._selection.forEach(r=>this._unmarkSelected(r))}_verifyValueAssignment(r){r.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(r,e){if(this.compareWith){e=e??this._selection;for(let t of e)if(this.compareWith(r,t))return t;return r}else return r}};export{$n as a,es as b,as as c,zn as d,us as e,zc as f,Hn as g,cr as h,Z as i,wo as j,za as k,Ha as l,Ba as m,Fo as n,nu as o,ru as p,uu as q,fu as r,ic as s,Sr as t,yr as u};
@@ -0,0 +1,2 @@
1
+ import{g as d,q as y,r as c}from"./chunk-HGGZHPEL.js";import{e as l,oa as p,ua as u}from"./chunk-FVY2LG57.js";var t=l(y());var C=(()=>{class o{AppSettingsService=u(d);data=u(c);_defaultUnitsSub;_conversionList=[{group:"Unitless",units:[{measure:"unitless",description:"As-Is numeric value"},{measure:" ",description:"No unit label - As-Is numeric value"}]},{group:"Speed",units:[{measure:"knots",description:"Knots - Nautical miles per hour"},{measure:"kph",description:"kph - Kilometers per hour"},{measure:"mph",description:"mph - Miles per hour"},{measure:"m/s",description:"m/s - Meters per second (base)"}]},{group:"Flow",units:[{measure:"m3/s",description:"Cubic meters per second (base)"},{measure:"l/min",description:"Liters per minute"},{measure:"l/h",description:"Liters per hour"},{measure:"g/min",description:"Gallons per minute"},{measure:"g/h",description:"Gallons per hour"}]},{group:"Fuel Distance",units:[{measure:"m/m3",description:"Meters per cubic meter (base)"},{measure:"nm/l",description:"Nautical Miles per liter"},{measure:"nm/g",description:"Nautical Miles per gallon"},{measure:"km/l",description:"Kilometers per liter"},{measure:"mpg",description:"Miles per Gallon"}]},{group:"Energy Distance",units:[{measure:"m/J",description:"Meters per Joule (base)"},{measure:"nm/J",description:"Nautical Miles per Joule"},{measure:"km/J",description:"Kilometers per Joule"},{measure:"nm/kWh",description:"Nautical Miles per Kilowatt-hour"},{measure:"km/kWh",description:"Kilometers per Kilowatt-hour"}]},{group:"Temperature",units:[{measure:"K",description:"Kelvin (base)"},{measure:"celsius",description:"Celsius"},{measure:"fahrenheit",description:"Fahrenheit"}]},{group:"Length",units:[{measure:"m",description:"Meters (base)"},{measure:"mm",description:"Millimeters"},{measure:"fathom",description:"Fathoms"},{measure:"nm",description:"Nautical Miles"},{measure:"km",description:"Kilometers"},{measure:"mi",description:"Miles"},{measure:"feet",description:"Feet"},{measure:"inch",description:"Inches"}]},{group:"Volume",units:[{measure:"liter",description:"Liters (base)"},{measure:"m3",description:"Cubic Meters"},{measure:"gallon",description:"Gallons"}]},{group:"Current",units:[{measure:"A",description:"Amperes (base)"},{measure:"mA",description:"Milliamperes"}]},{group:"Potential",units:[{measure:"V",description:"Volts (base)"},{measure:"mV",description:"Millivolts"}]},{group:"Charge",units:[{measure:"C",description:"Coulomb (base)"},{measure:"Ah",description:"Ampere*Hours"}]},{group:"Power",units:[{measure:"W",description:"Watts (base)"},{measure:"mW",description:"Milliwatts"}]},{group:"Energy",units:[{measure:"J",description:"Joules (base)"},{measure:"kWh",description:"Kilowatt*Hours"}]},{group:"Resistance",units:[{measure:"ohm",description:"\u2126 (base)"},{measure:"kiloohm",description:"k\u2126"}]},{group:"Pressure",units:[{measure:"Pa",description:"Pa (base)"},{measure:"kPa",description:"kPa"},{measure:"hPa",description:"hPa"},{measure:"mbar",description:"mbar"},{measure:"bar",description:"Bars"},{measure:"psi",description:"psi"},{measure:"mmHg",description:"mmHg"},{measure:"inHg",description:"inHg"}]},{group:"Density",units:[{measure:"kg/m3",description:"Air density - kg/cubic meter (base)"}]},{group:"Time",units:[{measure:"s",description:"Seconds (base)"},{measure:"Minutes",description:"Minutes"},{measure:"Hours",description:"Hours"},{measure:"Days",description:"Days"},{measure:"HH:MM:SS",description:"Hours:Minute:seconds"}]},{group:"Angular Velocity",units:[{measure:"rad/s",description:"Radians per second (base)"},{measure:"deg/s",description:"Degrees per second"},{measure:"deg/min",description:"Degrees per minute"}]},{group:"Angle",units:[{measure:"rad",description:"Radians (base)"},{measure:"deg",description:"Degrees"},{measure:"grad",description:"Gradians"}]},{group:"Frequency",units:[{measure:"rpm",description:"RPM - Rotations per minute"},{measure:"Hz",description:"Hz - Hertz (base)"},{measure:"KHz",description:"KHz - Kilohertz"},{measure:"MHz",description:"MHz - Megahertz"},{measure:"GHz",description:"GHz - Gigahertz"}]},{group:"Ratio",units:[{measure:"percent",description:"As percentage value"},{measure:"percentraw",description:"As ratio 0-1 with % sign"},{measure:"ratio",description:"Ratio 0-1 (base)"}]},{group:"Position",units:[{measure:"latitudeMin",description:"Latitude in minutes"},{measure:"latitudeSec",description:"Latitude in seconds"},{measure:"longitudeMin",description:"Longitude in minutes"},{measure:"longitudeSec",description:"Longitude in seconds"}]}];skBaseUnits=[{unit:"s",properties:{display:"s",quantity:"Time",quantityDisplay:"t",description:"Elapsed time (interval) in seconds"}},{unit:"Hz",properties:{display:"Hz",quantity:"Frequency",quantityDisplay:"f",description:"Frequency in Hertz"}},{unit:"m3",properties:{display:"m\xB3",quantity:"Volume",quantityDisplay:"V",description:"Volume in cubic meters"}},{unit:"m3/s",properties:{display:"m\xB3/s",quantity:"Flow",quantityDisplay:"Q",description:"Liquid or gas flow in cubic meters per second"}},{unit:"kg/s",properties:{display:"kg/s",quantity:"Mass flow rate",quantityDisplay:"\u1E41",description:"Liquid or gas flow in kilograms per second"}},{unit:"kg/m3",properties:{display:"kg/m\xB3",quantity:"Density",quantityDisplay:"\u03C1",description:"Density in kg per cubic meter"}},{unit:"deg",properties:{display:"\xB0",quantity:"Angle",quantityDisplay:"\u2220",description:"Latitude or longitude in decimal degrees"}},{unit:"rad",properties:{display:"\u33AD",quantity:"Angle",quantityDisplay:"\u2220",description:"Angular arc in radians"}},{unit:"rad/s",properties:{display:"\u33AD/s",quantity:"Rotation",quantityDisplay:"\u03C9",description:"Angular rate in radians per second"}},{unit:"A",properties:{display:"A",quantity:"Current",quantityDisplay:"I",description:"Electrical current in ampere"}},{unit:"C",properties:{display:"C",quantity:"Charge",quantityDisplay:"Q",description:"Electrical charge in Coulomb"}},{unit:"V",properties:{display:"V",quantity:"Voltage",quantityDisplay:"V",description:"Electrical potential in volt"}},{unit:"W",properties:{display:"W",quantity:"Power",quantityDisplay:"P",description:"Power in watt"}},{unit:"Nm",properties:{display:"Nm",quantity:"Torque",quantityDisplay:"\u03C4",description:"Torque in Newton meter"}},{unit:"J",properties:{display:"J",quantity:"Energy",quantityDisplay:"E",description:"Electrical energy in joule"}},{unit:"ohm",properties:{display:"\u2126",quantity:"Resistance",quantityDisplay:"R",description:"Electrical resistance in ohm"}},{unit:"m",properties:{display:"m",quantity:"Distance",quantityDisplay:"d",description:"Distance in meters"}},{unit:"m/s",properties:{display:"m/s",quantity:"Speed",quantityDisplay:"v",description:"Speed in meters per second"}},{unit:"m2",properties:{display:"\u33A1",quantity:"Area",quantityDisplay:"A",description:"(Surface) area in square meters"}},{unit:"K",properties:{display:"K",quantity:"Temperature",quantityDisplay:"T",description:"Temperature in kelvin"}},{unit:"Pa",properties:{display:"Pa",quantity:"Pressure",quantityDisplay:"P",description:"Pressure in pascal"}},{unit:"kg",properties:{display:"kg",quantity:"Mass",quantityDisplay:"m",description:"Mass in kilogram"}},{unit:"ratio",properties:{display:"",quantity:"Ratio",quantityDisplay:"\u03C6",description:"Relative value compared to reference or normal value. 0 = 0%, 1 = 100%, 1e-3 = 1 ppt"}},{unit:"m/s2",properties:{display:"m/s\xB2",quantity:"Acceleration",quantityDisplay:"a",description:"Acceleration in meters per second squared"}},{unit:"rad/s2",properties:{display:"rad/s\xB2",quantity:"Angular acceleration",quantityDisplay:"a",description:"Angular acceleration in radians per second squared"}},{unit:"N",properties:{display:"N",quantity:"Force",quantityDisplay:"F",description:"Force in newton"}},{unit:"T",properties:{display:"T",quantity:"Magnetic field",quantityDisplay:"B",description:"Magnetic field strength in tesla"}},{unit:"Lux",properties:{display:"lx",quantity:"Light Intensity",quantityDisplay:"Ev",description:"Light Intensity in lux"}},{unit:"Pa/s",properties:{display:"Pa/s",quantity:"Pressure rate",quantityDisplay:"R",description:"Pressure change rate in pascal per second"}},{unit:"Pa.s",properties:{display:"Pa s",quantity:"Viscosity",quantityDisplay:"\u03BC",description:"Viscosity in pascal seconds"}}];_defaultUnits=null;constructor(){this._defaultUnitsSub=this.AppSettingsService.getDefaultUnitsAsO().subscribe(e=>{this._defaultUnits=e})}unitConversionFunctions={unitless:function(e){return e}," ":function(e){return e},knots:t.default.swiftConverter("m/s","kn"),kph:t.default.swiftConverter("m/s","kph"),"m/s":function(e){return e},mph:t.default.swiftConverter("m/s","mph"),liter:t.default.swiftConverter("m^3","liter"),gallon:t.default.swiftConverter("m^3","gallon"),m3:function(e){return e},"m3/s":function(e){return e},"l/min":t.default.swiftConverter("m^3/s","liter/minute"),"l/h":t.default.swiftConverter("m^3/s","liter/hour"),"g/min":t.default.swiftConverter("m^3/s","gallon/minute"),"g/h":t.default.swiftConverter("m^3/s","gallon/hour"),"m/m3":function(e){return e},"nm/l":t.default.swiftConverter("m/m^3","naut-mile/liter"),"nm/g":t.default.swiftConverter("m/m^3","naut-mile/gallon"),"km/l":t.default.swiftConverter("m/m^3","km/liter"),mpg:t.default.swiftConverter("m/m^3","mile/gallon"),"m/J":function(e){return e},"nm/J":t.default.swiftConverter("m/J","naut-mile/J"),"km/J":t.default.swiftConverter("km/J","km/J"),"nm/kWh":t.default.swiftConverter("m/J","naut-mile/kWh"),"km/kWh":t.default.swiftConverter("m/J","km/kWh"),K:function(e){return e},celsius:t.default.swiftConverter("tempK","tempC"),fahrenheit:t.default.swiftConverter("tempK","tempF"),m:function(e){return e},mm:function(e){return e*1e3},fathom:t.default.swiftConverter("m","fathom"),feet:t.default.swiftConverter("m","foot"),inch:t.default.swiftConverter("m","in"),km:t.default.swiftConverter("m","km"),nm:t.default.swiftConverter("m","nmi"),mi:t.default.swiftConverter("m","mi"),V:function(e){return e},mV:function(e){return e*1e3},A:function(e){return e},mA:function(e){return e*1e3},C:function(e){return e},Ah:t.default.swiftConverter("C","Ah"),W:function(e){return e},mW:function(e){return e*1e3},J:function(e){return e},kWh:t.default.swiftConverter("J","kWh"),ohm:function(e){return e},kiloohm:function(e){return e/1e3},Pa:function(e){return e},bar:t.default.swiftConverter("Pa","bar"),psi:t.default.swiftConverter("Pa","psi"),mmHg:t.default.swiftConverter("Pa","mmHg"),inHg:t.default.swiftConverter("Pa","inHg"),hPa:t.default.swiftConverter("Pa","hPa"),kPa:t.default.swiftConverter("Pa","kPa"),mbar:t.default.swiftConverter("Pa","millibar"),"kg/m3":function(e){return e},s:function(e){return e},Minutes:t.default.swiftConverter("s","minutes"),Hours:t.default.swiftConverter("s","hours"),Days:t.default.swiftConverter("s","days"),"HH:MM:SS":function(e){e=parseInt(e,10);let i=e<0;e=Math.abs(e);let r=Math.floor(e/3600),n=Math.floor(e%3600/60),s=Math.floor(e%3600%60);return(i?"-":"")+("0"+r).slice(-2)+":"+("0"+n).slice(-2)+":"+("0"+s).slice(-2)},"rad/s":function(e){return e},"deg/s":t.default.swiftConverter("rad/s","deg/s"),"deg/min":t.default.swiftConverter("rad/s","deg/min"),rpm:function(e){return e*60},Hz:function(e){return e},KHz:function(e){return e/1e3},MHz:function(e){return e/1e6},GHz:function(e){return e/1e9},rad:function(e){return e},deg:t.default.swiftConverter("rad","deg"),grad:t.default.swiftConverter("rad","grad"),percent:function(e){return e*100},percentraw:function(e){return e},ratio:function(e){return e},latitudeMin:function(e){e=(0,t.default)(e,"rad").to("deg").scalar;let i=Math.trunc(e),r="N";e<0&&(r="S",i=i*-1);let n=e%1*60;return r=="S"&&(n=n*-1),i+"\xB0 "+n.toFixed(2).padStart(5,"0")+"' "+r},latitudeSec:function(e){e=(0,t.default)(e,"rad").to("deg").scalar;let i=Math.trunc(e),r="N";e<0&&(r="S",i=i*-1);let n=e%1*60;r=="S"&&(n=n*-1);let s=Math.trunc(n),a=n%1*60;return i+"\xB0 "+s+"' "+a.toFixed(2).padStart(5,"0")+'" '+r},longitudeMin:function(e){e=(0,t.default)(e,"rad").to("deg").scalar;let i=Math.trunc(e),r="E";e<0&&(r="W",i=i*-1);let n=e%1*60;return r=="W"&&(n=n*-1),i+"\xB0 "+n.toFixed(2).padStart(5,"0")+"' "+r},longitudeSec:function(e){e=(0,t.default)(e,"rad").to("deg").scalar;let i=Math.trunc(e),r="E";e<0&&(r="W",i=i*-1);let n=e%1*60;r=="W"&&(n=n*-1);let s=Math.trunc(n),a=n%1*60;return i+"\xB0 "+s+"' "+a.toFixed(2).padStart(5,"0")+'" '+r}};convertToUnit(e,i){if(!(e in this.unitConversionFunctions)||i===null)return null;let r=+i;return this.unitConversionFunctions[e](r)}getDefaults(){return this._defaultUnits}getConversions(){return this._conversionList}getConversionsForPath(e){let i=this.data.getPathUnitType(e),r="unitless",n="unitless";if(i===null)return{base:r,conversions:this._conversionList};{let s=this._conversionList.filter(a=>a.group=="Position"&&(e.includes("position.latitude")||e.includes("position.longitude"))?!0:a.units.find(m=>m.measure==i)?(n=this._defaultUnits[a.group],!0):!1);return s.length>0?{base:n,conversions:s}:(console.log("[Units Service] Unit type: "+i+", found for path: "+e+`
2
+ but Kip does not support it.`),{base:r,conversions:this._conversionList})}}ngOnDestroy(){this._defaultUnitsSub?.unsubscribe()}static \u0275fac=function(i){return new(i||o)};static \u0275prov=p({token:o,factory:o.\u0275fac})}return o})();var D={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)"};export{C as a,D as b};
@@ -0,0 +1,3 @@
1
+ import{a as Ot,b as Pt,c as Rt,d as zt,e as Ft,f as At,g as Ht,h as Lt,i as Vt,j as Nt,k as Bt,m as Qt,n as re,p as oe,q as jt}from"./chunk-Z4VURE4A.js";import"./chunk-VBAR3X2R.js";import{a as Et,d as Tt}from"./chunk-M2JB3XFU.js";import{a as It}from"./chunk-TZDJ5EHM.js";import{a as kt}from"./chunk-YUTPM75L.js";import{f as Mt,j as wt}from"./chunk-L7UKAWLY.js";import{o as st}from"./chunk-R42HCTYK.js";import{d as mt,e as ut,g as ht,i as ft,j as _t}from"./chunk-NYV2LWVP.js";import"./chunk-SGYCFQGT.js";import{a as xe}from"./chunk-ZACGYWMT.js";import{B as Se,D as Ce,i as Ye,r as Ze,t as be,z as ye}from"./chunk-HGGZHPEL.js";import{$a as He,$b as A,$c as W,$e as bt,Ac as de,Bb as Ve,Bc as je,Cb as le,Cc as B,Da as ze,Dc as p,De as ct,Ea as _,Ec as T,Fa as g,Fc as w,Hb as M,Ia as U,Ic as Q,Jb as S,Jc as j,Kb as Ne,Kc as $,Kd as Je,Lb as O,Nb as h,Nd as Xe,Oa as R,Oc as ce,Pa as Fe,Pc as $e,Qc as me,Rc as qe,Sd as et,Ta as K,Tc as We,Ud as tt,Va as Ae,Vc as Ge,Vd as it,Wa as Y,We as gt,Xc as q,Yb as F,Zb as u,Ze as vt,_b as Be,ad as Ue,af as fe,bc as pe,cc as Qe,ce as at,dc as x,de as nt,df as _e,fa as k,fc as ie,fe as rt,g as Ee,ga as Oe,gc as ae,gf as yt,ha as E,hc as ne,hf as ge,ic as r,if as St,jc as s,je as ot,kc as v,lc as H,m as te,mc as L,nc as P,oa as Pe,oc as V,of as Ct,pc as N,pf as xt,qc as C,qd as Ke,qe as lt,qf as Dt,ra as Re,rc as f,re as pt,sc as Z,sd as ue,t as Te,tc as J,tf as ve,ua as c,ub as l,ue as he,vc as D,wb as z,wc as X,xc as b,yb as Le,yc as y,z as ke,ze as dt}from"./chunk-FVY2LG57.js";var $t=(()=>{class t{transform(e,i){return!e||!e.length?[]:i?e.filter(a=>a.includes("self")):e}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=Ne({name:"filterSelf",type:t,pure:!0})}return t})();var ai=["*"];function ni(t,o){t&1&&J(0)}var Me=(()=>{class t{_elementRef=c(K);constructor(){}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=S({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return t})(),we=(()=>{class t{template=c(z);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=S({type:t,selectors:[["","cdkStepLabel",""]]})}return t})();var I={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},ri=new Re("STEPPER_GLOBAL_OPTIONS"),se=(()=>{class t{_stepperOptions;_stepper=c(G);_displayDefaultIndicatorType;stepLabel;_childForms;content;stepControl;interacted=!1;interactedStream=new R;label;errorMessage;ariaLabel;ariaLabelledby;state;editable=!0;optional=!1;get completed(){return this._completedOverride==null?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=e}_completedOverride=null;_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return this._customError==null?this._getDefaultError():this._customError}set hasError(e){this._customError=e}_customError=null;_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(){let e=c(ri,{optional:!0});this._stepperOptions=e||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this.interacted=!1,this._completedOverride!=null&&(this._completedOverride=!1),this._customError!=null&&(this._customError=!1),this.stepControl&&(this._childForms?.forEach(e=>e.resetForm?.()),this.stepControl.reset())}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??this._customError!=null}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({type:t,selectors:[["cdk-step"]],contentQueries:function(i,a,n){if(i&1&&(D(n,we,5),D(n,vt,5)),i&2){let d;b(d=y())&&(a.stepLabel=d.first),b(d=y())&&(a._childForms=d)}},viewQuery:function(i,a){if(i&1&&X(z,7),i&2){let n;b(n=y())&&(a.content=n.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",W],optional:[2,"optional","optional",W],completed:[2,"completed","completed",W],hasError:[2,"hasError","hasError",W]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[ze],ngContentSelectors:ai,decls:1,vars:0,template:function(i,a){i&1&&(Z(),h(0,ni,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return t})(),G=(()=>{class t{_dir=c(ot,{optional:!0});_changeDetectorRef=c(q);_elementRef=c(K);_destroyed=new te;_keyManager;_steps;steps=new Y;_stepHeader;_sortedHeaders=new Y;linear=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._steps?(this._isValidIndex(e),this._selectedIndex!==e&&(this.selected?._markAsInteracted(),!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(e))):this._selectedIndex=e}_selectedIndex=0;get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}selectionChange=new R;selectedIndexChange=new R;_groupId=c(at).getId("cdk-stepper-");get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation(e==="vertical")}_orientation="horizontal";constructor(){}ngAfterContentInit(){this._steps.changes.pipe(k(this._steps),E(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(i=>i._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){if(this._stepHeader.changes.pipe(k(this._stepHeader),E(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((i,a)=>i._elementRef.nativeElement.compareDocumentPosition(a._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new rt(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),(this._dir?this._dir.change:Te()).pipe(k(this._layoutDirection()),E(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0),this.linear&&this._selectedIndex>0){let e=this.steps.toArray().slice(0,this._selectedIndex);for(let i of e)i._markAsInteracted()}}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`${this._groupId}-label-${e}`}_getStepContentId(e){return`${this._groupId}-content-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){let i=e-this._selectedIndex;return i<0?this._layoutDirection()==="rtl"?"next":"previous":i>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getIndicatorType(e,i=I.NUMBER){let a=this.steps.toArray()[e],n=this._isCurrentStep(e);return a._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(a,n):this._getGuidelineLogic(a,n,i)}_getDefaultIndicatorLogic(e,i){return e._showError()&&e.hasError&&!i?I.ERROR:!e.completed||i?I.NUMBER:e.editable?I.EDIT:I.DONE}_getGuidelineLogic(e,i,a=I.NUMBER){return e._showError()&&e.hasError&&!i?I.ERROR:e.completed&&!i?I.DONE:e.completed&&i?a:e.editable&&i?I.EDIT:a}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){let i=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:i[e],previouslySelectedStep:i[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e),this._selectedIndex=e,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(e){let i=nt(e),a=e.keyCode,n=this._keyManager;n.activeItemIndex!=null&&!i&&(a===32||a===13)?(this.selectedIndex=n.activeItemIndex,e.preventDefault()):n.setFocusOrigin("keyboard").onKeydown(e)}_anyControlsInvalidOrPending(e){return this.linear&&e>=0?this.steps.toArray().slice(0,e).some(i=>{let a=i.stepControl;return(a?a.invalid||a.pending||!i.interacted:!i.completed)&&!i.optional&&!i._completedOverride}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_containsFocus(){let e=this._elementRef.nativeElement,i=Je();return e===i||e.contains(i)}_isValidIndex(e){return e>-1&&(!this.steps||e<this.steps.length)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=S({type:t,selectors:[["","cdkStepper",""]],contentQueries:function(i,a,n){if(i&1&&(D(n,se,5),D(n,Me,5)),i&2){let d;b(d=y())&&(a._steps=d),b(d=y())&&(a._stepHeader=d)}},inputs:{linear:[2,"linear","linear",W],selectedIndex:[2,"selectedIndex","selectedIndex",Ue],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"]})}return t})(),qt=(()=>{class t{_stepper=c(G);type="submit";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=S({type:t,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(i,a){i&1&&C("click",function(){return a._stepper.next()}),i&2&&N("type",a.type)},inputs:{type:"type"}})}return t})(),Wt=(()=>{class t{_stepper=c(G);type="button";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=S({type:t,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(i,a){i&1&&C("click",function(){return a._stepper.previous()}),i&2&&N("type",a.type)},inputs:{type:"type"}})}return t})();function oi(t,o){if(t&1&&P(0,2),t&2){let e=f();u("ngTemplateOutlet",e.iconOverrides[e.state])("ngTemplateOutletContext",e._getIconContext())}}function si(t,o){if(t&1&&(r(0,"span",7),p(1),s()),t&2){let e=f(2);l(),T(e._getDefaultTextForState(e.state))}}function li(t,o){if(t&1&&(r(0,"span",8),p(1),s()),t&2){let e=f(3);l(),T(e._intl.completedLabel)}}function pi(t,o){if(t&1&&(r(0,"span",8),p(1),s()),t&2){let e=f(3);l(),T(e._intl.editableLabel)}}function di(t,o){if(t&1&&(h(0,li,2,1,"span",8)(1,pi,2,1,"span",8),r(2,"mat-icon",7),p(3),s()),t&2){let e=f(2);x(e.state==="done"?0:e.state==="edit"?1:-1),l(3),T(e._getDefaultTextForState(e.state))}}function ci(t,o){if(t&1&&h(0,si,2,1,"span",7)(1,di,4,2),t&2){let e,i=f();x((e=i.state)==="number"?0:1)}}function mi(t,o){t&1&&(r(0,"div",4),P(1,9),s()),t&2&&(l(),u("ngTemplateOutlet",o.template))}function ui(t,o){if(t&1&&(r(0,"div",4),p(1),s()),t&2){let e=f();l(),T(e.label)}}function hi(t,o){if(t&1&&(r(0,"div",5),p(1),s()),t&2){let e=f();l(),T(e._intl.optionalLabel)}}function fi(t,o){if(t&1&&(r(0,"div",6),p(1),s()),t&2){let e=f();l(),T(e.errorMessage)}}var Ut=["*"];function _i(t,o){}function gi(t,o){if(t&1&&(J(0),h(1,_i,0,0,"ng-template",0)),t&2){let e=f();l(),u("cdkPortalOutlet",e._portal)}}var vi=["animatedContainer"],Kt=(t,o)=>({step:t,i:o});function bi(t,o){t&1&&J(0)}function yi(t,o){t&1&&v(0,"div",7)}function Si(t,o){if(t&1&&(P(0,6),h(1,yi,1,0,"div",7)),t&2){let e=o.$implicit,i=o.$index,a=o.$index,n=o.$count;f(2);let d=B(4);u("ngTemplateOutlet",d)("ngTemplateOutletContext",me(3,Kt,e,i)),l(),x(a!==n-1?1:-1)}}function Ci(t,o){if(t&1&&(r(0,"div",8,1),P(2,9),s()),t&2){let e=o.$implicit,i=o.$index,a=f(2);pe("mat-horizontal-stepper-content-"+a._getAnimationDirection(i)),u("id",a._getStepContentId(i)),F("aria-labelledby",a._getStepLabelId(i))("inert",a.selectedIndex===i?null:""),l(2),u("ngTemplateOutlet",e.content)}}function xi(t,o){if(t&1&&(r(0,"div",2)(1,"div",3),ae(2,Si,2,6,null,null,ie),s(),r(4,"div",4),ae(5,Ci,3,6,"div",5,ie),s()()),t&2){let e=f();l(2),ne(e.steps),l(3),ne(e.steps)}}function Di(t,o){if(t&1&&(r(0,"div",10),P(1,6),r(2,"div",11,1)(4,"div",12)(5,"div",13),P(6,9),s()()()()),t&2){let e=o.$implicit,i=o.$index,a=o.$index,n=o.$count,d=f(2),m=B(4);l(),u("ngTemplateOutlet",m)("ngTemplateOutletContext",me(10,Kt,e,i)),l(),A("mat-stepper-vertical-line",a!==n-1)("mat-vertical-content-container-active",d.selectedIndex===i),F("inert",d.selectedIndex===i?null:""),l(2),u("id",d._getStepContentId(i)),F("aria-labelledby",d._getStepLabelId(i)),l(2),u("ngTemplateOutlet",e.content)}}function Mi(t,o){if(t&1&&ae(0,Di,7,13,"div",10,ie),t&2){let e=f();ne(e.steps)}}function wi(t,o){if(t&1){let e=V();r(0,"mat-step-header",14),C("click",function(){let a=_(e).step;return g(a.select())})("keydown",function(a){_(e);let n=f();return g(n._onKeydown(a))}),s()}if(t&2){let e=o.step,i=o.i,a=f();A("mat-horizontal-stepper-header",a.orientation==="horizontal")("mat-vertical-stepper-header",a.orientation==="vertical"),u("tabIndex",a._getFocusIndex()===i?0:-1)("id",a._getStepLabelId(i))("index",i)("state",a._getIndicatorType(i,e.state))("label",e.stepLabel||e.label)("selected",a.selectedIndex===i)("active",a._stepIsNavigable(i,e))("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",a._iconOverrides)("disableRipple",a.disableRipple||!a._stepIsNavigable(i,e))("color",e.color||a.color),F("aria-posinset",i+1)("aria-setsize",a.steps.length)("aria-controls",a._getStepContentId(i))("aria-selected",a.selectedIndex==i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",a._stepIsNavigable(i,e)?null:!0)}}var ee=(()=>{class t extends we{static \u0275fac=(()=>{let e;return function(a){return(e||(e=U(t)))(a||t)}})();static \u0275dir=S({type:t,selectors:[["","matStepLabel",""]],features:[O]})}return t})(),Ii=(()=>{class t{changes=new te;optionalLabel="Optional";completedLabel="Completed";editableLabel="Editable";static \u0275fac=function(i){return new(i||t)};static \u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Gt=(()=>{class t extends Me{_intl=c(Ii);_focusMonitor=c(et);_intlSubscription;state;label;errorMessage;iconOverrides;index;selected;active;optional;disableRipple;color;constructor(){super();let e=c(tt);e.load(pt),e.load(it);let i=c(q);this._intlSubscription=this._intl.changes.subscribe(()=>i.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._elementRef,e,i):this._elementRef.nativeElement.focus(i)}_stringLabel(){return this.label instanceof ee?null:this.label}_templateLabel(){return this.label instanceof ee?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(e){return e=="number"?`${this.index+1}`:e=="edit"?"create":e=="error"?"warning":e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({type:t,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(i,a){i&2&&pe("mat-"+(a.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},features:[O],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(i,a){if(i&1&&(v(0,"div",0),r(1,"div")(2,"div",1),h(3,oi,1,2,"ng-container",2)(4,ci,2,1),s()(),r(5,"div",3),h(6,mi,2,1,"div",4)(7,ui,2,1,"div",4)(8,hi,2,1,"div",5)(9,fi,2,1,"div",6),s()),i&2){let n;u("matRippleTrigger",a._getHostElement())("matRippleDisabled",a.disableRipple),l(),Qe("mat-step-icon-state-",a.state," mat-step-icon"),A("mat-step-icon-selected",a.selected),l(2),x(a.iconOverrides&&a.iconOverrides[a.state]?3:4),l(2),A("mat-step-label-active",a.active)("mat-step-label-selected",a.selected)("mat-step-label-error",a.state=="error"),l(),x((n=a._templateLabel())?6:a._stringLabel()?7:-1,n),l(2),x(a.optional&&a.state!="error"?8:-1),l(),x(a.state==="error"?9:-1)}},dependencies:[lt,ue,st],styles:[`.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-inverse-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-sys-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-inverse-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-sys-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}@media(forced-colors: active){.mat-step-header{outline:solid 1px}.mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-header[aria-disabled=true]{outline-color:GrayText}.mat-step-header[aria-disabled=true] .mat-step-label,.mat-step-header[aria-disabled=true] .mat-step-icon,.mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color, var(--mat-sys-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-sys-on-surface-variant))}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color, transparent);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-sys-error))}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-sys-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-sys-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-sys-title-small-weight))}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-sys-on-primary))}
2
+ `],encapsulation:2,changeDetection:0})}return t})(),Ei=(()=>{class t{templateRef=c(z);name;constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=S({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]}})}return t})(),Ti=(()=>{class t{_template=c(z);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=S({type:t,selectors:[["ng-template","matStepContent",""]]})}return t})(),Ie=(()=>{class t extends se{_errorStateMatcher=c(Se,{skipSelf:!0});_viewContainerRef=c(Ve);_isSelected=Ee.EMPTY;stepLabel=void 0;color;_lazyContent;_portal;ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(Oe(()=>this._stepper.selectionChange.pipe(ke(e=>e.selectedStep===this),k(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new dt(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,i){let a=this._errorStateMatcher.isErrorState(e,i),n=!!(e&&e.invalid&&this.interacted);return a||n}static \u0275fac=(()=>{let e;return function(a){return(e||(e=U(t)))(a||t)}})();static \u0275cmp=M({type:t,selectors:[["mat-step"]],contentQueries:function(i,a,n){if(i&1&&(D(n,ee,5),D(n,Ti,5)),i&2){let d;b(d=y())&&(a.stepLabel=d.first),b(d=y())&&(a._lazyContent=d.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],features:[ce([{provide:Se,useExisting:t},{provide:se,useExisting:t}]),O],ngContentSelectors:Ut,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(i,a){i&1&&(Z(),h(0,gi,2,1,"ng-template"))},dependencies:[ct],encapsulation:2,changeDetection:0})}return t})(),Yt=(()=>{class t extends G{_ngZone=c(Fe);_renderer=c(Le);_animationsModule=c(He,{optional:!0});_cleanupTransition;_isAnimating=Ae(!1);_stepHeader=void 0;_animatedContainers;_steps=void 0;steps=new Y;_icons;animationDone=new R;disableRipple;color;labelPosition="end";headerPosition="top";_iconOverrides={};get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}_animationDuration="";_isServer=!c(Xe).isBrowser;constructor(){super();let i=c(K).nativeElement.nodeName.toLowerCase();this.orientation=i==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:i})=>this._iconOverrides[e]=i),this.steps.changes.pipe(E(this._destroyed)).subscribe(()=>this._stateChanged()),this.selectedIndexChange.pipe(E(this._destroyed)).subscribe(()=>{let e=this._getAnimationDuration();e==="0ms"||e==="0s"?this._onAnimationDone():this._isAnimating.set(!0)}),this._ngZone.runOutsideAngular(()=>{this._animationsModule!=="NoopAnimations"&&setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-stepper-animations-enabled"),this._cleanupTransition=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionend)},200)})}ngAfterViewInit(){if(super.ngAfterViewInit(),typeof queueMicrotask=="function"){let e=!1;this._animatedContainers.changes.pipe(k(null),E(this._destroyed)).subscribe(()=>queueMicrotask(()=>{e||(e=!0,this.animationDone.emit()),this._stateChanged()}))}}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransition?.()}_stepIsNavigable(e,i){return i.completed||this.selectedIndex===e||!this.linear}_getAnimationDuration(){return this._animationsModule==="NoopAnimations"?"0ms":this.animationDuration?this.animationDuration:this.orientation==="horizontal"?"500ms":"225ms"}_handleTransitionend=e=>{let i=e.target;if(!i)return;let a=this.orientation==="horizontal"&&e.propertyName==="transform"&&i.classList.contains("mat-horizontal-stepper-content-current"),n=this.orientation==="vertical"&&e.propertyName==="grid-template-rows"&&i.classList.contains("mat-vertical-content-container-active");(a||n)&&this._animatedContainers.find(m=>m.nativeElement===i)&&this._onAnimationDone()};_onAnimationDone(){this._isAnimating.set(!1),this.animationDone.emit()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({type:t,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(i,a,n){if(i&1&&(D(n,Ie,5),D(n,Ei,5)),i&2){let d;b(d=y())&&(a._steps=d),b(d=y())&&(a._icons=d)}},viewQuery:function(i,a){if(i&1&&(X(Gt,5),X(vi,5)),i&2){let n;b(n=y())&&(a._stepHeader=n),b(n=y())&&(a._animatedContainers=n)}},hostAttrs:["role","tablist"],hostVars:15,hostBindings:function(i,a){i&2&&(F("aria-orientation",a.orientation),Be("--mat-stepper-animation-duration",a._getAnimationDuration()),A("mat-stepper-horizontal",a.orientation==="horizontal")("mat-stepper-vertical",a.orientation==="vertical")("mat-stepper-label-position-end",a.orientation==="horizontal"&&a.labelPosition=="end")("mat-stepper-label-position-bottom",a.orientation==="horizontal"&&a.labelPosition=="bottom")("mat-stepper-header-position-bottom",a.headerPosition==="bottom")("mat-stepper-animating",a._isAnimating()))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[ce([{provide:G,useExisting:t}]),O],ngContentSelectors:Ut,decls:5,vars:2,consts:[["stepTemplate",""],["animatedContainer",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","class"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(i,a){if(i&1&&(Z(),h(0,bi,1,0)(1,xi,7,0,"div",2)(2,Mi,2,0)(3,wi,1,23,"ng-template",null,0,Ge)),i&2){let n;x(a._isServer?0:-1),l(),x((n=a.orientation)==="horizontal"?1:n==="vertical"?2:-1)}},dependencies:[ue,Gt],styles:[`.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font, var(--mat-sys-body-medium-font));background:var(--mat-stepper-container-color, var(--mat-sys-surface))}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height, 72px)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{visibility:hidden;overflow:hidden;outline:0;height:0}.mat-stepper-animations-enabled .mat-horizontal-stepper-content{transition:transform var(--mat-stepper-animation-duration, 0) cubic-bezier(0.35, 0, 0.25, 1)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-previous{transform:translate3d(-100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-next{transform:translate3d(100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{visibility:visible;transform:none;height:auto}.mat-stepper-horizontal:not(.mat-stepper-animating) .mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{overflow:visible}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}@media(forced-colors: active){.mat-horizontal-content-container{outline:solid 1px}}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{display:grid;grid-template-rows:0fr;grid-template-columns:100%;margin-left:36px;border:0;position:relative}.mat-stepper-animations-enabled .mat-vertical-content-container{transition:grid-template-rows var(--mat-stepper-animation-duration, 0) cubic-bezier(0.4, 0, 0.2, 1)}.mat-vertical-content-container.mat-vertical-content-container-active{grid-template-rows:1fr}.mat-step:last-child .mat-vertical-content-container{border:none}@media(forced-colors: active){.mat-vertical-content-container{outline:solid 1px}}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}@supports not (grid-template-rows: 0fr){.mat-vertical-content-container{height:0}.mat-vertical-content-container.mat-vertical-content-container-active{height:auto}}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color, var(--mat-sys-outline));top:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0;visibility:hidden}.mat-stepper-animations-enabled .mat-vertical-stepper-content{transition:visibility var(--mat-stepper-animation-duration, 0) linear}.mat-vertical-content-container-active>.mat-vertical-stepper-content{visibility:visible}.mat-vertical-content{padding:0 24px 24px 24px}
3
+ `],encapsulation:2,changeDetection:0})}return t})(),Zt=(()=>{class t extends qt{static \u0275fac=(()=>{let e;return function(a){return(e||(e=U(t)))(a||t)}})();static \u0275dir=S({type:t,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(i,a){i&2&&N("type",a.type)},features:[O]})}return t})(),Jt=(()=>{class t extends Wt{static \u0275fac=(()=>{let e;return function(a){return(e||(e=U(t)))(a||t)}})();static \u0275dir=S({type:t,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(i,a){i&2&&N("type",a.type)},features:[O]})}return t})();var ki=()=>[5,10,25,100];function Oi(t,o){t&1&&(r(0,"mat-header-cell",29),p(1," Path "),s())}function Pi(t,o){if(t&1&&(r(0,"mat-cell",30),p(1),s()),t&2){let e=o.$implicit;l(),w(" ",e.path," ")}}function Ri(t,o){t&1&&(r(0,"mat-header-cell",31),p(1," Source "),s())}function zi(t,o){if(t&1&&(r(0,"mat-cell",32),p(1),s()),t&2){let e=o.$implicit;l(),w(" ",e.pathSource," ")}}function Fi(t,o){t&1&&(r(0,"mat-header-cell",31),p(1," Time Scale "),s())}function Ai(t,o){if(t&1&&(r(0,"mat-cell",33),p(1),s()),t&2){let e=o.$implicit;l(),w(" ",e.timeScaleFormat," ")}}function Hi(t,o){t&1&&(r(0,"mat-header-cell",31),p(1," Duration "),s())}function Li(t,o){if(t&1&&(r(0,"mat-cell",33),p(1),s()),t&2){let e=o.$implicit;l(),w(" ",e.period," ")}}function Vi(t,o){t&1&&v(0,"mat-header-cell",34)}function Ni(t,o){if(t&1){let e=V();r(0,"mat-cell",35)(1,"button",36),C("click",function(){let a=_(e).$implicit,n=f();return g(n.openDatasetModal(a.uuid))}),p(2,"Edit"),s(),r(3,"button",36),C("click",function(){let a=_(e).$implicit,n=f();return g(n.deleteDataset(a.uuid))}),p(4,"Delete"),s()()}}function Bi(t,o){t&1&&v(0,"mat-header-row",37)}function Qi(t,o){t&1&&v(0,"mat-row",38)}function ji(t,o){if(t&1&&(r(0,"mat-row"),p(1),s()),t&2){f();let e=B(9);l(),w(' No data matching the filter "',e.value,'" ')}}function $i(t,o){t&1&&p(0,"Source Data")}function qi(t,o){if(t&1&&(r(0,"mat-option",23),p(1),s()),t&2){let e=o.$implicit;u("value",e),l(),w(" ",e," ")}}function Wi(t,o){if(t&1&&(r(0,"mat-option",23),p(1),s()),t&2){let e=o.$implicit;u("value",e),l(),w(" ",e," ")}}function Gi(t,o){t&1&&p(0,"Sampling")}var ei="[_nghost-%COMP%]{display:block;height:100%;width:100%}.content-area[_ngcontent-%COMP%]{height:calc(100% - 63px);overflow-y:scroll;width:100%;scroll-behavior:smooth}.filter[_ngcontent-%COMP%]{margin-bottom:10px}.buttons[_ngcontent-%COMP%]{margin-top:10px}.mat-column-actions[_ngcontent-%COMP%]{text-align:end}.buttons[_ngcontent-%COMP%]{margin-right:5px}.pathCell[_ngcontent-%COMP%], .pathHeader[_ngcontent-%COMP%]{flex:1 1 50%}.dataHeader[_ngcontent-%COMP%], .dataCell[_ngcontent-%COMP%]{flex:1 1 10%;justify-content:center}.actionHeader[_ngcontent-%COMP%]{flex:1 1 20%}.actionCell[_ngcontent-%COMP%]{flex:1 1 20%;justify-content:end}@media screen and (max-width: 750px){.pathHeader[_ngcontent-%COMP%], .dataHeader[_ngcontent-%COMP%]{flex:1 1 30%}.actionHeader[_ngcontent-%COMP%]{display:none}.mat-mdc-table[_ngcontent-%COMP%] .mat-mdc-cell[_ngcontent-%COMP%]:before{content:attr(data-label);float:left;padding-right:5px}mat-row[_ngcontent-%COMP%]:after{min-height:auto;padding-bottom:10px}.dataRow[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}.dataCell[_ngcontent-%COMP%], .actionCell[_ngcontent-%COMP%]{margin-left:24px}}",gn=(()=>{class t{paginator=le(re);sort=le(oe);pageTitle="Datasets";selectedDataset;tableData=new Qt([]);displayedColumns=["path","pathSource","timeScaleFormat","period","actions"];dialog=c(ht);cdRef=c(q);dsService=c(Et);ngOnInit(){this.loadDatasets()}loadDatasets(){this.tableData.data=this.dsService.list()}ngAfterViewInit(){this.tableData.paginator=this.paginator(),this.tableData.sort=this.sort(),this.tableData.filter="",this.cdRef.detectChanges()}openDatasetModal(e){let i;if(e){let a=Ye(this.tableData.data.find(n=>n.uuid===e));a&&(i=this.dialog.open(Xt,{data:a,disableClose:!1}))}else i=this.dialog.open(Xt,{disableClose:!1});i.afterClosed().subscribe(a=>{a===void 0||!a||(a.label=`${a.path}, Source: ${a.pathSource}, Scale: ${a.timeScaleFormat}, Period: ${a.period} `,a.uuid?this.editDataset(a):this.addDataset(a),this.loadDatasets())})}addDataset(e){this.dsService.create(e.path,e.pathSource,e.timeScaleFormat,e.period,e.label),this.loadDatasets()}editDataset(e){this.dsService.edit(e),this.loadDatasets()}deleteDataset(e){this.dsService.remove(e),this.loadDatasets()}trackByUuid(e,i){return`${i.uuid}`}applyFilter(e){let i=e.target.value;this.tableData.filter=i.trim().toLowerCase(),this.tableData.paginator&&this.tableData.paginator.firstPage()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({type:t,selectors:[["settings-datasets"]],viewQuery:function(i,a){i&1&&(de(a.paginator,re,5),de(a.sort,oe,5)),i&2&&je(2)},decls:36,vars:8,consts:[["existingDataSet","ngForm"],["input",""],[3,"pageTitle"],["name","existingDataSet",1,"page-content-wrapper","content-area"],[1,"mat-card-subtitle","description-text"],[1,"filter"],["matInput","","placeholder","Ex: navigation","value","",3,"keyup"],[1,"mat-elevation-z8","full-width","table-container"],["matSort","","matSortActive","path","matSortDirection","asc",1,"full-display",3,"dataSource","trackBy"],["matColumnDef","path"],["class","pathHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","pathCell","data-label","Path: ",4,"matCellDef"],["matColumnDef","pathSource"],["class","dataHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","dataCell","data-label","Source: ",4,"matCellDef"],["matColumnDef","timeScaleFormat"],["class","dataCell","data-label","Scale: ",4,"matCellDef"],["matColumnDef","period"],["matColumnDef","actions"],["class","actionHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","actionCell",4,"matCellDef"],["class","headerRow",4,"matHeaderRowDef","matHeaderRowDefSticky"],["class","dataRow",4,"matRowDef","matRowDefColumns"],[4,"matNoDataRow"],[1,"paginator"],["pageSize","5",3,"pageSizeOptions"],[1,"formActionFooter"],[1,"formActionDivider"],["mat-flat-button","",1,"formActionButton",3,"click"],["mat-sort-header","",1,"pathHeader"],["data-label","Path: ",1,"pathCell"],["mat-sort-header","",1,"dataHeader"],["data-label","Source: ",1,"dataCell"],["data-label","Scale: ",1,"dataCell"],["mat-sort-header","",1,"actionHeader"],[1,"actionCell"],["mat-raised-button","","color","accent",1,"small-button","buttons",3,"click"],[1,"headerRow"],[1,"dataRow"]],template:function(i,a){if(i&1){let n=V();v(0,"page-header",2),r(1,"form",3,0)(3,"p",4),p(4,"Datasets are background processes that record path values over time. Combine with the Data Chart widget they offer data visualization graphs. Care should be applied to manage Datasets and evaluate system resources usage. "),s(),r(5,"mat-form-field",5)(6,"mat-label"),p(7,"Filter"),s(),r(8,"input",6,1),C("keyup",function(m){return _(n),g(a.applyFilter(m))}),s()(),r(10,"div",7)(11,"mat-table",8),H(12,9),h(13,Oi,2,0,"mat-header-cell",10)(14,Pi,2,1,"mat-cell",11),L(),H(15,12),h(16,Ri,2,0,"mat-header-cell",13)(17,zi,2,1,"mat-cell",14),L(),H(18,15),h(19,Fi,2,0,"mat-header-cell",13)(20,Ai,2,1,"mat-cell",16),L(),H(21,17),h(22,Hi,2,0,"mat-header-cell",13)(23,Li,2,1,"mat-cell",16),L(),H(24,18),h(25,Vi,1,0,"mat-header-cell",19)(26,Ni,5,0,"mat-cell",20),L(),h(27,Bi,1,0,"mat-header-row",21)(28,Qi,1,0,"mat-row",22)(29,ji,2,1,"mat-row",23),s()(),r(30,"div",24),v(31,"mat-paginator",25),s(),r(32,"div",26),v(33,"mat-divider",27),r(34,"button",28),C("click",function(){return _(n),g(a.openDatasetModal())}),p(35,"Add"),s()()()}i&2&&(u("pageTitle",a.pageTitle),l(11),u("dataSource",a.tableData)("trackBy",a.trackByUuid),l(16),u("matHeaderRowDef",a.displayedColumns)("matHeaderRowDefSticky",!0),l(),u("matRowDefColumns",a.displayedColumns),l(3),u("pageSizeOptions",$e(7,ki)))},dependencies:[ve,ge,fe,_e,ye,be,Ce,Ot,oe,zt,Rt,Ft,jt,Pt,At,he,Ht,Vt,Lt,Nt,Bt,re,xe,kt],styles:[ei]})}return t})(),Xt=(()=>{class t{SignalKDataService=c(Ze);dialogRef=c(mt);dataset=c(ut);titleDialog=null;newDataset={uuid:null,path:null,pathSource:null,baseUnit:null,timeScaleFormat:"second",period:10,label:null};formDataset=null;availablePaths=[];availableSources=[];filterSelfPaths=!0;ngOnInit(){if(this.dataset){this.titleDialog="Edit Dataset",this.formDataset=this.dataset;let e=this.SignalKDataService.getPathObject(this.formDataset.path);e!==null&&(this.availableSources=["default"].concat(Object.keys(e.sources)))}else this.titleDialog="Add Dataset",this.formDataset=this.newDataset;this.availablePaths=this.SignalKDataService.getPathsByType("number").sort()}changePath(){let e=this.SignalKDataService.getPathObject(this.formDataset.path);e!==null&&(this.availableSources=["default"].concat(Object.keys(e.sources)),this.formDataset.pathSource="default")}closeForm(){this.dialogRef.close(this.formDataset)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({type:t,selectors:[["settings-datasets-modal"]],decls:65,vars:13,consts:[["datasetForm","ngForm"],["mat-dialog-title",""],["name","datasetForm",3,"ngSubmit"],["matStepLabel",""],[1,"tab-content"],[1,"full-width"],["placeholder","Select data path","name","selectedPath","required","",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["name","filterSelfPaths",3,"ngModelChange","ngModel"],["placeholder","Select data source","name","selectedSource","required","",3,"ngModelChange","ngModel"],[1,"buttons"],["type","button","mat-raised-button","","color","accent","matStepperNext","",3,"disabled"],[1,"mat-subtitle-1"],[1,"flex-container",2,"margin-top","10px"],[1,"flex-field-50"],["placeholder","Select dataset time scale","name","timeScaleFormat","required","",3,"ngModelChange","ngModel"],["value","hour"],["value","minute"],["value","second"],["matInput","","type","number","min","1","max","60","step","1","placeholder","Enter or select number...","name","period","required","",3,"ngModelChange","ngModel"],[2,"margin-top","10px"],["type","button","mat-raised-button","","color","accent","matStepperPrevious","",1,"buttons"],["mat-raised-button","","type","submit","color","accent",1,"buttons",3,"disabled"],[3,"value"]],template:function(i,a){if(i&1){let n=V();r(0,"h6",1),p(1),s(),r(2,"mat-dialog-content")(3,"form",2,0),C("ngSubmit",function(){return _(n),g(a.closeForm())}),r(5,"mat-horizontal-stepper")(6,"mat-step"),h(7,$i,1,0,"ng-template",3),r(8,"div",4)(9,"mat-form-field",5)(10,"mat-label"),p(11,"Signal K Path"),s(),r(12,"mat-select",6),$("ngModelChange",function(m){return _(n),j(a.formDataset.path,m)||(a.formDataset.path=m),g(m)}),C("ngModelChange",function(){return _(n),g(a.changePath())}),h(13,qi,2,2,"mat-option",7),qe(14,"filterSelf"),s()(),r(15,"mat-checkbox",8),$("ngModelChange",function(m){return _(n),j(a.filterSelfPaths,m)||(a.filterSelfPaths=m),g(m)}),p(16," Restrict to own vessel "),s(),v(17,"br")(18,"br"),r(19,"mat-form-field",5)(20,"mat-label"),p(21,"Source"),s(),r(22,"mat-select",9),$("ngModelChange",function(m){return _(n),j(a.formDataset.pathSource,m)||(a.formDataset.pathSource=m),g(m)}),h(23,Wi,2,2,"mat-option",7),s()()(),v(24,"mat-divider"),r(25,"div",10)(26,"button",11),p(27," Next "),s()()(),r(28,"mat-step"),h(29,Gi,1,0,"ng-template",3),r(30,"div",4)(31,"span",12),p(32,"Time Scales"),s(),r(33,"div",13)(34,"div",14)(35,"mat-form-field",5)(36,"mat-label"),p(37,"Scale"),s(),r(38,"mat-select",15),$("ngModelChange",function(m){return _(n),j(a.formDataset.timeScaleFormat,m)||(a.formDataset.timeScaleFormat=m),g(m)}),r(39,"mat-option",16),p(40,"Hours"),s(),r(41,"mat-option",17),p(42,"Minutes"),s(),r(43,"mat-option",18),p(44,"Seconds"),s()()()(),r(45,"div",14)(46,"mat-form-field",5)(47,"mat-label"),p(48,"Duration"),s(),r(49,"input",19),$("ngModelChange",function(m){return _(n),j(a.formDataset.period,m)||(a.formDataset.period=m),g(m)}),s()()()(),r(50,"p",20),p(51,"Time scales define the data sampling rate and overall Dataset level of precision. Select a Time Scale that is targeted to your intended usage. Shorter Time Scales have higher system resources costs, for both the data capture and widget rendering process. "),s(),r(52,"ul")(53,"li"),p(54,"Hours: per minute sampling rate. Intended for long sampling periods when slow refresh rate is acceptable and system resource usage should be minimized. Grafana is the perfect alternative to this Time Scale. "),s(),r(55,"li"),p(56,"Minutes: per second sampling rate. Meant for trends observations such wind speed, depth, solar power, voltage, etc. "),s(),r(57,"li"),p(58,"Secondes: 200ms sampling rate. Intended for use cases where user may act upon realtime information such as when racing. "),s()()(),v(59,"mat-divider"),r(60,"div",10)(61,"button",21),p(62," Back "),s(),r(63,"button",22),p(64," Save "),s()()()()()()}if(i&2){let n=B(4);l(),w(" ",a.titleDialog," "),l(11),Q("ngModel",a.formDataset.path),l(),u("ngForOf",We(14,10,a.availablePaths,a.filterSelfPaths)),l(2),Q("ngModel",a.filterSelfPaths),l(7),Q("ngModel",a.formDataset.pathSource),l(),u("ngForOf",a.availableSources),l(3),u("disabled",!a.formDataset.path),l(12),Q("ngModel",a.formDataset.timeScaleFormat),l(11),Q("ngModel",a.formDataset.period),l(14),u("disabled",!n.valid)}},dependencies:[Tt,ft,_t,ve,ge,gt,St,bt,fe,Dt,xt,Ct,yt,_e,Yt,Ie,ee,ye,be,wt,Ke,Mt,It,xe,he,Zt,Ce,Jt,$t],styles:[ei]})}return t})();export{gn as SettingsDatasetsComponent,Xt as SettingsDatasetsModalComponent};
File without changes
@@ -0,0 +1,2 @@
1
+ import{a as W}from"./chunk-L7UKAWLY.js";import{$a as O,$b as f,$c as n,Cc as j,Da as M,Ea as s,Fa as l,Ga as z,Ha as R,Hb as L,Ib as q,La as D,Oa as p,Oc as X,Pa as F,Ta as V,Ud as G,Ve as $,Xc as H,Xe as J,Yb as v,Zb as h,ad as Q,bc as P,ce as K,ic as d,jc as m,kc as b,ke as I,na as T,oc as S,pa as w,pc as U,qc as u,qe as Z,ra as A,re as Y,sc as N,tc as B,ua as r,ub as _,wc as g,xc as y,yc as C}from"./chunk-FVY2LG57.js";var ae=["input"],oe=["label"],ie=["*"],re=new A("mat-checkbox-default-options",{providedIn:"root",factory:ce});function ce(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var o=function(a){return a[a.Init=0]="Init",a[a.Checked=1]="Checked",a[a.Unchecked=2]="Unchecked",a[a.Indeterminate=3]="Indeterminate",a}(o||{}),ne={provide:$,useExisting:T(()=>te),multi:!0},E=class{source;checked},ee=ce(),te=(()=>{class a{_elementRef=r(V);_changeDetectorRef=r(H);_ngZone=r(F);_animationMode=r(O,{optional:!0});_options=r(re,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let t=new E;return t.source=this,t.checked=e,t}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_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"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new p;indeterminateChange=new p;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=o.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){r(G).load(Y);let e=r(new D("tabindex"),{optional:!0});this._options=this._options||ee,this.color=this._options.color||ee.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=r(K).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}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())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate}set indeterminate(e){let t=e!=this._indeterminate;this._indeterminate=e,t&&(this._indeterminate?this._transitionCheckState(o.Indeterminate):this._transitionCheckState(this.checked?o.Checked:o.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_indeterminate=!1;_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 t=this._currentCheckState,c=this._getAnimationTargetElement();if(!(t===e||!c)&&(this._currentAnimationClass&&c.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){c.classList.add(this._currentAnimationClass);let i=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{c.classList.remove(i)},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?o.Checked:o.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!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,t){if(this._animationMode==="NoopAnimations")return"";switch(e){case o.Init:if(t===o.Checked)return this._animationClasses.uncheckedToChecked;if(t==o.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case o.Unchecked:return t===o.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case o.Checked:return t===o.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case o.Indeterminate:return t===o.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let t=this._inputElement;t&&(t.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()}static \u0275fac=function(t){return new(t||a)};static \u0275cmp=L({type:a,selectors:[["mat-checkbox"]],viewQuery:function(t,c){if(t&1&&(g(ae,5),g(oe,5)),t&2){let i;y(i=C())&&(c._inputElement=i.first),y(i=C())&&(c._labelElement=i.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(t,c){t&2&&(U("id",c.id),v("tabindex",null)("aria-label",null)("aria-labelledby",null),P(c.color?"mat-"+c.color:"mat-accent"),f("_mat-animation-noopable",c._animationMode==="NoopAnimations")("mdc-checkbox--disabled",c.disabled)("mat-mdc-checkbox-disabled",c.disabled)("mat-mdc-checkbox-checked",c.checked)("mat-mdc-checkbox-disabled-interactive",c.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",n],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",n],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",n],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Q(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",n],checked:[2,"checked","checked",n],disabled:[2,"disabled","disabled",n],indeterminate:[2,"indeterminate","indeterminate",n]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[X([ne,{provide:J,useExisting:a,multi:!0}]),M],ngContentSelectors:ie,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[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-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(t,c){if(t&1){let i=S();N(),d(0,"div",3),u("click",function(x){return s(i),l(c._preventBubblingFromLabel(x))}),d(1,"div",4,0)(3,"div",5),u("click",function(){return s(i),l(c._onTouchTargetClick())}),m(),d(4,"input",6,1),u("blur",function(){return s(i),l(c._onBlur())})("click",function(){return s(i),l(c._onInputClick())})("change",function(x){return s(i),l(c._onInteractionEvent(x))}),m(),b(6,"div",7),d(7,"div",8),z(),d(8,"svg",9),b(9,"path",10),m(),R(),b(10,"div",11),m(),b(11,"div",12),m(),d(12,"label",13,2),B(14),m()()}if(t&2){let i=j(2);h("labelPosition",c.labelPosition),_(4),f("mdc-checkbox--selected",c.checked),h("checked",c.checked)("indeterminate",c.indeterminate)("disabled",c.disabled&&!c.disabledInteractive)("id",c.inputId)("required",c.required)("tabIndex",c.disabled&&!c.disabledInteractive?-1:c.tabIndex),v("aria-label",c.ariaLabel||null)("aria-labelledby",c.ariaLabelledby)("aria-describedby",c.ariaDescribedby)("aria-checked",c.indeterminate?"mixed":null)("aria-controls",c.ariaControls)("aria-disabled",c.disabled&&c.disabledInteractive?!0:null)("aria-expanded",c.ariaExpanded)("aria-owns",c.ariaOwns)("name",c.name)("value",c.value),_(7),h("matRippleTrigger",i)("matRippleDisabled",c.disableRipple||c.disabled)("matRippleCentered",!0),_(),h("for",c.inputId)}},dependencies:[Z,W],styles:[`.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;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover>.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover>.mat-mdc-checkbox-ripple>.mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus+.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control+.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.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, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked+.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.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, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.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, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control+.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}@media(forced-colors: active){.mdc-checkbox--disabled{opacity:.5}}.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 cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 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 cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.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;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 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{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@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:cubic-bezier(0, 0, 0.2, 1);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}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-touch-target,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__native-control,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__ripple,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-ripple::before,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__mixedmark{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .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 .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%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}
2
+ `],encapsulation:2,changeDetection:0})}return a})();var Me=(()=>{class a{static \u0275fac=function(t){return new(t||a)};static \u0275mod=q({type:a});static \u0275inj=w({imports:[te,I,I]})}return a})();export{te as a,Me as b};