diff --git a/404.html b/404.html index df197f5..8de747f 100644 --- a/404.html +++ b/404.html @@ -8,16 +8,16 @@ - -

AI Horde

This is a crowdsourced distributed cluster of image generation workers and text generation workers. If you like this service, consider joining the horde yourself!

For more information, visit the FAQ. Finally, you can also follow the main developer's blog.

AI Horde

This is a crowdsourced distributed cluster of image generation workers and text generation workers. If you like this service, consider joining the horde yourself!

For more information, visit the FAQ. Finally, you can also follow the main developer's blog.

Latest news

2024-05-20 - Generate QR Codes

You can now generate QR Codes on the AI Horde! Currently this functionality is only available for Stable Diffusion 1.5. To use this functionality, your frontend needs to support it so that you can type the text you wish to be made into a QR code and to specify the specific qr_code workflow.

2024-05-12 - Stable Cascade 2pass support

The AI Horde now supports Stable Cascade 2passSimply switch hires_fix to True to use. Note that this has double the cost of a normal Stable Cascade.

2024-03-24 - Supports image variations

The AI Horde now supports Stable Cascade along with its image variations / remix capabilities!

Read more

Stats

Images

  • +

Latest news

2024-05-20 - Generate QR Codes

You can now generate QR Codes on the AI Horde! Currently this functionality is only available for Stable Diffusion 1.5. To use this functionality, your frontend needs to support it so that you can type the text you wish to be made into a QR code and to specify the specific qr_code workflow.

2024-05-12 - Stable Cascade 2pass support

The AI Horde now supports Stable Cascade 2passSimply switch hires_fix to True to use. Note that this has double the cost of a normal Stable Cascade.

2024-03-24 - Supports image variations

The AI Horde now supports Stable Cascade along with its image variations / remix capabilities!

Read more

Stats

Images

  • -Average recent performance: 17.2 megapixelsteps per second
  • +Average recent performance: 15.8 megapixelsteps per second
  • -Total generated: 1,562.0 terapixelsteps
  • +Total generated: 1,562.0 terapixelsteps
  • -Total image requests fulfilled: 105.6M
  • +Total image requests fulfilled: 105.6M
  • -Active workers/threads: 12/13
  • +Active workers/threads: 18/20
  • -Queue: 418 requests for a total of 8.9 gigapixelsteps

Text

  • +Queue: 276 requests for a total of 4.8 gigapixelsteps

Text

  • -Average recent performance: 429.8 tokens per second
  • +Average recent performance: 420.2 tokens per second
  • -Total generated: 20.8 gigatokens
  • +Total generated: 20.8 gigatokens
  • -Total text requests fulfilled: 113.7M
  • +Total text requests fulfilled: 113.7M
  • -Active workers/threads: 34/81
  • +Active workers/threads: 36/97
  • -Queue: 58 requests for a total of 11.2 kilotokens

Image alchemy

  • +Queue: 56 requests for a total of 10.5 kilotokens

Image alchemy

  • -Total processed: 663.7K
  • +Total processed: 663.7K
  • -Active workers/threads: 8/13
  • +Active workers/threads: 7/9
  • -Queue: 0 forms

Realtime stats

Realtime stats

Quickstart

First register an account which will generate for you an API key. Store that key somewhere.

Quickstart

First register an account which will generate for you an API key. Store that key somewhere.

Image GUIs

Desktop

Lucid Creations

A client that works both in your browser and can be downloaded by the founder of the AI Horde project.

Screenshot of the Lucid Creations GUI
Get Lucid Creations

Web

Lucid Creations

A client that works both in your browser and can be downloaded by the founder of the AI Horde project.

Screenshot of the Lucid Creations GUI
Get Lucid Creations

Artbot

One of the most popular web-based clients.

Screenshot of the Artbot GUI
Go to Artbot

HordeNG

HordeNG aims to be very simple to use for beginners, while allowing the full set of options for advanced users.

Screenshot of the HordeNG GUI
Go to HordeNG

AI Scribbles

A simplified web image generator with handmade custom styles

Screenshot of the AI Scribbles GUI
Go to AI Scribbles

Android

AI Painter

A Chinese language app which has both a simple mode and advanced features.

Screenshot of the AI Painter GUI
Get AI Painter

HordeNG

HordeNG aims to be very simple to use for beginners, while allowing the full set of options for advanced users.

Screenshot of the HordeNG GUI
Get HordeNG

iOS

AI Painter

A Chinese language app which has both a simple mode and advanced features.

Screenshot of the AI Painter GUI
Get AI Painter

Aislingeach

A iOS and Android app that allows you to generate images using AI, as well as rate images.

Screenshot of the Aislingeach GUI
Get Aislingeach

Text GUIs

Desktop

KoboldAI Client

This is a browser-based front-end for AI-assisted writing with multiple local & remote AI models, including through the AI Horde.

Screenshot of the KoboldAI Client GUI
Get KoboldAI Client

SillyTavern

A downloadable client that allows you to interact with text generation AIs, including the AI Horde.

Screenshot of the SillyTavern GUI
Get SillyTavern

Web

KoboldAI Lite

A simple web-based client for AI chat and roleplay with multiple AI models, including through the AI Horde.

Screenshot of the KoboldAI Lite GUI
Go to KoboldAI Lite

AgnAIstic

AI chat with characters. Open source, self-hostable, and publicly hosted, including through the AI Horde.

Screenshot of the AgnAIstic GUI
Go to AgnAIstic

iOS

Inneal

An iOS app for LLM chat through the AI Horde. Has support for multi-character chat, personas and more.

Screenshot of the Inneal GUI
Get Inneal

Tools

Official tools

Horde Worker reGen

The official way to add your GPU to the horde for image generation.

AI Horde CLI

The official AI Horde CLI that supports all features of AI Horde.

Godot Engine plugin

Easily integrate AI Horde image generation into your games.

Discord Bot

Add to your server to generate images for free and transfer kudos.

Fediverse bots

Generate images via ActivityPub just by pinging the bots.

Reddit bot

Generate images directly via Reddit by tagging the bot.

Python SDK

Python bindings for AI Horde

Community Bots

CraiyonArt Bot

A Telegram bot that generates images using AI Horde

WriterBot

A Discord bot that generates images using AI Horde

Turing Bot

A Discord bot that generates images using AI Horde

Imaginarium

Telegram AI Art Generator bot Powered by AI Horde.

Community plugins

GIMP plugin

A plugin for using AI Horde inside the GIMP image editor.

Krita plugin

A plugin for using AI Horde inside the Krita image editor.

Unreal Engine plugin

Plugin that generates AI synthesized images in Unreal Editor using AI Horde.

Automatic1111 plugin

A plugin for using AI Horde inside the popular Automatic1111 frontend.

Blender plugin

Render an AI generated image based on a text prompt and your scene in Blender.

Photoshop plugin

Use the capabilities of AI Horde in Photoshop without switching between programs

Chrome accessibility

Generates descriptive alternate text of images online for those who need them!

Community SDKs

Node.js SDK

Communicate with AI Horde api from node.js projects

- +To increase your priority you will need a unique API key and then to increase your Kudos. Read how Kudos are working.

Image GUIs

Desktop

Lucid Creations

A client that works both in your browser and can be downloaded by the founder of the AI Horde project.

Screenshot of the Lucid Creations GUI
Get Lucid Creations

Web

Lucid Creations

A client that works both in your browser and can be downloaded by the founder of the AI Horde project.

Screenshot of the Lucid Creations GUI
Get Lucid Creations

Artbot

One of the most popular web-based clients.

Screenshot of the Artbot GUI
Go to Artbot

HordeNG

HordeNG aims to be very simple to use for beginners, while allowing the full set of options for advanced users.

Screenshot of the HordeNG GUI
Go to HordeNG

AI Scribbles

A simplified web image generator with handmade custom styles

Screenshot of the AI Scribbles GUI
Go to AI Scribbles

Android

AI Painter

A Chinese language app which has both a simple mode and advanced features.

Screenshot of the AI Painter GUI
Get AI Painter

HordeNG

HordeNG aims to be very simple to use for beginners, while allowing the full set of options for advanced users.

Screenshot of the HordeNG GUI
Get HordeNG

iOS

AI Painter

A Chinese language app which has both a simple mode and advanced features.

Screenshot of the AI Painter GUI
Get AI Painter

Aislingeach

A iOS and Android app that allows you to generate images using AI, as well as rate images.

Screenshot of the Aislingeach GUI
Get Aislingeach

Text GUIs

Desktop

KoboldAI Client

This is a browser-based front-end for AI-assisted writing with multiple local & remote AI models, including through the AI Horde.

Screenshot of the KoboldAI Client GUI
Get KoboldAI Client

SillyTavern

A downloadable client that allows you to interact with text generation AIs, including the AI Horde.

Screenshot of the SillyTavern GUI
Get SillyTavern

Web

KoboldAI Lite

A simple web-based client for AI chat and roleplay with multiple AI models, including through the AI Horde.

Screenshot of the KoboldAI Lite GUI
Go to KoboldAI Lite

AgnAIstic

AI chat with characters. Open source, self-hostable, and publicly hosted, including through the AI Horde.

Screenshot of the AgnAIstic GUI
Go to AgnAIstic

iOS

Inneal

An iOS app for LLM chat through the AI Horde. Has support for multi-character chat, personas and more.

Screenshot of the Inneal GUI
Get Inneal

Tools

Official tools

Horde Worker reGen

The official way to add your GPU to the horde for image generation.

AI Horde CLI

The official AI Horde CLI that supports all features of AI Horde.

Godot Engine plugin

Easily integrate AI Horde image generation into your games.

Discord Bot

Add to your server to generate images for free and transfer kudos.

Fediverse bots

Generate images via ActivityPub just by pinging the bots.

Reddit bot

Generate images directly via Reddit by tagging the bot.

Python SDK

Python bindings for AI Horde

Community Bots

CraiyonArt Bot

A Telegram bot that generates images using AI Horde

WriterBot

A Discord bot that generates images using AI Horde

Turing Bot

A Discord bot that generates images using AI Horde

Imaginarium

Telegram AI Art Generator bot Powered by AI Horde.

Community plugins

GIMP plugin

A plugin for using AI Horde inside the GIMP image editor.

Krita plugin

A plugin for using AI Horde inside the Krita image editor.

Unreal Engine plugin

Plugin that generates AI synthesized images in Unreal Editor using AI Horde.

Automatic1111 plugin

A plugin for using AI Horde inside the popular Automatic1111 frontend.

Blender plugin

Render an AI generated image based on a text prompt and your scene in Blender.

Photoshop plugin

Use the capabilities of AI Horde in Photoshop without switching between programs

Chrome accessibility

Generates descriptive alternate text of images online for those who need them!

Community SDKs

Node.js SDK

Communicate with AI Horde api from node.js projects

+ - \ No newline at end of file + \ No newline at end of file diff --git a/chunk-FINGB24M.js b/chunk-3RRMIX3K.js similarity index 71% rename from chunk-FINGB24M.js rename to chunk-3RRMIX3K.js index 4dfd726..5bbc837 100644 --- a/chunk-FINGB24M.js +++ b/chunk-3RRMIX3K.js @@ -1 +1 @@ -import{a as u}from"./chunk-VVJGNX6O.js";import{s as f}from"./chunk-7IMKBQP2.js";import{$ as a,Ka as s,Oa as o,Pa as m,Va as c,bb as p,d as n,jb as d,kb as l,lb as g,tb as y}from"./chunk-HTB7U7SQ.js";var w=(()=>{let e=class e{constructor(r){this.aiHorde=r,this.terms=c("")}ngOnInit(){return n(this,null,function*(){this.terms.set(yield f(this.aiHorde.getTerms()))})}};e.\u0275fac=function(t){return new(t||e)(m(u))},e.\u0275cmp=a({type:e,selectors:[["app-terms"]],standalone:!0,features:[y],decls:3,vars:1,consts:[[1,"bg-gray-50","dark:bg-gray-800"],[1,"max-w-screen-xl","px-4","py-8","mx-auto","space-y-12","lg:space-y-20","lg:py-24","lg:px-6"],[1,"text-gray-500","sm:text-lg","dark:text-gray-400","terms",3,"innerHTML"]],template:function(t,v){t&1&&(d(0,"section",0)(1,"div",1),g(2,"div",2),l()()),t&2&&(o(2),p("innerHTML",v.terms(),s))}});let i=e;return i})();export{w as TermsComponent}; +import{a as u}from"./chunk-NXANAV64.js";import{r as f}from"./chunk-PL5LST3Q.js";import{$ as a,Ja as s,Na as o,Oa as m,Ua as c,ab as p,d as n,ib as d,jb as l,kb as g,sb as y}from"./chunk-RAGRZUZJ.js";var w=(()=>{let e=class e{constructor(r){this.aiHorde=r,this.terms=c("")}ngOnInit(){return n(this,null,function*(){this.terms.set(yield f(this.aiHorde.getTerms()))})}};e.\u0275fac=function(t){return new(t||e)(m(u))},e.\u0275cmp=a({type:e,selectors:[["app-terms"]],standalone:!0,features:[y],decls:3,vars:1,consts:[[1,"bg-gray-50","dark:bg-gray-800"],[1,"max-w-screen-xl","px-4","py-8","mx-auto","space-y-12","lg:space-y-20","lg:py-24","lg:px-6"],[1,"text-gray-500","sm:text-lg","dark:text-gray-400","terms",3,"innerHTML"]],template:function(t,v){t&1&&(d(0,"section",0)(1,"div",1),g(2,"div",2),l()()),t&2&&(o(2),p("innerHTML",v.terms(),s))}});let i=e;return i})();export{w as TermsComponent}; diff --git a/chunk-7ARKW5W4.js b/chunk-7ARKW5W4.js deleted file mode 100644 index acd711c..0000000 --- a/chunk-7ARKW5W4.js +++ /dev/null @@ -1,2 +0,0 @@ -import{a as Ae,b as Ct,c as It,d as L,g as Dt,j as Nt,l as Ce,m as jt,r as kt}from"./chunk-7IMKBQP2.js";import{$ as Te,A as at,Aa as P,Ba as $,Ca as mt,D as ct,Da as Tt,Ea as St,F as me,Fa as bt,Ga as Lt,H as lt,Ha as wt,Ia as Et,Ja as F,Jb as Me,K as ut,Lb as Ot,M as se,Mb as Mt,N as dt,Na as z,P as M,Pa as b,Pb as At,Q as ft,Qa as Rt,R as ht,S as A,T as p,Ta as G,V as y,Va as Re,X as f,Y as C,Z as K,_ as k,a as v,b as j,ba as pt,c as nt,ca as R,da as gt,e as rt,g as it,ga as Se,j as st,k as re,ka as oe,l as ie,m as ve,n as O,na as be,oa as U,qa as Le,s as S,sa as vt,t as E,ta as we,tb as Oe,ua as yt,v as ot,va as B,wa as Ee,x as ye}from"./chunk-HTB7U7SQ.js";var Ne=class extends It{constructor(){super(...arguments),this.supportsDOMEvents=!0}},je=class n extends Ne{static makeCurrent(){Ct(new n)}onAndCancel(r,e,t){return r.addEventListener(e,t),()=>{r.removeEventListener(e,t)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.parentNode&&r.parentNode.removeChild(r)}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=pn();return e==null?null:gn(e)}resetBaseElement(){Y=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return Dt(document.cookie,r)}},Y=null;function pn(){return Y=Y||document.querySelector("base"),Y?Y.getAttribute("href"):null}function gn(n){return new URL(n,document.baseURI).pathname}var vn=(()=>{let r=class r{build(){return new XMLHttpRequest}};r.\u0275fac=function(i){return new(i||r)},r.\u0275prov=p({token:r,factory:r.\u0275fac});let n=r;return n})(),ke=new y(""),Vt=(()=>{let r=class r{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(s=>{s.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,s){return this._findPluginFor(i).addEventListener(t,i,s)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new A(5101,!1);return this._eventNameToPlugin.set(t,i),i}};r.\u0275fac=function(i){return new(i||r)(f(ke),f(G))},r.\u0275prov=p({token:r,factory:r.\u0275fac});let n=r;return n})(),ae=class{constructor(r){this._doc=r}},Ie="ng-app-id",Kt=(()=>{let r=class r{constructor(t,i,s,o={}){this.doc=t,this.appId=i,this.nonce=s,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ce(o),this.resetHostNodes()}addStyles(t){for(let i of t)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(t){for(let i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){let i=this.styleRef;i.get(t)?.elements?.forEach(s=>s.remove()),i.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${Ie}="${this.appId}"]`);if(t?.length){let i=new Map;return t.forEach(s=>{s.textContent!=null&&i.set(s.textContent,s)}),i}return null}changeUsageCount(t,i){let s=this.styleRef;if(s.has(t)){let o=s.get(t);return o.usage+=i,o.usage}return s.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){let s=this.styleNodesInDOM,o=s?.get(i);if(o?.parentNode===t)return s.delete(i),o.removeAttribute(Ie),o;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Ie,this.appId),t.appendChild(a),a}}addStyleToHost(t,i){let s=this.getStyleElement(t,i),o=this.styleRef,a=o.get(i)?.elements;a?a.push(s):o.set(i,{elements:[s],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};r.\u0275fac=function(i){return new(i||r)(f(L),f(we),f(Ee,8),f(B))},r.\u0275prov=p({token:r,factory:r.\u0275fac});let n=r;return n})(),De={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/MathML/"},_e=/%COMP%/g,Ut="%COMP%",yn=`_nghost-${Ut}`,mn=`_ngcontent-${Ut}`,Tn=!0,Sn=new y("",{providedIn:"root",factory:()=>Tn});function bn(n){return mn.replace(_e,n)}function Ln(n){return yn.replace(_e,n)}function Bt(n,r){return r.map(e=>e.replace(_e,n))}var Ft=(()=>{let r=class r{constructor(t,i,s,o,a,c,l,u=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=s,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=Ce(c),this.defaultRenderer=new Z(t,a,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===K.ShadowDom&&(i=j(v({},i),{encapsulation:K.Emulated}));let s=this.getOrCreateRenderer(t,i);return s instanceof ce?s.applyToHost(t):s instanceof W&&s.applyStyles(),s}getOrCreateRenderer(t,i){let s=this.rendererByCompId,o=s.get(i.id);if(!o){let a=this.doc,c=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(i.encapsulation){case K.Emulated:o=new ce(l,u,i,this.appId,d,a,c,h);break;case K.ShadowDom:return new Fe(l,u,t,i,a,c,this.nonce,h);default:o=new W(l,u,i,d,a,c,h);break}s.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}};r.\u0275fac=function(i){return new(i||r)(f(Vt),f(Kt),f(we),f(Sn),f(L),f(B),f(G),f(Ee))},r.\u0275prov=p({token:r,factory:r.\u0275fac});let n=r;return n})(),Z=class{constructor(r,e,t,i){this.eventManager=r,this.doc=e,this.ngZone=t,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(r,e){return e?this.doc.createElementNS(De[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(xt(r)?r.content:r).appendChild(e)}insertBefore(r,e,t){r&&(xt(r)?r.content:r).insertBefore(e,t)}removeChild(r,e){r&&r.removeChild(e)}selectRootElement(r,e){let t=typeof r=="string"?this.doc.querySelector(r):r;if(!t)throw new A(-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 s=De[i];s?r.setAttributeNS(s,e,t):r.setAttribute(e,t)}else r.setAttribute(e,t)}removeAttribute(r,e,t){if(t){let i=De[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&(z.DashCase|z.Important)?r.style.setProperty(e,t,i&z.Important?"important":""):r.style[e]=t}removeStyle(r,e,t){t&z.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){if(typeof r=="string"&&(r=Ae().getGlobalEventTarget(this.doc,r),!r))throw new Error(`Unsupported event target ${r} for event ${e}`);return this.eventManager.addEventListener(r,e,this.decoratePreventDefault(t))}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;(this.platformIsServer?this.ngZone.runGuarded(()=>r(e)):r(e))===!1&&e.preventDefault()}}};function xt(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Fe=class extends Z{constructor(r,e,t,i,s,o,a,c){super(r,s,o,c),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=Bt(i.id,i.styles);for(let u of l){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}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(this.nodeOrShadowRoot(r),e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},W=class extends Z{constructor(r,e,t,i,s,o,a,c){super(r,s,o,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i,this.styles=c?Bt(c,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ce=class extends W{constructor(r,e,t,i,s,o,a,c){let l=i+"-"+t.id;super(r,e,t,s,o,a,c,l),this.contentAttr=bn(l),this.hostAttr=Ln(l)}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}},wn=(()=>{let r=class r extends ae{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,s){return t.addEventListener(i,s,!1),()=>this.removeEventListener(t,i,s)}removeEventListener(t,i,s){return t.removeEventListener(i,s)}};r.\u0275fac=function(i){return new(i||r)(f(L))},r.\u0275prov=p({token:r,factory:r.\u0275fac});let n=r;return n})(),_t=["alt","control","meta","shift"],En={"\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"},Rn={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},On=(()=>{let r=class r extends ae{constructor(t){super(t)}supports(t){return r.parseEventName(t)!=null}addEventListener(t,i,s){let o=r.parseEventName(i),a=r.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ae().onAndCancel(t,o.domEventName,a))}static parseEventName(t){let i=t.toLowerCase().split("."),s=i.shift();if(i.length===0||!(s==="keydown"||s==="keyup"))return null;let o=r._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),_t.forEach(u=>{let d=i.indexOf(u);d>-1&&(i.splice(d,1),a+=u+".")}),a+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=s,l.fullKey=a,l}static matchEventFullKeyCode(t,i){let s=En[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(s=t.code,o="code."),s==null||!s?!1:(s=s.toLowerCase(),s===" "?s="space":s==="."&&(s="dot"),_t.forEach(a=>{if(a!==s){let c=Rn[a];c(t)&&(o+=a+".")}}),o+=s,o===i)}static eventCallback(t,i,s){return o=>{r.matchEventFullKeyCode(o,t)&&s.runGuarded(()=>i(o))}}static _normalizeKey(t){return t==="esc"?"escape":t}};r.\u0275fac=function(i){return new(i||r)(f(L))},r.\u0275prov=p({token:r,factory:r.\u0275fac});let n=r;return n})();function qr(n,r){return Ot(v({rootComponent:n},Mn(r)))}function Mn(n){return{appProviders:[...Nn,...n?.providers??[]],platformProviders:Dn}}function An(){je.makeCurrent()}function Cn(){return new be}function In(){return vt(document),document}var Dn=[{provide:B,useValue:Nt},{provide:yt,useValue:An,multi:!0},{provide:L,useFactory:In,deps:[]}];var Nn=[{provide:gt,useValue:"root"},{provide:be,useFactory:Cn,deps:[]},{provide:ke,useClass:wn,multi:!0,deps:[L,G,B]},{provide:ke,useClass:On,multi:!0,deps:[L]},Ft,Kt,Vt,{provide:Rt,useExisting:Ft},{provide:jt,useClass:vn,deps:[]},[]];var Jr=(()=>{let r=class r{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};r.\u0275fac=function(i){return new(i||r)(f(L))},r.\u0275prov=p({token:r,factory:r.\u0275fac,providedIn:"root"});let n=r;return n})();var jn=(()=>{let r=class r{};r.\u0275fac=function(i){return new(i||r)},r.\u0275prov=p({token:r,factory:function(i){let s=null;return i?s=new(i||r):s=f(kn),s},providedIn:"root"});let n=r;return n})(),kn=(()=>{let r=class r extends jn{constructor(t){super(),this._doc=t}sanitize(t,i){if(i==null)return null;switch(t){case F.NONE:return i;case F.HTML:return $(i,"HTML")?P(i):Et(this._doc,String(i)).toString();case F.STYLE:return $(i,"Style")?P(i):i;case F.SCRIPT:if($(i,"Script"))return P(i);throw new A(5200,!1);case F.URL:return $(i,"URL")?P(i):wt(String(i));case F.RESOURCE_URL:if($(i,"ResourceURL"))return P(i);throw new A(5201,!1);default:throw new A(5202,!1)}}bypassSecurityTrustHtml(t){return mt(t)}bypassSecurityTrustStyle(t){return Tt(t)}bypassSecurityTrustScript(t){return St(t)}bypassSecurityTrustUrl(t){return bt(t)}bypassSecurityTrustResourceUrl(t){return Lt(t)}};r.\u0275fac=function(i){return new(i||r)(f(L))},r.\u0275prov=p({token:r,factory:r.\u0275fac,providedIn:"root"});let n=r;return n})(),xe=function(n){return n[n.NoHttpTransferCache=0]="NoHttpTransferCache",n[n.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",n}(xe||{});function Xr(...n){let r=[],e=new Set,t=e.has(xe.HttpTransferCacheOptions);for(let{\u0275providers:i,\u0275kind:s}of n)e.add(s),i.length&&r.push(i);return R([[],Mt(),e.has(xe.NoHttpTransferCache)||t?[]:kt({}),r])}function Pe(n){n||(Se(Pe),n=C(U));let r=new it(e=>n.onDestroy(e.next.bind(e)));return e=>e.pipe(ft(r))}function xn(n,r){let e=!r?.manualCleanup;e&&!r?.injector&&Se(xn);let t=e?r?.injector?.get(U)??C(U):null,i;r?.requireSync?i=Re({kind:0}):i=Re({kind:1,value:r?.initialValue});let s=n.subscribe({next:o=>i.set({kind:1,value:o}),error:o=>{if(r?.rejectErrors)throw o;i.set({kind:2,error:o})}});return t?.onDestroy(s.unsubscribe.bind(s)),At(()=>{let o=i();switch(o.kind){case 1:return o.value;case 2:throw o.error;case 0:throw new A(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}function zt(n){return n&&n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}function Gt(n){return n}function $e(n,r){r=r||{};let e=r.delimiter||".",t=r.maxDepth,i=r.transformKey||Gt,s={};function o(a,c,l){l=l||1,Object.keys(a).forEach(function(u){let d=a[u],h=r.safe&&Array.isArray(d),m=Object.prototype.toString.call(d),T=zt(d),_=m==="[object Object]"||m==="[object Array]",D=c?c+e+i(u):i(u);if(!h&&!T&&_&&Object.keys(d).length&&(!r.maxDepth||l0&&(h=a(d.shift()),m=a(d[0]))}T[h]=He(n[u],r)}),s}var Ue=class{translations;constructor(r){this.translations=r}getTranslation(r){return O(this.translations.get(r)||{})}},Wt=new y("TRANSLOCO_LOADER");function Ve(n,r){return n&&(Object.prototype.hasOwnProperty.call(n,r)?n[r]:r.split(".").reduce((e,t)=>e?.[t],n))}function _n(n,r,e){n=v({},n);let t=r.split("."),i=t.length-1;return t.reduce((s,o,a)=>(a===i?s[o]=e:s[o]=Array.isArray(s[o])?s[o].slice():v({},s[o]),s&&s[o]),n),n}function qt(n){return n?Array.isArray(n)?n.length:Ye(n)?Object.keys(n).length:n?n.length:0:0}function Pn(n){return qt(n)===0}function $n(n){return typeof n=="function"}function q(n){return typeof n=="string"}function Ye(n){return!!n&&typeof n=="object"&&!Array.isArray(n)}function Jt(n){return n.replace(/(?:^\w|[A-Z]|\b\w)/g,(r,e)=>e==0?r.toLowerCase():r.toUpperCase()).replace(/\s+|_|-|\//g,"")}function Be(n){return n==null}function Yt(n){return Be(n)===!1}function Xt(n){return n&&typeof n.scope=="string"}function Hn(n){return n&&Ye(n.loader)}function Vn(n){return He(n)}function Zt(n){return $e(n,{safe:!0})}var H=new y("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>J}),J={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"]};function Kn(n={}){return j(v(v({},J),n),{missingHandler:v(v({},J.missingHandler),n.missingHandler),flatten:v(v({},J.flatten),n.flatten)})}var le=new y("TRANSLOCO_TRANSPILER"),Un=(()=>{class n{config=C(H,{optional:!0})??J;get interpolationMatcher(){return Bn(this.config)}transpile({value:e,params:t={},translation:i,key:s}){if(q(e)){let o,a=e;for(;(o=this.interpolationMatcher.exec(a))!==null;){let[c,l]=o;a=a.replace(c,()=>{let u=l.trim(),d=Ve(t,u);return Yt(d)?d:Yt(i[u])?this.transpile({params:t,translation:i,key:s,value:i[u]}):""})}return a}else t&&(Ye(e)?e=this.handleObject({value:e,params:t,translation:i,key:s}):Array.isArray(e)&&(e=this.handleArray({value:e,params:t,translation:i,key:s})));return e}handleObject({value:e,params:t={},translation:i,key:s}){let o=e;return Object.keys(t).forEach(a=>{let c=this.transpile({value:Ve(o,a),params:Ve(t,a),translation:i,key:s});o=_n(o,a,c)}),o}handleArray(i){var s=i,{value:e}=s,t=nt(s,["value"]);return e.map(o=>this.transpile(v({value:o},t)))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})();function Bn(n){let[r,e]=n.interpolation;return new RegExp(`${r}([^${r}${e}]*?)${e}`,"g")}var ue=new y("TRANSLOCO_MISSING_HANDLER"),zn=(()=>{class n{handle(e,t){if(t.missingHandler.logMissingKey&&!t.prodMode){let i=`Missing translation for '${e}'`;console.warn(`%c ${i}`,"font-size: 12px; color: red")}return e}static \u0275fac=function(t){return new(t||n)};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})(),Qt=new y("TRANSLOCO_INTERCEPTOR"),Gn=(()=>{class n{preSaveTranslation(e){return e}preSaveTranslationKey(e,t){return t}static \u0275fac=function(t){return new(t||n)};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})(),en=new y("TRANSLOCO_FALLBACK_STRATEGY"),Yn=(()=>{class n{userConfig;constructor(e){this.userConfig=e}getNextLangs(){let e=this.userConfig.fallbackLang;if(!e)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(e)?e:[e]}static \u0275fac=function(t){return new(t||n)(f(H))};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})();function X(n){if(!n)return"";let r=n.split("/");return r.pop(),r.join("/")}function I(n){return n?n.split("/").pop():""}function Q(n,r,e="|"){if(q(n)){let t=n.split(e),i=t.pop();return i===r?[!0,t.toString()]:[!1,i]}return[!1,""]}function Zn(n,r){let[e]=Q(r,"static");return e?!1:!!n.config.reRenderOnLangChange}function Wn(n){return n?r=>r:ct(1)}function qn(n,r){return Object.keys(n).reduce((e,t)=>(e[`${r}/${t}`]=n[t],e),{})}function tn(n,r){return Hn(n)?qn(n.loader,r):void 0}function Ke(n){return{scope:X(n)||null,langName:I(n)}}function nn(n){let{path:r,inlineLoader:e,mainLoader:t,data:i}=n;if(e){let s=e[r];if($n(s)===!1)throw`You're using an inline loader but didn't provide a loader for ${r}`;return e[r]().then(o=>o.default?o.default:o)}return t.getTranslation(r,i)}function Jn({mainLoader:n,path:r,data:e,fallbackPath:t,inlineLoader:i}){return(t?[r,t]:[r]).map(o=>{let a=nn({path:o,mainLoader:n,inlineLoader:i,data:e});return ve(a).pipe(S(c=>({translation:c,lang:o})))})}var Xn;var Ze=(()=>{class n{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new st;events$=this.events.asObservable();config;constructor(e,t,i,s,o,a){this.loader=e,this.parser=t,this.missingHandler=i,this.interceptor=s,this.fallbackStrategy=a,this.loader||(this.loader=new Ue(this.translations)),Xn=this,this.config=JSON.parse(JSON.stringify(o)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new re(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.events$.pipe(Pe()).subscribe(c=>{c.type==="translationLoadSuccess"&&c.wasFailure&&this.setActiveLang(c.payload.langName)})}getDefaultLang(){return this.defaultLang}setDefaultLang(e){this.defaultLang=e}getActiveLang(){return this.lang.getValue()}setActiveLang(e){return this.parser.onLangChanged?.(e),this.lang.next(e),this.events.next({type:"langChanged",payload:Ke(e)}),this}setAvailableLangs(e){this.availableLangs=e}getAvailableLangs(){return this.availableLangs}load(e,t={}){let i=this.cache.get(e);if(i)return i;let s,o=this._isLangScoped(e),a;o&&(a=X(e));let c={path:e,mainLoader:this.loader,inlineLoader:t.inlineLoader,data:o?{scope:a}:void 0};if(this.useFallbackTranslation(e)){let u=o?`${a}/${this.firstFallbackLang}`:this.firstFallbackLang,d=Jn(j(v({},c),{fallbackPath:u}));s=ye(d)}else{let u=nn(c);s=ve(u)}let l=s.pipe(ut(this.config.failedRetries),ht(u=>{if(Array.isArray(u)){u.forEach(d=>{this.handleSuccess(d.lang,d.translation),d.lang!==e&&this.cache.set(d.lang,O({}))});return}this.handleSuccess(e,u)}),at(u=>(this.config.prodMode||console.error(`Error while trying to load "${e}"`,u),this.handleFailure(e,t))),se(1));return this.cache.set(e,l),l}translate(e,t={},i=this.getActiveLang()){if(!e)return e;let{scope:s,resolveLang:o}=this.resolveLangAndScope(i);if(Array.isArray(e))return e.map(l=>this.translate(s?`${s}.${l}`:l,t,o));e=s?`${s}.${e}`:e;let a=this.getTranslation(o),c=a[e];return c?this.parser.transpile({value:c,params:t,translation:a,key:e}):this._handleMissingKey(e,c,t)}selectTranslate(e,t,i,s=!1){let o,a=(l,u)=>this.load(l,u).pipe(S(()=>s?this.translateObject(e,t,l):this.translate(e,t,l)));if(Be(i))return this.langChanges$.pipe(M(l=>a(l)));if(i=Array.isArray(i)?i[0]:i,Xt(i)){let l=i;i=l.scope,o=tn(l,l.scope)}if(i=i,this.isLang(i)||this.isScopeWithLang(i))return a(i);let c=i;return this.langChanges$.pipe(M(l=>a(`${c}/${l}`,{inlineLoader:o})))}isScopeWithLang(e){return this.isLang(I(e))}translateObject(e,t={},i=this.getActiveLang()){if(q(e)||Array.isArray(e)){let{resolveLang:o,scope:a}=this.resolveLangAndScope(i);if(Array.isArray(e))return e.map(u=>this.translateObject(a?`${a}.${u}`:u,t,o));let c=this.getTranslation(o);e=a?`${a}.${e}`:e;let l=Vn(this.getObjectByKey(c,e));return Pn(l)?this.translate(e,t,i):this.parser.transpile({value:l,params:t,translation:c,key:e})}let s=[];for(let[o,a]of this.getEntries(e))s.push(this.translateObject(o,a,i));return s}selectTranslateObject(e,t,i){if(q(e)||Array.isArray(e))return this.selectTranslate(e,t,i,!0);let[[s,o],...a]=this.getEntries(e);return this.selectTranslateObject(s,o,i).pipe(S(c=>{let l=[c];for(let[u,d]of a)l.push(this.translateObject(u,d,i));return l}))}getTranslation(e){if(e){if(this.isLang(e))return this.translations.get(e)||{};{let{scope:t,resolveLang:i}=this.resolveLangAndScope(e),s=this.translations.get(i)||{};return this.getObjectByKey(s,t)}}return this.translations}selectTranslation(e){let t=this.langChanges$;if(e){let i=I(e)!==e;this.isLang(e)||i?t=O(e):t=this.langChanges$.pipe(S(s=>`${e}/${s}`))}return t.pipe(M(i=>this.load(i).pipe(S(()=>this.getTranslation(i)))))}setTranslation(e,t=this.getActiveLang(),i={}){let o=v(v({},{merge:!0,emitChange:!0}),i),a=X(t),c=e;if(a){let m=this.getMappedScope(a);c=Zt({[m]:e})}let l=a?I(t):t,u=v(v({},o.merge&&this.getTranslation(l)),c),d=this.config.flatten.aot?u:Zt(u),h=this.interceptor.preSaveTranslation(d,l);this.translations.set(l,h),o.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(e,t,i={}){let s=i.lang||this.getActiveLang(),o=this.interceptor.preSaveTranslationKey(e,t,s),a={[e]:o};this.setTranslation(a,s,j(v({},i),{merge:!0}))}setFallbackLangForMissingTranslation({fallbackLang:e}){let t=Array.isArray(e)?e[0]:e;e&&this.useFallbackTranslation(t)&&(this.firstFallbackLang=t)}_handleMissingKey(e,t,i){if(this.config.missingHandler.allowEmpty&&t==="")return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;let s=this.translate(e,i,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,s}return this.missingHandler.handle(e,this.getMissingHandlerData(),i)}_isLangScoped(e){return this.getAvailableLangsIds().indexOf(e)===-1}isLang(e){return this.getAvailableLangsIds().indexOf(e)!==-1}_loadDependencies(e,t){let i=I(e);return this._isLangScoped(e)&&!this.isLoadedTranslation(i)?E([this.load(i),this.load(e,{inlineLoader:t})]):this.load(e,{inlineLoader:t})}_completeScopeWithLang(e){return this._isLangScoped(e)&&!this.isLang(I(e))?`${e}/${this.getActiveLang()}`:e}_setScopeAlias(e,t){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[e]=t}ngOnDestroy(){this.cache.clear()}isLoadedTranslation(e){return qt(this.getTranslation(e))}getAvailableLangsIds(){let e=this.getAvailableLangs()[0];return q(e)?this.getAvailableLangs():this.getAvailableLangs().map(t=>t.id)}getMissingHandlerData(){return j(v({},this.config),{activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang})}useFallbackTranslation(e){return this.config.missingHandler.useFallbackTranslation&&e!==this.firstFallbackLang}handleSuccess(e,t){this.setTranslation(t,e,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:Ke(e)}),this.failedLangs.forEach(i=>this.cache.delete(i)),this.failedLangs.clear()}handleFailure(e,t){Be(t.failedCounter)&&(t.failedCounter=0,t.fallbackLangs||(t.fallbackLangs=this.fallbackStrategy.getNextLangs(e)));let i=e.split("/"),o=t.fallbackLangs[t.failedCounter];if(this.failedLangs.add(e),this.cache.has(o))return this.handleSuccess(o,this.getTranslation(o)),ie;let a=o===i[i.length-1];if(!o||a){let l="Unable to load translation and all the fallback languages";throw i.length>1&&(l+=", did you misspelled the scope name?"),new Error(l)}let c=o;return i.length>1&&(i[i.length-1]=o,c=i.join("/")),t.failedCounter++,this.events.next({type:"translationLoadFailure",payload:Ke(e)}),this.load(c,t)}getMappedScope(e){let{scopeMapping:t={}}=this.config;return t[e]||Jt(e)}resolveLangAndScope(e){let t=e,i;if(this._isLangScoped(e)){let s=I(e),o=this.isLang(s);t=o?s:this.getActiveLang(),i=this.getMappedScope(o?X(e):e)}return{scope:i,resolveLang:t}}getObjectByKey(e,t){let i={},s=`${t}.`;for(let o in e)o.startsWith(s)&&(i[o.replace(s,"")]=e[o]);return i}getEntries(e){return e instanceof Map?e.entries():Object.entries(e)}static \u0275fac=function(t){return new(t||n)(f(Wt,8),f(le),f(ue),f(Qt),f(H),f(en))};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var We=new y("TRANSLOCO_LANG"),Ni=new y("TRANSLOCO_LOADING_TEMPLATE"),qe=new y("TRANSLOCO_SCOPE"),ze=class{initialized=!1;resolve({inline:r,provider:e,active:t}){let i=t;if(this.initialized)return i=t,i;if(e){let[,s]=Q(e,"static");i=s}if(r){let[,s]=Q(r,"static");i=s}return this.initialized=!0,i}resolveLangBasedOnScope(r){return X(r)?I(r):r}resolveLangPath(r,e){return e?`${e}/${r}`:r}},Ge=class{service;constructor(r){this.service=r}resolve(r){let{inline:e,provider:t}=r;if(e)return e;if(t){if(Xt(t)){let{scope:i,alias:s=Jt(i)}=t;return this.service._setScopeAlias(i,s),i}return t}}};var ji=(()=>{class n{service;providerScope;providerLang;cdr;subscription=null;lastValue="";lastKey;path;langResolver=new ze;scopeResolver;constructor(e,t,i,s){this.service=e,this.providerScope=t,this.providerLang=i,this.cdr=s,this.scopeResolver=new Ge(this.service)}transform(e,t,i){if(!e)return e;let s=t?`${e}${JSON.stringify(t)}`:e;if(s===this.lastKey)return this.lastValue;this.lastKey=s,this.subscription?.unsubscribe();let o=Zn(this.service,this.providerLang||i);return this.subscription=this.service.langChanges$.pipe(M(a=>{let c=this.langResolver.resolve({inline:i,provider:this.providerLang,active:a});return Array.isArray(this.providerScope)?ye(this.providerScope.map(l=>this.resolveScope(c,l))):this.resolveScope(c,this.providerScope)}),Wn(o)).subscribe(()=>this.updateValue(e,t)),this.lastValue}ngOnDestroy(){this.subscription?.unsubscribe(),this.subscription=null}updateValue(e,t){let i=this.langResolver.resolveLangBasedOnScope(this.path);this.lastValue=this.service.translate(e,t,i),this.cdr.markForCheck()}resolveScope(e,t){let i=this.scopeResolver.resolve({inline:void 0,provider:t});this.path=this.langResolver.resolveLangPath(e,i);let s=tn(t,i);return this.service._loadDependencies(this.path,s)}static \u0275fac=function(t){return new(t||n)(b(Ze,16),b(qe,24),b(We,24),b(Me,16))};static \u0275pipe=pt({name:"transloco",type:n,pure:!1,standalone:!0})}return n})();function ki(n){let r=[tr(Un),rr(zn),ir(Gn),nr(Yn)];return n.config&&r.push(Qn(n.config)),n.loader&&r.push(er(n.loader)),r}function Qn(n){return R([{provide:H,useValue:Kn(n)}])}function er(n){return R([{provide:Wt,useClass:n}])}function tr(n){return R([{provide:le,useClass:n,deps:[H]}])}function nr(n){return R([{provide:en,useClass:n,deps:[H]}])}function rr(n){return R([{provide:ue,useClass:n}])}function ir(n){return R([{provide:Qt,useClass:n}])}var Fi=new y("TRANSLOCO_TEST_LANGS - Available testing languages"),xi=new y("TRANSLOCO_TEST_OPTIONS - Testing options");function rn(n,r){return typeof n=="object"&&n!==null&&r in n}function or(n){return typeof n=="object"&&n!==null&&rn(n,"url")&&typeof n.url=="string"&&(!rn(n,"target")||n.target===void 0||n.target===null||typeof n.target=="string")}var de=class{blockStartToken;blockEndToken;constructor(r,e){this.blockStartToken=r,this.blockEndToken=e}tokenize(r,e){function t(i){return r.substring(e,e+i.length)===i?{nextOffset:e+i.length,token:new ee(i)}:void 0}return t(this.blockStartToken)??t(this.blockEndToken)}transpile(r,e){let t=e.tokens[r];if(!this.isStartTag(t))return;let{nextOffset:i,renderers:s}=e.transpileUntil(r+1,o=>this.isEndTag(o));return{nextOffset:Math.min(i+1,e.tokens.length),renderer:this.createRenderer(s)}}isStartTag(r){return r instanceof ee&&r.token===this.blockStartToken}isEndTag(r){return r instanceof ee&&r.token===this.blockEndToken}},ee=class{token;constructor(r){this.token=r}},te=(()=>{class n{document;constructor(e){this.document=e}createTextRenderer(e){let t=this.document;return function(s){return t.createTextNode(typeof e=="string"?e:e(s))}}createElementRenderer(e,t){let i=this.document;return function(o){let a=i.createElement(e);for(let c of t??[])a.appendChild(c(o));return a}}static \u0275fac=function(t){return new(t||n)(f(L))};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),ar=(()=>{class n extends de{rendererFactory;constructor(e){super("[b]","[/b]"),this.rendererFactory=e}createRenderer(e){return this.rendererFactory.createElementRenderer("b",e)}static \u0275fac=function(t){return new(t||n)(f(te))};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})();var cr=(()=>{class n extends de{rendererFactory;constructor(e){super("[i]","[/i]"),this.rendererFactory=e}createRenderer(e){return this.rendererFactory.createElementRenderer("i",e)}static \u0275fac=function(t){return new(t||n)(f(te))};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})();function cn(n,r,e={}){return r?typeof r=="function"?[r,{provide:n,useExisting:r,multi:e.multi}]:typeof r=="object"&&"useValue"in r?{provide:n,useValue:r.useValue,multi:e.multi}:typeof r=="object"&&"useClass"in r?{provide:n,useClass:r.useClass,multi:e.multi}:typeof r=="object"&&"useExisting"in r?{provide:n,useExisting:r.useExisting,multi:e.multi}:typeof r=="object"&&"useFactory"in r?{provide:n,useFactory:r.useFactory,deps:r.deps,multi:e.multi}:{provide:n,useFactory:()=>r,multi:e.multi}:e.default?typeof e.default=="function"?[e.default,{provide:n,useExisting:e.default,multi:e.multi}]:typeof e.default=="object"&&"useValue"in e.default?{provide:n,useValue:e.default.useValue,multi:e.multi}:typeof e.default=="object"&&"useClass"in e.default?{provide:n,useClass:e.default.useClass,multi:e.multi}:typeof e.default=="object"&&"useExisting"in e.default?{provide:n,useExisting:e.default.useExisting,multi:e.multi}:typeof e.default=="object"&&"useFactory"in e.default?{provide:n,useFactory:e.default.useFactory,deps:e.default.deps,multi:e.multi}:{provide:n,useFactory:()=>e.default,multi:e.multi}:[]}var V=class{};function sn(n){return cn(V,n,{multi:!0})}function Qe(n){return Array.isArray(n)?n:[n]}function ln(n){return Array.isArray(n)?n.reduce((r,e)=>r.concat(ln(e)),[]):[n]}var lr=(()=>{class n{rendererFactory;linkRenderers;constructor(e,t){this.rendererFactory=e,this.linkRenderers=t?Qe(t):[]}tokenize(e,t){if(e.startsWith(on,t))return{nextOffset:t+on.length,token:an};if(!e.startsWith(Je,t))return;let i=e.indexOf("]",t+Je.length);if(i<0)return;let s=e.substring(t+Je.length,i);return{nextOffset:i+1,token:new fe(s)}}transpile(e,t){let i=t.tokens[e];if(!(i instanceof fe))return;let{nextOffset:s,renderers:o}=t.transpileUntil(e+1,a=>a===an);return{nextOffset:Math.min(s+1,t.tokens.length),renderer:this.createRenderer(i.parameterKey,o)}}createRenderer(e,t){let i=this.rendererFactory.createElementRenderer("a",t),s=a=>this.linkRenderers.find(c=>c.supports(a));function o(a){let c=i(a),l=a[e],u=s(l);return u&&u.render(l,c),c}return o}static \u0275fac=function(t){return new(t||n)(f(te),f(V,8))};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})(),Je="[link:",on="[/link]",an=new class{},fe=class{parameterKey;constructor(r){this.parameterKey=r}};function ur(n,r){if(!n.startsWith("{{",r))return;let e=n.indexOf("}}",r);return e>=2?e+2-r:void 0}function dr(){return{matchExpression:ur}}var fr=new y("TRANSLATION_INTERPOLATION_EXPRESSION_MATCHER",{providedIn:"root",factory:dr}),hr=(()=>{class n{rendererFactory;translocoTranspiler;expressionMatcher;constructor(e,t,i){this.rendererFactory=e,this.translocoTranspiler=t,this.expressionMatcher=i}tokenize(e,t){let i=this.expressionMatcher.matchExpression(e,t);if(i)return{nextOffset:t+i,token:new he(e.substring(t,t+i))}}transpile(e,{tokens:t,translation:i}){let s=t[e];if(!(s instanceof he))return;let{interpolationExpression:o}=s;return{nextOffset:e+1,renderer:this.rendererFactory.createTextRenderer(a=>String(this.translocoTranspiler.transpile({value:o,params:a,translation:i,key:"???"})))}}static \u0275fac=function(t){return new(t||n)(f(te),f(le),f(fr))};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),he=class{interpolationExpression;constructor(r){this.interpolationExpression=r}};var pr=(()=>{class n extends V{supports(e){return typeof e=="string"}render(e,t){t.href=e,t.target="_blank"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=oe(n)))(i||n)}})();static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})(),gr=(()=>{class n extends V{supports(e){return or(e)}render(e,t){t.href=e.url,typeof e.target=="string"&&(t.target=e.target)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=oe(n)))(i||n)}})();static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})(),un=new y("TRANSLATION_MARKUP_TRANSPILER");function Xe(n){return cn(un,n,{multi:!0})}function Xi(){return[Xe(ar),Xe(cr),Xe(lr),sn(pr),sn(gr)]}var vr=new y("STRING_INTERPOLATION_TRANSPILER",{providedIn:"root",factory:()=>C(hr)});function tt(n,r,e){for(let t of n){let i=r(t);if(e(i))return i}}var et=class{tokens;translation;transpilers;constructor(r,e,t){this.tokens=r,this.translation=e,this.transpilers=t}transpile(r){return tt(this.transpilers,e=>e.transpile(r,this),e=>e!==void 0&&e.nextOffset!==r)}transpileUntil(r,e){let t=r,i=[];for(;ts.tokenize(n,t),dn);i?(t=i.nextOffset,e.push(i.token)):t++}return e}function Tr(n,r,e){return new et(n,e,r).transpileUntil(0,()=>!1).renderers}function x(n,r){let e=fn(n,r),t=e?.get;if(t?.__value$)return t.__value$;let i=e?.set,s=new re(n[r]),o=s.asObservable(),a=t?()=>t.call(n):()=>s.getValue();return a.__value$=o,Object.defineProperty(n,r,{get:a,set(c){i!==void 0&&i.call(n,c);let l=t?t.call(n):c;l!==s.getValue()&&s.next(l)}}),o}function fn(n,r){return n==null?void 0:Object.getOwnPropertyDescriptor(n,r)??fn(Object.getPrototypeOf(n),r)}var Sr=(()=>{class n{rendererFactory;constructor(e){this.rendererFactory=e}tokenize(e,t){return{nextOffset:t+1,token:e.charAt(t)}}transpile(e,{tokens:t}){let i=e;for(;i{class n{hostElement;translocoService;missingHandler;providedScope;providedLanguage;providedTranspilers;stringInterpolationTranspiler;stringLiteralTranspiler;translationKey;content;translationParameters;inlineLanguage;inlineScope;inlineTranspilers;mergeTranspilers;subscriptions=new rt;constructor(e,t,i,s,o,a,c,l){this.hostElement=e,this.translocoService=t,this.missingHandler=i,this.providedScope=s,this.providedLanguage=o,this.providedTranspilers=a,this.stringInterpolationTranspiler=c,this.stringLiteralTranspiler=l}ngOnInit(){let e=x(this,"translationKey"),t=x(this,"content"),i=x(this,"translationParameters"),s=x(this,"inlineLanguage"),o=x(this,"inlineScope"),a=x(this,"inlineTranspilers"),c=x(this,"mergeTranspilers").pipe(S(g=>g!==!1)),l=this.translocoService.langChanges$,u=this.translocoService.config.reRenderOnLangChange?l:l.pipe(lt(),se({bufferSize:1,refCount:!0})),d=br(s,O(this.providedLanguage??void 0),u),h=o.pipe(S(g=>g||this.providedScope),me(),S(g=>Array.isArray(g)?g:[g||void 0])),m=E([d,h]).pipe(M(([g,w])=>E(w.map(N=>{let pe=Lr(N),ne=wr(g,pe),ge=Er(N);return this.translocoService._loadDependencies(ne,ge)})).pipe(S(()=>this.translocoService.getTranslation(g))))),T=E([e,t,m]).pipe(S(([g,w,N])=>{if(g===void 0)return{value:w??"",translation:N};let pe=this.translocoService.config.missingHandler.useFallbackTranslation,ne=Qe(this.translocoService.config.fallbackLang??[])[0],ge=pe&&ne?[this.translocoService.getTranslation(ne)]:[];return this.getTranslationValue(g,[N,...ge])})),_=E([a,c]).pipe(S(([g,w])=>[...g?Qe(g):[],...this.providedTranspilers&&(!g||w)?ln(this.providedTranspilers):[],this.stringInterpolationTranspiler,this.stringLiteralTranspiler])),D=E([T,_]).pipe(S(([{translation:g,value:w},N])=>yr(w,N,g)));this.subscriptions.add(E([D,i]).subscribe(([g,w])=>g(this.hostElement.nativeElement,w??{})))}ngOnDestroy(){this.subscriptions.unsubscribe()}getTranslationValue(e,t){let i=this.translocoService.config.missingHandler.allowEmpty;return tt(t,o=>{let a=o[e];if(!(a===void 0||a===""&&!i))return{value:String(a),translation:o}},dn)??{value:String(this.missingHandler.handle(e,v({activeLang:this.translocoService.getActiveLang()},this.translocoService.config))),translation:t[0]??{}}}static \u0275fac=function(t){return new(t||n)(b(Le),b(Ze),b(ue),b(qe,8),b(We,8),b(un,8),b(vr),b(Sr))};static \u0275cmp=Te({type:n,selectors:[["transloco"]],inputs:{translationKey:[k.None,"key","translationKey"],content:"content",translationParameters:[k.None,"params","translationParameters"],inlineLanguage:[k.None,"lang","inlineLanguage"],inlineScope:[k.None,"scope","inlineScope"],inlineTranspilers:[k.None,"transpilers","inlineTranspilers"],mergeTranspilers:"mergeTranspilers"},standalone:!0,features:[Oe],decls:0,vars:0,template:function(t,i){},styles:[`:host{display:inline} -`],encapsulation:2,changeDetection:0})}return n})();function br(...n){return n.reduceRight((r,e)=>e.pipe(M(t=>{if(t===void 0)return r;let[i,s]=Q(t,"static");return ot(O(s),i?ie:r.pipe(dt(1)))})),O("")).pipe(me())}function Lr(n){return typeof n=="object"?n.scope:n}function wr(n,r){return r?`${r}/${n}`:n}function Er(n){return typeof n=="object"?n.loader:void 0}export{qr as a,Jr as b,jn as c,Xr as d,xn as e,Ze as f,ji as g,ki as h,sn as i,Xi as j,Qi as k}; diff --git a/chunk-T5QQORPS.js b/chunk-7EKGDBBD.js similarity index 96% rename from chunk-T5QQORPS.js rename to chunk-7EKGDBBD.js index 55a41dc..b05c5db 100644 --- a/chunk-T5QQORPS.js +++ b/chunk-7EKGDBBD.js @@ -1 +1 @@ -import{c as ge}from"./chunk-4EY2ITIA.js";import{a as W,b as Q,c as ue}from"./chunk-SMNG3EBN.js";import{a as G,b as fe}from"./chunk-W6HWWYOS.js";import{b as de,e as $,f as j,g as H,k as F}from"./chunk-7ARKW5W4.js";import{a as R}from"./chunk-VVJGNX6O.js";import{h as le,i as K,k as ce,n as V,s as U}from"./chunk-7IMKBQP2.js";import{$ as f,$a as B,Ab as u,Bb as Y,Jb as pe,Ka as O,La as D,O as ne,Oa as m,Pa as x,Pb as me,Ta as re,Va as N,_ as S,ba as P,bb as d,d as T,db as q,eb as C,fb as oe,gb as A,hb as I,ib as E,jb as n,kb as o,lb as p,ob as k,pa as _,pb as se,qb as g,rb as h,sb as z,tb as y,ub as L,va as ae,vb as M,wb as w,xb as X,y as ie,yb as s,zb as c}from"./chunk-HTB7U7SQ.js";var Le=()=>({serverLink:"https://github.com/Haidra-Org/AI-Horde",imageWorkerLink:"https://github.com/Haidra-Org/horde-worker-reGen",textWorkerLink:"https://github.com/Haidra-Org/AI-Horde-Worker",joinHordeLink:"https://github.com/Haidra-Org/AI-Horde/blob/main/README_StableHorde.md#joining-the-horde"}),Me=()=>({route:"/faq"}),De=t=>({faqLink:t,developerBlogLink:"https://dbzer0.com/"}),xe=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=f({type:e,selectors:[["app-homepage-intro"]],standalone:!0,features:[y],decls:11,vars:6,consts:[[1,"bg-white","dark:bg-gray-900"],[1,"grid","max-w-screen-xl","px-4","pt-20","pb-8","mx-auto","lg:gap-8","xl:gap-0","lg:py-16","lg:grid-cols-12","lg:pt-28"],[1,"mr-auto","place-self-center","lg:col-span-7"],[1,"max-w-2xl","mb-4","text-4xl","font-extrabold","leading-none","tracking-tight","md:text-5xl","xl:text-6xl","dark:text-white"],["key","brand_subtitle"],[1,"max-w-2xl","mb-6","font-light","text-gray-500","lg:mb-8","md:text-lg","lg:text-xl","dark:text-gray-400"],["key","service_description",3,"params"],["key","more_information",3,"params"],[1,"hidden","lg:mt-0","lg:col-span-5","lg:flex"],["ngSrc","assets/img/front-image.png","alt","hero image","height","437","width","571","priority",""]],template:function(i,l){i&1&&(n(0,"section",0)(1,"div",1)(2,"div",2)(3,"h1",3),p(4,"transloco",4),o(),n(5,"p",5),p(6,"transloco",6),o(),n(7,"p",5),p(8,"transloco",7),o()(),n(9,"div",8),p(10,"img",9),o()()()),i&2&&(m(6),d("params",L(2,Le)),m(2),d("params",M(4,De,L(3,Me))))},dependencies:[V,F]});let t=e;return t})();var he=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=f({type:e,selectors:[["app-homepage-sponsors"]],standalone:!0,features:[y],decls:7,vars:0,consts:[[1,"bg-white","dark:bg-gray-900"],[1,"max-w-screen-xl","px-4","pb-8","mx-auto","lg:pb-16"],[1,"mb-6","text-2xl","font-extrabold","tracking-tight","text-gray-900","dark:text-white"],[1,"grid","grid-cols-2","gap-8","text-gray-500","sm:gap-12","sm:grid-cols-3","lg:grid-cols-6","dark:text-gray-400"],["href","https://nlnet.nl/project/AI-Horde/","target","_blank",1,"flex","items-center","lg:justify-center"],["href","assets/img/nlnet.svg",1,"sponsor-svg"]],template:function(i,l){i&1&&(n(0,"section",0)(1,"div",1)(2,"h2",2),g(3," Sponsors "),o(),n(4,"div",3)(5,"a",4),p(6,"inline-svg",5),o()()()())},dependencies:[G]});let t=e;return t})();var je=(t,e)=>e.title;function Ge(t,e){if(t&1&&p(0,"p",12),t&2){let r=k().$implicit;d("innerHTML",r.excerpt,O)}}function Oe(t,e){if(t&1&&(n(0,"p",8)(1,"a",13),g(2),s(3,"transloco"),o()()),t&2){let r=k().$implicit;m(),d("href",r.moreLink,D),m(),h(c(3,2,"read_more"))}}function ze(t,e){if(t&1&&(n(0,"div",7)(1,"h3",9)(2,"span",10),g(3),o(),g(4," - "),p(5,"span",11),o(),B(6,Ge,1,1,"p",12)(7,Oe,4,4,"p",8),o()),t&2){let r=e.$implicit;m(3),h(r.date_published),m(2),d("innerHTML",r.title,O),m(),C(6,r.excerpt?6:-1),m(),C(7,r.moreLink?7:-1)}}function $e(t,e){t&1&&(n(0,"p",8),g(1),s(2,"transloco"),o()),t&2&&(m(),h(c(2,1,"no_news")))}var ye=(()=>{let e=class e{constructor(a){this.aiHorde=a,this.news=N([])}ngOnInit(){return T(this,null,function*(){this.news.set(yield U(this.aiHorde.getNews(3)))})}};e.\u0275fac=function(i){return new(i||e)(x(R))},e.\u0275cmp=f({type:e,selectors:[["app-homepage-latest-news"]],standalone:!0,features:[y],decls:10,vars:1,consts:[[1,"bg-gray-50","dark:bg-gray-800"],[1,"max-w-screen-xl","px-4","py-8","mx-auto","space-y-12","lg:space-y-20","lg:py-24","lg:px-6"],[1,"items-center","gap-8","lg:grid","xl:gap-16"],[1,"text-gray-500","sm:text-lg","dark:text-gray-400"],[1,"mb-6","text-3xl","font-extrabold","tracking-tight","text-gray-900","dark:text-white"],["routerLink","/news"],["key","latest_news"],[1,"mb-6"],[1,"mb-2","font-light","lg:text-xl"],[1,"mb-3","text-2xl","text-gray-900","dark:text-white"],[1,"text-gray-500","dark:text-gray-200"],[3,"innerHTML"],[1,"mb-2","font-light","lg:text-xl",3,"innerHTML"],["target","_blank",3,"href"]],template:function(i,l){i&1&&(n(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h2",4)(5,"a",5),p(6,"transloco",6),o()(),I(7,ze,8,4,"div",7,je,!1,$e,3,3,"p",8),o()()()()),i&2&&(m(7),E(l.news()))},dependencies:[ge,F,H]});let t=e;return t})();var ke=(()=>{let e=class e{transform(a,i){return a.substring(0,i)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=P({name:"cut",type:e,pure:!0,standalone:!0});let t=e;return t})();var be=(()=>{let e=class e{constructor(a){this.transloco=a}transform(a,i=0){return new Intl.NumberFormat(this.transloco.getActiveLang(),{minimumFractionDigits:i,maximumFractionDigits:i}).format(a)}};e.\u0275fac=function(i){return new(i||e)(x(j,16))},e.\u0275pipe=P({name:"formatNumber",type:e,pure:!0,standalone:!0});let t=e;return t})();var Se=(()=>{let e=class e{transform(a,i=1){for(;String(a).split(".")[0].length>3*i;)a/=1e3;return a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=P({name:"shiftDecimalsLeft",type:e,pure:!0,standalone:!0});let t=e;return t})();var _e=(()=>{let e=class e{constructor(a){this.translator=a}transform(a,i=1,l=0){String(a).includes(".")&&(a=Number(String(a).split(".")[0]));let b="si_prefix.",J=Math.floor(String(a).length/3)-(i-1);switch(String(a).length%3===0&&(J-=1),J+=l,J){case 0:b+="none";break;case 1:b+="kilo";break;case 2:b+="mega";break;case 3:b+="giga";break;case 4:b+="tera";break;case 5:b+="peta";break;case 6:b+="exa";break;case 7:b+="zetta";break;default:throw new Error(`Unsupported prefix: ${b}`)}return this.translator.translate(b)}};e.\u0275fac=function(i){return new(i||e)(x(j,16))},e.\u0275pipe=P({name:"siPrefix",type:e,pure:!0,standalone:!0});let t=e;return t})();var Z=class{constructor(...e){this.subscriptions=e}add(e){this.subscriptions.push(e)}unsubscribe(){for(let e of this.subscriptions)e.unsubscribe();this.subscriptions=[]}};var Ce=(t,e)=>({performance:t,prefix:e}),we=(t,e)=>({amount:t,prefix:e}),ee=(t,e)=>({amount:t,unit:e}),te=(t,e)=>({workers:t,threads:e}),Be=(t,e,r)=>({requests:t,amount:e,prefix:r}),Ae=t=>({forms:t}),Ke=()=>({grafanaLink:"https://grafana.aihorde.net"});function Ve(t,e){if(t&1&&(n(0,"section",0)(1,"div",1)(2,"div",2)(3,"h2",3),g(4),s(5,"transloco"),o()(),n(6,"div",4)(7,"div",5)(8,"h3",6),g(9),s(10,"transloco"),o(),n(11,"ul",7)(12,"li",8),p(13,"inline-svg",9),n(14,"span",10),p(15,"transloco",11),s(16,"formatNumber"),s(17,"siPrefix"),o()(),n(18,"li",8),p(19,"inline-svg",9),n(20,"span",10),p(21,"transloco",12),s(22,"shiftDecimalsLeft"),s(23,"formatNumber"),s(24,"siPrefix"),o()(),n(25,"li",8),p(26,"inline-svg",9),n(27,"span",10),p(28,"transloco",13),s(29,"shiftDecimalsLeft"),s(30,"formatNumber"),s(31,"siPrefix"),s(32,"cut"),s(33,"uppercase"),o()(),n(34,"li",8),p(35,"inline-svg",9),n(36,"span",10),p(37,"transloco",14),s(38,"formatNumber"),s(39,"formatNumber"),o()(),n(40,"li",8),p(41,"inline-svg",9),n(42,"span",10),p(43,"transloco",15),s(44,"formatNumber"),s(45,"shiftDecimalsLeft"),s(46,"formatNumber"),s(47,"siPrefix"),o()()()(),n(48,"div",16)(49,"h3",17),g(50),s(51,"transloco"),o(),n(52,"ul",7)(53,"li",8),p(54,"inline-svg",9),n(55,"span",10),p(56,"transloco",18),s(57,"formatNumber"),s(58,"siPrefix"),o()(),n(59,"li",8),p(60,"inline-svg",9),n(61,"span",10),p(62,"transloco",19),s(63,"shiftDecimalsLeft"),s(64,"formatNumber"),s(65,"siPrefix"),o()(),n(66,"li",8),p(67,"inline-svg",9),n(68,"span",10),p(69,"transloco",20),s(70,"shiftDecimalsLeft"),s(71,"formatNumber"),s(72,"siPrefix"),s(73,"cut"),s(74,"uppercase"),o()(),n(75,"li",8),p(76,"inline-svg",9),n(77,"span",10),p(78,"transloco",14),s(79,"formatNumber"),s(80,"formatNumber"),o()(),n(81,"li",8),p(82,"inline-svg",9),n(83,"span",10),p(84,"transloco",21),s(85,"formatNumber"),s(86,"shiftDecimalsLeft"),s(87,"formatNumber"),s(88,"siPrefix"),o()()()()(),n(89,"div",4)(90,"div",5)(91,"h3",6),g(92),s(93,"transloco"),o(),n(94,"ul",7)(95,"li",8),p(96,"inline-svg",9),n(97,"span",10),p(98,"transloco",22),s(99,"shiftDecimalsLeft"),s(100,"formatNumber"),s(101,"siPrefix"),s(102,"cut"),s(103,"uppercase"),o()(),n(104,"li",8),p(105,"inline-svg",9),n(106,"span",10),p(107,"transloco",14),s(108,"formatNumber"),s(109,"formatNumber"),o()(),n(110,"li",8),p(111,"inline-svg",9),n(112,"span",10),p(113,"transloco",23),s(114,"formatNumber"),o()()()(),n(115,"div",24)(116,"h3",6),g(117),s(118,"transloco"),o(),n(119,"ul",25)(120,"li",8),p(121,"inline-svg",9),n(122,"span",10),p(123,"transloco",26),o()(),n(124,"li",8),p(125,"inline-svg",27),o(),n(126,"li",8),p(127,"inline-svg",27),o()()()()()()),t&2){let r=k();m(4),h(c(5,19,"stats")),m(5),h(c(10,21,"image_stats")),m(6),d("params",w(127,Ce,u(16,23,r.stats().past_minute_megapixelsteps/60,1),Y(17,26,r.stats().past_minute_megapixelsteps/60,1,2))),m(6),d("params",w(130,we,u(23,33,u(22,30,r.imageStats().ps,2),1),u(24,36,r.imageStats().ps,2))),m(7),d("params",w(133,ee,u(30,41,c(29,39,r.imageStats().images),1),c(33,49,u(32,46,c(31,44,r.imageStats().images),1)))),m(9),d("params",w(136,te,c(38,51,r.stats().worker_count),c(39,53,r.stats().thread_count))),m(6),d("params",X(139,Be,c(44,55,r.stats().queued_requests),u(46,59,c(45,57,r.stats().queued_megapixelsteps),1),Y(47,62,r.stats().queued_megapixelsteps,1,2))),m(7),h(c(51,66,"text_stats")),m(6),d("params",w(143,Ce,u(57,68,r.stats().past_minute_tokens/60,1),c(58,71,r.stats().past_minute_tokens/60))),m(6),d("params",w(146,we,u(64,75,c(63,73,r.textStats().tokens),1),c(65,78,r.textStats().tokens))),m(7),d("params",w(149,ee,u(71,82,c(70,80,r.textStats().requests),1),c(74,90,u(73,87,c(72,85,r.textStats().requests),1)))),m(9),d("params",w(152,te,c(79,92,r.stats().text_worker_count),c(80,94,r.stats().text_thread_count))),m(6),d("params",X(155,Be,c(85,96,r.stats().queued_text_requests),u(87,100,c(86,98,r.stats().queued_tokens),1),c(88,103,r.stats().queued_tokens))),m(8),h(c(93,105,"image_alchemy")),m(6),d("params",w(159,ee,u(100,109,c(99,107,r.interrogationStats().processed),1),c(103,117,u(102,114,c(101,112,r.interrogationStats().processed),1)))),m(9),d("params",w(162,te,c(108,119,r.stats().interrogator_count),c(109,121,r.stats().interrogator_thread_count))),m(6),d("params",M(165,Ae,c(114,123,r.stats().queued_forms))),m(4),h(c(118,125,"realtime_stats")),m(6),d("params",L(167,Ke))}}var Fe=(()=>{let e=class e{constructor(a,i,l,b){this.aiHorde=a,this.zone=l,this.cdr=b,this.subscriptions=new Z,this.stats=N(null),this.imageStats=N(null),this.textStats=N(null),this.interrogationStats=N(null),this.isBrowser=ce(i)}ngOnDestroy(){this.subscriptions.unsubscribe()}ngOnInit(){return T(this,null,function*(){this.zone.runOutsideAngular(()=>{this.subscriptions.add(ie(6e4).pipe(ne(0)).subscribe(()=>T(this,null,function*(){yield this.zone.run(()=>T(this,null,function*(){return yield this.updateStats()})),this.cdr.detectChanges()})))})})}updateStats(){return T(this,null,function*(){this.subscriptions.add(this.aiHorde.performance.subscribe(a=>{this.stats.set(a)})),this.subscriptions.add(this.aiHorde.imageStats.subscribe(a=>{this.imageStats.set(a.total)})),this.subscriptions.add(this.aiHorde.textStats.subscribe(a=>{this.textStats.set(a.total)})),this.subscriptions.add(this.aiHorde.interrogationStats.subscribe(a=>{this.interrogationStats.set(a)}))})}};e.\u0275fac=function(i){return new(i||e)(x(R),x(ae),x(re),x(pe))},e.\u0275cmp=f({type:e,selectors:[["app-homepage-stats"]],standalone:!0,features:[y],decls:1,vars:1,consts:[[1,"bg-white","dark:bg-gray-900"],[1,"max-w-screen-xl","px-4","py-8","mx-auto","lg:py-24","lg:px-6"],[1,"max-w-screen-md","mx-auto","mb-2","text-center"],[1,"mb-4","text-3xl","font-extrabold","tracking-tight","text-gray-900","dark:text-white"],[1,"items-center","max-w-screen-xl","px-4","mx-auto","lg:grid","lg:grid-cols-2","lg:gap-16","xl:gap-24","lg:px-6","py-6"],[1,"space-y-8","sm:gap-6","xl:gap-10","lg:space-y-0"],[1,"mb-2","text-2xl","font-bold","tracking-tight","text-gray-900","dark:text-white"],["role","list",1,"pt-8","space-y-5","border-t","border-gray-200","my-7","dark:border-gray-700"],[1,"flex","space-x-3"],["href","assets/img/li-checkbox.svg"],[1,"text-base","font-medium","leading-tight","text-gray-900","dark:text-white"],["key","stats.average_recent_performance_images",3,"params"],["key","stats.total_pixelsteps",3,"params"],["key","stats.total_images",3,"params"],["key","stats.active_workers",3,"params"],["key","stats.image_queue",3,"params"],[1,"space-y-8","sm:gap-6","xl:gap-10","mt-12","lg:mt-0","lg:space-y-0"],[1,"mb-2","text-2xl","font-bold","tracking-tight","text-gray-900","dark:text-white","text-right"],["key","stats.average_recent_performance_text",3,"params"],["key","stats.total_tokens",3,"params"],["key","stats.total_texts",3,"params"],["key","stats.text_queue",3,"params"],["key","stats.total_alchemy_processed",3,"params"],["key","stats.interrogation_queue",3,"params"],[1,"space-y-8","sm:gap-6","xl:gap-10","lg:space-y-0","mt-12","lg:mt-0"],["role","list",1,"pt-8","space-y-5","border-t","border-gray-200","my-7","dark:border-gray-700","underline-links"],["key","stats.realtime",3,"params"],["href","assets/img/li-checkbox.svg",1,"invisible"]],template:function(i,l){i&1&&B(0,Ve,128,168,"section",0),i&2&&C(0,l.stats()&&l.imageStats()&&l.textStats()&&l.interrogationStats()?0:-1)},dependencies:[ke,be,G,Se,_e,F,H,le]});let t=e;return t})();var Ue=()=>({kudosExplanationLink:"https://dbzer0.com/blog/the-kudos-based-economy-for-the-koboldai-horde/"}),Te=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=f({type:e,selectors:[["app-homepage-quickstart"]],standalone:!0,features:[y],decls:17,vars:5,consts:[[1,"bg-gray-50","dark:bg-gray-800"],[1,"max-w-screen-xl","px-4","py-8","mx-auto","space-y-12","lg:space-y-20","lg:py-24","lg:px-6"],[1,"items-center","gap-8","lg:grid","xl:gap-16"],[1,"text-gray-500","sm:text-lg","dark:text-gray-400"],[1,"mb-6","text-3xl","font-extrabold","tracking-tight","text-gray-900","dark:text-white"],["key","quickstart"],[1,"mb-4",3,"innerHTML"],[1,"mb-2","space-y-2","underline-links"],[1,"flex","space-x-3"],["href","assets/img/li-checkbox.svg"],[1,"text-base"],["key","quickstart.anonymous_api_key"],["key","quickstart.explanation_api_key",3,"params"]],template:function(i,l){i&1&&(n(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h2",4),p(5,"transloco",5),o(),p(6,"p",6),s(7,"transloco"),n(8,"ul",7)(9,"li",8),p(10,"inline-svg",9),n(11,"span",10),p(12,"transloco",11),o()(),n(13,"li",8),p(14,"inline-svg",9),n(15,"span",10),p(16,"transloco",12),o()()()()()()()),i&2&&(m(6),d("innerHTML",c(7,2,"quickstart.register_account"),O),m(10),d("params",L(4,Ue)))},dependencies:[F,H,G]});let t=e;return t})();var Ie=t=>({guiName:t});function Re(t,e){if(t&1&&g(0),t&2){let r=k();z(" ",r.goToLinkName()," ")}}function We(t,e){if(t&1&&(g(0),s(1,"transloco")),t&2){let r=k();z(" ",u(1,1,"guis.go_to",M(4,Ie,r.name()))," ")}}var Ee=(()=>{let e=class e{constructor(){this.name=_.required(),this.link=_.required(),this.description=_.required(),this.image=_.required(),this.goToLinkName=_(null),this.darkBackground=_(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=f({type:e,selectors:[["app-gui-card"]],inputs:{name:[S.SignalBased,"name"],link:[S.SignalBased,"link"],description:[S.SignalBased,"description"],image:[S.SignalBased,"image"],goToLinkName:[S.SignalBased,"goToLinkName"],darkBackground:[S.SignalBased,"darkBackground"]},standalone:!0,features:[y],decls:11,vars:21,consts:[[1,"flex","flex-col","max-w-lg","p-6","mx-auto","text-center","text-gray-900","border","border-gray-100","rounded-lg","shadow","dark:border-gray-600","xl:p-8","dark:text-white"],[1,"mb-4","text-2xl","font-semibold"],[1,"font-light","text-gray-500","sm:text-lg","dark:text-gray-400","description"],[1,"flex","items-baseline","justify-center","my-8"],[3,"ngSrc","width","height","alt"],["target","_blank",1,"text-white","bg-purple-600","hover:bg-purple-700","focus:ring-4","focus:ring-purple-200","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","dark:text-white","dark:focus:ring-purple-900",3,"href"]],template:function(i,l){i&1&&(n(0,"div",0)(1,"h3",1),g(2),o(),n(3,"p",2),g(4),o(),n(5,"div",3),p(6,"img",4),s(7,"transloco"),o(),n(8,"a",5),B(9,Re,1,1)(10,We,2,6),o()()),i&2&&(q("bg-white",!l.darkBackground())("bg-gray-50",l.darkBackground())("dark:bg-gray-800",!l.darkBackground())("dark:bg-gray-900",l.darkBackground()),m(2),h(l.name()),m(2),h(l.description()),m(2),d("ngSrc",l.image())("width",330)("height",185)("alt",u(7,16,"guis.gui_image_alt",M(19,Ie,l.name()))),m(2),se("href",l.link(),D),m(),C(9,l.goToLinkName()?9:10))},dependencies:[V,H],styles:[".description[_ngcontent-%COMP%]{height:120px}"]});let t=e;return t})();var Ze=(t,e)=>e.name;function Je(t,e){if(t&1&&(n(0,"div",7),p(1,"app-gui-card",8),o()),t&2){let r,a=e.$implicit,i=k(2).$index;m(),d("name",a.name)("description",a.description)("image",a.image)("link",a.link)("goToLinkName",(r=a.downloadButtonText)!==null&&r!==void 0?r:null)("darkBackground",i%2!==0)}}function Xe(t,e){if(t&1&&(n(0,"h3",5),g(1),o(),n(2,"div",6),I(3,Je,2,6,"div",7,Ze),o()),t&2){let r=e.$implicit;m(),h(r.key),m(2),E(r.value)}}function Ye(t,e){if(t&1&&(n(0,"section")(1,"div",1)(2,"div",2)(3,"div",3)(4,"h2",4),g(5),o(),I(6,Xe,5,1,null,null,A),s(8,"keyvalue"),o()()()()),t&2){let r=e.$implicit,a=e.$index,i=k(2);q("bg-white",a%2===0)("dark:bg-gray-900",a%2===0)("bg-gray-50",a%2!==0)("dark:bg-gray-800",a%2!==0),m(5),z(" ",r.key," "),m(),E(u(8,9,r.value,i.NoSorterKeyValue))}}function et(t,e){if(t&1&&(I(0,Ye,9,12,"section",0,oe),s(2,"keyvalue")),t&2){let r=k();E(u(2,0,r.guis(),r.NoSorterKeyValue))}}var Pe=(()=>{let e=class e{constructor(a,i){this.dataService=a,this.translator=i,this.NoSorterKeyValue=W,this.imageGuis=$(this.dataService.imageGuis),this.textGuis=$(this.dataService.textGuis),this.guis=me(()=>{if(!(this.imageGuis()===void 0||this.textGuis()===void 0))return{[this.translator.translate("guis.image")]:this.imageGuis(),[this.translator.translate("guis.text")]:this.textGuis()}})}};e.\u0275fac=function(i){return new(i||e)(x(Q),x(j))},e.\u0275cmp=f({type:e,selectors:[["app-homepage-guis"]],standalone:!0,features:[y],decls:1,vars:1,consts:[[3,"bg-white","dark:bg-gray-900","bg-gray-50","dark:bg-gray-800"],[1,"max-w-screen-xl","px-4","py-8","mx-auto","space-y-12","lg:space-y-20","lg:py-24","lg:px-6"],[1,"items-center","gap-8","lg:grid","xl:gap-16"],[1,"text-gray-500","sm:text-lg","dark:text-gray-400"],[1,"mb-6","text-3xl","font-extrabold","tracking-tight","text-gray-900","dark:text-white"],[1,"mb-2","text-2xl","font-bold","tracking-tight","text-gray-900","dark:text-white"],[1,"items-center","border-t","max-w-screen-xl","px-4","mx-auto","lg:grid","lg:grid-cols-3","lg:gap-16","xl:gap-24","lg:px-6","py-6","md:grid","md:grid-cols-2","md:gap-12"],[1,"space-y-8","sm:gap-6","xl:gap-10","lg:space-y-0","mt-8:not-first","md:mt-0"],[3,"name","description","image","link","goToLinkName","darkBackground"]],template:function(i,l){i&1&&B(0,et,3,3),i&2&&C(0,l.guis()?0:-1)},dependencies:[Ee,K]});let t=e;return t})();var He=(()=>{let e=class e{constructor(){this.name=_.required(),this.link=_.required(),this.description=_.required(),this.darkBackground=_(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=f({type:e,selectors:[["app-tool-card"]],inputs:{name:[S.SignalBased,"name"],link:[S.SignalBased,"link"],description:[S.SignalBased,"description"],darkBackground:[S.SignalBased,"darkBackground"]},standalone:!0,features:[y],decls:6,vars:11,consts:[[1,"flex","flex-col","max-w-lg","p-6","mx-auto","text-center","text-gray-900","border","border-gray-100","rounded-lg","shadow","dark:border-gray-600","xl:p-8","dark:text-white"],[1,"mb-4","text-xl","font-semibold"],["target","_blank",3,"href"],[1,"font-light","text-gray-500","sm:text-lg","dark:text-gray-400","description","mb-2"]],template:function(i,l){i&1&&(n(0,"div",0)(1,"h3",1)(2,"a",2),g(3),o()(),n(4,"p",3),g(5),o()()),i&2&&(q("bg-white",!l.darkBackground())("bg-gray-50",l.darkBackground())("dark:bg-gray-800",!l.darkBackground())("dark:bg-gray-900",l.darkBackground()),m(2),d("href",l.link(),D),m(),h(l.name()),m(2),h(l.description()))},styles:["[_nghost-%COMP%]{display:block}.description[_ngcontent-%COMP%]{height:112px}"]});let t=e;return t})();var tt=(t,e)=>e.name;function it(t,e){if(t&1&&p(0,"app-tool-card",8),t&2){let r=e.$implicit;d("name",r.name)("link",r.link)("description",r.description)}}function nt(t,e){if(t&1&&(n(0,"h3",6),g(1),o(),n(2,"div",7),I(3,it,1,3,"app-tool-card",8,tt),o()),t&2){let r=e.$implicit;m(),h(r.key),m(2),E(r.value)}}function at(t,e){if(t&1&&(n(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h2",4),p(5,"transloco",5),o(),I(6,nt,5,1,null,null,A),s(8,"keyvalue"),o()()()()),t&2){let r=k();m(6),E(u(8,0,r.tools(),r.NoSorterKeyValue))}}var Ne=(()=>{let e=class e{constructor(a){this.dataService=a,this.NoSorterKeyValue=W,this.tools=$(this.dataService.tools)}};e.\u0275fac=function(i){return new(i||e)(x(Q))},e.\u0275cmp=f({type:e,selectors:[["app-homepage-tools"]],standalone:!0,features:[y],decls:1,vars:1,consts:[[1,"bg-white","dark:bg-gray-900"],[1,"max-w-screen-xl","px-4","py-8","mx-auto","space-y-12","lg:space-y-20","lg:py-24","lg:px-6"],[1,"items-center","gap-8","lg:grid","xl:gap-16"],[1,"text-gray-500","sm:text-lg","dark:text-gray-400"],[1,"mb-6","text-3xl","font-extrabold","tracking-tight","text-gray-900","dark:text-white"],["key","tools"],[1,"mb-2","text-2xl","font-bold","tracking-tight","text-gray-900","dark:text-white"],[1,"items-center","border-t","max-w-screen-xl","px-4","mx-auto","grid","md:grid-cols-2","lg:grid-cols-3","xl:grid-cols-4","gap-8","xl:gap-10","lg:px-6","py-6"],[3,"name","link","description"]],template:function(i,l){i&1&&B(0,at,9,3,"section",0),i&2&&C(0,l.tools()?0:-1)},dependencies:[F,He,K]});let t=e;return t})();var Ni=(()=>{let e=class e{constructor(a,i,l){this.title=a,this.translator=i,this.footerColor=l}ngOnInit(){return T(this,null,function*(){this.title.setTitle(yield U(this.translator.get("app_title"))),this.footerColor.dark.set(!1)})}};e.\u0275fac=function(i){return new(i||e)(x(de),x(ue),x(fe))},e.\u0275cmp=f({type:e,selectors:[["app-homepage"]],standalone:!0,features:[y],decls:7,vars:0,template:function(i,l){i&1&&p(0,"app-homepage-intro")(1,"app-homepage-sponsors")(2,"app-homepage-latest-news")(3,"app-homepage-stats")(4,"app-homepage-quickstart")(5,"app-homepage-guis")(6,"app-homepage-tools")},dependencies:[xe,he,ye,Fe,Te,Pe,Ne],styles:["[_nghost-%COMP%] .sponsor-svg svg{filter:grayscale(1);transition:filter .5s}[_nghost-%COMP%] .sponsor-svg svg:hover{filter:none}"]});let t=e;return t})();export{Ni as HomepageComponent}; +import{c as ge}from"./chunk-UIEJTGV7.js";import{a as W,b as Q,c as ue}from"./chunk-NRZ5RORX.js";import{a as G,b as fe}from"./chunk-CQNN4SU6.js";import{b as de,d as $,e as j,f as H,j as F}from"./chunk-DIHZTFHE.js";import{a as R}from"./chunk-NXANAV64.js";import{h as le,i as K,k as ce,n as V,r as U}from"./chunk-PL5LST3Q.js";import{$ as f,Ab as Y,Hb as pe,Ja as O,Ka as D,Mb as me,Na as m,O as ne,Oa as x,Sa as re,Ua as N,_ as S,_a as B,ab as d,ba as P,cb as q,d as T,db as C,eb as oe,fb as A,gb as I,hb as E,ib as n,jb as o,kb as p,nb as k,ob as se,pa as _,pb as g,qb as h,rb as z,sb as y,tb as L,ub as M,va as ae,vb as w,wb as X,xb as s,y as ie,yb as c,zb as u}from"./chunk-RAGRZUZJ.js";var Le=()=>({serverLink:"https://github.com/Haidra-Org/AI-Horde",imageWorkerLink:"https://github.com/Haidra-Org/horde-worker-reGen",textWorkerLink:"https://github.com/Haidra-Org/AI-Horde-Worker",joinHordeLink:"https://github.com/Haidra-Org/AI-Horde/blob/main/README_StableHorde.md#joining-the-horde"}),Me=()=>({route:"/faq"}),De=t=>({faqLink:t,developerBlogLink:"https://dbzer0.com/"}),xe=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=f({type:e,selectors:[["app-homepage-intro"]],standalone:!0,features:[y],decls:11,vars:6,consts:[[1,"bg-white","dark:bg-gray-900"],[1,"grid","max-w-screen-xl","px-4","pt-20","pb-8","mx-auto","lg:gap-8","xl:gap-0","lg:py-16","lg:grid-cols-12","lg:pt-28"],[1,"mr-auto","place-self-center","lg:col-span-7"],[1,"max-w-2xl","mb-4","text-4xl","font-extrabold","leading-none","tracking-tight","md:text-5xl","xl:text-6xl","dark:text-white"],["key","brand_subtitle"],[1,"max-w-2xl","mb-6","font-light","text-gray-500","lg:mb-8","md:text-lg","lg:text-xl","dark:text-gray-400"],["key","service_description",3,"params"],["key","more_information",3,"params"],[1,"hidden","lg:mt-0","lg:col-span-5","lg:flex"],["ngSrc","assets/img/front-image.png","alt","hero image","height","437","width","571","priority",""]],template:function(i,l){i&1&&(n(0,"section",0)(1,"div",1)(2,"div",2)(3,"h1",3),p(4,"transloco",4),o(),n(5,"p",5),p(6,"transloco",6),o(),n(7,"p",5),p(8,"transloco",7),o()(),n(9,"div",8),p(10,"img",9),o()()()),i&2&&(m(6),d("params",L(2,Le)),m(2),d("params",M(4,De,L(3,Me))))},dependencies:[V,F]});let t=e;return t})();var he=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=f({type:e,selectors:[["app-homepage-sponsors"]],standalone:!0,features:[y],decls:7,vars:0,consts:[[1,"bg-white","dark:bg-gray-900"],[1,"max-w-screen-xl","px-4","pb-8","mx-auto","lg:pb-16"],[1,"mb-6","text-2xl","font-extrabold","tracking-tight","text-gray-900","dark:text-white"],[1,"grid","grid-cols-2","gap-8","text-gray-500","sm:gap-12","sm:grid-cols-3","lg:grid-cols-6","dark:text-gray-400"],["href","https://nlnet.nl/project/AI-Horde/","target","_blank",1,"flex","items-center","lg:justify-center"],["href","assets/img/nlnet.svg",1,"sponsor-svg"]],template:function(i,l){i&1&&(n(0,"section",0)(1,"div",1)(2,"h2",2),g(3," Sponsors "),o(),n(4,"div",3)(5,"a",4),p(6,"inline-svg",5),o()()()())},dependencies:[G]});let t=e;return t})();var je=(t,e)=>e.title;function Ge(t,e){if(t&1&&p(0,"p",12),t&2){let r=k().$implicit;d("innerHTML",r.excerpt,O)}}function Oe(t,e){if(t&1&&(n(0,"p",8)(1,"a",13),g(2),s(3,"transloco"),o()()),t&2){let r=k().$implicit;m(),d("href",r.moreLink,D),m(),h(c(3,2,"read_more"))}}function ze(t,e){if(t&1&&(n(0,"div",7)(1,"h3",9)(2,"span",10),g(3),o(),g(4," - "),p(5,"span",11),o(),B(6,Ge,1,1,"p",12)(7,Oe,4,4,"p",8),o()),t&2){let r=e.$implicit;m(3),h(r.date_published),m(2),d("innerHTML",r.title,O),m(),C(6,r.excerpt?6:-1),m(),C(7,r.moreLink?7:-1)}}function $e(t,e){t&1&&(n(0,"p",8),g(1),s(2,"transloco"),o()),t&2&&(m(),h(c(2,1,"no_news")))}var ye=(()=>{let e=class e{constructor(a){this.aiHorde=a,this.news=N([])}ngOnInit(){return T(this,null,function*(){this.news.set(yield U(this.aiHorde.getNews(3)))})}};e.\u0275fac=function(i){return new(i||e)(x(R))},e.\u0275cmp=f({type:e,selectors:[["app-homepage-latest-news"]],standalone:!0,features:[y],decls:10,vars:1,consts:[[1,"bg-gray-50","dark:bg-gray-800"],[1,"max-w-screen-xl","px-4","py-8","mx-auto","space-y-12","lg:space-y-20","lg:py-24","lg:px-6"],[1,"items-center","gap-8","lg:grid","xl:gap-16"],[1,"text-gray-500","sm:text-lg","dark:text-gray-400"],[1,"mb-6","text-3xl","font-extrabold","tracking-tight","text-gray-900","dark:text-white"],["routerLink","/news"],["key","latest_news"],[1,"mb-6"],[1,"mb-2","font-light","lg:text-xl"],[1,"mb-3","text-2xl","text-gray-900","dark:text-white"],[1,"text-gray-500","dark:text-gray-200"],[3,"innerHTML"],[1,"mb-2","font-light","lg:text-xl",3,"innerHTML"],["target","_blank",3,"href"]],template:function(i,l){i&1&&(n(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h2",4)(5,"a",5),p(6,"transloco",6),o()(),I(7,ze,8,4,"div",7,je,!1,$e,3,3,"p",8),o()()()()),i&2&&(m(7),E(l.news()))},dependencies:[ge,F,H]});let t=e;return t})();var ke=(()=>{let e=class e{transform(a,i){return a.substring(0,i)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=P({name:"cut",type:e,pure:!0,standalone:!0});let t=e;return t})();var be=(()=>{let e=class e{constructor(a){this.transloco=a}transform(a,i=0){return new Intl.NumberFormat(this.transloco.getActiveLang(),{minimumFractionDigits:i,maximumFractionDigits:i}).format(a)}};e.\u0275fac=function(i){return new(i||e)(x(j,16))},e.\u0275pipe=P({name:"formatNumber",type:e,pure:!0,standalone:!0});let t=e;return t})();var Se=(()=>{let e=class e{transform(a,i=1){for(;String(a).split(".")[0].length>3*i;)a/=1e3;return a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=P({name:"shiftDecimalsLeft",type:e,pure:!0,standalone:!0});let t=e;return t})();var _e=(()=>{let e=class e{constructor(a){this.translator=a}transform(a,i=1,l=0){String(a).includes(".")&&(a=Number(String(a).split(".")[0]));let b="si_prefix.",J=Math.floor(String(a).length/3)-(i-1);switch(String(a).length%3===0&&(J-=1),J+=l,J){case 0:b+="none";break;case 1:b+="kilo";break;case 2:b+="mega";break;case 3:b+="giga";break;case 4:b+="tera";break;case 5:b+="peta";break;case 6:b+="exa";break;case 7:b+="zetta";break;default:throw new Error(`Unsupported prefix: ${b}`)}return this.translator.translate(b)}};e.\u0275fac=function(i){return new(i||e)(x(j,16))},e.\u0275pipe=P({name:"siPrefix",type:e,pure:!0,standalone:!0});let t=e;return t})();var Z=class{constructor(...e){this.subscriptions=e}add(e){this.subscriptions.push(e)}unsubscribe(){for(let e of this.subscriptions)e.unsubscribe();this.subscriptions=[]}};var Ce=(t,e)=>({performance:t,prefix:e}),we=(t,e)=>({amount:t,prefix:e}),ee=(t,e)=>({amount:t,unit:e}),te=(t,e)=>({workers:t,threads:e}),Be=(t,e,r)=>({requests:t,amount:e,prefix:r}),Ae=t=>({forms:t}),Ke=()=>({grafanaLink:"https://grafana.aihorde.net"});function Ve(t,e){if(t&1&&(n(0,"section",0)(1,"div",1)(2,"div",2)(3,"h2",3),g(4),s(5,"transloco"),o()(),n(6,"div",4)(7,"div",5)(8,"h3",6),g(9),s(10,"transloco"),o(),n(11,"ul",7)(12,"li",8),p(13,"inline-svg",9),n(14,"span",10),p(15,"transloco",11),s(16,"formatNumber"),s(17,"siPrefix"),o()(),n(18,"li",8),p(19,"inline-svg",9),n(20,"span",10),p(21,"transloco",12),s(22,"shiftDecimalsLeft"),s(23,"formatNumber"),s(24,"siPrefix"),o()(),n(25,"li",8),p(26,"inline-svg",9),n(27,"span",10),p(28,"transloco",13),s(29,"shiftDecimalsLeft"),s(30,"formatNumber"),s(31,"siPrefix"),s(32,"cut"),s(33,"uppercase"),o()(),n(34,"li",8),p(35,"inline-svg",9),n(36,"span",10),p(37,"transloco",14),s(38,"formatNumber"),s(39,"formatNumber"),o()(),n(40,"li",8),p(41,"inline-svg",9),n(42,"span",10),p(43,"transloco",15),s(44,"formatNumber"),s(45,"shiftDecimalsLeft"),s(46,"formatNumber"),s(47,"siPrefix"),o()()()(),n(48,"div",16)(49,"h3",17),g(50),s(51,"transloco"),o(),n(52,"ul",7)(53,"li",8),p(54,"inline-svg",9),n(55,"span",10),p(56,"transloco",18),s(57,"formatNumber"),s(58,"siPrefix"),o()(),n(59,"li",8),p(60,"inline-svg",9),n(61,"span",10),p(62,"transloco",19),s(63,"shiftDecimalsLeft"),s(64,"formatNumber"),s(65,"siPrefix"),o()(),n(66,"li",8),p(67,"inline-svg",9),n(68,"span",10),p(69,"transloco",20),s(70,"shiftDecimalsLeft"),s(71,"formatNumber"),s(72,"siPrefix"),s(73,"cut"),s(74,"uppercase"),o()(),n(75,"li",8),p(76,"inline-svg",9),n(77,"span",10),p(78,"transloco",14),s(79,"formatNumber"),s(80,"formatNumber"),o()(),n(81,"li",8),p(82,"inline-svg",9),n(83,"span",10),p(84,"transloco",21),s(85,"formatNumber"),s(86,"shiftDecimalsLeft"),s(87,"formatNumber"),s(88,"siPrefix"),o()()()()(),n(89,"div",4)(90,"div",5)(91,"h3",6),g(92),s(93,"transloco"),o(),n(94,"ul",7)(95,"li",8),p(96,"inline-svg",9),n(97,"span",10),p(98,"transloco",22),s(99,"shiftDecimalsLeft"),s(100,"formatNumber"),s(101,"siPrefix"),s(102,"cut"),s(103,"uppercase"),o()(),n(104,"li",8),p(105,"inline-svg",9),n(106,"span",10),p(107,"transloco",14),s(108,"formatNumber"),s(109,"formatNumber"),o()(),n(110,"li",8),p(111,"inline-svg",9),n(112,"span",10),p(113,"transloco",23),s(114,"formatNumber"),o()()()(),n(115,"div",24)(116,"h3",6),g(117),s(118,"transloco"),o(),n(119,"ul",25)(120,"li",8),p(121,"inline-svg",9),n(122,"span",10),p(123,"transloco",26),o()(),n(124,"li",8),p(125,"inline-svg",27),o(),n(126,"li",8),p(127,"inline-svg",27),o()()()()()()),t&2){let r=k();m(4),h(c(5,19,"stats")),m(5),h(c(10,21,"image_stats")),m(6),d("params",w(127,Ce,u(16,23,r.stats().past_minute_megapixelsteps/60,1),Y(17,26,r.stats().past_minute_megapixelsteps/60,1,2))),m(6),d("params",w(130,we,u(23,33,u(22,30,r.imageStats().ps,2),1),u(24,36,r.imageStats().ps,2))),m(7),d("params",w(133,ee,u(30,41,c(29,39,r.imageStats().images),1),c(33,49,u(32,46,c(31,44,r.imageStats().images),1)))),m(9),d("params",w(136,te,c(38,51,r.stats().worker_count),c(39,53,r.stats().thread_count))),m(6),d("params",X(139,Be,c(44,55,r.stats().queued_requests),u(46,59,c(45,57,r.stats().queued_megapixelsteps),1),Y(47,62,r.stats().queued_megapixelsteps,1,2))),m(7),h(c(51,66,"text_stats")),m(6),d("params",w(143,Ce,u(57,68,r.stats().past_minute_tokens/60,1),c(58,71,r.stats().past_minute_tokens/60))),m(6),d("params",w(146,we,u(64,75,c(63,73,r.textStats().tokens),1),c(65,78,r.textStats().tokens))),m(7),d("params",w(149,ee,u(71,82,c(70,80,r.textStats().requests),1),c(74,90,u(73,87,c(72,85,r.textStats().requests),1)))),m(9),d("params",w(152,te,c(79,92,r.stats().text_worker_count),c(80,94,r.stats().text_thread_count))),m(6),d("params",X(155,Be,c(85,96,r.stats().queued_text_requests),u(87,100,c(86,98,r.stats().queued_tokens),1),c(88,103,r.stats().queued_tokens))),m(8),h(c(93,105,"image_alchemy")),m(6),d("params",w(159,ee,u(100,109,c(99,107,r.interrogationStats().processed),1),c(103,117,u(102,114,c(101,112,r.interrogationStats().processed),1)))),m(9),d("params",w(162,te,c(108,119,r.stats().interrogator_count),c(109,121,r.stats().interrogator_thread_count))),m(6),d("params",M(165,Ae,c(114,123,r.stats().queued_forms))),m(4),h(c(118,125,"realtime_stats")),m(6),d("params",L(167,Ke))}}var Fe=(()=>{let e=class e{constructor(a,i,l,b){this.aiHorde=a,this.zone=l,this.cdr=b,this.subscriptions=new Z,this.stats=N(null),this.imageStats=N(null),this.textStats=N(null),this.interrogationStats=N(null),this.isBrowser=ce(i)}ngOnDestroy(){this.subscriptions.unsubscribe()}ngOnInit(){return T(this,null,function*(){this.zone.runOutsideAngular(()=>{this.subscriptions.add(ie(6e4).pipe(ne(0)).subscribe(()=>T(this,null,function*(){yield this.zone.run(()=>T(this,null,function*(){return yield this.updateStats()})),this.cdr.detectChanges()})))})})}updateStats(){return T(this,null,function*(){this.subscriptions.add(this.aiHorde.performance.subscribe(a=>{this.stats.set(a)})),this.subscriptions.add(this.aiHorde.imageStats.subscribe(a=>{this.imageStats.set(a.total)})),this.subscriptions.add(this.aiHorde.textStats.subscribe(a=>{this.textStats.set(a.total)})),this.subscriptions.add(this.aiHorde.interrogationStats.subscribe(a=>{this.interrogationStats.set(a)}))})}};e.\u0275fac=function(i){return new(i||e)(x(R),x(ae),x(re),x(pe))},e.\u0275cmp=f({type:e,selectors:[["app-homepage-stats"]],standalone:!0,features:[y],decls:1,vars:1,consts:[[1,"bg-white","dark:bg-gray-900"],[1,"max-w-screen-xl","px-4","py-8","mx-auto","lg:py-24","lg:px-6"],[1,"max-w-screen-md","mx-auto","mb-2","text-center"],[1,"mb-4","text-3xl","font-extrabold","tracking-tight","text-gray-900","dark:text-white"],[1,"items-center","max-w-screen-xl","px-4","mx-auto","lg:grid","lg:grid-cols-2","lg:gap-16","xl:gap-24","lg:px-6","py-6"],[1,"space-y-8","sm:gap-6","xl:gap-10","lg:space-y-0"],[1,"mb-2","text-2xl","font-bold","tracking-tight","text-gray-900","dark:text-white"],["role","list",1,"pt-8","space-y-5","border-t","border-gray-200","my-7","dark:border-gray-700"],[1,"flex","space-x-3"],["href","assets/img/li-checkbox.svg"],[1,"text-base","font-medium","leading-tight","text-gray-900","dark:text-white"],["key","stats.average_recent_performance_images",3,"params"],["key","stats.total_pixelsteps",3,"params"],["key","stats.total_images",3,"params"],["key","stats.active_workers",3,"params"],["key","stats.image_queue",3,"params"],[1,"space-y-8","sm:gap-6","xl:gap-10","mt-12","lg:mt-0","lg:space-y-0"],[1,"mb-2","text-2xl","font-bold","tracking-tight","text-gray-900","dark:text-white","text-right"],["key","stats.average_recent_performance_text",3,"params"],["key","stats.total_tokens",3,"params"],["key","stats.total_texts",3,"params"],["key","stats.text_queue",3,"params"],["key","stats.total_alchemy_processed",3,"params"],["key","stats.interrogation_queue",3,"params"],[1,"space-y-8","sm:gap-6","xl:gap-10","lg:space-y-0","mt-12","lg:mt-0"],["role","list",1,"pt-8","space-y-5","border-t","border-gray-200","my-7","dark:border-gray-700","underline-links"],["key","stats.realtime",3,"params"],["href","assets/img/li-checkbox.svg",1,"invisible"]],template:function(i,l){i&1&&B(0,Ve,128,168,"section",0),i&2&&C(0,l.stats()&&l.imageStats()&&l.textStats()&&l.interrogationStats()?0:-1)},dependencies:[ke,be,G,Se,_e,F,H,le]});let t=e;return t})();var Ue=()=>({kudosExplanationLink:"https://dbzer0.com/blog/the-kudos-based-economy-for-the-koboldai-horde/"}),Te=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=f({type:e,selectors:[["app-homepage-quickstart"]],standalone:!0,features:[y],decls:17,vars:5,consts:[[1,"bg-gray-50","dark:bg-gray-800"],[1,"max-w-screen-xl","px-4","py-8","mx-auto","space-y-12","lg:space-y-20","lg:py-24","lg:px-6"],[1,"items-center","gap-8","lg:grid","xl:gap-16"],[1,"text-gray-500","sm:text-lg","dark:text-gray-400"],[1,"mb-6","text-3xl","font-extrabold","tracking-tight","text-gray-900","dark:text-white"],["key","quickstart"],[1,"mb-4",3,"innerHTML"],[1,"mb-2","space-y-2","underline-links"],[1,"flex","space-x-3"],["href","assets/img/li-checkbox.svg"],[1,"text-base"],["key","quickstart.anonymous_api_key"],["key","quickstart.explanation_api_key",3,"params"]],template:function(i,l){i&1&&(n(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h2",4),p(5,"transloco",5),o(),p(6,"p",6),s(7,"transloco"),n(8,"ul",7)(9,"li",8),p(10,"inline-svg",9),n(11,"span",10),p(12,"transloco",11),o()(),n(13,"li",8),p(14,"inline-svg",9),n(15,"span",10),p(16,"transloco",12),o()()()()()()()),i&2&&(m(6),d("innerHTML",c(7,2,"quickstart.register_account"),O),m(10),d("params",L(4,Ue)))},dependencies:[F,H,G]});let t=e;return t})();var Ie=t=>({guiName:t});function Re(t,e){if(t&1&&g(0),t&2){let r=k();z(" ",r.goToLinkName()," ")}}function We(t,e){if(t&1&&(g(0),s(1,"transloco")),t&2){let r=k();z(" ",u(1,1,"guis.go_to",M(4,Ie,r.name()))," ")}}var Ee=(()=>{let e=class e{constructor(){this.name=_.required(),this.link=_.required(),this.description=_.required(),this.image=_.required(),this.goToLinkName=_(null),this.darkBackground=_(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=f({type:e,selectors:[["app-gui-card"]],inputs:{name:[S.SignalBased,"name"],link:[S.SignalBased,"link"],description:[S.SignalBased,"description"],image:[S.SignalBased,"image"],goToLinkName:[S.SignalBased,"goToLinkName"],darkBackground:[S.SignalBased,"darkBackground"]},standalone:!0,features:[y],decls:11,vars:21,consts:[[1,"flex","flex-col","max-w-lg","p-6","mx-auto","text-center","text-gray-900","border","border-gray-100","rounded-lg","shadow","dark:border-gray-600","xl:p-8","dark:text-white"],[1,"mb-4","text-2xl","font-semibold"],[1,"font-light","text-gray-500","sm:text-lg","dark:text-gray-400","description"],[1,"flex","items-baseline","justify-center","my-8"],[3,"ngSrc","width","height","alt"],["target","_blank",1,"text-white","bg-purple-600","hover:bg-purple-700","focus:ring-4","focus:ring-purple-200","font-medium","rounded-lg","text-sm","px-5","py-2.5","text-center","dark:text-white","dark:focus:ring-purple-900",3,"href"]],template:function(i,l){i&1&&(n(0,"div",0)(1,"h3",1),g(2),o(),n(3,"p",2),g(4),o(),n(5,"div",3),p(6,"img",4),s(7,"transloco"),o(),n(8,"a",5),B(9,Re,1,1)(10,We,2,6),o()()),i&2&&(q("bg-white",!l.darkBackground())("bg-gray-50",l.darkBackground())("dark:bg-gray-800",!l.darkBackground())("dark:bg-gray-900",l.darkBackground()),m(2),h(l.name()),m(2),h(l.description()),m(2),d("ngSrc",l.image())("width",330)("height",185)("alt",u(7,16,"guis.gui_image_alt",M(19,Ie,l.name()))),m(2),se("href",l.link(),D),m(),C(9,l.goToLinkName()?9:10))},dependencies:[V,H],styles:[".description[_ngcontent-%COMP%]{height:120px}"]});let t=e;return t})();var Ze=(t,e)=>e.name;function Je(t,e){if(t&1&&(n(0,"div",7),p(1,"app-gui-card",8),o()),t&2){let r,a=e.$implicit,i=k(2).$index;m(),d("name",a.name)("description",a.description)("image",a.image)("link",a.link)("goToLinkName",(r=a.downloadButtonText)!==null&&r!==void 0?r:null)("darkBackground",i%2!==0)}}function Xe(t,e){if(t&1&&(n(0,"h3",5),g(1),o(),n(2,"div",6),I(3,Je,2,6,"div",7,Ze),o()),t&2){let r=e.$implicit;m(),h(r.key),m(2),E(r.value)}}function Ye(t,e){if(t&1&&(n(0,"section")(1,"div",1)(2,"div",2)(3,"div",3)(4,"h2",4),g(5),o(),I(6,Xe,5,1,null,null,A),s(8,"keyvalue"),o()()()()),t&2){let r=e.$implicit,a=e.$index,i=k(2);q("bg-white",a%2===0)("dark:bg-gray-900",a%2===0)("bg-gray-50",a%2!==0)("dark:bg-gray-800",a%2!==0),m(5),z(" ",r.key," "),m(),E(u(8,9,r.value,i.NoSorterKeyValue))}}function et(t,e){if(t&1&&(I(0,Ye,9,12,"section",0,oe),s(2,"keyvalue")),t&2){let r=k();E(u(2,0,r.guis(),r.NoSorterKeyValue))}}var Pe=(()=>{let e=class e{constructor(a,i){this.dataService=a,this.translator=i,this.NoSorterKeyValue=W,this.imageGuis=$(this.dataService.imageGuis),this.textGuis=$(this.dataService.textGuis),this.guis=me(()=>{if(!(this.imageGuis()===void 0||this.textGuis()===void 0))return{[this.translator.translate("guis.image")]:this.imageGuis(),[this.translator.translate("guis.text")]:this.textGuis()}})}};e.\u0275fac=function(i){return new(i||e)(x(Q),x(j))},e.\u0275cmp=f({type:e,selectors:[["app-homepage-guis"]],standalone:!0,features:[y],decls:1,vars:1,consts:[[3,"bg-white","dark:bg-gray-900","bg-gray-50","dark:bg-gray-800"],[1,"max-w-screen-xl","px-4","py-8","mx-auto","space-y-12","lg:space-y-20","lg:py-24","lg:px-6"],[1,"items-center","gap-8","lg:grid","xl:gap-16"],[1,"text-gray-500","sm:text-lg","dark:text-gray-400"],[1,"mb-6","text-3xl","font-extrabold","tracking-tight","text-gray-900","dark:text-white"],[1,"mb-2","text-2xl","font-bold","tracking-tight","text-gray-900","dark:text-white"],[1,"items-center","border-t","max-w-screen-xl","px-4","mx-auto","lg:grid","lg:grid-cols-3","lg:gap-16","xl:gap-24","lg:px-6","py-6","md:grid","md:grid-cols-2","md:gap-12"],[1,"space-y-8","sm:gap-6","xl:gap-10","lg:space-y-0","mt-8:not-first","md:mt-0"],[3,"name","description","image","link","goToLinkName","darkBackground"]],template:function(i,l){i&1&&B(0,et,3,3),i&2&&C(0,l.guis()?0:-1)},dependencies:[Ee,K]});let t=e;return t})();var He=(()=>{let e=class e{constructor(){this.name=_.required(),this.link=_.required(),this.description=_.required(),this.darkBackground=_(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=f({type:e,selectors:[["app-tool-card"]],inputs:{name:[S.SignalBased,"name"],link:[S.SignalBased,"link"],description:[S.SignalBased,"description"],darkBackground:[S.SignalBased,"darkBackground"]},standalone:!0,features:[y],decls:6,vars:11,consts:[[1,"flex","flex-col","max-w-lg","p-6","mx-auto","text-center","text-gray-900","border","border-gray-100","rounded-lg","shadow","dark:border-gray-600","xl:p-8","dark:text-white"],[1,"mb-4","text-xl","font-semibold"],["target","_blank",3,"href"],[1,"font-light","text-gray-500","sm:text-lg","dark:text-gray-400","description","mb-2"]],template:function(i,l){i&1&&(n(0,"div",0)(1,"h3",1)(2,"a",2),g(3),o()(),n(4,"p",3),g(5),o()()),i&2&&(q("bg-white",!l.darkBackground())("bg-gray-50",l.darkBackground())("dark:bg-gray-800",!l.darkBackground())("dark:bg-gray-900",l.darkBackground()),m(2),d("href",l.link(),D),m(),h(l.name()),m(2),h(l.description()))},styles:["[_nghost-%COMP%]{display:block}.description[_ngcontent-%COMP%]{height:112px}"]});let t=e;return t})();var tt=(t,e)=>e.name;function it(t,e){if(t&1&&p(0,"app-tool-card",8),t&2){let r=e.$implicit;d("name",r.name)("link",r.link)("description",r.description)}}function nt(t,e){if(t&1&&(n(0,"h3",6),g(1),o(),n(2,"div",7),I(3,it,1,3,"app-tool-card",8,tt),o()),t&2){let r=e.$implicit;m(),h(r.key),m(2),E(r.value)}}function at(t,e){if(t&1&&(n(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h2",4),p(5,"transloco",5),o(),I(6,nt,5,1,null,null,A),s(8,"keyvalue"),o()()()()),t&2){let r=k();m(6),E(u(8,0,r.tools(),r.NoSorterKeyValue))}}var Ne=(()=>{let e=class e{constructor(a){this.dataService=a,this.NoSorterKeyValue=W,this.tools=$(this.dataService.tools)}};e.\u0275fac=function(i){return new(i||e)(x(Q))},e.\u0275cmp=f({type:e,selectors:[["app-homepage-tools"]],standalone:!0,features:[y],decls:1,vars:1,consts:[[1,"bg-white","dark:bg-gray-900"],[1,"max-w-screen-xl","px-4","py-8","mx-auto","space-y-12","lg:space-y-20","lg:py-24","lg:px-6"],[1,"items-center","gap-8","lg:grid","xl:gap-16"],[1,"text-gray-500","sm:text-lg","dark:text-gray-400"],[1,"mb-6","text-3xl","font-extrabold","tracking-tight","text-gray-900","dark:text-white"],["key","tools"],[1,"mb-2","text-2xl","font-bold","tracking-tight","text-gray-900","dark:text-white"],[1,"items-center","border-t","max-w-screen-xl","px-4","mx-auto","grid","md:grid-cols-2","lg:grid-cols-3","xl:grid-cols-4","gap-8","xl:gap-10","lg:px-6","py-6"],[3,"name","link","description"]],template:function(i,l){i&1&&B(0,at,9,3,"section",0),i&2&&C(0,l.tools()?0:-1)},dependencies:[F,He,K]});let t=e;return t})();var Ni=(()=>{let e=class e{constructor(a,i,l){this.title=a,this.translator=i,this.footerColor=l}ngOnInit(){return T(this,null,function*(){this.title.setTitle(yield U(this.translator.get("app_title"))),this.footerColor.dark.set(!1)})}};e.\u0275fac=function(i){return new(i||e)(x(de),x(ue),x(fe))},e.\u0275cmp=f({type:e,selectors:[["app-homepage"]],standalone:!0,features:[y],decls:7,vars:0,template:function(i,l){i&1&&p(0,"app-homepage-intro")(1,"app-homepage-sponsors")(2,"app-homepage-latest-news")(3,"app-homepage-stats")(4,"app-homepage-quickstart")(5,"app-homepage-guis")(6,"app-homepage-tools")},dependencies:[xe,he,ye,Fe,Te,Pe,Ne],styles:["[_nghost-%COMP%] .sponsor-svg svg{filter:grayscale(1);transition:filter .5s}[_nghost-%COMP%] .sponsor-svg svg:hover{filter:none}"]});let t=e;return t})();export{Ni as HomepageComponent}; diff --git a/chunk-7IMKBQP2.js b/chunk-7IMKBQP2.js deleted file mode 100644 index 3c558fa..0000000 --- a/chunk-7IMKBQP2.js +++ /dev/null @@ -1,2 +0,0 @@ -import{Aa as Ne,B as Ae,Eb as $e,Fb as je,G as Ce,Gb as ze,Jb as oe,Kb as Ve,Nb as x,Ob as ae,P as be,Pa as Be,R as ve,Ra as se,S as Z,Sa as K,T as y,Ta as X,V as w,X as E,Xa as ke,Y as c,_ as v,_a as xe,a as W,aa as Se,ba as ne,c as ye,ca as Te,cb as Ue,d as te,ea as Ie,fa as Re,g as N,ha as Me,m as Ee,ma as Oe,n as Y,qa as re,r as we,ra as Pe,s as B,va as k,xa as _e,ya as Le,z as Fe,za as ie}from"./chunk-HTB7U7SQ.js";var Ke=null;function ue(){return Ke}function Zn(e){Ke??=e}var Ge=class{};var U=new w(""),Xe=(()=>{let t=class t{historyGo(n){throw new Error("")}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=y({token:t,factory:()=>c(At),providedIn:"platform"});let e=t;return e})();var At=(()=>{let t=class t extends Xe{constructor(){super(),this._doc=c(U),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ue().getBaseHref(this._doc)}onPopState(n){let r=ue().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=ue().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=y({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function qe(e,t){if(e.length==0)return t;if(t.length==0)return e;let s=0;return e.endsWith("/")&&s++,t.startsWith("/")&&s++,s==2?e+t.substring(1):s==1?e+t:e+"/"+t}function We(e){let t=e.match(/#|\?|$/),s=t&&t.index||e.length,n=s-(e[s-1]==="/"?1:0);return e.slice(0,n)+e.slice(s)}function O(e){return e&&e[0]!=="?"?"?"+e:e}var ce=(()=>{let t=class t{historyGo(n){throw new Error("")}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=y({token:t,factory:()=>c(bt),providedIn:"root"});let e=t;return e})(),Ct=new w(""),bt=(()=>{let t=class t extends ce{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??c(U).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return qe(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+O(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,a){let o=this.prepareExternalUrl(i+O(a));this._platformLocation.pushState(n,r,o)}replaceState(n,r,i,a){let o=this.prepareExternalUrl(i+O(a));this._platformLocation.replaceState(n,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};t.\u0275fac=function(r){return new(r||t)(E(Xe),E(Ct,8))},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var vt=(()=>{let t=class t{constructor(n){this._subject=new Pe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=It(We(Ye(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+O(r))}normalize(n){return t.stripTrailingSlash(Tt(this._basePath,Ye(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+O(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+O(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}};t.normalizeQueryParams=O,t.joinWithSlash=qe,t.stripTrailingSlash=We,t.\u0275fac=function(r){return new(r||t)(E(ce))},t.\u0275prov=y({token:t,factory:()=>St(),providedIn:"root"});let e=t;return e})();function St(){return new vt(E(ce))}function Tt(e,t){if(!e||!t.startsWith(e))return t;let s=t.substring(e.length);return s===""||["/",";","?","#"].includes(s[0])?s:t}function Ye(e){return e.replace(/\/index.html$/,"")}function It(e){if(new RegExp("^(https?:)?//").test(e)){let[,s]=e.split(/\/\/[^\/]+/);return s}return e}function Je(e,t){t=encodeURIComponent(t);for(let s of e.split(";")){let n=s.indexOf("="),[r,i]=n==-1?[s,""]:[s.slice(0,n),s.slice(n+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}function Rt(e,t){return new Z(2100,!1)}var Kn=(()=>{let t=class t{transform(n){if(n==null)return null;if(typeof n!="string")throw Rt(t,n);return n.toUpperCase()}};t.\u0275fac=function(r){return new(r||t)},t.\u0275pipe=ne({name:"uppercase",type:t,pure:!0,standalone:!0});let e=t;return e})();function Mt(e,t){return{key:e,value:t}}var Xn=(()=>{let t=class t{constructor(n){this.differs=n,this.keyValues=[],this.compareFn=Ze}transform(n,r=Ze){if(!n||!(n instanceof Map)&&typeof n!="object")return null;this.differ??=this.differs.find(n).create();let i=this.differ.diff(n),a=r!==this.compareFn;return i&&(this.keyValues=[],i.forEachItem(o=>{this.keyValues.push(Mt(o.key,o.currentValue))})),(i||a)&&(this.keyValues.sort(r),this.compareFn=r),this.keyValues}};t.\u0275fac=function(r){return new(r||t)(Be(Ve,16))},t.\u0275pipe=ne({name:"keyvalue",type:t,pure:!1,standalone:!0});let e=t;return e})();function Ze(e,t){let s=e.key,n=t.key;if(s===n)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(s===null)return 1;if(n===null)return-1;if(typeof s=="string"&&typeof n=="string")return se.src,_t=new w("",{providedIn:"root",factory:()=>He});var Lt=new w("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),Nt=(()=>{let t=class t{constructor(){this.preloadedImages=c(Lt),this.document=c(U)}createPreloadLinkTag(n,r,i,a){if(this.preloadedImages.has(r))return;this.preloadedImages.add(r);let o=n.createElement("link");n.setAttribute(o,"as","image"),n.setAttribute(o,"href",r),n.setAttribute(o,"rel","preload"),n.setAttribute(o,"fetchpriority","high"),a&&n.setAttribute(o,"imageSizes",a),i&&n.setAttribute(o,"imageSrcset",i),n.appendChild(this.document.head,o)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Bt=/^((\s*\d+w\s*(,|$)){1,})$/;var kt=[1,2],xt=640;var Ut=1920,$t=1080;var Jn=(()=>{let t=class t{constructor(){this.imageLoader=c(_t),this.config=jt(c(Le)),this.renderer=c(se),this.imgElement=c(re).nativeElement,this.injector=c(Oe),this.isServer=de(c(k)),this.preloadLinkCreator=c(Nt),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){K("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0);let i=this._renderedSrc;this.lcpObserver!==null&&r&&i&&r!==i&&this.injector.get(X).runOutsideAngular(()=>{this.lcpObserver?.updateImage(r,i)})}}callImageLoader(n){let r=n;return this.loaderParams&&(r.loaderParams=this.loaderParams),this.imageLoader(r)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=Bt.test(this.ngSrcset);return this.ngSrcset.split(",").filter(i=>i!=="").map(i=>{i=i.trim();let a=n?parseFloat(i):parseFloat(i)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:a})} ${i}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,r=n;return this.sizes?.trim()==="100vw"&&(r=n.filter(a=>a>=xt)),r.map(a=>`${this.callImageLoader({src:this.ngSrc,width:a})} ${a}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let i;return this.ngSrcset?i=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(i=this.getAutomaticSrcset()),i&&this.setHostAttribute("srcset",i),i}getFixedSrcset(){return kt.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>Ut||this.height>$t),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==He&&!n}generatePlaceholder(n){let{placeholderResolution:r}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof n=="string"&&n.startsWith("data:")?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let r=()=>{let o=this.injector.get(oe);i(),a(),this.placeholder=!1,o.markForCheck()},i=this.renderer.listen(n,"load",r),a=this.renderer.listen(n,"error",r)}ngOnDestroy(){}setHostAttribute(n,r){this.renderer.setAttribute(this.imgElement,n,r)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275dir=Se({type:t,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,i){r&2&&Ue("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0":null)("background-size",i.placeholder?"cover":null)("background-position",i.placeholder?"50% 50%":null)("background-repeat",i.placeholder?"no-repeat":null)("background-image",i.placeholder?i.generatePlaceholder(i.placeholder):null)("filter",i.placeholder&&i.shouldBlurPlaceholder(i.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[v.HasDecoratorInputTransform,"ngSrc","ngSrc",zt],ngSrcset:"ngSrcset",sizes:"sizes",width:[v.HasDecoratorInputTransform,"width","width",ae],height:[v.HasDecoratorInputTransform,"height","height",ae],loading:"loading",priority:[v.HasDecoratorInputTransform,"priority","priority",x],loaderParams:"loaderParams",disableOptimizedSrcset:[v.HasDecoratorInputTransform,"disableOptimizedSrcset","disableOptimizedSrcset",x],fill:[v.HasDecoratorInputTransform,"fill","fill",x],placeholder:[v.HasDecoratorInputTransform,"placeholder","placeholder",Vt],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[ke,Me]});let e=t;return e})();function jt(e){let t={};return e.breakpoints&&(t.breakpoints=e.breakpoints.sort((s,n)=>s-n)),Object.assign({},_e,e,t)}function zt(e){return typeof e=="string"?e:Ne(e)}function Vt(e){return typeof e=="string"&&e.startsWith("data:")?e:x(e)}function er(e){return e instanceof Promise?e:e instanceof N?we(e):Promise.resolve(e)}var j=class{},z=class{},C=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` -`).forEach(s=>{let n=s.indexOf(":");if(n>0){let r=s.slice(0,n),i=r.toLowerCase(),a=s.slice(n+1).trim();this.maybeSetNormalizedName(r,i),this.headers.has(i)?this.headers.get(i).push(a):this.headers.set(i,[a])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((s,n)=>{this.setHeaderEntries(n,s)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([s,n])=>{this.setHeaderEntries(s,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let s=this.headers.get(t.toLowerCase());return s&&s.length>0?s[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,s){return this.clone({name:t,value:s,op:"a"})}set(t,s){return this.clone({name:t,value:s,op:"s"})}delete(t,s){return this.clone({name:t,value:s,op:"d"})}maybeSetNormalizedName(t,s){this.normalizedNames.has(s)||this.normalizedNames.set(s,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(s=>{this.headers.set(s,t.headers.get(s)),this.normalizedNames.set(s,t.normalizedNames.get(s))})}clone(t){let s=new e;return s.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,s.lazyUpdate=(this.lazyUpdate||[]).concat([t]),s}applyUpdate(t){let s=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(t.name,s);let r=(t.op==="a"?this.headers.get(s):void 0)||[];r.push(...n),this.headers.set(s,r);break;case"d":let i=t.value;if(!i)this.headers.delete(s),this.normalizedNames.delete(s);else{let a=this.headers.get(s);if(!a)return;a=a.filter(o=>i.indexOf(o)===-1),a.length===0?(this.headers.delete(s),this.normalizedNames.delete(s)):this.headers.set(s,a)}break}}setHeaderEntries(t,s){let n=(Array.isArray(s)?s:[s]).map(i=>i.toString()),r=t.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(s=>t(this.normalizedNames.get(s),this.headers.get(s)))}};var fe=class{encodeKey(t){return Qe(t)}encodeValue(t){return Qe(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function Wt(e,t){let s=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{let i=r.indexOf("="),[a,o]=i==-1?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,i)),t.decodeValue(r.slice(i+1))],f=s.get(a)||[];f.push(o),s.set(a,f)}),s}var Yt=/%(\d[a-f0-9])/gi,Zt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Qe(e){return encodeURIComponent(e).replace(Yt,(t,s)=>Zt[s]??t)}function J(e){return`${e}`}var T=class e{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new fe,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Wt(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(s=>{let n=t.fromObject[s],r=Array.isArray(n)?n.map(J):[J(n)];this.map.set(s,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let s=this.map.get(t);return s?s[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,s){return this.clone({param:t,value:s,op:"a"})}appendAll(t){let s=[];return Object.keys(t).forEach(n=>{let r=t[n];Array.isArray(r)?r.forEach(i=>{s.push({param:n,value:i,op:"a"})}):s.push({param:n,value:r,op:"a"})}),this.clone(s)}set(t,s){return this.clone({param:t,value:s,op:"s"})}delete(t,s){return this.clone({param:t,value:s,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let s=this.encoder.encodeKey(t);return this.map.get(t).map(n=>s+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let s=new e({encoder:this.encoder});return s.cloneFrom=this.cloneFrom||this,s.updates=(this.updates||[]).concat(t),s}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let s=(t.op==="a"?this.map.get(t.param):void 0)||[];s.push(J(t.value)),this.map.set(t.param,s);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],r=n.indexOf(J(t.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var ge=class{constructor(){this.map=new Map}set(t,s){return this.map.set(t,s),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function Kt(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function et(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function tt(e){return typeof Blob<"u"&&e instanceof Blob}function nt(e){return typeof FormData<"u"&&e instanceof FormData}function Xt(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var $=class e{constructor(t,s,n,r){this.url=s,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let i;if(Kt(this.method)||r?(this.body=n!==void 0?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new C,this.context??=new ge,!this.params)this.params=new T,this.urlWithParams=s;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=s;else{let o=s.indexOf("?"),f=o===-1?"?":od.set(A,t.setHeaders[A]),u)),t.setParams&&(g=Object.keys(t.setParams).reduce((d,A)=>d.set(A,t.setParams[A]),g)),new e(s,n,a,{params:g,headers:u,context:p,reportProgress:f,responseType:r,withCredentials:o,transferCache:i})}},I=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(I||{}),V=class{constructor(t,s=G.Ok,n="OK"){this.headers=t.headers||new C,this.status=t.status!==void 0?t.status:s,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Q=class e extends V{constructor(t={}){super(t),this.type=I.ResponseHeader}clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},P=class e extends V{constructor(t={}){super(t),this.type=I.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},S=class extends V{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},G=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(G||{});function le(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var qt=(()=>{let t=class t{constructor(n){this.handler=n}request(n,r,i={}){let a;if(n instanceof $)a=n;else{let u;i.headers instanceof C?u=i.headers:u=new C(i.headers);let g;i.params&&(i.params instanceof T?g=i.params:g=new T({fromObject:i.params})),a=new $(n,r,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:g,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let o=Y(a).pipe(Ae(u=>this.handler.handle(u)));if(n instanceof $||i.observe==="events")return o;let f=o.pipe(Fe(u=>u instanceof P));switch(i.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return f.pipe(B(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return f.pipe(B(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return f.pipe(B(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return f.pipe(B(u=>u.body))}case"response":return f;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new T().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,le(i,r))}post(n,r,i={}){return this.request("POST",n,le(i,r))}put(n,r,i={}){return this.request("PUT",n,le(i,r))}};t.\u0275fac=function(r){return new(r||t)(E(j))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),Jt=/^\)\]\}',?\n/,Ht="X-Request-URL";function rt(e){if(e.url)return e.url;let t=Ht.toLocaleLowerCase();return e.headers.get(t)}var he=(()=>{let t=class t{constructor(){this.fetchImpl=c(De,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=c(X)}handle(n){return new N(r=>{let i=new AbortController;return this.doRequest(n,i.signal,r).then(pe,a=>r.error(new S({error:a}))),()=>i.abort()})}doRequest(n,r,i){return te(this,null,function*(){let a=this.createRequestInit(n),o;try{let m=this.fetchImpl(n.urlWithParams,W({signal:r},a));Qt(m),i.next({type:I.Sent}),o=yield m}catch(m){i.error(new S({error:m,status:m.status??0,statusText:m.statusText,url:n.urlWithParams,headers:m.headers}));return}let f=new C(o.headers),u=o.statusText,g=rt(o)??n.urlWithParams,p=o.status,d=null;if(n.reportProgress&&i.next(new Q({headers:f,status:p,statusText:u,url:g})),o.body){let m=o.headers.get("content-length"),R=[],l=o.body.getReader(),h=0,F,b,D=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>te(this,null,function*(){for(;;){let{done:M,value:L}=yield l.read();if(M)break;if(R.push(L),h+=L.length,n.reportProgress){b=n.responseType==="text"?(b??"")+(F??=new TextDecoder).decode(L,{stream:!0}):void 0;let me=()=>i.next({type:I.DownloadProgress,total:m?+m:void 0,loaded:h,partialText:b});D?D.run(me):me()}}}));let _=this.concatChunks(R,h);try{let M=o.headers.get("Content-Type")??"";d=this.parseBody(n,_,M)}catch(M){i.error(new S({error:M,headers:new C(o.headers),status:o.status,statusText:o.statusText,url:rt(o)??n.urlWithParams}));return}}p===0&&(p=d?G.Ok:0),p>=200&&p<300?(i.next(new P({body:d,headers:f,status:p,statusText:u,url:g})),i.complete()):i.error(new S({error:d,headers:f,status:p,statusText:u,url:g}))})}parseBody(n,r,i){switch(n.responseType){case"json":let a=new TextDecoder().decode(r).replace(Jt,"");return a===""?null:JSON.parse(a);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},i=n.withCredentials?"include":void 0;if(n.headers.forEach((a,o)=>r[a]=o.join(",")),r.Accept??="application/json, text/plain, */*",!r["Content-Type"]){let a=n.detectContentTypeHeader();a!==null&&(r["Content-Type"]=a)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:i}}concatChunks(n,r){let i=new Uint8Array(r),a=0;for(let o of n)i.set(o,a),a+=o.length;return i}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),De=class{};function pe(){}function Qt(e){e.then(pe,pe)}function en(e,t){return t(e)}function tn(e,t,s){return(n,r)=>Re(s,()=>t(n,i=>e(i,r)))}var ft=new w(""),gt=new w(""),Dt=new w("");var it=(()=>{let t=class t extends j{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=c(xe);let i=c(Dt,{optional:!0});this.backend=i??n}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(ft),...this.injector.get(gt,[])]));this.chain=i.reduceRight((a,o)=>tn(a,o,this.injector),en)}let r=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(Ce(()=>this.pendingTasks.remove(r)))}};t.\u0275fac=function(r){return new(r||t)(E(z),E(Ie))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})();var nn=/^\)\]\}',?\n/;function rn(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var st=(()=>{let t=class t{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new Z(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?Ee(r.\u0275loadImpl()):Y(null)).pipe(be(()=>new N(a=>{let o=r.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((l,h)=>o.setRequestHeader(l,h.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let l=n.detectContentTypeHeader();l!==null&&o.setRequestHeader("Content-Type",l)}if(n.responseType){let l=n.responseType.toLowerCase();o.responseType=l!=="json"?l:"text"}let f=n.serializeBody(),u=null,g=()=>{if(u!==null)return u;let l=o.statusText||"OK",h=new C(o.getAllResponseHeaders()),F=rn(o)||n.url;return u=new Q({headers:h,status:o.status,statusText:l,url:F}),u},p=()=>{let{headers:l,status:h,statusText:F,url:b}=g(),D=null;h!==G.NoContent&&(D=typeof o.response>"u"?o.responseText:o.response),h===0&&(h=D?G.Ok:0);let _=h>=200&&h<300;if(n.responseType==="json"&&typeof D=="string"){let M=D;D=D.replace(nn,"");try{D=D!==""?JSON.parse(D):null}catch(L){D=M,_&&(_=!1,D={error:L,text:D})}}_?(a.next(new P({body:D,headers:l,status:h,statusText:F,url:b||void 0})),a.complete()):a.error(new S({error:D,headers:l,status:h,statusText:F,url:b||void 0}))},d=l=>{let{url:h}=g(),F=new S({error:l,status:o.status||0,statusText:o.statusText||"Unknown Error",url:h||void 0});a.error(F)},A=!1,m=l=>{A||(a.next(g()),A=!0);let h={type:I.DownloadProgress,loaded:l.loaded};l.lengthComputable&&(h.total=l.total),n.responseType==="text"&&o.responseText&&(h.partialText=o.responseText),a.next(h)},R=l=>{let h={type:I.UploadProgress,loaded:l.loaded};l.lengthComputable&&(h.total=l.total),a.next(h)};return o.addEventListener("load",p),o.addEventListener("error",d),o.addEventListener("timeout",d),o.addEventListener("abort",d),n.reportProgress&&(o.addEventListener("progress",m),f!==null&&o.upload&&o.upload.addEventListener("progress",R)),o.send(f),a.next({type:I.Sent}),()=>{o.removeEventListener("error",d),o.removeEventListener("abort",d),o.removeEventListener("load",p),o.removeEventListener("timeout",d),n.reportProgress&&(o.removeEventListener("progress",m),f!==null&&o.upload&&o.upload.removeEventListener("progress",R)),o.readyState!==o.DONE&&o.abort()}})))}};t.\u0275fac=function(r){return new(r||t)(E(q))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})(),pt=new w(""),sn="XSRF-TOKEN",on=new w("",{providedIn:"root",factory:()=>sn}),an="X-XSRF-TOKEN",un=new w("",{providedIn:"root",factory:()=>an}),ee=class{},cn=(()=>{let t=class t{constructor(n,r,i){this.doc=n,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Je(n,this.cookieName),this.lastCookieString=n),this.lastToken}};t.\u0275fac=function(r){return new(r||t)(E(U),E(k),E(on))},t.\u0275prov=y({token:t,factory:t.\u0275fac});let e=t;return e})();function dn(e,t){let s=e.url.toLowerCase();if(!c(pt)||e.method==="GET"||e.method==="HEAD"||s.startsWith("http://")||s.startsWith("https://"))return t(e);let n=c(ee).getToken(),r=c(un);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}var mt=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(mt||{});function ln(e,t){return{\u0275kind:e,\u0275providers:t}}function hr(...e){let t=[qt,st,it,{provide:j,useExisting:it},{provide:z,useExisting:st},{provide:ft,useValue:dn,multi:!0},{provide:pt,useValue:!0},{provide:ee,useClass:cn}];for(let s of e)t.push(...s.\u0275providers);return Te(t)}function fr(){return ln(mt.Fetch,[he,{provide:z,useExisting:he},{provide:Dt,useExisting:he}])}var ot="b",at="h",ut="s",ct="st",dt="u",lt="rt",H=new w(""),hn=["GET","HEAD"];function fn(e,t){let p=c(H),{isCacheActive:s}=p,n=ye(p,["isCacheActive"]),{transferCache:r,method:i}=e;if(!s||i==="POST"&&!n.includePostRequests&&!r||i!=="POST"&&!hn.includes(i)||r===!1||n.filter?.(e)===!1)return t(e);let a=c(ie),o=Dn(e),f=a.get(o,null),u=n.includeHeaders;if(typeof r=="object"&&r.includeHeaders&&(u=r.includeHeaders),f){let{[ot]:d,[lt]:A,[at]:m,[ut]:R,[ct]:l,[dt]:h}=f,F=d;switch(A){case"arraybuffer":F=new TextEncoder().encode(d).buffer;break;case"blob":F=new Blob([d]);break}let b=new C(m);return Y(new P({body:F,headers:b,status:R,statusText:l,url:h}))}let g=de(c(k));return t(e).pipe(ve(d=>{d instanceof P&&g&&a.set(o,{[ot]:d.body,[at]:gn(d.headers,u),[ut]:d.status,[ct]:d.statusText,[dt]:d.url||"",[lt]:e.responseType})}))}function gn(e,t){if(!t)return{};let s={};for(let n of t){let r=e.getAll(n);r!==null&&(s[n]=r)}return s}function ht(e){return[...e.keys()].sort().map(t=>`${t}=${e.getAll(t)}`).join("&")}function Dn(e){let{params:t,method:s,responseType:n,url:r}=e,i=ht(t),a=e.serializeBody();a instanceof URLSearchParams?a=ht(a):typeof a!="string"&&(a="");let o=[s,n,r,a,i].join("|"),f=pn(o);return f}function pn(e){let t=0;for(let s of e)t=Math.imul(31,t)+s.charCodeAt(0)<<0;return t+=2147483648,t.toString()}function gr(e){return[{provide:H,useFactory:()=>(K("NgHttpTransferCache"),W({isCacheActive:!0},e))},{provide:gt,useValue:fn,multi:!0,deps:[ie,H]},{provide:$e,multi:!0,useFactory:()=>{let t=c(je),s=c(H);return()=>{ze(t).then(()=>{s.isCacheActive=!1})}}}]}export{ue as a,Zn as b,Ge as c,U as d,ce as e,vt as f,Je as g,Kn as h,Xn as i,Ot as j,qn as k,de as l,q as m,Jn as n,qt as o,hr as p,fr as q,gr as r,er as s}; diff --git a/chunk-W6HWWYOS.js b/chunk-CQNN4SU6.js similarity index 77% rename from chunk-W6HWWYOS.js rename to chunk-CQNN4SU6.js index dea5028..faa993c 100644 --- a/chunk-W6HWWYOS.js +++ b/chunk-CQNN4SU6.js @@ -1 +1 @@ -import{c as I}from"./chunk-7ARKW5W4.js";import{o as y,s as x}from"./chunk-7IMKBQP2.js";import{$ as c,$a as u,Ka as l,Pa as s,T as r,Va as m,Wa as f,_ as a,bb as d,d as o,eb as h,lb as g,ob as v,pa as p,tb as C}from"./chunk-HTB7U7SQ.js";function z(e,t){if(e&1&&g(0,"span",0),e&2){let T=v();d("innerHTML",T.svgContent(),l)}}var F=(()=>{let t=class t{constructor(n,i){this.httpClient=n,this.sanitizer=i,this.href=p.required(),this.svgContent=m(null)}ngOnInit(){return o(this,null,function*(){this.svgContent.set(this.sanitizer.bypassSecurityTrustHtml(yield x(this.httpClient.get(this.href(),{responseType:"text"}))))})}};t.\u0275fac=function(i){return new(i||t)(s(y),s(I))},t.\u0275cmp=c({type:t,selectors:[["inline-svg"]],inputs:{href:[a.SignalBased,"href"]},standalone:!0,features:[C],decls:1,vars:1,consts:[[3,"innerHTML"]],template:function(i,H){i&1&&u(0,z,1,1,"span",0),i&2&&h(0,H.svgContent()?0:-1)}});let e=t;return e})();var O=(()=>{let t=class t{constructor(){this.dark=f(!1)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=r({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();export{F as a,O as b}; +import{c as I}from"./chunk-DIHZTFHE.js";import{o as y,r as x}from"./chunk-PL5LST3Q.js";import{$ as c,Ja as l,Oa as s,T as r,Ua as m,Va as f,_ as a,_a as u,ab as d,d as o,db as h,kb as g,nb as v,pa as p,sb as C}from"./chunk-RAGRZUZJ.js";function z(e,t){if(e&1&&g(0,"span",0),e&2){let T=v();d("innerHTML",T.svgContent(),l)}}var F=(()=>{let t=class t{constructor(n,i){this.httpClient=n,this.sanitizer=i,this.href=p.required(),this.svgContent=m(null)}ngOnInit(){return o(this,null,function*(){this.svgContent.set(this.sanitizer.bypassSecurityTrustHtml(yield x(this.httpClient.get(this.href(),{responseType:"text"}))))})}};t.\u0275fac=function(i){return new(i||t)(s(y),s(I))},t.\u0275cmp=c({type:t,selectors:[["inline-svg"]],inputs:{href:[a.SignalBased,"href"]},standalone:!0,features:[C],decls:1,vars:1,consts:[[3,"innerHTML"]],template:function(i,H){i&1&&u(0,z,1,1,"span",0),i&2&&h(0,H.svgContent()?0:-1)}});let e=t;return e})();var O=(()=>{let t=class t{constructor(){this.dark=f(!1)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=r({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();export{F as a,O as b}; diff --git a/chunk-CROQAFQK.js b/chunk-CROQAFQK.js new file mode 100644 index 0000000..d4f5af5 --- /dev/null +++ b/chunk-CROQAFQK.js @@ -0,0 +1 @@ +import{a as K,b as N,c as D}from"./chunk-NRZ5RORX.js";import{a as $,b as H}from"./chunk-CQNN4SU6.js";import{b as E,j}from"./chunk-DIHZTFHE.js";import{i as V,r as f}from"./chunk-PL5LST3Q.js";import{$ as C,Ja as b,Na as n,Oa as c,Ua as x,_a as g,ab as F,cb as m,d as v,db as u,fb as P,gb as _,hb as q,ia as k,ib as o,ja as w,jb as l,kb as p,lb as S,mb as T,nb as d,pb as y,qb as h,sb as I,xb as M,zb as O}from"./chunk-RAGRZUZJ.js";var B=(t,i)=>i.question;function L(t,i){if(t&1&&(o(0,"h2",9),y(1),l()),t&2){let e=d().$implicit;n(),h(e.key)}}function A(t,i){if(t&1){let e=S();o(0,"h3")(1,"button",10),T("click",function(){let r=k(e).$implicit,s=d(3);return w(s.selectedFaq.set(s.selectedFaq()===r.question?null:r.question))}),o(2,"span"),y(3),l(),p(4,"inline-svg",11),l()(),o(5,"div")(6,"div",12),p(7,"div",13),l()()}if(t&2){let e=i.$implicit,a=d(3);n(),m("text-gray-500",a.selectedFaq()!==e.question)("dark:text-gray-400",a.selectedFaq()!==e.question)("text-gray-900",a.selectedFaq()===e.question)("dark:text-white",a.selectedFaq()===e.question)("font-bold",a.selectedFaq()===e.question),n(2),h(e.question),n(),m("rotate-180",a.selectedFaq()===e.question),n(),m("hidden",a.selectedFaq()!==e.question),n(2),F("innerHTML",e.answer,b)}}function G(t,i){if(t&1&&(g(0,L,2,1,"h2",9),_(1,A,8,16,null,null,B)),t&2){let e=i.$implicit;u(0,e.key!==""?0:-1),n(),q(e.value)}}function J(t,i){if(t&1&&(o(0,"section",5)(1,"div",6)(2,"div",7)(3,"div",8),_(4,G,3,1,null,null,P),M(6,"keyvalue"),l()()()()),t&2){let e=d();n(4),q(O(6,0,e.faq(),e.NoSorterKeyValue))}}var oe=(()=>{let i=class i{constructor(a,r,s,z){this.title=a,this.translator=r,this.dataService=s,this.footerColor=z,this.NoSorterKeyValue=K,this.faq=x(new Map),this.selectedFaq=x(null)}ngOnInit(){return v(this,null,function*(){this.title.setTitle((yield f(this.translator.get("frequently_asked_questions")))+" | "+(yield f(this.translator.get("app_title")))),this.faq.set(yield f(this.dataService.faq)),this.footerColor.dark.set(!0)})}};i.\u0275fac=function(r){return new(r||i)(c(E),c(D),c(N),c(H))},i.\u0275cmp=C({type:i,selectors:[["app-faq"]],standalone:!0,features:[I],decls:6,vars:1,consts:[[1,"bg-white","dark:bg-gray-900"],[1,"grid","max-w-screen-xl","px-4","pt-20","pb-8","mx-auto","lg:gap-8","xl:gap-0","lg:py-16","lg:pt-28"],[1,"mr-auto","place-self-center","lg:col-span-7"],[1,"mb-4","text-4xl","font-extrabold","leading-none","tracking-tight","md:text-5xl","xl:text-6xl","dark:text-white"],["key","frequently_asked_questions"],[1,"bg-gray-50","dark:bg-gray-800"],[1,"max-w-screen-xl","px-4","pb-8","mx-auto","lg:pb-24","lg:px-6"],[1,"max-w-screen-xl","mx-auto"],["data-active-classes","bg-white dark:bg-gray-900 text-gray-900 dark:text-white","data-inactive-classes","text-gray-500 dark:text-gray-400"],[1,"mt-12","text-3xl","font-extrabold","tracking-tight","text-center","text-gray-900","lg:text-3xl","dark:text-white"],["type","button",1,"flex","items-center","justify-between","w-full","py-5","font-medium","text-left","border-b","border-gray-200","dark:border-gray-700",3,"click"],["href","assets/img/faq-closed.svg"],[1,"py-5","border-b","border-gray-200","dark:border-gray-700","faq-answer"],[3,"innerHTML"]],template:function(r,s){r&1&&(o(0,"section",0)(1,"div",1)(2,"div",2)(3,"h1",3),p(4,"transloco",4),l()()()(),g(5,J,7,3,"section",5)),r&2&&(n(5),u(5,s.faq()?5:-1))},dependencies:[j,V,$],styles:["[_nghost-%COMP%] .faq-answer p, [_nghost-%COMP%] .faq-answer ul{margin-bottom:.5rem;color:#6b7280;margin-top:.2rem}[_nghost-%COMP%] .faq-answer li{list-style-type:disc;margin-left:18px;padding-left:18px;margin-bottom:.5rem}[_nghost-%COMP%] .faq-answer a{text-decoration:underline}[_nghost-%COMP%] .faq-answer a:hover{text-decoration:none;color:#25282d}.dark [_nghost-%COMP%] .faq-answer p, .dark [_nghost-%COMP%] .faq-answer ul{color:#9ca3af}.dark [_nghost-%COMP%] .faq-answer a:hover{color:#f1f2f3}"]});let t=i;return t})();export{oe as FaqComponent}; diff --git a/chunk-DYGX4LV3.js b/chunk-DH5IGYXT.js similarity index 64% rename from chunk-DYGX4LV3.js rename to chunk-DH5IGYXT.js index d70d74e..00fec81 100644 --- a/chunk-DYGX4LV3.js +++ b/chunk-DH5IGYXT.js @@ -1 +1 @@ -import{$ as o,jb as s,kb as r,qb as i,tb as a}from"./chunk-HTB7U7SQ.js";var d=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=o({type:e,selectors:[["app-sponsors"]],standalone:!0,features:[a],decls:2,vars:0,template:function(n,c){n&1&&(s(0,"p"),i(1,"sponsors works!"),r())}});let t=e;return t})();export{d as SponsorsComponent}; +import{$ as o,ib as s,jb as r,pb as i,sb as a}from"./chunk-RAGRZUZJ.js";var d=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=o({type:e,selectors:[["app-sponsors"]],standalone:!0,features:[a],decls:2,vars:0,template:function(n,c){n&1&&(s(0,"p"),i(1,"sponsors works!"),r())}});let t=e;return t})();export{d as SponsorsComponent}; diff --git a/chunk-DIHZTFHE.js b/chunk-DIHZTFHE.js new file mode 100644 index 0000000..c59dfde --- /dev/null +++ b/chunk-DIHZTFHE.js @@ -0,0 +1,2 @@ +import{a as Ae,b as Mt,c as At,d as L,g as Ct,j as It,l as Ce,m as Dt}from"./chunk-PL5LST3Q.js";import{$ as Te,A as ot,Aa as $,Ba as yt,Ca as mt,D as at,Da as Tt,Ea as St,F as me,Fa as bt,Ga as Lt,H as ct,Ha as wt,Hb as Me,Ia as F,Jb as Rt,K as lt,M as se,Ma as z,Mb as Ot,N as ut,Oa as b,P as O,Pa as Et,Q as dt,R as ft,S as M,Sa as G,T as p,Ua as Re,V as y,X as f,Y as A,Z as K,_ as k,a as v,b as j,ba as ht,c as tt,ca as C,da as pt,e as nt,g as rt,ga as Se,j as it,k as re,ka as oe,l as ie,m as ve,n as R,na as be,oa as U,qa as Le,s as S,sa as gt,sb as Oe,t as E,ta as we,ua as vt,v as st,va as B,wa as Ee,x as ye,za as P}from"./chunk-RAGRZUZJ.js";var Ne=class extends At{constructor(){super(...arguments),this.supportsDOMEvents=!0}},je=class n extends Ne{static makeCurrent(){Mt(new n)}onAndCancel(r,e,t){return r.addEventListener(e,t),()=>{r.removeEventListener(e,t)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.parentNode&&r.parentNode.removeChild(r)}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=dn();return e==null?null:fn(e)}resetBaseElement(){Y=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return Ct(document.cookie,r)}},Y=null;function dn(){return Y=Y||document.querySelector("base"),Y?Y.getAttribute("href"):null}function fn(n){return new URL(n,document.baseURI).pathname}var hn=(()=>{let r=class r{build(){return new XMLHttpRequest}};r.\u0275fac=function(i){return new(i||r)},r.\u0275prov=p({token:r,factory:r.\u0275fac});let n=r;return n})(),ke=new y(""),Pt=(()=>{let r=class r{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(s=>{s.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,s){return this._findPluginFor(i).addEventListener(t,i,s)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new M(5101,!1);return this._eventNameToPlugin.set(t,i),i}};r.\u0275fac=function(i){return new(i||r)(f(ke),f(G))},r.\u0275prov=p({token:r,factory:r.\u0275fac});let n=r;return n})(),ae=class{constructor(r){this._doc=r}},Ie="ng-app-id",$t=(()=>{let r=class r{constructor(t,i,s,o={}){this.doc=t,this.appId=i,this.nonce=s,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ce(o),this.resetHostNodes()}addStyles(t){for(let i of t)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(t){for(let i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){let i=this.styleRef;i.get(t)?.elements?.forEach(s=>s.remove()),i.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${Ie}="${this.appId}"]`);if(t?.length){let i=new Map;return t.forEach(s=>{s.textContent!=null&&i.set(s.textContent,s)}),i}return null}changeUsageCount(t,i){let s=this.styleRef;if(s.has(t)){let o=s.get(t);return o.usage+=i,o.usage}return s.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){let s=this.styleNodesInDOM,o=s?.get(i);if(o?.parentNode===t)return s.delete(i),o.removeAttribute(Ie),o;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Ie,this.appId),t.appendChild(a),a}}addStyleToHost(t,i){let s=this.getStyleElement(t,i),o=this.styleRef,a=o.get(i)?.elements;a?a.push(s):o.set(i,{elements:[s],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};r.\u0275fac=function(i){return new(i||r)(f(L),f(we),f(Ee,8),f(B))},r.\u0275prov=p({token:r,factory:r.\u0275fac});let n=r;return n})(),De={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/MathML/"},xe=/%COMP%/g,Ht="%COMP%",pn=`_nghost-${Ht}`,gn=`_ngcontent-${Ht}`,vn=!0,yn=new y("",{providedIn:"root",factory:()=>vn});function mn(n){return gn.replace(xe,n)}function Tn(n){return pn.replace(xe,n)}function Vt(n,r){return r.map(e=>e.replace(xe,n))}var Nt=(()=>{let r=class r{constructor(t,i,s,o,a,c,l,u=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=s,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=Ce(c),this.defaultRenderer=new Z(t,a,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===K.ShadowDom&&(i=j(v({},i),{encapsulation:K.Emulated}));let s=this.getOrCreateRenderer(t,i);return s instanceof ce?s.applyToHost(t):s instanceof W&&s.applyStyles(),s}getOrCreateRenderer(t,i){let s=this.rendererByCompId,o=s.get(i.id);if(!o){let a=this.doc,c=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(i.encapsulation){case K.Emulated:o=new ce(l,u,i,this.appId,d,a,c,h);break;case K.ShadowDom:return new Fe(l,u,t,i,a,c,this.nonce,h);default:o=new W(l,u,i,d,a,c,h);break}s.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}};r.\u0275fac=function(i){return new(i||r)(f(Pt),f($t),f(we),f(yn),f(L),f(B),f(G),f(Ee))},r.\u0275prov=p({token:r,factory:r.\u0275fac});let n=r;return n})(),Z=class{constructor(r,e,t,i){this.eventManager=r,this.doc=e,this.ngZone=t,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(r,e){return e?this.doc.createElementNS(De[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(jt(r)?r.content:r).appendChild(e)}insertBefore(r,e,t){r&&(jt(r)?r.content:r).insertBefore(e,t)}removeChild(r,e){r&&r.removeChild(e)}selectRootElement(r,e){let t=typeof r=="string"?this.doc.querySelector(r):r;if(!t)throw new M(-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 s=De[i];s?r.setAttributeNS(s,e,t):r.setAttribute(e,t)}else r.setAttribute(e,t)}removeAttribute(r,e,t){if(t){let i=De[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&(z.DashCase|z.Important)?r.style.setProperty(e,t,i&z.Important?"important":""):r.style[e]=t}removeStyle(r,e,t){t&z.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){if(typeof r=="string"&&(r=Ae().getGlobalEventTarget(this.doc,r),!r))throw new Error(`Unsupported event target ${r} for event ${e}`);return this.eventManager.addEventListener(r,e,this.decoratePreventDefault(t))}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;(this.platformIsServer?this.ngZone.runGuarded(()=>r(e)):r(e))===!1&&e.preventDefault()}}};function jt(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Fe=class extends Z{constructor(r,e,t,i,s,o,a,c){super(r,s,o,c),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=Vt(i.id,i.styles);for(let u of l){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}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(this.nodeOrShadowRoot(r),e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},W=class extends Z{constructor(r,e,t,i,s,o,a,c){super(r,s,o,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i,this.styles=c?Vt(c,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ce=class extends W{constructor(r,e,t,i,s,o,a,c){let l=i+"-"+t.id;super(r,e,t,s,o,a,c,l),this.contentAttr=mn(l),this.hostAttr=Tn(l)}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}},Sn=(()=>{let r=class r extends ae{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,s){return t.addEventListener(i,s,!1),()=>this.removeEventListener(t,i,s)}removeEventListener(t,i,s){return t.removeEventListener(i,s)}};r.\u0275fac=function(i){return new(i||r)(f(L))},r.\u0275prov=p({token:r,factory:r.\u0275fac});let n=r;return n})(),kt=["alt","control","meta","shift"],bn={"\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"},Ln={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},wn=(()=>{let r=class r extends ae{constructor(t){super(t)}supports(t){return r.parseEventName(t)!=null}addEventListener(t,i,s){let o=r.parseEventName(i),a=r.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ae().onAndCancel(t,o.domEventName,a))}static parseEventName(t){let i=t.toLowerCase().split("."),s=i.shift();if(i.length===0||!(s==="keydown"||s==="keyup"))return null;let o=r._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),kt.forEach(u=>{let d=i.indexOf(u);d>-1&&(i.splice(d,1),a+=u+".")}),a+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=s,l.fullKey=a,l}static matchEventFullKeyCode(t,i){let s=bn[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(s=t.code,o="code."),s==null||!s?!1:(s=s.toLowerCase(),s===" "?s="space":s==="."&&(s="dot"),kt.forEach(a=>{if(a!==s){let c=Ln[a];c(t)&&(o+=a+".")}}),o+=s,o===i)}static eventCallback(t,i,s){return o=>{r.matchEventFullKeyCode(o,t)&&s.runGuarded(()=>i(o))}}static _normalizeKey(t){return t==="esc"?"escape":t}};r.\u0275fac=function(i){return new(i||r)(f(L))},r.\u0275prov=p({token:r,factory:r.\u0275fac});let n=r;return n})();function Yr(n,r){return Rt(v({rootComponent:n},En(r)))}function En(n){return{appProviders:[...Cn,...n?.providers??[]],platformProviders:An}}function Rn(){je.makeCurrent()}function On(){return new be}function Mn(){return gt(document),document}var An=[{provide:B,useValue:It},{provide:vt,useValue:Rn,multi:!0},{provide:L,useFactory:Mn,deps:[]}];var Cn=[{provide:pt,useValue:"root"},{provide:be,useFactory:On,deps:[]},{provide:ke,useClass:Sn,multi:!0,deps:[L,G,B]},{provide:ke,useClass:wn,multi:!0,deps:[L]},Nt,$t,Pt,{provide:Et,useExisting:Nt},{provide:Dt,useClass:hn,deps:[]},[]];var Zr=(()=>{let r=class r{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};r.\u0275fac=function(i){return new(i||r)(f(L))},r.\u0275prov=p({token:r,factory:r.\u0275fac,providedIn:"root"});let n=r;return n})();var In=(()=>{let r=class r{};r.\u0275fac=function(i){return new(i||r)},r.\u0275prov=p({token:r,factory:function(i){let s=null;return i?s=new(i||r):s=f(Dn),s},providedIn:"root"});let n=r;return n})(),Dn=(()=>{let r=class r extends In{constructor(t){super(),this._doc=t}sanitize(t,i){if(i==null)return null;switch(t){case F.NONE:return i;case F.HTML:return $(i,"HTML")?P(i):wt(this._doc,String(i)).toString();case F.STYLE:return $(i,"Style")?P(i):i;case F.SCRIPT:if($(i,"Script"))return P(i);throw new M(5200,!1);case F.URL:return $(i,"URL")?P(i):Lt(String(i));case F.RESOURCE_URL:if($(i,"ResourceURL"))return P(i);throw new M(5201,!1);default:throw new M(5202,!1)}}bypassSecurityTrustHtml(t){return yt(t)}bypassSecurityTrustStyle(t){return mt(t)}bypassSecurityTrustScript(t){return Tt(t)}bypassSecurityTrustUrl(t){return St(t)}bypassSecurityTrustResourceUrl(t){return bt(t)}};r.\u0275fac=function(i){return new(i||r)(f(L))},r.\u0275prov=p({token:r,factory:r.\u0275fac,providedIn:"root"});let n=r;return n})();function _e(n){n||(Se(_e),n=A(U));let r=new rt(e=>n.onDestroy(e.next.bind(e)));return e=>e.pipe(dt(r))}function jn(n,r){let e=!r?.manualCleanup;e&&!r?.injector&&Se(jn);let t=e?r?.injector?.get(U)??A(U):null,i;r?.requireSync?i=Re({kind:0}):i=Re({kind:1,value:r?.initialValue});let s=n.subscribe({next:o=>i.set({kind:1,value:o}),error:o=>{if(r?.rejectErrors)throw o;i.set({kind:2,error:o})}});return t?.onDestroy(s.unsubscribe.bind(s)),Ot(()=>{let o=i();switch(o.kind){case 1:return o.value;case 2:throw o.error;case 0:throw new M(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}function Kt(n){return n&&n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}function Ut(n){return n}function Pe(n,r){r=r||{};let e=r.delimiter||".",t=r.maxDepth,i=r.transformKey||Ut,s={};function o(a,c,l){l=l||1,Object.keys(a).forEach(function(u){let d=a[u],h=r.safe&&Array.isArray(d),m=Object.prototype.toString.call(d),T=Kt(d),_=m==="[object Object]"||m==="[object Array]",D=c?c+e+i(u):i(u);if(!h&&!T&&_&&Object.keys(d).length&&(!r.maxDepth||l0&&(h=a(d.shift()),m=a(d[0]))}T[h]=$e(n[u],r)}),s}var Ke=class{translations;constructor(r){this.translations=r}getTranslation(r){return R(this.translations.get(r)||{})}},Gt=new y("TRANSLOCO_LOADER");function He(n,r){return n&&(Object.prototype.hasOwnProperty.call(n,r)?n[r]:r.split(".").reduce((e,t)=>e?.[t],n))}function kn(n,r,e){n=v({},n);let t=r.split("."),i=t.length-1;return t.reduce((s,o,a)=>(a===i?s[o]=e:s[o]=Array.isArray(s[o])?s[o].slice():v({},s[o]),s&&s[o]),n),n}function Yt(n){return n?Array.isArray(n)?n.length:Ge(n)?Object.keys(n).length:n?n.length:0:0}function Fn(n){return Yt(n)===0}function xn(n){return typeof n=="function"}function q(n){return typeof n=="string"}function Ge(n){return!!n&&typeof n=="object"&&!Array.isArray(n)}function Zt(n){return n.replace(/(?:^\w|[A-Z]|\b\w)/g,(r,e)=>e==0?r.toLowerCase():r.toUpperCase()).replace(/\s+|_|-|\//g,"")}function Ue(n){return n==null}function Bt(n){return Ue(n)===!1}function Wt(n){return n&&typeof n.scope=="string"}function _n(n){return n&&Ge(n.loader)}function Pn(n){return $e(n)}function zt(n){return Pe(n,{safe:!0})}var H=new y("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>J}),J={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"]};function $n(n={}){return j(v(v({},J),n),{missingHandler:v(v({},J.missingHandler),n.missingHandler),flatten:v(v({},J.flatten),n.flatten)})}var le=new y("TRANSLOCO_TRANSPILER"),Hn=(()=>{class n{config=A(H,{optional:!0})??J;get interpolationMatcher(){return Vn(this.config)}transpile({value:e,params:t={},translation:i,key:s}){if(q(e)){let o,a=e;for(;(o=this.interpolationMatcher.exec(a))!==null;){let[c,l]=o;a=a.replace(c,()=>{let u=l.trim(),d=He(t,u);return Bt(d)?d:Bt(i[u])?this.transpile({params:t,translation:i,key:s,value:i[u]}):""})}return a}else t&&(Ge(e)?e=this.handleObject({value:e,params:t,translation:i,key:s}):Array.isArray(e)&&(e=this.handleArray({value:e,params:t,translation:i,key:s})));return e}handleObject({value:e,params:t={},translation:i,key:s}){let o=e;return Object.keys(t).forEach(a=>{let c=this.transpile({value:He(o,a),params:He(t,a),translation:i,key:s});o=kn(o,a,c)}),o}handleArray(i){var s=i,{value:e}=s,t=tt(s,["value"]);return e.map(o=>this.transpile(v({value:o},t)))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})();function Vn(n){let[r,e]=n.interpolation;return new RegExp(`${r}([^${r}${e}]*?)${e}`,"g")}var ue=new y("TRANSLOCO_MISSING_HANDLER"),Kn=(()=>{class n{handle(e,t){if(t.missingHandler.logMissingKey&&!t.prodMode){let i=`Missing translation for '${e}'`;console.warn(`%c ${i}`,"font-size: 12px; color: red")}return e}static \u0275fac=function(t){return new(t||n)};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})(),qt=new y("TRANSLOCO_INTERCEPTOR"),Un=(()=>{class n{preSaveTranslation(e){return e}preSaveTranslationKey(e,t){return t}static \u0275fac=function(t){return new(t||n)};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})(),Jt=new y("TRANSLOCO_FALLBACK_STRATEGY"),Bn=(()=>{class n{userConfig;constructor(e){this.userConfig=e}getNextLangs(){let e=this.userConfig.fallbackLang;if(!e)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(e)?e:[e]}static \u0275fac=function(t){return new(t||n)(f(H))};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})();function X(n){if(!n)return"";let r=n.split("/");return r.pop(),r.join("/")}function I(n){return n?n.split("/").pop():""}function Q(n,r,e="|"){if(q(n)){let t=n.split(e),i=t.pop();return i===r?[!0,t.toString()]:[!1,i]}return[!1,""]}function zn(n,r){let[e]=Q(r,"static");return e?!1:!!n.config.reRenderOnLangChange}function Gn(n){return n?r=>r:at(1)}function Yn(n,r){return Object.keys(n).reduce((e,t)=>(e[`${r}/${t}`]=n[t],e),{})}function Xt(n,r){return _n(n)?Yn(n.loader,r):void 0}function Ve(n){return{scope:X(n)||null,langName:I(n)}}function Qt(n){let{path:r,inlineLoader:e,mainLoader:t,data:i}=n;if(e){let s=e[r];if(xn(s)===!1)throw`You're using an inline loader but didn't provide a loader for ${r}`;return e[r]().then(o=>o.default?o.default:o)}return t.getTranslation(r,i)}function Zn({mainLoader:n,path:r,data:e,fallbackPath:t,inlineLoader:i}){return(t?[r,t]:[r]).map(o=>{let a=Qt({path:o,mainLoader:n,inlineLoader:i,data:e});return ve(a).pipe(S(c=>({translation:c,lang:o})))})}var Wn;var Ye=(()=>{class n{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new it;events$=this.events.asObservable();config;constructor(e,t,i,s,o,a){this.loader=e,this.parser=t,this.missingHandler=i,this.interceptor=s,this.fallbackStrategy=a,this.loader||(this.loader=new Ke(this.translations)),Wn=this,this.config=JSON.parse(JSON.stringify(o)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new re(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.events$.pipe(_e()).subscribe(c=>{c.type==="translationLoadSuccess"&&c.wasFailure&&this.setActiveLang(c.payload.langName)})}getDefaultLang(){return this.defaultLang}setDefaultLang(e){this.defaultLang=e}getActiveLang(){return this.lang.getValue()}setActiveLang(e){return this.parser.onLangChanged?.(e),this.lang.next(e),this.events.next({type:"langChanged",payload:Ve(e)}),this}setAvailableLangs(e){this.availableLangs=e}getAvailableLangs(){return this.availableLangs}load(e,t={}){let i=this.cache.get(e);if(i)return i;let s,o=this._isLangScoped(e),a;o&&(a=X(e));let c={path:e,mainLoader:this.loader,inlineLoader:t.inlineLoader,data:o?{scope:a}:void 0};if(this.useFallbackTranslation(e)){let u=o?`${a}/${this.firstFallbackLang}`:this.firstFallbackLang,d=Zn(j(v({},c),{fallbackPath:u}));s=ye(d)}else{let u=Qt(c);s=ve(u)}let l=s.pipe(lt(this.config.failedRetries),ft(u=>{if(Array.isArray(u)){u.forEach(d=>{this.handleSuccess(d.lang,d.translation),d.lang!==e&&this.cache.set(d.lang,R({}))});return}this.handleSuccess(e,u)}),ot(u=>(this.config.prodMode||console.error(`Error while trying to load "${e}"`,u),this.handleFailure(e,t))),se(1));return this.cache.set(e,l),l}translate(e,t={},i=this.getActiveLang()){if(!e)return e;let{scope:s,resolveLang:o}=this.resolveLangAndScope(i);if(Array.isArray(e))return e.map(l=>this.translate(s?`${s}.${l}`:l,t,o));e=s?`${s}.${e}`:e;let a=this.getTranslation(o),c=a[e];return c?this.parser.transpile({value:c,params:t,translation:a,key:e}):this._handleMissingKey(e,c,t)}selectTranslate(e,t,i,s=!1){let o,a=(l,u)=>this.load(l,u).pipe(S(()=>s?this.translateObject(e,t,l):this.translate(e,t,l)));if(Ue(i))return this.langChanges$.pipe(O(l=>a(l)));if(i=Array.isArray(i)?i[0]:i,Wt(i)){let l=i;i=l.scope,o=Xt(l,l.scope)}if(i=i,this.isLang(i)||this.isScopeWithLang(i))return a(i);let c=i;return this.langChanges$.pipe(O(l=>a(`${c}/${l}`,{inlineLoader:o})))}isScopeWithLang(e){return this.isLang(I(e))}translateObject(e,t={},i=this.getActiveLang()){if(q(e)||Array.isArray(e)){let{resolveLang:o,scope:a}=this.resolveLangAndScope(i);if(Array.isArray(e))return e.map(u=>this.translateObject(a?`${a}.${u}`:u,t,o));let c=this.getTranslation(o);e=a?`${a}.${e}`:e;let l=Pn(this.getObjectByKey(c,e));return Fn(l)?this.translate(e,t,i):this.parser.transpile({value:l,params:t,translation:c,key:e})}let s=[];for(let[o,a]of this.getEntries(e))s.push(this.translateObject(o,a,i));return s}selectTranslateObject(e,t,i){if(q(e)||Array.isArray(e))return this.selectTranslate(e,t,i,!0);let[[s,o],...a]=this.getEntries(e);return this.selectTranslateObject(s,o,i).pipe(S(c=>{let l=[c];for(let[u,d]of a)l.push(this.translateObject(u,d,i));return l}))}getTranslation(e){if(e){if(this.isLang(e))return this.translations.get(e)||{};{let{scope:t,resolveLang:i}=this.resolveLangAndScope(e),s=this.translations.get(i)||{};return this.getObjectByKey(s,t)}}return this.translations}selectTranslation(e){let t=this.langChanges$;if(e){let i=I(e)!==e;this.isLang(e)||i?t=R(e):t=this.langChanges$.pipe(S(s=>`${e}/${s}`))}return t.pipe(O(i=>this.load(i).pipe(S(()=>this.getTranslation(i)))))}setTranslation(e,t=this.getActiveLang(),i={}){let o=v(v({},{merge:!0,emitChange:!0}),i),a=X(t),c=e;if(a){let m=this.getMappedScope(a);c=zt({[m]:e})}let l=a?I(t):t,u=v(v({},o.merge&&this.getTranslation(l)),c),d=this.config.flatten.aot?u:zt(u),h=this.interceptor.preSaveTranslation(d,l);this.translations.set(l,h),o.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(e,t,i={}){let s=i.lang||this.getActiveLang(),o=this.interceptor.preSaveTranslationKey(e,t,s),a={[e]:o};this.setTranslation(a,s,j(v({},i),{merge:!0}))}setFallbackLangForMissingTranslation({fallbackLang:e}){let t=Array.isArray(e)?e[0]:e;e&&this.useFallbackTranslation(t)&&(this.firstFallbackLang=t)}_handleMissingKey(e,t,i){if(this.config.missingHandler.allowEmpty&&t==="")return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;let s=this.translate(e,i,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,s}return this.missingHandler.handle(e,this.getMissingHandlerData(),i)}_isLangScoped(e){return this.getAvailableLangsIds().indexOf(e)===-1}isLang(e){return this.getAvailableLangsIds().indexOf(e)!==-1}_loadDependencies(e,t){let i=I(e);return this._isLangScoped(e)&&!this.isLoadedTranslation(i)?E([this.load(i),this.load(e,{inlineLoader:t})]):this.load(e,{inlineLoader:t})}_completeScopeWithLang(e){return this._isLangScoped(e)&&!this.isLang(I(e))?`${e}/${this.getActiveLang()}`:e}_setScopeAlias(e,t){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[e]=t}ngOnDestroy(){this.cache.clear()}isLoadedTranslation(e){return Yt(this.getTranslation(e))}getAvailableLangsIds(){let e=this.getAvailableLangs()[0];return q(e)?this.getAvailableLangs():this.getAvailableLangs().map(t=>t.id)}getMissingHandlerData(){return j(v({},this.config),{activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang})}useFallbackTranslation(e){return this.config.missingHandler.useFallbackTranslation&&e!==this.firstFallbackLang}handleSuccess(e,t){this.setTranslation(t,e,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:Ve(e)}),this.failedLangs.forEach(i=>this.cache.delete(i)),this.failedLangs.clear()}handleFailure(e,t){Ue(t.failedCounter)&&(t.failedCounter=0,t.fallbackLangs||(t.fallbackLangs=this.fallbackStrategy.getNextLangs(e)));let i=e.split("/"),o=t.fallbackLangs[t.failedCounter];if(this.failedLangs.add(e),this.cache.has(o))return this.handleSuccess(o,this.getTranslation(o)),ie;let a=o===i[i.length-1];if(!o||a){let l="Unable to load translation and all the fallback languages";throw i.length>1&&(l+=", did you misspelled the scope name?"),new Error(l)}let c=o;return i.length>1&&(i[i.length-1]=o,c=i.join("/")),t.failedCounter++,this.events.next({type:"translationLoadFailure",payload:Ve(e)}),this.load(c,t)}getMappedScope(e){let{scopeMapping:t={}}=this.config;return t[e]||Zt(e)}resolveLangAndScope(e){let t=e,i;if(this._isLangScoped(e)){let s=I(e),o=this.isLang(s);t=o?s:this.getActiveLang(),i=this.getMappedScope(o?X(e):e)}return{scope:i,resolveLang:t}}getObjectByKey(e,t){let i={},s=`${t}.`;for(let o in e)o.startsWith(s)&&(i[o.replace(s,"")]=e[o]);return i}getEntries(e){return e instanceof Map?e.entries():Object.entries(e)}static \u0275fac=function(t){return new(t||n)(f(Gt,8),f(le),f(ue),f(qt),f(H),f(Jt))};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Ze=new y("TRANSLOCO_LANG"),Ai=new y("TRANSLOCO_LOADING_TEMPLATE"),We=new y("TRANSLOCO_SCOPE"),Be=class{initialized=!1;resolve({inline:r,provider:e,active:t}){let i=t;if(this.initialized)return i=t,i;if(e){let[,s]=Q(e,"static");i=s}if(r){let[,s]=Q(r,"static");i=s}return this.initialized=!0,i}resolveLangBasedOnScope(r){return X(r)?I(r):r}resolveLangPath(r,e){return e?`${e}/${r}`:r}},ze=class{service;constructor(r){this.service=r}resolve(r){let{inline:e,provider:t}=r;if(e)return e;if(t){if(Wt(t)){let{scope:i,alias:s=Zt(i)}=t;return this.service._setScopeAlias(i,s),i}return t}}};var Ci=(()=>{class n{service;providerScope;providerLang;cdr;subscription=null;lastValue="";lastKey;path;langResolver=new Be;scopeResolver;constructor(e,t,i,s){this.service=e,this.providerScope=t,this.providerLang=i,this.cdr=s,this.scopeResolver=new ze(this.service)}transform(e,t,i){if(!e)return e;let s=t?`${e}${JSON.stringify(t)}`:e;if(s===this.lastKey)return this.lastValue;this.lastKey=s,this.subscription?.unsubscribe();let o=zn(this.service,this.providerLang||i);return this.subscription=this.service.langChanges$.pipe(O(a=>{let c=this.langResolver.resolve({inline:i,provider:this.providerLang,active:a});return Array.isArray(this.providerScope)?ye(this.providerScope.map(l=>this.resolveScope(c,l))):this.resolveScope(c,this.providerScope)}),Gn(o)).subscribe(()=>this.updateValue(e,t)),this.lastValue}ngOnDestroy(){this.subscription?.unsubscribe(),this.subscription=null}updateValue(e,t){let i=this.langResolver.resolveLangBasedOnScope(this.path);this.lastValue=this.service.translate(e,t,i),this.cdr.markForCheck()}resolveScope(e,t){let i=this.scopeResolver.resolve({inline:void 0,provider:t});this.path=this.langResolver.resolveLangPath(e,i);let s=Xt(t,i);return this.service._loadDependencies(this.path,s)}static \u0275fac=function(t){return new(t||n)(b(Ye,16),b(We,24),b(Ze,24),b(Me,16))};static \u0275pipe=ht({name:"transloco",type:n,pure:!1,standalone:!0})}return n})();function Ii(n){let r=[Xn(Hn),er(Kn),tr(Un),Qn(Bn)];return n.config&&r.push(qn(n.config)),n.loader&&r.push(Jn(n.loader)),r}function qn(n){return C([{provide:H,useValue:$n(n)}])}function Jn(n){return C([{provide:Gt,useClass:n}])}function Xn(n){return C([{provide:le,useClass:n,deps:[H]}])}function Qn(n){return C([{provide:Jt,useClass:n,deps:[H]}])}function er(n){return C([{provide:ue,useClass:n}])}function tr(n){return C([{provide:qt,useClass:n}])}var Di=new y("TRANSLOCO_TEST_LANGS - Available testing languages"),Ni=new y("TRANSLOCO_TEST_OPTIONS - Testing options");function en(n,r){return typeof n=="object"&&n!==null&&r in n}function rr(n){return typeof n=="object"&&n!==null&&en(n,"url")&&typeof n.url=="string"&&(!en(n,"target")||n.target===void 0||n.target===null||typeof n.target=="string")}var de=class{blockStartToken;blockEndToken;constructor(r,e){this.blockStartToken=r,this.blockEndToken=e}tokenize(r,e){function t(i){return r.substring(e,e+i.length)===i?{nextOffset:e+i.length,token:new ee(i)}:void 0}return t(this.blockStartToken)??t(this.blockEndToken)}transpile(r,e){let t=e.tokens[r];if(!this.isStartTag(t))return;let{nextOffset:i,renderers:s}=e.transpileUntil(r+1,o=>this.isEndTag(o));return{nextOffset:Math.min(i+1,e.tokens.length),renderer:this.createRenderer(s)}}isStartTag(r){return r instanceof ee&&r.token===this.blockStartToken}isEndTag(r){return r instanceof ee&&r.token===this.blockEndToken}},ee=class{token;constructor(r){this.token=r}},te=(()=>{class n{document;constructor(e){this.document=e}createTextRenderer(e){let t=this.document;return function(s){return t.createTextNode(typeof e=="string"?e:e(s))}}createElementRenderer(e,t){let i=this.document;return function(o){let a=i.createElement(e);for(let c of t??[])a.appendChild(c(o));return a}}static \u0275fac=function(t){return new(t||n)(f(L))};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),ir=(()=>{class n extends de{rendererFactory;constructor(e){super("[b]","[/b]"),this.rendererFactory=e}createRenderer(e){return this.rendererFactory.createElementRenderer("b",e)}static \u0275fac=function(t){return new(t||n)(f(te))};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})();var sr=(()=>{class n extends de{rendererFactory;constructor(e){super("[i]","[/i]"),this.rendererFactory=e}createRenderer(e){return this.rendererFactory.createElementRenderer("i",e)}static \u0275fac=function(t){return new(t||n)(f(te))};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})();function sn(n,r,e={}){return r?typeof r=="function"?[r,{provide:n,useExisting:r,multi:e.multi}]:typeof r=="object"&&"useValue"in r?{provide:n,useValue:r.useValue,multi:e.multi}:typeof r=="object"&&"useClass"in r?{provide:n,useClass:r.useClass,multi:e.multi}:typeof r=="object"&&"useExisting"in r?{provide:n,useExisting:r.useExisting,multi:e.multi}:typeof r=="object"&&"useFactory"in r?{provide:n,useFactory:r.useFactory,deps:r.deps,multi:e.multi}:{provide:n,useFactory:()=>r,multi:e.multi}:e.default?typeof e.default=="function"?[e.default,{provide:n,useExisting:e.default,multi:e.multi}]:typeof e.default=="object"&&"useValue"in e.default?{provide:n,useValue:e.default.useValue,multi:e.multi}:typeof e.default=="object"&&"useClass"in e.default?{provide:n,useClass:e.default.useClass,multi:e.multi}:typeof e.default=="object"&&"useExisting"in e.default?{provide:n,useExisting:e.default.useExisting,multi:e.multi}:typeof e.default=="object"&&"useFactory"in e.default?{provide:n,useFactory:e.default.useFactory,deps:e.default.deps,multi:e.multi}:{provide:n,useFactory:()=>e.default,multi:e.multi}:[]}var V=class{};function tn(n){return sn(V,n,{multi:!0})}function Xe(n){return Array.isArray(n)?n:[n]}function on(n){return Array.isArray(n)?n.reduce((r,e)=>r.concat(on(e)),[]):[n]}var or=(()=>{class n{rendererFactory;linkRenderers;constructor(e,t){this.rendererFactory=e,this.linkRenderers=t?Xe(t):[]}tokenize(e,t){if(e.startsWith(nn,t))return{nextOffset:t+nn.length,token:rn};if(!e.startsWith(qe,t))return;let i=e.indexOf("]",t+qe.length);if(i<0)return;let s=e.substring(t+qe.length,i);return{nextOffset:i+1,token:new fe(s)}}transpile(e,t){let i=t.tokens[e];if(!(i instanceof fe))return;let{nextOffset:s,renderers:o}=t.transpileUntil(e+1,a=>a===rn);return{nextOffset:Math.min(s+1,t.tokens.length),renderer:this.createRenderer(i.parameterKey,o)}}createRenderer(e,t){let i=this.rendererFactory.createElementRenderer("a",t),s=a=>this.linkRenderers.find(c=>c.supports(a));function o(a){let c=i(a),l=a[e],u=s(l);return u&&u.render(l,c),c}return o}static \u0275fac=function(t){return new(t||n)(f(te),f(V,8))};static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})(),qe="[link:",nn="[/link]",rn=new class{},fe=class{parameterKey;constructor(r){this.parameterKey=r}};function ar(n,r){if(!n.startsWith("{{",r))return;let e=n.indexOf("}}",r);return e>=2?e+2-r:void 0}function cr(){return{matchExpression:ar}}var lr=new y("TRANSLATION_INTERPOLATION_EXPRESSION_MATCHER",{providedIn:"root",factory:cr}),ur=(()=>{class n{rendererFactory;translocoTranspiler;expressionMatcher;constructor(e,t,i){this.rendererFactory=e,this.translocoTranspiler=t,this.expressionMatcher=i}tokenize(e,t){let i=this.expressionMatcher.matchExpression(e,t);if(i)return{nextOffset:t+i,token:new he(e.substring(t,t+i))}}transpile(e,{tokens:t,translation:i}){let s=t[e];if(!(s instanceof he))return;let{interpolationExpression:o}=s;return{nextOffset:e+1,renderer:this.rendererFactory.createTextRenderer(a=>String(this.translocoTranspiler.transpile({value:o,params:a,translation:i,key:"???"})))}}static \u0275fac=function(t){return new(t||n)(f(te),f(le),f(lr))};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),he=class{interpolationExpression;constructor(r){this.interpolationExpression=r}};var dr=(()=>{class n extends V{supports(e){return typeof e=="string"}render(e,t){t.href=e,t.target="_blank"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=oe(n)))(i||n)}})();static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})(),fr=(()=>{class n extends V{supports(e){return rr(e)}render(e,t){t.href=e.url,typeof e.target=="string"&&(t.target=e.target)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=oe(n)))(i||n)}})();static \u0275prov=p({token:n,factory:n.\u0275fac})}return n})(),an=new y("TRANSLATION_MARKUP_TRANSPILER");function Je(n){return sn(an,n,{multi:!0})}function Zi(){return[Je(ir),Je(sr),Je(or),tn(dr),tn(fr)]}var hr=new y("STRING_INTERPOLATION_TRANSPILER",{providedIn:"root",factory:()=>A(ur)});function et(n,r,e){for(let t of n){let i=r(t);if(e(i))return i}}var Qe=class{tokens;translation;transpilers;constructor(r,e,t){this.tokens=r,this.translation=e,this.transpilers=t}transpile(r){return et(this.transpilers,e=>e.transpile(r,this),e=>e!==void 0&&e.nextOffset!==r)}transpileUntil(r,e){let t=r,i=[];for(;ts.tokenize(n,t),cn);i?(t=i.nextOffset,e.push(i.token)):t++}return e}function vr(n,r,e){return new Qe(n,e,r).transpileUntil(0,()=>!1).renderers}function x(n,r){let e=ln(n,r),t=e?.get;if(t?.__value$)return t.__value$;let i=e?.set,s=new re(n[r]),o=s.asObservable(),a=t?()=>t.call(n):()=>s.getValue();return a.__value$=o,Object.defineProperty(n,r,{get:a,set(c){i!==void 0&&i.call(n,c);let l=t?t.call(n):c;l!==s.getValue()&&s.next(l)}}),o}function ln(n,r){return n==null?void 0:Object.getOwnPropertyDescriptor(n,r)??ln(Object.getPrototypeOf(n),r)}var yr=(()=>{class n{rendererFactory;constructor(e){this.rendererFactory=e}tokenize(e,t){return{nextOffset:t+1,token:e.charAt(t)}}transpile(e,{tokens:t}){let i=e;for(;i{class n{hostElement;translocoService;missingHandler;providedScope;providedLanguage;providedTranspilers;stringInterpolationTranspiler;stringLiteralTranspiler;translationKey;content;translationParameters;inlineLanguage;inlineScope;inlineTranspilers;mergeTranspilers;subscriptions=new nt;constructor(e,t,i,s,o,a,c,l){this.hostElement=e,this.translocoService=t,this.missingHandler=i,this.providedScope=s,this.providedLanguage=o,this.providedTranspilers=a,this.stringInterpolationTranspiler=c,this.stringLiteralTranspiler=l}ngOnInit(){let e=x(this,"translationKey"),t=x(this,"content"),i=x(this,"translationParameters"),s=x(this,"inlineLanguage"),o=x(this,"inlineScope"),a=x(this,"inlineTranspilers"),c=x(this,"mergeTranspilers").pipe(S(g=>g!==!1)),l=this.translocoService.langChanges$,u=this.translocoService.config.reRenderOnLangChange?l:l.pipe(ct(),se({bufferSize:1,refCount:!0})),d=mr(s,R(this.providedLanguage??void 0),u),h=o.pipe(S(g=>g||this.providedScope),me(),S(g=>Array.isArray(g)?g:[g||void 0])),m=E([d,h]).pipe(O(([g,w])=>E(w.map(N=>{let pe=Tr(N),ne=Sr(g,pe),ge=br(N);return this.translocoService._loadDependencies(ne,ge)})).pipe(S(()=>this.translocoService.getTranslation(g))))),T=E([e,t,m]).pipe(S(([g,w,N])=>{if(g===void 0)return{value:w??"",translation:N};let pe=this.translocoService.config.missingHandler.useFallbackTranslation,ne=Xe(this.translocoService.config.fallbackLang??[])[0],ge=pe&&ne?[this.translocoService.getTranslation(ne)]:[];return this.getTranslationValue(g,[N,...ge])})),_=E([a,c]).pipe(S(([g,w])=>[...g?Xe(g):[],...this.providedTranspilers&&(!g||w)?on(this.providedTranspilers):[],this.stringInterpolationTranspiler,this.stringLiteralTranspiler])),D=E([T,_]).pipe(S(([{translation:g,value:w},N])=>pr(w,N,g)));this.subscriptions.add(E([D,i]).subscribe(([g,w])=>g(this.hostElement.nativeElement,w??{})))}ngOnDestroy(){this.subscriptions.unsubscribe()}getTranslationValue(e,t){let i=this.translocoService.config.missingHandler.allowEmpty;return et(t,o=>{let a=o[e];if(!(a===void 0||a===""&&!i))return{value:String(a),translation:o}},cn)??{value:String(this.missingHandler.handle(e,v({activeLang:this.translocoService.getActiveLang()},this.translocoService.config))),translation:t[0]??{}}}static \u0275fac=function(t){return new(t||n)(b(Le),b(Ye),b(ue),b(We,8),b(Ze,8),b(an,8),b(hr),b(yr))};static \u0275cmp=Te({type:n,selectors:[["transloco"]],inputs:{translationKey:[k.None,"key","translationKey"],content:"content",translationParameters:[k.None,"params","translationParameters"],inlineLanguage:[k.None,"lang","inlineLanguage"],inlineScope:[k.None,"scope","inlineScope"],inlineTranspilers:[k.None,"transpilers","inlineTranspilers"],mergeTranspilers:"mergeTranspilers"},standalone:!0,features:[Oe],decls:0,vars:0,template:function(t,i){},styles:[`:host{display:inline} +`],encapsulation:2,changeDetection:0})}return n})();function mr(...n){return n.reduceRight((r,e)=>e.pipe(O(t=>{if(t===void 0)return r;let[i,s]=Q(t,"static");return st(R(s),i?ie:r.pipe(ut(1)))})),R("")).pipe(me())}function Tr(n){return typeof n=="object"?n.scope:n}function Sr(n,r){return r?`${r}/${n}`:n}function br(n){return typeof n=="object"?n.loader:void 0}export{Yr as a,Zr as b,In as c,jn as d,Ye as e,Ci as f,Ii as g,tn as h,Zi as i,Wi as j}; diff --git a/chunk-KMKRFXFL.js b/chunk-F7TVKO2G.js similarity index 83% rename from chunk-KMKRFXFL.js rename to chunk-F7TVKO2G.js index 1364b72..b0a2662 100644 --- a/chunk-KMKRFXFL.js +++ b/chunk-F7TVKO2G.js @@ -1 +1 @@ -import"./chunk-4EY2ITIA.js";import{g as H,k as E}from"./chunk-7ARKW5W4.js";import{a as L}from"./chunk-VVJGNX6O.js";import{s as I}from"./chunk-7IMKBQP2.js";import{$ as w,$a as k,Ka as d,La as u,Oa as i,Pa as y,Va as h,bb as p,d as v,eb as x,hb as b,ib as C,jb as o,kb as a,lb as m,ob as g,qb as r,rb as s,tb as T,yb as f,zb as _}from"./chunk-HTB7U7SQ.js";var S=(e,t)=>t.title;function F(e,t){if(e&1&&m(0,"p",14),e&2){let n=g().$implicit;p("innerHTML",n.excerpt,d)}}function N(e,t){if(e&1&&(o(0,"p",10)(1,"a",15),r(2),f(3,"transloco"),a()()),e&2){let n=g().$implicit;i(),p("href",n.moreLink,u),i(),s(_(3,2,"read_more"))}}function $(e,t){if(e&1&&(o(0,"div",9)(1,"h3",11)(2,"span",12),r(3),a(),r(4," - "),m(5,"span",13),a(),k(6,F,1,1,"p",14)(7,N,4,4,"p",10),a()),e&2){let n=t.$implicit;i(3),s(n.date_published),i(2),p("innerHTML",n.title,d),i(),x(6,n.excerpt?6:-1),i(),x(7,n.moreLink?7:-1)}}function z(e,t){e&1&&(o(0,"p",10),r(1),f(2,"transloco"),a()),e&2&&(i(),s(_(2,1,"no_news")))}var U=(()=>{let t=class t{constructor(c){this.aiHorde=c,this.news=h([])}ngOnInit(){return v(this,null,function*(){this.news.set(yield I(this.aiHorde.getNews()))})}};t.\u0275fac=function(l){return new(l||t)(y(L))},t.\u0275cmp=w({type:t,selectors:[["app-news"]],standalone:!0,features:[T],decls:12,vars:1,consts:[[1,"bg-white","dark:bg-gray-900"],[1,"grid","max-w-screen-xl","px-4","pt-20","pb-8","mx-auto","lg:gap-8","xl:gap-0"],[1,"mr-auto","place-self-center","lg:col-span-7"],[1,"mb-4","text-4xl","font-extrabold","leading-none","tracking-tight","md:text-5xl","xl:text-6xl","dark:text-white"],["key","latest_news"],[1,"bg-gray-50","dark:bg-gray-800"],[1,"max-w-screen-xl","px-4","py-8","mx-auto","space-y-12","lg:px-6"],[1,"items-center","gap-8","lg:grid","xl:gap-16"],[1,"text-gray-500","sm:text-lg","dark:text-gray-400"],[1,"mb-6"],[1,"mb-2","font-light","lg:text-xl"],[1,"mb-3","text-2xl","text-gray-900","dark:text-white"],[1,"text-gray-500","dark:text-gray-200"],[3,"innerHTML"],[1,"mb-2","font-light","lg:text-xl",3,"innerHTML"],["target","_blank",3,"href"]],template:function(l,M){l&1&&(o(0,"section",0)(1,"div",1)(2,"div",2)(3,"h1",3),m(4,"transloco",4),a()()()(),o(5,"section",5)(6,"div",6)(7,"div",7)(8,"div",8),b(9,$,8,4,"div",9,S,!1,z,3,3,"p",10),a()()()()),l&2&&(i(9),C(M.news()))},dependencies:[E,H]});let e=t;return e})();export{U as NewsComponent}; +import"./chunk-UIEJTGV7.js";import{f as H,j as E}from"./chunk-DIHZTFHE.js";import{a as L}from"./chunk-NXANAV64.js";import{r as I}from"./chunk-PL5LST3Q.js";import{$ as w,Ja as d,Ka as u,Na as i,Oa as y,Ua as h,_a as k,ab as p,d as v,db as x,gb as b,hb as C,ib as o,jb as a,kb as m,nb as g,pb as r,qb as s,sb as T,xb as f,yb as _}from"./chunk-RAGRZUZJ.js";var S=(e,t)=>t.title;function F(e,t){if(e&1&&m(0,"p",14),e&2){let n=g().$implicit;p("innerHTML",n.excerpt,d)}}function N(e,t){if(e&1&&(o(0,"p",10)(1,"a",15),r(2),f(3,"transloco"),a()()),e&2){let n=g().$implicit;i(),p("href",n.moreLink,u),i(),s(_(3,2,"read_more"))}}function $(e,t){if(e&1&&(o(0,"div",9)(1,"h3",11)(2,"span",12),r(3),a(),r(4," - "),m(5,"span",13),a(),k(6,F,1,1,"p",14)(7,N,4,4,"p",10),a()),e&2){let n=t.$implicit;i(3),s(n.date_published),i(2),p("innerHTML",n.title,d),i(),x(6,n.excerpt?6:-1),i(),x(7,n.moreLink?7:-1)}}function z(e,t){e&1&&(o(0,"p",10),r(1),f(2,"transloco"),a()),e&2&&(i(),s(_(2,1,"no_news")))}var U=(()=>{let t=class t{constructor(c){this.aiHorde=c,this.news=h([])}ngOnInit(){return v(this,null,function*(){this.news.set(yield I(this.aiHorde.getNews()))})}};t.\u0275fac=function(l){return new(l||t)(y(L))},t.\u0275cmp=w({type:t,selectors:[["app-news"]],standalone:!0,features:[T],decls:12,vars:1,consts:[[1,"bg-white","dark:bg-gray-900"],[1,"grid","max-w-screen-xl","px-4","pt-20","pb-8","mx-auto","lg:gap-8","xl:gap-0"],[1,"mr-auto","place-self-center","lg:col-span-7"],[1,"mb-4","text-4xl","font-extrabold","leading-none","tracking-tight","md:text-5xl","xl:text-6xl","dark:text-white"],["key","latest_news"],[1,"bg-gray-50","dark:bg-gray-800"],[1,"max-w-screen-xl","px-4","py-8","mx-auto","space-y-12","lg:px-6"],[1,"items-center","gap-8","lg:grid","xl:gap-16"],[1,"text-gray-500","sm:text-lg","dark:text-gray-400"],[1,"mb-6"],[1,"mb-2","font-light","lg:text-xl"],[1,"mb-3","text-2xl","text-gray-900","dark:text-white"],[1,"text-gray-500","dark:text-gray-200"],[3,"innerHTML"],[1,"mb-2","font-light","lg:text-xl",3,"innerHTML"],["target","_blank",3,"href"]],template:function(l,M){l&1&&(o(0,"section",0)(1,"div",1)(2,"div",2)(3,"h1",3),m(4,"transloco",4),a()()()(),o(5,"section",5)(6,"div",6)(7,"div",7)(8,"div",8),b(9,$,8,4,"div",9,S,!1,z,3,3,"p",10),a()()()()),l&2&&(i(9),C(M.news()))},dependencies:[E,H]});let e=t;return e})();export{U as NewsComponent}; diff --git a/chunk-7XJPRUWZ.js b/chunk-GZFDY26I.js similarity index 64% rename from chunk-7XJPRUWZ.js rename to chunk-GZFDY26I.js index e7cda82..31f62aa 100644 --- a/chunk-7XJPRUWZ.js +++ b/chunk-GZFDY26I.js @@ -1 +1 @@ -import{$ as r,jb as i,kb as o,qb as a,tb as s}from"./chunk-HTB7U7SQ.js";var d=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=r({type:e,selectors:[["app-register"]],standalone:!0,features:[s],decls:2,vars:0,template:function(n,c){n&1&&(i(0,"p"),a(1,"register works!"),o())}});let t=e;return t})();export{d as RegisterComponent}; +import{$ as r,ib as i,jb as o,pb as a,sb as s}from"./chunk-RAGRZUZJ.js";var d=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=r({type:e,selectors:[["app-register"]],standalone:!0,features:[s],decls:2,vars:0,template:function(n,c){n&1&&(i(0,"p"),a(1,"register works!"),o())}});let t=e;return t})();export{d as RegisterComponent}; diff --git a/chunk-HTB7U7SQ.js b/chunk-HTB7U7SQ.js deleted file mode 100644 index 072ac2d..0000000 --- a/chunk-HTB7U7SQ.js +++ /dev/null @@ -1,7 +0,0 @@ -var zu=Object.defineProperty,Qu=Object.defineProperties;var Zu=Object.getOwnPropertyDescriptors;var tn=Object.getOwnPropertySymbols;var Ds=Object.prototype.hasOwnProperty,bs=Object.prototype.propertyIsEnumerable;var ws=(e,t,n)=>t in e?zu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pe=(e,t)=>{for(var n in t||={})Ds.call(t,n)&&ws(e,n,t[n]);if(tn)for(var n of tn(t))bs.call(t,n)&&ws(e,n,t[n]);return e},Re=(e,t)=>Qu(e,Zu(t));var Xy=(e,t)=>{var n={};for(var r in e)Ds.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&tn)for(var r of tn(e))t.indexOf(r)<0&&bs.call(e,r)&&(n[r]=e[r]);return n};var Yu=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(l){o(l)}},s=c=>{try{a(n.throw(c))}catch(l){o(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function Es(e,t){return Object.is(e,t)}var L=null,nn=!1,rn=1,ce=Symbol("SIGNAL");function b(e){let t=L;return L=e,t}var sn={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function It(e){if(nn)throw new Error("");if(L===null)return;L.consumerOnSignalRead(e);let t=L.nextProducerIndex++;if(et(L),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Qr(e){et(e);for(let t=0;t0}function et(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ns(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ss(e){let t=Object.create(Xu);t.computation=e;let n=()=>{if(xs(t),It(t),t.value===on)throw t.error;return t.value};return n[ce]=t,n}var qr=Symbol("UNSET"),Wr=Symbol("COMPUTING"),on=Symbol("ERRORED"),Xu=Re(Pe({},sn),{value:qr,dirty:!0,error:null,equal:Es,producerMustRecompute(e){return e.value===qr||e.value===Wr},producerRecomputeValue(e){if(e.value===Wr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Wr;let n=Gr(e),r;try{r=e.computation()}catch(o){r=on,e.error=o}finally{zr(e,n)}if(t!==qr&&t!==on&&r!==on&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function ed(){throw new Error}var Os=ed;function As(){Os()}function Ps(e){Os=e}var td=null;function Rs(e){let t=Object.create(Zr);t.value=e;let n=()=>(It(t),t.value);return n[ce]=t,n}function wt(e,t){Ms()||As(),e.equal(e.value,t)||(e.value=t,nd(e))}function ks(e,t){Ms()||As(),wt(e,t(e.value))}var Zr=Re(Pe({},sn),{equal:Es,value:void 0});function nd(e){e.version++,Ju(),Cs(e),td?.()}function g(e){return typeof e=="function"}function tt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var cn=tt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function ke(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var k=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(g(r))try{r()}catch(i){t=i instanceof cn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ls(i)}catch(s){t=t??[],s instanceof cn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new cn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ls(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&ke(n,t)}remove(t){let{_finalizers:n}=this;n&&ke(n,t),t instanceof e&&t._removeParent(this)}};k.EMPTY=(()=>{let e=new k;return e.closed=!0,e})();var Yr=k.EMPTY;function ln(e){return e instanceof k||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function Ls(e){g(e)?e():e.unsubscribe()}var ee={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var nt={setTimeout(e,t,...n){let{delegate:r}=nt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=nt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function un(e){nt.setTimeout(()=>{let{onUnhandledError:t}=ee;if(t)t(e);else throw e})}function Dt(){}var Fs=Jr("C",void 0,void 0);function js(e){return Jr("E",void 0,e)}function Vs(e){return Jr("N",e,void 0)}function Jr(e,t,n){return{kind:e,value:t,error:n}}var Le=null;function rt(e){if(ee.useDeprecatedSynchronousErrorHandling){let t=!Le;if(t&&(Le={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Le;if(Le=null,n)throw r}}else e()}function Hs(e){ee.useDeprecatedSynchronousErrorHandling&&Le&&(Le.errorThrown=!0,Le.error=e)}var Fe=class extends k{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ln(t)&&t.add(this)):this.destination=id}static create(t,n,r){return new ye(t,n,r)}next(t){this.isStopped?Xr(Vs(t),this):this._next(t)}error(t){this.isStopped?Xr(js(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Xr(Fs,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},rd=Function.prototype.bind;function Kr(e,t){return rd.call(e,t)}var eo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){dn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){dn(r)}else dn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){dn(n)}}},ye=class extends Fe{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ee.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Kr(t.next,i),error:t.error&&Kr(t.error,i),complete:t.complete&&Kr(t.complete,i)}):o=t}this.destination=new eo(o)}};function dn(e){ee.useDeprecatedSynchronousErrorHandling?Hs(e):un(e)}function od(e){throw e}function Xr(e,t){let{onStoppedNotification:n}=ee;n&&nt.setTimeout(()=>n(e,t))}var id={closed:!0,next:Dt,error:od,complete:Dt};var ot=typeof Symbol=="function"&&Symbol.observable||"@@observable";function F(e){return e}function sd(...e){return to(e)}function to(e){return e.length===0?F:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var C=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=cd(n)?n:new ye(n,r,o);return rt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=$s(r),new r((o,i)=>{let s=new ye({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[ot](){return this}pipe(...n){return to(n)(this)}toPromise(n){return n=$s(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function $s(e){var t;return(t=e??ee.Promise)!==null&&t!==void 0?t:Promise}function ad(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function cd(e){return e&&e instanceof Fe||ad(e)&&ln(e)}function no(e){return g(e?.lift)}function w(e){return t=>{if(no(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function v(e,t,n,r,o){return new ro(e,t,n,r,o)}var ro=class extends Fe{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function oo(){return w((e,t)=>{let n=null;e._refCount++;let r=v(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var io=class extends C{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,no(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new k;let n=this.getSubject();t.add(this.source.subscribe(v(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=k.EMPTY)}return t}refCount(){return oo()(this)}};var Bs=tt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Y=(()=>{class e extends C{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new fn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Bs}next(n){rt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){rt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){rt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Yr:(this.currentObservers=null,i.push(n),new k(()=>{this.currentObservers=null,ke(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new C;return n.source=this,n}}return e.create=(t,n)=>new fn(t,n),e})(),fn=class extends Y{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Yr}};var bt=class extends Y{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Et={now(){return(Et.delegate||Date).now()},delegate:void 0};var pn=class extends Y{constructor(t=1/0,n=1/0,r=Et){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;se.complete());function yn(e){return e&&g(e.schedule)}function qs(e){return e[e.length-1]}function vn(e){return g(qs(e))?e.pop():void 0}function xe(e){return yn(qs(e))?e.pop():void 0}function Gs(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Ws(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function je(e){return this instanceof je?(this.v=e,this):new je(e)}function zs(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(y){return new Promise(function(S,T){i.push([f,y,S,T])>1||c(f,y)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(y){p(i[0][3],y)}}function l(f){f.value instanceof je?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Qs(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Ws=="function"?Ws(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var In=e=>e&&typeof e.length=="number"&&typeof e!="function";function wn(e){return g(e?.then)}function Dn(e){return g(e[ot])}function bn(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function En(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function ld(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var xn=ld();function Cn(e){return g(e?.[xn])}function Mn(e){return zs(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield je(n.read());if(o)return yield je(void 0);yield yield je(r)}}finally{n.releaseLock()}})}function _n(e){return g(e?.getReader)}function O(e){if(e instanceof C)return e;if(e!=null){if(Dn(e))return ud(e);if(In(e))return dd(e);if(wn(e))return fd(e);if(bn(e))return Zs(e);if(Cn(e))return pd(e);if(_n(e))return hd(e)}throw En(e)}function ud(e){return new C(t=>{let n=e[ot]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function dd(e){return new C(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,un)})}function pd(e){return new C(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Zs(e){return new C(t=>{md(e,t).catch(n=>t.error(n))})}function hd(e){return Zs(Mn(e))}function md(e,t){var n,r,o,i;return Gs(this,void 0,void 0,function*(){try{for(n=Qs(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function B(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Tn(e,t=0){return w((n,r)=>{n.subscribe(v(r,o=>B(r,e,()=>r.next(o),t),()=>B(r,e,()=>r.complete(),t),o=>B(r,e,()=>r.error(o),t)))})}function Nn(e,t=0){return w((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ys(e,t){return O(e).pipe(Nn(t),Tn(t))}function Js(e,t){return O(e).pipe(Nn(t),Tn(t))}function Ks(e,t){return new C(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Xs(e,t){return new C(n=>{let r;return B(n,t,()=>{r=e[xn](),B(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>g(r?.return)&&r.return()})}function Sn(e,t){if(!e)throw new Error("Iterable cannot be null");return new C(n=>{B(n,t,()=>{let r=e[Symbol.asyncIterator]();B(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ea(e,t){return Sn(Mn(e),t)}function ta(e,t){if(e!=null){if(Dn(e))return Ys(e,t);if(In(e))return Ks(e,t);if(wn(e))return Js(e,t);if(bn(e))return Sn(e,t);if(Cn(e))return Xs(e,t);if(_n(e))return ea(e,t)}throw En(e)}function Ce(e,t){return t?ta(e,t):O(e)}function gd(...e){let t=xe(e);return Ce(e,t)}function yd(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new C(t?o=>t.schedule(r,0,o):r)}function vd(e){return!!e&&(e instanceof C||g(e.lift)&&g(e.subscribe))}var ve=tt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Id(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new ve)}})})}function na(e){return e instanceof Date&&!isNaN(e)}function le(e,t){return w((n,r)=>{let o=0;n.subscribe(v(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:wd}=Array;function Dd(e,t){return wd(t)?e(...t):e(t)}function On(e){return le(t=>Dd(e,t))}var{isArray:bd}=Array,{getPrototypeOf:Ed,prototype:xd,keys:Cd}=Object;function An(e){if(e.length===1){let t=e[0];if(bd(t))return{args:t,keys:null};if(Md(t)){let n=Cd(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Md(e){return e&&typeof e=="object"&&Ed(e)===xd}function Pn(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function _d(...e){let t=xe(e),n=vn(e),{args:r,keys:o}=An(e);if(r.length===0)return Ce([],t);let i=new C(Td(r,t,o?s=>Pn(o,s):F));return n?i.pipe(On(n)):i}function Td(e,t,n=F){return r=>{ra(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let l=Ce(e[c],t),u=!1;l.subscribe(v(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ra(e,t,n){e?B(n,e,t):t()}function oa(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=y=>l{i&&t.next(y),l++;let S=!1;O(n(y,u++)).subscribe(v(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{S=!0},void 0,()=>{if(S)try{for(l--;c.length&&lh(T)):h(T)}p()}catch(T){t.error(T)}}))};return e.subscribe(v(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Ve(e,t,n=1/0){return g(t)?Ve((r,o)=>le((i,s)=>t(r,i,o,s))(O(e(r,o))),n):(typeof t=="number"&&(n=t),w((r,o)=>oa(r,o,e,n)))}function ia(e=1/0){return Ve(F,e)}function sa(){return ia(1)}function Rn(...e){return sa()(Ce(e,xe(e)))}function Nd(e){return new C(t=>{O(e()).subscribe(t)})}function Sd(...e){let t=vn(e),{args:n,keys:r}=An(e),o=new C(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Pn(r,a):a),i.complete())}))}});return t?o.pipe(On(t)):o}function kn(e=0,t,n=Us){let r=-1;return t!=null&&(yn(t)?n=t:r=t),new C(o=>{let i=na(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Od(e=0,t=so){return e<0&&(e=0),kn(e,e,t)}function He(e,t){return w((n,r)=>{let o=0;n.subscribe(v(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ao(e){return w((t,n)=>{let r=null,o=!1,i;r=t.subscribe(v(n,void 0,void 0,s=>{i=O(e(s,ao(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function aa(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(v(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Ad(e,t){return g(t)?Ve(e,t,1):Ve(e,1)}function Mt(e){return w((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Ln(e){return e<=0?()=>Ct:w((t,n)=>{let r=0;t.subscribe(v(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Pd(e){return le(()=>e)}function Rd(e,t=F){return e=e??kd,w((n,r)=>{let o,i=!0;n.subscribe(v(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function kd(e,t){return e===t}function Fn(e=Ld){return w((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Ld(){return new ve}function Fd(e){return w((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function jn(e,t){let n=arguments.length>=2;return r=>r.pipe(e?He((o,i)=>e(o,i,r)):F,Ln(1),n?Mt(t):Fn(()=>new ve))}function co(e){return e<=0?()=>Ct:w((t,n)=>{let r=[];t.subscribe(v(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function jd(e,t){let n=arguments.length>=2;return r=>r.pipe(e?He((o,i)=>e(o,i,r)):F,co(1),n?Mt(t):Fn(()=>new ve))}function Vd(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?F:w((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(v(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++{c?(c.unsubscribe(),c=null,l()):u=!0};if(r!=null){let f=typeof r=="number"?kn(r):O(r(d,a)),h=v(s,()=>{h.unsubscribe(),p()},()=>{s.complete()});f.subscribe(h)}else p()}else s.error(d)})),u&&(c.unsubscribe(),c=null,l())};l()})}function Hd(e,t){return w(aa(e,t,arguments.length>=2,!0))}function ca(e={}){let{connector:t=()=>new Y,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let y=s;f(),y?.unsubscribe()};return w((y,S)=>{l++,!d&&!u&&p();let T=c=c??t();S.add(()=>{l--,l===0&&!d&&!u&&(a=lo(h,o))}),T.subscribe(S),!s&&l>0&&(s=new ye({next:Z=>T.next(Z),error:Z=>{d=!0,p(),a=lo(f,n,Z),T.error(Z)},complete:()=>{u=!0,p(),a=lo(f,r),T.complete()}}),O(y).subscribe(s))})(i)}}function lo(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new ye({next:()=>{r.unsubscribe(),e()}});return O(t(...n)).subscribe(r)}function $d(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,ca({connector:()=>new pn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Bd(e){return He((t,n)=>e<=n)}function la(...e){let t=xe(e);return w((n,r)=>{(t?Rn(e,n,t):Rn(e,n)).subscribe(r)})}function ua(e,t){return w((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(v(r,c=>{o?.unsubscribe();let l=0,u=i++;O(e(c,u)).subscribe(o=v(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ud(e){return w((t,n)=>{O(e).subscribe(v(n,()=>n.complete(),Dt)),!n.closed&&t.subscribe(n)})}function da(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?w((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(v(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):F}var rc="https://g.co/ng/security#xss",x=class extends Error{constructor(t,n){super(qd(t,n)),this.code=t}};function qd(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var wr=Symbol("InputSignalNode#UNSET"),oc=Re(Pe({},Zr),{transformFn:void 0,applyValueToInputSignal(e,t){wt(e,t)}});function ic(e,t){let n=Object.create(oc);n.value=e,n.transformFn=t?.transform;function r(){if(It(n),n.value===wr)throw new x(-950,!1);return n.value}return r[ce]=n,r}function Dr(e){return{toString:e}.toString()}var Vn="__parameters__";function Wd(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function sc(e,t,n){return Dr(()=>{let r=Wd(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Vn)?c[Vn]:Object.defineProperty(c,Vn,{value:[]})[Vn];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var _e=globalThis;function N(e){for(let t in e)if(e[t]===N)return t;throw Error("Could not find renamed property on target object.")}function W(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(W).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` -`);return n===-1?t:t.substring(0,n)}function fa(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Gd=N({__forward_ref__:N});function ac(e){return e.__forward_ref__=ac,e.toString=function(){return W(this())},e}function J(e){return cc(e)?e():e}function cc(e){return typeof e=="function"&&e.hasOwnProperty(Gd)&&e.__forward_ref__===ac}function q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function br(e){return pa(e,lc)||pa(e,uc)}function Jx(e){return br(e)!==null}function pa(e,t){return e.hasOwnProperty(t)?e[t]:null}function zd(e){let t=e&&(e[lc]||e[uc]);return t||null}function ha(e){return e&&(e.hasOwnProperty(ma)||e.hasOwnProperty(Qd))?e[ma]:null}var lc=N({\u0275prov:N}),ma=N({\u0275inj:N}),uc=N({ngInjectableDef:N}),Qd=N({ngInjectorDef:N}),P=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=q({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function dc(e){return e&&!!e.\u0275providers}var Zd=N({\u0275cmp:N}),Yd=N({\u0275dir:N}),Jd=N({\u0275pipe:N}),Kd=N({\u0275mod:N}),Xn=N({\u0275fac:N}),_t=N({__NG_ELEMENT_ID__:N}),ga=N({__NG_ENV_ID__:N});function Wt(e){return typeof e=="string"?e:e==null?"":String(e)}function Xd(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Wt(e)}function ef(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new x(-200,e)}function Oi(e,t){throw new x(-201,!1)}var E=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(E||{}),_o;function fc(){return _o}function U(e){let t=_o;return _o=e,t}function pc(e,t,n){let r=br(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&E.Optional)return null;if(t!==void 0)return t;Oi(e,"Injector")}var tf={},Tt=tf,To="__NG_DI_FLAG__",er="ngTempTokenPath",nf="ngTokenPath",rf=/\n/gm,of="\u0275",ya="__source",lt;function sf(){return lt}function Me(e){let t=lt;return lt=e,t}function af(e,t=E.Default){if(lt===void 0)throw new x(-203,!1);return lt===null?pc(e,void 0,t):lt.get(e,t&E.Optional?null:void 0,t)}function Ne(e,t=E.Default){return(fc()||af)(J(e),t)}function _(e,t=E.Default){return Ne(e,Er(t))}function Er(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function No(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):W(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(rf,` - `)}`}var df=hc(sc("Optional"),8);var ff=hc(sc("SkipSelf"),4);function Be(e,t){let n=e.hasOwnProperty(Xn);return n?e[Xn]:null}function Ai(e,t){e.forEach(n=>Array.isArray(n)?Ai(n,t):t(n))}function mc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function tr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function pf(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function hf(e,t,n){let r=Gt(e,t);return r>=0?e[r|1]=n:(r=~r,pf(e,r,t,n)),r}function uo(e,t){let n=Gt(e,t);if(n>=0)return e[n|1]}function Gt(e,t){return mf(e,t,1)}function mf(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(te(r))return!1;s=!0}}}}return te(r)||s}function te(e){return(e&1)===0}function Df(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!te(s)&&(t+=Ia(i,o),o=""),r=s,i=i||!te(r);n++}return o!==""&&(t+=Ia(i,o)),t}function Mf(e){return e.map(Cf).join(",")}function _f(e){let t=[],n=[],r=1,o=2;for(;r{let t=xc(e),n=Re(Pe({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===vc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ot.Emulated,styles:e.styles||Se,_:null,schemas:e.schemas||null,tView:null,id:""});Cc(n);let r=e.dependencies;return n.directiveDefs=Da(r,!1),n.pipeDefs=Da(r,!0),n.id=Of(n),n})}function Tf(e){return Ue(e)||Dc(e)}function Nf(e){return e!==null}function wa(e,t){if(e==null)return Nt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=dt.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==dt.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Xx(e){return Dr(()=>{let t=xc(e);return Cc(t),t})}function eC(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ue(e){return e[Zd]||null}function Dc(e){return e[Yd]||null}function bc(e){return e[Jd]||null}function Sf(e){let t=Ue(e)||Dc(e)||bc(e);return t!==null?t.standalone:!1}function Ec(e,t){let n=e[Kd]||null;if(!n&&t===!0)throw new Error(`Type ${W(e)} does not have '\u0275mod' property.`);return n}function xc(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Nt,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Se,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:wa(e.inputs,t),outputs:wa(e.outputs),debugInfo:null}}function Cc(e){e.features?.forEach(t=>t(e))}function Da(e,t){if(!e)return null;let n=t?bc:Tf;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Nf)}function Of(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Mc(e){return{\u0275providers:e}}function Af(...e){return{\u0275providers:_c(!0,e),\u0275fromNgModule:!0}}function _c(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ai(t,s=>{let a=s;Oo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Tc(o,i),n}function Tc(e,t){for(let n=0;n{t(i,r)})}}function Oo(e,t,n,r){if(e=J(e),!e)return!1;let o=null,i=ha(e),s=!i&&Ue(e);if(!i&&!s){let c=e.ngModule;if(i=ha(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Oo(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Ai(i.imports,u=>{Oo(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Tc(l,t)}if(!a){let l=Be(o)||(()=>new o);t({provide:o,useFactory:l,deps:Se},o),t({provide:yc,useValue:o,multi:!0},o),t({provide:St,useValue:()=>Ne(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;ki(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function ki(e,t){for(let n of e)dc(n)&&(n=n.\u0275providers),Array.isArray(n)?ki(n,t):t(n)}var Pf=N({provide:String,useValue:N});function Nc(e){return e!==null&&typeof e=="object"&&Pf in e}function Rf(e){return!!(e&&e.useExisting)}function kf(e){return!!(e&&e.useFactory)}function Ao(e){return typeof e=="function"}var Sc=new P(""),Qn={},Lf={},fo;function Li(){return fo===void 0&&(fo=new nr),fo}var Oe=class{},At=class extends Oe{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ro(t,s=>this.processProvider(s)),this.records.set(gc,st(void 0,this)),o.has("environment")&&this.records.set(Oe,st(void 0,this));let i=this.records.get(Sc);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(yc,Se,E.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=b(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),b(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Me(this),r=U(void 0),o;try{return t()}finally{Me(n),U(r)}}get(t,n=Tt,r=E.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ga))return t[ga](this);r=Er(r);let o,i=Me(this),s=U(void 0);try{if(!(r&E.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=Bf(t)&&br(t);l&&this.injectableDefInScope(l)?c=st(Po(t),Qn):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&E.Self?Li():this.parent;return n=r&E.Optional&&n===Tt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[er]=a[er]||[]).unshift(W(t)),i)throw a;return lf(a,t,"R3InjectorError",this.source)}else throw a}finally{U(s),Me(i)}}resolveInjectorInitializers(){let t=b(null),n=Me(this),r=U(void 0),o;try{let i=this.get(St,Se,E.Self);for(let s of i)s()}finally{Me(n),U(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(W(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new x(205,!1)}processProvider(t){t=J(t);let n=Ao(t)?t:J(t&&t.provide),r=jf(t);if(!Ao(t)&&t.multi===!0){let o=this.records.get(n);o||(o=st(void 0,Qn,!0),o.factory=()=>No(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===Qn&&(n.value=Lf,n.value=n.factory()),typeof n.value=="object"&&n.value&&$f(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=J(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Po(e){let t=br(e),n=t!==null?t.factory:Be(e);if(n!==null)return n;if(e instanceof P)throw new x(204,!1);if(e instanceof Function)return Ff(e);throw new x(204,!1)}function Ff(e){if(e.length>0)throw new x(204,!1);let n=zd(e);return n!==null?()=>n.factory(e):()=>new e}function jf(e){if(Nc(e))return st(void 0,e.useValue);{let t=Vf(e);return st(t,Qn)}}function Vf(e,t,n){let r;if(Ao(e)){let o=J(e);return Be(o)||Po(o)}else if(Nc(e))r=()=>J(e.useValue);else if(kf(e))r=()=>e.useFactory(...No(e.deps||[]));else if(Rf(e))r=()=>Ne(J(e.useExisting));else{let o=J(e&&(e.useClass||e.provide));if(Hf(e))r=()=>new o(...No(e.deps));else return Be(o)||Po(o)}return r}function st(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Hf(e){return!!e.deps}function $f(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Bf(e){return typeof e=="function"||typeof e=="object"&&e instanceof P}function Ro(e,t){for(let n of e)Array.isArray(n)?Ro(n,t):n&&dc(n)?Ro(n.\u0275providers,t):t(n)}function tC(e,t){e instanceof At&&e.assertNotDestroyed();let n,r=Me(e),o=U(void 0);try{return t()}finally{Me(r),U(o)}}function Oc(){return fc()!==void 0||sf()!=null}function nC(e){if(!Oc())throw new x(-203,!1)}function Uf(e){return typeof e=="function"}var G=0,I=1,m=2,j=3,ne=4,ie=5,K=6,Pt=7,V=8,ft=9,re=10,A=11,Rt=12,ba=13,gt=14,z=15,xr=16,at=17,pt=18,Cr=19,Ac=20,Te=21,po=22,qe=23,R=25,Pc=1,kt=6,we=7,rr=8,or=9,H=10,Fi=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Fi||{});function Ie(e){return Array.isArray(e)&&typeof e[Pc]=="object"}function he(e){return Array.isArray(e)&&e[Pc]===!0}function Rc(e){return(e.flags&4)!==0}function zt(e){return e.componentOffset>-1}function ji(e){return(e.flags&1)===1}function Qt(e){return!!e.template}function kc(e){return(e[m]&512)!==0}var ko=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Lc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function qf(){return Fc}function Fc(e){return e.type.prototype.ngOnChanges&&(e.setInput=Gf),Wf}qf.ngInherit=!0;function Wf(){let e=Vc(this),t=e?.current;if(t){let n=e.previous;if(n===Nt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Gf(e,t,n,r,o){let i=this.declaredInputs[r],s=Vc(e)||zf(e,{previous:Nt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new ko(l&&l.currentValue,n,c===Nt),Lc(e,t,o,n)}var jc="__ngSimpleChanges__";function Vc(e){return e[jc]||null}function zf(e,t){return e[jc]=t}var Ea=null;var ue=function(e,t,n){Ea?.(e,t,n)},Qf="svg",Zf="math",Yf=!1;function Jf(){return Yf}function oe(e){for(;Array.isArray(e);)e=e[G];return e}function Hc(e,t){return oe(t[e])}function Q(e,t){return oe(t[e.index])}function Vi(e,t){return e.data[t]}function Hi(e,t){return e[t]}function Ae(e,t){let n=t[e];return Ie(n)?n:n[G]}function $i(e){return(e[m]&128)===128}function Kf(e){return he(e[j])}function ir(e,t){return t==null?null:e[t]}function $c(e){e[at]=0}function Xf(e){e[m]&1024||(e[m]|=1024,$i(e)&&Lt(e))}function ep(e,t){for(;e>0;)t=t[gt],e--;return t}function Bi(e){return!!(e[m]&9216||e[qe]?.dirty)}function Lo(e){e[re].changeDetectionScheduler?.notify(1),Bi(e)?Lt(e):e[m]&64&&(Jf()?(e[m]|=1024,Lt(e)):e[re].changeDetectionScheduler?.notify())}function Lt(e){e[re].changeDetectionScheduler?.notify();let t=Ft(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!$i(t)));)t=Ft(t)}function Bc(e,t){if((e[m]&256)===256)throw new x(911,!1);e[Te]===null&&(e[Te]=[]),e[Te].push(t)}function tp(e,t){if(e[Te]===null)return;let n=e[Te].indexOf(t);n!==-1&&e[Te].splice(n,1)}function Ft(e){let t=e[j];return he(t)?t[j]:t}var D={lFrame:Zc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function np(){return D.lFrame.elementDepthCount}function rp(){D.lFrame.elementDepthCount++}function op(){D.lFrame.elementDepthCount--}function Uc(){return D.bindingsEnabled}function Zt(){return D.skipHydrationRootTNode!==null}function ip(e){return D.skipHydrationRootTNode===e}function sp(e){D.skipHydrationRootTNode=e}function ap(){D.skipHydrationRootTNode=null}function M(){return D.lFrame.lView}function se(){return D.lFrame.tView}function rC(e){return D.lFrame.contextLView=e,e[V]}function oC(e){return D.lFrame.contextLView=null,e}function ae(){let e=qc();for(;e!==null&&e.type===64;)e=e.parent;return e}function qc(){return D.lFrame.currentTNode}function cp(){let e=D.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Yt(e,t){let n=D.lFrame;n.currentTNode=e,n.isParent=t}function Wc(){return D.lFrame.isParent}function lp(){D.lFrame.isParent=!1}function Ye(){let e=D.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function up(e){return D.lFrame.bindingIndex=e}function Jt(){return D.lFrame.bindingIndex++}function dp(e){let t=D.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function fp(){return D.lFrame.inI18n}function pp(e,t){let n=D.lFrame;n.bindingIndex=n.bindingRootIndex=e,Fo(t)}function hp(){return D.lFrame.currentDirectiveIndex}function Fo(e){D.lFrame.currentDirectiveIndex=e}function mp(e){let t=D.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Gc(e){D.lFrame.currentQueryIndex=e}function gp(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[ie]:null}function zc(e,t,n){if(n&E.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&E.Host);)if(o=gp(i),o===null||(i=i[gt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=D.lFrame=Qc();return r.currentTNode=t,r.lView=e,!0}function Ui(e){let t=Qc(),n=e[I];D.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Qc(){let e=D.lFrame,t=e===null?null:e.child;return t===null?Zc(e):t}function Zc(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Yc(){let e=D.lFrame;return D.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Jc=Yc;function qi(){let e=Yc();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function yp(e){return(D.lFrame.contextLView=ep(e,D.lFrame.contextLView))[V]}function Je(){return D.lFrame.selectedIndex}function We(e){D.lFrame.selectedIndex=e}function Wi(){let e=D.lFrame;return Vi(e.tView,e.selectedIndex)}function Kc(){return D.lFrame.currentNamespace}var Xc=!0;function Gi(){return Xc}function me(e){Xc=e}function vp(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Fc(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function zi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[at]+=65536),(a>14>16&&(e[m]&3)===t&&(e[m]+=16384,xa(a,i)):xa(a,i)}var ut=-1,jt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function wp(e){return e instanceof jt}function Dp(e){return(e.flags&8)!==0}function bp(e){return(e.flags&16)!==0}function tl(e){return e!==ut}function sr(e){return e&32767}function Ep(e){return e>>16}function ar(e,t){let n=Ep(e),r=t;for(;n>0;)r=r[gt],n--;return r}var jo=!0;function cr(e){let t=jo;return jo=e,t}var xp=256,nl=xp-1,rl=5,Cp=0,de={};function Mp(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(_t)&&(r=n[_t]),r==null&&(r=n[_t]=Cp++);let o=r&nl,i=1<>rl)]|=i}function ol(e,t){let n=il(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,mo(r.data,e),mo(t,null),mo(r.blueprint,null));let o=Qi(e,t),i=e.injectorIndex;if(tl(o)){let s=sr(o),a=ar(o,t),c=a[I].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function mo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function il(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Qi(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=ul(o),r===null)return ut;if(n++,o=o[gt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ut}function _p(e,t,n){Mp(e,t,n)}function Tp(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Qt(f)&&f.type===n)return c}return null}function Vt(e,t,n,r){let o=e[n],i=t.data;if(wp(o)){let s=o;s.resolving&&ef(Xd(i[n]));let a=cr(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?U(s.injectImpl):null,u=zc(e,r,E.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&vp(n,i[n],t)}finally{l!==null&&U(l),cr(a),s.resolving=!1,Jc()}}return o}function Op(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(_t)?e[_t]:void 0;return typeof t=="number"?t>=0?t&nl:Ap:t}function Ca(e,t,n){let r=1<>rl)]&r)}function Ma(e,t){return!(e&E.Self)&&!(e&E.Host&&t)}var $e=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return cl(this._tNode,this._lView,t,Er(r),n)}};function Ap(){return new $e(ae(),M())}function iC(e){return Dr(()=>{let t=e.prototype.constructor,n=t[Xn]||Vo(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Xn]||Vo(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Vo(e){return cc(e)?()=>{let t=Vo(J(e));return t&&t()}:Be(e)}function Pp(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=ll(i,s,n,r|E.Self,de);if(a!==de)return a;let c=i.parent;if(!c){let l=s[Ac];if(l){let u=l.get(n,de,r);if(u!==de)return u}c=ul(s),s=s[gt]}i=c}return o}function ul(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[ie]:null}function sC(e){return Tp(ae(),e)}function _a(e,t=null,n=null,r){let o=dl(e,t,n,r);return o.resolveInjectorInitializers(),o}function dl(e,t=null,n=null,r,o=new Set){let i=[n||Se,Af(e)];return r=r||(typeof e=="object"?void 0:W(e)),new At(i,t||Li(),r||null,o)}var Mr=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return _a({name:""},o,r,"");{let i=r.name??"";return _a({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=Tt,t.NULL=new nr,t.\u0275prov=q({token:t,providedIn:"any",factory:()=>Ne(gc)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var Rp="ngOriginalError";function go(e){return e[Rp]}var Ge=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&go(t);for(;n&&go(n);)n=go(n);return n||null}},fl=new P("",{providedIn:"root",factory:()=>_(Ge).handleError.bind(void 0)}),Zi=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=kp,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Ho=class extends Zi{constructor(t){super(),this._lView=t}onDestroy(t){return Bc(this._lView,t),()=>tp(this._lView,t)}};function kp(){return new Ho(M())}var $o=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=_(Ge,{optional:!0}),this.destroyRef=_(Zi),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new x(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new x(953,!1);if(this.listeners===null)return;let n=b(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{b(n)}}};function Ta(e,t){return ic(e,t)}function Lp(e){return ic(wr,e)}var aC=(Ta.required=Lp,Ta);function Fp(){return Yi(ae(),M())}function Yi(e,t){return new jp(Q(e,t))}var jp=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Fp;let e=t;return e})();var Bo=class extends Y{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Oc()&&(this.destroyRef=_(Zi,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=yo(i),o&&(o=yo(o)),s&&(s=yo(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof k&&t.add(a),a}};function yo(e){return t=>{setTimeout(e,void 0,t)}}var Hn=Bo;var Vp="ngSkipHydration",Hp="ngskiphydration";function pl(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;nzp}),zp="ng",Qp=new P(""),Il=new P("",{providedIn:"platform",factory:()=>"unknown"});var lC=new P("",{providedIn:"root",factory:()=>Kt().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Zp={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},uC=new P("",{providedIn:"root",factory:()=>Zp});function Yp(){let e=new Ji;return _(Il)==="browser"&&(e.store=Jp(Kt(),_(Gp))),e}var Ji=(()=>{let t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/null;function ih(e,t,n=!1){let r=e.getAttribute(vo);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,c={};if(r!==""){let u=t.get(Ji,null,{optional:!0});u!==null&&(c=u.get(El,[])[Number(r)])}let l={data:c,firstChild:e.firstChild??null};return n&&(l.firstChild=e,_r(l,0,e.nextSibling)),a?e.setAttribute(vo,a):e.removeAttribute(vo),l}function sh(){xl=ih}function Xi(e,t,n=!1){return xl(e,t,n)}function ah(e){let t=e._lView;return t[I].type===2?null:(kc(t)&&(t=t[R]),t)}function ch(e){return e.textContent?.replace(/\s/gm,"")}function lh(e){let t=Kt(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=ch(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function _r(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Wo(e,t){return e.segmentHeads?.[t]??null}function uh(e,t){let n=e.data,r=n[Kp]?.[t]??null;return r===null&&n[Ki]?.[t]&&(r=es(e,t)),r}function Cl(e,t){return e.data[Ki]?.[t]??null}function es(e,t){let n=Cl(e,t)??[],r=0;for(let o of n)r+=o[ur]*(o[bl]??1);return r}function Tr(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[nh];e.disconnectedNodes=n?new Set(n):null}return!!e.disconnectedNodes?.has(t)}var $n=new P(""),Ml=!1,_l=new P("",{providedIn:"root",factory:()=>Ml}),dh=new P(""),Bn;function fh(){if(Bn===void 0&&(Bn=null,_e.trustedTypes))try{Bn=_e.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Bn}function Nr(e){return fh()?.createHTML(e)||e}var Un;function Tl(){if(Un===void 0&&(Un=null,_e.trustedTypes))try{Un=_e.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Un}function Sa(e){return Tl()?.createHTML(e)||e}function Oa(e){return Tl()?.createScriptURL(e)||e}var De=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${rc})`}},Go=class extends De{getTypeName(){return"HTML"}},zo=class extends De{getTypeName(){return"Style"}},Qo=class extends De{getTypeName(){return"Script"}},Zo=class extends De{getTypeName(){return"URL"}},Yo=class extends De{getTypeName(){return"ResourceURL"}};function Sr(e){return e instanceof De?e.changingThisBreaksApplicationSecurity:e}function ts(e,t){let n=ph(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${rc})`)}return n===t}function ph(e){return e instanceof De&&e.getTypeName()||null}function dC(e){return new Go(e)}function fC(e){return new zo(e)}function pC(e){return new Qo(e)}function hC(e){return new Zo(e)}function mC(e){return new Yo(e)}function hh(e){let t=new Ko(e);return mh()?new Jo(t):t}var Jo=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Nr(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},Ko=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Nr(t),n}};function mh(){try{return!!new window.DOMParser().parseFromString(Nr(""),"text/html")}catch{return!1}}var gh=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Nl(e){return e=String(e),e.match(gh)?e:"unsafe:"+e}function be(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Xt(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Sl=be("area,br,col,hr,img,wbr"),Ol=be("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Al=be("rp,rt"),yh=Xt(Al,Ol),vh=Xt(Ol,be("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ih=Xt(Al,be("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Aa=Xt(Sl,vh,Ih,yh),Pl=be("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),wh=be("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Dh=be("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),bh=Xt(Pl,wh,Dh),Eh=be("script,style,template"),Xo=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Mh(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Ch(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Pa(t).toLowerCase();if(!Aa.hasOwnProperty(n))return this.sanitizedSomething=!0,!Eh.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=Pa(t).toLowerCase();Aa.hasOwnProperty(n)&&!Sl.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Ra(t))}};function xh(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Ch(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Rl(t);return t}function Mh(e){let t=e.firstChild;if(t&&xh(e,t))throw Rl(t);return t}function Pa(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Rl(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var _h=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Th=/([^\#-~ |!])/g;function Ra(e){return e.replace(/&/g,"&").replace(_h,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Th,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var qn;function Nh(e,t){let n=null;try{qn=qn||hh(e);let r=t?String(t):"";n=qn.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=qn.getInertBodyElement(r)}while(r!==i);let a=new Xo().sanitizeChildren(ka(n)||n);return Nr(a)}finally{if(n){let r=ka(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function ka(e){return"content"in e&&Sh(e)?e.content:null}function Sh(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Or=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Or||{});function gC(e){let t=ns();return t?Sa(t.sanitize(Or.HTML,e)||""):ts(e,"HTML")?Sa(Sr(e)):Nh(Kt(),Wt(e))}function Oh(e){let t=ns();return t?t.sanitize(Or.URL,e)||"":ts(e,"URL")?Sr(e):Nl(Wt(e))}function Ah(e){let t=ns();if(t)return Oa(t.sanitize(Or.RESOURCE_URL,e)||"");if(ts(e,"ResourceURL"))return Oa(Sr(e));throw new x(904,!1)}function Ph(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Ah:Oh}function yC(e,t,n){return Ph(t,n)(e)}function ns(){let e=M();return e&&e[re].sanitizer}var Rh=/^>|^->||--!>|)/g,Lh="\u200B$1\u200B";function Fh(e){return e.replace(Rh,t=>t.replace(kh,Lh))}function jh(e){return e.ownerDocument.body}function kl(e){return e instanceof Function?e():e}function Wn(e){return(e??_(Mr)).get(Il)==="browser"}var ei=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ei||{}),Vh;function rs(e,t){return Vh(e,t)}function ct(e,t,n,r,o){if(r!=null){let i,s=!1;he(r)?i=r:Ie(r)&&(s=!0,r=r[G]);let a=oe(r);e===0&&n!==null?o==null?jl(t,n,a):dr(t,n,a,o||null,!0):e===1&&n!==null?dr(t,n,a,o||null,!0):e===2?cs(t,a,s):e===3&&t.destroyNode(a),i!=null&&nm(t,e,i,n,o)}}function os(e,t){return e.createText(t)}function Hh(e,t,n){e.setValue(t,n)}function is(e,t){return e.createComment(Fh(t))}function Ar(e,t,n){return e.createElement(t,n)}function $h(e,t){Ll(e,t),t[G]=null,t[ie]=null}function Bh(e,t,n,r,o,i){r[G]=o,r[ie]=t,Rr(e,r,n,1,o,i)}function Ll(e,t){t[re].changeDetectionScheduler?.notify(1),Rr(e,t,t[A],2,null,null)}function Uh(e){let t=e[Rt];if(!t)return Io(e[I],e);for(;t;){let n=null;if(Ie(t))n=t[Rt];else{let r=t[H];r&&(n=r)}if(!n){for(;t&&!t[ne]&&t!==e;)Ie(t)&&Io(t[I],t),t=t[j];t===null&&(t=e),Ie(t)&&Io(t[I],t),n=t&&t[ne]}t=n}}function qh(e,t,n,r){let o=H+r,i=n.length;r>0&&(n[o-1][ne]=t),r0&&(e[n-1][ne]=r[ne]);let i=tr(e,H+t);$h(r[I],r);let s=i[pt];s!==null&&s.detachView(i[I]),r[j]=null,r[ne]=null,r[m]&=-129}return r}function Pr(e,t){if(!(t[m]&256)){let n=t[A];n.destroyNode&&Rr(e,t,n,3,null,null),Uh(t)}}function Io(e,t){if(t[m]&256)return;let n=b(null);try{t[m]&=-129,t[m]|=256,t[qe]&&_s(t[qe]),zh(e,t),Gh(e,t),t[I].type===1&&t[A].destroy();let r=t[xr];if(r!==null&&he(t[j])){r!==t[j]&&Fl(r,t);let o=t[pt];o!==null&&o.detachView(e)}Wp(t)}finally{b(n)}}function Gh(e,t){let n=e.cleanup,r=t[Pt];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Pt]=null);let o=t[Te];if(o!==null){t[Te]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ot.None||i===Ot.Emulated)return null}return Q(r,n)}}function dr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function jl(e,t,n){e.appendChild(t,n)}function La(e,t,n,r,o){r!==null?dr(e,t,n,r,o):jl(e,t,n)}function Yh(e,t,n,r){e.removeChild(t,n,r)}function ss(e,t){return e.parentNode(t)}function Jh(e,t){return e.nextSibling(t)}function Kh(e,t,n){return em(e,t,n)}function Xh(e,t,n){return e.type&40?Q(e,n):null}var em=Xh,Fa;function as(e,t,n,r){let o=Qh(e,r,t),i=t[A],s=r.parent||t[ie],a=Kh(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;cR&&Ul(e,t,R,!1),ue(s?2:0,o),n(r,o)}finally{We(i),ue(s?3:1,o)}}function Ql(e,t,n){if(Rc(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function um(e){hl(e)?Hl(e):lh(e)}function dm(){Kl=um}function fm(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Zt()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function ja(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=dt.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(o!==null){if(!o.hasOwnProperty(i))continue;l=o[i]}e===0?Va(r,n,l,a,c):Va(r,n,l,a)}return r}function Va(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function pm(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,l=null;for(let u=r;u0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function vm(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;zt(n)&&Cm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||ol(n,t),ze(r,t);let s=n.initialInputs;for(let a=o;a{Lt(e.lView)},consumerOnSignalRead(){this.lView[qe]=this}}),lu=100;function uu(e,t=!0,n=0){let r=e[re],o=r.rendererFactory,i=!1;i||o.begin?.();try{$m(e,n)}catch(s){throw t&&iu(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function $m(e,t){oi(e,t);let n=0;for(;Bi(e);){if(n===lu)throw new x(103,!1);n++,oi(e,1)}}function Bm(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1;!i&&t[re].inlineEffectRunner?.flush(),Ui(t);let s=null,a=null;!i&&Um(e)&&(a=Fm(t),s=Gr(a));try{$c(t),up(e.bindingStartIndex),n!==null&&zl(e,t,n,2,r);let c=(o&3)===3;if(!i)if(c){let d=e.preOrderCheckHooks;d!==null&&Zn(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Yn(t,d,0,null),ho(t,0)}if(qm(t),du(t,0),e.contentQueries!==null&&ou(e,t),!i)if(c){let d=e.contentCheckHooks;d!==null&&Zn(t,d)}else{let d=e.contentHooks;d!==null&&Yn(t,d,1),ho(t,1)}im(e,t);let l=e.components;l!==null&&pu(t,l,0);let u=e.viewQuery;if(u!==null&&ri(2,u,r),!i)if(c){let d=e.viewCheckHooks;d!==null&&Zn(t,d)}else{let d=e.viewHooks;d!==null&&Yn(t,d,2),ho(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[po]){for(let d of t[po])d();t[po]=null}i||(t[m]&=-73)}catch(c){throw Lt(t),c}finally{a!==null&&(zr(a,s),Vm(a)),qi()}}function Um(e){return e.type!==2}function du(e,t){for(let n=gl(e);n!==null;n=yl(n))for(let r=H;r-1&&(Ht(t,r),tr(n,r))}this._attachedToViewContainer=!1}Pr(this._lView[I],this._lView)}onDestroy(t){Bc(this._lView,t)}markForCheck(){hs(this._cdRefInjectingView||this._lView)}detach(){this._lView[m]&=-129}reattach(){Lo(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,uu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Ll(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=t,Lo(this._lView)}};function hu(e){let t=e[kt]??[],r=e[j][A];for(let o of t)Gm(o,r);e[kt]=Se}function Gm(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[ur];for(;n0&&(i.firstChild=e,e=Hr(r[ur],e)),n.push(i)}return[e,n]}var gu=()=>null;function ng(e,t){let n=e[kt];return!t||n===null||n.length===0?null:n[0].data[eh]===t?n.shift():(hu(e),null)}function rg(){gu=ng}function Bt(e,t){return gu(e,t)}var ii=class{},si=class{},hr=class{};function og(e){let t=Error(`No component factory found for ${W(e)}.`);return t[ig]=e,t}var ig="ngComponent";var ai=class{resolveComponentFactory(t){throw og(t)}},$r=(()=>{let t=class t{};t.NULL=new ai;let e=t;return e})(),ci=class{},IC=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>sg();let e=t;return e})();function sg(){let e=M(),t=ae(),n=Ae(t.index,e);return(Ie(n)?n:e)[A]}var ag=(()=>{let t=class t{};t.\u0275prov=q({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Do={};var Ha=new Set;function yt(e){Ha.has(e)||(Ha.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function $a(...e){}function cg(){let e=typeof _e.requestAnimationFrame=="function",t=_e[e?"requestAnimationFrame":"setTimeout"],n=_e[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var fe=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Hn(!1),this.onMicrotaskEmpty=new Hn(!1),this.onStable=new Hn(!1),this.onError=new Hn(!1),typeof Zone>"u")throw new x(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=cg().nativeRequestAnimationFrame,dg(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new x(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,lg,$a,$a);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},lg={};function ms(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function ug(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(_e,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,li(e),e.isCheckStableRunning=!0,ms(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),li(e))}function dg(e){let t=()=>{ug(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(fg(a))return n.invokeTask(o,i,s,a);try{return Ba(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ua(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return Ba(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ua(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,li(e),ms(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function li(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ba(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ua(e){e._nesting--,ms(e)}function fg(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var yu=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=q({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function ui(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&$l(e,n,i.join(" "))}}function Ig(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=bg;let e=t;return e})();function bg(){let e=ae();return xg(e,M())}var Eg=Dg,vu=class extends Eg{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Yi(this._hostTNode,this._hostLView)}get injector(){return new $e(this._hostTNode,this._hostLView)}get parentInjector(){let t=Qi(this._hostTNode,this._hostLView);if(tl(t)){let n=ar(t,this._hostLView),r=sr(t),o=n[I].data[r+8];return new $e(o,n)}else return new $e(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Wa(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-H}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Bt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,$t(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Uf(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new Ut(Ue(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let y=(s?l:this.parentInjector).get(Oe,null);y&&(i=y)}let u=Ue(c.componentType??{}),d=Bt(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,$t(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Kf(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[j],l=new vu(c,c[ie],c[j]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return jr(s,o,i,r),t.attachToViewContainerRef(),mc(bo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Wa(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Ht(this._lContainer,n);r&&(tr(bo(this._lContainer),n),Pr(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=Ht(this._lContainer,n);return r&&tr(bo(this._lContainer),n)!=null?new ht(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Wa(e){return e[rr]}function bo(e){return e[rr]||(e[rr]=[])}function xg(e,t){let n,r=t[e.index];return he(r)?n=r:(n=ru(r,t,null,e),t[e.index]=n,Fr(t,n)),Iu(n,t,e,r),new vu(n,e,t)}function Cg(e,t){let n=e[A],r=n.createComment(""),o=Q(t,e),i=ss(n,o);return dr(n,i,r,Jh(n,o),!1),r}var Iu=wu,gs=()=>!1;function Mg(e,t,n){return gs(e,t,n)}function wu(e,t,n,r){if(e[we])return;let o;n.type&8?o=oe(r):o=Cg(t,n),e[we]=o}function _g(e,t,n){if(e[we]&&e[kt])return!0;let r=n[K],o=t.index-R;if(!r||$p(t)||Tr(r,o))return!1;let s=Wo(r,o),a=r.data[Ki]?.[o],[c,l]=tg(s,a);return e[we]=c,e[kt]=l,!0}function Tg(e,t,n,r){gs(e,n,t)||wu(e,t,n,r)}function Ng(){Iu=Tg,gs=_g}function DC(e,t){yt("NgSignals");let n=Rs(e),r=n[ce];return t?.equal&&(r.equal=t.equal),n.set=o=>wt(r,o),n.update=o=>ks(r,o),n.asReadonly=Du.bind(n),n}function Du(){let e=this[ce];if(e.readonlyFn===void 0){let t=()=>this();t[ce]=e,e.readonlyFn=t}return e.readonlyFn}function bu(e){let t=Object.create(oc),n=new $o;t.value=e;function r(){return It(t),Ga(t.value),t.value}return r[ce]=t,r.asReadonly=Du.bind(r),r.set=o=>{t.equal(t.value,o)||(wt(t,o),n.emit(o))},r.update=o=>{Ga(t.value),r.set(o(t.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function Ga(e){if(e===wr)throw new x(-952,!1)}function za(e){return bu(e)}function Sg(){return bu(wr)}var bC=(za.required=Sg,za);function EC(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var Qe=class{},pi=class{};var hi=class extends Qe{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new mr(this);let o=Ec(t);this._bootstrapComponents=kl(o.bootstrap),this._r3Injector=dl(t,n,[{provide:Qe,useValue:this},{provide:$r,useValue:this.componentFactoryResolver},...r],W(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},mi=class extends pi{constructor(t){super(),this.moduleType=t}create(t){return new hi(this.moduleType,t,[])}};var gr=class extends Qe{constructor(t){super(),this.componentFactoryResolver=new mr(this),this.instance=null;let n=new At([...t.providers,{provide:Qe,useValue:this},{provide:$r,useValue:this.componentFactoryResolver}],t.parent||Li(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Og(e,t,n=null){return new gr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Eu=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new bt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=q({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function xu(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Br(e,t,n){return e[t]=n}function Ag(e,t){return e[t]}function pe(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Cu(e,t,n,r){let o=pe(e,t,n);return pe(e,t+1,r)||o}function Pg(e,t,n,r,o){let i=Cu(e,t,n,r);return pe(e,t+2,o)||i}function en(e){return(e.flags&32)===32}function Rg(e,t,n,r,o,i,s,a,c){let l=t.consts,u=Lr(t,e,4,s||null,ir(l,a));eu(t,n,u,ir(l,c)),zi(t,u);let d=u.tView=us(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function gi(e,t,n,r,o,i,s,a){let c=M(),l=se(),u=e+R,d=l.firstCreatePass?Rg(u,l,c,t,n,r,o,i,s):l.data[u];Yt(d,!1);let p=Mu(l,c,d,e);Gi()&&as(l,c,p,d),ze(p,c);let f=ru(p,c,p,d);return c[u]=f,Fr(c,f),Mg(f,d,c),ji(d)&&Zl(l,c,d),s!=null&&Yl(c,d,a),gi}var Mu=_u;function _u(e,t,n,r){return me(!0),t[A].createComment("")}function kg(e,t,n,r){let o=t[K],i=!o||Zt()||en(n)||Tr(o,r);if(me(i),i)return _u(e,t,n,r);let s=o.data[Xp]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=Vr(o,e,t,n);_r(o,r,a);let c=es(o,r);return Hr(c,a)}function Lg(){Mu=kg}function Fg(e,t,n,r){let o=M(),i=Jt();if(pe(o,i,t)){let s=se(),a=Wi();Mm(a,o,e,t,n,r)}return Fg}function Tu(e,t,n,r){return pe(e,Jt(),n)?t+Wt(n)+r:Ee}function Gn(e,t){return e<<17|t<<2}function Ze(e){return e>>17&32767}function jg(e){return(e&2)==2}function Vg(e,t){return e&131071|t<<17}function yi(e){return e|2}function mt(e){return(e&131068)>>2}function Eo(e,t){return e&-131069|t<<2}function Hg(e){return(e&1)===1}function vi(e){return e|1}function $g(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ze(s),c=mt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Gt(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Ze(e[a+1]);e[r+1]=Gn(p,a),p!==0&&(e[p+1]=Eo(e[p+1],r)),e[a+1]=Vg(e[a+1],r)}else e[r+1]=Gn(a,0),a!==0&&(e[a+1]=Eo(e[a+1],r)),a=r;else e[r+1]=Gn(c,0),a===0?a=r:e[c+1]=Eo(e[c+1],r),c=r;l&&(e[r+1]=yi(e[r+1])),Qa(e,u,r,!0),Qa(e,u,r,!1),Bg(t,u,e,r,i),s=Gn(a,c),i?t.classBindings=s:t.styleBindings=s}function Bg(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Gt(i,t)>=0&&(n[r+1]=vi(n[r+1]))}function Qa(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ze(o):mt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];Ug(c,t)&&(a=!0,e[s+1]=r?vi(l):yi(l)),s=r?Ze(l):mt(l)}a&&(e[n+1]=r?yi(o):vi(o))}function Ug(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Gt(e,t)>=0:!1}function qg(e,t,n){let r=M(),o=Jt();if(pe(r,o,t)){let i=se(),s=Wi();Xl(i,s,r,e,t,r[A],n,!1)}return qg}function Za(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";ds(e,n,i[s],s,r)}function Wg(e,t,n){return Nu(e,t,n,!1),Wg}function Gg(e,t){return Nu(e,t,null,!0),Gg}function Nu(e,t,n,r){let o=M(),i=se(),s=dp(2);if(i.firstUpdatePass&&Qg(i,e,s,r),t!==Ee&&pe(o,s,t)){let a=i.data[Je()];Xg(i,a,o,o[A],e,o[s+1]=ey(t,n),r,s)}}function zg(e,t){return t>=e.expandoStartIndex}function Qg(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Je()],s=zg(e,n);ty(i,r)&&t===null&&!s&&(t=!1),t=Zg(o,i,t,r),$g(o,i,t,n,s,r)}}function Zg(e,t,n,r){let o=mp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=xo(null,e,t,n,r),n=qt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=xo(o,e,t,n,r),i===null){let c=Yg(e,t,r);c!==void 0&&Array.isArray(c)&&(c=xo(null,e,t,c[1],r),c=qt(c,t.attrs,r),Jg(e,t,r,c))}else i=Kg(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Yg(e,t,n){let r=n?t.classBindings:t.styleBindings;if(mt(r)!==0)return e[Ze(r)]}function Jg(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ze(o)]=r}function Kg(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===Ee&&(p=d?Se:void 0);let f=d?uo(p,r):u===r?p:void 0;if(l&&!yr(f)&&(f=uo(c,r)),yr(f)&&(a=f,s))return a;let h=e[o+1];o=s?Ze(h):mt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=uo(c,r))}return a}function yr(e){return e!==void 0}function ey(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=W(Sr(e)))),e}function ty(e,t){return(e.flags&(t?8:16))!==0}var Ii=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Co(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function ny(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let c=e.at(i),l=t[i],u=Co(i,c,i,l,n);if(u!==0){u<0&&e.updateValue(i,l),i++;continue}let d=e.at(s),p=t[a],f=Co(s,d,a,p,n);if(f!==0){f<0&&e.updateValue(s,p),s--,a--;continue}let h=n(i,c),y=n(s,d),S=n(i,l);if(Object.is(S,y)){let T=n(a,p);Object.is(T,h)?(e.swap(i,s),e.updateValue(s,p),a--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new vr,o??=Ka(e,i,s,n),wi(e,r,i,S))e.updateValue(i,l),i++,s++;else if(o.has(S))r.set(h,e.detach(i)),s--;else{let T=e.create(i,t[i]);e.attach(i,T),i++,s++}}for(;i<=a;)Ja(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),c=a.next();for(;!c.done&&i<=s;){let l=e.at(i),u=c.value,d=Co(i,l,i,u,n);if(d!==0)d<0&&e.updateValue(i,u),i++,c=a.next();else{r??=new vr,o??=Ka(e,i,s,n);let p=n(i,u);if(wi(e,r,i,p))e.updateValue(i,u),i++,s++,c=a.next();else if(!o.has(p))e.attach(i,e.create(i,u)),i++,s++,c=a.next();else{let f=n(i,l);r.set(f,e.detach(i)),s--}}}for(;!c.done;)Ja(e,r,n,e.length,c.value),c=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function wi(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ja(e,t,n,r,o){if(wi(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ka(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var vr=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function xC(e,t,n){yt("NgControlFlow");let r=M(),o=Jt(),i=xi(r,R+e),s=0;if(pe(r,o,t)){let a=b(null);try{if(au(i,s),t!==-1){let c=Ci(r[I],R+t),l=Bt(i,c.tView.ssrId),u=ps(r,c,n,{dehydratedView:l});jr(i,u,s,$t(c,l))}}finally{b(a)}}else{let a=su(i,s);a!==void 0&&(a[V]=n)}}var Di=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-H}};function CC(e){return e}function MC(e,t){return t}var bi=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function _C(e,t,n,r,o,i,s,a,c,l,u,d,p){yt("NgControlFlow");let f=c!==void 0,h=M(),y=a?s.bind(h[z][V]):s,S=new bi(f,y);h[R+e]=S,gi(e+1,t,n,r,o,i),f&&gi(e+2,c,l,u,d,p)}var Ei=class extends Ii{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-H}at(t){return this.getLView(t)[V].$implicit}attach(t,n){let r=n[K];this.needsIndexUpdate||=t!==this.length,jr(this.lContainer,n,t,$t(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,ry(this.lContainer,t)}create(t,n){let r=Bt(this.lContainer,this.templateTNode.tView.ssrId);return ps(this.hostLView,this.templateTNode,new Di(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Pr(t[I],t)}updateValue(t,n){this.getLView(t)[V].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(me(!0),Ar(r,o,Kc()));function ay(e,t,n,r,o,i){let s=t[K],a=!s||Zt()||en(n)||Tr(s,i);if(me(a),a)return Ar(r,o,Kc());let c=Vr(s,e,t,n);return Cl(s,i)&&_r(s,i,c.nextSibling),s&&(pl(n)||hl(c))&&zt(n)&&(sp(n),Hl(c)),c}function cy(){Au=ay}var ly=(e,t,n,r)=>(me(!0),is(t[A],""));function uy(e,t,n,r){let o,i=t[K],s=!i||Zt()||en(n);if(me(s),s)return is(t[A],"");let a=Vr(i,e,t,n),c=uh(i,r);return _r(i,r,a),o=Hr(c,a),o}function dy(){ly=uy}function NC(){return M()}var Ir="en-US";var fy=Ir;function py(e){typeof e=="string"&&(fy=e.toLowerCase().replace(/_/g,"-"))}function Pu(e,t,n){let r=e[A];switch(n){case Node.COMMENT_NODE:return is(r,t);case Node.TEXT_NODE:return os(r,t);case Node.ELEMENT_NODE:return Ar(r,t,null)}}var hy=(e,t,n,r)=>(me(!0),Pu(e,n,r));function my(e,t,n,r){return me(!0),Pu(e,n,r)}function gy(){hy=my}function yy(e,t,n,r){let o=M(),i=se(),s=ae();return Iy(i,o,o[A],s,e,t,r),yy}function vy(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Iy(e,t,n,r,o,i,s){let a=ji(r),l=e.firstCreatePass&&Om(e),u=t[V],d=Sm(t),p=!0;if(r.type&3||s){let y=Q(r,t),S=s?s(y):y,T=d.length,Z=s?ge=>s(oe(ge[r.index])):r.index,$=null;if(!s&&a&&($=vy(e,t,o,r.index)),$!==null){let ge=$.__ngLastListenerFn__||$;ge.__ngNextListenerFn__=i,$.__ngLastListenerFn__=i,p=!1}else{i=ec(r,t,u,i,!1);let ge=n.listen(S,o,i);d.push(i,ge),l&&l.push(o,Z,T,T+1)}}else i=ec(r,t,u,i,!1);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let y=h.length;if(y)for(let S=0;S-1?Ae(e.index,t):t;hs(a);let c=Xa(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)c=Xa(t,n,l,s)&&c,l=l.__ngNextListenerFn__;return o&&c===!1&&s.preventDefault(),c}}function SC(e=1){return yp(e)}function wy(e,t,n){return Ru(e,"",t,"",n),wy}function Ru(e,t,n,r,o){let i=M(),s=Tu(i,t,n,r);if(s!==Ee){let a=se(),c=Wi();Xl(a,c,i,e,s,i[A],o,!1)}return Ru}function Dy(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function OC(e,t=""){let n=M(),r=se(),o=e+R,i=r.firstCreatePass?Lr(r,o,1,t,null):r.data[o],s=ku(r,n,i,t,e);n[o]=s,Gi()&&as(r,n,s,i),Yt(i,!1)}var ku=(e,t,n,r,o)=>(me(!0),os(t[A],r));function by(e,t,n,r,o){let i=t[K],s=!i||Zt()||en(n)||Tr(i,o);return me(s),s?os(t[A],r):Vr(i,e,t,n)}function Ey(){ku=by}function xy(e){return Lu("",e,""),xy}function Lu(e,t,n){let r=M(),o=Tu(r,e,t,n);return o!==Ee&&Am(r,Je(),o),Lu}var Cy=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=_c(!1,r.type),i=o.length>0?Og([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=q({token:t,providedIn:"environment",factory:()=>new t(Ne(Oe))});let e=t;return e})();function AC(e){yt("NgStandalone"),e.getStandaloneInjector=t=>t.get(Cy).getOrCreateStandaloneInjector(e)}function PC(e,t,n){let r=Ye()+e,o=M();return o[r]===Ee?Br(o,r,n?t.call(n):t()):Ag(o,r)}function RC(e,t,n,r){return Fu(M(),Ye(),e,t,n,r)}function kC(e,t,n,r,o){return ju(M(),Ye(),e,t,n,r,o)}function LC(e,t,n,r,o,i){return Vu(M(),Ye(),e,t,n,r,o,i)}function ys(e,t){let n=e[t];return n===Ee?void 0:n}function Fu(e,t,n,r,o,i){let s=t+n;return pe(e,s,o)?Br(e,s+1,i?r.call(i,o):r(o)):ys(e,s+1)}function ju(e,t,n,r,o,i,s){let a=t+n;return Cu(e,a,o,i)?Br(e,a+2,s?r.call(s,o,i):r(o,i)):ys(e,a+2)}function Vu(e,t,n,r,o,i,s,a){let c=t+n;return Pg(e,c,o,i,s)?Br(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):ys(e,c+3)}function FC(e,t){let n=se(),r,o=e+R;n.firstCreatePass?(r=My(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Be(r.type,!0)),s,a=U(ql);try{let c=cr(!1),l=i();return cr(c),Dy(n,M(),o,l),l}finally{U(a)}}function My(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function jC(e,t,n){let r=e+R,o=M(),i=Hi(o,r);return vs(o,r)?Fu(o,Ye(),t,i.transform,n,i):i.transform(n)}function VC(e,t,n,r){let o=e+R,i=M(),s=Hi(i,o);return vs(i,o)?ju(i,Ye(),t,s.transform,n,r,s):s.transform(n,r)}function HC(e,t,n,r,o){let i=e+R,s=M(),a=Hi(s,i);return vs(s,i)?Vu(s,Ye(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function vs(e,t){return e[I].data[t].pure}var $C=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=q({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var _y=new P("");function Hu(e){return!!e&&typeof e.then=="function"}function Ty(e){return!!e&&typeof e.subscribe=="function"}var Ny=new P(""),$u=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=_(Ny,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Hu(s))r.push(s);else if(Ty(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=q({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Bu=new P("");function Sy(){Ps(()=>{throw new x(600,!1)})}function Oy(e){return e.isBoundToModule}function Ay(e,t,n){try{let r=n();return Hu(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Is=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=_(fl),this.afterRenderEffectManager=_(yu),this.externalTestViews=new Set,this.beforeRender=new Y,this.afterTick=new Y,this.componentTypes=[],this.components=[],this.isStable=_(Eu).hasPendingTasks.pipe(le(r=>!r)),this._injector=_(Oe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof hr;if(!this._injector.get($u).done){let f=!i&&Sf(r),h=!1;throw new x(405,h)}let a;i?a=r:a=this._injector.get($r).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=Oy(a)?void 0:this._injector.get(Qe),l=o||a.selector,u=a.create(Mr.NULL,[],l,c),d=u.location.nativeElement,p=u.injector.get(_y,null);return p?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Mo(this.components,u),p?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new x(101,!1);let o=b(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,b(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===lu)throw new x(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:c}of this._views)Ry(a,s,c)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Mi(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Mi(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Mo(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Bu,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Mo(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new x(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=q({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Mo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var zn;function Py(e){zn??=new WeakMap;let t=zn.get(e);if(t)return t;let n=e.isStable.pipe(jn(r=>r)).toPromise().then(()=>{});return zn.set(e,n),e.onDestroy(()=>zn?.delete(e)),n}function Ry(e,t,n){!t&&!Mi(e)||ky(e,n,t)}function Mi(e){return Bi(e)}function ky(e,t,n){let r;n?(r=0,e[m]|=1024):e[m]&64?r=0:r=1,uu(e,t,r)}var _i=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},BC=(()=>{let t=class t{compileModuleSync(r){return new mi(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Ec(r),s=kl(i.declarations).reduce((a,c)=>{let l=Ue(c);return l&&a.push(new Ut(l)),a},[]);return new _i(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=q({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Ly=(()=>{let t=class t{constructor(){this.zone=_(fe),this.applicationRef=_(Is)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=q({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Fy(e){return[{provide:fe,useFactory:e},{provide:St,multi:!0,useFactory:()=>{let t=_(Ly,{optional:!0});return()=>t.initialize()}},{provide:St,multi:!0,useFactory:()=>{let t=_($y);return()=>{t.initialize()}}},{provide:fl,useFactory:jy}]}function jy(){let e=_(fe),t=_(Ge);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Vy(e){let t=Fy(()=>new fe(Hy(e)));return Mc([[],t])}function Hy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var $y=(()=>{let t=class t{constructor(){this.subscription=new k,this.initialized=!1,this.zone=_(fe),this.pendingTasks=_(Eu)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{fe.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{fe.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=q({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function By(){return typeof $localize<"u"&&$localize.locale||Ir}var Uu=new P("",{providedIn:"root",factory:()=>_(Uu,E.Optional|E.SkipSelf)||By()});var qu=new P("");var Kn=null;function Uy(e=[],t){return Mr.create({name:t,providers:[{provide:Sc,useValue:"platform"},{provide:qu,useValue:new Set([()=>Kn=null])},...e]})}function qy(e=[]){if(Kn)return Kn;let t=Uy(e);return Kn=t,Sy(),Wy(t),t}function Wy(e){e.get(Qp,null)?.forEach(n=>n())}function UC(){return!1}var qC=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Gy;let e=t;return e})();function Gy(e){return zy(ae(),M(),(e&16)===16)}function zy(e,t,n){if(zt(e)&&!n){let r=Ae(e.index,t);return new ht(r,r)}else if(e.type&47){let r=t[z];return new ht(r,t)}return null}var Ti=class{constructor(){}supports(t){return t instanceof Map||xu(t)}create(){return new Ni}},Ni=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||xu(t)))throw new x(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Si(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Si=class{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function tc(){return new Qy([new Ti])}var Qy=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||tc()),deps:[[t,new ff,new df]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new x(901,!1)}};t.\u0275prov=q({token:t,providedIn:"root",factory:tc});let e=t;return e})();function WC(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=qy(r),i=[Vy(),...n||[]],a=new gr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(fe);return c.run(()=>{a.resolveInjectorInitializers();let l=a.get(Ge,null),u;c.runOutsideAngular(()=>{u=c.onError.subscribe({next:f=>{l.handleError(f)}})});let d=()=>a.destroy(),p=o.get(qu);return p.add(d),a.onDestroy(()=>{u.unsubscribe(),p.delete(d)}),Ay(l,c,()=>{let f=a.get($u);return f.runInitializers(),f.donePromise.then(()=>{let h=a.get(Uu,Ir);py(h||Ir);let y=a.get(Is);return t!==void 0&&y.bootstrap(t),y})})})}catch(t){return Promise.reject(t)}}var nc=!1,Zy=!1;function Yy(){nc||(nc=!0,sh(),cy(),Ey(),dy(),Lg(),Ng(),rg(),dm(),gy())}function Jy(e,t){return Py(e)}function GC(){return Mc([{provide:$n,useFactory:()=>{let e=!0;return Wn()&&(e=!!_(Ji,{optional:!0})?.get(El,null)),e&&yt("NgHydration"),e}},{provide:St,useValue:()=>{Zy=!!_(dh,{optional:!0}),Wn()&&_($n)&&(Ky(),Yy())},multi:!0},{provide:_l,useFactory:()=>Wn()&&_($n)},{provide:Bu,useFactory:()=>{if(Wn()&&_($n)){let e=_(Is),t=_(Mr);return()=>{Jy(e,t).then(()=>{Qm(e)})}}return()=>{}},multi:!0}])}function Ky(){let e=Kt(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===oh){t=n;break}if(!t)throw new x(-507,!1)}function zC(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function QC(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function ZC(e,t){yt("NgSignals");let n=Ss(e);return t?.equal&&(n[ce].equal=t.equal),n}export{Pe as a,Re as b,Xy as c,Yu as d,k as e,sd as f,C as g,oo as h,io as i,Y as j,bt as k,Ct as l,Ce as m,gd as n,yd as o,vd as p,ve as q,Id as r,le as s,_d as t,Ve as u,Rn as v,Nd as w,Sd as x,Od as y,He as z,ao as A,Ad as B,Mt as C,Ln as D,Pd as E,Rd as F,Fd as G,jn as H,co as I,jd as J,Vd as K,Hd as L,$d as M,Bd as N,la as O,ua as P,Ud as Q,da as R,x as S,q as T,Jx as U,P as V,E as W,Ne as X,_ as Y,Ot as Z,dt as _,Kx as $,Xx as aa,eC as ba,Mc as ca,Sc as da,Oe as ea,tC as fa,nC as ga,qf as ha,rC as ia,oC as ja,iC as ka,sC as la,Mr as ma,Ge as na,Zi as oa,aC as pa,jp as qa,Hn as ra,cC as sa,Gp as ta,Qp as ua,Il as va,lC as wa,Zp as xa,uC as ya,Ji as za,Sr as Aa,ts as Ba,dC as Ca,fC as Da,pC as Ea,hC as Fa,mC as Ga,Nl as Ha,Nh as Ia,Or as Ja,gC as Ka,Oh as La,yC as Ma,ei as Na,vC as Oa,ql as Pa,ci as Qa,IC as Ra,yt as Sa,fe as Ta,Dg as Ua,DC as Va,bC as Wa,EC as Xa,pi as Ya,Og as Za,Eu as _a,gi as $a,Fg as ab,qg as bb,Wg as cb,Gg as db,xC as eb,CC as fb,MC as gb,_C as hb,TC as ib,Su as jb,Ou as kb,sy as lb,NC as mb,yy as nb,SC as ob,wy as pb,OC as qb,xy as rb,Lu as sb,AC as tb,PC as ub,RC as vb,kC as wb,LC as xb,FC as yb,jC as zb,VC as Ab,HC as Bb,$C as Cb,Hu as Db,Bu as Eb,Is as Fb,Py as Gb,BC as Hb,UC as Ib,qC as Jb,Qy as Kb,WC as Lb,GC as Mb,zC as Nb,QC as Ob,ZC as Pb}; diff --git a/chunk-SMNG3EBN.js b/chunk-NRZ5RORX.js similarity index 93% rename from chunk-SMNG3EBN.js rename to chunk-NRZ5RORX.js index 87a265b..47ad3f6 100644 --- a/chunk-SMNG3EBN.js +++ b/chunk-NRZ5RORX.js @@ -1 +1 @@ -import{f as d}from"./chunk-7ARKW5W4.js";import{o as b}from"./chunk-7IMKBQP2.js";import{A as j,P as m,R as y,T as f,X as u,a as p,n as g,o as T,s as r}from"./chunk-HTB7U7SQ.js";var A=()=>0;function x(n,o,v){let t=p({},n),e=p({},v?t[v]:t);for(let a of Object.keys(e))for(let i of o)typeof t[i]=="string"&&(t[i]=t[i].replaceAll(`{${a}}`,e[a]));return t}var F=(()=>{let o=class o{constructor(t,e){this.httpClient=t,this.transloco=e}get faq(){return this.getData("faq").pipe(r(t=>this.formatToMapped(t,"section")))}get tools(){return this.getData("tools").pipe(r(t=>this.formatToMapped(t,"category")))}get imageGuis(){return this.getData("image-guis").pipe(r(t=>t.map(e=>x(e,["description","downloadButtonText"]))),r(t=>this.formatToMapped(t,"categories")))}get textGuis(){return this.getData("text-guis").pipe(r(t=>t.map(e=>x(e,["description","downloadButtonText"]))),r(t=>this.formatToMapped(t,"categories")))}get privacyPolicy(){return this.getData("privacy").pipe(r(t=>{let e=this.formatToMapped(t,"section"),a=new Map;return e.forEach((i,s)=>{let l=this.formatToMapped(i.map(M=>{let c=p({},M);if(c.context!==void 0)for(let w of Object.keys(c.context)){let h=c.context[w],L;switch(h.valueType){case"date":L=new Intl.DateTimeFormat(this.transloco.getActiveLang(),{dateStyle:"long",timeStyle:void 0}).format(new Date(h.value));break;default:throw new Error(`Unsupported type: ${h.valueType}`)}c.text=c.text.replaceAll(`{${w}}`,L)}return c}),"subsection");a.set(s,l)}),a}))}formatToMapped(t,e){let a=new Map;for(let i of t){let s=i[e];s===null&&(s=[""]),Array.isArray(s)||(s=[s]);for(let l of s)a.has(l)||a.set(l,[]),a.get(l).push(i)}return a}getData(t){return this.httpClient.get(`/assets/data/${t}.${this.transloco.getActiveLang()}.json`).pipe(j(e=>e.status!==404?T(()=>e):this.httpClient.get(`/assets/data/${t}.en.json`)))}};o.\u0275fac=function(e){return new(e||o)(u(b),u(d))},o.\u0275prov=f({token:o,factory:o.\u0275fac,providedIn:"root"});let n=o;return n})();var O=(()=>{let o=class o{constructor(t){this.transloco=t,this.loadedLanguages=[]}get(t,e){return this.loadCurrentLanguage().pipe(r(()=>this.transloco.translate(t,e)))}loadCurrentLanguage(){return g(void 0).pipe(m(()=>{let t=this.transloco.getActiveLang();return this.loadedLanguages.includes(t)?g(null):this.transloco.load(t)}),y(t=>{if(t===null)return;let e=this.transloco.getActiveLang();this.loadedLanguages.push(e)}),m(()=>{let t=this.transloco.config.fallbackLang;return this.loadedLanguages.includes(t)?g(void 0):this.transloco.load(t)}),y(t=>{if(t===null)return;let e=this.transloco.config.fallbackLang;this.loadedLanguages.push(e)}),r(()=>{}))}};o.\u0275fac=function(e){return new(e||o)(u(d))},o.\u0275prov=f({token:o,factory:o.\u0275fac,providedIn:"root"});let n=o;return n})();export{A as a,F as b,O as c}; +import{e as d}from"./chunk-DIHZTFHE.js";import{o as b}from"./chunk-PL5LST3Q.js";import{A as j,P as m,R as y,T as f,X as u,a as p,n as g,o as T,s as r}from"./chunk-RAGRZUZJ.js";var A=()=>0;function x(n,o,v){let t=p({},n),e=p({},v?t[v]:t);for(let a of Object.keys(e))for(let i of o)typeof t[i]=="string"&&(t[i]=t[i].replaceAll(`{${a}}`,e[a]));return t}var F=(()=>{let o=class o{constructor(t,e){this.httpClient=t,this.transloco=e}get faq(){return this.getData("faq").pipe(r(t=>this.formatToMapped(t,"section")))}get tools(){return this.getData("tools").pipe(r(t=>this.formatToMapped(t,"category")))}get imageGuis(){return this.getData("image-guis").pipe(r(t=>t.map(e=>x(e,["description","downloadButtonText"]))),r(t=>this.formatToMapped(t,"categories")))}get textGuis(){return this.getData("text-guis").pipe(r(t=>t.map(e=>x(e,["description","downloadButtonText"]))),r(t=>this.formatToMapped(t,"categories")))}get privacyPolicy(){return this.getData("privacy").pipe(r(t=>{let e=this.formatToMapped(t,"section"),a=new Map;return e.forEach((i,s)=>{let l=this.formatToMapped(i.map(M=>{let c=p({},M);if(c.context!==void 0)for(let w of Object.keys(c.context)){let h=c.context[w],L;switch(h.valueType){case"date":L=new Intl.DateTimeFormat(this.transloco.getActiveLang(),{dateStyle:"long",timeStyle:void 0}).format(new Date(h.value));break;default:throw new Error(`Unsupported type: ${h.valueType}`)}c.text=c.text.replaceAll(`{${w}}`,L)}return c}),"subsection");a.set(s,l)}),a}))}formatToMapped(t,e){let a=new Map;for(let i of t){let s=i[e];s===null&&(s=[""]),Array.isArray(s)||(s=[s]);for(let l of s)a.has(l)||a.set(l,[]),a.get(l).push(i)}return a}getData(t){return this.httpClient.get(`/assets/data/${t}.${this.transloco.getActiveLang()}.json`).pipe(j(e=>e.status!==404?T(()=>e):this.httpClient.get(`/assets/data/${t}.en.json`)))}};o.\u0275fac=function(e){return new(e||o)(u(b),u(d))},o.\u0275prov=f({token:o,factory:o.\u0275fac,providedIn:"root"});let n=o;return n})();var O=(()=>{let o=class o{constructor(t){this.transloco=t,this.loadedLanguages=[]}get(t,e){return this.loadCurrentLanguage().pipe(r(()=>this.transloco.translate(t,e)))}loadCurrentLanguage(){return g(void 0).pipe(m(()=>{let t=this.transloco.getActiveLang();return this.loadedLanguages.includes(t)?g(null):this.transloco.load(t)}),y(t=>{if(t===null)return;let e=this.transloco.getActiveLang();this.loadedLanguages.push(e)}),m(()=>{let t=this.transloco.config.fallbackLang;return this.loadedLanguages.includes(t)?g(void 0):this.transloco.load(t)}),y(t=>{if(t===null)return;let e=this.transloco.config.fallbackLang;this.loadedLanguages.push(e)}),r(()=>{}))}};o.\u0275fac=function(e){return new(e||o)(u(d))},o.\u0275prov=f({token:o,factory:o.\u0275fac,providedIn:"root"});let n=o;return n})();export{A as a,F as b,O as c}; diff --git a/chunk-VVJGNX6O.js b/chunk-NXANAV64.js similarity index 88% rename from chunk-VVJGNX6O.js rename to chunk-NXANAV64.js index 670a67b..a612ead 100644 --- a/chunk-VVJGNX6O.js +++ b/chunk-NXANAV64.js @@ -1 +1 @@ -import{o as h}from"./chunk-7IMKBQP2.js";import{T as o,X as p,n,s as a}from"./chunk-HTB7U7SQ.js";var f=(()=>{let t=class t{constructor(e){this.httpClient=e}get imageStats(){return this.httpClient.get("https://aihorde.net/api/v2/stats/img/totals")}get textStats(){return this.httpClient.get("https://aihorde.net/api/v2/stats/text/totals")}get performance(){return this.httpClient.get("https://aihorde.net/api/v2/status/performance")}get interrogationStats(){return n({processed:663723})}getTerms(){return this.httpClient.get("https://aihorde.net/api/v2/documents/terms?format=html").pipe(a(e=>e.html))}getNews(e){return this.httpClient.get("https://aihorde.net/api/v2/status/news").pipe(a(r=>e?r.slice(0,e):r),a(r=>r.map(i=>{let l=/\[([^\[]+)\]\(([^\)]+)\)/g,c=i.newspiece.replace(l,'$1');return{title:i.title,date_published:i.date_published,excerpt:c,moreLink:i.more_info_urls.length>0?i.more_info_urls[0]:null}})))}};t.\u0275fac=function(r){return new(r||t)(p(h))},t.\u0275prov=o({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})();export{f as a}; +import{o as h}from"./chunk-PL5LST3Q.js";import{T as o,X as p,n,s as a}from"./chunk-RAGRZUZJ.js";var f=(()=>{let t=class t{constructor(e){this.httpClient=e}get imageStats(){return this.httpClient.get("https://aihorde.net/api/v2/stats/img/totals")}get textStats(){return this.httpClient.get("https://aihorde.net/api/v2/stats/text/totals")}get performance(){return this.httpClient.get("https://aihorde.net/api/v2/status/performance")}get interrogationStats(){return n({processed:663723})}getTerms(){return this.httpClient.get("https://aihorde.net/api/v2/documents/terms?format=html").pipe(a(e=>e.html))}getNews(e){return this.httpClient.get("https://aihorde.net/api/v2/status/news").pipe(a(r=>e?r.slice(0,e):r),a(r=>r.map(i=>{let l=/\[([^\[]+)\]\(([^\)]+)\)/g,c=i.newspiece.replace(l,'$1');return{title:i.title,date_published:i.date_published,excerpt:c,moreLink:i.more_info_urls.length>0?i.more_info_urls[0]:null}})))}};t.\u0275fac=function(r){return new(r||t)(p(h))},t.\u0275prov=o({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})();export{f as a}; diff --git a/chunk-PL5LST3Q.js b/chunk-PL5LST3Q.js new file mode 100644 index 0000000..830add9 --- /dev/null +++ b/chunk-PL5LST3Q.js @@ -0,0 +1,2 @@ +import{B as ye,G as Ee,Hb as ie,Ib as Ne,Kb as B,Lb as se,Oa as Oe,P as we,Qa as ne,Ra as re,S as G,Sa as Y,T as p,V as w,Wa as Pe,X as m,Y as l,Za as _e,_ as b,a as J,aa as Fe,ba as ee,bb as Le,ca as Ae,d as H,ea as Ce,fa as be,g as L,ha as ve,m as De,ma as Se,n as Q,qa as te,r as pe,ra as Te,s as N,va as W,xa as Ie,ya as Re,z as me,za as Me}from"./chunk-RAGRZUZJ.js";var $e=null;function oe(){return $e}function In(e){$e??=e}var Be=class{};var k=new w(""),je=(()=>{let t=class t{historyGo(n){throw new Error("")}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=p({token:t,factory:()=>l(at),providedIn:"platform"});let e=t;return e})();var at=(()=>{let t=class t extends je{constructor(){super(),this._doc=l(k),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return oe().getBaseHref(this._doc)}onPopState(n){let r=oe().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=oe().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=p({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function ze(e,t){if(e.length==0)return t;if(t.length==0)return e;let s=0;return e.endsWith("/")&&s++,t.startsWith("/")&&s++,s==2?e+t.substring(1):s==1?e+t:e+"/"+t}function ke(e){let t=e.match(/#|\?|$/),s=t&&t.index||e.length,n=s-(e[s-1]==="/"?1:0);return e.slice(0,n)+e.slice(s)}function R(e){return e&&e[0]!=="?"?"?"+e:e}var ae=(()=>{let t=class t{historyGo(n){throw new Error("")}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=p({token:t,factory:()=>l(ct),providedIn:"root"});let e=t;return e})(),ut=new w(""),ct=(()=>{let t=class t extends ae{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??l(k).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return ze(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+R(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,a){let o=this.prepareExternalUrl(i+R(a));this._platformLocation.pushState(n,r,o)}replaceState(n,r,i,a){let o=this.prepareExternalUrl(i+R(a));this._platformLocation.replaceState(n,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};t.\u0275fac=function(r){return new(r||t)(m(je),m(ut,8))},t.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var dt=(()=>{let t=class t{constructor(n){this._subject=new Te,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=ft(ke(xe(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+R(r))}normalize(n){return t.stripTrailingSlash(ht(this._basePath,xe(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+R(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+R(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}};t.normalizeQueryParams=R,t.joinWithSlash=ze,t.stripTrailingSlash=ke,t.\u0275fac=function(r){return new(r||t)(m(ae))},t.\u0275prov=p({token:t,factory:()=>lt(),providedIn:"root"});let e=t;return e})();function lt(){return new dt(m(ae))}function ht(e,t){if(!e||!t.startsWith(e))return t;let s=t.substring(e.length);return s===""||["/",";","?","#"].includes(s[0])?s:t}function xe(e){return e.replace(/\/index.html$/,"")}function ft(e){if(new RegExp("^(https?:)?//").test(e)){let[,s]=e.split(/\/\/[^\/]+/);return s}return e}function Ve(e,t){t=encodeURIComponent(t);for(let s of e.split(";")){let n=s.indexOf("="),[r,i]=n==-1?[s,""]:[s.slice(0,n),s.slice(n+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}function gt(e,t){return new G(2100,!1)}var Rn=(()=>{let t=class t{transform(n){if(n==null)return null;if(typeof n!="string")throw gt(t,n);return n.toUpperCase()}};t.\u0275fac=function(r){return new(r||t)},t.\u0275pipe=ee({name:"uppercase",type:t,pure:!0,standalone:!0});let e=t;return e})();function Dt(e,t){return{key:e,value:t}}var Mn=(()=>{let t=class t{constructor(n){this.differs=n,this.keyValues=[],this.compareFn=Ue}transform(n,r=Ue){if(!n||!(n instanceof Map)&&typeof n!="object")return null;this.differ??=this.differs.find(n).create();let i=this.differ.diff(n),a=r!==this.compareFn;return i&&(this.keyValues=[],i.forEachItem(o=>{this.keyValues.push(Dt(o.key,o.currentValue))})),(i||a)&&(this.keyValues.sort(r),this.compareFn=r),this.keyValues}};t.\u0275fac=function(r){return new(r||t)(Oe(Ne,16))},t.\u0275pipe=ee({name:"keyvalue",type:t,pure:!1,standalone:!0});let e=t;return e})();function Ue(e,t){let s=e.key,n=t.key;if(s===n)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(s===null)return 1;if(n===null)return-1;if(typeof s=="string"&&typeof n=="string")return se.src,yt=new w("",{providedIn:"root",factory:()=>We});var Et=new w("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),wt=(()=>{let t=class t{constructor(){this.preloadedImages=l(Et),this.document=l(k)}createPreloadLinkTag(n,r,i,a){if(this.preloadedImages.has(r))return;this.preloadedImages.add(r);let o=n.createElement("link");n.setAttribute(o,"as","image"),n.setAttribute(o,"href",r),n.setAttribute(o,"rel","preload"),n.setAttribute(o,"fetchpriority","high"),a&&n.setAttribute(o,"imageSizes",a),i&&n.setAttribute(o,"imageSrcset",i),n.appendChild(this.document.head,o)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Ft=/^((\s*\d+w\s*(,|$)){1,})$/;var At=[1,2],Ct=640;var bt=1920,vt=1080;var Pn=(()=>{let t=class t{constructor(){this.imageLoader=l(yt),this.config=St(l(Re)),this.renderer=l(ne),this.imgElement=l(te).nativeElement,this.injector=l(Se),this.isServer=Ge(l(W)),this.preloadLinkCreator=l(wt),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){re("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0);let i=this._renderedSrc;this.lcpObserver!==null&&r&&i&&r!==i&&this.injector.get(Y).runOutsideAngular(()=>{this.lcpObserver?.updateImage(r,i)})}}callImageLoader(n){let r=n;return this.loaderParams&&(r.loaderParams=this.loaderParams),this.imageLoader(r)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=Ft.test(this.ngSrcset);return this.ngSrcset.split(",").filter(i=>i!=="").map(i=>{i=i.trim();let a=n?parseFloat(i):parseFloat(i)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:a})} ${i}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,r=n;return this.sizes?.trim()==="100vw"&&(r=n.filter(a=>a>=Ct)),r.map(a=>`${this.callImageLoader({src:this.ngSrc,width:a})} ${a}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let i;return this.ngSrcset?i=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(i=this.getAutomaticSrcset()),i&&this.setHostAttribute("srcset",i),i}getFixedSrcset(){return At.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>bt||this.height>vt),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==We&&!n}generatePlaceholder(n){let{placeholderResolution:r}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof n=="string"&&n.startsWith("data:")?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let r=()=>{let o=this.injector.get(ie);i(),a(),this.placeholder=!1,o.markForCheck()},i=this.renderer.listen(n,"load",r),a=this.renderer.listen(n,"error",r)}ngOnDestroy(){}setHostAttribute(n,r){this.renderer.setAttribute(this.imgElement,n,r)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275dir=Fe({type:t,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,i){r&2&&Le("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0":null)("background-size",i.placeholder?"cover":null)("background-position",i.placeholder?"50% 50%":null)("background-repeat",i.placeholder?"no-repeat":null)("background-image",i.placeholder?i.generatePlaceholder(i.placeholder):null)("filter",i.placeholder&&i.shouldBlurPlaceholder(i.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[b.HasDecoratorInputTransform,"ngSrc","ngSrc",Tt],ngSrcset:"ngSrcset",sizes:"sizes",width:[b.HasDecoratorInputTransform,"width","width",se],height:[b.HasDecoratorInputTransform,"height","height",se],loading:"loading",priority:[b.HasDecoratorInputTransform,"priority","priority",B],loaderParams:"loaderParams",disableOptimizedSrcset:[b.HasDecoratorInputTransform,"disableOptimizedSrcset","disableOptimizedSrcset",B],fill:[b.HasDecoratorInputTransform,"fill","fill",B],placeholder:[b.HasDecoratorInputTransform,"placeholder","placeholder",It],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[Pe,ve]});let e=t;return e})();function St(e){let t={};return e.breakpoints&&(t.breakpoints=e.breakpoints.sort((s,n)=>s-n)),Object.assign({},Ie,e,t)}function Tt(e){return typeof e=="string"?e:Me(e)}function It(e){return typeof e=="string"&&e.startsWith("data:")?e:B(e)}function Nn(e){return e instanceof Promise?e:e instanceof L?pe(e):Promise.resolve(e)}var U=class{},$=class{},A=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` +`).forEach(s=>{let n=s.indexOf(":");if(n>0){let r=s.slice(0,n),i=r.toLowerCase(),a=s.slice(n+1).trim();this.maybeSetNormalizedName(r,i),this.headers.has(i)?this.headers.get(i).push(a):this.headers.set(i,[a])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((s,n)=>{this.setHeaderEntries(n,s)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([s,n])=>{this.setHeaderEntries(s,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let s=this.headers.get(t.toLowerCase());return s&&s.length>0?s[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,s){return this.clone({name:t,value:s,op:"a"})}set(t,s){return this.clone({name:t,value:s,op:"s"})}delete(t,s){return this.clone({name:t,value:s,op:"d"})}maybeSetNormalizedName(t,s){this.normalizedNames.has(s)||this.normalizedNames.set(s,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(s=>{this.headers.set(s,t.headers.get(s)),this.normalizedNames.set(s,t.normalizedNames.get(s))})}clone(t){let s=new e;return s.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,s.lazyUpdate=(this.lazyUpdate||[]).concat([t]),s}applyUpdate(t){let s=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(t.name,s);let r=(t.op==="a"?this.headers.get(s):void 0)||[];r.push(...n),this.headers.set(s,r);break;case"d":let i=t.value;if(!i)this.headers.delete(s),this.normalizedNames.delete(s);else{let a=this.headers.get(s);if(!a)return;a=a.filter(o=>i.indexOf(o)===-1),a.length===0?(this.headers.delete(s),this.normalizedNames.delete(s)):this.headers.set(s,a)}break}}setHeaderEntries(t,s){let n=(Array.isArray(s)?s:[s]).map(i=>i.toString()),r=t.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(s=>t(this.normalizedNames.get(s),this.headers.get(s)))}};var de=class{encodeKey(t){return Ye(t)}encodeValue(t){return Ye(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function Mt(e,t){let s=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{let i=r.indexOf("="),[a,o]=i==-1?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,i)),t.decodeValue(r.slice(i+1))],h=s.get(a)||[];h.push(o),s.set(a,h)}),s}var Ot=/%(\d[a-f0-9])/gi,Pt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ye(e){return encodeURIComponent(e).replace(Ot,(t,s)=>Pt[s]??t)}function K(e){return`${e}`}var S=class e{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new de,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Mt(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(s=>{let n=t.fromObject[s],r=Array.isArray(n)?n.map(K):[K(n)];this.map.set(s,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let s=this.map.get(t);return s?s[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,s){return this.clone({param:t,value:s,op:"a"})}appendAll(t){let s=[];return Object.keys(t).forEach(n=>{let r=t[n];Array.isArray(r)?r.forEach(i=>{s.push({param:n,value:i,op:"a"})}):s.push({param:n,value:r,op:"a"})}),this.clone(s)}set(t,s){return this.clone({param:t,value:s,op:"s"})}delete(t,s){return this.clone({param:t,value:s,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let s=this.encoder.encodeKey(t);return this.map.get(t).map(n=>s+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let s=new e({encoder:this.encoder});return s.cloneFrom=this.cloneFrom||this,s.updates=(this.updates||[]).concat(t),s}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let s=(t.op==="a"?this.map.get(t.param):void 0)||[];s.push(K(t.value)),this.map.set(t.param,s);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],r=n.indexOf(K(t.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var le=class{constructor(){this.map=new Map}set(t,s){return this.map.set(t,s),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function _t(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Ze(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Ke(e){return typeof Blob<"u"&&e instanceof Blob}function Xe(e){return typeof FormData<"u"&&e instanceof FormData}function Lt(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var x=class e{constructor(t,s,n,r){this.url=s,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let i;if(_t(this.method)||r?(this.body=n!==void 0?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new A,this.context??=new le,!this.params)this.params=new S,this.urlWithParams=s;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=s;else{let o=s.indexOf("?"),h=o===-1?"?":oD.set(F,t.setHeaders[F]),u)),t.setParams&&(g=Object.keys(t.setParams).reduce((D,F)=>D.set(F,t.setParams[F]),g)),new e(s,n,a,{params:g,headers:u,context:E,reportProgress:h,responseType:r,withCredentials:o,transferCache:i})}},T=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(T||{}),j=class{constructor(t,s=V.Ok,n="OK"){this.headers=t.headers||new A,this.status=t.status!==void 0?t.status:s,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},X=class e extends j{constructor(t={}){super(t),this.type=T.ResponseHeader}clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},z=class e extends j{constructor(t={}){super(t),this.type=T.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},v=class extends j{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},V=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(V||{});function ue(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var Nt=(()=>{let t=class t{constructor(n){this.handler=n}request(n,r,i={}){let a;if(n instanceof x)a=n;else{let u;i.headers instanceof A?u=i.headers:u=new A(i.headers);let g;i.params&&(i.params instanceof S?g=i.params:g=new S({fromObject:i.params})),a=new x(n,r,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:g,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let o=Q(a).pipe(ye(u=>this.handler.handle(u)));if(n instanceof x||i.observe==="events")return o;let h=o.pipe(me(u=>u instanceof z));switch(i.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return h.pipe(N(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return h.pipe(N(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return h.pipe(N(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return h.pipe(N(u=>u.body))}case"response":return h;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new S().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,ue(i,r))}post(n,r,i={}){return this.request("POST",n,ue(i,r))}put(n,r,i={}){return this.request("PUT",n,ue(i,r))}};t.\u0275fac=function(r){return new(r||t)(m(U))},t.\u0275prov=p({token:t,factory:t.\u0275fac});let e=t;return e})(),Bt=/^\)\]\}',?\n/,kt="X-Request-URL";function qe(e){if(e.url)return e.url;let t=kt.toLocaleLowerCase();return e.headers.get(t)}var ce=(()=>{let t=class t{constructor(){this.fetchImpl=l(he,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=l(Y)}handle(n){return new L(r=>{let i=new AbortController;return this.doRequest(n,i.signal,r).then(fe,a=>r.error(new v({error:a}))),()=>i.abort()})}doRequest(n,r,i){return H(this,null,function*(){let a=this.createRequestInit(n),o;try{let y=this.fetchImpl(n.urlWithParams,J({signal:r},a));xt(y),i.next({type:T.Sent}),o=yield y}catch(y){i.error(new v({error:y,status:y.status??0,statusText:y.statusText,url:n.urlWithParams,headers:y.headers}));return}let h=new A(o.headers),u=o.statusText,g=qe(o)??n.urlWithParams,E=o.status,D=null;if(n.reportProgress&&i.next(new X({headers:h,status:E,statusText:u,url:g})),o.body){let y=o.headers.get("content-length"),O=[],c=o.body.getReader(),d=0,C,M,f=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>H(this,null,function*(){for(;;){let{done:I,value:_}=yield c.read();if(I)break;if(O.push(_),d+=_.length,n.reportProgress){M=n.responseType==="text"?(M??"")+(C??=new TextDecoder).decode(_,{stream:!0}):void 0;let ge=()=>i.next({type:T.DownloadProgress,total:y?+y:void 0,loaded:d,partialText:M});f?f.run(ge):ge()}}}));let P=this.concatChunks(O,d);try{let I=o.headers.get("Content-Type")??"";D=this.parseBody(n,P,I)}catch(I){i.error(new v({error:I,headers:new A(o.headers),status:o.status,statusText:o.statusText,url:qe(o)??n.urlWithParams}));return}}E===0&&(E=D?V.Ok:0),E>=200&&E<300?(i.next(new z({body:D,headers:h,status:E,statusText:u,url:g})),i.complete()):i.error(new v({error:D,headers:h,status:E,statusText:u,url:g}))})}parseBody(n,r,i){switch(n.responseType){case"json":let a=new TextDecoder().decode(r).replace(Bt,"");return a===""?null:JSON.parse(a);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},i=n.withCredentials?"include":void 0;if(n.headers.forEach((a,o)=>r[a]=o.join(",")),r.Accept??="application/json, text/plain, */*",!r["Content-Type"]){let a=n.detectContentTypeHeader();a!==null&&(r["Content-Type"]=a)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:i}}concatChunks(n,r){let i=new Uint8Array(r),a=0;for(let o of n)i.set(o,a),a+=o.length;return i}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=p({token:t,factory:t.\u0275fac});let e=t;return e})(),he=class{};function fe(){}function xt(e){e.then(fe,fe)}function Ut(e,t){return t(e)}function $t(e,t,s){return(n,r)=>be(s,()=>t(n,i=>e(i,r)))}var Qe=new w(""),jt=new w(""),et=new w("");var Je=(()=>{let t=class t extends U{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=l(_e);let i=l(et,{optional:!0});this.backend=i??n}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Qe),...this.injector.get(jt,[])]));this.chain=i.reduceRight((a,o)=>$t(a,o,this.injector),Ut)}let r=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(Ee(()=>this.pendingTasks.remove(r)))}};t.\u0275fac=function(r){return new(r||t)(m($),m(Ce))},t.\u0275prov=p({token:t,factory:t.\u0275fac});let e=t;return e})();var zt=/^\)\]\}',?\n/;function Vt(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var He=(()=>{let t=class t{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new G(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?De(r.\u0275loadImpl()):Q(null)).pipe(we(()=>new L(a=>{let o=r.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((c,d)=>o.setRequestHeader(c,d.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let c=n.detectContentTypeHeader();c!==null&&o.setRequestHeader("Content-Type",c)}if(n.responseType){let c=n.responseType.toLowerCase();o.responseType=c!=="json"?c:"text"}let h=n.serializeBody(),u=null,g=()=>{if(u!==null)return u;let c=o.statusText||"OK",d=new A(o.getAllResponseHeaders()),C=Vt(o)||n.url;return u=new X({headers:d,status:o.status,statusText:c,url:C}),u},E=()=>{let{headers:c,status:d,statusText:C,url:M}=g(),f=null;d!==V.NoContent&&(f=typeof o.response>"u"?o.responseText:o.response),d===0&&(d=f?V.Ok:0);let P=d>=200&&d<300;if(n.responseType==="json"&&typeof f=="string"){let I=f;f=f.replace(zt,"");try{f=f!==""?JSON.parse(f):null}catch(_){f=I,P&&(P=!1,f={error:_,text:f})}}P?(a.next(new z({body:f,headers:c,status:d,statusText:C,url:M||void 0})),a.complete()):a.error(new v({error:f,headers:c,status:d,statusText:C,url:M||void 0}))},D=c=>{let{url:d}=g(),C=new v({error:c,status:o.status||0,statusText:o.statusText||"Unknown Error",url:d||void 0});a.error(C)},F=!1,y=c=>{F||(a.next(g()),F=!0);let d={type:T.DownloadProgress,loaded:c.loaded};c.lengthComputable&&(d.total=c.total),n.responseType==="text"&&o.responseText&&(d.partialText=o.responseText),a.next(d)},O=c=>{let d={type:T.UploadProgress,loaded:c.loaded};c.lengthComputable&&(d.total=c.total),a.next(d)};return o.addEventListener("load",E),o.addEventListener("error",D),o.addEventListener("timeout",D),o.addEventListener("abort",D),n.reportProgress&&(o.addEventListener("progress",y),h!==null&&o.upload&&o.upload.addEventListener("progress",O)),o.send(h),a.next({type:T.Sent}),()=>{o.removeEventListener("error",D),o.removeEventListener("abort",D),o.removeEventListener("load",E),o.removeEventListener("timeout",D),n.reportProgress&&(o.removeEventListener("progress",y),h!==null&&o.upload&&o.upload.removeEventListener("progress",O)),o.readyState!==o.DONE&&o.abort()}})))}};t.\u0275fac=function(r){return new(r||t)(m(Z))},t.\u0275prov=p({token:t,factory:t.\u0275fac});let e=t;return e})(),tt=new w(""),Gt="XSRF-TOKEN",Wt=new w("",{providedIn:"root",factory:()=>Gt}),Yt="X-XSRF-TOKEN",Zt=new w("",{providedIn:"root",factory:()=>Yt}),q=class{},Kt=(()=>{let t=class t{constructor(n,r,i){this.doc=n,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ve(n,this.cookieName),this.lastCookieString=n),this.lastToken}};t.\u0275fac=function(r){return new(r||t)(m(k),m(W),m(Wt))},t.\u0275prov=p({token:t,factory:t.\u0275fac});let e=t;return e})();function Xt(e,t){let s=e.url.toLowerCase();if(!l(tt)||e.method==="GET"||e.method==="HEAD"||s.startsWith("http://")||s.startsWith("https://"))return t(e);let n=l(q).getToken(),r=l(Zt);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}var nt=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(nt||{});function qt(e,t){return{\u0275kind:e,\u0275providers:t}}function Qn(...e){let t=[Nt,He,Je,{provide:U,useExisting:Je},{provide:$,useExisting:He},{provide:Qe,useValue:Xt,multi:!0},{provide:tt,useValue:!0},{provide:q,useClass:Kt}];for(let s of e)t.push(...s.\u0275providers);return Ae(t)}function er(){return qt(nt.Fetch,[ce,{provide:$,useExisting:ce},{provide:et,useExisting:ce}])}export{oe as a,In as b,Be as c,k as d,ae as e,dt as f,Ve as g,Rn as h,Mn as i,pt as j,On as k,Ge as l,Z as m,Pn as n,Nt as o,Qn as p,er as q,Nn as r}; diff --git a/chunk-RAGRZUZJ.js b/chunk-RAGRZUZJ.js new file mode 100644 index 0000000..08d6a43 --- /dev/null +++ b/chunk-RAGRZUZJ.js @@ -0,0 +1,7 @@ +var Jl=Object.defineProperty,Kl=Object.defineProperties;var Xl=Object.getOwnPropertyDescriptors;var Qt=Object.getOwnPropertySymbols;var zi=Object.prototype.hasOwnProperty,Qi=Object.prototype.propertyIsEnumerable;var Gi=(e,t,n)=>t in e?Jl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Te=(e,t)=>{for(var n in t||={})zi.call(t,n)&&Gi(e,n,t[n]);if(Qt)for(var n of Qt(t))Qi.call(t,n)&&Gi(e,n,t[n]);return e},Ne=(e,t)=>Kl(e,Xl(t));var vg=(e,t)=>{var n={};for(var r in e)zi.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Qt)for(var r of Qt(e))t.indexOf(r)<0&&Qi.call(e,r)&&(n[r]=e[r]);return n};var eu=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(l){o(l)}},s=c=>{try{a(n.throw(c))}catch(l){o(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function Zi(e,t){return Object.is(e,t)}var P=null,Zt=!1,Yt=1,ie=Symbol("SIGNAL");function D(e){let t=P;return P=e,t}var Kt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function gt(e){if(Zt)throw new Error("");if(P===null)return;P.consumerOnSignalRead(e);let t=P.nextProducerIndex++;if(Ke(P),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Sr(e){Ke(e);for(let t=0;t0}function Ke(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function ts(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ns(e){let t=Object.create(ru);t.computation=e;let n=()=>{if(Yi(t),gt(t),t.value===Jt)throw t.error;return t.value};return n[ie]=t,n}var Mr=Symbol("UNSET"),_r=Symbol("COMPUTING"),Jt=Symbol("ERRORED"),ru=Ne(Te({},Kt),{value:Mr,dirty:!0,error:null,equal:Zi,producerMustRecompute(e){return e.value===Mr||e.value===_r},producerRecomputeValue(e){if(e.value===_r)throw new Error("Detected cycle in computations.");let t=e.value;e.value=_r;let n=Tr(e),r;try{r=e.computation()}catch(o){r=Jt,e.error=o}finally{Nr(e,n)}if(t!==Mr&&t!==Jt&&r!==Jt&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function ou(){throw new Error}var rs=ou;function os(){rs()}function is(e){rs=e}var iu=null;function ss(e){let t=Object.create(Or);t.value=e;let n=()=>(gt(t),t.value);return n[ie]=t,n}function yt(e,t){Ki()||os(),e.equal(e.value,t)||(e.value=t,su(e))}function as(e,t){Ki()||os(),yt(e,t(e.value))}var Or=Ne(Te({},Kt),{equal:Zi,value:void 0});function su(e){e.version++,tu(),Ji(e),iu?.()}function g(e){return typeof e=="function"}function Xe(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var en=Xe(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Se(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var A=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(g(r))try{r()}catch(i){t=i instanceof en?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{cs(i)}catch(s){t=t??[],s instanceof en?t=[...t,...s.errors]:t.push(s)}}if(t)throw new en(t)}}add(t){var n;if(t&&t!==this)if(this.closed)cs(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Se(n,t)}remove(t){let{_finalizers:n}=this;n&&Se(n,t),t instanceof e&&t._removeParent(this)}};A.EMPTY=(()=>{let e=new A;return e.closed=!0,e})();var Ar=A.EMPTY;function tn(e){return e instanceof A||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function cs(e){g(e)?e():e.unsubscribe()}var J={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var et={setTimeout(e,t,...n){let{delegate:r}=et;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=et;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function nn(e){et.setTimeout(()=>{let{onUnhandledError:t}=J;if(t)t(e);else throw e})}function vt(){}var ls=Pr("C",void 0,void 0);function us(e){return Pr("E",void 0,e)}function ds(e){return Pr("N",e,void 0)}function Pr(e,t,n){return{kind:e,value:t,error:n}}var Oe=null;function tt(e){if(J.useDeprecatedSynchronousErrorHandling){let t=!Oe;if(t&&(Oe={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Oe;if(Oe=null,n)throw r}}else e()}function fs(e){J.useDeprecatedSynchronousErrorHandling&&Oe&&(Oe.errorThrown=!0,Oe.error=e)}var Ae=class extends A{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,tn(t)&&t.add(this)):this.destination=lu}static create(t,n,r){return new pe(t,n,r)}next(t){this.isStopped?kr(ds(t),this):this._next(t)}error(t){this.isStopped?kr(us(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?kr(ls,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},au=Function.prototype.bind;function Rr(e,t){return au.call(e,t)}var Lr=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){rn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){rn(r)}else rn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){rn(n)}}},pe=class extends Ae{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&J.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Rr(t.next,i),error:t.error&&Rr(t.error,i),complete:t.complete&&Rr(t.complete,i)}):o=t}this.destination=new Lr(o)}};function rn(e){J.useDeprecatedSynchronousErrorHandling?fs(e):nn(e)}function cu(e){throw e}function kr(e,t){let{onStoppedNotification:n}=J;n&&et.setTimeout(()=>n(e,t))}var lu={closed:!0,next:vt,error:cu,complete:vt};var nt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function L(e){return e}function uu(...e){return Fr(e)}function Fr(e){return e.length===0?L:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=fu(n)?n:new pe(n,r,o);return tt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=ps(r),new r((o,i)=>{let s=new pe({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[nt](){return this}pipe(...n){return Fr(n)(this)}toPromise(n){return n=ps(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function ps(e){var t;return(t=e??J.Promise)!==null&&t!==void 0?t:Promise}function du(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function fu(e){return e&&e instanceof Ae||du(e)&&tn(e)}function jr(e){return g(e?.lift)}function I(e){return t=>{if(jr(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function v(e,t,n,r,o){return new Vr(e,t,n,r,o)}var Vr=class extends Ae{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Hr(){return I((e,t)=>{let n=null;e._refCount++;let r=v(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var $r=class extends x{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,jr(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new A;let n=this.getSubject();t.add(this.source.subscribe(v(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=A.EMPTY)}return t}refCount(){return Hr()(this)}};var hs=Xe(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var z=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new on(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new hs}next(n){tt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){tt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){tt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Ar:(this.currentObservers=null,i.push(n),new A(()=>{this.currentObservers=null,Se(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new on(t,n),e})(),on=class extends z{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Ar}};var It=class extends z{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var wt={now(){return(wt.delegate||Date).now()},delegate:void 0};var sn=class extends z{constructor(t=1/0,n=1/0,r=wt){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;se.complete());function un(e){return e&&g(e.schedule)}function gs(e){return e[e.length-1]}function dn(e){return g(gs(e))?e.pop():void 0}function we(e){return un(gs(e))?e.pop():void 0}function vs(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function ys(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Pe(e){return this instanceof Pe?(this.v=e,this):new Pe(e)}function Is(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(y){return new Promise(function(N,_){i.push([f,y,N,_])>1||c(f,y)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(y){p(i[0][3],y)}}function l(f){f.value instanceof Pe?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function ws(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof ys=="function"?ys(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var fn=e=>e&&typeof e.length=="number"&&typeof e!="function";function pn(e){return g(e?.then)}function hn(e){return g(e[nt])}function mn(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function gn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function pu(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var yn=pu();function vn(e){return g(e?.[yn])}function In(e){return Is(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Pe(n.read());if(o)return yield Pe(void 0);yield yield Pe(r)}}finally{n.releaseLock()}})}function wn(e){return g(e?.getReader)}function S(e){if(e instanceof x)return e;if(e!=null){if(hn(e))return hu(e);if(fn(e))return mu(e);if(pn(e))return gu(e);if(mn(e))return Ds(e);if(vn(e))return yu(e);if(wn(e))return vu(e)}throw gn(e)}function hu(e){return new x(t=>{let n=e[nt]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function mu(e){return new x(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,nn)})}function yu(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ds(e){return new x(t=>{Iu(e,t).catch(n=>t.error(n))})}function vu(e){return Ds(In(e))}function Iu(e,t){var n,r,o,i;return vs(this,void 0,void 0,function*(){try{for(n=ws(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function B(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Dn(e,t=0){return I((n,r)=>{n.subscribe(v(r,o=>B(r,e,()=>r.next(o),t),()=>B(r,e,()=>r.complete(),t),o=>B(r,e,()=>r.error(o),t)))})}function bn(e,t=0){return I((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function bs(e,t){return S(e).pipe(bn(t),Dn(t))}function Es(e,t){return S(e).pipe(bn(t),Dn(t))}function xs(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Cs(e,t){return new x(n=>{let r;return B(n,t,()=>{r=e[yn](),B(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>g(r?.return)&&r.return()})}function En(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{B(n,t,()=>{let r=e[Symbol.asyncIterator]();B(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ms(e,t){return En(In(e),t)}function _s(e,t){if(e!=null){if(hn(e))return bs(e,t);if(fn(e))return xs(e,t);if(pn(e))return Es(e,t);if(mn(e))return En(e,t);if(vn(e))return Cs(e,t);if(wn(e))return Ms(e,t)}throw gn(e)}function De(e,t){return t?_s(e,t):S(e)}function wu(...e){let t=we(e);return De(e,t)}function Du(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function bu(e){return!!e&&(e instanceof x||g(e.lift)&&g(e.subscribe))}var he=Xe(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Eu(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new he)}})})}function Ts(e){return e instanceof Date&&!isNaN(e)}function se(e,t){return I((n,r)=>{let o=0;n.subscribe(v(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:xu}=Array;function Cu(e,t){return xu(t)?e(...t):e(t)}function xn(e){return se(t=>Cu(e,t))}var{isArray:Mu}=Array,{getPrototypeOf:_u,prototype:Tu,keys:Nu}=Object;function Cn(e){if(e.length===1){let t=e[0];if(Mu(t))return{args:t,keys:null};if(Su(t)){let n=Nu(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Su(e){return e&&typeof e=="object"&&_u(e)===Tu}function Mn(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Ou(...e){let t=we(e),n=dn(e),{args:r,keys:o}=Cn(e);if(r.length===0)return De([],t);let i=new x(Au(r,t,o?s=>Mn(o,s):L));return n?i.pipe(xn(n)):i}function Au(e,t,n=L){return r=>{Ns(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let l=De(e[c],t),u=!1;l.subscribe(v(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ns(e,t,n){e?B(n,e,t):t()}function Ss(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=y=>l{i&&t.next(y),l++;let N=!1;S(n(y,u++)).subscribe(v(t,_=>{o?.(_),i?f(_):t.next(_)},()=>{N=!0},void 0,()=>{if(N)try{for(l--;c.length&&lh(_)):h(_)}p()}catch(_){t.error(_)}}))};return e.subscribe(v(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Re(e,t,n=1/0){return g(t)?Re((r,o)=>se((i,s)=>t(r,i,o,s))(S(e(r,o))),n):(typeof t=="number"&&(n=t),I((r,o)=>Ss(r,o,e,n)))}function Os(e=1/0){return Re(L,e)}function As(){return Os(1)}function _n(...e){return As()(De(e,we(e)))}function Pu(e){return new x(t=>{S(e()).subscribe(t)})}function Ru(...e){let t=dn(e),{args:n,keys:r}=Cn(e),o=new x(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Mn(r,a):a),i.complete())}))}});return t?o.pipe(xn(t)):o}function Tn(e=0,t,n=ms){let r=-1;return t!=null&&(un(t)?n=t:r=t),new x(o=>{let i=Ts(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function ku(e=0,t=Br){return e<0&&(e=0),Tn(e,e,t)}function ke(e,t){return I((n,r)=>{let o=0;n.subscribe(v(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Ur(e){return I((t,n)=>{let r=null,o=!1,i;r=t.subscribe(v(n,void 0,void 0,s=>{i=S(e(s,Ur(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Ps(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(v(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Lu(e,t){return g(t)?Re(e,t,1):Re(e,1)}function Et(e){return I((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Nn(e){return e<=0?()=>bt:I((t,n)=>{let r=0;t.subscribe(v(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Fu(e){return se(()=>e)}function ju(e,t=L){return e=e??Vu,I((n,r)=>{let o,i=!0;n.subscribe(v(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Vu(e,t){return e===t}function Sn(e=Hu){return I((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Hu(){return new he}function $u(e){return I((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function qr(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ke((o,i)=>e(o,i,r)):L,Nn(1),n?Et(t):Sn(()=>new he))}function Wr(e){return e<=0?()=>bt:I((t,n)=>{let r=[];t.subscribe(v(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Bu(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ke((o,i)=>e(o,i,r)):L,Wr(1),n?Et(t):Sn(()=>new he))}function Uu(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?L:I((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(v(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++{c?(c.unsubscribe(),c=null,l()):u=!0};if(r!=null){let f=typeof r=="number"?Tn(r):S(r(d,a)),h=v(s,()=>{h.unsubscribe(),p()},()=>{s.complete()});f.subscribe(h)}else p()}else s.error(d)})),u&&(c.unsubscribe(),c=null,l())};l()})}function qu(e,t){return I(Ps(e,t,arguments.length>=2,!0))}function Rs(e={}){let{connector:t=()=>new z,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let y=s;f(),y?.unsubscribe()};return I((y,N)=>{l++,!d&&!u&&p();let _=c=c??t();N.add(()=>{l--,l===0&&!d&&!u&&(a=Gr(h,o))}),_.subscribe(N),!s&&l>0&&(s=new pe({next:G=>_.next(G),error:G=>{d=!0,p(),a=Gr(f,n,G),_.error(G)},complete:()=>{u=!0,p(),a=Gr(f,r),_.complete()}}),S(y).subscribe(s))})(i)}}function Gr(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new pe({next:()=>{r.unsubscribe(),e()}});return S(t(...n)).subscribe(r)}function Wu(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Rs({connector:()=>new sn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Gu(e){return ke((t,n)=>e<=n)}function ks(...e){let t=we(e);return I((n,r)=>{(t?_n(e,n,t):_n(e,n)).subscribe(r)})}function Ls(e,t){return I((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(v(r,c=>{o?.unsubscribe();let l=0,u=i++;S(e(c,u)).subscribe(o=v(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function zu(e){return I((t,n)=>{S(e).subscribe(v(n,()=>n.complete(),vt)),!n.closed&&t.subscribe(n)})}function Fs(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?I((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(v(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):L}var Ta="https://g.co/ng/security#xss",C=class extends Error{constructor(t,n){super(Qu(t,n)),this.code=t}};function Qu(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var ar=Symbol("InputSignalNode#UNSET"),Na=Ne(Te({},Or),{transformFn:void 0,applyValueToInputSignal(e,t){yt(e,t)}});function Sa(e,t){let n=Object.create(Na);n.value=e,n.transformFn=t?.transform;function r(){if(gt(n),n.value===ar)throw new C(-950,!1);return n.value}return r[ie]=n,r}function cr(e){return{toString:e}.toString()}var On="__parameters__";function Zu(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Oa(e,t,n){return cr(()=>{let r=Zu(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(On)?c[On]:Object.defineProperty(c,On,{value:[]})[On];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Ee=globalThis;function T(e){for(let t in e)if(e[t]===T)return t;throw Error("Could not find renamed property on target object.")}function q(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(q).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` +`);return n===-1?t:t.substring(0,n)}function js(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Yu=T({__forward_ref__:T});function Aa(e){return e.__forward_ref__=Aa,e.toString=function(){return q(this())},e}function Q(e){return Pa(e)?e():e}function Pa(e){return typeof e=="function"&&e.hasOwnProperty(Yu)&&e.__forward_ref__===Aa}function W(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function lr(e){return Vs(e,Ra)||Vs(e,ka)}function gE(e){return lr(e)!==null}function Vs(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ju(e){let t=e&&(e[Ra]||e[ka]);return t||null}function Hs(e){return e&&(e.hasOwnProperty($s)||e.hasOwnProperty(Ku))?e[$s]:null}var Ra=T({\u0275prov:T}),$s=T({\u0275inj:T}),ka=T({ngInjectableDef:T}),Ku=T({ngInjectorDef:T}),O=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=W({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function La(e){return e&&!!e.\u0275providers}var Xu=T({\u0275cmp:T}),ed=T({\u0275dir:T}),td=T({\u0275pipe:T}),nd=T({\u0275mod:T}),Bn=T({\u0275fac:T}),xt=T({__NG_ELEMENT_ID__:T}),Bs=T({__NG_ENV_ID__:T});function $t(e){return typeof e=="string"?e:e==null?"":String(e)}function rd(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():$t(e)}function od(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,e)}function ui(e,t){throw new C(-201,!1)}var E=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(E||{}),ao;function Fa(){return ao}function U(e){let t=ao;return ao=e,t}function ja(e,t,n){let r=lr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&E.Optional)return null;if(t!==void 0)return t;ui(e,"Injector")}var id={},Ct=id,co="__NG_DI_FLAG__",Un="ngTempTokenPath",sd="ngTokenPath",ad=/\n/gm,cd="\u0275",Us="__source",at;function ld(){return at}function be(e){let t=at;return at=e,t}function ud(e,t=E.Default){if(at===void 0)throw new C(-203,!1);return at===null?ja(e,void 0,t):at.get(e,t&E.Optional?null:void 0,t)}function Ce(e,t=E.Default){return(Fa()||ud)(Q(e),t)}function R(e,t=E.Default){return Ce(e,ur(t))}function ur(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function lo(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):q(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(ad,` + `)}`}var hd=Va(Oa("Optional"),8);var md=Va(Oa("SkipSelf"),4);function je(e,t){let n=e.hasOwnProperty(Bn);return n?e[Bn]:null}function di(e,t){e.forEach(n=>Array.isArray(n)?di(n,t):t(n))}function Ha(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function qn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function gd(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function yd(e,t,n){let r=Bt(e,t);return r>=0?e[r|1]=n:(r=~r,gd(e,r,t,n)),r}function zr(e,t){let n=Bt(e,t);if(n>=0)return e[n|1]}function Bt(e,t){return vd(e,t,1)}function vd(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(K(r))return!1;s=!0}}}}return K(r)||s}function K(e){return(e&1)===0}function xd(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!K(s)&&(t+=Ws(i,o),o=""),r=s,i=i||!K(r);n++}return o!==""&&(t+=Ws(i,o)),t}function Nd(e){return e.map(Td).join(",")}function Sd(e){let t=[],n=[],r=1,o=2;for(;r{let t=Za(e),n=Ne(Te({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ua.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||_t.Emulated,styles:e.styles||Ve,_:null,schemas:e.schemas||null,tView:null,id:""});Ya(n);let r=e.dependencies;return n.directiveDefs=zs(r,!1),n.pipeDefs=zs(r,!0),n.id=Rd(n),n})}function Od(e){return He(e)||Ga(e)}function Ad(e){return e!==null}function Gs(e,t){if(e==null)return Mt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=lt.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==lt.None?[r,a]:r,t[i]=s):n[i]=r}return n}function vE(e){return cr(()=>{let t=Za(e);return Ya(t),t})}function IE(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function He(e){return e[Xu]||null}function Ga(e){return e[ed]||null}function za(e){return e[td]||null}function Pd(e){let t=He(e)||Ga(e)||za(e);return t!==null?t.standalone:!1}function Qa(e,t){let n=e[nd]||null;if(!n&&t===!0)throw new Error(`Type ${q(e)} does not have '\u0275mod' property.`);return n}function Za(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Mt,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Ve,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Gs(e.inputs,t),outputs:Gs(e.outputs),debugInfo:null}}function Ya(e){e.features?.forEach(t=>t(e))}function zs(e,t){if(!e)return null;let n=t?za:Od;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Ad)}function Rd(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function kd(e){return{\u0275providers:e}}function Ld(...e){return{\u0275providers:Ja(!0,e),\u0275fromNgModule:!0}}function Ja(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return di(t,s=>{let a=s;fo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Ka(o,i),n}function Ka(e,t){for(let n=0;n{t(i,r)})}}function fo(e,t,n,r){if(e=Q(e),!e)return!1;let o=null,i=Hs(e),s=!i&&He(e);if(!i&&!s){let c=e.ngModule;if(i=Hs(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)fo(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{di(i.imports,u=>{fo(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Ka(l,t)}if(!a){let l=je(o)||(()=>new o);t({provide:o,useFactory:l,deps:Ve},o),t({provide:Ba,useValue:o,multi:!0},o),t({provide:Wn,useValue:()=>Ce(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;hi(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function hi(e,t){for(let n of e)La(n)&&(n=n.\u0275providers),Array.isArray(n)?hi(n,t):t(n)}var Fd=T({provide:String,useValue:T});function Xa(e){return e!==null&&typeof e=="object"&&Fd in e}function jd(e){return!!(e&&e.useExisting)}function Vd(e){return!!(e&&e.useFactory)}function po(e){return typeof e=="function"}var ec=new O(""),Fn={},Hd={},Qr;function mi(){return Qr===void 0&&(Qr=new Gn),Qr}var Me=class{},Tt=class extends Me{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,mo(t,s=>this.processProvider(s)),this.records.set($a,ot(void 0,this)),o.has("environment")&&this.records.set(Me,ot(void 0,this));let i=this.records.get(ec);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ba,Ve,E.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=D(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),D(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=be(this),r=U(void 0),o;try{return t()}finally{be(n),U(r)}}get(t,n=Ct,r=E.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Bs))return t[Bs](this);r=ur(r);let o,i=be(this),s=U(void 0);try{if(!(r&E.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=Gd(t)&&lr(t);l&&this.injectableDefInScope(l)?c=ot(ho(t),Fn):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&E.Self?mi():this.parent;return n=r&E.Optional&&n===Ct?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Un]=a[Un]||[]).unshift(q(t)),i)throw a;return fd(a,t,"R3InjectorError",this.source)}else throw a}finally{U(s),be(i)}}resolveInjectorInitializers(){let t=D(null),n=be(this),r=U(void 0),o;try{let i=this.get(Wn,Ve,E.Self);for(let s of i)s()}finally{be(n),U(r),D(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(q(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){t=Q(t);let n=po(t)?t:Q(t&&t.provide),r=Bd(t);if(!po(t)&&t.multi===!0){let o=this.records.get(n);o||(o=ot(void 0,Fn,!0),o.factory=()=>lo(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=D(null);try{return n.value===Fn&&(n.value=Hd,n.value=n.factory()),typeof n.value=="object"&&n.value&&Wd(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{D(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Q(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function ho(e){let t=lr(e),n=t!==null?t.factory:je(e);if(n!==null)return n;if(e instanceof O)throw new C(204,!1);if(e instanceof Function)return $d(e);throw new C(204,!1)}function $d(e){if(e.length>0)throw new C(204,!1);let n=Ju(e);return n!==null?()=>n.factory(e):()=>new e}function Bd(e){if(Xa(e))return ot(void 0,e.useValue);{let t=Ud(e);return ot(t,Fn)}}function Ud(e,t,n){let r;if(po(e)){let o=Q(e);return je(o)||ho(o)}else if(Xa(e))r=()=>Q(e.useValue);else if(Vd(e))r=()=>e.useFactory(...lo(e.deps||[]));else if(jd(e))r=()=>Ce(Q(e.useExisting));else{let o=Q(e&&(e.useClass||e.provide));if(qd(e))r=()=>new o(...lo(e.deps));else return je(o)||ho(o)}return r}function ot(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function qd(e){return!!e.deps}function Wd(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Gd(e){return typeof e=="function"||typeof e=="object"&&e instanceof O}function mo(e,t){for(let n of e)Array.isArray(n)?mo(n,t):n&&La(n)?mo(n.\u0275providers,t):t(n)}function wE(e,t){e instanceof Tt&&e.assertNotDestroyed();let n,r=be(e),o=U(void 0);try{return t()}finally{be(r),U(o)}}function tc(){return Fa()!==void 0||ld()!=null}function DE(e){if(!tc())throw new C(-203,!1)}function zd(e){return typeof e=="function"}var ge=0,w=1,m=2,j=3,X=4,ne=5,Nt=6,St=7,F=8,ut=9,ee=10,k=11,Ot=12,Qs=13,ht=14,te=15,dr=16,it=17,dt=18,fr=19,nc=20,xe=21,Zr=22,$e=23,H=25,rc=1;var Be=7,zn=8,Qn=9,V=10,gi=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(gi||{});function Le(e){return Array.isArray(e)&&typeof e[rc]=="object"}function ye(e){return Array.isArray(e)&&e[rc]===!0}function oc(e){return(e.flags&4)!==0}function pr(e){return e.componentOffset>-1}function yi(e){return(e.flags&1)===1}function Ut(e){return!!e.template}function Qd(e){return(e[m]&512)!==0}var go=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function ic(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Zd(){return sc}function sc(e){return e.type.prototype.ngOnChanges&&(e.setInput=Jd),Yd}Zd.ngInherit=!0;function Yd(){let e=cc(this),t=e?.current;if(t){let n=e.previous;if(n===Mt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Jd(e,t,n,r,o){let i=this.declaredInputs[r],s=cc(e)||Kd(e,{previous:Mt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new go(l&&l.currentValue,n,c===Mt),ic(e,t,o,n)}var ac="__ngSimpleChanges__";function cc(e){return e[ac]||null}function Kd(e,t){return e[ac]=t}var Zs=null;var ae=function(e,t,n){Zs?.(e,t,n)},Xd="svg",ef="math",tf=!1;function nf(){return tf}function ue(e){for(;Array.isArray(e);)e=e[ge];return e}function lc(e,t){return ue(t[e])}function Z(e,t){return ue(t[e.index])}function vi(e,t){return e.data[t]}function Ii(e,t){return e[t]}function _e(e,t){let n=t[e];return Le(n)?n:n[ge]}function wi(e){return(e[m]&128)===128}function rf(e){return ye(e[j])}function Zn(e,t){return t==null?null:e[t]}function uc(e){e[it]=0}function of(e){e[m]&1024||(e[m]|=1024,wi(e)&&At(e))}function sf(e,t){for(;e>0;)t=t[ht],e--;return t}function Di(e){return!!(e[m]&9216||e[$e]?.dirty)}function yo(e){e[ee].changeDetectionScheduler?.notify(1),Di(e)?At(e):e[m]&64&&(nf()?(e[m]|=1024,At(e)):e[ee].changeDetectionScheduler?.notify())}function At(e){e[ee].changeDetectionScheduler?.notify();let t=Pt(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!wi(t)));)t=Pt(t)}function dc(e,t){if((e[m]&256)===256)throw new C(911,!1);e[xe]===null&&(e[xe]=[]),e[xe].push(t)}function af(e,t){if(e[xe]===null)return;let n=e[xe].indexOf(t);n!==-1&&e[xe].splice(n,1)}function Pt(e){let t=e[j];return ye(t)?t[j]:t}var b={lFrame:vc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function cf(){return b.lFrame.elementDepthCount}function lf(){b.lFrame.elementDepthCount++}function uf(){b.lFrame.elementDepthCount--}function fc(){return b.bindingsEnabled}function df(){return b.skipHydrationRootTNode!==null}function ff(e){return b.skipHydrationRootTNode===e}function pf(){b.skipHydrationRootTNode=null}function M(){return b.lFrame.lView}function re(){return b.lFrame.tView}function bE(e){return b.lFrame.contextLView=e,e[F]}function EE(e){return b.lFrame.contextLView=null,e}function oe(){let e=pc();for(;e!==null&&e.type===64;)e=e.parent;return e}function pc(){return b.lFrame.currentTNode}function hf(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function qt(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t}function hc(){return b.lFrame.isParent}function mf(){b.lFrame.isParent=!1}function Qe(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function gf(e){return b.lFrame.bindingIndex=e}function Wt(){return b.lFrame.bindingIndex++}function yf(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function vf(){return b.lFrame.inI18n}function If(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,vo(t)}function wf(){return b.lFrame.currentDirectiveIndex}function vo(e){b.lFrame.currentDirectiveIndex=e}function Df(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function mc(e){b.lFrame.currentQueryIndex=e}function bf(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[ne]:null}function gc(e,t,n){if(n&E.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&E.Host);)if(o=bf(i),o===null||(i=i[ht],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=b.lFrame=yc();return r.currentTNode=t,r.lView=e,!0}function bi(e){let t=yc(),n=e[w];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function yc(){let e=b.lFrame,t=e===null?null:e.child;return t===null?vc(e):t}function vc(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Ic(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var wc=Ic;function Ei(){let e=Ic();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ef(e){return(b.lFrame.contextLView=sf(e,b.lFrame.contextLView))[F]}function Ze(){return b.lFrame.selectedIndex}function Ue(e){b.lFrame.selectedIndex=e}function xi(){let e=b.lFrame;return vi(e.tView,e.selectedIndex)}function xf(){return b.lFrame.currentNamespace}var Dc=!0;function Ci(){return Dc}function Mi(e){Dc=e}function Cf(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=sc(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function _i(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[it]+=65536),(a>14>16&&(e[m]&3)===t&&(e[m]+=16384,Ys(a,i)):Ys(a,i)}var ct=-1,Rt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function _f(e){return e instanceof Rt}function Tf(e){return(e.flags&8)!==0}function Nf(e){return(e.flags&16)!==0}function Ec(e){return e!==ct}function Yn(e){return e&32767}function Sf(e){return e>>16}function Jn(e,t){let n=Sf(e),r=t;for(;n>0;)r=r[ht],n--;return r}var Io=!0;function Kn(e){let t=Io;return Io=e,t}var Of=256,xc=Of-1,Cc=5,Af=0,ce={};function Pf(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(xt)&&(r=n[xt]),r==null&&(r=n[xt]=Af++);let o=r&xc,i=1<>Cc)]|=i}function Mc(e,t){let n=_c(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Jr(r.data,e),Jr(t,null),Jr(r.blueprint,null));let o=Ti(e,t),i=e.injectorIndex;if(Ec(o)){let s=Yn(o),a=Jn(o,t),c=a[w].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Jr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function _c(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ti(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Ac(o),r===null)return ct;if(n++,o=o[ht],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ct}function Rf(e,t,n){Pf(e,t,n)}function kf(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Ut(f)&&f.type===n)return c}return null}function kt(e,t,n,r){let o=e[n],i=t.data;if(_f(o)){let s=o;s.resolving&&od(rd(i[n]));let a=Kn(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?U(s.injectImpl):null,u=gc(e,r,E.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Cf(n,i[n],t)}finally{l!==null&&U(l),Kn(a),s.resolving=!1,wc()}}return o}function jf(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(xt)?e[xt]:void 0;return typeof t=="number"?t>=0?t&xc:Vf:t}function Js(e,t,n){let r=1<>Cc)]&r)}function Ks(e,t){return!(e&E.Self)&&!(e&E.Host&&t)}var Fe=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Sc(this._tNode,this._lView,t,ur(r),n)}};function Vf(){return new Fe(oe(),M())}function xE(e){return cr(()=>{let t=e.prototype.constructor,n=t[Bn]||wo(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Bn]||wo(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function wo(e){return Pa(e)?()=>{let t=wo(Q(e));return t&&t()}:je(e)}function Hf(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=Oc(i,s,n,r|E.Self,ce);if(a!==ce)return a;let c=i.parent;if(!c){let l=s[nc];if(l){let u=l.get(n,ce,r);if(u!==ce)return u}c=Ac(s),s=s[ht]}i=c}return o}function Ac(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[ne]:null}function CE(e){return kf(oe(),e)}function Xs(e,t=null,n=null,r){let o=Pc(e,t,n,r);return o.resolveInjectorInitializers(),o}function Pc(e,t=null,n=null,r,o=new Set){let i=[n||Ve,Ld(e)];return r=r||(typeof e=="object"?void 0:q(e)),new Tt(i,t||mi(),r||null,o)}var Rc=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return Xs({name:""},o,r,"");{let i=r.name??"";return Xs({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=Ct,t.NULL=new Gn,t.\u0275prov=W({token:t,providedIn:"any",factory:()=>Ce($a)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var $f="ngOriginalError";function Kr(e){return e[$f]}var qe=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Kr(t);for(;n&&Kr(n);)n=Kr(n);return n||null}},kc=new O("",{providedIn:"root",factory:()=>R(qe).handleError.bind(void 0)}),Ni=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Bf,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Do=class extends Ni{constructor(t){super(),this._lView=t}onDestroy(t){return dc(this._lView,t),()=>af(this._lView,t)}};function Bf(){return new Do(M())}var bo=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=R(qe,{optional:!0}),this.destroyRef=R(Ni),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new C(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new C(953,!1);if(this.listeners===null)return;let n=D(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{D(n)}}};function ea(e,t){return Sa(e,t)}function Uf(e){return Sa(ar,e)}var ME=(ea.required=Uf,ea);function qf(){return Si(oe(),M())}function Si(e,t){return new Wf(Z(e,t))}var Wf=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=qf;let e=t;return e})();var Eo=class extends z{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,tc()&&(this.destroyRef=R(Ni,{optional:!0})??void 0)}emit(t){let n=D(null);try{super.next(t)}finally{D(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=Xr(i),o&&(o=Xr(o)),s&&(s=Xr(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof A&&t.add(a),a}};function Xr(e){return t=>{setTimeout(e,void 0,t)}}var An=Eo;function Lc(e){return(e.flags&128)===128}var Fc=new Map,Gf=0;function zf(){return Gf++}function Qf(e){Fc.set(e[fr],e)}function Zf(e){Fc.delete(e[fr])}var ta="__ngContext__";function We(e,t){Le(t)?(e[ta]=t[fr],Qf(t)):e[ta]=t}function jc(e){return Hc(e[Ot])}function Vc(e){return Hc(e[X])}function Hc(e){for(;e!==null&&!ye(e);)e=e[X];return e}var xo;function _E(e){xo=e}function $c(){if(xo!==void 0)return xo;if(typeof document<"u")return document;throw new C(210,!1)}var TE=new O("",{providedIn:"root",factory:()=>Yf}),Yf="ng",Jf=new O(""),NE=new O("",{providedIn:"platform",factory:()=>"unknown"});var SE=new O("",{providedIn:"root",factory:()=>$c().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Kf={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},OE=new O("",{providedIn:"root",factory:()=>Kf});var Xf="h",ep="b";var tp=()=>null;function Oi(e,t,n=!1){return tp(e,t,n)}var Bc=!1,np=new O("",{providedIn:"root",factory:()=>Bc});var Pn;function rp(){if(Pn===void 0&&(Pn=null,Ee.trustedTypes))try{Pn=Ee.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Pn}function hr(e){return rp()?.createHTML(e)||e}var Rn;function Uc(){if(Rn===void 0&&(Rn=null,Ee.trustedTypes))try{Rn=Ee.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Rn}function na(e){return Uc()?.createHTML(e)||e}function ra(e){return Uc()?.createScriptURL(e)||e}var me=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ta})`}},Co=class extends me{getTypeName(){return"HTML"}},Mo=class extends me{getTypeName(){return"Style"}},_o=class extends me{getTypeName(){return"Script"}},To=class extends me{getTypeName(){return"URL"}},No=class extends me{getTypeName(){return"ResourceURL"}};function mr(e){return e instanceof me?e.changingThisBreaksApplicationSecurity:e}function Ai(e,t){let n=op(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ta})`)}return n===t}function op(e){return e instanceof me&&e.getTypeName()||null}function AE(e){return new Co(e)}function PE(e){return new Mo(e)}function RE(e){return new _o(e)}function kE(e){return new To(e)}function LE(e){return new No(e)}function ip(e){let t=new Oo(e);return sp()?new So(t):t}var So=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(hr(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},Oo=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=hr(t),n}};function sp(){try{return!!new window.DOMParser().parseFromString(hr(""),"text/html")}catch{return!1}}var ap=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function qc(e){return e=String(e),e.match(ap)?e:"unsafe:"+e}function ve(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Gt(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Wc=ve("area,br,col,hr,img,wbr"),Gc=ve("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),zc=ve("rp,rt"),cp=Gt(zc,Gc),lp=Gt(Gc,ve("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),up=Gt(zc,ve("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),oa=Gt(Wc,lp,up,cp),Qc=ve("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dp=ve("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),fp=ve("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),pp=Gt(Qc,dp,fp),hp=ve("script,style,template"),Ao=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=yp(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=gp(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=ia(t).toLowerCase();if(!oa.hasOwnProperty(n))return this.sanitizedSomething=!0,!hp.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=ia(t).toLowerCase();oa.hasOwnProperty(n)&&!Wc.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(sa(t))}};function mp(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function gp(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Zc(t);return t}function yp(e){let t=e.firstChild;if(t&&mp(e,t))throw Zc(t);return t}function ia(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Zc(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var vp=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ip=/([^\#-~ |!])/g;function sa(e){return e.replace(/&/g,"&").replace(vp,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Ip,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var kn;function wp(e,t){let n=null;try{kn=kn||ip(e);let r=t?String(t):"";n=kn.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=kn.getInertBodyElement(r)}while(r!==i);let a=new Ao().sanitizeChildren(aa(n)||n);return hr(a)}finally{if(n){let r=aa(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function aa(e){return"content"in e&&Dp(e)?e.content:null}function Dp(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var gr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(gr||{});function FE(e){let t=Pi();return t?na(t.sanitize(gr.HTML,e)||""):Ai(e,"HTML")?na(mr(e)):wp($c(),$t(e))}function bp(e){let t=Pi();return t?t.sanitize(gr.URL,e)||"":Ai(e,"URL")?mr(e):qc($t(e))}function Ep(e){let t=Pi();if(t)return ra(t.sanitize(gr.RESOURCE_URL,e)||"");if(Ai(e,"ResourceURL"))return ra(mr(e));throw new C(904,!1)}function xp(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Ep:bp}function jE(e,t,n){return xp(t,n)(e)}function Pi(){let e=M();return e&&e[ee].sanitizer}function Yc(e){return e instanceof Function?e():e}var Po=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Po||{}),Cp;function Ri(e,t){return Cp(e,t)}function st(e,t,n,r,o){if(r!=null){let i,s=!1;ye(r)?i=r:Le(r)&&(s=!0,r=r[ge]);let a=ue(r);e===0&&n!==null?o==null?el(t,n,a):Xn(t,n,a,o||null,!0):e===1&&n!==null?Xn(t,n,a,o||null,!0):e===2?Bp(t,a,s):e===3&&t.destroyNode(a),i!=null&&qp(t,e,i,n,o)}}function Mp(e,t){return e.createText(t)}function _p(e,t,n){e.setValue(t,n)}function Jc(e,t,n){return e.createElement(t,n)}function Tp(e,t){Kc(e,t),t[ge]=null,t[ne]=null}function Np(e,t,n,r,o,i){r[ge]=o,r[ne]=t,vr(e,r,n,1,o,i)}function Kc(e,t){t[ee].changeDetectionScheduler?.notify(1),vr(e,t,t[k],2,null,null)}function Sp(e){let t=e[Ot];if(!t)return eo(e[w],e);for(;t;){let n=null;if(Le(t))n=t[Ot];else{let r=t[V];r&&(n=r)}if(!n){for(;t&&!t[X]&&t!==e;)Le(t)&&eo(t[w],t),t=t[j];t===null&&(t=e),Le(t)&&eo(t[w],t),n=t&&t[X]}t=n}}function Op(e,t,n,r){let o=V+r,i=n.length;r>0&&(n[o-1][X]=t),r0&&(e[n-1][X]=r[X]);let i=qn(e,V+t);Tp(r[w],r);let s=i[dt];s!==null&&s.detachView(i[w]),r[j]=null,r[X]=null,r[m]&=-129}return r}function yr(e,t){if(!(t[m]&256)){let n=t[k];n.destroyNode&&vr(e,t,n,3,null,null),Sp(t)}}function eo(e,t){if(t[m]&256)return;let n=D(null);try{t[m]&=-129,t[m]|=256,t[$e]&&Xi(t[$e]),Rp(e,t),Pp(e,t),t[w].type===1&&t[k].destroy();let r=t[dr];if(r!==null&&ye(t[j])){r!==t[j]&&Xc(r,t);let o=t[dt];o!==null&&o.detachView(e)}Zf(t)}finally{D(n)}}function Pp(e,t){let n=e.cleanup,r=t[St];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[St]=null);let o=t[xe];if(o!==null){t[xe]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===_t.None||i===_t.Emulated)return null}return Z(r,n)}}function Xn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function el(e,t,n){e.appendChild(t,n)}function ca(e,t,n,r,o){r!==null?Xn(e,t,n,r,o):el(e,t,n)}function Fp(e,t,n,r){e.removeChild(t,n,r)}function ki(e,t){return e.parentNode(t)}function jp(e,t){return e.nextSibling(t)}function Vp(e,t,n){return $p(e,t,n)}function Hp(e,t,n){return e.type&40?Z(e,n):null}var $p=Hp,la;function Li(e,t,n,r){let o=kp(e,r,t),i=t[k],s=r.parent||t[ne],a=Vp(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;cH&&ol(e,t,H,!1),ae(s?2:0,o),n(r,o)}finally{Ue(i),ae(s?3:1,o)}}function ll(e,t,n){if(oc(t)){let r=D(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Xp(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return df()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function ua(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=lt.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(o!==null){if(!o.hasOwnProperty(i))continue;l=o[i]}e===0?da(r,n,l,a,c):da(r,n,l,a)}return r}function da(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function eh(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,l=null;for(let u=r;u0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function ih(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;pr(n)&&fh(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Mc(n,t),We(r,t);let s=n.initialInputs;for(let a=o;a{At(e.lView)},consumerOnSignalRead(){this.lView[$e]=this}}),El=100;function xl(e,t=!0,n=0){let r=e[ee],o=r.rendererFactory,i=!1;i||o.begin?.();try{Th(e,n)}catch(s){throw t&&Il(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Th(e,t){Fo(e,t);let n=0;for(;Di(e);){if(n===El)throw new C(103,!1);n++,Fo(e,1)}}function Nh(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1;!i&&t[ee].inlineEffectRunner?.flush(),bi(t);let s=null,a=null;!i&&Sh(e)&&(a=xh(t),s=Tr(a));try{uc(t),gf(e.bindingStartIndex),n!==null&&cl(e,t,n,2,r);let c=(o&3)===3;if(!i)if(c){let d=e.preOrderCheckHooks;d!==null&&jn(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Vn(t,d,0,null),Yr(t,0)}if(Oh(t),Cl(t,0),e.contentQueries!==null&&vl(e,t),!i)if(c){let d=e.contentCheckHooks;d!==null&&jn(t,d)}else{let d=e.contentHooks;d!==null&&Vn(t,d,1),Yr(t,1)}zp(e,t);let l=e.components;l!==null&&_l(t,l,0);let u=e.viewQuery;if(u!==null&&Lo(2,u,r),!i)if(c){let d=e.viewCheckHooks;d!==null&&jn(t,d)}else{let d=e.viewHooks;d!==null&&Vn(t,d,2),Yr(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Zr]){for(let d of t[Zr])d();t[Zr]=null}i||(t[m]&=-73)}catch(c){throw At(t),c}finally{a!==null&&(Nr(a,s),Mh(a)),Ei()}}function Sh(e){return e.type!==2}function Cl(e,t){for(let n=jc(e);n!==null;n=Vc(n))for(let r=V;r-1&&(Lt(t,r),qn(n,r))}this._attachedToViewContainer=!1}yr(this._lView[w],this._lView)}onDestroy(t){dc(this._lView,t)}markForCheck(){Bi(this._cdRefInjectingView||this._lView)}detach(){this._lView[m]&=-129}reattach(){yo(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,xl(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Kc(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t,yo(this._lView)}};var HE=new RegExp(`^(\\d+)*(${ep}|${Xf})*(.*)`);var Ph=()=>null;function jt(e,t){return Ph(e,t)}var jo=class{},Vo=class{},tr=class{};function Rh(e){let t=Error(`No component factory found for ${q(e)}.`);return t[kh]=e,t}var kh="ngComponent";var Ho=class{resolveComponentFactory(t){throw Rh(t)}},Er=(()=>{let t=class t{};t.NULL=new Ho;let e=t;return e})(),$o=class{},$E=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>Lh();let e=t;return e})();function Lh(){let e=M(),t=oe(),n=_e(t.index,e);return(Le(n)?n:e)[k]}var Fh=(()=>{let t=class t{};t.\u0275prov=W({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),to={};var fa=new Set;function zt(e){fa.has(e)||(fa.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function pa(...e){}function jh(){let e=typeof Ee.requestAnimationFrame=="function",t=Ee[e?"requestAnimationFrame":"setTimeout"],n=Ee[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var le=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new An(!1),this.onMicrotaskEmpty=new An(!1),this.onStable=new An(!1),this.onError=new An(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=jh().nativeRequestAnimationFrame,$h(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Vh,pa,pa);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Vh={};function Ui(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Hh(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ee,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Bo(e),e.isCheckStableRunning=!0,Ui(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Bo(e))}function $h(e){let t=()=>{Hh(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Bh(a))return n.invokeTask(o,i,s,a);try{return ha(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ma(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return ha(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),ma(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Bo(e),Ui(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Bo(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ha(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ma(e){e._nesting--,Ui(e)}function Bh(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var Tl=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=W({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Uo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&nl(e,n,i.join(" "))}}function Zh(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=Kh;let e=t;return e})();function Kh(){let e=oe();return em(e,M())}var Xh=Jh,Nl=class extends Xh{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Si(this._hostTNode,this._hostLView)}get injector(){return new Fe(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ti(this._hostTNode,this._hostLView);if(Ec(t)){let n=Jn(t,this._hostLView),r=Yn(t),o=n[w].data[r+8];return new Fe(o,n)}else return new Fe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=ya(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-V}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=jt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Ft(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!zd(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new Vt(He(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let y=(s?l:this.parentInjector).get(Me,null);y&&(i=y)}let u=He(c.componentType??{}),d=jt(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,Ft(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(rf(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[j],l=new Nl(c,c[ne],c[j]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return br(s,o,i,r),t.attachToViewContainerRef(),Ha(no(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=ya(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Lt(this._lContainer,n);r&&(qn(no(this._lContainer),n),yr(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=Lt(this._lContainer,n);return r&&qn(no(this._lContainer),n)!=null?new ft(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ya(e){return e[zn]}function no(e){return e[zn]||(e[zn]=[])}function em(e,t){let n,r=t[e.index];return ye(r)?n=r:(n=yl(r,t,null,e),t[e.index]=n,Dr(t,n)),nm(n,t,e,r),new Nl(n,e,t)}function tm(e,t){let n=e[k],r=n.createComment(""),o=Z(t,e),i=ki(n,o);return Xn(n,i,r,jp(n,o),!1),r}var nm=im,rm=()=>!1;function om(e,t,n){return rm(e,t,n)}function im(e,t,n,r){if(e[Be])return;let o;n.type&8?o=ue(r):o=tm(t,n),e[Be]=o}function UE(e,t){zt("NgSignals");let n=ss(e),r=n[ie];return t?.equal&&(r.equal=t.equal),n.set=o=>yt(r,o),n.update=o=>as(r,o),n.asReadonly=Sl.bind(n),n}function Sl(){let e=this[ie];if(e.readonlyFn===void 0){let t=()=>this();t[ie]=e,e.readonlyFn=t}return e.readonlyFn}function Ol(e){let t=Object.create(Na),n=new bo;t.value=e;function r(){return gt(t),va(t.value),t.value}return r[ie]=t,r.asReadonly=Sl.bind(r),r.set=o=>{t.equal(t.value,o)||(yt(t,o),n.emit(o))},r.update=o=>{va(t.value),r.set(o(t.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function va(e){if(e===ar)throw new C(-952,!1)}function Ia(e){return Ol(e)}function sm(){return Ol(ar)}var qE=(Ia.required=sm,Ia);function WE(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var Ge=class{},Go=class{};var zo=class extends Ge{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new nr(this);let o=Qa(t);this._bootstrapComponents=Yc(o.bootstrap),this._r3Injector=Pc(t,n,[{provide:Ge,useValue:this},{provide:Er,useValue:this.componentFactoryResolver},...r],q(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Qo=class extends Go{constructor(t){super(),this.moduleType=t}create(t){return new zo(this.moduleType,t,[])}};var rr=class extends Ge{constructor(t){super(),this.componentFactoryResolver=new nr(this),this.instance=null;let n=new Tt([...t.providers,{provide:Ge,useValue:this},{provide:Er,useValue:this.componentFactoryResolver}],t.parent||mi(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function am(e,t,n=null){return new rr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Al=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new It(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=W({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Pl(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function xr(e,t,n){return e[t]=n}function cm(e,t){return e[t]}function de(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Rl(e,t,n,r){let o=de(e,t,n);return de(e,t+1,r)||o}function lm(e,t,n,r,o){let i=Rl(e,t,n,r);return de(e,t+2,o)||i}function um(e){return(e.flags&32)===32}function dm(e,t,n,r,o,i,s,a,c){let l=t.consts,u=wr(t,e,4,s||null,Zn(l,a));hl(t,n,u,Zn(l,c)),_i(t,u);let d=u.tView=ji(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function Zo(e,t,n,r,o,i,s,a){let c=M(),l=re(),u=e+H,d=l.firstCreatePass?dm(u,l,c,t,n,r,o,i,s):l.data[u];qt(d,!1);let p=fm(l,c,d,e);Ci()&&Li(l,c,p,d),We(p,c);let f=yl(p,c,p,d);return c[u]=f,Dr(c,f),om(f,d,c),yi(d)&&ul(l,c,d),s!=null&&dl(c,d,a),Zo}var fm=pm;function pm(e,t,n,r){return Mi(!0),t[k].createComment("")}function hm(e,t,n,r){let o=M(),i=Wt();if(de(o,i,t)){let s=re(),a=xi();ph(a,o,e,t,n,r)}return hm}function kl(e,t,n,r){return de(e,Wt(),n)?t+$t(n)+r:Ie}function Ln(e,t){return e<<17|t<<2}function ze(e){return e>>17&32767}function mm(e){return(e&2)==2}function gm(e,t){return e&131071|t<<17}function Yo(e){return e|2}function pt(e){return(e&131068)>>2}function ro(e,t){return e&-131069|t<<2}function ym(e){return(e&1)===1}function Jo(e){return e|1}function vm(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ze(s),c=pt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Bt(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=ze(e[a+1]);e[r+1]=Ln(p,a),p!==0&&(e[p+1]=ro(e[p+1],r)),e[a+1]=gm(e[a+1],r)}else e[r+1]=Ln(a,0),a!==0&&(e[a+1]=ro(e[a+1],r)),a=r;else e[r+1]=Ln(c,0),a===0?a=r:e[c+1]=ro(e[c+1],r),c=r;l&&(e[r+1]=Yo(e[r+1])),wa(e,u,r,!0),wa(e,u,r,!1),Im(t,u,e,r,i),s=Ln(a,c),i?t.classBindings=s:t.styleBindings=s}function Im(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Bt(i,t)>=0&&(n[r+1]=Jo(n[r+1]))}function wa(e,t,n,r){let o=e[n+1],i=t===null,s=r?ze(o):pt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];wm(c,t)&&(a=!0,e[s+1]=r?Jo(l):Yo(l)),s=r?ze(l):pt(l)}a&&(e[n+1]=r?Yo(o):Jo(o))}function wm(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Bt(e,t)>=0:!1}function Dm(e,t,n){let r=M(),o=Wt();if(de(r,o,t)){let i=re(),s=xi();pl(i,s,r,e,t,r[k],n,!1)}return Dm}function Da(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Vi(e,n,i[s],s,r)}function bm(e,t,n){return Ll(e,t,n,!1),bm}function Em(e,t){return Ll(e,t,null,!0),Em}function Ll(e,t,n,r){let o=M(),i=re(),s=yf(2);if(i.firstUpdatePass&&Cm(i,e,s,r),t!==Ie&&de(o,s,t)){let a=i.data[Ze()];Sm(i,a,o,o[k],e,o[s+1]=Om(t,n),r,s)}}function xm(e,t){return t>=e.expandoStartIndex}function Cm(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ze()],s=xm(e,n);Am(i,r)&&t===null&&!s&&(t=!1),t=Mm(o,i,t,r),vm(o,i,t,n,s,r)}}function Mm(e,t,n,r){let o=Df(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=oo(null,e,t,n,r),n=Ht(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=oo(o,e,t,n,r),i===null){let c=_m(e,t,r);c!==void 0&&Array.isArray(c)&&(c=oo(null,e,t,c[1],r),c=Ht(c,t.attrs,r),Tm(e,t,r,c))}else i=Nm(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function _m(e,t,n){let r=n?t.classBindings:t.styleBindings;if(pt(r)!==0)return e[ze(r)]}function Tm(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[ze(o)]=r}function Nm(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===Ie&&(p=d?Ve:void 0);let f=d?zr(p,r):u===r?p:void 0;if(l&&!or(f)&&(f=zr(c,r)),or(f)&&(a=f,s))return a;let h=e[o+1];o=s?ze(h):pt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=zr(c,r))}return a}function or(e){return e!==void 0}function Om(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=q(mr(e)))),e}function Am(e,t){return(e.flags&(t?8:16))!==0}var Ko=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function io(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Pm(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let c=e.at(i),l=t[i],u=io(i,c,i,l,n);if(u!==0){u<0&&e.updateValue(i,l),i++;continue}let d=e.at(s),p=t[a],f=io(s,d,a,p,n);if(f!==0){f<0&&e.updateValue(s,p),s--,a--;continue}let h=n(i,c),y=n(s,d),N=n(i,l);if(Object.is(N,y)){let _=n(a,p);Object.is(_,h)?(e.swap(i,s),e.updateValue(s,p),a--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new ir,o??=xa(e,i,s,n),Xo(e,r,i,N))e.updateValue(i,l),i++,s++;else if(o.has(N))r.set(h,e.detach(i)),s--;else{let _=e.create(i,t[i]);e.attach(i,_),i++,s++}}for(;i<=a;)Ea(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),c=a.next();for(;!c.done&&i<=s;){let l=e.at(i),u=c.value,d=io(i,l,i,u,n);if(d!==0)d<0&&e.updateValue(i,u),i++,c=a.next();else{r??=new ir,o??=xa(e,i,s,n);let p=n(i,u);if(Xo(e,r,i,p))e.updateValue(i,u),i++,s++,c=a.next();else if(!o.has(p))e.attach(i,e.create(i,u)),i++,s++,c=a.next();else{let f=n(i,l);r.set(f,e.detach(i)),s--}}}for(;!c.done;)Ea(e,r,n,e.length,c.value),c=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function Xo(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ea(e,t,n,r,o){if(Xo(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function xa(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var ir=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function GE(e,t,n){zt("NgControlFlow");let r=M(),o=Wt(),i=ri(r,H+e),s=0;if(de(r,o,t)){let a=D(null);try{if(Dl(i,s),t!==-1){let c=oi(r[w],H+t),l=jt(i,c.tView.ssrId),u=$i(r,c,n,{dehydratedView:l});br(i,u,s,Ft(c,l))}}finally{D(a)}}else{let a=wl(i,s);a!==void 0&&(a[F]=n)}}var ei=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-V}};function zE(e){return e}function QE(e,t){return t}var ti=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function ZE(e,t,n,r,o,i,s,a,c,l,u,d,p){zt("NgControlFlow");let f=c!==void 0,h=M(),y=a?s.bind(h[te][F]):s,N=new ti(f,y);h[H+e]=N,Zo(e+1,t,n,r,o,i),f&&Zo(e+2,c,l,u,d,p)}var ni=class extends Ko{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-V}at(t){return this.getLView(t)[F].$implicit}attach(t,n){let r=n[Nt];this.needsIndexUpdate||=t!==this.length,br(this.lContainer,n,t,Ft(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Rm(this.lContainer,t)}create(t,n){let r=jt(this.lContainer,this.templateTNode.tView.ssrId);return $i(this.hostLView,this.templateTNode,new ei(this.lContainer,n,t),{dehydratedView:r})}destroy(t){yr(t[w],t)}updateValue(t,n){this.getLView(t)[F].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Mi(!0),Jc(r,o,xf()));function JE(){return M()}var sr="en-US";var Vm=sr;function Hm(e){typeof e=="string"&&(Vm=e.toLowerCase().replace(/_/g,"-"))}function $m(e,t,n,r){let o=M(),i=re(),s=oe();return Um(i,o,o[k],s,e,t,r),$m}function Bm(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Um(e,t,n,r,o,i,s){let a=yi(r),l=e.firstCreatePass&&vh(e),u=t[F],d=yh(t),p=!0;if(r.type&3||s){let y=Z(r,t),N=s?s(y):y,_=d.length,G=s?fe=>s(ue(fe[r.index])):r.index,$=null;if(!s&&a&&($=Bm(e,t,o,r.index)),$!==null){let fe=$.__ngLastListenerFn__||$;fe.__ngNextListenerFn__=i,$.__ngLastListenerFn__=i,p=!1}else{i=Ma(r,t,u,i,!1);let fe=n.listen(N,o,i);d.push(i,fe),l&&l.push(o,G,_,_+1)}}else i=Ma(r,t,u,i,!1);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let y=h.length;if(y)for(let N=0;N-1?_e(e.index,t):t;Bi(a);let c=Ca(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)c=Ca(t,n,l,s)&&c,l=l.__ngNextListenerFn__;return o&&c===!1&&s.preventDefault(),c}}function KE(e=1){return Ef(e)}function qm(e,t,n){return Vl(e,"",t,"",n),qm}function Vl(e,t,n,r,o){let i=M(),s=kl(i,t,n,r);if(s!==Ie){let a=re(),c=xi();pl(a,c,i,e,s,i[k],o,!1)}return Vl}function Wm(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function XE(e,t=""){let n=M(),r=re(),o=e+H,i=r.firstCreatePass?wr(r,o,1,t,null):r.data[o],s=Gm(r,n,i,t,e);n[o]=s,Ci()&&Li(r,n,s,i),qt(i,!1)}var Gm=(e,t,n,r,o)=>(Mi(!0),Mp(t[k],r));function zm(e){return Hl("",e,""),zm}function Hl(e,t,n){let r=M(),o=kl(r,e,t,n);return o!==Ie&&Ih(r,Ze(),o),Hl}var Qm=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Ja(!1,r.type),i=o.length>0?am([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=W({token:t,providedIn:"environment",factory:()=>new t(Ce(Me))});let e=t;return e})();function ex(e){zt("NgStandalone"),e.getStandaloneInjector=t=>t.get(Qm).getOrCreateStandaloneInjector(e)}function tx(e,t,n){let r=Qe()+e,o=M();return o[r]===Ie?xr(o,r,n?t.call(n):t()):cm(o,r)}function nx(e,t,n,r){return $l(M(),Qe(),e,t,n,r)}function rx(e,t,n,r,o){return Bl(M(),Qe(),e,t,n,r,o)}function ox(e,t,n,r,o,i){return Ul(M(),Qe(),e,t,n,r,o,i)}function qi(e,t){let n=e[t];return n===Ie?void 0:n}function $l(e,t,n,r,o,i){let s=t+n;return de(e,s,o)?xr(e,s+1,i?r.call(i,o):r(o)):qi(e,s+1)}function Bl(e,t,n,r,o,i,s){let a=t+n;return Rl(e,a,o,i)?xr(e,a+2,s?r.call(s,o,i):r(o,i)):qi(e,a+2)}function Ul(e,t,n,r,o,i,s,a){let c=t+n;return lm(e,c,o,i,s)?xr(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):qi(e,c+3)}function ix(e,t){let n=re(),r,o=e+H;n.firstCreatePass?(r=Zm(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=je(r.type,!0)),s,a=U(il);try{let c=Kn(!1),l=i();return Kn(c),Wm(n,M(),o,l),l}finally{U(a)}}function Zm(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function sx(e,t,n){let r=e+H,o=M(),i=Ii(o,r);return Wi(o,r)?$l(o,Qe(),t,i.transform,n,i):i.transform(n)}function ax(e,t,n,r){let o=e+H,i=M(),s=Ii(i,o);return Wi(i,o)?Bl(i,Qe(),t,s.transform,n,r,s):s.transform(n,r)}function cx(e,t,n,r,o){let i=e+H,s=M(),a=Ii(s,i);return Wi(s,i)?Ul(s,Qe(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function Wi(e,t){return e[w].data[t].pure}var lx=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=W({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var Ym=new O("");function ql(e){return!!e&&typeof e.then=="function"}function Jm(e){return!!e&&typeof e.subscribe=="function"}var Km=new O(""),Wl=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=R(Km,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(ql(s))r.push(s);else if(Jm(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=W({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Xm=new O("");function eg(){is(()=>{throw new C(600,!1)})}function tg(e){return e.isBoundToModule}function ng(e,t,n){try{let r=n();return ql(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Gl=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=R(kc),this.afterRenderEffectManager=R(Tl),this.externalTestViews=new Set,this.beforeRender=new z,this.afterTick=new z,this.componentTypes=[],this.components=[],this.isStable=R(Al).hasPendingTasks.pipe(se(r=>!r)),this._injector=R(Me)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof tr;if(!this._injector.get(Wl).done){let f=!i&&Pd(r),h=!1;throw new C(405,h)}let a;i?a=r:a=this._injector.get(Er).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=tg(a)?void 0:this._injector.get(Ge),l=o||a.selector,u=a.create(Rc.NULL,[],l,c),d=u.location.nativeElement,p=u.injector.get(Ym,null);return p?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),so(this.components,u),p?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new C(101,!1);let o=D(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,D(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===El)throw new C(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:c}of this._views)rg(a,s,c)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>ii(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>ii(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;so(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Xm,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>so(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new C(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=W({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function so(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function rg(e,t,n){!t&&!ii(e)||og(e,n,t)}function ii(e){return Di(e)}function og(e,t,n){let r;n?(r=0,e[m]|=1024):e[m]&64?r=0:r=1,xl(e,t,r)}var si=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},ux=(()=>{let t=class t{compileModuleSync(r){return new Qo(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Qa(r),s=Yc(i.declarations).reduce((a,c)=>{let l=He(c);return l&&a.push(new Vt(l)),a},[]);return new si(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=W({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var ig=(()=>{let t=class t{constructor(){this.zone=R(le),this.applicationRef=R(Gl)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=W({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function sg(e){return[{provide:le,useFactory:e},{provide:Wn,multi:!0,useFactory:()=>{let t=R(ig,{optional:!0});return()=>t.initialize()}},{provide:Wn,multi:!0,useFactory:()=>{let t=R(ug);return()=>{t.initialize()}}},{provide:kc,useFactory:ag}]}function ag(){let e=R(le),t=R(qe);return n=>e.runOutsideAngular(()=>t.handleError(n))}function cg(e){let t=sg(()=>new le(lg(e)));return kd([[],t])}function lg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var ug=(()=>{let t=class t{constructor(){this.subscription=new A,this.initialized=!1,this.zone=R(le),this.pendingTasks=R(Al)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{le.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{le.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=W({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function dg(){return typeof $localize<"u"&&$localize.locale||sr}var zl=new O("",{providedIn:"root",factory:()=>R(zl,E.Optional|E.SkipSelf)||dg()});var Ql=new O("");var $n=null;function fg(e=[],t){return Rc.create({name:t,providers:[{provide:ec,useValue:"platform"},{provide:Ql,useValue:new Set([()=>$n=null])},...e]})}function pg(e=[]){if($n)return $n;let t=fg(e);return $n=t,eg(),hg(t),t}function hg(e){e.get(Jf,null)?.forEach(n=>n())}function dx(){return!1}var fx=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=mg;let e=t;return e})();function mg(e){return gg(oe(),M(),(e&16)===16)}function gg(e,t,n){if(pr(e)&&!n){let r=_e(e.index,t);return new ft(r,r)}else if(e.type&47){let r=t[te];return new ft(r,t)}return null}var ai=class{constructor(){}supports(t){return t instanceof Map||Pl(t)}create(){return new ci}},ci=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Pl(t)))throw new C(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new li(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},li=class{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function _a(){return new yg([new ai])}var yg=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||_a()),deps:[[t,new md,new hd]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new C(901,!1)}};t.\u0275prov=W({token:t,providedIn:"root",factory:_a});let e=t;return e})();function px(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=pg(r),i=[cg(),...n||[]],a=new rr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(le);return c.run(()=>{a.resolveInjectorInitializers();let l=a.get(qe,null),u;c.runOutsideAngular(()=>{u=c.onError.subscribe({next:f=>{l.handleError(f)}})});let d=()=>a.destroy(),p=o.get(Ql);return p.add(d),a.onDestroy(()=>{u.unsubscribe(),p.delete(d)}),ng(l,c,()=>{let f=a.get(Wl);return f.runInitializers(),f.donePromise.then(()=>{let h=a.get(zl,sr);Hm(h||sr);let y=a.get(Gl);return t!==void 0&&y.bootstrap(t),y})})})}catch(t){return Promise.reject(t)}}function hx(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function mx(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function gx(e,t){zt("NgSignals");let n=ns(e);return t?.equal&&(n[ie].equal=t.equal),n}export{Te as a,Ne as b,vg as c,eu as d,A as e,uu as f,x as g,Hr as h,$r as i,z as j,It as k,bt as l,De as m,wu as n,Du as o,bu as p,he as q,Eu as r,se as s,Ou as t,Re as u,_n as v,Pu as w,Ru as x,ku as y,ke as z,Ur as A,Lu as B,Et as C,Nn as D,Fu as E,ju as F,$u as G,qr as H,Wr as I,Bu as J,Uu as K,qu as L,Wu as M,Gu as N,ks as O,Ls as P,zu as Q,Fs as R,C as S,W as T,gE as U,O as V,E as W,Ce as X,R as Y,_t as Z,lt as _,yE as $,vE as aa,IE as ba,kd as ca,ec as da,Me as ea,wE as fa,DE as ga,Zd as ha,bE as ia,EE as ja,xE as ka,CE as la,Rc as ma,qe as na,Ni as oa,ME as pa,Wf as qa,An as ra,_E as sa,TE as ta,Jf as ua,NE as va,SE as wa,Kf as xa,OE as ya,mr as za,Ai as Aa,AE as Ba,PE as Ca,RE as Da,kE as Ea,LE as Fa,qc as Ga,wp as Ha,gr as Ia,FE as Ja,bp as Ka,jE as La,Po as Ma,VE as Na,il as Oa,$o as Pa,$E as Qa,zt as Ra,le as Sa,Jh as Ta,UE as Ua,qE as Va,WE as Wa,Go as Xa,am as Ya,Al as Za,Zo as _a,hm as $a,Dm as ab,bm as bb,Em as cb,GE as db,zE as eb,QE as fb,ZE as gb,YE as hb,Fl as ib,jl as jb,Fm as kb,JE as lb,$m as mb,KE as nb,qm as ob,XE as pb,zm as qb,Hl as rb,ex as sb,tx as tb,nx as ub,rx as vb,ox as wb,ix as xb,sx as yb,ax as zb,cx as Ab,lx as Bb,ql as Cb,Xm as Db,Gl as Eb,ux as Fb,dx as Gb,fx as Hb,yg as Ib,px as Jb,hx as Kb,mx as Lb,gx as Mb}; diff --git a/chunk-OJBOAXW4.js b/chunk-S52S2XV4.js similarity index 83% rename from chunk-OJBOAXW4.js rename to chunk-S52S2XV4.js index 42cd946..4dbe8d4 100644 --- a/chunk-OJBOAXW4.js +++ b/chunk-S52S2XV4.js @@ -1 +1 @@ -import{a as B,b as K,c as V}from"./chunk-SMNG3EBN.js";import{b as $}from"./chunk-W6HWWYOS.js";import{b,e as M}from"./chunk-7ARKW5W4.js";import{i as A,s as w}from"./chunk-7IMKBQP2.js";import{$ as k,$a as y,Ab as g,Bb as C,Ka as P,Oa as o,Pa as p,ba as S,bb as T,d as h,eb as f,gb as v,hb as l,ib as m,jb as s,kb as d,lb as F,ob as u,qb as x,rb as _,tb as I,yb as c}from"./chunk-HTB7U7SQ.js";var j=(()=>{let e=class e{transform(n,r,a){return n.replaceAll(r,a)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=S({name:"replace",type:e,pure:!0,standalone:!0});let t=e;return t})();var E=(t,e)=>e.text;function H(t,e){if(t&1&&(s(0,"h3",5),x(1),d()),t&2){let i=u().$implicit;o(),_(i.key)}}function O(t,e){if(t&1&&(F(0,"div",6),c(1,"replace"),c(2,"replace")),t&2){let i=e.$implicit;T("innerHTML",C(2,5,C(1,1,i.text,"{li}","\xA0\xA0\u25CF\xA0"),"{2li}","\xA0\xA0\xA0\xA0\xA0\xA0\u25CF\xA0"),P)}}function L(t,e){if(t&1&&(y(0,H,2,1,"h3",5),l(1,O,3,9,"div",6,E)),t&2){let i=e.$implicit;f(0,i.key?0:-1),o(),m(i.value)}}function z(t,e){if(t&1&&(s(0,"h2",4),x(1),d(),l(2,L,3,1,null,null,v),c(4,"keyvalue")),t&2){let i=e.$implicit,n=u(2);o(),_(i.key),o(),m(g(4,1,i.value,n.NoSorterKeyValue))}}function q(t,e){if(t&1&&(s(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3),l(4,z,5,4,null,null,v),c(6,"keyvalue"),d()()()()),t&2){let i=u();o(4),m(g(6,0,i.policyItems(),i.NoSorterKeyValue))}}var rt=(()=>{let e=class e{constructor(n,r,a,N){this.dataService=n,this.footerColor=r,this.translator=a,this.titleService=N,this.NoSorterKeyValue=B,this.policyItems=M(this.dataService.privacyPolicy)}ngOnInit(){return h(this,null,function*(){this.footerColor.dark.set(!0),this.titleService.setTitle(yield w(this.translator.get("privacy_policy")))})}};e.\u0275fac=function(r){return new(r||e)(p(K),p($),p(V),p(b))},e.\u0275cmp=k({type:e,selectors:[["app-privacy"]],standalone:!0,features:[I],decls:1,vars:1,consts:[[1,"bg-gray-50","dark:bg-gray-800","pt-12","lg:pt-0"],[1,"max-w-screen-xl","px-4","py-8","mx-auto","space-y-12","lg:space-y-20","lg:py-24","lg:px-6"],[1,"items-center","gap-8","lg:grid","xl:gap-16"],[1,"text-gray-500","sm:text-lg","dark:text-gray-400"],[1,"mb-6","mt-12","text-4xl","font-extrabold","tracking-tight","text-gray-900","dark:text-white"],[1,"mb-6","mt-6","text-3xl","font-extrabold","tracking-tight","text-gray-900","dark:text-white"],[1,"mb-3","tracking-tight","underline-links",3,"innerHTML"]],template:function(r,a){r&1&&y(0,q,7,3,"section",0),r&2&&f(0,a.policyItems()?0:-1)},dependencies:[A,j],styles:["h2[_ngcontent-%COMP%]:first-of-type, h3[_ngcontent-%COMP%]:first-of-type{margin-top:0}"]});let t=e;return t})();export{rt as PrivacyComponent}; +import{a as B,b as K,c as V}from"./chunk-NRZ5RORX.js";import{b as $}from"./chunk-CQNN4SU6.js";import{b,d as M}from"./chunk-DIHZTFHE.js";import{i as A,r as w}from"./chunk-PL5LST3Q.js";import{$ as k,Ab as C,Ja as P,Na as o,Oa as p,_a as y,ab as T,ba as S,d as h,db as f,fb as v,gb as l,hb as m,ib as s,jb as d,kb as F,nb as u,pb as x,qb as _,sb as I,xb as c,zb as g}from"./chunk-RAGRZUZJ.js";var j=(()=>{let e=class e{transform(n,r,a){return n.replaceAll(r,a)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=S({name:"replace",type:e,pure:!0,standalone:!0});let t=e;return t})();var E=(t,e)=>e.text;function H(t,e){if(t&1&&(s(0,"h3",5),x(1),d()),t&2){let i=u().$implicit;o(),_(i.key)}}function O(t,e){if(t&1&&(F(0,"div",6),c(1,"replace"),c(2,"replace")),t&2){let i=e.$implicit;T("innerHTML",C(2,5,C(1,1,i.text,"{li}","\xA0\xA0\u25CF\xA0"),"{2li}","\xA0\xA0\xA0\xA0\xA0\xA0\u25CF\xA0"),P)}}function L(t,e){if(t&1&&(y(0,H,2,1,"h3",5),l(1,O,3,9,"div",6,E)),t&2){let i=e.$implicit;f(0,i.key?0:-1),o(),m(i.value)}}function z(t,e){if(t&1&&(s(0,"h2",4),x(1),d(),l(2,L,3,1,null,null,v),c(4,"keyvalue")),t&2){let i=e.$implicit,n=u(2);o(),_(i.key),o(),m(g(4,1,i.value,n.NoSorterKeyValue))}}function q(t,e){if(t&1&&(s(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3),l(4,z,5,4,null,null,v),c(6,"keyvalue"),d()()()()),t&2){let i=u();o(4),m(g(6,0,i.policyItems(),i.NoSorterKeyValue))}}var rt=(()=>{let e=class e{constructor(n,r,a,N){this.dataService=n,this.footerColor=r,this.translator=a,this.titleService=N,this.NoSorterKeyValue=B,this.policyItems=M(this.dataService.privacyPolicy)}ngOnInit(){return h(this,null,function*(){this.footerColor.dark.set(!0),this.titleService.setTitle(yield w(this.translator.get("privacy_policy")))})}};e.\u0275fac=function(r){return new(r||e)(p(K),p($),p(V),p(b))},e.\u0275cmp=k({type:e,selectors:[["app-privacy"]],standalone:!0,features:[I],decls:1,vars:1,consts:[[1,"bg-gray-50","dark:bg-gray-800","pt-12","lg:pt-0"],[1,"max-w-screen-xl","px-4","py-8","mx-auto","space-y-12","lg:space-y-20","lg:py-24","lg:px-6"],[1,"items-center","gap-8","lg:grid","xl:gap-16"],[1,"text-gray-500","sm:text-lg","dark:text-gray-400"],[1,"mb-6","mt-12","text-4xl","font-extrabold","tracking-tight","text-gray-900","dark:text-white"],[1,"mb-6","mt-6","text-3xl","font-extrabold","tracking-tight","text-gray-900","dark:text-white"],[1,"mb-3","tracking-tight","underline-links",3,"innerHTML"]],template:function(r,a){r&1&&y(0,q,7,3,"section",0),r&2&&f(0,a.policyItems()?0:-1)},dependencies:[A,j],styles:["h2[_ngcontent-%COMP%]:first-of-type, h3[_ngcontent-%COMP%]:first-of-type{margin-top:0}"]});let t=e;return t})();export{rt as PrivacyComponent}; diff --git a/chunk-4EY2ITIA.js b/chunk-UIEJTGV7.js similarity index 98% rename from chunk-4EY2ITIA.js rename to chunk-UIEJTGV7.js index 6761b73..4f7fd10 100644 --- a/chunk-4EY2ITIA.js +++ b/chunk-UIEJTGV7.js @@ -1 +1 @@ -import{b as On}from"./chunk-7ARKW5W4.js";import{e as ce,f as Pt}from"./chunk-7IMKBQP2.js";import{$ as ln,A as Z,B as ct,C as ee,Cb as Dn,D as K,Db as Mn,E as nn,Eb as Tn,Fb as En,G as Tt,H as L,Hb as ae,I as ne,J as rn,Jb as ue,L as sn,Ma as gn,Nb as xt,O as on,P as U,Pa as Y,Q as an,R as S,Ra as vn,S as w,T as b,Ta as Ut,U as un,Ua as mn,V as $,W as re,X as cn,Xa as Cn,Y as p,Ya as yn,Za as Rn,_ as Et,_a as Sn,a as h,aa as ie,ab as wn,b as I,ca as hn,e as Ye,ea as Ot,f as Xe,fa as V,h as Yt,ha as se,i as Xt,j as N,k as M,ka as oe,l as j,la as dn,lb as bn,m as O,ma as fn,n as d,nb as In,o as ut,p as Je,q as tn,qa as pn,ra as lt,s as C,t as Jt,tb as An,u as T,v as en,w as te,z as Q}from"./chunk-HTB7U7SQ.js";var f="primary",At=Symbol("RouteTitle"),pe=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function nt(e){return new pe(e)}function hr(e,t,r){let n=r.path.split("/");if(n.length>e.length||r.pathMatch==="full"&&(t.hasChildren()||n.lengthn[s]===i)}else return e===t}function Ln(e){return e.length>0?e[e.length-1]:null}function _(e){return Je(e)?e:Mn(e)?O(Promise.resolve(e)):d(e)}var fr={exact:zn,subset:Fn},kn={exact:pr,subset:gr,ignored:()=>!0};function Un(e,t,r){return fr[r.paths](e.root,t.root,r.matrixParams)&&kn[r.queryParams](e.queryParams,t.queryParams)&&!(r.fragment==="exact"&&e.fragment!==t.fragment)}function pr(e,t){return x(e,t)}function zn(e,t,r){if(!H(e.segments,t.segments)||!jt(e.segments,t.segments,r)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let n in t.children)if(!e.children[n]||!zn(e.children[n],t.children[n],r))return!1;return!0}function gr(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(r=>jn(e[r],t[r]))}function Fn(e,t,r){return _n(e,t,t.segments,r)}function _n(e,t,r,n){if(e.segments.length>r.length){let i=e.segments.slice(0,r.length);return!(!H(i,r)||t.hasChildren()||!jt(i,r,n))}else if(e.segments.length===r.length){if(!H(e.segments,r)||!jt(e.segments,r,n))return!1;for(let i in t.children)if(!e.children[i]||!Fn(e.children[i],t.children[i],n))return!1;return!0}else{let i=r.slice(0,e.segments.length),s=r.slice(e.segments.length);return!H(e.segments,i)||!jt(e.segments,i,n)||!e.children[f]?!1:_n(e.children[f],t,s,n)}}function jt(e,t,r){return t.every((n,i)=>kn[r](e[i].parameters,n.parameters))}var k=class{constructor(t=new m([],{}),r={},n=null){this.root=t,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=nt(this.queryParams),this._queryParamMap}toString(){return Cr.serialize(this)}},m=class{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Lt(this)}},B=class{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??=nt(this.parameters),this._parameterMap}toString(){return Vn(this)}};function vr(e,t){return H(e,t)&&e.every((r,n)=>x(r.parameters,t[n].parameters))}function H(e,t){return e.length!==t.length?!1:e.every((r,n)=>r.path===t[n].path)}function mr(e,t){let r=[];return Object.entries(e.children).forEach(([n,i])=>{n===f&&(r=r.concat(t(i,n)))}),Object.entries(e.children).forEach(([n,i])=>{n!==f&&(r=r.concat(t(i,n)))}),r}var _e=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:()=>new zt,providedIn:"root"});let e=t;return e})(),zt=class{parse(t){let r=new me(t);return new k(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){let r=`/${ht(t.root,!0)}`,n=Sr(t.queryParams),i=typeof t.fragment=="string"?`#${yr(t.fragment)}`:"";return`${r}${n}${i}`}},Cr=new zt;function Lt(e){return e.segments.map(t=>Vn(t)).join("/")}function ht(e,t){if(!e.hasChildren())return Lt(e);if(t){let r=e.children[f]?ht(e.children[f],!1):"",n=[];return Object.entries(e.children).forEach(([i,s])=>{i!==f&&n.push(`${i}:${ht(s,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=mr(e,(n,i)=>i===f?[ht(e.children[f],!1)]:[`${i}:${ht(n,!1)}`]);return Object.keys(e.children).length===1&&e.children[f]!=null?`${Lt(e)}/${r[0]}`:`${Lt(e)}/(${r.join("//")})`}}function qn(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $t(e){return qn(e).replace(/%3B/gi,";")}function yr(e){return encodeURI(e)}function ve(e){return qn(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function kt(e){return decodeURIComponent(e)}function xn(e){return kt(e.replace(/\+/g,"%20"))}function Vn(e){return`${ve(e.path)}${Rr(e.parameters)}`}function Rr(e){return Object.entries(e).map(([t,r])=>`;${ve(t)}=${ve(r)}`).join("")}function Sr(e){let t=Object.entries(e).map(([r,n])=>Array.isArray(n)?n.map(i=>`${$t(r)}=${$t(i)}`).join("&"):`${$t(r)}=${$t(n)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}var wr=/^[^\/()?;#]+/;function le(e){let t=e.match(wr);return t?t[0]:""}var br=/^[^\/()?;=#]+/;function Ir(e){let t=e.match(br);return t?t[0]:""}var Ar=/^[^=?&#]+/;function Dr(e){let t=e.match(Ar);return t?t[0]:""}var Mr=/^[^&#]+/;function Tr(e){let t=e.match(Mr);return t?t[0]:""}var me=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new m([],{}):new m([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(n[f]=new m(t,r)),n}parseSegment(){let t=le(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(t),new B(kt(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let r=Ir(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=le(this.remaining);i&&(n=i,this.capture(n))}t[kt(r)]=kt(n)}parseQueryParam(t){let r=Dr(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=Tr(this.remaining);o&&(n=o,this.capture(n))}let i=xn(r),s=xn(n);if(t.hasOwnProperty(i)){let o=t[i];Array.isArray(o)||(o=[o],t[i]=o),o.push(s)}else t[i]=s}parseParens(t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=le(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new w(4010,!1);let s;n.indexOf(":")>-1?(s=n.slice(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=f);let o=this.parseChildren();r[s]=Object.keys(o).length===1?o[f]:new m([],o),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new w(4011,!1)}};function Bn(e){return e.segments.length>0?new m([],{[f]:e}):e}function Hn(e){let t={};for(let[n,i]of Object.entries(e.children)){let s=Hn(i);if(n===f&&s.segments.length===0&&s.hasChildren())for(let[o,a]of Object.entries(s.children))t[o]=a;else(s.segments.length>0||s.hasChildren())&&(t[n]=s)}let r=new m(e.segments,t);return Er(r)}function Er(e){if(e.numberOfChildren===1&&e.children[f]){let t=e.children[f];return new m(e.segments.concat(t.segments),t.children)}return e}function rt(e){return e instanceof k}function Or(e,t,r=null,n=null){let i=Wn(e);return Gn(i,t,r,n)}function Wn(e){let t;function r(s){let o={};for(let c of s.children){let u=r(c);o[c.outlet]=u}let a=new m(s.url,o);return s===e&&(t=a),a}let n=r(e.root),i=Bn(n);return t??i}function Gn(e,t,r,n){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return he(i,i,i,r,n);let s=Ur(t);if(s.toRoot())return he(i,i,new m([],{}),r,n);let o=xr(s,i,e),a=o.processChildren?pt(o.segmentGroup,o.index,s.commands):Zn(o.segmentGroup,o.index,s.commands);return he(i,o.segmentGroup,a,r,n)}function Ft(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function mt(e){return typeof e=="object"&&e!=null&&e.outlets}function he(e,t,r,n,i){let s={};n&&Object.entries(n).forEach(([c,u])=>{s[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let o;e===t?o=r:o=Qn(e,t,r);let a=Bn(Hn(o));return new k(a,s,i)}function Qn(e,t,r){let n={};return Object.entries(e.children).forEach(([i,s])=>{s===t?n[i]=r:n[i]=Qn(s,t,r)}),new m(e.segments,n)}var _t=class{constructor(t,r,n){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=n,t&&n.length>0&&Ft(n[0]))throw new w(4003,!1);let i=n.find(mt);if(i&&i!==Ln(n))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Ur(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new _t(!0,0,e);let t=0,r=!1,n=e.reduce((i,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let a={};return Object.entries(s.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(s.segmentPath)return[...i,s.segmentPath]}return typeof s!="string"?[...i,s]:o===0?(s.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?t++:a!=""&&i.push(a))}),i):[...i,s]},[]);return new _t(r,t,n)}var tt=class{constructor(t,r,n){this.segmentGroup=t,this.processChildren=r,this.index=n}};function xr(e,t,r){if(e.isAbsolute)return new tt(t,!0,0);if(!r)return new tt(t,!1,NaN);if(r.parent===null)return new tt(r,!0,0);let n=Ft(e.commands[0])?0:1,i=r.segments.length-1+n;return Pr(r,i,e.numberOfDoubleDots)}function Pr(e,t,r){let n=e,i=t,s=r;for(;s>i;){if(s-=i,n=n.parent,!n)throw new w(4005,!1);i=n.segments.length}return new tt(n,!1,i-s)}function $r(e){return mt(e[0])?e[0].outlets:{[f]:e}}function Zn(e,t,r){if(e??=new m([],{}),e.segments.length===0&&e.hasChildren())return pt(e,t,r);let n=Nr(e,t,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexs!==f)&&e.children[f]&&e.numberOfChildren===1&&e.children[f].segments.length===0){let s=pt(e.children[f],t,r);return new m(e.segments,s.children)}return Object.entries(n).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(i[s]=Zn(e.children[s],t,o))}),Object.entries(e.children).forEach(([s,o])=>{n[s]===void 0&&(i[s]=o)}),new m(e.segments,i)}}function Nr(e,t,r){let n=0,i=t,s={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return s;let o=e.segments[i],a=r[n];if(mt(a))break;let c=`${a}`,u=n0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!$n(c,u,o))return s;n+=2}else{if(!$n(c,{},o))return s;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Ce(e,t,r){let n=e.segments.slice(0,t),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(t[r]=Ce(new m([],{}),0,n))}),t}function Pn(e){let t={};return Object.entries(e).forEach(([r,n])=>t[r]=`${n}`),t}function $n(e,t,r){return e==r.path&&x(t,r.parameters)}var gt="imperative",R=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(R||{}),E=class{constructor(t,r){this.id=t,this.url=r}},Ct=class extends E{constructor(t,r,n="imperative",i=null){super(t,r),this.type=R.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},z=class extends E{constructor(t,r,n){super(t,r),this.urlAfterRedirects=n,this.type=R.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},D=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(D||{}),ye=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(ye||{}),F=class extends E{constructor(t,r,n,i){super(t,r),this.reason=n,this.code=i,this.type=R.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},W=class extends E{constructor(t,r,n,i){super(t,r),this.reason=n,this.code=i,this.type=R.NavigationSkipped}},yt=class extends E{constructor(t,r,n,i){super(t,r),this.error=n,this.target=i,this.type=R.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},qt=class extends E{constructor(t,r,n,i){super(t,r),this.urlAfterRedirects=n,this.state=i,this.type=R.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Re=class extends E{constructor(t,r,n,i){super(t,r),this.urlAfterRedirects=n,this.state=i,this.type=R.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Se=class extends E{constructor(t,r,n,i,s){super(t,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s,this.type=R.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},we=class extends E{constructor(t,r,n,i){super(t,r),this.urlAfterRedirects=n,this.state=i,this.type=R.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},be=class extends E{constructor(t,r,n,i){super(t,r),this.urlAfterRedirects=n,this.state=i,this.type=R.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ie=class{constructor(t){this.route=t,this.type=R.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ae=class{constructor(t){this.route=t,this.type=R.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},De=class{constructor(t){this.snapshot=t,this.type=R.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Me=class{constructor(t){this.snapshot=t,this.type=R.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Te=class{constructor(t){this.snapshot=t,this.type=R.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ee=class{constructor(t){this.snapshot=t,this.type=R.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Rt=class{},St=class{constructor(t){this.url=t}};var Oe=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Qt,this.attachRef=null}},Qt=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(n,i){let s=this.getOrCreateContext(n);s.outlet=i,this.contexts.set(n,s)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new Oe,this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Vt=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){let r=Ue(t,this._root);return r?r.children.map(n=>n.value):[]}firstChild(t){let r=Ue(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){let r=xe(t,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return xe(t,this._root).map(r=>r.value)}};function Ue(e,t){if(e===t.value)return t;for(let r of t.children){let n=Ue(e,r);if(n)return n}return null}function xe(e,t){if(e===t.value)return[t];for(let r of t.children){let n=xe(e,r);if(n.length)return n.unshift(t),n}return[]}var A=class{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}};function J(e){let t={};return e&&e.children.forEach(r=>t[r.value.outlet]=r),t}var Bt=class extends Vt{constructor(t,r){super(t),this.snapshot=r,Ve(this,t)}toString(){return this.snapshot.toString()}};function Kn(e){let t=Lr(e),r=new M([new B("",{})]),n=new M({}),i=new M({}),s=new M({}),o=new M(""),a=new G(r,n,s,o,i,f,e,t.root);return a.snapshot=t.root,new Bt(new A(a,[]),t)}function Lr(e){let t={},r={},n={},i="",s=new wt([],t,n,i,r,f,e,null,{});return new Ht("",new A(s,[]))}var G=class{constructor(t,r,n,i,s,o,a,c){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=s,this.outlet=o,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(C(u=>u[At]))??d(void 0),this.url=t,this.params=r,this.queryParams=n,this.fragment=i,this.data=s}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(C(t=>nt(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(C(t=>nt(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function qe(e,t,r="emptyOnly"){let n,{routeConfig:i}=e;return t!==null&&(r==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?n={params:h(h({},t.params),e.params),data:h(h({},t.data),e.data),resolve:h(h(h(h({},e.data),t.data),i?.data),e._resolvedData)}:n={params:h({},e.params),data:h({},e.data),resolve:h(h({},e.data),e._resolvedData??{})},i&&Xn(i)&&(n.resolve[At]=i.title),n}var wt=class{get title(){return this.data?.[At]}constructor(t,r,n,i,s,o,a,c,u){this.url=t,this.params=r,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=o,this.component=a,this.routeConfig=c,this._resolve=u}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??=nt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=nt(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}},Ht=class extends Vt{constructor(t,r){super(r),this.url=t,Ve(this,r)}toString(){return Yn(this._root)}};function Ve(e,t){t.value._routerState=e,t.children.forEach(r=>Ve(e,r))}function Yn(e){let t=e.children.length>0?` { ${e.children.map(Yn).join(", ")} } `:"";return`${e.value}${t}`}function de(e){if(e.snapshot){let t=e.snapshot,r=e._futureSnapshot;e.snapshot=r,x(t.queryParams,r.queryParams)||e.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&e.fragmentSubject.next(r.fragment),x(t.params,r.params)||e.paramsSubject.next(r.params),dr(t.url,r.url)||e.urlSubject.next(r.url),x(t.data,r.data)||e.dataSubject.next(r.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Pe(e,t){let r=x(e.params,t.params)&&vr(e.url,t.url),n=!e.parent!=!t.parent;return r&&!n&&(!e.parent||Pe(e.parent,t.parent))}function Xn(e){return typeof e.title=="string"||e.title===null}var kr=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=f,this.activateEvents=new lt,this.deactivateEvents=new lt,this.attachEvents=new lt,this.detachEvents=new lt,this.parentContexts=p(Qt),this.location=p(mn),this.changeDetector=p(ue),this.environmentInjector=p(Ot),this.inputBinder=p(Be,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:s}=n.name;if(i)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=n;let s=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new $e(n,c,s.injector);this.activated=s.createComponent(a,{index:s.length,injector:u,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=ie({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[se]});let e=t;return e})(),$e=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,r,n){this.route=t,this.childContexts=r,this.parent=n}get(t,r){return t===G?this.route:t===Qt?this.childContexts:this.parent.get(t,r)}},Be=new $("");function zr(e,t,r){let n=bt(e,t._root,r?r._root:void 0);return new Bt(n,t)}function bt(e,t,r){if(r&&e.shouldReuseRoute(t.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=t.value;let i=Fr(e,t,r);return new A(n,i)}else{if(e.shouldAttach(t.value)){let s=e.retrieve(t.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(a=>bt(e,a)),o}}let n=_r(t.value),i=t.children.map(s=>bt(e,s));return new A(n,i)}}function Fr(e,t,r){return t.children.map(n=>{for(let i of r.children)if(e.shouldReuseRoute(n.value,i.value.snapshot))return bt(e,n,i);return bt(e,n)})}function _r(e){return new G(new M(e.url),new M(e.params),new M(e.queryParams),new M(e.fragment),new M(e.data),e.outlet,e.component,e)}var Jn="ngNavigationCancelingError";function tr(e,t){let{redirectTo:r,navigationBehaviorOptions:n}=rt(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=er(!1,D.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function er(e,t){let r=new Error(`NavigationCancelingError: ${e||""}`);return r[Jn]=!0,r.cancellationCode=t,r}function qr(e){return nr(e)&&rt(e.url)}function nr(e){return!!e&&e[Jn]}var Vr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=ln({type:t,selectors:[["ng-component"]],standalone:!0,features:[An],decls:1,vars:0,template:function(i,s){i&1&&bn(0,"router-outlet")},dependencies:[kr],encapsulation:2});let e=t;return e})();function Br(e,t){return e.providers&&!e._injector&&(e._injector=Rn(e.providers,t,`Route: ${e.path}`)),e._injector??t}function He(e){let t=e.children&&e.children.map(He),r=t?I(h({},e),{children:t}):h({},e);return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==f&&(r.component=Vr),r}function P(e){return e.outlet||f}function Hr(e,t){let r=e.filter(n=>P(n)===t);return r.push(...e.filter(n=>P(n)!==t)),r}function Dt(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var Wr=(e,t,r,n)=>C(i=>(new Ne(t,i.targetRouterState,i.currentRouterState,r,n).activate(e),i)),Ne=class{constructor(t,r,n,i,s){this.routeReuseStrategy=t,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=s}activate(t){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,t),de(this.futureState.root),this.activateChildRoutes(r,n,t)}deactivateChildRoutes(t,r,n){let i=J(r);t.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,i[o],n),delete i[o]}),Object.values(i).forEach(s=>{this.deactivateRouteAndItsChildren(s,n)})}deactivateRoutes(t,r,n){let i=t.value,s=r?r.value:null;if(i===s)if(i.component){let o=n.getContext(i.outlet);o&&this.deactivateChildRoutes(t,r,o.children)}else this.deactivateChildRoutes(t,r,n);else s&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){let n=r.getContext(t.value.outlet),i=n&&t.value.component?n.children:r,s=J(t);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);if(n&&n.outlet){let o=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:a})}}deactivateRouteAndOutlet(t,r){let n=r.getContext(t.value.outlet),i=n&&t.value.component?n.children:r,s=J(t);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,r,n){let i=J(r);t.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],n),this.forwardEvent(new Ee(s.value.snapshot))}),t.children.length&&this.forwardEvent(new Me(t.value.snapshot))}activateRoutes(t,r,n){let i=t.value,s=r?r.value:null;if(de(i),i===s)if(i.component){let o=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,r,o.children)}else this.activateChildRoutes(t,r,n);else if(i.component){let o=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),de(a.route.value),this.activateChildRoutes(t,null,o.children)}else{let a=Dt(i.snapshot);o.attachRef=null,o.route=i,o.injector=a,o.outlet&&o.outlet.activateWith(i,o.injector),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,n)}},Wt=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},et=class{constructor(t,r){this.component=t,this.route=r}};function Gr(e,t,r){let n=e._root,i=t?t._root:null;return dt(n,i,r,[n.value])}function Qr(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function st(e,t){let r=Symbol(),n=t.get(e,r);return n===r?typeof e=="function"&&!un(e)?e:t.get(e):n}function dt(e,t,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=J(t);return e.children.forEach(o=>{Zr(o,s[o.value.outlet],r,n.concat([o.value]),i),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,a])=>vt(a,r.getContext(o),i)),i}function Zr(e,t,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=e.value,o=t?t.value:null,a=r?r.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let c=Kr(o,s,s.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Wt(n)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?dt(e,t,a?a.children:null,n,i):dt(e,t,r,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new et(a.outlet.component,o))}else o&&vt(t,a,i),i.canActivateChecks.push(new Wt(n)),s.component?dt(e,null,a?a.children:null,n,i):dt(e,null,r,n,i);return i}function Kr(e,t,r){if(typeof r=="function")return r(e,t);switch(r){case"pathParamsChange":return!H(e.url,t.url);case"pathParamsOrQueryParamsChange":return!H(e.url,t.url)||!x(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Pe(e,t)||!x(e.queryParams,t.queryParams);case"paramsChange":default:return!Pe(e,t)}}function vt(e,t,r){let n=J(e),i=e.value;Object.entries(n).forEach(([s,o])=>{i.component?t?vt(o,t.children.getContext(s),r):vt(o,null,r):vt(o,t,r)}),i.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new et(t.outlet.component,i)):r.canDeactivateChecks.push(new et(null,i)):r.canDeactivateChecks.push(new et(null,i))}function Mt(e){return typeof e=="function"}function Yr(e){return typeof e=="boolean"}function Xr(e){return e&&Mt(e.canLoad)}function Jr(e){return e&&Mt(e.canActivate)}function ti(e){return e&&Mt(e.canActivateChild)}function ei(e){return e&&Mt(e.canDeactivate)}function ni(e){return e&&Mt(e.canMatch)}function rr(e){return e instanceof tn||e?.name==="EmptyError"}var Nt=Symbol("INITIAL_VALUE");function it(){return U(e=>Jt(e.map(t=>t.pipe(K(1),on(Nt)))).pipe(C(t=>{for(let r of t)if(r!==!0){if(r===Nt)return Nt;if(r===!1||r instanceof k)return r}return!0}),Q(t=>t!==Nt),K(1)))}function ri(e,t){return T(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=r;return o.length===0&&s.length===0?d(I(h({},r),{guardsResult:!0})):ii(o,n,i,e).pipe(T(a=>a&&Yr(a)?si(n,s,e,t):d(a)),C(a=>I(h({},r),{guardsResult:a})))})}function ii(e,t,r,n){return O(e).pipe(T(i=>li(i.component,i.route,r,t,n)),L(i=>i!==!0,!0))}function si(e,t,r,n){return O(t).pipe(ct(i=>en(ai(i.route.parent,n),oi(i.route,n),ci(e,i.path,r),ui(e,i.route,r))),L(i=>i!==!0,!0))}function oi(e,t){return e!==null&&t&&t(new Te(e)),d(!0)}function ai(e,t){return e!==null&&t&&t(new De(e)),d(!0)}function ui(e,t,r){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return d(!0);let i=n.map(s=>te(()=>{let o=Dt(t)??r,a=st(s,o),c=Jr(a)?a.canActivate(t,e):V(o,()=>a(t,e));return _(c).pipe(L())}));return d(i).pipe(it())}function ci(e,t,r){let n=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(o=>Qr(o)).filter(o=>o!==null).map(o=>te(()=>{let a=o.guards.map(c=>{let u=Dt(o.node)??r,l=st(c,u),v=ti(l)?l.canActivateChild(n,e):V(u,()=>l(n,e));return _(v).pipe(L())});return d(a).pipe(it())}));return d(s).pipe(it())}function li(e,t,r,n,i){let s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!s||s.length===0)return d(!0);let o=s.map(a=>{let c=Dt(t)??i,u=st(a,c),l=ei(u)?u.canDeactivate(e,t,r,n):V(c,()=>u(e,t,r,n));return _(l).pipe(L())});return d(o).pipe(it())}function hi(e,t,r,n){let i=t.canLoad;if(i===void 0||i.length===0)return d(!0);let s=i.map(o=>{let a=st(o,e),c=Xr(a)?a.canLoad(t,r):V(e,()=>a(t,r));return _(c)});return d(s).pipe(it(),ir(n))}function ir(e){return Xe(S(t=>{if(rt(t))throw tr(e,t)}),C(t=>t===!0))}function di(e,t,r,n){let i=t.canMatch;if(!i||i.length===0)return d(!0);let s=i.map(o=>{let a=st(o,e),c=ni(a)?a.canMatch(t,r):V(e,()=>a(t,r));return _(c)});return d(s).pipe(it(),ir(n))}var It=class{constructor(t){this.segmentGroup=t||null}},Gt=class extends Error{constructor(t){super(),this.urlTree=t}};function X(e){return ut(new It(e))}function fi(e){return ut(new w(4e3,!1))}function pi(e){return ut(er(!1,D.GuardRejected))}var je=class{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return d(n);if(i.numberOfChildren>1||!i.children[f])return fi(t.redirectTo);i=i.children[f]}}applyRedirectCommands(t,r,n){let i=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,n);if(r.startsWith("/"))throw new Gt(i);return i}applyRedirectCreateUrlTree(t,r,n,i){let s=this.createSegmentGroup(t,r.root,n,i);return new k(s,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){let n={};return Object.entries(t).forEach(([i,s])=>{if(typeof s=="string"&&s.startsWith(":")){let a=s.substring(1);n[i]=r[a]}else n[i]=s}),n}createSegmentGroup(t,r,n,i){let s=this.createSegments(t,r.segments,n,i),o={};return Object.entries(r.children).forEach(([a,c])=>{o[a]=this.createSegmentGroup(t,c,n,i)}),new m(s,o)}createSegments(t,r,n,i){return r.map(s=>s.path.startsWith(":")?this.findPosParam(t,s,i):this.findOrReturn(s,n))}findPosParam(t,r,n){let i=n[r.path.substring(1)];if(!i)throw new w(4001,!1);return i}findOrReturn(t,r){let n=0;for(let i of r){if(i.path===t.path)return r.splice(n),i;n++}return t}},Le={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function gi(e,t,r,n,i){let s=We(e,t,r);return s.matched?(n=Br(t,n),di(n,t,r,i).pipe(C(o=>o===!0?s:h({},Le)))):d(s)}function We(e,t,r){if(t.path==="**")return vi(r);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||r.length>0)?h({},Le):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(t.matcher||hr)(r,e,t);if(!i)return h({},Le);let s={};Object.entries(i.posParams??{}).forEach(([a,c])=>{s[a]=c.path});let o=i.consumed.length>0?h(h({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function vi(e){return{matched:!0,parameters:e.length>0?Ln(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Nn(e,t,r,n){return r.length>0&&yi(e,r,n)?{segmentGroup:new m(t,Ci(n,new m(r,e.children))),slicedSegments:[]}:r.length===0&&Ri(e,r,n)?{segmentGroup:new m(e.segments,mi(e,r,n,e.children)),slicedSegments:r}:{segmentGroup:new m(e.segments,e.children),slicedSegments:r}}function mi(e,t,r,n){let i={};for(let s of r)if(Zt(e,t,s)&&!n[P(s)]){let o=new m([],{});i[P(s)]=o}return h(h({},n),i)}function Ci(e,t){let r={};r[f]=t;for(let n of e)if(n.path===""&&P(n)!==f){let i=new m([],{});r[P(n)]=i}return r}function yi(e,t,r){return r.some(n=>Zt(e,t,n)&&P(n)!==f)}function Ri(e,t,r){return r.some(n=>Zt(e,t,n))}function Zt(e,t,r){return(e.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Si(e,t,r,n){return P(e)!==n&&(n===f||!Zt(t,r,e))?!1:We(t,e,r).matched}function wi(e,t,r){return t.length===0&&!e.children[r]}var ke=class{};function bi(e,t,r,n,i,s,o="emptyOnly"){return new ze(e,t,r,n,i,o,s).recognize()}var Ii=31,ze=class{constructor(t,r,n,i,s,o,a){this.injector=t,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=a,this.applyRedirects=new je(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new w(4002,`'${t.segmentGroup}'`)}recognize(){let t=Nn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(C(r=>{let n=new wt([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,{},f,this.rootComponentType,null,{}),i=new A(n,r),s=new Ht("",i),o=Or(n,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),this.inheritParamsAndData(s._root,null),{state:s,tree:o}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,f).pipe(Z(n=>{if(n instanceof Gt)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof It?this.noMatchError(n):n}))}inheritParamsAndData(t,r){let n=t.value,i=qe(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),t.children.forEach(s=>this.inheritParamsAndData(s,n))}processSegmentGroup(t,r,n,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(t,r,n):this.processSegment(t,r,n,n.segments,i,!0).pipe(C(s=>s instanceof A?[s]:[]))}processChildren(t,r,n){let i=[];for(let s of Object.keys(n.children))s==="primary"?i.unshift(s):i.push(s);return O(i).pipe(ct(s=>{let o=n.children[s],a=Hr(r,s);return this.processSegmentGroup(t,a,o,s)}),sn((s,o)=>(s.push(...o),s)),ee(null),rn(),T(s=>{if(s===null)return X(n);let o=sr(s);return Ai(o),d(o)}))}processSegment(t,r,n,i,s,o){return O(r).pipe(ct(a=>this.processSegmentAgainstRoute(a._injector??t,r,a,n,i,s,o).pipe(Z(c=>{if(c instanceof It)return d(null);throw c}))),L(a=>!!a),Z(a=>{if(rr(a))return wi(n,i,s)?d(new ke):X(n);throw a}))}processSegmentAgainstRoute(t,r,n,i,s,o,a){return Si(n,i,s,o)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,n,s,o):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,i,r,n,s,o):X(i):X(i)}expandSegmentAgainstRouteUsingRedirect(t,r,n,i,s,o){let{matched:a,consumedSegments:c,positionalParamSegments:u,remainingSegments:l}=We(r,i,s);if(!a)return X(r);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Ii&&(this.allowRedirects=!1));let v=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,u);return this.applyRedirects.lineralizeSegments(i,v).pipe(T(g=>this.processSegment(t,n,r,g.concat(l),o,!1)))}matchSegmentAgainstRoute(t,r,n,i,s){let o=gi(r,n,i,t,this.urlSerializer);return n.path==="**"&&(r.children={}),o.pipe(U(a=>a.matched?(t=n._injector??t,this.getChildConfig(t,n,i).pipe(U(({routes:c})=>{let u=n._loadedInjector??t,{consumedSegments:l,remainingSegments:v,parameters:g}=a,y=new wt(l,g,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Mi(n),P(n),n.component??n._loadedComponent??null,n,Ti(n)),{segmentGroup:ot,slicedSegments:at}=Nn(r,l,v,c);if(at.length===0&&ot.hasChildren())return this.processChildren(u,c,ot).pipe(C(q=>q===null?null:new A(y,q)));if(c.length===0&&at.length===0)return d(new A(y,[]));let Kt=P(n)===s;return this.processSegment(u,c,ot,at,Kt?f:s,!0).pipe(C(q=>new A(y,q instanceof A?[q]:[])))}))):X(r)))}getChildConfig(t,r,n){return r.children?d({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?d({routes:r._loadedRoutes,injector:r._loadedInjector}):hi(t,r,n,this.urlSerializer).pipe(T(i=>i?this.configLoader.loadChildren(t,r).pipe(S(s=>{r._loadedRoutes=s.routes,r._loadedInjector=s.injector})):pi(r))):d({routes:[],injector:t})}};function Ai(e){e.sort((t,r)=>t.value.outlet===f?-1:r.value.outlet===f?1:t.value.outlet.localeCompare(r.value.outlet))}function Di(e){let t=e.value.routeConfig;return t&&t.path===""}function sr(e){let t=[],r=new Set;for(let n of e){if(!Di(n)){t.push(n);continue}let i=t.find(s=>n.value.routeConfig===s.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):t.push(n)}for(let n of r){let i=sr(n.children);t.push(new A(n.value,i))}return t.filter(n=>!r.has(n))}function Mi(e){return e.data||{}}function Ti(e){return e.resolve||{}}function Ei(e,t,r,n,i,s){return T(o=>bi(e,t,r,n,o.extractedUrl,i,s).pipe(C(({state:a,tree:c})=>I(h({},o),{targetSnapshot:a,urlAfterRedirects:c}))))}function Oi(e,t){return T(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return d(r);let s=new Set(i.map(c=>c.route)),o=new Set;for(let c of s)if(!o.has(c))for(let u of or(c))o.add(u);let a=0;return O(o).pipe(ct(c=>s.has(c)?Ui(c,n,e,t):(c.data=qe(c,c.parent,e).resolve,d(void 0))),S(()=>a++),ne(1),T(c=>a===o.size?d(r):j))})}function or(e){let t=e.children.map(r=>or(r)).flat();return[e,...t]}function Ui(e,t,r,n){let i=e.routeConfig,s=e._resolve;return i?.title!==void 0&&!Xn(i)&&(s[At]=i.title),xi(s,e,t,n).pipe(C(o=>(e._resolvedData=o,e.data=qe(e,e.parent,r).resolve,null)))}function xi(e,t,r,n){let i=ge(e);if(i.length===0)return d({});let s={};return O(i).pipe(T(o=>Pi(e[o],t,r,n).pipe(L(),S(a=>{s[o]=a}))),ne(1),nn(s),Z(o=>rr(o)?j:ut(o)))}function Pi(e,t,r,n){let i=Dt(t)??n,s=st(e,i),o=s.resolve?s.resolve(t,r):V(i,()=>s(t,r));return _(o)}function fe(e){return U(t=>{let r=e(t);return r?O(r).pipe(C(()=>t)):d(t)})}var ar=(()=>{let t=class t{buildTitle(n){let i,s=n.root;for(;s!==void 0;)i=this.getResolvedTitleForRoute(s)??i,s=s.children.find(o=>o.outlet===f);return i}getResolvedTitleForRoute(n){return n.data[At]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:()=>p($i),providedIn:"root"});let e=t;return e})(),$i=(()=>{let t=class t extends ar{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};t.\u0275fac=function(i){return new(i||t)(cn(On))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Ge=new $("",{providedIn:"root",factory:()=>({})}),Qe=new $(""),Ni=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(ae)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return d(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=_(n.loadComponent()).pipe(C(ur),S(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),Tt(()=>{this.componentLoaders.delete(n)})),s=new Xt(i,()=>new N).pipe(Yt());return this.componentLoaders.set(n,s),s}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return d({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=ji(i,this.compiler,n,this.onLoadEndListener).pipe(Tt(()=>{this.childrenLoaders.delete(i)})),a=new Xt(o,()=>new N).pipe(Yt());return this.childrenLoaders.set(i,a),a}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function ji(e,t,r,n){return _(e.loadChildren()).pipe(C(ur),T(i=>i instanceof yn||Array.isArray(i)?d(i):O(t.compileModuleAsync(i))),C(i=>{n&&n(e);let s,o,a=!1;return Array.isArray(i)?(o=i,a=!0):(s=i.create(r).injector,o=s.get(Qe,[],{optional:!0,self:!0}).flat()),{routes:o.map(He),injector:s}}))}function Li(e){return e&&typeof e=="object"&&"default"in e}function ur(e){return Li(e)?e.default:e}var Ze=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:()=>p(ki),providedIn:"root"});let e=t;return e})(),ki=(()=>{let t=class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),zi=new $("");var Fi=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new N,this.transitionAbortSubject=new N,this.configLoader=p(Ni),this.environmentInjector=p(Ot),this.urlSerializer=p(_e),this.rootContexts=p(Qt),this.location=p(Pt),this.inputBindingEnabled=p(Be,{optional:!0})!==null,this.titleStrategy=p(ar),this.options=p(Ge,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(Ze),this.createViewTransition=p(zi,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>d(void 0),this.rootComponentType=null;let n=s=>this.events.next(new Ie(s)),i=s=>this.events.next(new Ae(s));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(I(h(h({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,s){return this.transitions=new M({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:gt,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Q(o=>o.id!==0),C(o=>I(h({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),U(o=>{let a=!1,c=!1;return d(o).pipe(U(u=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",D.SupersededByNewNavigation),j;this.currentTransition=o,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?I(h({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),v=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&v!=="reload"){let g="";return this.events.next(new W(u.id,this.urlSerializer.serialize(u.rawUrl),g,ye.IgnoredSameUrlNavigation)),u.resolve(null),j}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return d(u).pipe(U(g=>{let y=this.transitions?.getValue();return this.events.next(new Ct(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),y!==this.transitions?.getValue()?j:Promise.resolve(g)}),Ei(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),S(g=>{o.targetSnapshot=g.targetSnapshot,o.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation=I(h({},this.currentNavigation),{finalUrl:g.urlAfterRedirects});let y=new qt(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(y)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:g,extractedUrl:y,source:ot,restoredState:at,extras:Kt}=u,q=new Ct(g,this.urlSerializer.serialize(y),ot,at);this.events.next(q);let lr=Kn(this.rootComponentType).snapshot;return this.currentTransition=o=I(h({},u),{targetSnapshot:lr,urlAfterRedirects:y,extras:I(h({},Kt),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,d(o)}else{let g="";return this.events.next(new W(u.id,this.urlSerializer.serialize(u.extractedUrl),g,ye.IgnoredByUrlHandlingStrategy)),u.resolve(null),j}}),S(u=>{let l=new Re(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),C(u=>(this.currentTransition=o=I(h({},u),{guards:Gr(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),o)),ri(this.environmentInjector,u=>this.events.next(u)),S(u=>{if(o.guardsResult=u.guardsResult,rt(u.guardsResult))throw tr(this.urlSerializer,u.guardsResult);let l=new Se(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),Q(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",D.GuardRejected),!1)),fe(u=>{if(u.guards.canActivateChecks.length)return d(u).pipe(S(l=>{let v=new we(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(v)}),U(l=>{let v=!1;return d(l).pipe(Oi(this.paramsInheritanceStrategy,this.environmentInjector),S({next:()=>v=!0,complete:()=>{v||this.cancelNavigationTransition(l,"",D.NoDataFromResolver)}}))}),S(l=>{let v=new be(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(v)}))}),fe(u=>{let l=v=>{let g=[];v.routeConfig?.loadComponent&&!v.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(v.routeConfig).pipe(S(y=>{v.component=y}),C(()=>{})));for(let y of v.children)g.push(...l(y));return g};return Jt(l(u.targetSnapshot.root)).pipe(ee(null),K(1))}),fe(()=>this.afterPreactivation()),U(()=>{let{currentSnapshot:u,targetSnapshot:l}=o,v=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return v?O(v).pipe(C(()=>o)):d(o)}),C(u=>{let l=zr(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=o=I(h({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,o}),S(()=>{this.events.next(new Rt)}),Wr(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),K(1),S({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new z(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),an(this.transitionAbortSubject.pipe(S(u=>{throw u}))),Tt(()=>{!a&&!c&&this.cancelNavigationTransition(o,"",D.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),Z(u=>{if(c=!0,nr(u))this.events.next(new F(o.id,this.urlSerializer.serialize(o.extractedUrl),u.message,u.cancellationCode)),qr(u)?this.events.next(new St(u.url)):o.resolve(!1);else{this.events.next(new yt(o.id,this.urlSerializer.serialize(o.extractedUrl),u,o.targetSnapshot??void 0));try{o.resolve(n.errorHandler(u))}catch(l){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(l)}}return j}))}))}cancelNavigationTransition(n,i,s){let o=new F(n.id,this.urlSerializer.serialize(n.extractedUrl),i,s);this.events.next(o),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function _i(e){return e!==gt}var qi=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:()=>p(Vi),providedIn:"root"});let e=t;return e})(),Fe=class{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}},Vi=(()=>{let t=class t extends Fe{};t.\u0275fac=(()=>{let n;return function(s){return(n||(n=oe(t)))(s||t)}})(),t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),cr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:()=>p(Bi),providedIn:"root"});let e=t;return e})(),Bi=(()=>{let t=class t extends cr{constructor(){super(...arguments),this.location=p(Pt),this.urlSerializer=p(_e),this.options=p(Ge,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(Ze),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new k,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Kn(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof Ct)this.stateMemento=this.createStateMemento();else if(n instanceof W)this.rawUrlTree=i.initialUrl;else if(n instanceof qt){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let s=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(s,i)}}else n instanceof Rt?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):n instanceof F&&(n.code===D.GuardRejected||n.code===D.NoDataFromResolver)?this.restoreHistory(i):n instanceof yt?this.restoreHistory(i,!0):n instanceof z&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let s=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(s)||i.extras.replaceUrl){let o=this.browserPageId,a=h(h({},i.extras.state),this.generateNgRouterState(i.id,o));this.location.replaceState(s,"",a)}else{let o=h(h({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(s,"",o)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let s=this.browserPageId,o=this.currentPageId-s;o!==0?this.location.historyGo(o):this.currentUrlTree===n.finalUrl&&o===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};t.\u0275fac=(()=>{let n;return function(s){return(n||(n=oe(t)))(s||t)}})(),t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ft=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(ft||{});function Hi(e,t){e.events.pipe(Q(r=>r instanceof z||r instanceof F||r instanceof yt||r instanceof W),C(r=>r instanceof z||r instanceof W?ft.COMPLETE:(r instanceof F?r.code===D.Redirect||r.code===D.SupersededByNewNavigation:!1)?ft.REDIRECTING:ft.FAILED),Q(r=>r!==ft.REDIRECTING),K(1)).subscribe(()=>{t()})}function Wi(e){throw e}var Gi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Qi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ke=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=p(Dn),this.stateManager=p(cr),this.options=p(Ge,{optional:!0})||{},this.pendingTasks=p(Sn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(Fi),this.urlSerializer=p(_e),this.location=p(Pt),this.urlHandlingStrategy=p(Ze),this._events=new N,this.errorHandler=this.options.errorHandler||Wi,this.navigated=!1,this.routeReuseStrategy=p(qi),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(Qe,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(Be,{optional:!0}),this.eventsSubscription=new Ye,this.isNgZoneEnabled=p(Ut)instanceof Ut&&Ut.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let s=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(s!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof F&&i.code!==D.Redirect&&i.code!==D.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof z)this.navigated=!0;else if(i instanceof St){let a=this.urlHandlingStrategy.merge(i.url,s.currentRawUrl),c={info:s.extras.info,skipLocationChange:s.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||_i(s.source)};this.scheduleNavigation(a,gt,null,c,{resolve:s.resolve,reject:s.reject,promise:s.promise})}}Ki(i)&&this._events.next(i)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),gt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,s){let o={replaceUrl:!0},a=s?.navigationId?s:null;if(s){let u=h({},s);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(o.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,i,a,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(He),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:s,queryParams:o,fragment:a,queryParamsHandling:c,preserveFragment:u}=i,l=u?this.currentUrlTree.fragment:a,v=null;switch(c){case"merge":v=h(h({},this.currentUrlTree.queryParams),o);break;case"preserve":v=this.currentUrlTree.queryParams;break;default:v=o||null}v!==null&&(v=this.removeEmptyProps(v));let g;try{let y=s?s.snapshot:this.routerState.snapshot.root;g=Wn(y)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),g=this.currentUrlTree.root}return Gn(g,n,v,l??null)}navigateByUrl(n,i={skipLocationChange:!1}){let s=rt(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,gt,null,i)}navigate(n,i={skipLocationChange:!1}){return Zi(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let s;if(i===!0?s=h({},Gi):i===!1?s=h({},Qi):s=i,rt(n))return Un(this.currentUrlTree,n,s);let o=this.parseUrl(n);return Un(this.currentUrlTree,o,s)}removeEmptyProps(n){return Object.entries(n).reduce((i,[s,o])=>(o!=null&&(i[s]=o),i),{})}scheduleNavigation(n,i,s,o,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((g,y)=>{c=g,u=y});let v=this.pendingTasks.add();return Hi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(v))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(g=>Promise.reject(g))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Zi(e){for(let t=0;t{let t=class t{constructor(n,i,s,o,a,c){this.router=n,this.route=i,this.tabIndexAttribute=s,this.renderer=o,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new N,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof z&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,i,s,o,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||i||s||o||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let i=this.href===null?null:gn(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(n,i){let s=this.renderer,o=this.el.nativeElement;i!==null?s.setAttribute(o,n,i):s.removeAttribute(o,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.\u0275fac=function(i){return new(i||t)(Y(Ke),Y(G),dn("tabindex"),Y(vn),Y(pn),Y(ce))},t.\u0275dir=ie({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,s){i&1&&In("click",function(a){return s.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&wn("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[Et.HasDecoratorInputTransform,"preserveFragment","preserveFragment",xt],skipLocationChange:[Et.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",xt],replaceUrl:[Et.HasDecoratorInputTransform,"replaceUrl","replaceUrl",xt],routerLink:"routerLink"},standalone:!0,features:[Cn,se]});let e=t;return e})();var Yi=new $("");function Bs(e,...t){return hn([{provide:Qe,multi:!0,useValue:e},[],{provide:G,useFactory:Xi,deps:[Ke]},{provide:Tn,multi:!0,useFactory:Ji},t.map(r=>r.\u0275providers)])}function Xi(e){return e.routerState.root}function Ji(){let e=p(fn);return t=>{let r=e.get(En);if(t!==r.components[0])return;let n=e.get(Ke),i=e.get(ts);e.get(es)===1&&n.initialNavigation(),e.get(ns,null,re.Optional)?.setUpPreloading(),e.get(Yi,null,re.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var ts=new $("",{factory:()=>new N}),es=new $("",{providedIn:"root",factory:()=>1});var ns=new $("");export{kr as a,Ke as b,Vs as c,Bs as d}; +import{b as On}from"./chunk-DIHZTFHE.js";import{e as ce,f as Pt}from"./chunk-PL5LST3Q.js";import{$ as ln,$a as wn,A as Z,B as ct,Bb as Dn,C as ee,Cb as Mn,D as K,Db as Tn,E as nn,Eb as En,Fb as ae,G as Tt,H as L,Hb as ue,I as ne,J as rn,Kb as xt,L as sn,La as gn,O as on,Oa as Y,P as U,Q as an,Qa as vn,R as S,S as w,Sa as Ut,T as b,Ta as mn,U as un,V as $,W as re,Wa as Cn,X as cn,Xa as yn,Y as p,Ya as Rn,Za as Sn,_ as Et,a as h,aa as ie,b as I,ca as hn,e as Ye,ea as Ot,f as Xe,fa as V,h as Yt,ha as se,i as Xt,j as N,k as M,ka as oe,kb as bn,l as j,la as dn,m as O,ma as fn,mb as In,n as d,o as ut,p as Je,q as tn,qa as pn,ra as lt,s as C,sb as An,t as Jt,u as T,v as en,w as te,z as Q}from"./chunk-RAGRZUZJ.js";var f="primary",At=Symbol("RouteTitle"),pe=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function nt(e){return new pe(e)}function hr(e,t,r){let n=r.path.split("/");if(n.length>e.length||r.pathMatch==="full"&&(t.hasChildren()||n.lengthn[s]===i)}else return e===t}function Ln(e){return e.length>0?e[e.length-1]:null}function _(e){return Je(e)?e:Mn(e)?O(Promise.resolve(e)):d(e)}var fr={exact:zn,subset:Fn},kn={exact:pr,subset:gr,ignored:()=>!0};function Un(e,t,r){return fr[r.paths](e.root,t.root,r.matrixParams)&&kn[r.queryParams](e.queryParams,t.queryParams)&&!(r.fragment==="exact"&&e.fragment!==t.fragment)}function pr(e,t){return x(e,t)}function zn(e,t,r){if(!H(e.segments,t.segments)||!jt(e.segments,t.segments,r)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let n in t.children)if(!e.children[n]||!zn(e.children[n],t.children[n],r))return!1;return!0}function gr(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(r=>jn(e[r],t[r]))}function Fn(e,t,r){return _n(e,t,t.segments,r)}function _n(e,t,r,n){if(e.segments.length>r.length){let i=e.segments.slice(0,r.length);return!(!H(i,r)||t.hasChildren()||!jt(i,r,n))}else if(e.segments.length===r.length){if(!H(e.segments,r)||!jt(e.segments,r,n))return!1;for(let i in t.children)if(!e.children[i]||!Fn(e.children[i],t.children[i],n))return!1;return!0}else{let i=r.slice(0,e.segments.length),s=r.slice(e.segments.length);return!H(e.segments,i)||!jt(e.segments,i,n)||!e.children[f]?!1:_n(e.children[f],t,s,n)}}function jt(e,t,r){return t.every((n,i)=>kn[r](e[i].parameters,n.parameters))}var k=class{constructor(t=new m([],{}),r={},n=null){this.root=t,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=nt(this.queryParams),this._queryParamMap}toString(){return Cr.serialize(this)}},m=class{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Lt(this)}},B=class{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??=nt(this.parameters),this._parameterMap}toString(){return Vn(this)}};function vr(e,t){return H(e,t)&&e.every((r,n)=>x(r.parameters,t[n].parameters))}function H(e,t){return e.length!==t.length?!1:e.every((r,n)=>r.path===t[n].path)}function mr(e,t){let r=[];return Object.entries(e.children).forEach(([n,i])=>{n===f&&(r=r.concat(t(i,n)))}),Object.entries(e.children).forEach(([n,i])=>{n!==f&&(r=r.concat(t(i,n)))}),r}var _e=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:()=>new zt,providedIn:"root"});let e=t;return e})(),zt=class{parse(t){let r=new me(t);return new k(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){let r=`/${ht(t.root,!0)}`,n=Sr(t.queryParams),i=typeof t.fragment=="string"?`#${yr(t.fragment)}`:"";return`${r}${n}${i}`}},Cr=new zt;function Lt(e){return e.segments.map(t=>Vn(t)).join("/")}function ht(e,t){if(!e.hasChildren())return Lt(e);if(t){let r=e.children[f]?ht(e.children[f],!1):"",n=[];return Object.entries(e.children).forEach(([i,s])=>{i!==f&&n.push(`${i}:${ht(s,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=mr(e,(n,i)=>i===f?[ht(e.children[f],!1)]:[`${i}:${ht(n,!1)}`]);return Object.keys(e.children).length===1&&e.children[f]!=null?`${Lt(e)}/${r[0]}`:`${Lt(e)}/(${r.join("//")})`}}function qn(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $t(e){return qn(e).replace(/%3B/gi,";")}function yr(e){return encodeURI(e)}function ve(e){return qn(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function kt(e){return decodeURIComponent(e)}function xn(e){return kt(e.replace(/\+/g,"%20"))}function Vn(e){return`${ve(e.path)}${Rr(e.parameters)}`}function Rr(e){return Object.entries(e).map(([t,r])=>`;${ve(t)}=${ve(r)}`).join("")}function Sr(e){let t=Object.entries(e).map(([r,n])=>Array.isArray(n)?n.map(i=>`${$t(r)}=${$t(i)}`).join("&"):`${$t(r)}=${$t(n)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}var wr=/^[^\/()?;#]+/;function le(e){let t=e.match(wr);return t?t[0]:""}var br=/^[^\/()?;=#]+/;function Ir(e){let t=e.match(br);return t?t[0]:""}var Ar=/^[^=?&#]+/;function Dr(e){let t=e.match(Ar);return t?t[0]:""}var Mr=/^[^&#]+/;function Tr(e){let t=e.match(Mr);return t?t[0]:""}var me=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new m([],{}):new m([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(n[f]=new m(t,r)),n}parseSegment(){let t=le(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(t),new B(kt(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let r=Ir(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=le(this.remaining);i&&(n=i,this.capture(n))}t[kt(r)]=kt(n)}parseQueryParam(t){let r=Dr(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=Tr(this.remaining);o&&(n=o,this.capture(n))}let i=xn(r),s=xn(n);if(t.hasOwnProperty(i)){let o=t[i];Array.isArray(o)||(o=[o],t[i]=o),o.push(s)}else t[i]=s}parseParens(t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=le(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new w(4010,!1);let s;n.indexOf(":")>-1?(s=n.slice(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=f);let o=this.parseChildren();r[s]=Object.keys(o).length===1?o[f]:new m([],o),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new w(4011,!1)}};function Bn(e){return e.segments.length>0?new m([],{[f]:e}):e}function Hn(e){let t={};for(let[n,i]of Object.entries(e.children)){let s=Hn(i);if(n===f&&s.segments.length===0&&s.hasChildren())for(let[o,a]of Object.entries(s.children))t[o]=a;else(s.segments.length>0||s.hasChildren())&&(t[n]=s)}let r=new m(e.segments,t);return Er(r)}function Er(e){if(e.numberOfChildren===1&&e.children[f]){let t=e.children[f];return new m(e.segments.concat(t.segments),t.children)}return e}function rt(e){return e instanceof k}function Or(e,t,r=null,n=null){let i=Wn(e);return Gn(i,t,r,n)}function Wn(e){let t;function r(s){let o={};for(let c of s.children){let u=r(c);o[c.outlet]=u}let a=new m(s.url,o);return s===e&&(t=a),a}let n=r(e.root),i=Bn(n);return t??i}function Gn(e,t,r,n){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return he(i,i,i,r,n);let s=Ur(t);if(s.toRoot())return he(i,i,new m([],{}),r,n);let o=xr(s,i,e),a=o.processChildren?pt(o.segmentGroup,o.index,s.commands):Zn(o.segmentGroup,o.index,s.commands);return he(i,o.segmentGroup,a,r,n)}function Ft(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function mt(e){return typeof e=="object"&&e!=null&&e.outlets}function he(e,t,r,n,i){let s={};n&&Object.entries(n).forEach(([c,u])=>{s[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let o;e===t?o=r:o=Qn(e,t,r);let a=Bn(Hn(o));return new k(a,s,i)}function Qn(e,t,r){let n={};return Object.entries(e.children).forEach(([i,s])=>{s===t?n[i]=r:n[i]=Qn(s,t,r)}),new m(e.segments,n)}var _t=class{constructor(t,r,n){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=n,t&&n.length>0&&Ft(n[0]))throw new w(4003,!1);let i=n.find(mt);if(i&&i!==Ln(n))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Ur(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new _t(!0,0,e);let t=0,r=!1,n=e.reduce((i,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let a={};return Object.entries(s.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(s.segmentPath)return[...i,s.segmentPath]}return typeof s!="string"?[...i,s]:o===0?(s.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?t++:a!=""&&i.push(a))}),i):[...i,s]},[]);return new _t(r,t,n)}var tt=class{constructor(t,r,n){this.segmentGroup=t,this.processChildren=r,this.index=n}};function xr(e,t,r){if(e.isAbsolute)return new tt(t,!0,0);if(!r)return new tt(t,!1,NaN);if(r.parent===null)return new tt(r,!0,0);let n=Ft(e.commands[0])?0:1,i=r.segments.length-1+n;return Pr(r,i,e.numberOfDoubleDots)}function Pr(e,t,r){let n=e,i=t,s=r;for(;s>i;){if(s-=i,n=n.parent,!n)throw new w(4005,!1);i=n.segments.length}return new tt(n,!1,i-s)}function $r(e){return mt(e[0])?e[0].outlets:{[f]:e}}function Zn(e,t,r){if(e??=new m([],{}),e.segments.length===0&&e.hasChildren())return pt(e,t,r);let n=Nr(e,t,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexs!==f)&&e.children[f]&&e.numberOfChildren===1&&e.children[f].segments.length===0){let s=pt(e.children[f],t,r);return new m(e.segments,s.children)}return Object.entries(n).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(i[s]=Zn(e.children[s],t,o))}),Object.entries(e.children).forEach(([s,o])=>{n[s]===void 0&&(i[s]=o)}),new m(e.segments,i)}}function Nr(e,t,r){let n=0,i=t,s={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return s;let o=e.segments[i],a=r[n];if(mt(a))break;let c=`${a}`,u=n0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!$n(c,u,o))return s;n+=2}else{if(!$n(c,{},o))return s;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Ce(e,t,r){let n=e.segments.slice(0,t),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(t[r]=Ce(new m([],{}),0,n))}),t}function Pn(e){let t={};return Object.entries(e).forEach(([r,n])=>t[r]=`${n}`),t}function $n(e,t,r){return e==r.path&&x(t,r.parameters)}var gt="imperative",R=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(R||{}),E=class{constructor(t,r){this.id=t,this.url=r}},Ct=class extends E{constructor(t,r,n="imperative",i=null){super(t,r),this.type=R.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},z=class extends E{constructor(t,r,n){super(t,r),this.urlAfterRedirects=n,this.type=R.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},D=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(D||{}),ye=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(ye||{}),F=class extends E{constructor(t,r,n,i){super(t,r),this.reason=n,this.code=i,this.type=R.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},W=class extends E{constructor(t,r,n,i){super(t,r),this.reason=n,this.code=i,this.type=R.NavigationSkipped}},yt=class extends E{constructor(t,r,n,i){super(t,r),this.error=n,this.target=i,this.type=R.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},qt=class extends E{constructor(t,r,n,i){super(t,r),this.urlAfterRedirects=n,this.state=i,this.type=R.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Re=class extends E{constructor(t,r,n,i){super(t,r),this.urlAfterRedirects=n,this.state=i,this.type=R.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Se=class extends E{constructor(t,r,n,i,s){super(t,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s,this.type=R.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},we=class extends E{constructor(t,r,n,i){super(t,r),this.urlAfterRedirects=n,this.state=i,this.type=R.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},be=class extends E{constructor(t,r,n,i){super(t,r),this.urlAfterRedirects=n,this.state=i,this.type=R.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ie=class{constructor(t){this.route=t,this.type=R.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ae=class{constructor(t){this.route=t,this.type=R.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},De=class{constructor(t){this.snapshot=t,this.type=R.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Me=class{constructor(t){this.snapshot=t,this.type=R.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Te=class{constructor(t){this.snapshot=t,this.type=R.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ee=class{constructor(t){this.snapshot=t,this.type=R.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Rt=class{},St=class{constructor(t){this.url=t}};var Oe=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Qt,this.attachRef=null}},Qt=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(n,i){let s=this.getOrCreateContext(n);s.outlet=i,this.contexts.set(n,s)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new Oe,this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Vt=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){let r=Ue(t,this._root);return r?r.children.map(n=>n.value):[]}firstChild(t){let r=Ue(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){let r=xe(t,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return xe(t,this._root).map(r=>r.value)}};function Ue(e,t){if(e===t.value)return t;for(let r of t.children){let n=Ue(e,r);if(n)return n}return null}function xe(e,t){if(e===t.value)return[t];for(let r of t.children){let n=xe(e,r);if(n.length)return n.unshift(t),n}return[]}var A=class{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}};function J(e){let t={};return e&&e.children.forEach(r=>t[r.value.outlet]=r),t}var Bt=class extends Vt{constructor(t,r){super(t),this.snapshot=r,Ve(this,t)}toString(){return this.snapshot.toString()}};function Kn(e){let t=Lr(e),r=new M([new B("",{})]),n=new M({}),i=new M({}),s=new M({}),o=new M(""),a=new G(r,n,s,o,i,f,e,t.root);return a.snapshot=t.root,new Bt(new A(a,[]),t)}function Lr(e){let t={},r={},n={},i="",s=new wt([],t,n,i,r,f,e,null,{});return new Ht("",new A(s,[]))}var G=class{constructor(t,r,n,i,s,o,a,c){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=s,this.outlet=o,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(C(u=>u[At]))??d(void 0),this.url=t,this.params=r,this.queryParams=n,this.fragment=i,this.data=s}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(C(t=>nt(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(C(t=>nt(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function qe(e,t,r="emptyOnly"){let n,{routeConfig:i}=e;return t!==null&&(r==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?n={params:h(h({},t.params),e.params),data:h(h({},t.data),e.data),resolve:h(h(h(h({},e.data),t.data),i?.data),e._resolvedData)}:n={params:h({},e.params),data:h({},e.data),resolve:h(h({},e.data),e._resolvedData??{})},i&&Xn(i)&&(n.resolve[At]=i.title),n}var wt=class{get title(){return this.data?.[At]}constructor(t,r,n,i,s,o,a,c,u){this.url=t,this.params=r,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=o,this.component=a,this.routeConfig=c,this._resolve=u}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??=nt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=nt(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}},Ht=class extends Vt{constructor(t,r){super(r),this.url=t,Ve(this,r)}toString(){return Yn(this._root)}};function Ve(e,t){t.value._routerState=e,t.children.forEach(r=>Ve(e,r))}function Yn(e){let t=e.children.length>0?` { ${e.children.map(Yn).join(", ")} } `:"";return`${e.value}${t}`}function de(e){if(e.snapshot){let t=e.snapshot,r=e._futureSnapshot;e.snapshot=r,x(t.queryParams,r.queryParams)||e.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&e.fragmentSubject.next(r.fragment),x(t.params,r.params)||e.paramsSubject.next(r.params),dr(t.url,r.url)||e.urlSubject.next(r.url),x(t.data,r.data)||e.dataSubject.next(r.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Pe(e,t){let r=x(e.params,t.params)&&vr(e.url,t.url),n=!e.parent!=!t.parent;return r&&!n&&(!e.parent||Pe(e.parent,t.parent))}function Xn(e){return typeof e.title=="string"||e.title===null}var kr=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=f,this.activateEvents=new lt,this.deactivateEvents=new lt,this.attachEvents=new lt,this.detachEvents=new lt,this.parentContexts=p(Qt),this.location=p(mn),this.changeDetector=p(ue),this.environmentInjector=p(Ot),this.inputBinder=p(Be,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:s}=n.name;if(i)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=n;let s=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new $e(n,c,s.injector);this.activated=s.createComponent(a,{index:s.length,injector:u,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=ie({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[se]});let e=t;return e})(),$e=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,r,n){this.route=t,this.childContexts=r,this.parent=n}get(t,r){return t===G?this.route:t===Qt?this.childContexts:this.parent.get(t,r)}},Be=new $("");function zr(e,t,r){let n=bt(e,t._root,r?r._root:void 0);return new Bt(n,t)}function bt(e,t,r){if(r&&e.shouldReuseRoute(t.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=t.value;let i=Fr(e,t,r);return new A(n,i)}else{if(e.shouldAttach(t.value)){let s=e.retrieve(t.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(a=>bt(e,a)),o}}let n=_r(t.value),i=t.children.map(s=>bt(e,s));return new A(n,i)}}function Fr(e,t,r){return t.children.map(n=>{for(let i of r.children)if(e.shouldReuseRoute(n.value,i.value.snapshot))return bt(e,n,i);return bt(e,n)})}function _r(e){return new G(new M(e.url),new M(e.params),new M(e.queryParams),new M(e.fragment),new M(e.data),e.outlet,e.component,e)}var Jn="ngNavigationCancelingError";function tr(e,t){let{redirectTo:r,navigationBehaviorOptions:n}=rt(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=er(!1,D.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function er(e,t){let r=new Error(`NavigationCancelingError: ${e||""}`);return r[Jn]=!0,r.cancellationCode=t,r}function qr(e){return nr(e)&&rt(e.url)}function nr(e){return!!e&&e[Jn]}var Vr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=ln({type:t,selectors:[["ng-component"]],standalone:!0,features:[An],decls:1,vars:0,template:function(i,s){i&1&&bn(0,"router-outlet")},dependencies:[kr],encapsulation:2});let e=t;return e})();function Br(e,t){return e.providers&&!e._injector&&(e._injector=Rn(e.providers,t,`Route: ${e.path}`)),e._injector??t}function He(e){let t=e.children&&e.children.map(He),r=t?I(h({},e),{children:t}):h({},e);return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==f&&(r.component=Vr),r}function P(e){return e.outlet||f}function Hr(e,t){let r=e.filter(n=>P(n)===t);return r.push(...e.filter(n=>P(n)!==t)),r}function Dt(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var Wr=(e,t,r,n)=>C(i=>(new Ne(t,i.targetRouterState,i.currentRouterState,r,n).activate(e),i)),Ne=class{constructor(t,r,n,i,s){this.routeReuseStrategy=t,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=s}activate(t){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,t),de(this.futureState.root),this.activateChildRoutes(r,n,t)}deactivateChildRoutes(t,r,n){let i=J(r);t.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,i[o],n),delete i[o]}),Object.values(i).forEach(s=>{this.deactivateRouteAndItsChildren(s,n)})}deactivateRoutes(t,r,n){let i=t.value,s=r?r.value:null;if(i===s)if(i.component){let o=n.getContext(i.outlet);o&&this.deactivateChildRoutes(t,r,o.children)}else this.deactivateChildRoutes(t,r,n);else s&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){let n=r.getContext(t.value.outlet),i=n&&t.value.component?n.children:r,s=J(t);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);if(n&&n.outlet){let o=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:a})}}deactivateRouteAndOutlet(t,r){let n=r.getContext(t.value.outlet),i=n&&t.value.component?n.children:r,s=J(t);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,r,n){let i=J(r);t.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],n),this.forwardEvent(new Ee(s.value.snapshot))}),t.children.length&&this.forwardEvent(new Me(t.value.snapshot))}activateRoutes(t,r,n){let i=t.value,s=r?r.value:null;if(de(i),i===s)if(i.component){let o=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,r,o.children)}else this.activateChildRoutes(t,r,n);else if(i.component){let o=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),de(a.route.value),this.activateChildRoutes(t,null,o.children)}else{let a=Dt(i.snapshot);o.attachRef=null,o.route=i,o.injector=a,o.outlet&&o.outlet.activateWith(i,o.injector),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,n)}},Wt=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},et=class{constructor(t,r){this.component=t,this.route=r}};function Gr(e,t,r){let n=e._root,i=t?t._root:null;return dt(n,i,r,[n.value])}function Qr(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function st(e,t){let r=Symbol(),n=t.get(e,r);return n===r?typeof e=="function"&&!un(e)?e:t.get(e):n}function dt(e,t,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=J(t);return e.children.forEach(o=>{Zr(o,s[o.value.outlet],r,n.concat([o.value]),i),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,a])=>vt(a,r.getContext(o),i)),i}function Zr(e,t,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=e.value,o=t?t.value:null,a=r?r.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let c=Kr(o,s,s.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Wt(n)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?dt(e,t,a?a.children:null,n,i):dt(e,t,r,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new et(a.outlet.component,o))}else o&&vt(t,a,i),i.canActivateChecks.push(new Wt(n)),s.component?dt(e,null,a?a.children:null,n,i):dt(e,null,r,n,i);return i}function Kr(e,t,r){if(typeof r=="function")return r(e,t);switch(r){case"pathParamsChange":return!H(e.url,t.url);case"pathParamsOrQueryParamsChange":return!H(e.url,t.url)||!x(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Pe(e,t)||!x(e.queryParams,t.queryParams);case"paramsChange":default:return!Pe(e,t)}}function vt(e,t,r){let n=J(e),i=e.value;Object.entries(n).forEach(([s,o])=>{i.component?t?vt(o,t.children.getContext(s),r):vt(o,null,r):vt(o,t,r)}),i.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new et(t.outlet.component,i)):r.canDeactivateChecks.push(new et(null,i)):r.canDeactivateChecks.push(new et(null,i))}function Mt(e){return typeof e=="function"}function Yr(e){return typeof e=="boolean"}function Xr(e){return e&&Mt(e.canLoad)}function Jr(e){return e&&Mt(e.canActivate)}function ti(e){return e&&Mt(e.canActivateChild)}function ei(e){return e&&Mt(e.canDeactivate)}function ni(e){return e&&Mt(e.canMatch)}function rr(e){return e instanceof tn||e?.name==="EmptyError"}var Nt=Symbol("INITIAL_VALUE");function it(){return U(e=>Jt(e.map(t=>t.pipe(K(1),on(Nt)))).pipe(C(t=>{for(let r of t)if(r!==!0){if(r===Nt)return Nt;if(r===!1||r instanceof k)return r}return!0}),Q(t=>t!==Nt),K(1)))}function ri(e,t){return T(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=r;return o.length===0&&s.length===0?d(I(h({},r),{guardsResult:!0})):ii(o,n,i,e).pipe(T(a=>a&&Yr(a)?si(n,s,e,t):d(a)),C(a=>I(h({},r),{guardsResult:a})))})}function ii(e,t,r,n){return O(e).pipe(T(i=>li(i.component,i.route,r,t,n)),L(i=>i!==!0,!0))}function si(e,t,r,n){return O(t).pipe(ct(i=>en(ai(i.route.parent,n),oi(i.route,n),ci(e,i.path,r),ui(e,i.route,r))),L(i=>i!==!0,!0))}function oi(e,t){return e!==null&&t&&t(new Te(e)),d(!0)}function ai(e,t){return e!==null&&t&&t(new De(e)),d(!0)}function ui(e,t,r){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return d(!0);let i=n.map(s=>te(()=>{let o=Dt(t)??r,a=st(s,o),c=Jr(a)?a.canActivate(t,e):V(o,()=>a(t,e));return _(c).pipe(L())}));return d(i).pipe(it())}function ci(e,t,r){let n=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(o=>Qr(o)).filter(o=>o!==null).map(o=>te(()=>{let a=o.guards.map(c=>{let u=Dt(o.node)??r,l=st(c,u),v=ti(l)?l.canActivateChild(n,e):V(u,()=>l(n,e));return _(v).pipe(L())});return d(a).pipe(it())}));return d(s).pipe(it())}function li(e,t,r,n,i){let s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!s||s.length===0)return d(!0);let o=s.map(a=>{let c=Dt(t)??i,u=st(a,c),l=ei(u)?u.canDeactivate(e,t,r,n):V(c,()=>u(e,t,r,n));return _(l).pipe(L())});return d(o).pipe(it())}function hi(e,t,r,n){let i=t.canLoad;if(i===void 0||i.length===0)return d(!0);let s=i.map(o=>{let a=st(o,e),c=Xr(a)?a.canLoad(t,r):V(e,()=>a(t,r));return _(c)});return d(s).pipe(it(),ir(n))}function ir(e){return Xe(S(t=>{if(rt(t))throw tr(e,t)}),C(t=>t===!0))}function di(e,t,r,n){let i=t.canMatch;if(!i||i.length===0)return d(!0);let s=i.map(o=>{let a=st(o,e),c=ni(a)?a.canMatch(t,r):V(e,()=>a(t,r));return _(c)});return d(s).pipe(it(),ir(n))}var It=class{constructor(t){this.segmentGroup=t||null}},Gt=class extends Error{constructor(t){super(),this.urlTree=t}};function X(e){return ut(new It(e))}function fi(e){return ut(new w(4e3,!1))}function pi(e){return ut(er(!1,D.GuardRejected))}var je=class{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return d(n);if(i.numberOfChildren>1||!i.children[f])return fi(t.redirectTo);i=i.children[f]}}applyRedirectCommands(t,r,n){let i=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,n);if(r.startsWith("/"))throw new Gt(i);return i}applyRedirectCreateUrlTree(t,r,n,i){let s=this.createSegmentGroup(t,r.root,n,i);return new k(s,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){let n={};return Object.entries(t).forEach(([i,s])=>{if(typeof s=="string"&&s.startsWith(":")){let a=s.substring(1);n[i]=r[a]}else n[i]=s}),n}createSegmentGroup(t,r,n,i){let s=this.createSegments(t,r.segments,n,i),o={};return Object.entries(r.children).forEach(([a,c])=>{o[a]=this.createSegmentGroup(t,c,n,i)}),new m(s,o)}createSegments(t,r,n,i){return r.map(s=>s.path.startsWith(":")?this.findPosParam(t,s,i):this.findOrReturn(s,n))}findPosParam(t,r,n){let i=n[r.path.substring(1)];if(!i)throw new w(4001,!1);return i}findOrReturn(t,r){let n=0;for(let i of r){if(i.path===t.path)return r.splice(n),i;n++}return t}},Le={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function gi(e,t,r,n,i){let s=We(e,t,r);return s.matched?(n=Br(t,n),di(n,t,r,i).pipe(C(o=>o===!0?s:h({},Le)))):d(s)}function We(e,t,r){if(t.path==="**")return vi(r);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||r.length>0)?h({},Le):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(t.matcher||hr)(r,e,t);if(!i)return h({},Le);let s={};Object.entries(i.posParams??{}).forEach(([a,c])=>{s[a]=c.path});let o=i.consumed.length>0?h(h({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function vi(e){return{matched:!0,parameters:e.length>0?Ln(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Nn(e,t,r,n){return r.length>0&&yi(e,r,n)?{segmentGroup:new m(t,Ci(n,new m(r,e.children))),slicedSegments:[]}:r.length===0&&Ri(e,r,n)?{segmentGroup:new m(e.segments,mi(e,r,n,e.children)),slicedSegments:r}:{segmentGroup:new m(e.segments,e.children),slicedSegments:r}}function mi(e,t,r,n){let i={};for(let s of r)if(Zt(e,t,s)&&!n[P(s)]){let o=new m([],{});i[P(s)]=o}return h(h({},n),i)}function Ci(e,t){let r={};r[f]=t;for(let n of e)if(n.path===""&&P(n)!==f){let i=new m([],{});r[P(n)]=i}return r}function yi(e,t,r){return r.some(n=>Zt(e,t,n)&&P(n)!==f)}function Ri(e,t,r){return r.some(n=>Zt(e,t,n))}function Zt(e,t,r){return(e.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Si(e,t,r,n){return P(e)!==n&&(n===f||!Zt(t,r,e))?!1:We(t,e,r).matched}function wi(e,t,r){return t.length===0&&!e.children[r]}var ke=class{};function bi(e,t,r,n,i,s,o="emptyOnly"){return new ze(e,t,r,n,i,o,s).recognize()}var Ii=31,ze=class{constructor(t,r,n,i,s,o,a){this.injector=t,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=a,this.applyRedirects=new je(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new w(4002,`'${t.segmentGroup}'`)}recognize(){let t=Nn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(C(r=>{let n=new wt([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,{},f,this.rootComponentType,null,{}),i=new A(n,r),s=new Ht("",i),o=Or(n,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),this.inheritParamsAndData(s._root,null),{state:s,tree:o}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,f).pipe(Z(n=>{if(n instanceof Gt)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof It?this.noMatchError(n):n}))}inheritParamsAndData(t,r){let n=t.value,i=qe(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),t.children.forEach(s=>this.inheritParamsAndData(s,n))}processSegmentGroup(t,r,n,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(t,r,n):this.processSegment(t,r,n,n.segments,i,!0).pipe(C(s=>s instanceof A?[s]:[]))}processChildren(t,r,n){let i=[];for(let s of Object.keys(n.children))s==="primary"?i.unshift(s):i.push(s);return O(i).pipe(ct(s=>{let o=n.children[s],a=Hr(r,s);return this.processSegmentGroup(t,a,o,s)}),sn((s,o)=>(s.push(...o),s)),ee(null),rn(),T(s=>{if(s===null)return X(n);let o=sr(s);return Ai(o),d(o)}))}processSegment(t,r,n,i,s,o){return O(r).pipe(ct(a=>this.processSegmentAgainstRoute(a._injector??t,r,a,n,i,s,o).pipe(Z(c=>{if(c instanceof It)return d(null);throw c}))),L(a=>!!a),Z(a=>{if(rr(a))return wi(n,i,s)?d(new ke):X(n);throw a}))}processSegmentAgainstRoute(t,r,n,i,s,o,a){return Si(n,i,s,o)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,n,s,o):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,i,r,n,s,o):X(i):X(i)}expandSegmentAgainstRouteUsingRedirect(t,r,n,i,s,o){let{matched:a,consumedSegments:c,positionalParamSegments:u,remainingSegments:l}=We(r,i,s);if(!a)return X(r);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Ii&&(this.allowRedirects=!1));let v=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,u);return this.applyRedirects.lineralizeSegments(i,v).pipe(T(g=>this.processSegment(t,n,r,g.concat(l),o,!1)))}matchSegmentAgainstRoute(t,r,n,i,s){let o=gi(r,n,i,t,this.urlSerializer);return n.path==="**"&&(r.children={}),o.pipe(U(a=>a.matched?(t=n._injector??t,this.getChildConfig(t,n,i).pipe(U(({routes:c})=>{let u=n._loadedInjector??t,{consumedSegments:l,remainingSegments:v,parameters:g}=a,y=new wt(l,g,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Mi(n),P(n),n.component??n._loadedComponent??null,n,Ti(n)),{segmentGroup:ot,slicedSegments:at}=Nn(r,l,v,c);if(at.length===0&&ot.hasChildren())return this.processChildren(u,c,ot).pipe(C(q=>q===null?null:new A(y,q)));if(c.length===0&&at.length===0)return d(new A(y,[]));let Kt=P(n)===s;return this.processSegment(u,c,ot,at,Kt?f:s,!0).pipe(C(q=>new A(y,q instanceof A?[q]:[])))}))):X(r)))}getChildConfig(t,r,n){return r.children?d({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?d({routes:r._loadedRoutes,injector:r._loadedInjector}):hi(t,r,n,this.urlSerializer).pipe(T(i=>i?this.configLoader.loadChildren(t,r).pipe(S(s=>{r._loadedRoutes=s.routes,r._loadedInjector=s.injector})):pi(r))):d({routes:[],injector:t})}};function Ai(e){e.sort((t,r)=>t.value.outlet===f?-1:r.value.outlet===f?1:t.value.outlet.localeCompare(r.value.outlet))}function Di(e){let t=e.value.routeConfig;return t&&t.path===""}function sr(e){let t=[],r=new Set;for(let n of e){if(!Di(n)){t.push(n);continue}let i=t.find(s=>n.value.routeConfig===s.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):t.push(n)}for(let n of r){let i=sr(n.children);t.push(new A(n.value,i))}return t.filter(n=>!r.has(n))}function Mi(e){return e.data||{}}function Ti(e){return e.resolve||{}}function Ei(e,t,r,n,i,s){return T(o=>bi(e,t,r,n,o.extractedUrl,i,s).pipe(C(({state:a,tree:c})=>I(h({},o),{targetSnapshot:a,urlAfterRedirects:c}))))}function Oi(e,t){return T(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return d(r);let s=new Set(i.map(c=>c.route)),o=new Set;for(let c of s)if(!o.has(c))for(let u of or(c))o.add(u);let a=0;return O(o).pipe(ct(c=>s.has(c)?Ui(c,n,e,t):(c.data=qe(c,c.parent,e).resolve,d(void 0))),S(()=>a++),ne(1),T(c=>a===o.size?d(r):j))})}function or(e){let t=e.children.map(r=>or(r)).flat();return[e,...t]}function Ui(e,t,r,n){let i=e.routeConfig,s=e._resolve;return i?.title!==void 0&&!Xn(i)&&(s[At]=i.title),xi(s,e,t,n).pipe(C(o=>(e._resolvedData=o,e.data=qe(e,e.parent,r).resolve,null)))}function xi(e,t,r,n){let i=ge(e);if(i.length===0)return d({});let s={};return O(i).pipe(T(o=>Pi(e[o],t,r,n).pipe(L(),S(a=>{s[o]=a}))),ne(1),nn(s),Z(o=>rr(o)?j:ut(o)))}function Pi(e,t,r,n){let i=Dt(t)??n,s=st(e,i),o=s.resolve?s.resolve(t,r):V(i,()=>s(t,r));return _(o)}function fe(e){return U(t=>{let r=e(t);return r?O(r).pipe(C(()=>t)):d(t)})}var ar=(()=>{let t=class t{buildTitle(n){let i,s=n.root;for(;s!==void 0;)i=this.getResolvedTitleForRoute(s)??i,s=s.children.find(o=>o.outlet===f);return i}getResolvedTitleForRoute(n){return n.data[At]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:()=>p($i),providedIn:"root"});let e=t;return e})(),$i=(()=>{let t=class t extends ar{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};t.\u0275fac=function(i){return new(i||t)(cn(On))},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Ge=new $("",{providedIn:"root",factory:()=>({})}),Qe=new $(""),Ni=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(ae)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return d(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=_(n.loadComponent()).pipe(C(ur),S(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),Tt(()=>{this.componentLoaders.delete(n)})),s=new Xt(i,()=>new N).pipe(Yt());return this.componentLoaders.set(n,s),s}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return d({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=ji(i,this.compiler,n,this.onLoadEndListener).pipe(Tt(()=>{this.childrenLoaders.delete(i)})),a=new Xt(o,()=>new N).pipe(Yt());return this.childrenLoaders.set(i,a),a}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function ji(e,t,r,n){return _(e.loadChildren()).pipe(C(ur),T(i=>i instanceof yn||Array.isArray(i)?d(i):O(t.compileModuleAsync(i))),C(i=>{n&&n(e);let s,o,a=!1;return Array.isArray(i)?(o=i,a=!0):(s=i.create(r).injector,o=s.get(Qe,[],{optional:!0,self:!0}).flat()),{routes:o.map(He),injector:s}}))}function Li(e){return e&&typeof e=="object"&&"default"in e}function ur(e){return Li(e)?e.default:e}var Ze=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:()=>p(ki),providedIn:"root"});let e=t;return e})(),ki=(()=>{let t=class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),zi=new $("");var Fi=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new N,this.transitionAbortSubject=new N,this.configLoader=p(Ni),this.environmentInjector=p(Ot),this.urlSerializer=p(_e),this.rootContexts=p(Qt),this.location=p(Pt),this.inputBindingEnabled=p(Be,{optional:!0})!==null,this.titleStrategy=p(ar),this.options=p(Ge,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(Ze),this.createViewTransition=p(zi,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>d(void 0),this.rootComponentType=null;let n=s=>this.events.next(new Ie(s)),i=s=>this.events.next(new Ae(s));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(I(h(h({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,s){return this.transitions=new M({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:gt,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Q(o=>o.id!==0),C(o=>I(h({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),U(o=>{let a=!1,c=!1;return d(o).pipe(U(u=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",D.SupersededByNewNavigation),j;this.currentTransition=o,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?I(h({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),v=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&v!=="reload"){let g="";return this.events.next(new W(u.id,this.urlSerializer.serialize(u.rawUrl),g,ye.IgnoredSameUrlNavigation)),u.resolve(null),j}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return d(u).pipe(U(g=>{let y=this.transitions?.getValue();return this.events.next(new Ct(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),y!==this.transitions?.getValue()?j:Promise.resolve(g)}),Ei(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),S(g=>{o.targetSnapshot=g.targetSnapshot,o.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation=I(h({},this.currentNavigation),{finalUrl:g.urlAfterRedirects});let y=new qt(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(y)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:g,extractedUrl:y,source:ot,restoredState:at,extras:Kt}=u,q=new Ct(g,this.urlSerializer.serialize(y),ot,at);this.events.next(q);let lr=Kn(this.rootComponentType).snapshot;return this.currentTransition=o=I(h({},u),{targetSnapshot:lr,urlAfterRedirects:y,extras:I(h({},Kt),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,d(o)}else{let g="";return this.events.next(new W(u.id,this.urlSerializer.serialize(u.extractedUrl),g,ye.IgnoredByUrlHandlingStrategy)),u.resolve(null),j}}),S(u=>{let l=new Re(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),C(u=>(this.currentTransition=o=I(h({},u),{guards:Gr(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),o)),ri(this.environmentInjector,u=>this.events.next(u)),S(u=>{if(o.guardsResult=u.guardsResult,rt(u.guardsResult))throw tr(this.urlSerializer,u.guardsResult);let l=new Se(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),Q(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",D.GuardRejected),!1)),fe(u=>{if(u.guards.canActivateChecks.length)return d(u).pipe(S(l=>{let v=new we(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(v)}),U(l=>{let v=!1;return d(l).pipe(Oi(this.paramsInheritanceStrategy,this.environmentInjector),S({next:()=>v=!0,complete:()=>{v||this.cancelNavigationTransition(l,"",D.NoDataFromResolver)}}))}),S(l=>{let v=new be(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(v)}))}),fe(u=>{let l=v=>{let g=[];v.routeConfig?.loadComponent&&!v.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(v.routeConfig).pipe(S(y=>{v.component=y}),C(()=>{})));for(let y of v.children)g.push(...l(y));return g};return Jt(l(u.targetSnapshot.root)).pipe(ee(null),K(1))}),fe(()=>this.afterPreactivation()),U(()=>{let{currentSnapshot:u,targetSnapshot:l}=o,v=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return v?O(v).pipe(C(()=>o)):d(o)}),C(u=>{let l=zr(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=o=I(h({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,o}),S(()=>{this.events.next(new Rt)}),Wr(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),K(1),S({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new z(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),an(this.transitionAbortSubject.pipe(S(u=>{throw u}))),Tt(()=>{!a&&!c&&this.cancelNavigationTransition(o,"",D.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),Z(u=>{if(c=!0,nr(u))this.events.next(new F(o.id,this.urlSerializer.serialize(o.extractedUrl),u.message,u.cancellationCode)),qr(u)?this.events.next(new St(u.url)):o.resolve(!1);else{this.events.next(new yt(o.id,this.urlSerializer.serialize(o.extractedUrl),u,o.targetSnapshot??void 0));try{o.resolve(n.errorHandler(u))}catch(l){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(l)}}return j}))}))}cancelNavigationTransition(n,i,s){let o=new F(n.id,this.urlSerializer.serialize(n.extractedUrl),i,s);this.events.next(o),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function _i(e){return e!==gt}var qi=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:()=>p(Vi),providedIn:"root"});let e=t;return e})(),Fe=class{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}},Vi=(()=>{let t=class t extends Fe{};t.\u0275fac=(()=>{let n;return function(s){return(n||(n=oe(t)))(s||t)}})(),t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),cr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:()=>p(Bi),providedIn:"root"});let e=t;return e})(),Bi=(()=>{let t=class t extends cr{constructor(){super(...arguments),this.location=p(Pt),this.urlSerializer=p(_e),this.options=p(Ge,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(Ze),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new k,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Kn(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof Ct)this.stateMemento=this.createStateMemento();else if(n instanceof W)this.rawUrlTree=i.initialUrl;else if(n instanceof qt){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let s=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(s,i)}}else n instanceof Rt?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):n instanceof F&&(n.code===D.GuardRejected||n.code===D.NoDataFromResolver)?this.restoreHistory(i):n instanceof yt?this.restoreHistory(i,!0):n instanceof z&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let s=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(s)||i.extras.replaceUrl){let o=this.browserPageId,a=h(h({},i.extras.state),this.generateNgRouterState(i.id,o));this.location.replaceState(s,"",a)}else{let o=h(h({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(s,"",o)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let s=this.browserPageId,o=this.currentPageId-s;o!==0?this.location.historyGo(o):this.currentUrlTree===n.finalUrl&&o===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};t.\u0275fac=(()=>{let n;return function(s){return(n||(n=oe(t)))(s||t)}})(),t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ft=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(ft||{});function Hi(e,t){e.events.pipe(Q(r=>r instanceof z||r instanceof F||r instanceof yt||r instanceof W),C(r=>r instanceof z||r instanceof W?ft.COMPLETE:(r instanceof F?r.code===D.Redirect||r.code===D.SupersededByNewNavigation:!1)?ft.REDIRECTING:ft.FAILED),Q(r=>r!==ft.REDIRECTING),K(1)).subscribe(()=>{t()})}function Wi(e){throw e}var Gi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Qi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ke=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=p(Dn),this.stateManager=p(cr),this.options=p(Ge,{optional:!0})||{},this.pendingTasks=p(Sn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(Fi),this.urlSerializer=p(_e),this.location=p(Pt),this.urlHandlingStrategy=p(Ze),this._events=new N,this.errorHandler=this.options.errorHandler||Wi,this.navigated=!1,this.routeReuseStrategy=p(qi),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(Qe,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(Be,{optional:!0}),this.eventsSubscription=new Ye,this.isNgZoneEnabled=p(Ut)instanceof Ut&&Ut.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let s=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(s!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof F&&i.code!==D.Redirect&&i.code!==D.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof z)this.navigated=!0;else if(i instanceof St){let a=this.urlHandlingStrategy.merge(i.url,s.currentRawUrl),c={info:s.extras.info,skipLocationChange:s.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||_i(s.source)};this.scheduleNavigation(a,gt,null,c,{resolve:s.resolve,reject:s.reject,promise:s.promise})}}Ki(i)&&this._events.next(i)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),gt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,s){let o={replaceUrl:!0},a=s?.navigationId?s:null;if(s){let u=h({},s);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(o.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,i,a,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(He),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:s,queryParams:o,fragment:a,queryParamsHandling:c,preserveFragment:u}=i,l=u?this.currentUrlTree.fragment:a,v=null;switch(c){case"merge":v=h(h({},this.currentUrlTree.queryParams),o);break;case"preserve":v=this.currentUrlTree.queryParams;break;default:v=o||null}v!==null&&(v=this.removeEmptyProps(v));let g;try{let y=s?s.snapshot:this.routerState.snapshot.root;g=Wn(y)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),g=this.currentUrlTree.root}return Gn(g,n,v,l??null)}navigateByUrl(n,i={skipLocationChange:!1}){let s=rt(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,gt,null,i)}navigate(n,i={skipLocationChange:!1}){return Zi(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let s;if(i===!0?s=h({},Gi):i===!1?s=h({},Qi):s=i,rt(n))return Un(this.currentUrlTree,n,s);let o=this.parseUrl(n);return Un(this.currentUrlTree,o,s)}removeEmptyProps(n){return Object.entries(n).reduce((i,[s,o])=>(o!=null&&(i[s]=o),i),{})}scheduleNavigation(n,i,s,o,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((g,y)=>{c=g,u=y});let v=this.pendingTasks.add();return Hi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(v))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(g=>Promise.reject(g))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Zi(e){for(let t=0;t{let t=class t{constructor(n,i,s,o,a,c){this.router=n,this.route=i,this.tabIndexAttribute=s,this.renderer=o,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new N,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof z&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,i,s,o,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||i||s||o||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let i=this.href===null?null:gn(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(n,i){let s=this.renderer,o=this.el.nativeElement;i!==null?s.setAttribute(o,n,i):s.removeAttribute(o,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.\u0275fac=function(i){return new(i||t)(Y(Ke),Y(G),dn("tabindex"),Y(vn),Y(pn),Y(ce))},t.\u0275dir=ie({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,s){i&1&&In("click",function(a){return s.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&wn("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[Et.HasDecoratorInputTransform,"preserveFragment","preserveFragment",xt],skipLocationChange:[Et.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",xt],replaceUrl:[Et.HasDecoratorInputTransform,"replaceUrl","replaceUrl",xt],routerLink:"routerLink"},standalone:!0,features:[Cn,se]});let e=t;return e})();var Yi=new $("");function Bs(e,...t){return hn([{provide:Qe,multi:!0,useValue:e},[],{provide:G,useFactory:Xi,deps:[Ke]},{provide:Tn,multi:!0,useFactory:Ji},t.map(r=>r.\u0275providers)])}function Xi(e){return e.routerState.root}function Ji(){let e=p(fn);return t=>{let r=e.get(En);if(t!==r.components[0])return;let n=e.get(Ke),i=e.get(ts);e.get(es)===1&&n.initialNavigation(),e.get(ns,null,re.Optional)?.setUpPreloading(),e.get(Yi,null,re.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var ts=new $("",{factory:()=>new N}),es=new $("",{providedIn:"root",factory:()=>1});var ns=new $("");export{kr as a,Ke as b,Vs as c,Bs as d}; diff --git a/chunk-VJOHUE6T.js b/chunk-VJOHUE6T.js deleted file mode 100644 index c5cd678..0000000 --- a/chunk-VJOHUE6T.js +++ /dev/null @@ -1 +0,0 @@ -import{a as K,b as N,c as D}from"./chunk-SMNG3EBN.js";import{a as $,b as H}from"./chunk-W6HWWYOS.js";import{b as E,k as j}from"./chunk-7ARKW5W4.js";import{i as V,s as f}from"./chunk-7IMKBQP2.js";import{$ as C,$a as g,Ab as O,Ka as b,Oa as n,Pa as c,Va as x,bb as F,d as v,db as m,eb as u,gb as P,hb as _,ia as k,ib as q,ja as w,jb as o,kb as l,lb as p,mb as S,nb as T,ob as d,qb as y,rb as h,tb as I,yb as M}from"./chunk-HTB7U7SQ.js";var B=(t,i)=>i.question;function L(t,i){if(t&1&&(o(0,"h2",9),y(1),l()),t&2){let e=d().$implicit;n(),h(e.key)}}function A(t,i){if(t&1){let e=S();o(0,"h3")(1,"button",10),T("click",function(){let r=k(e).$implicit,s=d(3);return w(s.selectedFaq.set(s.selectedFaq()===r.question?null:r.question))}),o(2,"span"),y(3),l(),p(4,"inline-svg",11),l()(),o(5,"div")(6,"div",12),p(7,"div",13),l()()}if(t&2){let e=i.$implicit,a=d(3);n(),m("text-gray-500",a.selectedFaq()!==e.question)("dark:text-gray-400",a.selectedFaq()!==e.question)("text-gray-900",a.selectedFaq()===e.question)("dark:text-white",a.selectedFaq()===e.question)("font-bold",a.selectedFaq()===e.question),n(2),h(e.question),n(),m("rotate-180",a.selectedFaq()===e.question),n(),m("hidden",a.selectedFaq()!==e.question),n(2),F("innerHTML",e.answer,b)}}function G(t,i){if(t&1&&(g(0,L,2,1,"h2",9),_(1,A,8,16,null,null,B)),t&2){let e=i.$implicit;u(0,e.key!==""?0:-1),n(),q(e.value)}}function J(t,i){if(t&1&&(o(0,"section",5)(1,"div",6)(2,"div",7)(3,"div",8),_(4,G,3,1,null,null,P),M(6,"keyvalue"),l()()()()),t&2){let e=d();n(4),q(O(6,0,e.faq(),e.NoSorterKeyValue))}}var oe=(()=>{let i=class i{constructor(a,r,s,z){this.title=a,this.translator=r,this.dataService=s,this.footerColor=z,this.NoSorterKeyValue=K,this.faq=x(new Map),this.selectedFaq=x(null)}ngOnInit(){return v(this,null,function*(){this.title.setTitle((yield f(this.translator.get("frequently_asked_questions")))+" | "+(yield f(this.translator.get("app_title")))),this.faq.set(yield f(this.dataService.faq)),this.footerColor.dark.set(!0)})}};i.\u0275fac=function(r){return new(r||i)(c(E),c(D),c(N),c(H))},i.\u0275cmp=C({type:i,selectors:[["app-faq"]],standalone:!0,features:[I],decls:6,vars:1,consts:[[1,"bg-white","dark:bg-gray-900"],[1,"grid","max-w-screen-xl","px-4","pt-20","pb-8","mx-auto","lg:gap-8","xl:gap-0","lg:py-16","lg:pt-28"],[1,"mr-auto","place-self-center","lg:col-span-7"],[1,"mb-4","text-4xl","font-extrabold","leading-none","tracking-tight","md:text-5xl","xl:text-6xl","dark:text-white"],["key","frequently_asked_questions"],[1,"bg-gray-50","dark:bg-gray-800"],[1,"max-w-screen-xl","px-4","pb-8","mx-auto","lg:pb-24","lg:px-6"],[1,"max-w-screen-xl","mx-auto"],["data-active-classes","bg-white dark:bg-gray-900 text-gray-900 dark:text-white","data-inactive-classes","text-gray-500 dark:text-gray-400"],[1,"mt-12","text-3xl","font-extrabold","tracking-tight","text-center","text-gray-900","lg:text-3xl","dark:text-white"],["type","button",1,"flex","items-center","justify-between","w-full","py-5","font-medium","text-left","border-b","border-gray-200","dark:border-gray-700",3,"click"],["href","assets/img/faq-closed.svg"],[1,"py-5","border-b","border-gray-200","dark:border-gray-700","faq-answer"],[3,"innerHTML"]],template:function(r,s){r&1&&(o(0,"section",0)(1,"div",1)(2,"div",2)(3,"h1",3),p(4,"transloco",4),l()()()(),g(5,J,7,3,"section",5)),r&2&&(n(5),u(5,s.faq()?5:-1))},dependencies:[j,V,$],styles:["[_nghost-%COMP%] .faq-answer p, [_nghost-%COMP%] .faq-answer ul{margin-bottom:.5rem;color:#6b7280;margin-top:.2rem}[_nghost-%COMP%] .faq-answer li{list-style-type:disc;margin-left:18px;padding-left:18px;margin-bottom:.5rem}[_nghost-%COMP%] .faq-answer a{text-decoration:underline}[_nghost-%COMP%] .faq-answer a:hover{text-decoration:none;color:#25282d}.dark [_nghost-%COMP%] .faq-answer p, .dark [_nghost-%COMP%] .faq-answer ul{color:#9ca3af}.dark [_nghost-%COMP%] .faq-answer a:hover{color:#f1f2f3}"]});let t=i;return t})();export{oe as FaqComponent}; diff --git a/faq/index.html b/faq/index.html index 188e4bb..2a8962f 100644 --- a/faq/index.html +++ b/faq/index.html @@ -8,100 +8,100 @@ - -

Frequently asked questions

Frequently asked questions

Workers

Workers

Kudos

Kudos

Not Safe for Work

Not Safe for Work

Horde

Horde

- +
+ - \ No newline at end of file + \ No newline at end of file diff --git a/index.html b/index.html index df197f5..8de747f 100644 --- a/index.html +++ b/index.html @@ -8,16 +8,16 @@ - -

AI Horde

This is a crowdsourced distributed cluster of image generation workers and text generation workers. If you like this service, consider joining the horde yourself!

For more information, visit the FAQ. Finally, you can also follow the main developer's blog.

AI Horde

This is a crowdsourced distributed cluster of image generation workers and text generation workers. If you like this service, consider joining the horde yourself!

For more information, visit the FAQ. Finally, you can also follow the main developer's blog.

Latest news

2024-05-20 - Generate QR Codes

You can now generate QR Codes on the AI Horde! Currently this functionality is only available for Stable Diffusion 1.5. To use this functionality, your frontend needs to support it so that you can type the text you wish to be made into a QR code and to specify the specific qr_code workflow.

2024-05-12 - Stable Cascade 2pass support

The AI Horde now supports Stable Cascade 2passSimply switch hires_fix to True to use. Note that this has double the cost of a normal Stable Cascade.

2024-03-24 - Supports image variations

The AI Horde now supports Stable Cascade along with its image variations / remix capabilities!

Read more

Stats

Images

  • +

Latest news

2024-05-20 - Generate QR Codes

You can now generate QR Codes on the AI Horde! Currently this functionality is only available for Stable Diffusion 1.5. To use this functionality, your frontend needs to support it so that you can type the text you wish to be made into a QR code and to specify the specific qr_code workflow.

2024-05-12 - Stable Cascade 2pass support

The AI Horde now supports Stable Cascade 2passSimply switch hires_fix to True to use. Note that this has double the cost of a normal Stable Cascade.

2024-03-24 - Supports image variations

The AI Horde now supports Stable Cascade along with its image variations / remix capabilities!

Read more

Stats

Images

  • -Average recent performance: 17.2 megapixelsteps per second
  • +Average recent performance: 15.8 megapixelsteps per second
  • -Total generated: 1,562.0 terapixelsteps
  • +Total generated: 1,562.0 terapixelsteps
  • -Total image requests fulfilled: 105.6M
  • +Total image requests fulfilled: 105.6M
  • -Active workers/threads: 12/13
  • +Active workers/threads: 18/20
  • -Queue: 418 requests for a total of 8.9 gigapixelsteps

Text

  • +Queue: 276 requests for a total of 4.8 gigapixelsteps

Text

  • -Average recent performance: 429.8 tokens per second
  • +Average recent performance: 420.2 tokens per second
  • -Total generated: 20.8 gigatokens
  • +Total generated: 20.8 gigatokens
  • -Total text requests fulfilled: 113.7M
  • +Total text requests fulfilled: 113.7M
  • -Active workers/threads: 34/81
  • +Active workers/threads: 36/97
  • -Queue: 58 requests for a total of 11.2 kilotokens

Image alchemy

  • +Queue: 56 requests for a total of 10.5 kilotokens

Image alchemy

  • -Total processed: 663.7K
  • +Total processed: 663.7K
  • -Active workers/threads: 8/13
  • +Active workers/threads: 7/9
  • -Queue: 0 forms

Realtime stats

Realtime stats

Quickstart

First register an account which will generate for you an API key. Store that key somewhere.

Quickstart

First register an account which will generate for you an API key. Store that key somewhere.

Image GUIs

Desktop

Lucid Creations

A client that works both in your browser and can be downloaded by the founder of the AI Horde project.

Screenshot of the Lucid Creations GUI
Get Lucid Creations

Web

Lucid Creations

A client that works both in your browser and can be downloaded by the founder of the AI Horde project.

Screenshot of the Lucid Creations GUI
Get Lucid Creations

Artbot

One of the most popular web-based clients.

Screenshot of the Artbot GUI
Go to Artbot

HordeNG

HordeNG aims to be very simple to use for beginners, while allowing the full set of options for advanced users.

Screenshot of the HordeNG GUI
Go to HordeNG

AI Scribbles

A simplified web image generator with handmade custom styles

Screenshot of the AI Scribbles GUI
Go to AI Scribbles

Android

AI Painter

A Chinese language app which has both a simple mode and advanced features.

Screenshot of the AI Painter GUI
Get AI Painter

HordeNG

HordeNG aims to be very simple to use for beginners, while allowing the full set of options for advanced users.

Screenshot of the HordeNG GUI
Get HordeNG

iOS

AI Painter

A Chinese language app which has both a simple mode and advanced features.

Screenshot of the AI Painter GUI
Get AI Painter

Aislingeach

A iOS and Android app that allows you to generate images using AI, as well as rate images.

Screenshot of the Aislingeach GUI
Get Aislingeach

Text GUIs

Desktop

KoboldAI Client

This is a browser-based front-end for AI-assisted writing with multiple local & remote AI models, including through the AI Horde.

Screenshot of the KoboldAI Client GUI
Get KoboldAI Client

SillyTavern

A downloadable client that allows you to interact with text generation AIs, including the AI Horde.

Screenshot of the SillyTavern GUI
Get SillyTavern

Web

KoboldAI Lite

A simple web-based client for AI chat and roleplay with multiple AI models, including through the AI Horde.

Screenshot of the KoboldAI Lite GUI
Go to KoboldAI Lite

AgnAIstic

AI chat with characters. Open source, self-hostable, and publicly hosted, including through the AI Horde.

Screenshot of the AgnAIstic GUI
Go to AgnAIstic

iOS

Inneal

An iOS app for LLM chat through the AI Horde. Has support for multi-character chat, personas and more.

Screenshot of the Inneal GUI
Get Inneal

Tools

Official tools

Horde Worker reGen

The official way to add your GPU to the horde for image generation.

AI Horde CLI

The official AI Horde CLI that supports all features of AI Horde.

Godot Engine plugin

Easily integrate AI Horde image generation into your games.

Discord Bot

Add to your server to generate images for free and transfer kudos.

Fediverse bots

Generate images via ActivityPub just by pinging the bots.

Reddit bot

Generate images directly via Reddit by tagging the bot.

Python SDK

Python bindings for AI Horde

Community Bots

CraiyonArt Bot

A Telegram bot that generates images using AI Horde

WriterBot

A Discord bot that generates images using AI Horde

Turing Bot

A Discord bot that generates images using AI Horde

Imaginarium

Telegram AI Art Generator bot Powered by AI Horde.

Community plugins

GIMP plugin

A plugin for using AI Horde inside the GIMP image editor.

Krita plugin

A plugin for using AI Horde inside the Krita image editor.

Unreal Engine plugin

Plugin that generates AI synthesized images in Unreal Editor using AI Horde.

Automatic1111 plugin

A plugin for using AI Horde inside the popular Automatic1111 frontend.

Blender plugin

Render an AI generated image based on a text prompt and your scene in Blender.

Photoshop plugin

Use the capabilities of AI Horde in Photoshop without switching between programs

Chrome accessibility

Generates descriptive alternate text of images online for those who need them!

Community SDKs

Node.js SDK

Communicate with AI Horde api from node.js projects

- +To increase your priority you will need a unique API key and then to increase your Kudos. Read how Kudos are working.

Image GUIs

Desktop

Lucid Creations

A client that works both in your browser and can be downloaded by the founder of the AI Horde project.

Screenshot of the Lucid Creations GUI
Get Lucid Creations

Web

Lucid Creations

A client that works both in your browser and can be downloaded by the founder of the AI Horde project.

Screenshot of the Lucid Creations GUI
Get Lucid Creations

Artbot

One of the most popular web-based clients.

Screenshot of the Artbot GUI
Go to Artbot

HordeNG

HordeNG aims to be very simple to use for beginners, while allowing the full set of options for advanced users.

Screenshot of the HordeNG GUI
Go to HordeNG

AI Scribbles

A simplified web image generator with handmade custom styles

Screenshot of the AI Scribbles GUI
Go to AI Scribbles

Android

AI Painter

A Chinese language app which has both a simple mode and advanced features.

Screenshot of the AI Painter GUI
Get AI Painter

HordeNG

HordeNG aims to be very simple to use for beginners, while allowing the full set of options for advanced users.

Screenshot of the HordeNG GUI
Get HordeNG

iOS

AI Painter

A Chinese language app which has both a simple mode and advanced features.

Screenshot of the AI Painter GUI
Get AI Painter

Aislingeach

A iOS and Android app that allows you to generate images using AI, as well as rate images.

Screenshot of the Aislingeach GUI
Get Aislingeach

Text GUIs

Desktop

KoboldAI Client

This is a browser-based front-end for AI-assisted writing with multiple local & remote AI models, including through the AI Horde.

Screenshot of the KoboldAI Client GUI
Get KoboldAI Client

SillyTavern

A downloadable client that allows you to interact with text generation AIs, including the AI Horde.

Screenshot of the SillyTavern GUI
Get SillyTavern

Web

KoboldAI Lite

A simple web-based client for AI chat and roleplay with multiple AI models, including through the AI Horde.

Screenshot of the KoboldAI Lite GUI
Go to KoboldAI Lite

AgnAIstic

AI chat with characters. Open source, self-hostable, and publicly hosted, including through the AI Horde.

Screenshot of the AgnAIstic GUI
Go to AgnAIstic

iOS

Inneal

An iOS app for LLM chat through the AI Horde. Has support for multi-character chat, personas and more.

Screenshot of the Inneal GUI
Get Inneal

Tools

Official tools

Horde Worker reGen

The official way to add your GPU to the horde for image generation.

AI Horde CLI

The official AI Horde CLI that supports all features of AI Horde.

Godot Engine plugin

Easily integrate AI Horde image generation into your games.

Discord Bot

Add to your server to generate images for free and transfer kudos.

Fediverse bots

Generate images via ActivityPub just by pinging the bots.

Reddit bot

Generate images directly via Reddit by tagging the bot.

Python SDK

Python bindings for AI Horde

Community Bots

CraiyonArt Bot

A Telegram bot that generates images using AI Horde

WriterBot

A Discord bot that generates images using AI Horde

Turing Bot

A Discord bot that generates images using AI Horde

Imaginarium

Telegram AI Art Generator bot Powered by AI Horde.

Community plugins

GIMP plugin

A plugin for using AI Horde inside the GIMP image editor.

Krita plugin

A plugin for using AI Horde inside the Krita image editor.

Unreal Engine plugin

Plugin that generates AI synthesized images in Unreal Editor using AI Horde.

Automatic1111 plugin

A plugin for using AI Horde inside the popular Automatic1111 frontend.

Blender plugin

Render an AI generated image based on a text prompt and your scene in Blender.

Photoshop plugin

Use the capabilities of AI Horde in Photoshop without switching between programs

Chrome accessibility

Generates descriptive alternate text of images online for those who need them!

Community SDKs

Node.js SDK

Communicate with AI Horde api from node.js projects

+ - \ No newline at end of file + \ No newline at end of file diff --git a/main-K2H34PEM.js b/main-K2H34PEM.js new file mode 100644 index 0000000..ad146df --- /dev/null +++ b/main-K2H34PEM.js @@ -0,0 +1 @@ +import{a as F,b as D,c as U,d as P}from"./chunk-UIEJTGV7.js";import{a as W,b as $}from"./chunk-CQNN4SU6.js";import{a as j,f as q,g as O,h as z,i as K,j as N}from"./chunk-DIHZTFHE.js";import{e as T,n as B,o as R,p as A,q as H}from"./chunk-PL5LST3Q.js";import{$ as w,Gb as E,Na as r,Oa as S,T as u,Ua as C,X as y,Y as k,ab as v,cb as h,ib as t,jb as i,kb as g,mb as f,ob as _,pb as n,qb as d,rb as M,sb as I,tb as L,xb as o,yb as a}from"./chunk-RAGRZUZJ.js";var G=[{path:"",loadComponent:()=>import("./chunk-7EKGDBBD.js").then(e=>e.HomepageComponent)},{path:"faq",loadComponent:()=>import("./chunk-CROQAFQK.js").then(e=>e.FaqComponent)},{path:"news",loadComponent:()=>import("./chunk-F7TVKO2G.js").then(e=>e.NewsComponent)},{path:"register",loadComponent:()=>import("./chunk-GZFDY26I.js").then(e=>e.RegisterComponent)},{path:"sponsors",loadComponent:()=>import("./chunk-DH5IGYXT.js").then(e=>e.SponsorsComponent)},{path:"privacy",loadComponent:()=>import("./chunk-S52S2XV4.js").then(e=>e.PrivacyComponent)},{path:"terms",loadComponent:()=>import("./chunk-3RRMIX3K.js").then(e=>e.TermsComponent)}];var Q=(()=>{let s=class s{constructor(){this.http=k(R)}getTranslation(l){return this.http.get(`/assets/i18n/${l}.json`)}};s.\u0275fac=function(m){return new(m||s)},s.\u0275prov=u({token:s,factory:s.\u0275fac,providedIn:"root"});let e=s;return e})();function V(e,s){return typeof e=="object"&&e!==null&&s in e}function ee(e){return V(e,"route")&&(typeof e.route=="string"||Array.isArray(e.route))&&(!V(e,"target")||e.target===void 0||typeof e.target=="string")}var te=(()=>{class e{constructor(p,l){this.router=p,this.locationStrategy=l}supports(p){return ee(p)}render(p,l){this.setAnchorElementHref(l,p),this.setAnchorElementTarget(l,p),this.setAnchorElementClickHandler(l,p)}setAnchorElementHref(p,l){p.href=this.getRouterLinkTargetUrl(l)}setAnchorElementTarget(p,l){l.target!==void 0&&(p.target=l.target)}setAnchorElementClickHandler(p,l){p.addEventListener("click",m=>{ie(m)||ne(l)||(m.preventDefault(),this.navigateTo(l))})}navigateTo(p){this.router.navigateByUrl(this.convertRouterLinkToUrlTree(p),p)}getRouterLinkTargetUrl(p){let l=this.convertRouterLinkToUrlTree(p),m=this.router.serializeUrl(l);return this.locationStrategy.prepareExternalUrl(m)}convertRouterLinkToUrlTree(p){let l=re(p);return this.router.createUrlTree(l,p)}}return e.\u0275fac=function(p){return new(p||e)(y(D),y(T))},e.\u0275prov=u({token:e,factory:e.\u0275fac}),e})();function re(e){return Array.isArray(e.route)?e.route:[e.route]}function ie(e){return e.button!==0||e.ctrlKey||e.metaKey||e.shiftKey}function ne(e){return e.target!==void 0&&e.target!=="_self"}function X(){return[z(te)]}var Y={providers:[P(G),A(H()),O({config:{availableLangs:["en"],defaultLang:"en",reRenderOnLangChange:!0,prodMode:!E(),fallbackLang:"en"},loader:Q}),K(),X()]};var oe=()=>({flowbiteLink:"https://flowbite.com",tailwindLink:"https://tailwindcss.com",angularLink:"https://angular.dev"}),Z=(()=>{let s=class s{constructor(l){this.footerColor=l,this.darkMode=C(!1),this.darkFooter=this.footerColor.dark,this.showMobileMenu=!1}ngOnInit(){this.darkMode.set(typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").matches)}toggleMobileMenu(){this.showMobileMenu=!this.showMobileMenu}closeMobileMenu(){this.showMobileMenu=!1}};s.\u0275fac=function(m){return new(m||s)(S($))},s.\u0275cmp=w({type:s,selectors:[["app-root"]],standalone:!0,features:[I],decls:118,vars:86,consts:[[1,"wrapper",3,"click"],[1,"fixed","w-full"],[1,"bg-white","border-gray-200","py-2.5","dark:bg-gray-900"],[1,"flex","flex-wrap","items-center","justify-between","max-w-screen-xl","px-4","mx-auto"],["routerLink","/",1,"flex","items-center"],["ngSrc","./assets/img/logo.png","height","455","width","393","priority","",1,"h-6","mr-3","sm:h-9","w-auto",3,"alt"],[1,"self-center","text-xl","font-semibold","whitespace-nowrap","dark:text-white"],[1,"flex","items-end","lg:order-2"],["data-collapse-toggle","mobile-menu-2","type","button","aria-controls","mobile-menu-2","aria-expanded","false",1,"inline-flex","items-center","p-2","ml-1","text-sm","text-gray-500","rounded-lg","lg:hidden","hover:bg-gray-100","focus:outline-none","focus:ring-2","focus:ring-gray-200","dark:text-gray-400","dark:hover:bg-gray-700","dark:focus:ring-gray-600",3,"click"],[1,"sr-only"],["href","assets/img/open-menu.svg"],["href","assets/img/close-menu.svg"],["id","mobile-menu-2",1,"items-end","justify-between","hidden","w-full","lg:flex","lg:w-auto","lg:order-1",3,"click"],[1,"flex","flex-col","mt-4","font-medium","border-b","border-gray-300","lg:border-0","lg:flex-row","lg:space-x-8","lg:mt-0","bg-gray-900"],["routerLink","/","aria-current","page",1,"block","py-2","pl-3","pr-4","text-gray-500","bg-gray-400","rounded","lg:bg-transparent","lg:text-gray-500","lg:p-0","dark:text-white"],["href","/register","aria-current","page",1,"block","py-2","pl-3","pr-4","text-gray-500","bg-gray-400","rounded","lg:bg-transparent","lg:text-gray-500","lg:p-0","dark:text-white"],["routerLink","/news","aria-current","page",1,"block","py-2","pl-3","pr-4","text-gray-500","bg-gray-400","rounded","lg:bg-transparent","lg:text-gray-500","lg:p-0","dark:text-white"],["routerLink","/faq","aria-current","page",1,"block","py-2","pl-3","pr-4","text-gray-500","bg-gray-400","rounded","lg:bg-transparent","lg:text-gray-500","lg:p-0","dark:text-white"],["href","/api/","aria-current","page",1,"block","py-2","pl-3","pr-4","text-gray-500","bg-gray-400","rounded","lg:bg-transparent","lg:text-gray-500","lg:p-0","dark:text-white"],[1,"max-w-screen-xl","p-4","py-6","mx-auto","lg:py-16","md:p-8","lg:p-10"],[1,"grid","grid-cols-2","gap-8","md:grid-cols-3","lg:grid-cols-5"],[1,"mb-6","text-sm","font-semibold","text-gray-900","uppercase","dark:text-white"],[1,"text-gray-500","dark:text-gray-400"],[1,"mb-4"],["href","https://discord.gg/3DxrhksKzn","target","_blank",1,"hover:underline"],["href","https://www.patreon.com/db0","target","_blank",1,"hover:underline"],["href","https://github.com/Haidra-Org","target","_blank",1,"hover:underline"],["href","https://sigmoid.social/@stablehorde","target","_blank",1,"hover:underline"],["href","https://dbzer0.com/","target","_blank",1,"hover:underline"],["href","https://github.com/haidra-org","target","_blank",1,"hover:underline"],["routerLink","/sponsors",1,"hover:underline"],["routerLink","/privacy",1,"hover:underline"],["routerLink","/terms",1,"hover:underline"],["href","https://aihorde.net/api/","target","_blank",1,"hover:underline"],["href","https://github.com/Haidra-Org/AI-Horde/blob/main/README_StableHorde.md#joining-the-horde","target","_blank",1,"hover:underline"],["routerLink","/faq",1,"hover:underline"],[1,"my-6","border-gray-200","sm:mx-auto","dark:border-gray-700","lg:my-8"],[1,"text-center"],["href","#",1,"flex","items-center","justify-center","mb-5","text-2xl","font-semibold","text-gray-900","dark:text-white"],["ngSrc","./assets/img/logo.png","height","455","width","393",1,"h-6","mr-3","sm:h-9","w-auto",3,"alt"],[1,"block","text-sm","text-center","text-gray-500","dark:text-gray-400","built-with"],["key","built_with",3,"params"]],template:function(m,c){m&1&&(t(0,"div",0),f("click",function(){return c.closeMobileMenu()}),t(1,"header",1)(2,"nav",2)(3,"div",3)(4,"a",4),g(5,"img",5),o(6,"transloco"),t(7,"span",6),n(8),o(9,"transloco"),i()(),t(10,"div",7)(11,"button",8),f("click",function(x){return c.toggleMobileMenu(),x.stopPropagation()}),t(12,"span",9),n(13),o(14,"transloco"),i(),g(15,"inline-svg",10)(16,"inline-svg",11),i()(),t(17,"div",12),f("click",function(x){return x.stopPropagation()}),t(18,"ul",13)(19,"li")(20,"a",14),n(21),o(22,"transloco"),i()(),t(23,"li")(24,"a",15),n(25),o(26,"transloco"),i()(),t(27,"li")(28,"a",16),n(29),o(30,"transloco"),i()(),t(31,"li")(32,"a",17),n(33),o(34,"transloco"),i()(),t(35,"li")(36,"a",18),n(37),o(38,"transloco"),i()()()()()()(),g(39,"router-outlet"),t(40,"footer")(41,"div",19)(42,"div",20)(43,"div")(44,"h3",21),n(45),o(46,"transloco"),i(),t(47,"ul",22)(48,"li",23)(49,"a",24),n(50),o(51,"transloco"),i()(),t(52,"li",23)(53,"a",25),n(54),o(55,"transloco"),i()(),t(56,"li",23)(57,"a",26),n(58),o(59,"transloco"),i()(),t(60,"li",23)(61,"a",27),n(62),o(63,"transloco"),i()()()(),t(64,"div")(65,"h3",21),n(66),o(67,"transloco"),i(),t(68,"ul",22)(69,"li",23)(70,"a",28),n(71,"db0"),i()(),t(72,"li",23)(73,"a",29),n(74,"Haidra"),i()(),t(75,"li",23)(76,"a",30),n(77),o(78,"transloco"),i()()()(),t(79,"div")(80,"h3",21),n(81),o(82,"transloco"),i(),t(83,"ul",22)(84,"li",23)(85,"a",31),n(86),o(87,"transloco"),i()(),t(88,"li",23)(89,"a",32),n(90),o(91,"transloco"),i()()()(),t(92,"div")(93,"h3",21),n(94),o(95,"transloco"),i(),t(96,"ul",22)(97,"li",23)(98,"a",33),n(99),o(100,"transloco"),i()(),t(101,"li",23)(102,"a",34),n(103),o(104,"transloco"),i()(),t(105,"li",23)(106,"a",35),n(107),o(108,"transloco"),i()()()()(),g(109,"hr",36),t(110,"div",37)(111,"a",38),g(112,"img",39),o(113,"transloco"),n(114),o(115,"transloco"),i(),t(116,"span",40),g(117,"transloco",41),i()()()()()),m&2&&(h("dark",c.darkMode()),r(5),_("alt",a(6,37,"logo.alt")),r(3),d(a(9,39,"app_title")),r(5),d(a(14,41,"open_main_menu")),r(4),h("hidden",!c.showMobileMenu),r(4),d(a(22,43,"home")),r(4),d(a(26,45,"register_account")),r(4),d(a(30,47,"news")),r(4),d(a(34,49,"faq")),r(4),d(a(38,51,"api")),r(3),h("bg-gray-50",!c.darkFooter())("dark:bg-gray-800",!c.darkFooter())("bg-white",c.darkFooter())("dark:bg-gray-900",c.darkFooter()),r(5),d(a(46,53,"community")),r(5),d(a(51,55,"discord")),r(4),d(a(55,57,"patreon")),r(4),d(a(59,59,"github")),r(4),d(a(63,61,"mastodon")),r(4),d(a(67,63,"credits")),r(11),d(a(78,65,"sponsors")),r(4),d(a(82,67,"legal")),r(5),d(a(87,69,"privacy_policy")),r(4),d(a(91,71,"terms_of_service")),r(4),d(a(95,73,"documentation")),r(5),d(a(100,75,"rest_api")),r(4),d(a(104,77,"join_horde")),r(4),d(a(108,79,"frequently_asked_questions")),r(5),v("alt",a(113,81,"logo.alt")),r(2),M(" ",a(115,83,"app_title")," "),r(3),v("params",L(85,oe)))},dependencies:[F,B,q,N,U,W],styles:["header[_ngcontent-%COMP%]{z-index:1000}"]});let e=s;return e})();j(Z,Y).catch(e=>console.error(e)); diff --git a/main-PSU6DHRO.js b/main-PSU6DHRO.js deleted file mode 100644 index cbde2f7..0000000 --- a/main-PSU6DHRO.js +++ /dev/null @@ -1 +0,0 @@ -import{a as D,b as U,c as P,d as q}from"./chunk-4EY2ITIA.js";import{a as $,b as G}from"./chunk-W6HWWYOS.js";import{a as j,d as F,g as O,h as z,i as K,j as N,k as W}from"./chunk-7ARKW5W4.js";import{e as T,n as B,o as R,p as A,q as H}from"./chunk-7IMKBQP2.js";import{$ as w,Ib as E,Oa as r,Pa as S,T as u,Va as C,X as y,Y as k,bb as v,db as h,jb as t,kb as i,lb as g,nb as f,pb as _,qb as n,rb as d,sb as M,tb as I,ub as L,yb as o,zb as a}from"./chunk-HTB7U7SQ.js";var J=[{path:"",loadComponent:()=>import("./chunk-T5QQORPS.js").then(e=>e.HomepageComponent)},{path:"faq",loadComponent:()=>import("./chunk-VJOHUE6T.js").then(e=>e.FaqComponent)},{path:"news",loadComponent:()=>import("./chunk-KMKRFXFL.js").then(e=>e.NewsComponent)},{path:"register",loadComponent:()=>import("./chunk-7XJPRUWZ.js").then(e=>e.RegisterComponent)},{path:"sponsors",loadComponent:()=>import("./chunk-DYGX4LV3.js").then(e=>e.SponsorsComponent)},{path:"privacy",loadComponent:()=>import("./chunk-OJBOAXW4.js").then(e=>e.PrivacyComponent)},{path:"terms",loadComponent:()=>import("./chunk-FINGB24M.js").then(e=>e.TermsComponent)}];var V=(()=>{let s=class s{constructor(){this.http=k(R)}getTranslation(l){return this.http.get(`/assets/i18n/${l}.json`)}};s.\u0275fac=function(m){return new(m||s)},s.\u0275prov=u({token:s,factory:s.\u0275fac,providedIn:"root"});let e=s;return e})();function X(e,s){return typeof e=="object"&&e!==null&&s in e}function te(e){return X(e,"route")&&(typeof e.route=="string"||Array.isArray(e.route))&&(!X(e,"target")||e.target===void 0||typeof e.target=="string")}var re=(()=>{class e{constructor(p,l){this.router=p,this.locationStrategy=l}supports(p){return te(p)}render(p,l){this.setAnchorElementHref(l,p),this.setAnchorElementTarget(l,p),this.setAnchorElementClickHandler(l,p)}setAnchorElementHref(p,l){p.href=this.getRouterLinkTargetUrl(l)}setAnchorElementTarget(p,l){l.target!==void 0&&(p.target=l.target)}setAnchorElementClickHandler(p,l){p.addEventListener("click",m=>{ne(m)||oe(l)||(m.preventDefault(),this.navigateTo(l))})}navigateTo(p){this.router.navigateByUrl(this.convertRouterLinkToUrlTree(p),p)}getRouterLinkTargetUrl(p){let l=this.convertRouterLinkToUrlTree(p),m=this.router.serializeUrl(l);return this.locationStrategy.prepareExternalUrl(m)}convertRouterLinkToUrlTree(p){let l=ie(p);return this.router.createUrlTree(l,p)}}return e.\u0275fac=function(p){return new(p||e)(y(U),y(T))},e.\u0275prov=u({token:e,factory:e.\u0275fac}),e})();function ie(e){return Array.isArray(e.route)?e.route:[e.route]}function ne(e){return e.button!==0||e.ctrlKey||e.metaKey||e.shiftKey}function oe(e){return e.target!==void 0&&e.target!=="_self"}function Y(){return[K(re)]}var Z={providers:[q(J),F(),A(H()),z({config:{availableLangs:["en"],defaultLang:"en",reRenderOnLangChange:!0,prodMode:!E(),fallbackLang:"en"},loader:V}),N(),Y()]};var ae=()=>({flowbiteLink:"https://flowbite.com",tailwindLink:"https://tailwindcss.com",angularLink:"https://angular.dev"}),ee=(()=>{let s=class s{constructor(l){this.footerColor=l,this.darkMode=C(!1),this.darkFooter=this.footerColor.dark,this.showMobileMenu=!1}ngOnInit(){this.darkMode.set(typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").matches)}toggleMobileMenu(){this.showMobileMenu=!this.showMobileMenu}closeMobileMenu(){this.showMobileMenu=!1}};s.\u0275fac=function(m){return new(m||s)(S(G))},s.\u0275cmp=w({type:s,selectors:[["app-root"]],standalone:!0,features:[I],decls:118,vars:86,consts:[[1,"wrapper",3,"click"],[1,"fixed","w-full"],[1,"bg-white","border-gray-200","py-2.5","dark:bg-gray-900"],[1,"flex","flex-wrap","items-center","justify-between","max-w-screen-xl","px-4","mx-auto"],["routerLink","/",1,"flex","items-center"],["ngSrc","./assets/img/logo.png","height","455","width","393","priority","",1,"h-6","mr-3","sm:h-9","w-auto",3,"alt"],[1,"self-center","text-xl","font-semibold","whitespace-nowrap","dark:text-white"],[1,"flex","items-end","lg:order-2"],["data-collapse-toggle","mobile-menu-2","type","button","aria-controls","mobile-menu-2","aria-expanded","false",1,"inline-flex","items-center","p-2","ml-1","text-sm","text-gray-500","rounded-lg","lg:hidden","hover:bg-gray-100","focus:outline-none","focus:ring-2","focus:ring-gray-200","dark:text-gray-400","dark:hover:bg-gray-700","dark:focus:ring-gray-600",3,"click"],[1,"sr-only"],["href","assets/img/open-menu.svg"],["href","assets/img/close-menu.svg"],["id","mobile-menu-2",1,"items-end","justify-between","hidden","w-full","lg:flex","lg:w-auto","lg:order-1",3,"click"],[1,"flex","flex-col","mt-4","font-medium","border-b","border-gray-300","lg:border-0","lg:flex-row","lg:space-x-8","lg:mt-0","bg-gray-900"],["routerLink","/","aria-current","page",1,"block","py-2","pl-3","pr-4","text-gray-500","bg-gray-400","rounded","lg:bg-transparent","lg:text-gray-500","lg:p-0","dark:text-white"],["href","/register","aria-current","page",1,"block","py-2","pl-3","pr-4","text-gray-500","bg-gray-400","rounded","lg:bg-transparent","lg:text-gray-500","lg:p-0","dark:text-white"],["routerLink","/news","aria-current","page",1,"block","py-2","pl-3","pr-4","text-gray-500","bg-gray-400","rounded","lg:bg-transparent","lg:text-gray-500","lg:p-0","dark:text-white"],["routerLink","/faq","aria-current","page",1,"block","py-2","pl-3","pr-4","text-gray-500","bg-gray-400","rounded","lg:bg-transparent","lg:text-gray-500","lg:p-0","dark:text-white"],["href","/api/","aria-current","page",1,"block","py-2","pl-3","pr-4","text-gray-500","bg-gray-400","rounded","lg:bg-transparent","lg:text-gray-500","lg:p-0","dark:text-white"],[1,"max-w-screen-xl","p-4","py-6","mx-auto","lg:py-16","md:p-8","lg:p-10"],[1,"grid","grid-cols-2","gap-8","md:grid-cols-3","lg:grid-cols-5"],[1,"mb-6","text-sm","font-semibold","text-gray-900","uppercase","dark:text-white"],[1,"text-gray-500","dark:text-gray-400"],[1,"mb-4"],["href","https://discord.gg/3DxrhksKzn","target","_blank",1,"hover:underline"],["href","https://www.patreon.com/db0","target","_blank",1,"hover:underline"],["href","https://github.com/Haidra-Org","target","_blank",1,"hover:underline"],["href","https://sigmoid.social/@stablehorde","target","_blank",1,"hover:underline"],["href","https://dbzer0.com/","target","_blank",1,"hover:underline"],["href","https://github.com/haidra-org","target","_blank",1,"hover:underline"],["routerLink","/sponsors",1,"hover:underline"],["routerLink","/privacy",1,"hover:underline"],["routerLink","/terms",1,"hover:underline"],["href","https://aihorde.net/api/","target","_blank",1,"hover:underline"],["href","https://github.com/Haidra-Org/AI-Horde/blob/main/README_StableHorde.md#joining-the-horde","target","_blank",1,"hover:underline"],["routerLink","/faq",1,"hover:underline"],[1,"my-6","border-gray-200","sm:mx-auto","dark:border-gray-700","lg:my-8"],[1,"text-center"],["href","#",1,"flex","items-center","justify-center","mb-5","text-2xl","font-semibold","text-gray-900","dark:text-white"],["ngSrc","./assets/img/logo.png","height","455","width","393",1,"h-6","mr-3","sm:h-9","w-auto",3,"alt"],[1,"block","text-sm","text-center","text-gray-500","dark:text-gray-400","built-with"],["key","built_with",3,"params"]],template:function(m,c){m&1&&(t(0,"div",0),f("click",function(){return c.closeMobileMenu()}),t(1,"header",1)(2,"nav",2)(3,"div",3)(4,"a",4),g(5,"img",5),o(6,"transloco"),t(7,"span",6),n(8),o(9,"transloco"),i()(),t(10,"div",7)(11,"button",8),f("click",function(x){return c.toggleMobileMenu(),x.stopPropagation()}),t(12,"span",9),n(13),o(14,"transloco"),i(),g(15,"inline-svg",10)(16,"inline-svg",11),i()(),t(17,"div",12),f("click",function(x){return x.stopPropagation()}),t(18,"ul",13)(19,"li")(20,"a",14),n(21),o(22,"transloco"),i()(),t(23,"li")(24,"a",15),n(25),o(26,"transloco"),i()(),t(27,"li")(28,"a",16),n(29),o(30,"transloco"),i()(),t(31,"li")(32,"a",17),n(33),o(34,"transloco"),i()(),t(35,"li")(36,"a",18),n(37),o(38,"transloco"),i()()()()()()(),g(39,"router-outlet"),t(40,"footer")(41,"div",19)(42,"div",20)(43,"div")(44,"h3",21),n(45),o(46,"transloco"),i(),t(47,"ul",22)(48,"li",23)(49,"a",24),n(50),o(51,"transloco"),i()(),t(52,"li",23)(53,"a",25),n(54),o(55,"transloco"),i()(),t(56,"li",23)(57,"a",26),n(58),o(59,"transloco"),i()(),t(60,"li",23)(61,"a",27),n(62),o(63,"transloco"),i()()()(),t(64,"div")(65,"h3",21),n(66),o(67,"transloco"),i(),t(68,"ul",22)(69,"li",23)(70,"a",28),n(71,"db0"),i()(),t(72,"li",23)(73,"a",29),n(74,"Haidra"),i()(),t(75,"li",23)(76,"a",30),n(77),o(78,"transloco"),i()()()(),t(79,"div")(80,"h3",21),n(81),o(82,"transloco"),i(),t(83,"ul",22)(84,"li",23)(85,"a",31),n(86),o(87,"transloco"),i()(),t(88,"li",23)(89,"a",32),n(90),o(91,"transloco"),i()()()(),t(92,"div")(93,"h3",21),n(94),o(95,"transloco"),i(),t(96,"ul",22)(97,"li",23)(98,"a",33),n(99),o(100,"transloco"),i()(),t(101,"li",23)(102,"a",34),n(103),o(104,"transloco"),i()(),t(105,"li",23)(106,"a",35),n(107),o(108,"transloco"),i()()()()(),g(109,"hr",36),t(110,"div",37)(111,"a",38),g(112,"img",39),o(113,"transloco"),n(114),o(115,"transloco"),i(),t(116,"span",40),g(117,"transloco",41),i()()()()()),m&2&&(h("dark",c.darkMode()),r(5),_("alt",a(6,37,"logo.alt")),r(3),d(a(9,39,"app_title")),r(5),d(a(14,41,"open_main_menu")),r(4),h("hidden",!c.showMobileMenu),r(4),d(a(22,43,"home")),r(4),d(a(26,45,"register_account")),r(4),d(a(30,47,"news")),r(4),d(a(34,49,"faq")),r(4),d(a(38,51,"api")),r(3),h("bg-gray-50",!c.darkFooter())("dark:bg-gray-800",!c.darkFooter())("bg-white",c.darkFooter())("dark:bg-gray-900",c.darkFooter()),r(5),d(a(46,53,"community")),r(5),d(a(51,55,"discord")),r(4),d(a(55,57,"patreon")),r(4),d(a(59,59,"github")),r(4),d(a(63,61,"mastodon")),r(4),d(a(67,63,"credits")),r(11),d(a(78,65,"sponsors")),r(4),d(a(82,67,"legal")),r(5),d(a(87,69,"privacy_policy")),r(4),d(a(91,71,"terms_of_service")),r(4),d(a(95,73,"documentation")),r(5),d(a(100,75,"rest_api")),r(4),d(a(104,77,"join_horde")),r(4),d(a(108,79,"frequently_asked_questions")),r(5),v("alt",a(113,81,"logo.alt")),r(2),M(" ",a(115,83,"app_title")," "),r(3),v("params",L(85,ae)))},dependencies:[D,B,O,W,P,$],styles:["header[_ngcontent-%COMP%]{z-index:1000}"]});let e=s;return e})();j(ee,Z).catch(e=>console.error(e)); diff --git a/news/index.html b/news/index.html index c5db151..b203bed 100644 --- a/news/index.html +++ b/news/index.html @@ -8,16 +8,16 @@ - -

Latest news

2024-05-20 - Generate QR Codes

You can now generate QR Codes on the AI Horde! Currently this functionality is only available for Stable Diffusion 1.5. To use this functionality, your frontend needs to support it so that you can type the text you wish to be made into a QR code and to specify the specific qr_code workflow.

2024-05-12 - Stable Cascade 2pass support

The AI Horde now supports Stable Cascade 2passSimply switch hires_fix to True to use. Note that this has double the cost of a normal Stable Cascade.

2024-03-24 - Supports image variations

The AI Horde now supports Stable Cascade along with its image variations / remix capabilities!

Read more

2024-02-13 - Custom error codes

The AI Horde now supports custom error return codes You can use this to better machine parse the various errors returned from the AI horde or to provide error translations.

Read more

2024-02-03 - Webhook support

Webhooks are here. You can now specify a webhook URL which the horde will POST to when your generations are ready

Read more

2024-01-13 - Batching added

We have now added batching to the AI Horde!This means that if your frontend is handling this properly, sending requests for multiple images should fulfill much faster overall. However this can have an impact on the resulting seed. If you need to have an accurate seed, for now you can use disable_batching.

Read more

2024-01-07 - New Horde Worker reGen

The new generation of the AI Horde worker is out. The Horde Worker reGen! It should have always the latest version of comfyUI, which allows us access to all the latest features of Stable Diffusion. Every worker should work on switching ASAP, as the new worker can support SDXL models as well as LCM payloads!

Read more

2023-11-26 - Supports different LoRa versions

The AI Horde now supports different LoRa versions from each LoRa. Happy Winter Solstice!

2023-11-23 - NLNet Grant

The AI Horde will receive an NLNet Grant!

Read more

2023-09-03 - One year anniversary

The AI Horde is officially one year old!

Read more

2023-08-30 - Textual Inversions support

Textual Inversions support has now been merged into the main worker branch! Read the devlog

Read more

2023-07-23 - Join Lemmy Community

Join our Lemmy Community.

Read more

2023-07-04 - New AI Horde update

New State of the AI Horde is out!

Read more

2023-07-04 - New AI Horde update

New State of the AI Horde is out!

Read more

2023-06-01 - LoRas support merged

LoRas support has now been merged into the main worker branch! All kudos to Jug and Tazlin for their invaluable efforts! Read the devlog

Read more

2023-05-30 - Early LoRa support

Early support for LoRa has been added to the AI Horde with a few workers providing it. UIs are still adding it, with Lucid Creations, ArtBot and the Krita plugin already supporting it.Try it out and let us know how it works for you.

Read more

2023-05-25 - ProtoReplicant integration

I wanted to point out a very cool voice-2-text-2-voice AI Horde integration: ProtoReplicant. It converts your voice into text which it then sends to an LLM model, and finally converts the resulting text into voice and plays it back. Here's the new Discord integration channel

Read more

2023-05-22 - Telegram bot Imaginarium

A new AI Horde integration has been created. A Telegram bot by the name of Imaginarium. Here's the new Discord integration channel

Read more

2023-05-14 - Moved to hordelib library

The AI Horde has finally moved to the hordelib library. Which is powered by the ComfyUI inference backend. Read the Devlog!

Read more

2023-05-11 - Efficient kudos model

With the upcoming deployment of the hordelib-based worker. Jug has looked into creating a more efficient model to determine generation kudos instead of reusing the numbers I hallucinated one day. He used what we know best and we trained an explicit model to calculate kudos, based on the performance of his own GPU on the comfy branch This new calculation should be much more accurate in terms of things like controlnet and resolution impact. The good news is that the new comfy branch this seems to reduce kudos costs for high resolutions accross the board. Note: Due to the current worker (based on nataili) being slightly lower quality at the benefit of speed, and thus getting a boost due to the new kudos model, we have implemented a 25% reduction for its rewards to bring it up to line with its actual performance.

Read more

2023-05-09 - Shareable API keys

A new feature appeared on the Horde. You can now create API keys you can share with others to use your own priority.

Read more

2023-05-05 - Docker container support

You can now run an AI Horde worker inside a docker container. http://ghcr.io/db0/ai-horde-worker:main Our README contains information on how to configure it All kudos to Gus Puffy#8887

Read more

2023-04-23 - CLI extended features

The Command Line Interface for the AI Horde has now been extended to support Image Generation, Text Generation and Image Alchemy. It has been split into three files and is now available in its own repository: https://github.com/db0/AI-Horde-CLI

2023-04-16 - First Patreon sponsorship

The AI Horde has received its first patreon sponsorship Many thanks to pawkygame VR for their support!

Read more

2023-03-23 - Inpainting re-enabled

Inpainting is re-enabled that to the work of ResidentChief! Now also have support for multiple inpainting models.

Read more

2023-03-19 - Interrogator renamed Alchemist

The AI Horde Interrogator Worker has now been renamed to 'Alchemist' The Horde alchemist can now run all the post-processors, along with all the interrogation forms. This means that if you have an existing image you wish to face-fix or upscale, you can just do that by requesting it via alchemy. For now, the alchemist does not support extracting ControlNet intermediate images, but this will be coming soon. The endpoints remain as `api/v2interrogation/` for now but I plan to rename them in v3.

2023-03-15 - Supports DDIM sampler

the AI Horde now supports the DDIM sampler and the RealESRGAN_x4plus_anime_6B upscaler! Keep in mind that you cannot use two upscalers at the same time. All kudos to ResidentChief!

Read more

2023-03-13 - Replacement filter option

A new option `replacement_filter` is available for image generations. When set to True and a potential CSAM prompt is detected, all underage context will be transparently replaced or removed and some extra negative prompts will be added to the negative prompt.When set to False (default) or the prompt size is over 500 chars The previous behaviour will be used, where the prompt is rejected and an IP timeout will be put in place. This feature should make sending text generations to be turned into images a less frustrating experience.

2023-03-10 - AI-driven anti-CSAM filter

We now have an AI-driven anti-CSAM filter as well. Read about it on the main developer's blog.

Read more

2023-03-03 - Ratings back

The Horde Ratings are back in action. Go to your typical UI and rate away!

2023-02-23 - KoboldAI merged

KoboldAI Horde has been merged into Stable Horde as a unified AI Horde!

2023-02-21 - ControlNet support

The Horde now supports ControlNet on all models! All kudos go to hlky who again weaved the dark magic!

Read more

2023-02-14 - Unlimited prompt size

You can now use an almost unlimited prompt size thanks to the work of ResidentChief!

2023-02-09 - Higher-sized images

You can now select to generate a higher-sized image using hires_fix, which uses the composition of stable diffusion at 512x512 which tends to be more consistent.

2023-02-03 - Supports pix2pix

The horde now supports pix2pix. All you have to do is use img2img as normal and select the pix2pix model!

2023-01-24 - Tiling requests support

We now support sending tiling requests! Send `"tiling":true"` into your payload params to request an image that seamlessly tiles.

2023-01-23 - Tightened NSFW rules

I have tightened the rules around NSFW models. As they seem to be straying into 'unethical' territory even when not explicitly prompted, I am forced to tighten the safety controls around them. From now on, otherwise generic terms for young people like `girl` ,`boy` etc Cannot be used on those models. Please either use terms like `woman` or `man` or switch to a non-NSFW model instead.

2023-01-23 - Blender plugin

The horde now has a Blender Plugin!

Read more

2023-01-23 - Bridge agent key

All workers must start sending the `bridge_agent` key in their job pop payloads. See API documentation.

2023-01-18 - New Discord bot

We now have a New Discord Bot, courtesy of Zelda_Fan#0225. Check out their other bot as well! Only downside is that if you were already logged in to the old bot, you will need to /login again.

Read more

2023-01-18 - Prompt weights

The prompts now support weights! Use them like so `(sub prompt:1.1)` where 1.1 corresponds to +10% weight You can tweak upwards more like `1.25` or downwards like `0.7`, but don't go above +=30%

2023-01-12 - New Discord bot codebase

We plan to be replacing our official discord bot with new a new codebase based on the work of Zelda_Fan#0225. Once we do, be aware that the controls will be slightly different and you will have to log-in again with your API key.

Read more

2023-01-11 - First browser extension

The Stable Horde has its first browser extension! GenAlt is an accessibility plugin to help people with bad eyesight always find alt text for images.The extension relies on the Stable Horde's newly added image interrogation capabilities to generate captions which are then serves as the image's alt text.

Read more

2023-01-06 - Kudos cost adjustment

The amount of kudos consumed when generating images has been slightly adjusted. To simulate the resource costs of the horde, each image generation request will now burn +3 kudos. Those will not go to the generating worker! However we also have a new opt-in feature: You can choose to share your text2img generations with LAION. If you do, this added cost will be just +1 kudos. We have also updated our Terms of Service to make this more obvious.

Read more

2023-01-05 - WebUI for worker configuration

Worker now have a WebUI which they can use to configure themselves. Use it by running `worker-webui.sh/cmd`

Read more

2023-01-04 - Collaboration with LAION

We are proud to announce that we have initiated a collaboration with LAION to help them improve their dataset!

Read more

2023-01-04 - Image interrogation support

You can now interrogate images (AKA img2txt) to retrieve information about them such as captions and whether they are NSFW. Check the api/v2/interrogate endpoint documentation.

Read more

2023-01-01 - Support for automatic1111 Web UI

Stable Horde can now be used on the automatic1111 Web UI via an external script

Read more

2022-12-30 - Supports depth2img

Stable Horde now supports depth2img! To use it you need to send a source image and select the `Stable Difffusion 2 Depth` model

2022-12-28 - Opt-in post-processors

Stable Horde workers can now opt-in to loading post-processors. Check your bridge_data.py for options. This should help workers who started being more unstable due to the PP requirements.

2022-12-24 - Supports CodeFormer

Stable Horde has now support for CodeFormer. Simply use 'CodeFormers' for your postprocessor (case sensitive). This will fix any faces in the image. Be aware that due to the processing cost of this model, the kudos requirement will be 50% higher! Note: The inbuilt upscaler has been disabled

Read more

2022-12-08 - Dynamic model swapping

The Stable Horde workers now support dynamically swapping models. This means that models will always switch to support the most in demand models every minute, allowing us to support demand much better!

2022-11-28 - Code refactoring for SQL DB

The Horde has undertaken a massive code refactoring to allow me to move to a proper SQL DB. This will finally allow me to scale the frontend systems horizontally and allow for way more capacity!

2022-11-24 - Limit on anonymous requests

Due to the massive increase in demand from the Horde, we have to limit the amount of concurrent anonymous requests we can serve. We will revert this once our infrastructure can scale better.

2022-11-24 - Stable Diffusion 2.0 available

Stable Diffusion 2.0 has been released and now it is available on the Horde as well.

2022-11-22 - Mastodon bot deployed

A new Stable Horde Bot has been deployed, this time for Mastodon. You can find [the stablehorde_generator}(https://sigmoid.social/@stablehorde_generator) as well as our official Stable Horde account on sigmoid.social

Read more

2022-11-22 - Unreal Engine support

We now have support for the Unreal Engine via a community-provided plugin

Read more

2022-11-18 - Automatic post-processing

The stable horde now supports post-processing on images automatically

Read more

2022-11-05 - Adjusted request limits

Due to suddenly increased demand, we have adjusted how much requests accounts can request before needing to have the kudos upfront. More than 50 steps will require kudos and the max resolution will be adjusted based on the current horde demand.

2022-11-05 - Teams for workers

Workers can now join teams to get aggregated stats.

Read more

2022-11-02 - High-res image generation

The horde can now generate images up to 3072x3072 and 500 steps! However you need to already have the kudos to burn to do so!

2022-10-29 - Inpainting available

Inpainting is now available on the stable horde! Many kudos to blueturtle for the support!

Read more

2022-10-25 - New Discord bot

Another Discord Bot for Stable Horde integration has appeared!

Read more

2022-10-24 - Client renamed Lucid Creations

The Stable Horde Client has been renamed to Lucid Creations and has a new version and UI out which supports multiple models and img2img!

Read more

2022-10-22 - New npm SDK

We have a new npm SDK for integrating into the Stable Horde.

Read more

2022-10-22 - Krita and GIMP img2img

Krita and GIMP plugins now support img2img

2022-10-21 - Img2img for everyone

Image 2 Image is now available for everyone!

2022-10-20 - Stable Diffusion 1.5

Stable Diffusion 1.5 is now available!

2022-10-17 - Krita plugin

We now have a Krita plugin.

Read more

2022-10-17 - Img2img pilot

Img2img on the horde is now on pilot for trusted users.

2022-10-16 - New Web UI

Yet another Web UI has appeared.

Read more

2022-10-13 - KoboldAI upgraded

KoboldAI Has been upgraded to the new countermeasures

2022-10-11 - New dedicated Web UI

A new dedicated Web UI has entered the scene!

Read more

2022-10-10 - Google Colab worker

You can now contribute a worker to the horde via google colab. Just fill-in your API key and run!

Read more

2022-10-10 - Discord rewards bot

The discord rewards bot has been unleashed. Reward good contributions to the horde directly from the chat!

Read more

2022-10-09 - News functionality

The horde now includes News functionality. Also In the API!

Read more

2022-10-06 - New installation video

We have a new installation video for both the Stable Horde Client and the Stable horde worker.

Read more

- +

Latest news

2024-05-20 - Generate QR Codes

You can now generate QR Codes on the AI Horde! Currently this functionality is only available for Stable Diffusion 1.5. To use this functionality, your frontend needs to support it so that you can type the text you wish to be made into a QR code and to specify the specific qr_code workflow.

2024-05-12 - Stable Cascade 2pass support

The AI Horde now supports Stable Cascade 2passSimply switch hires_fix to True to use. Note that this has double the cost of a normal Stable Cascade.

2024-03-24 - Supports image variations

The AI Horde now supports Stable Cascade along with its image variations / remix capabilities!

Read more

2024-02-13 - Custom error codes

The AI Horde now supports custom error return codes You can use this to better machine parse the various errors returned from the AI horde or to provide error translations.

Read more

2024-02-03 - Webhook support

Webhooks are here. You can now specify a webhook URL which the horde will POST to when your generations are ready

Read more

2024-01-13 - Batching added

We have now added batching to the AI Horde!This means that if your frontend is handling this properly, sending requests for multiple images should fulfill much faster overall. However this can have an impact on the resulting seed. If you need to have an accurate seed, for now you can use disable_batching.

Read more

2024-01-07 - New Horde Worker reGen

The new generation of the AI Horde worker is out. The Horde Worker reGen! It should have always the latest version of comfyUI, which allows us access to all the latest features of Stable Diffusion. Every worker should work on switching ASAP, as the new worker can support SDXL models as well as LCM payloads!

Read more

2023-11-26 - Supports different LoRa versions

The AI Horde now supports different LoRa versions from each LoRa. Happy Winter Solstice!

2023-11-23 - NLNet Grant

The AI Horde will receive an NLNet Grant!

Read more

2023-09-03 - One year anniversary

The AI Horde is officially one year old!

Read more

2023-08-30 - Textual Inversions support

Textual Inversions support has now been merged into the main worker branch! Read the devlog

Read more

2023-07-23 - Join Lemmy Community

Join our Lemmy Community.

Read more

2023-07-04 - New AI Horde update

New State of the AI Horde is out!

Read more

2023-07-04 - New AI Horde update

New State of the AI Horde is out!

Read more

2023-06-01 - LoRas support merged

LoRas support has now been merged into the main worker branch! All kudos to Jug and Tazlin for their invaluable efforts! Read the devlog

Read more

2023-05-30 - Early LoRa support

Early support for LoRa has been added to the AI Horde with a few workers providing it. UIs are still adding it, with Lucid Creations, ArtBot and the Krita plugin already supporting it.Try it out and let us know how it works for you.

Read more

2023-05-25 - ProtoReplicant integration

I wanted to point out a very cool voice-2-text-2-voice AI Horde integration: ProtoReplicant. It converts your voice into text which it then sends to an LLM model, and finally converts the resulting text into voice and plays it back. Here's the new Discord integration channel

Read more

2023-05-22 - Telegram bot Imaginarium

A new AI Horde integration has been created. A Telegram bot by the name of Imaginarium. Here's the new Discord integration channel

Read more

2023-05-14 - Moved to hordelib library

The AI Horde has finally moved to the hordelib library. Which is powered by the ComfyUI inference backend. Read the Devlog!

Read more

2023-05-11 - Efficient kudos model

With the upcoming deployment of the hordelib-based worker. Jug has looked into creating a more efficient model to determine generation kudos instead of reusing the numbers I hallucinated one day. He used what we know best and we trained an explicit model to calculate kudos, based on the performance of his own GPU on the comfy branch This new calculation should be much more accurate in terms of things like controlnet and resolution impact. The good news is that the new comfy branch this seems to reduce kudos costs for high resolutions accross the board. Note: Due to the current worker (based on nataili) being slightly lower quality at the benefit of speed, and thus getting a boost due to the new kudos model, we have implemented a 25% reduction for its rewards to bring it up to line with its actual performance.

Read more

2023-05-09 - Shareable API keys

A new feature appeared on the Horde. You can now create API keys you can share with others to use your own priority.

Read more

2023-05-05 - Docker container support

You can now run an AI Horde worker inside a docker container. http://ghcr.io/db0/ai-horde-worker:main Our README contains information on how to configure it All kudos to Gus Puffy#8887

Read more

2023-04-23 - CLI extended features

The Command Line Interface for the AI Horde has now been extended to support Image Generation, Text Generation and Image Alchemy. It has been split into three files and is now available in its own repository: https://github.com/db0/AI-Horde-CLI

2023-04-16 - First Patreon sponsorship

The AI Horde has received its first patreon sponsorship Many thanks to pawkygame VR for their support!

Read more

2023-03-23 - Inpainting re-enabled

Inpainting is re-enabled that to the work of ResidentChief! Now also have support for multiple inpainting models.

Read more

2023-03-19 - Interrogator renamed Alchemist

The AI Horde Interrogator Worker has now been renamed to 'Alchemist' The Horde alchemist can now run all the post-processors, along with all the interrogation forms. This means that if you have an existing image you wish to face-fix or upscale, you can just do that by requesting it via alchemy. For now, the alchemist does not support extracting ControlNet intermediate images, but this will be coming soon. The endpoints remain as `api/v2interrogation/` for now but I plan to rename them in v3.

2023-03-15 - Supports DDIM sampler

the AI Horde now supports the DDIM sampler and the RealESRGAN_x4plus_anime_6B upscaler! Keep in mind that you cannot use two upscalers at the same time. All kudos to ResidentChief!

Read more

2023-03-13 - Replacement filter option

A new option `replacement_filter` is available for image generations. When set to True and a potential CSAM prompt is detected, all underage context will be transparently replaced or removed and some extra negative prompts will be added to the negative prompt.When set to False (default) or the prompt size is over 500 chars The previous behaviour will be used, where the prompt is rejected and an IP timeout will be put in place. This feature should make sending text generations to be turned into images a less frustrating experience.

2023-03-10 - AI-driven anti-CSAM filter

We now have an AI-driven anti-CSAM filter as well. Read about it on the main developer's blog.

Read more

2023-03-03 - Ratings back

The Horde Ratings are back in action. Go to your typical UI and rate away!

2023-02-23 - KoboldAI merged

KoboldAI Horde has been merged into Stable Horde as a unified AI Horde!

2023-02-21 - ControlNet support

The Horde now supports ControlNet on all models! All kudos go to hlky who again weaved the dark magic!

Read more

2023-02-14 - Unlimited prompt size

You can now use an almost unlimited prompt size thanks to the work of ResidentChief!

2023-02-09 - Higher-sized images

You can now select to generate a higher-sized image using hires_fix, which uses the composition of stable diffusion at 512x512 which tends to be more consistent.

2023-02-03 - Supports pix2pix

The horde now supports pix2pix. All you have to do is use img2img as normal and select the pix2pix model!

2023-01-24 - Tiling requests support

We now support sending tiling requests! Send `"tiling":true"` into your payload params to request an image that seamlessly tiles.

2023-01-23 - Tightened NSFW rules

I have tightened the rules around NSFW models. As they seem to be straying into 'unethical' territory even when not explicitly prompted, I am forced to tighten the safety controls around them. From now on, otherwise generic terms for young people like `girl` ,`boy` etc Cannot be used on those models. Please either use terms like `woman` or `man` or switch to a non-NSFW model instead.

2023-01-23 - Blender plugin

The horde now has a Blender Plugin!

Read more

2023-01-23 - Bridge agent key

All workers must start sending the `bridge_agent` key in their job pop payloads. See API documentation.

2023-01-18 - New Discord bot

We now have a New Discord Bot, courtesy of Zelda_Fan#0225. Check out their other bot as well! Only downside is that if you were already logged in to the old bot, you will need to /login again.

Read more

2023-01-18 - Prompt weights

The prompts now support weights! Use them like so `(sub prompt:1.1)` where 1.1 corresponds to +10% weight You can tweak upwards more like `1.25` or downwards like `0.7`, but don't go above +=30%

2023-01-12 - New Discord bot codebase

We plan to be replacing our official discord bot with new a new codebase based on the work of Zelda_Fan#0225. Once we do, be aware that the controls will be slightly different and you will have to log-in again with your API key.

Read more

2023-01-11 - First browser extension

The Stable Horde has its first browser extension! GenAlt is an accessibility plugin to help people with bad eyesight always find alt text for images.The extension relies on the Stable Horde's newly added image interrogation capabilities to generate captions which are then serves as the image's alt text.

Read more

2023-01-06 - Kudos cost adjustment

The amount of kudos consumed when generating images has been slightly adjusted. To simulate the resource costs of the horde, each image generation request will now burn +3 kudos. Those will not go to the generating worker! However we also have a new opt-in feature: You can choose to share your text2img generations with LAION. If you do, this added cost will be just +1 kudos. We have also updated our Terms of Service to make this more obvious.

Read more

2023-01-05 - WebUI for worker configuration

Worker now have a WebUI which they can use to configure themselves. Use it by running `worker-webui.sh/cmd`

Read more

2023-01-04 - Collaboration with LAION

We are proud to announce that we have initiated a collaboration with LAION to help them improve their dataset!

Read more

2023-01-04 - Image interrogation support

You can now interrogate images (AKA img2txt) to retrieve information about them such as captions and whether they are NSFW. Check the api/v2/interrogate endpoint documentation.

Read more

2023-01-01 - Support for automatic1111 Web UI

Stable Horde can now be used on the automatic1111 Web UI via an external script

Read more

2022-12-30 - Supports depth2img

Stable Horde now supports depth2img! To use it you need to send a source image and select the `Stable Difffusion 2 Depth` model

2022-12-28 - Opt-in post-processors

Stable Horde workers can now opt-in to loading post-processors. Check your bridge_data.py for options. This should help workers who started being more unstable due to the PP requirements.

2022-12-24 - Supports CodeFormer

Stable Horde has now support for CodeFormer. Simply use 'CodeFormers' for your postprocessor (case sensitive). This will fix any faces in the image. Be aware that due to the processing cost of this model, the kudos requirement will be 50% higher! Note: The inbuilt upscaler has been disabled

Read more

2022-12-08 - Dynamic model swapping

The Stable Horde workers now support dynamically swapping models. This means that models will always switch to support the most in demand models every minute, allowing us to support demand much better!

2022-11-28 - Code refactoring for SQL DB

The Horde has undertaken a massive code refactoring to allow me to move to a proper SQL DB. This will finally allow me to scale the frontend systems horizontally and allow for way more capacity!

2022-11-24 - Limit on anonymous requests

Due to the massive increase in demand from the Horde, we have to limit the amount of concurrent anonymous requests we can serve. We will revert this once our infrastructure can scale better.

2022-11-24 - Stable Diffusion 2.0 available

Stable Diffusion 2.0 has been released and now it is available on the Horde as well.

2022-11-22 - Mastodon bot deployed

A new Stable Horde Bot has been deployed, this time for Mastodon. You can find [the stablehorde_generator}(https://sigmoid.social/@stablehorde_generator) as well as our official Stable Horde account on sigmoid.social

Read more

2022-11-22 - Unreal Engine support

We now have support for the Unreal Engine via a community-provided plugin

Read more

2022-11-18 - Automatic post-processing

The stable horde now supports post-processing on images automatically

Read more

2022-11-05 - Adjusted request limits

Due to suddenly increased demand, we have adjusted how much requests accounts can request before needing to have the kudos upfront. More than 50 steps will require kudos and the max resolution will be adjusted based on the current horde demand.

2022-11-05 - Teams for workers

Workers can now join teams to get aggregated stats.

Read more

2022-11-02 - High-res image generation

The horde can now generate images up to 3072x3072 and 500 steps! However you need to already have the kudos to burn to do so!

2022-10-29 - Inpainting available

Inpainting is now available on the stable horde! Many kudos to blueturtle for the support!

Read more

2022-10-25 - New Discord bot

Another Discord Bot for Stable Horde integration has appeared!

Read more

2022-10-24 - Client renamed Lucid Creations

The Stable Horde Client has been renamed to Lucid Creations and has a new version and UI out which supports multiple models and img2img!

Read more

2022-10-22 - New npm SDK

We have a new npm SDK for integrating into the Stable Horde.

Read more

2022-10-22 - Krita and GIMP img2img

Krita and GIMP plugins now support img2img

2022-10-21 - Img2img for everyone

Image 2 Image is now available for everyone!

2022-10-20 - Stable Diffusion 1.5

Stable Diffusion 1.5 is now available!

2022-10-17 - Krita plugin

We now have a Krita plugin.

Read more

2022-10-17 - Img2img pilot

Img2img on the horde is now on pilot for trusted users.

2022-10-16 - New Web UI

Yet another Web UI has appeared.

Read more

2022-10-13 - KoboldAI upgraded

KoboldAI Has been upgraded to the new countermeasures

2022-10-11 - New dedicated Web UI

A new dedicated Web UI has entered the scene!

Read more

2022-10-10 - Google Colab worker

You can now contribute a worker to the horde via google colab. Just fill-in your API key and run!

Read more

2022-10-10 - Discord rewards bot

The discord rewards bot has been unleashed. Reward good contributions to the horde directly from the chat!

Read more

2022-10-09 - News functionality

The horde now includes News functionality. Also In the API!

Read more

2022-10-06 - New installation video

We have a new installation video for both the Stable Horde Client and the Stable horde worker.

Read more

+ - \ No newline at end of file + \ No newline at end of file diff --git a/privacy/index.html b/privacy/index.html index 1e49c8f..25a3b96 100644 --- a/privacy/index.html +++ b/privacy/index.html @@ -8,16 +8,16 @@ - -

Privacy Policy

Interpretation and Definitions

Interpretation

Definitions

Collecting and Using Your Personal Data

Types of Data Collected

Personal Data

Usage Data

Use of Your Personal Data

Data Subject rights

Retention of Your Personal Data

Transfer of Your Personal Data

Tracking Technologies and Cookies

Business Transactions

Law enforcement

Other legal requirements

Security of Your Personal Data

Children's Privacy

Links to Other Websites

Changes to this Privacy Policy

Contact Us

- +

Privacy Policy

Interpretation and Definitions

Interpretation

Definitions

Collecting and Using Your Personal Data

Types of Data Collected

Personal Data

Usage Data

Use of Your Personal Data

Data Subject rights

Retention of Your Personal Data

Transfer of Your Personal Data

Tracking Technologies and Cookies

Business Transactions

Law enforcement

Other legal requirements

Security of Your Personal Data

Children's Privacy

Links to Other Websites

Changes to this Privacy Policy

Contact Us

+ - \ No newline at end of file + \ No newline at end of file diff --git a/register/index.html b/register/index.html index 3ac2126..128af82 100644 --- a/register/index.html +++ b/register/index.html @@ -8,16 +8,16 @@ - - - +

register works!

+ - \ No newline at end of file + \ No newline at end of file diff --git a/sponsors/index.html b/sponsors/index.html index e045647..091f963 100644 --- a/sponsors/index.html +++ b/sponsors/index.html @@ -8,16 +8,16 @@ - - - +

sponsors works!

+ - \ No newline at end of file + \ No newline at end of file diff --git a/terms/index.html b/terms/index.html index 7208099..cbf8256 100644 --- a/terms/index.html +++ b/terms/index.html @@ -8,16 +8,16 @@ - -

Terms and Conditions

Last updated: 07 January, 2023

Please read these terms and conditions carefully before using Our Service.

Interpretation and Definitions

@@ -139,7 +139,7 @@

Contact Us

If you have any questions about these Terms and Conditions, You can contact us:

  • By email: aihorde@dbzer0.com
  • -
- + + - \ No newline at end of file + \ No newline at end of file