When the text size is expressed in absolute units there are browsers that will have difficulty in zoom the text.
",
- "C19": "
Some persons with low vision and persons with cognitive impairments have big difficulty in dealing with the text blocks when are justified.
",
- "C21": "
Many people with cognitive disability have difficulty to follow the text lines when the text has a simple spacement. To use a spacement between 1,5 and 2, will help them when skipping lines.
",
- "C22": "
This practice is obsolete. Instead of it, you should use the CSS to control the visual text presentation. When this error occurs is because you are using inside the <body> element of the webpage, the elements: b, basefont, font, i, s, strike, u, or the attributes: text, vlink, alink, link.
",
- "C24": "
Zoom 200% the screen and check that all the content is visible without the need to make horizontal scannings
",
- "C9": "
The use of null or empty alternative texts in HTML is a common practice for images classified as decorative. However, all images classified as decorative must be affixed via CSS and not via HTML.
",
- "F16": "
It is important that the user has control of the content in movement, namely that can stop it.
",
- "F17": "
The accesskey attributes need to obtain unique values, otherwise the result can be irregular from one technology to another one.
",
- "F24": "
There is no need that the font colour and the background colour be defined in the same CSS rule but is recommended. This is the only way to guarantee that the user gets the desired contrast.
",
- "F25": "
It is defined as a failure condition always that a webpage has a title equal to a title from other webpage in the same website. Each page should have a unique title which identifies the contents purpose.
",
- "F30": "
In the <code>alt</ code> attribute of the <code>img</ code> element I found the image file name or one of the following values: \"img\", \"image\", \"spacer\", \"space\", \"picture \", \"alt\", \"alttext\", \"imagen\", \"imagem\", \"foto\", \"photo\", or one of the following image file extensions .jpg, .jpeg, .gif, .png. None of the elements referred above serves as an alternative textual equivalent.
",
- "F4": "
Some user groups, particularly those who have disturbs that cause attention deficit, find in the shinning content distraction elements, making dificult the concentration capacity in the other parts of the webpage.
",
- "F40": "
The value \"refresh\" should be used carefully, as it takes the control of a page away from the user.
",
- "F41": "
The value \"refresh\" should be used carefully, as it takes the control of a page away from the user.
",
- "F46": "
I suspect that I might find data tables which is missing headings identification. Otherwise, it could be layout tables and in this case have a title, which you must remove.
",
- "F47": "
Some user groups, particularly those who have disturbs that cause attention deficit, find in the shinning content distraction elements, making difficult the concentration capacity in the other parts of the webpage.
",
- "F49": "
When linearized the tables check if the content is perceptible.
",
- "F52": "",
- "F54": "
Check if you use the event manipulators onDblClick e/ou onMouseMove. When using event manipulators which depend on mouses, or \"depending on pointing devices\", the users who need to use the keyboard or other alternative input devices that work as emulated keyboards, will be unable to access.
",
- "F55": "
Scroll the edition fields and check if the focus is inhibited by programation techniques. When removing the focus of the content, this becomes no longer operable by those who use only keyboard to navigate.
",
- "F59": "
The generic elements as <div> and <span> don't have a predefined role. When using these generic elements to create the user interface controls in HTML, the Assistive Technologies don't have enogh information to describe and interact with the controls, namely if doesn't define a \"role\" with ARIA techniques.
",
- "F65": "
Verify if the alternative textual equivalent found in the graphic buttons serves the equal information or function performed by the graphic button on the page.
",
- "F68": "
It isn't mandatory to exist always an explicit relation between the edition fields (<input>) and the labels (<label>) but it always be useful to the Assistive Technologies that this relation be established. Therefore, each <label> element must have the for attribute.
",
- "F77": "
Duplicates ids attributes can cause undesirable behaviors. The ids are content uniques identifiers and that's why are unrepeatable. They can serve to point content or define relations between content parts.
",
- "F84": "
It is important that the users be able to determine the link purpose and destiny without the need to access to content where is located. There are users whose Assistive Technologies provide them all the webpage links presented in list, without any content.
",
- "F88": "
Some persons with low vision and persons with cognitive impairements have big difficulty in dealing with the text blocks when are justified.
",
- "F89": "
This fail occurs always that a link is composed by an image and that image has an empty nature as alternative textual equivalent - I suspect that the Assistive Technologies' users don't know their destiny or purpose, or may even don't realize the existence of the link.
",
- "G1": "
Make available at the top of the webpage a link that allows skipping directly to the main content of the webpage. This link facilitates the navigation to many users, namely those who use scanning selection software. These users use vision to read information so the links must be always visible ou become visible when receiving the focus.
",
- "G102": "
Mark the abbreviations and/or acronyms with the respective extension. In the HTML5 case it is used the <code>abbr</code> element to mark abbreviations or acronyms. For instance: <abbr title=\"Fundação para a Ciência e a Tecnologia\">FCT</abbr>
",
- "G115": "
With the appearance of the CSS all the HTML elements used to control styles of the webpages became obsolete. Elements as: b, big, blink, center, font, i, s, strike, u became obsolete - use CSS to replace them.
",
- "G123": "
Check if the links that I found provide the most suitable skips to the content; if they are always visible or if become visible when receiving focus by keyboard.
",
- "G125": "
The WWW nature is to provide links on webpages to other related webpages. It is this that allow to users navigate information. One webpage without links is strange, at first sight!
",
- "G130": "
The headers must be descriptive but at the same time brief. Its content, in any situation, should never be null - it is what's happening in this case.
",
- "G134": "
HTML errors are one of the causes of the webpages be presented in a inconsistent way in the different browsers. To meet a specification and to validate the syntax according to that specification enhances the consistency and the correct interpretation from the technologies, namely the Assistive Technologies.
",
- "G140": "
With the appearance of the CSS all the HTML attributes used to control styles of the webpages became obsolete. Attributes as: align, hspace, vspace, color, face, size (in the elements basefont, font), text, link, alink, vlink, bgcolor, background became obsolete - use CSS to replace them.
",
- "G141": "
The web pages must be marked with a hierarchical structure of headers and subheadings. Each page should have, at least, one header level 1. The level 2 should mark the sections and the level 3 the subsections of these. This same logic must be applied until to the subsections of level 6.
",
- "G145": "
According to the success criteria 1.4.3, the ratio 3 to 1 corresponds to the minimum for text \"in large size\" (18pt or 14 pt bold, or larger). I remind that for the size of normal font the minimum ratio is 4,5 to 1.
",
- "G146": "
Zoom 200% the screen and check that all the content is visible without the need to make horizontal scannings.
",
- "G162": "
The labels must be positioned just before the fields. The labels to the fields of checkbox list types and the radio buttons type should be positioned just after the fields.
",
- "G88": "
The <title> of each webpage should: (1) identify the page subject; (2) make sense when readable out of context; (3) be short.
",
- "G90": "
You must ensure that the javascript events are activated not only by mouse but also by keyboard. Check the pairs of manipulators: mousedown/keydown, mouseup/keyup, mouseover/focus, mouseout/blur. Note: The AccessMonitor doesn't check the pair onclick / onkeypress because considers that the browsers support the onclick also when using only the keyboard. This test is classified correct only when there aren't errors in the other tests of checked manipulators.
",
- "H2": "
When adjacent links point to exactly the same resource, we can put them together in just one link. Usually, in these situations, we have the visual sensation of having one single link but in case of some Assistive Technologies' users they emerge duplicates, what can be confusing.
",
- "H24": "
Check if the alternative textual equivalent that exists in the active areas in the images map serves information ou has the function equal to the one performed by the image map on the page.
",
- "H25": "
Take note that the <title> element should only appear once in the webpage.
",
- "H27": "
Always that you use an <object> element, make available the alternative textual equivalent in the element body.
",
- "H32": "
After being filled, it is necessary to submit the form data to the server. This is the function of the submit button.
",
- "H33": "
The title attribute is used to provide additional information to that one existent in the text link. The attribute title and the text of the link should be sufficient to understand the link purpose.
",
- "H35": "
Each applet element should contain one alternative textual equivalent in its body and a textual equivalent in its alt attribute. It is important using both mechanisms since the user agents support in an inconsistent way the alt attribute and the alternative text positioned in the body of <applet>.
",
- "H36": "
The <input> element is used to create many types of form controls. Despite of the DTD of HTML and XHTML allow the use of alt attribute in all its elements, the alt attribute should be used, in case of the <input> element, only in the graphical buttons.
",
- "H37": "
Verify if the alternative textual equivalent found in the images serves the equal information or function performed by the image on the page.
",
- "H39": "
I suspect that I might find data tables which is missing title identification <caption>.
",
- "H42": "
The web pages must be marked with a hierarchical structure of headers and subheadings. Each page should have, at least, one header level 1. The level 2 should mark the sections and the level 3 the subsections of these. This same logic must be applied until to the subsections of level 6.
",
- "H43": "
In complex data tables (with headings in various rows) it is important to associate explicitly the data cells to the various headings which contextualize them. That association is done with the headers attribute.
",
- "H44": "
The <label> elements associated to the <input> elements allow the Assistive Technologies users to identify the label that contextualize an edition field. The explicit association is done by the pair of id and dor attributes, respectively, from the <input> and <label> elements.
",
- "H45": "
The longdesc attribute must be composed by an URL that points the localization where its found the long description - it can be to other page or a bookmark to a page.
",
- "H46": "
When we use the <embed> element we have to make available an alternative textual equivalent <noembed>. The element <noembed> is only showed if the <embed> element is not supported.
",
- "H48": "
If the content that I identified is, in fact, a list of options then use the correct structural marking (i.e. <ul>, <ol>).
",
- "H51": "
Despite the WCAG do not prohibit the use of layout tables it is recommended not to use them. If the tables used contain data then mark the heading cells conveniently.
",
- "H57": "
The HTML just has the lang attribute. The XHTML 1.1 just allows the xml:lang. The XHTML 1.0 (as a transitional measure) allows both attributes. The XHTML served as text/html uses the lang and xml:lang attributes of the html element.
",
- "H59": "
Check if in each of the <link> elements, that exist in the <head> of the webpage, the href points to an apropriated resource.
",
- "H63": "
The scope attribute identifies if a cell constitutes a heading of a line, of a column, of a group of lines or of a group of columns. The values row, col, rowgroup and colgroup identify respectively the values that the scope may assume.
",
- "H64": "
The frames are windows where is possible to see the content coming from another server. It is important to identify conveniently those frames. Use the title attribute to that purpose!
",
- "H65": "
To fill the edition fields, the users need that those be identified. It can be an explicit identification (marked in the code) or implicit (usually derived from the relative position). Explicitly it can be done by the <label> element or by the title attribute of the <input> element.
",
- "H71": "
The form controls can be grouped, according its purpose, through the <fieldset> element. The first element inside of <fieldset> should be the <legend>, which acts as label or description to the grouping.
",
- "H73": "
I suspect that I might find data tables which content is in <caption> element is the same in the summary attribute.
",
- "H88": "
The DTD defines the version of HTML grammar that is being used on the webpage. Its non existence make the users agents enter in a guess process of the best way to interpret the code. This makes to increase the probability of the inconsistency in the way the content is presented.
",
- "SCR20": "
You must ensure that the javascript events are activated not only by mouse but also by keyboard. Check the pairs of manipulators: mousedown/keydown, mouseup/keyup, mouseover/focus, mouseout/blur. Note: The AccessMonitor doesn't check the pair onclick / onkeypress because considers that the browsers support the onclick also when using only the keyboard.
",
- "H50": "
To group related links to each other is a facilitating action of navigation. To group, we can use lists - <ul>; <ol> - or the <map> element usual in the marking of images map.
"
- },
- "TECHFAIL": {
- "relationF": "This WCAG 2.1 failure is related to:",
- "relationT": "This WCAG 2.1 technique is related to:"
- }
-}
diff --git a/dist/access-monitor-plus/assets/i18n/Norwegian.json b/dist/access-monitor-plus/assets/i18n/Norwegian.json
deleted file mode 100644
index 74e97628..00000000
--- a/dist/access-monitor-plus/assets/i18n/Norwegian.json
+++ /dev/null
@@ -1,850 +0,0 @@
-{
- "HEADER": {
- "logo_alt": "AccessMonitor - an web accessibility evaluator",
- "NAV": {
- "location": "Du er i",
- "ecosystem": "Økosystem",
- "results": "Resultater",
- "code": "Sidekode"
- },
- "line_text": "The web accessibility practice evaluator (WCAG 2.1)",
- "sidebar": {
- "evaluation": "Evalueringsrapport"
- },
- "evaluate_new_page": "Evaluate new page",
- "dialog": {
- "home": "Home",
- "insert_url": "Insert URL",
- "insert_html": "Insert HTML code",
- "upload_html": "Upload HTML file",
- "report": "Evaluation report"
- },
- "DROPDOWN": {
- "ecosystem": "Ecosystem",
- "text": "Sites and tools to support accessibility and usability, to ensure promotion good practices and improve the experience of using digital services.",
- "external_link": "external link",
- "accessibility": {
- "text": "Dissemination, sharing and promotion of best accessibility practices for web content and mobile applications.",
- "link1": "DL n.º 83/2018 - accessibility of the web and mobile applications",
- "link2": "Generate the Accessibility Statement",
- "link3": "AccessMonitor Validator"
- },
- "usability": {
- "text": "Resources, tools and good practices to improve the usability and experience of using digital services.",
- "link1": "Usability Guide",
- "link2": "Verification list",
- "link3": "Components",
- "link4": "Templates"
- },
- "badge": {
- "text": "Seal of excellence that rewards good accessibility and usability practices on public service websites.",
- "link1": "How to get the badge",
- "link2": "Support kit",
- "link3": "Candidacy",
- "link4": "Declaration of accessibility and usability"
- }
- }
- },
- "HOME_PAGE": {
- "header": "Få en tilgjengelighetsrapport ved hjelp av en av følgende metoder",
- "intro_text": "Access our web accessibility practice (WCAG 2.1) assessor here. Obtain an accessibility report using one of the following methods:",
- "tabs": {
- "url": "Sett inn URL",
- "input": "Sett inn HTML-kode",
- "file": "Last opp HTML-fil"
- },
- "url_label": "Skriv inn url her",
- "url_hint": "Eksempel: http://www.google.com",
- "url_error": "Skriv inn en gyldig url. F.eks http://www.google.com",
- "html_label": "Skriv inn HTML-kode her",
- "html_placeholder": "Insert HTML code here",
- "file_label": "Velg Fil",
- "file_name_label": "Filnavn",
- "submit": "Evaluer",
- "messages": {
- "invalid_url": "Den oppgitte url-adressen er ugyldig eller eksisterer ikke"
- }
- },
- "RESULTS": {
- "title": "Tilgjengelighetsrapport (W3C WCAG 2.1)",
- "actions": {
- "back": "Gå tilbake",
- "re_evaluate": "Evaluer siden på nytt",
- "download": "Download data",
- "see_page": "See page",
- "pagecode": "Se sidekode",
- "open_webpage": "Åpne nettsiden"
- },
- "summary": {
- "title": "Sammendrag",
- "subtitle": "Metadata",
- "score": "Score",
- "metadata": {
- "title_label": "Tittel",
- "n_elements_label": "(x)HTML elements",
- "page_size_label": "Sidestørrelse",
- "last_update_label": "Sist oppdatert",
- "validator": "We couldn't contact the W3C html markup validator",
- "caption": "Evaluated practices summary"
- },
- "table": {
- "title": "practices found",
- "labels": {
- "p": "P",
- "ok": "Akseptabelt",
- "err": "Ikke akseptabelt",
- "warn": "Må vurderes manuelt"
- }
- }
- },
- "results": {
- "title": "Evaluering",
- "subtitle": "praksis oppdaget, som kan klassifiseres etter:",
- "grade": "Grad",
- "tabs": {
- "A": "Utmerket",
- "B": "Flott",
- "C": "Bra",
- "D": "Gjennomsnittlig",
- "E": "Dårlig",
- "F": "Veldig dårlig",
- "score_table": "Poengtavle"
- },
- "caption": "Evaluated practices",
- "sc": "Suksesskriterier",
- "practice": "Praksis funnet",
- "lvl": "Nivå",
- "details": "See detail",
- "understanding": "Vurdering av SK",
- "alt_rowerr": "Ikke akseptabelt:",
- "alt_rowwar": "Må vurderes manuelt:",
- "alt_rowok": "Akseptabelt:",
- "alt_see": "See results from the practice:"
- },
- "scoreboard": {
- "level": "Nivå",
- "sc": "Suksesskriterium",
- "description": "Beskrivelse"
- }
- },
- "ELEMENT_RESULTS": {
- "subtitle": "Test results",
- "elements_tab": "Elementer",
- "page_tab": "Side",
- "total_elements": "Antall elementer:",
- "inline_css_tab": "Inline CSS",
- "embedded_css_tab": "Innebygd CSS",
- "caption": "Result {{ value }} of the practice",
- "result": {
- "element": "Element:",
- "attributes": "Attributter:",
- "content": "Innhold/tekst:",
- "code": "Kode:",
- "file": "Fil:",
- "description": "Beskrivelse:",
- "line": "Linje:",
- "location": "Plassering:",
- "property": "Property:",
- "value": "Verdi:"
- }
- },
- "CODE": {
- "subtitle": "Sidekode",
- "actions": {
- "download_code": "Last ned kode",
- "open_webpage": "Åpne nettsiden"
- }
- },
- "FOOTER": {
- "accessibility": "Accessibility",
- "terms": "Terms and Conditions",
- "privacy": "Privacy policy",
- "options": "Visualization options",
- "glossary": "Glossary",
- "language": "Språk",
- "link": "Administrative Modernization Agency",
- "rights": "Alle rettigheter forbeholdt."
- },
- "LANGUAGES": {
- "Portuguese": "Português",
- "English": "English",
- "Norwegian": "Norsk"
- },
- "MISC": {
- "skip_to_main": "Hopp til hovedinnholdet",
- "loading": "Laster",
- "required_field": "Dette feltet er påkrevd",
- "message_close": "Lukk",
- "unexpected_error": "En uventet feil har oppstått. Prøv igjen senere.",
- "error_contact": "Hvis problemet vedvarer, vennligst kontakt oss...",
- "go_to_top": "Gå til toppen",
- "_404": {
- "title": "Feilkode 404",
- "description": "Siden du prøvde å nå eksisterer ikke.",
- "homepage": "Gå tilbake til hjemmesiden"
- },
- "messages": {
- "data_error": "Det har oppstått en feil under forsøket på å hente inn brukerdata",
- "data_table_error": "En feil har oppstått ved forsøk på å laste datatabellen"
- }
- },
- "ELEMS": {
- "a": "Linker",
- "aAdjacentSame": "Like linker fører til samme destinasjon.",
- "aImgAltNo": "Links where the only content is an image with null alt or no caption",
- "aSameText": "Links with the same text that point to different destinations",
- "aSkip": "Links to bypass content blocks",
- "aSkipFirst": "Link to skip to main content",
- "aTitleMatch": "Links with the same text in content and title attribute",
- "aGroupNo": "Group of 10 or more links non-grouped by structural elements",
- "abbrNo": "Elements abbr or acronym without definition",
- "acckeyRep": "accesskey attributes with duplicate values",
- "applet": "Elements applet",
- "appletAltNo": "applet elements without alternative text",
- "area": "Active Zones of an Image Map",
- "areaAltNo": "Image map areas without alt",
- "blink": "Elements blink",
- "brSec": "Sequence of elements br",
- "colorContrast": "Color combinations with a contrast ratio less than 3: 1",
- "colorFgBgNo": "CSS rules in which the background color and/or letter color are not specified simultaneously",
- "cssBlink": "CSS property text-decoration with value blink",
- "dtd": "DTD - Document Type Definition",
- "ehandBoth": "Redundant event handlers",
- "ehandBothNo": "Non-redundant event handlers",
- "ehandMouse": "Mouse specific event handlers",
- "ehandTagNo": "Events associated with non-interactive elements",
- "ehandler": "Event Manipulators",
- "embed": "Elements embed",
- "embedAltNo": "Elements embed without noembed",
- "fieldLegNo": "Elements fieldset without description",
- "fieldNoForm": "fieldset elements used outside a form",
- "focusBlur": "Scripts to remove focus",
- "fontAbsVal": "Font sizes defined in absolute units of measure",
- "fontHtml": "Elements and Attributes (X) HTML to format the Text of pages (eg basefont, font, link, and alink)",
- "fontValues": "Font sizes defined in CSS",
- "form": "Forms with the submit button",
- "formSubmitNo": "Forms without the submit button",
- "frame": "Elements frame",
- "frameDtdNo": "Document frameset with incorrect or missing doctype",
- "frameTitleNo": "Elements frame without títle",
- "frameset": "Document frameset",
- "h1": "Page Header (h1)",
- "hx": "Headers (h1 - h6)",
- "hxHasAName": "Headings have accesible name",
- "hxNo": "Headers (h1 ~ h6) without descriptive content",
- "hxSkip": "Headers with incorrect hierarchical-level jumpers",
- "hxWithoutAName": "Headings without accessible name",
- "id": "Elements with the attribute id",
- "idRep": "Attributes id with duplicate values",
- "iframe": "Elements iframe",
- "iframeTitleNo": "iframe elements without title",
- "img": "Images with equivalent alternative in text",
- "imgAltLong": "Images with a long attribute alt",
- "imgAltNo": "Images without equivalent alternative in text",
- "imgAltNot": "Images with incorrect alternative text",
- "imgAltNull": "Images with null alt",
- "inpImg": "Graphic buttons",
- "inpImgAltNo": "Graphic buttons without alt",
- "inputAltNo": "input elements with alt",
- "inputIdTitleNo": "Form controls without label [label] associated and without the attribute title",
- "inputLabel": "Form controls that have explicitly associated a label (label)",
- "inputLabelNo": "Form controls without associated labels",
- "justifiedCss": "Justified text with CSS",
- "justifiedTxt": "Justified text with (X)HTML attributes",
- "label": "Elements label",
- "labelForNo": "Elements label without explicit association",
- "labelPosNo": "Incorrectly positioned label elements",
- "labelTextNo": "Elements label without text content",
- "lang": "Main page language",
- "langCodeNo": "Wrong language code",
- "langExtra": "Attributes lang or xml: lang not allowed",
- "langMatchNo": "Unmatched language selections",
- "langNo": "Unlisted main language",
- "layoutAttr": "(X)HTML attributes to format page layout (eg align, hspace and bgcolor)",
- "layoutElem": "(X)HTML elements to format page layout (eg blink and center)",
- "layoutFixed": "Elements with absolute values in CSS property \"width\"",
- "liNoList": "List items used outside of lists",
- "lineHeightNo": "Incorrect line spacing",
- "linkRel": "link elements for navigation",
- "longDImg": "longdesc attributes in img",
- "longDNo": "longdesc attributes with incorrect values",
- "marquee": "Elements marquee",
- "metaRedir": "meta element to redirect users",
- "metaRefresh": "meta element to restart the page",
- "newWinOnLoad": "New window once the page loads",
- "object": "Elements object",
- "objectAltNo": "Elements object without alt text",
- "scopeNo": "Invalid values for the attribute scope",
- "table": "Tables",
- "tableCaptionSummary": "Tables with the same text in the caption element and the summary attribute",
- "tableComplex": "Complex data tables",
- "tableComplexError": "Complex data tables without the headers attribute in the data cells",
- "tableData": "Data tables",
- "tableDataCaption": "Data tables without the caption element",
- "tableLayout": "Tables without headers cells (i.e. th elements)",
- "tableLayoutCaption": "Tables without headers cells, but with the caption element",
- "tableNested": "Threaded tables",
- "titleChars": "Title with non-textual string (probably ASCII art)",
- "titleLong": "Number of characters in the title element",
- "titleNo": "Non-existent title element",
- "titleNull": "Element title without textual content",
- "titleOk": "Page Title",
- "titleSame": "Repeated page title on other pages of the site",
- "titleVrs": "Elements title",
- "valueAbsCss": "Absolute units of measure in CSS",
- "valueAbsHtml": "Absolute units of measure in (X)HTML",
- "valueRelCss": "Relative units of measure in CSS",
- "valueRelHtml": "Relative units of measure in (X)HTML",
- "w3cValidator": "(X)HTML validation ",
- "w3cValidatorErrors": "(X)HTML validation errors"
- },
- "CSV": {
- "scorerror": "Feil",
- "scorewar": "Advarsel",
- "scoreok": "Suksess",
- "errorType": "Type Feil",
- "level": "Nivå",
- "criteria": "Kriterium",
- "desc": "Beskrivelse",
- "count": "Antall forekomster",
- "value": "Value",
- "date": "Date"
- },
- "TESTS_RESULTS": {
- "a_01a": {
- "s": "Jeg fant ut at den første lenken til nettsiden lar oss hoppe til hovedinnholdet.",
- "p": "Jeg fant ut at den første lenken til nettsiden lar oss hopp til hovedinnholdet."
- },
- "a_01b": {
- "s": "Jeg fant ut at den første lenken til nettsiden ikke lar oss hoppe til hovedinnholdet.",
- "p": "Jeg fant ut at den første lenken til nettsiden ikke lar oss hoppe til hovedinnholdet."
- },
- "a_02a": {
- "s": "Jeg fant ikke lenke for å hoppe over tekstblokker.",
- "p": "Jeg fant ikke lenker for å hoppe over tekstblokker."
- },
- "a_02b": {
- "s": "Jeg fant en {{value}} lenke for å hoppe over tekstblokker.",
- "p": "Jeg fant {{value}} lenker for å hoppe over tekstblokker."
- },
- "a_03": {
- "s": "Jeg fant{{value}} linker med tomt innhold. Faktisk består den bare av et bilde med tomt tekstalternativ (dvs. alt=ʺʺ).",
- "p": "Jeg fant {{value}} linker med tomt innhold. Faktisk består den bare av et bilde med tomt tekstalternativ (dvs. alt=ʺʺ)."
- },
- "a_04": {
- "s": "Jeg fant ut at denne siden har ingen linker.",
- "p": "Jeg fant ut at denne siden har ingen linker."
- },
- "a_05": {
- "s": "Jeg identifiserte {{value}} tilfelle der title attributtet for lenkeelementet gjentar bare teksten som finnes i lenken.",
- "p": "Jeg identifiserte {{value}} tilfeller der title attributtet for lenkeelementet gjentar bare teksten som finnes i lenken."
- },
- "a_06": {
- "s": "Jeg fant {{value}} tilfelle av like lenke som som peker til samme destinasjon.",
- "p": "Jeg fant {{value}} tilfeller av like lenker som som peker til samme destinasjon."
- },
- "a_09": {
- "s": "Jeg fant {{value}} lenker med samme tekst, men som peker til ulik destinasjon.",
- "p": "Jeg fant {{value}} lenker med samme tekst, men som peker til ulik destinasjon."
- },
- "abbr_01": {
- "s": "Jeg fant {{value}} abbreviation in which the extension was forgotten.",
- "p": "Jeg fant {{value}} abbreviations in which the extensions were forgotten."
- },
- "akey_01": {
- "s": "Jeg fant {{value}} repeated values in the accesskey attributes.",
- "p": "Jeg fant {{value}} repeated values in the accesskey attributes."
- },
- "applet_01": {
- "s": "Jeg fant {{value}} <applet> element without the alternative textual equivalent.",
- "p": "Jeg fant {{value}} <applet> elements without the alternative textual equivalent."
- },
- "area_01a": {
- "s": "Jeg fant that all active <area> of the webpage image maps use the alt attribute.",
- "p": "Jeg fant that all active <area> of the webpage image maps use the alt attribute."
- },
- "area_01b": {
- "s": "Jeg fant that {{value}} <area> element without alt attribute or alt=\"\".",
- "p": "Jeg fant that {{value}} <area> elements without alt attribute or alt=\"\"."
- },
- "blink_01": {
- "s": "Jeg fant {{value}} <blink> element on the webpage what causes the shinning of content parts.",
- "p": "Jeg fant {{value}} <blink> elements on the webpage what causes the shinning of content parts."
- },
- "blink_02": {
- "s": "Jeg fant {{value}} <blink> value in the CSS what causes the shinning of content parts.",
- "p": "Jeg fant {{value}} <blink> values in CSS what causes the shinning of content parts."
- },
- "br_01": {
- "s": "Jeg fant {{value}} sequences composed by 3 or more <br> elements - I suspect that are being used to represent the list items.",
- "p": "Jeg fant {{value}} sequences composed by 3 or more <br> elements - I suspect that are being used to represent the list items."
- },
- "color_01": {
- "s": "I identified {{value}} CSS rule that does not specify either the font color or the background color.",
- "p": "I identified {{value}} CSS rules that do not specify either the font color or the background color."
- },
- "color_02": {
- "s": "I located {{value}} color combination which contrast relation is lower than the minimum contrast ratio allowed by the WCAG, it means 3 to 1.",
- "p": "I located {{value}} color combinations which contrast relation is lower than the minimum contrast ratio allowed by the WCAG, it means 3 to 1."
- },
- "css_01": {
- "s": "I identified {{value}} case where CSS specifies a spacement between lines less than 1.5.",
- "p": "I identified {{value}} cases where CSS specifies a spacement between lines less than 1.5."
- },
- "dtd_01": {
- "s": "Jeg observerte at the Document Type Definition (DTD) does not exist.",
- "p": "Jeg observerte at the Document Type Definition (DTD) does not exist."
- },
- "ehandler_01": {
- "s": "Jeg fant {{value}} case in which is using event manipulators that depend on mouse.",
- "p": "Jeg fant {{value}} cases in which are using event manipulators that depend on mouse."
- },
- "ehandler_02": {
- "s": "I identified {{value}} case where redundant event manipulators is not used.",
- "p": "I identified {{value}} cases where redundant event manipulators are not used."
- },
- "ehandler_03": {
- "s": "I identified {{value}} case where redundant event manipulators are used.",
- "p": "I identified {{value}} cases where redundant event manipulators are used."
- },
- "ehandler_04": {
- "s": "I identified {{value}} case in which event manipulators are associated with non-interactive elements.",
- "p": "I identified {{value}} cases in which event manipulators are associated with non-interactive elements."
- },
- "embed_01": {
- "s": "Jeg fant {{value}} <embed> element without alternative equivalent content.",
- "p": "Jeg fant {{value}} <embed> elements without alternative equivalent content."
- },
- "field_01": {
- "s": "Jeg fant {{value}} <fieldset> element without any description.",
- "p": "Jeg fant {{value}} <fieldset> elements without any description."
- },
- "field_02": {
- "s": "Jeg fant {{value}} <fieldset> element out of the form.",
- "p": "Jeg fant {{value}} <fieldset> elements out of the form."
- },
- "focus_01": {
- "s": "Jeg fant {{value}} case where javascript is used to remove the focus from the field, whenever the field receives the focus.",
- "p": "Jeg fant {{value}} cases where javascript is used to remove the focus from the field, whenever the field receives the focus."
- },
- "font_01": {
- "s": "I located {{value}} HTML element or attribute that is being used to control the visual text presentation.",
- "p": "I located {{value}} HTML elements or attributes that are being used to control the visual text presentation."
- },
- "font_02": {
- "s": "I identified {{value}} case where the font size is expressed in absolute measure units.",
- "p": "I identified {{value}} cases where the font size is expressed in absolute measure units."
- },
- "form_01a": {
- "s": "Jeg observerte at all the forms have a button to submit the data to the server.",
- "p": "Jeg observerte at all the forms have a button to submit the data to the server."
- },
- "form_01b": {
- "s": "I identified {{value}} form without the button to submit the data to the server.",
- "p": "I identified {{value}} forms without the button to submit the data to the server."
- },
- "frame_01": {
- "s": "I identified {{value}} frame element without the title attribute or even null.",
- "p": "I identified {{value}} frames elements without the title attribute or even null."
- },
- "frame_02": {
- "s": "Jeg observerte at the webpage is based on a frame structure but it uses an incorrect DTD acronym> declaration.",
- "p": "Jeg observerte at the webpage is based on a frame structure but is uses an incorrect DTD acronym> declaration."
- },
- "heading_01": {
- "s": "I observed that all the headings in this page have an accessible name.",
- "p": "I observed that all the headings in this page have an accessible name."
- },
- "heading_02": {
- "s": "I have identified 1 heading without an accessible name.",
- "p": "I have identified {{value}} headings without an accessible name."
- },
- "hx_01a": {
- "s": "Jeg la merke til at denne siden ikke har overskrifter.",
- "p": "Jeg la merke til at denne siden ikke har overskrifter."
- },
- "hx_01b": {
- "s": "Jeg fant {{value}} overskrift på siden.",
- "p": "Jeg fant {{value}} overskrifter på siden."
- },
- "hx_01c": {
- "s": "I didn't find on this page a main header <H1> marked.",
- "p": "I didn't find on this page a main header <H1> marked."
- },
- "hx_02": {
- "s": "Jeg fant {{value}} header whose content is only composed by an image without alt attribute, i.e. without any textual equivalent alternative.",
- "p": "Jeg fant {{value}} headers whose content is only composed by an image without alt attribute, i.e. without any textual equivalent alternative."
- },
- "hx_03": {
- "s": "Jeg fant {{value}} case in which the hierarchical sequence of header levels is violated.",
- "p": "Jeg fant {{value}} cases in which the hierarchical sequence of header levels is violated."
- },
- "id_01": {
- "s": "Jeg fant on denne nettsiden {{value}} repeated id.",
- "p": "Jeg fant on denne nettsiden {{value}} repeated ids."
- },
- "iframe_01": {
- "s": "Jeg fant {{value}} <iframe> element without title.",
- "p": "Jeg fant {{value}} <iframe> elements without title."
- },
- "img_01a": {
- "s": "I noticed that all the images on the page have an alternative equivalent in text.",
- "p": "I noticed that all the images on the page have an alternative equivalent in text."
- },
- "img_01b": {
- "s": "Jeg fant {{value}} image on the page without the alternative equivalent in text.",
- "p": "Jeg fant {{value}} images on the page without the alternative equivalent in text."
- },
- "img_02": {
- "s": "Jeg fant {{value}} bilde på siden med alt=\"\" (alt null).",
- "p": "Jeg fant {{value}} bilder på siden med alt=\"\" (alt null)."
- },
- "img_03": {
- "s": "Jeg fant {{value}} image on the page with an alt that doesn't serve as an alternative equivalent.",
- "p": "Jeg fant {{value}} images on the page with an alt that doesn't serve as an alternative equivalent."
- },
- "img_04": {
- "s": "Jeg fant {{value}} bildet på siden med mer enn 100 tegn i alt.",
- "p": "Jeg fant {{value}} bilder på siden med mer enn 100 tegn i alt."
- },
- "inp_img_01a": {
- "s": "I noticed that all the graphic buttons on the page make use of the alt attribute.",
- "p": "I noticed that all the graphic buttons on the page make use of the alt attribute."
- },
- "inp_img_01b": {
- "s": "Jeg fant {{value}} graphic button on the page that doesn't have the alt attribute.",
- "p": "Jeg fant {{value}} graphic buttons on the page that don't have the alt attribute."
- },
- "input_01": {
- "s": "I identified {{value}} form control without the association of <label> element and without the title attribute.",
- "p": "I identified {{value}} form control without the association of <label> elements and without the title attribute ."
- },
- "input_02": {
- "s": "Jeg fant {{value}} form control without any associated <label>.",
- "p": "Jeg fant {{value}} form controls without any associated <label>."
- },
- "input_02b": {
- "s": "Jeg fant that all form controls have an associated <label>.",
- "p": "Jeg fant that all form controls have an associated <label>."
- },
- "input_03": {
- "s": "Jeg fant {{value}} <input> element with the alt attribute that is not a graphical button.",
- "p": "Jeg fant {{value}} <input> elements with the alt attribute that are not graphical buttons."
- },
- "justif_txt_01": {
- "s": "Jeg fant {{value}} case where is used justified text via HTML.",
- "p": "Jeg fant {{value}} cases where is used justified text via HTML."
- },
- "justif_txt_02": {
- "s": "Jeg fant {{value}} case where is used justified text via CSS.",
- "p": "Jeg fant {{value}} cases where is used justified text via CSS."
- },
- "label_01": {
- "s": "I identified {{value}} <label> elements without the for attribute.",
- "p": "I identified {{value}} <label> elements without the for attribute."
- },
- "label_02": {
- "s": "I identified {{value}} <label> elements incorrectly positioned.",
- "p": "I identified {{value}} <label> elements incorrectly positioned."
- },
- "label_03": {
- "s": "Jeg fant {{value}} <label> element without content.",
- "p": "Jeg fant {{value}} <label> elements without content."
- },
- "lang_01": {
- "s": "Jeg sjekket at the webpage main language is marked as \"{{value}}\".",
- "p": "Jeg sjekket at the webpage main language is marked as \"{{value}}\"."
- },
- "lang_02": {
- "s": "Jeg sjekket at the webpage main language is incorrectly marked. Does \"{{value}}\" exists?.",
- "p": "Jeg sjekket at the webpage main language is incorrectly marked. Does \"{{value}}\" exists?."
- },
- "lang_03": {
- "s": "Jeg observerte at {{value}} attribute is missing.",
- "p": "Jeg observerte at {{value}} attribute is missing."
- },
- "lang_04": {
- "s": "Jeg observerte at the lang and / or xml:lang attributes are being used in an incorrectly way.",
- "p": "Jeg observerte at the lang and / or xml:lang attributes are being used in an incorrectly way."
- },
- "lang_05": {
- "s": "Jeg observerte at the document type does not allow the use of the {{value}} attribute.",
- "p": "Jeg observerte at the document type does not allow the use of the {{value}} attribute."
- },
- "layout_01a": {
- "s": "Jeg observerte at there are no obsolete elements used to control the visual presentation.",
- "p": "Jeg observerte at there are no obsolete elements used to control the visual presentation."
- },
- "layout_01b": {
- "s": "Jeg fant {{value}} obsolete element used to control the visual presentation.",
- "p": "Jeg fant {{value}} obsolete elements used to control the visual presentation."
- },
- "layout_02a": {
- "s": "Jeg observerte at there are not obsolete attributes used to control the visual presentation.",
- "p": "Jeg observerte at there are not obsolete attributes used to control the visual presentation."
- },
- "layout_02b": {
- "s": "I located {{value}} obsolete attribute to control the visual presentation.",
- "p": "I located {{value}} obsolete attributes to control the visual presentation."
- },
- "layout_03": {
- "s": "I identified {{value}} case in the CSS where is used px measure unit to define the width of the text boxes.",
- "p": "I identified {{value}} cases in the CSS where are used px measure units to define the width of the text boxes."
- },
- "link_01": {
- "s": "I located {{value}} <link> element that could serve to build a navigation system.",
- "p": "I located {{value}} <link> element that could serve to build a navigation system."
- },
- "list_01": {
- "s": "I found {{value}} occurrence of an empty list or an <li> outside of the list.",
- "p": "I found {{value}} occurrences of an empty lists or an <li> outside of the lists."
- },
- "long_01": {
- "s": "I located {value} longdesc attribute in the images with incorrect content.",
- "p": "I located {value} longdesc attribute in the images with incorrect content."
- },
- "marquee_01": {
- "s": "Jeg observerte at exists content in movement done with the <marquee> element.",
- "p": "Jeg observerte at exists content in movement done with the <marquee> element."
- },
- "meta_01": {
- "s": "Jeg observerte at the webpage restarts automatically through the <meta http-equiv=\"refresh\"> element.",
- "p": "Jeg observerte at the webpage restarts automatically through the <meta http-equiv=\"refresh\"> element."
- },
- "meta_02": {
- "s": "Jeg observerte at the webpage is redirected automatically through the <meta http-equiv=\"redirect\"> element.",
- "p": "Jeg observerte at the webpage is redirected automatically through the <meta http-equiv=\"redirect\"> element."
- },
- "object_01": {
- "s": "I located {{value}} <object> element without the alternative textual equivalent.",
- "p": "I located {{value}} <object> elements without the alternative textual equivalent."
- },
- "scope_01": {
- "s": "Jeg sjekket at there is {{value}} case where the scope attribute from the data table is invalid.",
- "p": "Jeg sjekket at there are {{value}} cases where the scope attribute from the data table is invalid."
- },
- "table_01": {
- "s": "Jeg fant {{value}} table without identified heading but that use the <caption> element.",
- "p": "Jeg fant {{value}} tables without identified heading but that use the <caption> element."
- },
- "table_02": {
- "s": "I located {{value}} data table without the <caption> element",
- "p": "I located {{value}} data tables without the <caption> element"
- },
- "table_03": {
- "s": "I located {{value}} table where the fixed text at <caption> and summary is the same.",
- "p": "I located {{value}} tables where the fixed text at <caption> and summary is the same."
- },
- "table_04": {
- "s": "Jeg sjekket at {{value}} table is inside other table.",
- "p": "Jeg sjekket at {{value}} tables are inside other tables."
- },
- "table_05a": {
- "s": "Jeg fant {{value}} table marked without headings.",
- "p": "Jeg fant {{value}} tables marked without headings."
- },
- "table_06": {
- "s": "Jeg fant {{value}} complex data table where there are data cells without the headers attribute.",
- "p": "Jeg fant {{value}} complex data tables where there are data cells without the headers attribute."
- },
- "title_01": {
- "s": "Jeg sjekket at denne nettsiden does not have only one <title> element, as it was supposed, it has {{value}}. ",
- "p": "Jeg sjekket at denne nettsiden does not have only one <title> element, as it was supposed, it has {{value}}."
- },
- "title_02": {
- "s": "Jeg sjekket at denne nettsiden does not have a title - it is missing the <title> element.",
- "p": "Jeg sjekket at denne nettsiden does not have a title - it is missing the <title> element."
- },
- "title_03": {
- "s": "Jeg sjekket at denne nettsiden does not have a title - the <title> element is empty.",
- "p": "Jeg sjekket at denne nettsiden does not have a title - the <title> element is empty."
- },
- "title_04": {
- "s": "It seems to me that nettsiden title is too large - it contains {{value}} characters.",
- "p": "It seems to me that nettsiden title is too large - it contains {{value}} characters."
- },
- "title_05": {
- "s": "Jeg fant at nettsidens tittel har {{value}} tegn ved siden av hverandre, og ser ut til å være kunst-ASCII.",
- "p": "Jeg fant at nettsidens tiittel har {{value}} tegn ved siden av hverandre, og ser ut til å være kunst-ASCII"
- },
- "title_06": {
- "s": "Jeg fant tittel på nettsiden og den ser ut til å være riktig.",
- "p": "Jeg fant tittel på nettsiden og den ser ut til å være riktig."
- },
- "title_07": {
- "s": "Jeg sjekket at the <title> of denne nettsiden is equal to other webpages from the same website.",
- "p": "Jeg sjekket at the <title> of denne nettsiden is equal to other webpages from the same website."
- },
- "values_01a": {
- "s": "Jeg sjekket at in {{value}} case, where the measure units that define the width of the content elements that exist in the HTML are expressed in absolute values.",
- "p": "Jeg sjekket at in {{value}} cases, where the measure units that define the width of the content elements that exist in the HTML are expressed in absolute values."
- },
- "values_01b": {
- "s": "Jeg sjekket at in {{value}} case the measure units that define the width of the content elements that exist in the HTML are expressed in relative values.",
- "p": "Jeg sjekket at in {{value}} cases the measure units that define the width of the content elements that exist in the HTML are expressed in relative values."
- },
- "values_02a": {
- "s": "Jeg identifiserte {{value}} case in the CSS where is used absolute measure unit to define the width of the content boxes.",
- "p": "Jeg identifiserte {{value}} cases in the CSS where are used absolute measure units to define the width of the content boxes."
- },
- "values_02b": {
- "s": "Jeg identifiserte {{value}} case in the CSS where is used relative measure unit to define the width of the content boxes.",
- "p": "Jeg identifiserte {{value}} cases in the CSS where are used relative measure units to define the width of the content boxes."
- },
- "w3c_validator_01a": {
- "s": "Jeg spurte W3C sin HTML validator og jeg observerte ingen HTML feil.",
- "p": "Jeg spurte W3C sin HTML validator og jeg observerte ingen HTML feil."
- },
- "w3c_validator_01b": {
- "s": "Jeg spurte W3C sin HTML validator og jeg observerte {{value}} HTML feil.",
- "p": "Jeg spurte W3C sin HTML validator og jeg observerte {{value}} HTML feil."
- },
- "win_01": {
- "s": "Jeg fant at denne siden har popup-vindu.",
- "p": "Jeg fant at denne siden har popup-vinduer"
- }
- },
- "TECHS": {
- "C12": "Use percentage for letter sizes",
- "C19": "Specifying Left OR Right Alignment in CSS",
- "C21": "Specify line spacing in CSS",
- "C22": "Use CSS to control the visual presentation of text",
- "C24": "Use percentage values in CSS for box sizes",
- "C9": "Use CSS to include decorative images",
- "F16": "Failure of Success Criterion 2.2.2 due to the inclusion of content on the move, where the movement is not essential to the activity, without also including a mechanism to pause and restart the content",
- "F17": "Failure of Success Criterion 1.3.1 and 4.1.1 due to insufficient information in the DOM to determine one-to-one relationships (eg between tags with the same id) in HTML",
- "F24": "Failure of Success Criterion 1.4.3, 1.4.6 and 1.4.8 due to specifying foreground colors without specifying background colors and vice versa",
- "F25": "Failure of Success Criterion 2.4.2 because the title of a Web page does not identify the contents",
- "F30": "Failure of Success Criteria 1.1.1 and 1.2.1 due to the use of text alternatives that are not alternatives (eg, file names or placeholder text)",
- "F4": "Failure of Success Criterion 2.2.2 due to the use of text-decoration",
- "F40": "Failure of Success Criterion 2.2.1 and 2.2.4 due to the use of a redirect goal with a time limit",
- "F41": "Failure of Success Criterion 2.2.1, 2.2.4, and 3.2.5 due to the use of a meta refresh with a timeout exceeded",
- "F46": "Failure of Success Criterion 1.3.1 due to use of th elements, caption elements, or non-empty summary attributes in schema tables",
- "F47": "Failure of Success Criterion 2.2.2 due to the use of the blink element",
- "F49": "Failure of Success Criterion 1.3.2 due to the use of an HTML schema table that does not make sense when linearized",
- "F52": "Failure of Success Criterion 3.2.1 due to the presentation of a new window as soon as a new page is loaded",
- "F54": "Failure of Success Criterion 2.1.1 due to use only of event handlers specific to the pointing device (including gestures) for a function",
- "F55": "Failure of Success Criterion 2.1.1, 2.4.7 and 3.2.1 due to using script to remove focus when focus is received",
- "F59": "Failure of Success Criterion 4.1.2 due to using script to make a div or a span in an HTML user interface control",
- "F65": "Failure of Success Criterion 1.1.1 due to omission of the alt attribute in img elements, area elements, and input elements of type \"image\"",
- "F68": "Failure of Success Criterion 1.3.1 and 4.1.2 due to association of label controls and user interface that are not programmatically determinable",
- "F77": "Failure of Success Criterion 4.1.1 due to duplication of values of type ID",
- "F84": "Failure of Success Criterion 2.4.9 due to the use of a non-specific link, such as \"click here\" or \"more\" without a mechanism to change link text to specific text",
- "F88": "Failure of Success Criterion 1.4.8 due to the use of justified text (aligned to the left and right margins)",
- "F89": "Failure of Success Criterion 2.4.4, 2.4.9 and 4.1.2 due to the use of null alt in an image where the image is the only content in a link",
- "G1": "Add a link at the top of each page to directly access the main content area",
- "G102": "Provide the full definition or explanation of an abbreviation",
- "G115": "Use semantic elements to mark structure",
- "G123": "Add a link at the beginning of a block of repeated content to directly access the end of the block",
- "G125": "Provide links to navigate to related Web pages",
- "G130": "Provide descriptive headers",
- "G134": "Validate web pages",
- "G140": "Separate information and presentation structure to allow different presentations",
- "G141": "Organize a page using headers",
- "G145": "Ensure a contrast ratio of at least 3",
- "G146": "Use liquid provisions",
- "G162": "Placing labels to increase the predictability of relationships",
- "G88": "Provide descriptive titles for web pages",
- "G90": "Provide keyboard-driven event handlers",
- "H2": "Combine the adjacent image and text links for the same resource",
- "H24": "Provide text alternatives to the image area area elements",
- "H25": "Provide a title using the title element",
- "H27": "Providing alternatives in text and non-text format for object",
- "H32": "Provide Submit buttons",
- "H33": "Providing add-ins to link text with the title attribute",
- "H35": "Providing text alternatives in applet elements",
- "H36": "Use alt attributes in images used as Submit buttons",
- "H37": "Use alt attributes in img elements",
- "H39": "Use caption elements to associate titles with data tables",
- "H42": "Use h1-h6 to identify headers",
- "H43": "Use the id and headers attributes to associate data cells with header cells in data tables",
- "H44": "Using label elements to associate text labels with form controls",
- "H45": "Use longdesc",
- "H46": "Using noembed with embed",
- "H48": "Use ol, ul and dl for lists",
- "H51": "Use table marking to present information arranged in tables",
- "H57": "Use language attributes in html element",
- "H59": "Use the link element and navigation tools",
- "H63": "Use the scope attribute to associate header cells with data cells in data tables",
- "H64": "Using the title attribute of the frame and the iframe elements",
- "H65": "Use the title attribute to identify form controls when the label element can not be used",
- "H71": "Provide a description for groups of form controls using fieldset and legend elements",
- "H73": "Use the summary attribute of the table element to provide an overview of the data tables",
- "H88": "Use HTML to specification",
- "SCR20": "Using the keyboard and other device-specific functions"
- },
- "TXT_TECHNIQUES": {
- "C12": "
When the text size is expressed in absolute units there are browsers that will have difficulty in zoom the text.
",
- "C19": "
Some persons with low vision and persons with cognitive impairments have big difficulty in dealing with the text blocks when are justified.
",
- "C21": "
Many people with cognitive disability have difficulty to follow the text lines when the text has a simple spacement. To use a spacement between 1,5 and 2, will help them when skipping lines.
",
- "C22": "
This practice is obsolete. Instead of it, you should use the CSS to control the visual text presentation. When this error occurs is because you are using inside the <body> element of the webpage, the elements: b, basefont, font, i, s, strike, u, or the attributes: text, vlink, alink, link.
",
- "C24": "
Zoom 200% the screen and check that all the content is visible without the need to make horizontal scannings
",
- "C9": "
The use of null or empty alternative texts in HTML is a common practice for images classified as decorative. However, all images classified as decorative must be affixed via CSS and not via HTML.
",
- "F16": "
It is important that the user has control of the content in movement, namely that can stop it.
",
- "F17": "
The accesskey attributes need to obtain unique values, otherwise the result can be irregular from one technology to another one.
",
- "F24": "
There is no need that the font colour and the background colour be defined in the same CSS rule but is recommended. This is the only way to guarantee that the user gets the desired contrast.
",
- "F25": "
It is defined as a failure condition always that a webpage has a title equal to a title from other webpage in the same website. Each page should have a unique title which identifies the contents purpose.
",
- "F30": "
In the <code>alt</ code> attribute of the <code>img</ code> element I found the image file name or one of the following values: \"img\", \"image\", \"spacer\", \"space\", \"picture \", \"alt\", \"alttext\", \"imagen\", \"imagem\", \"foto\", \"photo\", or one of the following image file extensions .jpg, .jpeg, .gif, .png. None of the elements referred above serves as an alternative textual equivalent.
",
- "F4": "
Some user groups, particularly those who have disturbs that cause attention deficit, find in the shinning content distraction elements, making dificult the concentration capacity in the other parts of the webpage.
",
- "F40": "
The value \"refresh\" should be used carefully, as it takes the control of a page away from the user.
",
- "F41": "
The value \"refresh\" should be used carefully, as it takes the control of a page away from the user.
",
- "F46": "
I suspect that I might find data tables which is missing headings identification. Otherwise, it could be layout tables and in this case have a title, which you must remove.
",
- "F47": "
Some user groups, particularly those who have disturbs that cause attention deficit, find in the shinning content distraction elements, making difficult the concentration capacity in the other parts of the webpage.
",
- "F49": "
When linearized the tables check if the content is perceptible.
",
- "F52": "",
- "F54": "
Check if you use the event manipulators onDblClick e/ou onMouseMove. When using event manipulators which depend on mouses, or \"depending on pointing devices\", the users who need to use the keyboard or other alternative input devices that work as emulated keyboards, will be unable to access.
",
- "F55": "
Scroll the edition fields and check if the focus is inhibited by programation techniques. When removing the focus of the content, this becomes no longer operable by those who use only keyboard to navigate.
",
- "F59": "
The generic elements as <div> and <span> don't have a predefined role. When using these generic elements to create the user interface controls in HTML, the Assistive Technologies don't have enogh information to describe and interact with the controls, namely if doesn't define a \"role\" with ARIA techniques.
",
- "F65": "
Verify if the alternative textual equivalent found in the graphic buttons serves the equal information or function performed by the graphic button on the page.
",
- "F68": "
It isn't mandatory to exist always an explicit relation between the edition fields (<input>) and the labels (<label>) but it always be useful to the Assistive Technologies that this relation be established. Therefore, each <label> element must have the for attribute.
",
- "F77": "
Duplicates ids attributes can cause undesirable behaviors. The ids are content uniques identifiers and that's why are unrepeatable. They can serve to point content or define relations between content parts.
",
- "F84": "
It is important that the users be able to determine the link purpose and destiny without the need to access to content where is located. There are users whose Assistive Technologies provide them all the webpage links presented in list, without any content.
",
- "F88": "
Some persons with low vision and persons with cognitive impairements have big difficulty in dealing with the text blocks when are justified.
",
- "F89": "
This fail occurs always that a link is composed by an image and that image has an empty nature as alternative textual equivalent - I suspect that the Assistive Technologies' users don't know their destiny or purpose, or may even don't realize the existence of the link.
",
- "G1": "
Make available at the top of the webpage a link that allows skipping directly to the main content of the webpage. This link facilitates the navigation to many users, namely those who use scanning selection software. These users use vision to read information so the links must be always visible ou become visible when receiving the focus.
",
- "G102": "
Mark the abbreviations and/or acronyms with the respective extension. In the HTML5 case it is used the <code>abbr</code> element to mark abbreviations or acronyms. For instance: <abbr title=\"Fundação para a Ciência e a Tecnologia\">FCT</abbr>
",
- "G115": "
With the appearance of the CSS all the HTML elements used to control styles of the webpages became obsolete. Elements as: b, big, blink, center, font, i, s, strike, u became obsolete - use CSS to replace them.
",
- "G123": "
Check if the links that I found provide the most suitable skips to the content; if they are always visible or if become visible when receiving focus by keyboard.
",
- "G125": "
The WWW nature is to provide links on webpages to other related webpages. It is this that allow to users navigate information. One webpage without links is strange, at first sight!
",
- "G130": "
The headers must be descriptive but at the same time brief. Its content, in any situation, should never be null - it is what's happening in this case.
",
- "G134": "
The CSS errors are one of the causes of the webpages be presented in a inconsistent way in the different browsers. To meet a specification and to validate the syntax according to that specification enhances the consistency and the correct interpretation from the technologies, namely the Assistive Technologies.
",
- "G140": "
With the appearance of the CSS all the HTML attributes used to control styles of the webpages became obsolete. Attributes as: align, hspace, vspace, color, face, size (in the elements basefont, font), text, link, alink, vlink, bgcolor, background became obsolete - use CSS to replace them.
",
- "G141": "
The web pages must be marked with a hierarchical structure of headers and subheadings. Each page should have, at least, one header level 1. The level 2 should mark the sections and the level 3 the subsections of these. This same logic must be applied until to the subsections of level 6.
",
- "G145": "
According to the success criteria 1.4.3, the ratio 3 to 1 corresponds to the minimum for text \"in large size\" (18pt or 14 pt bold, or larger). I remind that for the size of normal font the minimum ratio is 4,5 to 1.
",
- "G146": "
Zoom 200% the screen and check that all the content is visible without the need to make horizontal scannings.
",
- "G162": "
The labels must be positioned just before the fields. The labels to the fields of checkbox list types and the radio buttons type should be positioned just after the fields.
",
- "G88": "
The <title> of each webpage should: (1) identify the page subject; (2) make sense when readable out of context; (3) be short.
",
- "G90": "
You must ensure that the javascript events are activated not only by mouse but also by keyboard. Check the pairs of manipulators: mousedown/keydown, mouseup/keyup, mouseover/focus, mouseout/blur. Note: The AccessMonitor doesn't check the pair onclick / onkeypress because considers that the browsers support the onclick also when using only the keyboard. This test is classified correct only when there aren't errors in the other tests of checked manipulators.
",
- "H2": "
When adjacent links point to exactly the same resource, we can put them together in just one link. Usually, in these situations, we have the visual sensation of having one single link but in case of some Assistive Technologies' users they emerge duplicates, what can be confusing.
",
- "H24": "
Check if the alternative textual equivalent that exists in the active areas in the images map serves information ou has the function equal to the one performed by the image map on the page.
",
- "H25": "
Take note that the <title> element should only appear once in the webpage.
",
- "H27": "
Always that you use an <object> element, make available the alternative textual equivalent in the element body.
",
- "H32": "
After being filled, it is necessary to submit the form data to the server. This is the function of the submit button.
",
- "H33": "
The title attribute is used to provide additional information to that one existent in the text link. The attribute title and the text of the link should be sufficient to understand the link purpose.
",
- "H35": "
Each applet element should contain one alternative textual equivalent in its body and a textual equivalent in its alt attribute. It is important using both mechanisms since the user agents support in an inconsistent way the alt attribute and the alternative text positioned in the body of <applet>.
",
- "H36": "
The <input> element is used to create many types of form controls. Despite of the DTD of HTML and XHTML allow the use of alt attribute in all its elements, the alt attribute should be used, in case of the <input> element, only in the graphical buttons.
",
- "H37": "
Verify if the alternative textual equivalent found in the images serves the equal information or function performed by the image on the page.
",
- "H39": "
I suspect that I might find data tables which is missing title identification <caption>.
",
- "H42": "
The web pages must be marked with a hierarchical structure of headers and subheadings. Each page should have, at least, one header level 1. The level 2 should mark the sections and the level 3 the subsections of these. This same logic must be applied until to the subsections of level 6.
",
- "H43": "
In complex data tables (with headings in various rows) it is important to associate explicitly the data cells to the various headings which contextualize them. That association is done with the headers attribute.
",
- "H44": "
The <label> elements associated to the <input> elements allow the Assistive Technologies users to identify the label that contextualize an edition field. The explicit association is done by the pair of id and dor attributes, respectively, from the <input> and <label> elements.
",
- "H45": "
The longdesc attribute must be composed by an URL that points the localization where its found the long description - it can be to other page or a bookmark to a page.
",
- "H46": "
When we use the <embed> element we have to make available an alternative textual equivalent <noembed>. The element <noembed> is only showed if the <embed> element is not supported.
",
- "H48": "
If the content that I identified is, in fact, a list of options then use the correct structural marking (i.e. <ul>, <ol>).
",
- "H51": "
Despite the WCAG do not prohibit the use of layout tables it is recommended not to use them. If the tables used contain data then mark the heading cells conveniently.
",
- "H57": "
The HTML just has the lang attribute. The XHTML 1.1 just allows the xml:lang. The XHTML 1.0 (as a transitional measure) allows both attributes. The XHTML served as text/html uses the lang and xml:lang attributes of the html element.
",
- "H59": "
Check if in each of the <link> elements, that exist in the <head> of the webpage, the href points to an apropriated resource.
",
- "H63": "
The scope attribute identifies if a cell constitutes a heading of a line, of a column, of a group of lines or of a group of columns. The values row, col, rowgroup and colgroup identify respectively the values that the scope may assume.
",
- "H64": "
The frames are windows where is possible to see the content coming from another server. It is important to identify conveniently those frames. Use the title attribute to that purpose!
",
- "H65": "
To fill the edition fields, the users need that those be identified. It can be an explicit identification (marked in the code) or implicit (usually derived from the relative position). Explicitly it can be done by the <label> element or by the title attribute of the <input> element.
",
- "H71": "
The form controls can be grouped, according its purpose, through the <fieldset> element. The first element inside of <fieldset> should be the <legend>, which acts as label or description to the grouping.
",
- "H73": "
I suspect that I might find data tables which content is in <caption> element is the same in the summary attribute.
",
- "H88": "
The DTD defines the version of HTML grammar that is being used on the webpage. Its non existence make the users agents enter in a guess process of the best way to interpret the code. This makes to increase the probability of the inconsistency in the way the content is presented.
",
- "SCR20": "
You must ensure that the javascript events are activated not only by mouse but also by keyboard. Check the pairs of manipulators: mousedown/keydown, mouseup/keyup, mouseover/focus, mouseout/blur. Note: The AccessMonitor doesn't check the pair onclick / onkeypress because considers that the browsers support the onclick also when using only the keyboard.
",
- "H50": "
To group related links to each other is a facilitating action of navigation. To group, we can use lists - <ul>; <ol> - or the <map> element usual in the marking of images map.
"
- },
- "TECHFAIL": {
- "relationF": "Denne WCAG 2.1-feilen er relatert til:",
- "relationT": "Denne WCAG 2.1-teknikken er relatert til:"
- }
-}
\ No newline at end of file
diff --git a/dist/access-monitor-plus/assets/i18n/Portuguese.json b/dist/access-monitor-plus/assets/i18n/Portuguese.json
deleted file mode 100644
index 26de83d7..00000000
--- a/dist/access-monitor-plus/assets/i18n/Portuguese.json
+++ /dev/null
@@ -1,856 +0,0 @@
-{
- "HEADER": {
- "tool": "Uma ferramenta do ecossistema do",
- "logo_alt": "AccessMonitor - o validador de práticas de acessibilidade Web",
- "NAV": {
- "location": "Você está em",
- "ecosystem": "ecossistema",
- "results": "Resultados",
- "code": "Código"
- },
- "line_text": "O validador de práticas de acessibilidade Web (WCAG 2.1)",
- "sidebar": {
- "evaluation": "Relatório da avaliação"
- },
- "evaluate_new_page": "Avaliar nova página",
- "dark_mode": "Modo escuro",
- "light_mode": "Modo claro",
- "language_en": "See in english",
- "lang": "en",
- "dialog": {
- "home": "Início",
- "insert_url": "Inserir URL",
- "insert_html": "Inserir código HTML",
- "upload_html": "Carregar ficheiro HTML",
- "report": "Relatório de avaliação"
- },
- "DROPDOWN": {
- "ecosystem": "ecossistema",
- "text": "Os sítios e as ferramentas de apoio à acessibilidade e à usabilidade, para garantir a promoção das boas práticas e melhorar a experiência de utilização dos serviços digitais.",
- "external_link": "hiperligação externa",
- "accessibility": {
- "text": "Divulgação, partilha e promoção das melhores práticas de acessibilidade para conteúdos Web e aplicações móveis.",
- "link1": "DL n.º 83/2018 – acessibilidade da Web e das aplicações móveis",
- "link2": "Gerar a Declaração de acessibilidade",
- "link3": "Validador AccessMonitor"
- },
- "usability": {
- "text": "Recursos, ferramentas e boas práticas para melhorar a usabilidade e a experiência de utilização dos serviços digitais.",
- "link1": "Guia de usabilidade",
- "link2": "Lista de verificação",
- "link3": "Componentes",
- "link4": "Templates"
- },
- "badge": {
- "text": "Selo de excelência que premeia as boas práticas de acessibilidade e usabilidade nos sítios Web dos serviços públicos.",
- "link1": "Como obter o selo",
- "link2": "Kit de apoio",
- "link3": "Candidatura",
- "link4": "Declaração de acessibilidade e usabilidade"
- }
- }
- },
- "HOME_PAGE": {
- "header": "Obtenha um relatório de acessibilidade através de um dos seguintes métodos",
- "intro_text": "Aceda aqui ao nosso validador de práticas de acessibilidade Web (WCAG 2.1). Obtenha um relatório de acessibilidade através de um dos seguintes métodos:",
- "tabs": {
- "url": "Inserir URL",
- "input": "Inserir código HTML",
- "file": "Carregar ficheiro HTML"
- },
- "url_label": "Introduza o endereço de uma página",
- "url_hint": "http(s)",
- "url_error": "Introduza um url válido. Ex.: http://www.google.pt",
- "html_label": "Insira o código HTML abaixo",
- "html_placeholder": "Inserir código HTML aqui",
- "file_label": "Escolher ficheiro",
- "file_name_label": "Nome do ficheiro",
- "file_type_error": "Tipo de ficheiro inválido",
- "submit": "Validar",
- "messages": {
- "invalid_url": "O url inserido é inválido ou não existe"
- }
- },
- "RESULTS": {
- "title": "Relatório de práticas de acessibilidade Web (WCAG 2.1 do W3C)",
- "navHeader": "Você está aqui:",
- "actions": {
- "back": "Voltar",
- "re_evaluate": "Re-avaliar a página",
- "download": "Descarregar dados",
- "see_page": "Ver página",
- "pagecode": "Ver código da página",
- "open_webpage": "Abrir página web"
- },
- "summary": {
- "title": "Sumário",
- "subtitle": "Metadados",
- "score": "Pontuação",
- "metadata": {
- "title_label": "Título",
- "n_elements_label": "Elementos (x)HTML",
- "page_size_label": "Tamanho da página",
- "last_update_label": "Última actualização",
- "validator": "Não se conseguiu contactar o validador de html do W3C",
- "caption": "Sumário das práticas avaliadas"
- },
- "table": {
- "title": "práticas encontradas",
- "labels": {
- "p": "P",
- "ok": "Aceitáveis",
- "err": "Não aceitáveis",
- "warn": "Para ver manualmente"
- }
- }
- },
- "results": {
- "title": "Avaliação",
- "subtitle": "práticas detectadas, que se podem classificar por:",
- "grade": "Nota",
- "tabs": {
- "A": "Excelente",
- "B": "Muito boa",
- "C": "Boa",
- "D": "Mediana",
- "E": "Má",
- "F": "Muito Má",
- "score_table": "Quadro de pontuações"
- },
- "caption": "Práticas avaliadas",
- "sc": "Critério de sucesso",
- "practice": "Prática encontrada",
- "lvl": "Nível",
- "details": "Ver detalhe",
- "understanding": "Noções sobre o CS",
- "alt_rowerr": "Não aceitável:",
- "alt_rowwar": "Para ver manualmente:",
- "alt_rowok": "Aceitável:",
- "alt_see": "Ver resultados da prática:"
- },
- "scoreboard": {
- "level": "Nível",
- "sc": "Critérios de sucesso",
- "description": "Descrição"
- }
- },
- "ELEMENT_RESULTS": {
- "subtitle": "Resultados do teste",
- "elements_tab": "Elementos",
- "page_tab": "Página",
- "total_elements": "elementos encontrados",
- "inline_css_tab": "Estilos em linha",
- "embedded_css_tab": "Estilos embutidos",
- "caption": "Resultado {{ value }} da prática",
- "result": {
- "element": "Elemento:",
- "attributes": "Atributos:",
- "content": "Conteúdo/texto:",
- "code": "Código:",
- "file": "Ficheiro:",
- "description": "Descrição:",
- "line": "Linha:",
- "location": "Localização:",
- "property": "Propriedade:",
- "value": "Valor:"
- }
- },
- "CODE": {
- "subtitle": "Código da página",
- "actions": {
- "download_code": "Descarregar código da página",
- "open_webpage": "Abrir página web"
- }
- },
- "FOOTER": {
- "accessibility": "Acessibilidade",
- "terms": "Termos e Condições",
- "privacy": "Política de privacidade",
- "options": "Opções de visualização",
- "glossary": "Glossário",
- "link": "Agência para a Modernização Administrativa, I.P.",
- "rights": "Todos os Direitos Reservados."
- },
- "LANGUAGES": {
- "Portuguese": "Português",
- "English": "English",
- "Norwegian": "Norsk"
- },
- "MISC": {
- "skip_to_main": "Saltar para o conteúdo principal",
- "loading": "A carregar...",
- "required_field": "Este campo é obrigatório",
- "message_close": "Fechar",
- "unexpected_error": "Ocorreu um erro inesperado. Por favor tente aceder mais tarde.",
- "error_contact": "Se o problema persistir, contacte-nos...",
- "go_to_top": "Ir para o topo",
- "_404": {
- "title": "Erro 404",
- "description": "A página que tentou aceder não existe.",
- "homepage": "Voltar para a página inicial"
- },
- "messages": {
- "data_error": "Ocorreu um erro ao obter os dados",
- "data_table_error": "Ocorreu um erro ao tentar carregar a tabela de dados"
- }
- },
- "ELEMS": {
- "a": "Links",
- "aAdjacentSame": "Links adjacentes que nos conduzem a um mesmo destino",
- "aImgAltNo": "Links em que o único conteúdo é uma imagem com alt nulo ou sem legenda",
- "aSameText": "Grupos de links com o mesmo texto que apontam destinos diferentes",
- "aSkip": "Links para contornar blocos de conteúdo",
- "aSkipFirst": "Link para saltar para o conteúdo principal",
- "aTitleMatch": "Links com o mesmo texto afixado no conteúdo e no atributo title",
- "aGroupNo": "Grupo de 10 ou mais links não agrupados por elementos estruturantes",
- "abbrNo": "Elementos abbr ou acronym sem definição",
- "acckeyRep": "Atributos accesskey com valores duplicados",
- "applet": "Elementos applet",
- "appletAltNo": "Elementos applet sem texto alternativo",
- "area": "Zonas activas de um mapa de imagem",
- "areaAltNo": "Áreas de mapas de imagem sem alt",
- "blink": "Elementos blink",
- "brSec": "Sequência de elementos br",
- "colorContrast": "Combinações de cor com um rácio de contraste inferior a 4.5:1 para texto normal ou 3:1 para texto grande",
- "colorFgBgNo": "Regras de CSS em que não se especifica simultaneamente a cor de fundo e/ou cor da letra",
- "cssBlink": "Propriedade de CSS text-decoration com valor blink",
- "dtd": "DTD - Definição de Tipo de Documento",
- "ehandBoth": "Manipuladores de eventos redundantes",
- "ehandBothNo": "Manipuladores de eventos não redundantes",
- "ehandMouse": "Manipuladores de eventos específicos do rato",
- "ehandTagNo": "Eventos associados a elementos não interactivos",
- "ehandler": "Manipuladores de eventos",
- "embed": "Elementos embed",
- "embedAltNo": "Elementos embed sem noembed",
- "fieldLegNo": "Elementos fieldset sem descrição",
- "fieldNoForm": "Elementos fieldset usados fora de um formulário",
- "focusBlur": "Scripts para remover o foco",
- "fontAbsVal": "Tamanhos de letra definidos em unidades de medida absolutos",
- "fontHtml": "Elementos e Atributos (X)HTML para formatar o Texto das páginas (p.e. basefont, font, link e alink)",
- "fontValues": "Tamanhos de letra definidos nas CSS",
- "form": "Formulários com o botão de envio",
- "formSubmitNo": "Formulários sem o botão de envio",
- "frame": "Elementos frame",
- "frameDtdNo": "Documento frameset com doctype incorrecto ou inexistente",
- "frameTitleNo": "Elementos frame sem títle",
- "frameset": "Documento frameset",
- "h1": "Cabeçalho principal da página (h1)",
- "hx": "Cabeçalhos (h1 - h6)",
- "hxHasAName": "Cabeçalhos com nome acessível",
- "hxNo": "Cabeçalhos (h1 ~ h6) sem conteúdo descritivo",
- "hxSkip": "Cabeçalhos com salto(s) de nivel hierárquico incorrectos",
- "hxWithoutAName": "Cabeçalhos sem nome acessível",
- "id": "Elementos com atributo id",
- "idRep": "Atributos id com valores duplicados",
- "iframe": "Elementos iframe",
- "iframeTitleNo": "Elementos iframe sem title",
- "img": "Imagens com equivalente alternativo em texto",
- "imgAltLong": "Imagens com um atributo alt longo",
- "imgAltNo": "Imagens sem equivalente alternativo em texto",
- "imgAltNot": "Imagens com um texto alternativo incorrecto",
- "imgAltNull": "Imagens com alt nulo",
- "inpImg": "Botões gráficos",
- "inpImgAltNo": "Botões gráficos sem alt",
- "inputAltNo": "Elementos input com atributo alt",
- "inputIdTitleNo": "Controlos de formulário sem etiquetas [label] associadas e sem atributo title",
- "inputLabel": "Controlos de formulário que têm explicitamente associados uma etiqueta (label)",
- "inputLabelNo": "Controlos de formulário sem um nome acessível",
- "justifiedCss": "Texto justificado com CSS",
- "justifiedTxt": "Texto justificado com atributos (X)HTML",
- "label": "Elementos label",
- "labelForNo": "Elementos label sem associação explícita",
- "labelPosNo": "Elementos label que não estão visíveis ou estão posicionados incorretamente",
- "labelTextNo": "Elementos label sem conteúdo texto",
- "lang": "Idioma principal da página",
- "langCodeNo": "Código de idioma incorrecto",
- "langExtra": "Atributos lang ou xml:lang não permitidos",
- "langMatchNo": "Indicações de idioma não coincidentes",
- "langNo": "Idioma principal não referenciado",
- "layoutAttr": "Atributos (X)HTML para formatar o Layout das páginas (p.e. align, hspace e bgcolor)",
- "layoutElem": "Elementos (x)HTML para formatar o Layout das páginas (p.e. blink e center)",
- "layoutFixed": "Elementos com valores absolutos na propriedade \"width\" da CSS",
- "liNoList": "Itens de lista utilizados fora das listas",
- "lineHeightNo": "Espaçamento entre linhas incorrecto",
- "linkRel": "Elementos link para navegação",
- "longDImg": "Atributos longdesc em img",
- "longDNo": "Atributos longdesc com valores incorrectos",
- "marquee": "Elementos marquee",
- "metaRedir": "Elemento meta para redireccionar os utilizadores",
- "metaRefresh": "Elemento meta para reiniciar a página",
- "newWinOnLoad": "Nova janela assim que a página é carregada",
- "object": "Elementos object",
- "objectAltNo": "Elementos object sem textos alternativos",
- "scopeNo": "Valores inválidos para o atributo scope",
- "table": "Tabelas",
- "tableCaptionSummary": "Tabelas com o mesmo texto no elemento caption e no atributo summary",
- "tableComplex": "Tabelas de dados complexas",
- "tableComplexError": "Tabelas de dados complexas sem o atributo headers nas células de dados",
- "tableData": "Tabelas de dados",
- "tableDataCaption": "Tabelas de dados sem o elemento caption",
- "tableLayout": "Tabelas sem células de cabeçalhos (i.e. elementos th)",
- "tableLayoutCaption": "Tabelas sem células de cabeçalhos, mas com o elemento caption",
- "tableNested": "Tabelas encadeadas",
- "titleChars": "Título com cadeia de caracteres não textuais (provavelmente arte ASCII)",
- "titleLong": "Quantidade de caracteres no elemento title",
- "titleNo": "Elemento title inexistente",
- "titleNull": "Elemento title sem conteúdo textual",
- "titleOk": "Título da página",
- "titleSame": "Título da página repetido noutras páginas do sítio",
- "titleVrs": "Elementos title",
- "valueAbsCss": "Unidades de medida absolutas nas CSS",
- "valueAbsHtml": "Unidades de medida absolutas em (X)HTML",
- "valueRelCss": "Unidades de medida relativas em CSS",
- "valueRelHtml": "Unidades de medida relativas em (X)HTML",
- "w3cValidator": "Validação (X)HTML",
- "w3cValidatorErrors": "Erros de validação (X)HTML"
- },
- "CSV": {
- "scorerror": "Erro",
- "scorewar": "Aviso",
- "scoreok": "Sucesso",
- "errorType": "Tipo de erro",
- "level": "Nivel de Conformidade",
- "criteria": "Critério",
- "desc": "Descrição",
- "count": "Número de ocorrências",
- "value": "Valor",
- "date": "Data"
- },
- "TESTS_RESULTS": {
- "a_01a": {
- "s": "Constatei que o primeiro link da página nos permite saltar para o conteúdo principal.",
- "p": "Constatei que o primeiro link da página nos permite saltar para o conteúdo principal."
- },
- "a_01b": {
- "s": "Constatei que a primeira hiperligação da página não permite saltar diretamente para a área do conteúdo principal.",
- "p": "Constatei que a primeira hiperligação da página não permite saltar diretamente para a área do conteúdo principal."
- },
- "a_02a": {
- "s": "Não encontrei links para saltar blocos de texto.",
- "p": "Não encontrei links para saltar blocos de texto."
- },
- "a_02b": {
- "s": "Encontrei {{value}} links para contornar blocos de conteúdo.",
- "p": "Encontrei {{value}} links para contornar blocos de conteúdo."
- },
- "a_03": {
- "s": "Encontrei {{value}} link cujo conteúdo está vazio. Ou melhor, é composto apenas por uma imagem e a imagem tem por equivalente textual alternativo um caráter vazio (i.e. alt=\"\").",
- "p": "Encontrei {{value}} links cujo conteúdo está vazio. Ou melhor, é composto apenas por uma imagem e a imagem tem por equivalente textual alternativo um caráter vazio (i.e. alt=\"\")."
- },
- "a_04": {
- "s": "Constatei que esta página não tem links.",
- "p": "Constatei que esta página não tem links."
- },
- "a_05": {
- "s": "Identifiquei {{value}} caso em que o atributo title do elemento link se limita a repetir o texto existente no link.",
- "p": "Identifiquei {{value}} casos em que o atributo title do elemento link se limita a repetir o texto existente no link."
- },
- "a_06": {
- "s": "Encontrei {{value}} caso de links adjacentes a apontar para o mesmo destino.",
- "p": "Encontrei {{value}} casos de links adjacentes a apontar para o mesmo destino."
- },
- "a_09": {
- "s": "Encontrei {{value}} grupo de links com o mesmo texto mas cujo destino é diferente.",
- "p": "Encontrei {{value}} grupos de links com o mesmo texto mas cujo destino é diferente."
- },
- "abbr_01": {
- "s": "Encontrei {{value}} abreviatura em que se esqueceu de colocar a extensão.",
- "p": "Encontrei {{value}} abreviaturas em que se esqueceu de colocar a extensão."
- },
- "akey_01": {
- "s": "Encontrei {{value}} valores repetidos nos atributos accesskey.",
- "p": "Encontrei {{value}} valores repetidos nos atributos accesskey."
- },
- "applet_01": {
- "s": "Encontrei {{value}} elemento <applet> sem equivalente textual alternativo.",
- "p": "Encontrei {{value}} elementos <applet> sem equivalente textual alternativo."
- },
- "area_01a": {
- "s": "Constatei que todas as <area> ativas dos mapas de imagem da página fazem uso do atributo alt.",
- "p": "Constatei que todas as <area> ativas dos mapas de imagem da página fazem uso do atributo alt."
- },
- "area_01b": {
- "s": "Encontrei {{value}} elemento <area> sem atributo alt ou com alt=\"\".",
- "p": "Encontrei {{value}} elementos <area> sem atributo alt ou com alt=\"\"."
- },
- "blink_01": {
- "s": "Encontrei {{value}} elemento <blink> na página que provoca o cintilar de partes do conteúdo.",
- "p": "Encontrei {{value}} elementos <blink> na página que provocam o cintilar de partes do conteúdo."
- },
- "blink_02": {
- "s": "Encontrei {{value}} valor <blink> nas CSS que provoca o cintilar de partes do conteúdo.",
- "p": "Localizei {{value}} valores <blink> nas CSS que provocam o cintilar de partes do conteúdo."
- },
- "br_01": {
- "s": "Encontrei {{value}} sequências compostas por 3 ou mais elementos <br> - desconfio que está a usá-los para representar os itens de uma lista.",
- "p": "Encontrei {{value}} sequências compostas por 3 ou mais elementos <br> - desconfio que está a usá-los para representar os itens de uma lista."
- },
- "color_01": {
- "s": "Identifiquei {{value}} regra de CSS em que não se especifica a cor da letra ou a cor do fundo.",
- "p": "Identifiquei {{value}} regras de CSS em que não se especifica a cor da letra ou a cor do fundo."
- },
- "color_02": {
- "s": "Localizei {{value}} combinação de cor cuja relação de contraste é inferior ao mínimo rácio de contraste permitido pelas WCAG, ou seja 3 para 1 para texto com letra grande e 4,5 para 1 para texto com letra normal.",
- "p": "Localizei {{value}} combinações de cor cuja relação de contraste é inferior ao mínimo rácio de contraste permitido pelas WCAG, ou seja 3 para 1 para texto com letra grande e 4,5 para 1 para texto com letra normal."
- },
- "css_01": {
- "s": "Identifiquei {{value}} caso em que nas CSS se especifica um espaçamento entre linhas inferior a 1.5.",
- "p": "Identifiquei {{value}} casos em que nas CSS se especifica um espaçamento entre linhas inferior a 1.5."
- },
- "dtd_01": {
- "s": "Constatei que a declaração do Document Type Definition (DTD) não existe.",
- "p": "Constatei que a declaração do Document Type Definition (DTD) não existe."
- },
- "ehandler_01": {
- "s": "Encontrei {{value}} caso em que se faz uso de manipuladores de eventos rato-dependentes.",
- "p": "Encontrei {{value}} casos em que se faz uso de manipuladores de eventos rato-dependentes."
- },
- "ehandler_02": {
- "s": "Identifiquei {{value}} caso em que não se faz uso de manipuladores de eventos redundantes.",
- "p": "Identifiquei {{value}} casos em que não se faz uso de manipuladores de eventos redundantes."
- },
- "ehandler_03": {
- "s": "Identifiquei {{value}} caso em que se faz uso de manipuladores de eventos redundantes.",
- "p": "Identifiquei {{value}} casos em que se faz uso de manipuladores de eventos redundantes."
- },
- "ehandler_04": {
- "s": "Identifiquei {{value}} caso em que se associam manipuladores de eventos a elementos não interativos.",
- "p": "Identifiquei {{value}} casos em que se associam manipuladores de eventos a elementos não interativos."
- },
- "embed_01": {
- "s": "Encontrei {{value}} elemento <embed> sem conteúdo equivalente alternativo.",
- "p": "Encontrei {{value}} elementos <embed> sem conteúdo equivalente alternativo."
- },
- "field_01": {
- "s": "Encontrei {{value}} elemento <fieldset> sem descrição.",
- "p": "Encontrei {{value}} elementos <fieldset> sem descrição."
- },
- "field_02": {
- "s": "Encontrei {{value}} elemento <fieldset> fora do formulário.",
- "p": "Encontrei {{value}} elementos <fieldset> fora do formulário."
- },
- "focus_01": {
- "s": "Encontrei {{value}} caso em que se usa javascript para remover o foco do campo, sempre que o campo recebe o foco.",
- "p": "Encontrei {{value}} casos em que se usa javascript para remover o foco do campo, sempre que o campo recebe o foco."
- },
- "font_01": {
- "s": "Localizei {{value}} elementos ou atributos de HTML que estão a ser usados para controlo da apresentação visual do texto.",
- "p": "Localizei {{value}} elementos ou atributos de HTML que estão a ser usados para controlo da apresentação visual do texto."
- },
- "font_02": {
- "s": "Identifiquei {{value}} caso em que o tamanho de letra está expresso em unidades de medida absolutas.",
- "p": "Identifiquei {{value}} casos em que o tamanho de letra está expresso em unidades de medida absolutas."
- },
- "form_01a": {
- "s": "Constatei que todos os formulários têm um botão para submeter os dados ao servidor.",
- "p": "Constatei que todos os formulários têm um botão para submeter os dados ao servidor."
- },
- "form_01b": {
- "s": "Identifiquei {{value}} formulário sem o botão para submeter os dados ao servidor.",
- "p": "Identifiquei {{value}} formulários sem o botão para submeter os dados ao servidor."
- },
- "frame_01": {
- "s": "Identifiquei {{value}} elemento frame sem o atributo title ou o mesmo é nulo.",
- "p": "Identifiquei {{value}} elementos frame sem o atributo title ou o mesmo é nulo."
- },
- "frame_02": {
- "s": "Constatei que a página está assente numa estrutura de molduras (frames) mas utiliza uma declaração de DTD incorreta.",
- "p": "Constatei que a página está assente numa estrutura de molduras (frames) mas utiliza uma declaração de DTD incorreta."
- },
- "heading_01": {
- "s": "Constatei que todos os cabeçalhos desta página têm nome acessível",
- "p": "Constatei que todos os cabeçalhos desta página têm nome acessível"
- },
- "heading_02": {
- "s": "Identifiquei {{value}} cabeçalho sem nome acessível.",
- "p": "Identifiquei {{value}} cabeçalhos sem nome acessível."
- },
- "hx_01a": {
- "s": "Constatei que esta página não tem cabeçalhos",
- "p": "Constatei que esta página não tem cabeçalhos"
- },
- "hx_01b": {
- "s": "Encontrei {{value}} cabeçalho na página.",
- "p": "Encontrei {{value}} cabeçalhos na página."
- },
- "hx_01c": {
- "s": "Não encontrei nesta página um cabeçalho principal <H1> marcado.",
- "p": "Não encontrei nesta página um cabeçalho principal <H1> marcado."
- },
- "hx_02": {
- "s": "Encontrei {{value}} cabeçalho cujo conteúdo é apenas composto por uma imagem sem atributo alt, ou seja sem qualquer equivalente textual alternativo.",
- "p": "Encontrei {{value}} cabeçalhos cujo conteúdo é apenas composto por uma imagem sem atributo alt, ou seja sem qualquer equivalente textual alternativo."
- },
- "hx_03": {
- "s": "Encontrei {{value}} caso em que se viola a sequência hierárquica dos níveis de cabeçalho.",
- "p": "Encontrei {{value}} casos em que se viola a sequência hierárquica dos níveis de cabeçalho."
- },
- "id_01": {
- "s": "Encontrei nesta página {{value}} atributo id repetido.",
- "p": "Encontrei nesta página {{value}} atributos ids repetidos."
- },
- "iframe_01": {
- "s": "Encontrei {{value}} elemento <iframe> sem title.",
- "p": "Encontrei {{value}} elementos <iframe> sem title."
- },
- "img_01a": {
- "s": "Constatei que todas as imagens da página têm o necessário equivalente alternativo em texto.",
- "p": "Constatei que todas as imagens da página têm o necessário equivalente alternativo em texto."
- },
- "img_01b": {
- "s": "Encontrei {{value}} imagem na página que não tem o necessário equivalente alternativo em texto.",
- "p": "Encontrei {{value}} imagens na página que não têm o necessário equivalente alternativo em texto."
- },
- "img_02": {
- "s": "Encontrei {{value}} imagem na página com alt=\"\" (alt nulo).",
- "p": "Encontrei {{value}} imagens na página com alt=\"\" (alt nulo)."
- },
- "img_03": {
- "s": "Encontrei {{value}} imagem na página com alt que não serve de equivalente alternativo.",
- "p": "Encontrei {{value}} imagens na página com alt que não serve de equivalente alternativo."
- },
- "img_04": {
- "s": "Encontrei {{value}} imagem na página em que alt tem mais de 100 carateres.",
- "p": "Encontrei {{value}} imagens na página em que alt tem mais de 100 carateres ."
- },
- "inp_img_01a": {
- "s": "Constatei que todos os botões gráficos da página fazem uso do atributo alt.",
- "p": "Constatei que todos os botões gráficos da página fazem uso do atributo alt."
- },
- "inp_img_01b": {
- "s": "Localizei {{value}} botão gráfico na página que não tem o atributo alt.",
- "p": "Localizei {{value}} botões gráficos na página que não tem o atributo alt."
- },
- "input_01": {
- "s": "Identifiquei {{value}} controlo de formulário sem o elemento <label> associado e sem o atributo title.",
- "p": "Identifiquei {{value}} controlos de formulário sem o elemento <label> associado e sem o atributo title."
- },
- "input_02": {
- "s": "Encontrei {{value}} controlo de formulário sem nome acessível.",
- "p": "Encontrei {{value}} controlos de formulário sem nome acessivel."
- },
- "input_02b": {
- "s": "Constatei que todos os controlos de formulário têm um nome acessivel.",
- "p": "Constatei que todos os controlos de formulário têm um nome acessivel."
- },
- "input_03": {
- "s": "Encontrei {{value}} elemento <input> com o atributo alt que não é botão gráfico.",
- "p": "Encontrei {{value}} elementos <input> com o atributo alt que não são botões gráficos."
- },
- "justif_txt_01": {
- "s": "Encontrei {{value}} caso em que se usa texto justificado via HTML.",
- "p": "Encontrei {{value}} casos em que se usa texto justificado via HTML."
- },
- "justif_txt_02": {
- "s": "Identifiquei {{value}} caso em que se usa texto justificado via CSS.",
- "p": "Identifiquei {{value}} casos em que se usa texto justificado via CSS."
- },
- "label_01": {
- "s": "Identifiquei {{value}} elemento <label> sem atributo for.",
- "p": "Identifiquei {{value}} elementos <label> sem atributo for."
- },
- "label_02": {
- "s": "Localizei {{value}} elemento <label> que não está visível ou está incorretamente posicionado.",
- "p": "Localizei {{value}} elementos <label> que não estão visíveis ou estão incorretamente posicionados."
- },
- "label_03": {
- "s": "Encontrei {{value}} elemento <label> sem conteúdo.",
- "p": "Encontrei {{value}} elementos <label> sem conteúdo."
- },
- "lang_01": {
- "s": "Verifiquei que o idioma principal da página está marcado como \"{{value}}\".",
- "p": "Verifiquei que o idioma principal da página está marcado como \"{{value}}\"."
- },
- "lang_02": {
- "s": "Verifiquei que o idioma principal da página está incorretamente marcado. \"{{value}}\" existe?",
- "p": "Verifiquei que o idioma principal da página está incorretamente marcado. \"{{value}}\" existe?"
- },
- "lang_03": {
- "s": "Constatei que o atributo {{value}} se encontra em falta.",
- "p": "Constatei que o atributo {{value}} se encontra em falta."
- },
- "lang_04": {
- "s": "Constatei que os atributos lang e/ou xml:lang estão a ser utilizados de forma incorreta.",
- "p": "Constatei que os atributos lang e/ou xml:lang estão a ser utilizados de forma incorreta."
- },
- "lang_05": {
- "s": "Constatei que o tipo de documento não permite o uso do atributo {{value}}.",
- "p": "Constatei que o tipo de documento não permite o uso do atributo {{value}}."
- },
- "layout_01a": {
- "s": "Constatei que não há elementos obsoletos usados para controlo visual da apresentação.",
- "p": "Constatei que não há elementos obsoletos usados para controlo visual da apresentação."
- },
- "layout_01b": {
- "s": "Encontrei {{value}} elemento obsoleto usado para controlar a apresentação visual.",
- "p": "Encontrei {{value}} elementos obsoletos usados para controlar a apresentação visual."
- },
- "layout_02a": {
- "s": "Constatei que não há atributos obsoletos usados para controlar a apresentação visual.",
- "p": "Constatei que não há atributos obsoletos usados para controlar a apresentação visual."
- },
- "layout_02b": {
- "s": "Localizei {{value}} atributo obsoleto de usado para controlar a apresentação visual.",
- "p": "Localizei {{value}} atributos obsoletos usados para controlar a apresentação visual."
- },
- "layout_03": {
- "s": "Identifiquei {{value}} caso na CSS em que se utiliza unidade de medida px para definir a largura das caixas de texto.",
- "p": "Identifiquei {{value}} casos na CSS em que se utilizam unidades de medida px para definir a largura das caixas de texto."
- },
- "link_01": {
- "s": "Localizei nos metadados da página {{value}} elemento <link> que poderá servir para construir um sistema de navegação.",
- "p": "Localizei nos metadados da página {{value}} elementos <link> que poderão servir para construir um sistema de navegação.."
- },
- "list_01": {
- "s": "Localizei {{value}} ocorrência de lista vazia ou com <li> fora da lista.",
- "p": "Localizei {{value}} ocorrências de listas vazias ou com <li> fora das listas."
- },
- "long_01": {
- "s": "Localizei {{value}} atributo longdesc nas imagens com conteúdo incorreto.",
- "p": "Localizei {{value}} atributos longdesc nas imagens com conteúdo incorreto."
- },
- "marquee_01": {
- "s": "Constatei que existe conteúdo em movimento feito com o elemento <marquee>.",
- "p": "Constatei que existe conteúdo em movimento feito com o elemento <marquee>."
- },
- "meta_01": {
- "s": "Constatei que a página reinicia-se automaticamente através do elemento <meta http-equiv=\"refresh\">.",
- "p": "Constatei que a página reinicia-se automaticamente através do elemento <meta http-equiv=\"refresh\">."
- },
- "meta_02": {
- "s": "Constatei que a página é redireccionada automaticamente através do elemento <meta http-equiv=\"redirect\">.",
- "p": "Constatei que a página é redireccionada automaticamente através do elemento <meta http-equiv=\"redirect\">."
- },
- "object_01": {
- "s": "Localizei {{value}} elemento <object> sem equivalente textual alternativo.",
- "p": "Localizei {{value}} elementos <object> sem equivalente textual alternativo."
- },
- "scope_01": {
- "s": "Verifiquei que há {{value}} caso em que o atributo scope da tabela de dados é inválido.",
- "p": "Verifiquei que há {{value}} casos em que o atributo scope da tabela de dados é inválido."
- },
- "table_01": {
- "s": "Encontrei {{value}} tabela sem cabeçalhos identificados mas que usa o elemento <caption>.",
- "p": "Encontrei {{value}} tabelas sem cabeçalhos identificados mas que usam o elemento <caption>."
- },
- "table_02": {
- "s": "Localizei {{value}} tabela de dados sem o elemento <caption>.",
- "p": "Localizei {{value}} tabelas de dados sem o elemento <caption>."
- },
- "table_03": {
- "s": "Localizei {{value}} tabela em que o texto afixado em <caption> e summary é o mesmo.",
- "p": "Localizei {{value}} tabelas em que o texto afixado em <caption> e summary é o mesmo."
- },
- "table_04": {
- "s": "Verifiquei que há {{value}} tabelas que estão umas dentro das outras.",
- "p": "Verifiquei que há {{value}} tabelas que estão umas dentro das outras."
- },
- "table_05a": {
- "s": "Encontrei {{value}} tabela sem cabeçalhos marcados.",
- "p": "Encontrei {{value}} tabelas sem cabeçalhos marcados."
- },
- "table_06": {
- "s": "Encontrei {{value}} tabela de dados complexos - em que múltiplas linhas configuram as células cabeçalho -, nas quais se constatou existirem células de dados sem o atributo <headers>.",
- "p": "Encontrei {{value}} tabelas de dados complexos - em que múltiplas linhas configuram as células cabeçalho -, nas quais se constatou existirem células de dados sem o atributo <headers>."
- },
- "title_01": {
- "s": "Verifiquei que esta página não tem apenas um elemento <title>, como era suposto, mas {{value}}.",
- "p": "Verifiquei que esta página não tem apenas um elemento <title>, como era suposto, mas {{value}}."
- },
- "title_02": {
- "s": "Verifiquei que esta página não tem título - falta-lhe o elemento <title>.",
- "p": "Verifiquei que esta página não tem título - falta-lhe o elemento <title>."
- },
- "title_03": {
- "s": "Verifiquei que esta página não tem título - o elemento <title> está vazio.",
- "p": "Verifiquei que esta página não tem título - o elemento <title> está vazio."
- },
- "title_04": {
- "s": "Parece-me que o título da página é demasiado grande - ele contém {{value}} carateres.",
- "p": "Parece-me que o título da página é demasiado grande - ele contém {{value}} carateres."
- },
- "title_05": {
- "s": "Verifiquei que o título da página tem {{value}} carateres seguidos que me parecem ser Arte-ASCII.",
- "p": "Verifiquei que o título da página tem {{value}} carateres seguidos que me parecem ser Arte-ASCII."
- },
- "title_06": {
- "s": "Encontrei um título na página e ele parece-me correto.",
- "p": "Encontrei um título na página e ele parece-me correto."
- },
- "title_07": {
- "s": "Verifiquei que o título desta página é igual ao de outras páginas do sítio Web a que ela pertence.",
- "p": "Verifiquei que o título desta página é igual ao de outras páginas do sítio Web a que ela pertence."
- },
- "values_01a": {
- "s": "Verifiquei que há {{value}} caso, em que as unidades de medida que definem a largura dos elementos de conteúdo existentes no HTML estão expressas em valores absolutos.",
- "p": "Verifiquei que há {{value}} casos, em que as unidades de medida que definem a largura dos elementos de conteúdo existentes no HTML estão expressas em valores absolutos."
- },
- "values_01b": {
- "s": "Verifiquei que há {{value}} caso, em que as unidades de medida que definem a largura dos elementos de conteúdo existentes no HTML estão expressas em valores relativos.",
- "p": "Verifiquei que há {{value}} caso, em que as unidades de medida que definem a largura dos elementos de conteúdo existentes no HTML estão expressas em valores relativos."
- },
- "values_02a": {
- "s": "Identifiquei {{value}} caso na CSS em que se utiliza unidade de medida absolutas para definir a largura das caixas de conteúdo.",
- "p": "Identifiquei {{value}} casos na CSS em que se utilizam unidades de medida absolutas para definir a largura das caixas de conteúdo."
- },
- "values_02b": {
- "s": "Identifiquei {{value}} caso na CSS em que se utiliza unidade de medida relativa para definir a largura das caixas de conteúdo.",
- "p": "Identifiquei {{value}} casos na CSS em que se utilizam unidades de medida relativas para definir a largura das caixas de conteúdo."
- },
- "w3c_validator_01a": {
- "s": "Perguntei ao validador de HTML do W3C e constatei que não existem erros de HTML.",
- "p": "Perguntei ao validador de HTML do W3C e constatei que não existem erros de HTML."
- },
- "w3c_validator_01b": {
- "s": "Perguntei ao validador de HTML do W3C e constatei que há {{value}} erro de HTML.",
- "p": "Perguntei ao validador de HTML do W3C e constatei que há {{value}} erros de HTML."
- },
- "win_01": {
- "s": "Constatei que esta página tem janelas pop-up.",
- "p": "Constatei que esta página tem janelas pop-up."
- }
- },
- "TECHS": {
- "C12": "Utilizar percentagem para tamanhos de letra",
- "C19": "Especificar o alinhamento à esquerda OU à direita em CSS",
- "C21": "Especificar o espaçamento entre linhas em CSS",
- "C22": "Utilizar CSS para controlar a apresentação visual do texto",
- "C24": "Utilizar valores de percentagem em CSS para os tamanhos das caixas",
- "C9": "Utilizar CSS para incluir imagens decorativas",
- "F16": "Falha do Critério de Sucesso 2.2.2 devido à inclusão de conteúdo em deslocamento, onde o movimento não é essencial para a actividade, sem incluir igualmente um mecanismo para colocar em pausa e reiniciar o conteúdo",
- "F17": "Falha dos Critérios de Sucesso 1.3.1 e 4.1.1 devido a informações insuficientes no DOM para determinar relações um para um (por ex., entre etiquetas com o mesmo id) em HTML",
- "F24": "Falha dos Critérios de Sucesso 1.4.3, 1.4.6 e 1.4.8 devido à especificação de cores de primeiro plano sem especificar as cores de fundo e vice-versa",
- "F25": "Falha do Critério de Sucesso 2.4.2 devido ao título de uma página Web não identificar os conteúdos",
- "F30": "Falha dos Critérios de Sucesso 1.1.1 e 1.2.1 devido à utilização de alternativas em texto que não são alternativas (por ex., nomes de ficheiros ou texto de marcador de posição)",
- "F4": "Falha do Critério de Sucesso 2.2.2 devido à utilização de text-decoration",
- "F40": "Falha dos Critérios de Sucesso 2.2.1 e 2.2.4 devido à utilização de um meta redirect com um limite de tempo",
- "F41": "Falha dos Critérios de Sucesso 2.2.1, 2.2.4 e 3.2.5 devido à utilização de um meta refresh com um tempo limite excedido",
- "F46": "Falha do Critério de Sucesso 1.3.1 devido à utilização de elementos th, elementos caption ou atributos summary não vazios em tabelas de esquema",
- "F47": "Falha do Critério de Sucesso 2.2.2 devido à utilização do elemento blink",
- "F49": "Falha do Critério de Sucesso 1.3.2 devido à utilização de uma tabela de esquema HTML que não faz sentido quando linearizada",
- "F52": "Falha do Critério de Sucesso 3.2.1 devido à apresentação de uma nova janela assim que uma página nova é carregada",
- "F54": "Falha do Critério de Sucesso 2.1.1 devido à utilização apenas de processadores de evento específicos do dispositivo apontador (incluindo gestos) para uma função",
- "F55": "Falha dos Critérios de Sucesso 2.1.1, 2.4.7 e 3.2.1 devido à utilização de script para remover o foco quando o foco é recebido",
- "F59": "Falha do Critério de Sucesso 4.1.2 devido à utilização de script para tornar um div ou um span num controlo da interface de utilizador em HTML",
- "F65": "Falha do Critério de Sucesso 1.1.1 devido à omissão do atributo alt em elementos img, elementos area e elementos input do tipo \"imagem\"",
- "F68": "Falha dos Critérios de Sucesso 1.3.1 e 4.1.2 devido à associação de controlos de etiqueta e de interface de utilizador que não são determináveis de forma programática",
- "F77": "Falha do Critério de Sucesso 4.1.1 devido à duplicação de valores do tipo ID",
- "F84": "Falha do Critério de Sucesso 2.4.9 devido à utilização de um link não específico, tal como \"clique aqui\" ou \"mais\" sem um mecanismo para alterar o texto do link para texto específico",
- "F88": "Falha do Critério de Sucesso 1.4.8 devido à utilização de texto justificado (alinhado às margens esquerda e direita)",
- "F89": "Falha dos Critérios de Sucesso 2.4.4, 2.4.9 e 4.1.2 devido à utilização de alt nulo numa imagem em que a imagem é o único conteúdo num link",
- "G1": "Adicionar um link no topo de cada página para aceder directamente à área do conteúdo principal",
- "G102": "Fornecer a definição por extenso ou explicação de uma abreviatura",
- "G115": "Utilizar elementos semanticos para marcar a estrutura",
- "G123": "Adicionar um link no início de um bloco de conteúdo repetido para aceder directamente ao fim do bloco",
- "G125": "Fornecer links para navegar para páginas Web relacionadas",
- "G130": "Fornecer cabeçalhos descritivos",
- "G134": "Validar páginas Web",
- "G140": "Separar a informação e a estrutura da apresentação para permitir diferentes apresentações",
- "G141": "Organizar uma página utilizando cabeçalhos",
- "G145": "Garantir uma relação de contraste de, no mínimo, 3",
- "G146": "Utilizar disposições líquidas",
- "G162": "Colocar etiquetas para aumentar a previsibilidade das relações",
- "G88": "Fornecer títulos descritivos para páginas Web",
- "G90": "Fornecer manipuladores de eventos accionados por teclado",
- "H2": "Combinar a imagem adjacente e os links de texto para o mesmo recurso",
- "H24": "Fornecer alternativas em texto para os elementos area de mapas de imagens",
- "H25": "Fornecer um título utilizando o elemento title",
- "H27": "Fornecer alternativas em texto e em formato não textual para object",
- "H32": "Fornecer botões Submit",
- "H33": "Fornecer suplementos ao texto do link com o atributo title",
- "H35": "Fornecer alternativas em texto em elementos applet",
- "H36": "Utilizar atributos alt em imagens utilizadas como botões Submit",
- "H37": "Utilizar atributos alt em elementos img",
- "H39": "Utilizar elementos caption para associar títulos às tabelas de dados",
- "H42": "Utilizar h1-h6 para identificar cabeçalhos",
- "H43": "Utilizar os atributos id e headers para associar células de dados a células de cabeçalho em tabelas de dados",
- "H44": "Utilizar elementos label para associar etiquetas de texto a controlos de formulário",
- "H45": "Utilizar longdesc",
- "H46": "Utilizar o noembed com o embed",
- "H48": "Utilizar ol, ul e dl para listas",
- "H51": "Utilizar a marcação da tabela para apresentar informações dispostas em tabelas",
- "H57": "Utilizar atributos language no elemento html",
- "H59": "Utilizar o elemento link e as ferramentas de navegação",
- "H63": "Utilizar o atributo scope para associar células de cabeçalho a células de dados em tabelas de dados",
- "H64": "Utilizar o atributo title da frame e dos elementos iframe",
- "H65": "Utilizar o atributo title para identificar controlos de formulário quando o elemento label não puder ser utilizado",
- "H71": "Fornecer uma descrição para grupos de controlos de formulário utilizando elementos fieldset e legend",
- "H73": "Utilizar o atributo summary do elemento table para fornecer uma descrição geral das tabelas de dados",
- "H88": "Utilizar HTML de acordo com as especificações",
- "SCR20": "Utilizar o teclado e outras funções específicas do dispositivo"
- },
- "TXT_TECHNIQUES": {
- "C12": "
Quando o tamanho do texto está expresso em unidades absolutas há browsers que terão dificuldade em ampliar o texto.
",
- "C19": "
Algumas pessoas com baixa visão e algumas pessoas com incapacidades cognitivas têm grande dificuldade em lidar com blocos de texto que se encontram justificados.
",
- "C21": "
Muitas pessoas com incapacidades cognitivas têm dificuldade em acompanhar as linhas do texto quando o texto se apresenta com um espaçamento simples. Usar um espaçamento entre 1,5 e 2, facilita-lhes a passagem entre linhas.
",
- "C22": "
Esta prática está obsoleta. Em vez dela, deve usar as CSS para controlar a apresentação visual do texto. Quando este erro surge é porque está a usar dentro do elemento <body> da página os elementos: b, basefont, font, i, s, strike, u, ou os atributos: text, vlink, alink, link.
",
- "C24": "
Amplie 200% o ecrã e verifique que todo o conteúdo é visível sem necessidade de efetuar varrimentos horizontais.
",
- "C9": "
O uso de textos alternativos nulos ou vazios em HTML é uma prática comum para imagens classificadas como sendo decorativas. Todavia, todas as imagens classificadas como decorativas devem ser afixadas via CSS e não via HTML.
",
- "F16": "
É importante que o utilizador tenha controlo do conteúdo em movimento, nomeadamente que o possa parar.
",
- "F17": "
Os atributos accesskey precisam de ter valores únicos, caso contrário o resultado pode mostrar-se irregular de tecnologia para tecnologia.
",
- "F24": "
Não é necessário que a cor da letra e a cor do fundo estejam definidos na mesma regra de CSS mas é recomendável que assim seja. Esta é a única forma de garantir ao utilizador a obtenção do contraste desejado.
",
- "F25": "
Define-se como condição de falha sempre que uma página Web tem um título igual a um título de outra página do mesmo sítio Web. Cada página deve possuir um título único que identifique o propósito dos conteúdos.
",
- "F30": "
No atributo <code>alt</code> do elemento <code>img</code> encontrei o nome do ficheiro imagem ou um dos seguintes valores: \"img\", \"image\", \"spacer\", \"space\", \"picture\", \"alt\", \"alttext\", \"imagen\", \"imagem\", \"foto\", \"photo\", ou uma das seguintes extensões de imagem .jpg, .jpeg, .gif, .png. Nenhum dos valores referidos acima serve de equivalente textual alternativo.
",
- "F4": "
Alguns grupos de utilizadores, particularmente os que têm perturbações que causam défices de atenção, encontram no conteúdo cintilante elementos de distracção, dificultando-lhes a capacidade de concentração nas restantes partes do conteúdo da página Web.
",
- "F40": "
O valor \"refresh\" deve ser usado com cuidado, uma vez que ele retira o controlo da página ao utilizador.
",
- "F41": "
O valor \"refresh\" deve ser usado com cuidado, uma vez que ele retira o controlo da página ao utilizador.
",
- "F46": "
Desconfio que possa ter encontrado tabelas de dados às quais lhes faltam a identificação dos cabeçalhos. Caso contrário, poderão ser tabelas layout e neste caso têm um título, os quais deve retrirar.
",
- "F47": "
Alguns grupos de utilizadores, particularmente os que têm perturbações que causam défices de atenção, encontram no conteúdo cintilante elementos de distracção, dificultando-lhes a capacidade de concentração nas restantes partes do conteúdo da página Web.
",
- "F49": "
Ao linearizar as tabelas verifique se o conteúdo é percetível.
",
- "F52": "",
- "F54": "
Verifique se utiliza os manipuladores de evento onDblClick e/ou onMouseMove. Ao usar manipuladores de eventos rato-dependentes, ou \"dependentes de dispositivos apontadores\", os utiilzadores que precisam de utilizar teclados ou outros dispositivos de entrada alternativos que actuam como teclados emulados, ficarão impossibilitados de aceder.
",
- "F55": "
Percorra os campos de edição e verifique se o foco é inibido por técnicas de programação. Ao retirar o foco do conteúdo, este deixa de ser operável por quem usa apenas teclado para navegar.
",
- "F59": "
Os elementos genéricos como <div> e <span> não têm um papel pré-definido. Quando se faz uso destes elementos genéricos para criar controlos de interface de utilizador em HTML, as tecnologias de apoio não dispõem de informação suficiente para descrever e interagir com os controlos, nomeadamente se não se definir um \"role\" (papel) com técnicas de ARIA.
",
- "F65": "
Verifique se o equivalente textual alternativo existente nos botões gráficos serve informação ou função igual à desempenhada pelo botão gráfico na página.
",
- "F68": "
Não é obrigatório existir sempre uma relação explicita entre os campos de edição (<input>) e as etiquetas (<label>) mas será sempre útil para as Tecnologias de Apoio que esta relação esteja estabelecida. Assim, cada elemento <label> deve ter o atributo for.
",
- "F77": "
Atributos ids duplicados podem provocar comportamentos indesejáveis. Os ids são identificadores únicos de conteúdo e por isso mesmo irrepetíveis. Eles podem servir para apontar conteúdos ou estabelecer relações entre partes de conteúdos.
",
- "F84": "
É importante que os utilizadores consigam determinar o propósito e o destino do link sem recorrer ao contexto em que ele se encontra. Há utilizadores cujas Tecnologias de Apoio lhes fornecem todos os links da página em forma de listagem, sem qualquer contexto.
",
- "F88": "
Algumas pessoas com baixa visão e algumas pessoas com incapacidades cognitivas têm grande dificuldade em lidar com blocos de texto que se encontram justificados.
",
- "F89": "
Esta falha ocorre sempre que um link é composto por uma imagem e a imagem tem caráter vazio como equivalente textual alternativo - desconfio que os utilizadores de Tecnologias de Apoio não saibam qual é o seu destino ou para que serve, ou que possam mesmo nem sequer dar conta que o link existe.
",
- "G1": "
Disponibilize no topo da página um link que permita saltar diretamente para o conteúdo principal da mesma. Este link facilita a navegação a muitos utilizadores, nomeadamente os que usam software de seleção por varrimento. Estes utilizadores usam a visão para ler a informação pelo que o link tem de estar sempre visível ou ficar visível ao receber o foco.
",
- "G102": "
Marque as abreviaturas e/ou acrónimos com a respetiva extensão. No caso de HTML5 usa-se o elemento <code>abbr</code> quer para marcar abreviaturas quer para marcar acrónimos. Por exemplo: <abbr title=\"Fundação para a Ciência e a Tecnologia\">FCT</abbr>
",
- "G115": "
Com o aparecimento das CSS todos os elementos de HTML usados para controlo de estilos da página ficaram obsoletos. Elementos como: b, big, blink, center, font , i, s, strike, u ficaram obsoletos - use CSS para os substituir
",
- "G123": "
Verifique se de facto os links que encontrei proporcionam os saltos de conteúdo mais adequados; se os mesmos estão sempre visíveis ou se ficam visíveis ao receberem o foco via teclado.
",
- "G125": "
A natureza da WWW é disponibilizar nas páginas links para outras páginas relacionadas. É isso que permite aos utilizadores navegar pela informação. Uma página Web sem links é, à priori, estranho!
",
- "G130": "
Os cabeçalhos devem ser descritivos mas ao mesmo tempo sucintos. O seu conteúdo nunca, em caso algum, deve ser nulo - é o que está a acontecer neste caso.
",
- "G134": "
Os erros de HTML são uma das causas para as páginas Web se apresentarem de forma inconsistente nos vários browsers. Seguir uma especificação e validar a sintaxe de acordo com essa especificação potencia a consistência e correta interpretação por parte das tecnologias, nomeadamente as Tecnologias de Apoio.
",
- "G140": "
Com o aparecimento das CSS todos os atributos de HTML usados para controlo de estilos da página ficaram obsoletos. Atributos como: align, hspace, vspace, color, face, size (in the elements basefont, font), text, link, alink, vlink, bgcolor, background ficaram obsoletos - use CSS para os substituir
",
- "G141": "
As páginas Web devem ser marcadas com uma estrutura hierarquizada de títulos e subtítulos. Cada página deve ter, no mínimo, um título de nível 1. O nível 2 deve marcar as secções e o nível 3 as subsecções destas. Esta mesma lógica deve ser aplicada até às subsecções de nível 6.
",
- "G145": "
De acordo com o critério de sucesso 1.4.3, o rácio 3 para 1 corresponde ao contraste mínimo para texto \"em tamanho grande\" (18 pt ou 14 pt negrito, ou maior). Recordo que para tamanho de letra normal o rácio mínimo é de 4,5 para 1.
",
- "G146": "
Amplie 200% o ecrã e verifique que todo o conteúdo é visível sem necessidade de efetuar varrimentos horizontais.
",
- "G162": "
As etiquetas devem ser posicionadas imediatamente antes dos campos. As etiquetas para os campos do tipo listas de verificação (checkbox) e do tipo botões de rádio (radio) devem ser poisiconadas logo após os campos.
",
- "G88": "
O <title> de cada página deve: (1) identificar o assunto da página; (2) fazer sentido quando lido fora do contexto; (3) ser curto.
",
- "G90": "
Deve assegurar que os eventos de javascript são ativados não só através do rato mas também do teclado. Verifique os pares de manipuladores: mousedown/keydown, mouseup/keyup, mouseover/focus, mouseout/blur. Nota: O AccessMonitor não verifica o par onclick / onkeypress porque considera que os browsers suportam o onclick também quando se usa apenas o teclado. Este teste só é classificado correto quando não existem erros nos outros testes de manipulares verificados.
",
- "H2": "
No caso de links adjacentes que apontam exatamente para o mesmo recurso é sinal que os podemos agregar num só link. Geralmente, nestes casos, temos a sensação visual de estar perante um único link mas no caso de alguns utilizadores de Tecnologias de Apoio surgem duplicados, podendo resultar confuso.
",
- "H24": "
Verifique se o equivalente textual alternativo existente nas áreas ativas dos mapas de imagem serve informação ou função igual à desempenhada pelo mapa de imagem na página.
",
- "H25": "
Tome nota que o elemento <title> apenas deve aparecer uma vez na página.
",
- "H27": "
Sempre que usar um elemento <object> disponibilize o correspondente equivalente textual alternativo no corpo do elemento.
",
- "H32": "
Depois de preenchido, é necessário submeter os dados do formulário ao servidor. Essa é a função do botão submeter ou submit button.
",
- "H33": "
O atributo title é utilizado para proporcionar informação complementar à existente no texto do link. O atributo title e o texto do link devem ser suficientes para compreender o propósito do link.
",
- "H35": "
Cada elemento applet deve conter um equivalente textual alternativo no seu corpo e um equivalente textual no seu atributo alt. É importante o uso de ambos os mecanismos uma vez que os agentes de utilizador suportam de forma inconsistente o atributo alt e o texto alternativo posicionado no corpo do <applet>.
",
- "H36": "
O elemento <input> é utilizado para criar muitos tipos de controlos de formulário. Apesar das DTDs de HTML e XHTML permitirem o uso do atributo alt em todos os seus elementos, o atributo alt deve ser usado, no caso do elemento <input>, apenas nos botões gráficos.
",
- "H37": "
Verifique se o equivalente textual alternativo existente nas imagens serve informação ou função igual à desempenhada pela imagem na página.
",
- "H39": "
Desconfio que possa ter encontrado tabelas de dados ás quais lhes faltam a identificação do título (<caption>).
",
- "H42": "
As páginas Web devem ser marcadas com uma estrutura hierarquizada de títulos e subtítulos. Cada página deve ter, no mínimo, um título de nível 1. O nível 2 deve marcar as secções e o nível 3 as subsecções destas. Esta mesma lógica deve ser aplicada até às subsecções de nível 6.
",
- "H43": "
Em tabelas de dados complexas (com cabeçalhos em várias linhas) é importante associar explicitamente as células de dados aos vários cabeçalhos que lhe dão contexto. Essa associação é feita com o atributo headers.
",
- "H44": "
Os elementos <label> associados aos elementos <input> permitem aos utilizadores de Tecnologias de Apoio identificar a etiqueta que contextualiza um campo de edição. A associação explicita é feita pelo par de atributos id e for, respetivamente, dos elementos <input> e <label>.
",
- "H45": "
O atributo longdesc tem de ser composto por um URI que aponte a localização onde se encontra a descrição longa - pode ser outra página ou um marcador para uma página.
",
- "H46": "
Quando utilizamos o elemento <embed> temos de disponibilizar um equivalente textual alternativo no elemento <noembed>. O elemento <noembed> apenas é mostrado se o elemento <embed> não for suportado.
",
- "H48": "
Se o conteúdo que identifiquei é, na verdade, uma lista de opções então use a marcação estrutural correta (i.e. <ul>, <ol>).
",
- "H51": "
Apesar das WCAG não proibirem o uso de tabelas layout é recomendável não as usar. Se as tabelas em causa forem de dados então marque as células de cabeçalho convenientemente.
",
- "H57": "
O HTML apenas dispõe do atributo lang. O XHTML 1.1 apenas permite o xml:lang. O XHTML 1.0 (como medida de transição) permite ambos os atributos. O XHTML servido como text/html utiliza os atributos lang e xml:lang do elemento html.
",
- "H59": "
Verifique se em cada cada um dos elementos <link>, existentes no <head> da página, o href aponta um recurso apropriado.
",
- "H63": "
O atributo scope identifica se uma célula constitui um cabeçalho de uma linha, de uma coluna, de um grupo de linhas ou de um grupo de colunas. Os valores row, col, rowgroup e colgroup identificam respectivamente os valores que o scope pode assumir.
",
- "H64": "
As molduras (frame) são janelas onde é possível visualizar conteúdo proveniente de outro servidor. É importante identificar convenientemente essas molduras. Use o atributo title para o efeito!
",
- "H65": "
Para preencher os campos de edição, os utilizadores precisam que os mesmos estejam identificados. Pode ser uma identificação explicita (marcada no código) ou implicita (geralmente derivada da posição relativa). Explicitamente pode ser feita pelo elemento <label> ou pelo atributo title do elemento <input>.
",
- "H71": "
Os controlos de formulário podem ser agrupados, de acordo com a sua afinidade, através do elemento <fieldset>. O primeiro elemento dentro do <fieldset> deve ser o <legend>, o qual serve de etiqueta ou descrição para o agrupamento.
",
- "H73": "
Desconfio que possa ter encontrado tabelas de dados em que o conteúdo que se encontra no elemento <caption> é o mesmo que está no atributo summary.
",
- "H88": "
A DTD define a versão da gramática de HTML que está a ser usada na página. A sua não existência faz os agentes de utilizador entrar num processo de adivinhação de qual a melhor forma de interpretar o código. Isto faz aumentar a probabilidade de inconsistência na forma como o conteúdo é apresentado.
",
- "SCR20": "
Deve assegurar que os eventos de javascript são ativados não só através do rato mas também do teclado. Verifique os pares de manipuladores: mousedown/keydown, mouseup/keyup, mouseover/focus, mouseout/blur. Nota: O AccessMonitor não verifica o par onclick / onkeypress porque considera que os browsers suportam o onclick também quando se usa apenas o teclado.
",
- "H50": "
Agrupar links relacionados entre si é uma prática facilitadora da navegação. Para agrupar, podemos usar listas - <ul>; <ol> - ou o elemento <map> usual na marcação de mapas de imagem.
"
- },
- "TECHFAIL": {
- "relationF": "Esta falha WCAG 2.1 está relacionada com:",
- "relationT": "Esta técnica WCAG 2.1 está relacionada com:"
- }
-}
diff --git a/dist/access-monitor-plus/assets/images/ED_dots.svg b/dist/access-monitor-plus/assets/images/ED_dots.svg
deleted file mode 100644
index ef35b040..00000000
--- a/dist/access-monitor-plus/assets/images/ED_dots.svg
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
diff --git a/dist/access-monitor-plus/assets/images/accessmonitor_50.png b/dist/access-monitor-plus/assets/images/accessmonitor_50.png
deleted file mode 100644
index bfb17e4a..00000000
Binary files a/dist/access-monitor-plus/assets/images/accessmonitor_50.png and /dev/null differ
diff --git a/dist/access-monitor-plus/assets/images/icoerr.png b/dist/access-monitor-plus/assets/images/icoerr.png
deleted file mode 100644
index 1861b7b8..00000000
Binary files a/dist/access-monitor-plus/assets/images/icoerr.png and /dev/null differ
diff --git a/dist/access-monitor-plus/assets/images/icon_arrow_bullets.svg b/dist/access-monitor-plus/assets/images/icon_arrow_bullets.svg
deleted file mode 100644
index 088f74d2..00000000
--- a/dist/access-monitor-plus/assets/images/icon_arrow_bullets.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/dist/access-monitor-plus/assets/images/icon_dark.svg b/dist/access-monitor-plus/assets/images/icon_dark.svg
deleted file mode 100644
index 68887857..00000000
--- a/dist/access-monitor-plus/assets/images/icon_dark.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/dist/access-monitor-plus/assets/images/icon_globe_language.svg b/dist/access-monitor-plus/assets/images/icon_globe_language.svg
deleted file mode 100644
index 9c6dcd80..00000000
--- a/dist/access-monitor-plus/assets/images/icon_globe_language.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/dist/access-monitor-plus/assets/images/icook.png b/dist/access-monitor-plus/assets/images/icook.png
deleted file mode 100644
index e6f6e621..00000000
Binary files a/dist/access-monitor-plus/assets/images/icook.png and /dev/null differ
diff --git a/dist/access-monitor-plus/assets/images/icowar.png b/dist/access-monitor-plus/assets/images/icowar.png
deleted file mode 100644
index c632b045..00000000
Binary files a/dist/access-monitor-plus/assets/images/icowar.png and /dev/null differ
diff --git a/dist/access-monitor-plus/assets/images/logo_accessmonitor_01_v2-1.svg b/dist/access-monitor-plus/assets/images/logo_accessmonitor_01_v2-1.svg
deleted file mode 100644
index ca70cd29..00000000
--- a/dist/access-monitor-plus/assets/images/logo_accessmonitor_01_v2-1.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/dist/access-monitor-plus/assets/images/logo_accessmonitor_02_v2-1.svg b/dist/access-monitor-plus/assets/images/logo_accessmonitor_02_v2-1.svg
deleted file mode 100644
index 3038cca5..00000000
--- a/dist/access-monitor-plus/assets/images/logo_accessmonitor_02_v2-1.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/dist/access-monitor-plus/assets/images/logo_footer_AMA.svg b/dist/access-monitor-plus/assets/images/logo_footer_AMA.svg
deleted file mode 100644
index 9f6893ad..00000000
--- a/dist/access-monitor-plus/assets/images/logo_footer_AMA.svg
+++ /dev/null
@@ -1,95 +0,0 @@
-
-
-
diff --git a/dist/access-monitor-plus/assets/images/logo_footer_compete.svg b/dist/access-monitor-plus/assets/images/logo_footer_compete.svg
deleted file mode 100644
index fc83467f..00000000
--- a/dist/access-monitor-plus/assets/images/logo_footer_compete.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/dist/access-monitor-plus/assets/images/logo_footer_feei.old.svg b/dist/access-monitor-plus/assets/images/logo_footer_feei.old.svg
deleted file mode 100644
index c0093f7c..00000000
--- a/dist/access-monitor-plus/assets/images/logo_footer_feei.old.svg
+++ /dev/null
@@ -1,201 +0,0 @@
-
-
-
diff --git a/dist/access-monitor-plus/assets/images/logo_footer_feei.svg b/dist/access-monitor-plus/assets/images/logo_footer_feei.svg
deleted file mode 100644
index 49862861..00000000
--- a/dist/access-monitor-plus/assets/images/logo_footer_feei.svg
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
diff --git a/dist/access-monitor-plus/assets/images/logo_footer_portugal2020.svg b/dist/access-monitor-plus/assets/images/logo_footer_portugal2020.svg
deleted file mode 100644
index ef5f0cb8..00000000
--- a/dist/access-monitor-plus/assets/images/logo_footer_portugal2020.svg
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
diff --git a/dist/access-monitor-plus/assets/images/logo_footer_rp.svg b/dist/access-monitor-plus/assets/images/logo_footer_rp.svg
deleted file mode 100644
index cdc2fb32..00000000
--- a/dist/access-monitor-plus/assets/images/logo_footer_rp.svg
+++ /dev/null
@@ -1,236 +0,0 @@
-
-
-
diff --git a/dist/access-monitor-plus/assets/images/monitor_icons_ilustration_access_monitor_XL_light_color.svg b/dist/access-monitor-plus/assets/images/monitor_icons_ilustration_access_monitor_XL_light_color.svg
deleted file mode 100644
index a317b800..00000000
--- a/dist/access-monitor-plus/assets/images/monitor_icons_ilustration_access_monitor_XL_light_color.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/dist/access-monitor-plus/assets/images/see2.png b/dist/access-monitor-plus/assets/images/see2.png
deleted file mode 100644
index fd79d1c1..00000000
Binary files a/dist/access-monitor-plus/assets/images/see2.png and /dev/null differ
diff --git a/dist/access-monitor-plus/assets/selos/selo_bronze_md.svg b/dist/access-monitor-plus/assets/selos/selo_bronze_md.svg
deleted file mode 100644
index 72285f33..00000000
--- a/dist/access-monitor-plus/assets/selos/selo_bronze_md.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/dist/access-monitor-plus/assets/selos/selo_bronze_xl.svg b/dist/access-monitor-plus/assets/selos/selo_bronze_xl.svg
deleted file mode 100644
index d0703ad9..00000000
--- a/dist/access-monitor-plus/assets/selos/selo_bronze_xl.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/dist/access-monitor-plus/assets/selos/selo_ouro_md.svg b/dist/access-monitor-plus/assets/selos/selo_ouro_md.svg
deleted file mode 100644
index 80ce115f..00000000
--- a/dist/access-monitor-plus/assets/selos/selo_ouro_md.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/dist/access-monitor-plus/assets/selos/selo_ouro_xl.svg b/dist/access-monitor-plus/assets/selos/selo_ouro_xl.svg
deleted file mode 100644
index 9b19ab08..00000000
--- a/dist/access-monitor-plus/assets/selos/selo_ouro_xl.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/dist/access-monitor-plus/assets/selos/selo_prata_md.svg b/dist/access-monitor-plus/assets/selos/selo_prata_md.svg
deleted file mode 100644
index 239fb946..00000000
--- a/dist/access-monitor-plus/assets/selos/selo_prata_md.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/dist/access-monitor-plus/assets/selos/selo_prata_xl.svg b/dist/access-monitor-plus/assets/selos/selo_prata_xl.svg
deleted file mode 100644
index f3009236..00000000
--- a/dist/access-monitor-plus/assets/selos/selo_prata_xl.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/dist/access-monitor-plus/index.html b/dist/access-monitor-plus/index.html
deleted file mode 100644
index 45800cfd..00000000
--- a/dist/access-monitor-plus/index.html
+++ /dev/null
@@ -1,28 +0,0 @@
-
- Access Monitor Plus
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/dist/access-monitor-plus/main-es2015.adf0fa9065b9e3c7a04b.js b/dist/access-monitor-plus/main-es2015.adf0fa9065b9e3c7a04b.js
deleted file mode 100644
index adbf99f2..00000000
--- a/dist/access-monitor-plus/main-es2015.adf0fa9065b9e3c7a04b.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunkaccess_monitor_plus=self.webpackChunkaccess_monitor_plus||[]).push([[179],{98255:function(t){function e(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=function(){return[]},e.resolve=e,e.id=98255,t.exports=e},86086:function(t,e,n){"use strict";function i(t,e,n,i){return new(n||(n=Promise))(function(s,r){function o(t){try{l(i.next(t))}catch(e){r(e)}}function a(t){try{l(i.throw(t))}catch(e){r(e)}}function l(t){t.done?s(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(o,a)}l((i=i.apply(t,e||[])).next())})}function s(t){return this instanceof s?(this.v=t,this):new s(t)}function r(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(t,e||[]),o=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(t){r[t]&&(i[t]=function(e){return new Promise(function(n,i){o.push([t,e,n,i])>1||l(t,e)})})}function l(t,e){try{!function(t){t.value instanceof s?Promise.resolve(t.value.v).then(u,c):h(o[0][2],t)}(r[t](e))}catch(n){h(o[0][3],n)}}function u(t){l("next",t)}function c(t){l("throw",t)}function h(t,e){t(e),o.shift(),o.length&&l(o[0][0],o[0][1])}}function o(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(n){e[n]=t[n]&&function(e){return new Promise(function(i,s){!function(t,e,n,i){Promise.resolve(i).then(function(e){t({value:e,done:n})},e)}(i,s,(e=t[n](e)).done,e.value)})}}}n.d(e,{mG:function(){return i},qq:function(){return s},FC:function(){return r},KL:function(){return o}})},59146:function(t,e,n){"use strict";n.d(e,{rt:function(){return Z},mK:function(){return C}});var i=n(16274),s=n(42741);n(76886),n(4178),n(86122),n(71855),n(9018),n(36913),n(56634);var r=n(15218),o=(n(15524),n(99957));let a;try{a="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(S){a=!1}let l,u=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?(0,i.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!a)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.Lbi))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.Lbi))},token:t,providedIn:"root"}),t})(),c=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();l="undefined"!=typeof global?global:"undefined"!=typeof window?window:{},n(78806);var h=n(92989);class d extends h.w0{constructor(t,e){super()}schedule(t,e=0){return this}}const p={setInterval(...t){const{delegate:e}=p;return((null==e?void 0:e.setInterval)||setInterval)(...t)},clearInterval(t){const{delegate:e}=p;return((null==e?void 0:e.clearInterval)||clearInterval)(t)},delegate:void 0};var _=n(5696),f=n(48090);class g{constructor(t,e=g.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,n){return new this.schedulerActionCtor(this,t).schedule(n,e)}}g.now=f.l.now,new class extends g{constructor(t,e=g.now){super(t,e),this.actions=[],this._active=!1,this._scheduled=void 0}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let n;this._active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}(class extends d{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return p.setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return e;p.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,i=!1;try{this.work(t)}catch(s){i=!0,n=s||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:n}=e;this.work=this.state=this.scheduler=null,this.pending=!1,(0,_.P)(n,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}});let m=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[m]}),t})(),b=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}(function(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(t));if(e&&(-1===x(e)||!this.isVisible(e)))return!1;let n=t.nodeName.toLowerCase(),i=x(t);return t.hasAttribute("contenteditable")?-1!==i:!("iframe"===n||"object"===n||this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===n?!!t.hasAttribute("controls")&&-1!==i:"video"===n?-1!==i&&(null!==i||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||v(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(u))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(u))},token:t,providedIn:"root"}),t})();function v(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function x(t){if(!v(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class w{constructor(t,e,n,i,s=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe((0,r.q)(1)).subscribe(t)}}let A=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new w(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(b),s.LFG(s.R0b),s.LFG(i.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(b),s.LFG(s.R0b),s.LFG(i.K0))},token:t,providedIn:"root"}),t})(),C=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=(0,o.Ig)(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=(0,o.Ig)(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(t){const e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=function(){let t="undefined"!=typeof document&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}(),this.focusTrap.focusInitialElementWhenReady()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(A),s.Y36(i.K0))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[s.TTD]}),t})();"undefined"!=typeof Element&∈const k="cdk-high-contrast-black-on-white",O="cdk-high-contrast-white-on-black",T="cdk-high-contrast-active";let E=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(T),t.remove(k),t.remove(O),this._hasCheckedHighContrastMode=!0;const e=this.getHighContrastMode();1===e?(t.add(T),t.add(k)):2===e&&(t.add(T),t.add(O))}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(u),s.LFG(i.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(u),s.LFG(i.K0))},token:t,providedIn:"root"}),t})(),Z=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(E))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[c,y]]}),t})()},99957:function(t,e,n){"use strict";n.d(e,{Ig:function(){return s},fI:function(){return o},su:function(){return r}});var i=n(42741);function s(t){return null!=t&&"false"!=`${t}`}function r(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function o(t){return t instanceof i.SBq?t.nativeElement:t}},16274:function(t,e,n){"use strict";n.d(e,{mr:function(){return v},ez:function(){return Q},K0:function(){return l},JJ:function(){return G},Do:function(){return w},V_:function(){return h},Ye:function(){return A},S$:function(){return y},mk:function(){return U},sg:function(){return I},O5:function(){return D},PC:function(){return $},RF:function(){return z},n9:function(){return B},b0:function(){return x},lw:function(){return u},EM:function(){return J},JF:function(){return et},NF:function(){return W},PM:function(){return K},w_:function(){return a},bD:function(){return Y},q:function(){return r},Mx:function(){return q},HT:function(){return o}});var i=n(42741);let s=null;function r(){return s}function o(t){s||(s=t)}class a{}const l=new i.OlP("DocumentToken");let u=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:c,token:t,providedIn:"platform"}),t})();function c(){return(0,i.LFG)(d)}const h=new i.OlP("Location Initialized");let d=(()=>{class t extends u{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return r().getBaseHref(this._doc)}onPopState(t){const e=r().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=r().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}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(t){this.location.pathname=t}pushState(t,e,n){p()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){p()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(l))},t.\u0275prov=(0,i.Yz7)({factory:_,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function _(){return new d((0,i.LFG)(l))}function f(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function g(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function m(t){return t&&"?"!==t[0]?"?"+t:t}let y=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:b,token:t,providedIn:"root"}),t})();function b(t){const e=(0,i.LFG)(l).location;return new x((0,i.LFG)(u),e&&e.origin||"")}const v=new i.OlP("appBaseHref");let x=(()=>{class t extends y{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return f(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+m(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const s=this.prepareExternalUrl(n+m(i));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,i){const s=this.prepareExternalUrl(n+m(i));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(u),i.LFG(v,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),w=(()=>{class t extends y{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=f(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let s=this.prepareExternalUrl(n+m(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,i){let s=this.prepareExternalUrl(n+m(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(u),i.LFG(v,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),A=(()=>{class t{constructor(t,e){this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=g(k(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+m(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,k(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+m(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+m(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(y),i.LFG(u))},t.normalizeQueryParams=m,t.joinWithSlash=f,t.stripTrailingSlash=g,t.\u0275prov=(0,i.Yz7)({factory:C,token:t,providedIn:"root"}),t})();function C(){return new A((0,i.LFG)(y),(0,i.LFG)(u))}function k(t){return t.replace(/\/index.html$/,"")}var O=(()=>((O=O||{})[O.Decimal=0]="Decimal",O[O.Percent=1]="Percent",O[O.Currency=2]="Currency",O[O.Scientific=3]="Scientific",O))(),T=(()=>((T=T||{})[T.Zero=0]="Zero",T[T.One=1]="One",T[T.Two=2]="Two",T[T.Few=3]="Few",T[T.Many=4]="Many",T[T.Other=5]="Other",T))(),E=(()=>((E=E||{})[E.Decimal=0]="Decimal",E[E.Group=1]="Group",E[E.List=2]="List",E[E.PercentSign=3]="PercentSign",E[E.PlusSign=4]="PlusSign",E[E.MinusSign=5]="MinusSign",E[E.Exponential=6]="Exponential",E[E.SuperscriptingExponent=7]="SuperscriptingExponent",E[E.PerMille=8]="PerMille",E[E.Infinity=9]="Infinity",E[E.NaN=10]="NaN",E[E.TimeSeparator=11]="TimeSeparator",E[E.CurrencyDecimal=12]="CurrencyDecimal",E[E.CurrencyGroup=13]="CurrencyGroup",E))();function Z(t,e){const n=(0,i.cg1)(t),s=n[i.wAp.NumberSymbols][e];if(void 0===s){if(e===E.CurrencyDecimal)return n[i.wAp.NumberSymbols][E.Decimal];if(e===E.CurrencyGroup)return n[i.wAp.NumberSymbols][E.Group]}return s}const S=i.kL8,P=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function M(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}class L{}let R=(()=>{class t extends L{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(S(e||this.locale)(t)){case T.Zero:return"zero";case T.One:return"one";case T.Two:return"two";case T.Few:return"few";case T.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.soG))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function q(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(s)}return null}let U=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&((0,i.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,i.AaK)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class N{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let I=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${e}' of type '${function(t){return t.name||typeof t}(e)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new N(null,this._ngForOf,-1,-1),null===i?void 0:i),s=new F(t,n);e.push(s)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,i);const r=new F(t,s);e.push(r)}});for(let n=0;n{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class F{constructor(t,e){this.record=t,this.view=e}}let D=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new H,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){j("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){j("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class H{constructor(){this.$implicit=null,this.ngIf=null}}function j(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,i.AaK)(e)}'.`)}class V{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let z=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new V(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(z,9))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),$=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,i]=t.split(".");null!=(e=null!=e&&i?`${e}${i}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.aQg),i.Y36(i.Qsj))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})();let G=(()=>{class t{constructor(t){this._locale=t}transform(e,n,s){if(!function(t){return!(null==t||""===t||t!=t)}(e))return null;s=s||this._locale;try{return function(t,e,n){return function(t,e,n,i,s,r,o=!1){let a="",l=!1;if(isFinite(t)){let u=function(t){let e,n,i,s,r,o=Math.abs(t)+"",a=0;for((n=o.indexOf("."))>-1&&(o=o.replace(".","")),(i=o.search(/e/i))>0?(n<0&&(n=i),n+=+o.slice(i+1),o=o.substring(0,i)):n<0&&(n=o.length),i=0;"0"===o.charAt(i);i++);if(i===(r=o.length))e=[0],n=1;else{for(r--;"0"===o.charAt(r);)r--;for(n-=i,e=[],s=0;i<=r;i++,s++)e[s]=Number(o.charAt(i))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);o&&(u=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(u));let c=e.minInt,h=e.minFrac,d=e.maxFrac;if(r){const t=r.match(P);if(null===t)throw new Error(`${r} is not a valid digit info`);const e=t[1],n=t[3],i=t[5];null!=e&&(c=M(e)),null!=n&&(h=M(n)),null!=i?d=M(i):null!=n&&h>d&&(d=h)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let i=t.digits,s=i.length-t.integerLen;const r=Math.min(Math.max(e,s),n);let o=r+t.integerLen,a=i[o];if(o>0){i.splice(Math.max(t.integerLen,o));for(let t=o;t=5)if(o-1<0){for(let e=0;e>o;e--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[o-1]++;for(;s=u?i.pop():l=!1),e>=10?1:0},0);c&&(i.unshift(c),t.integerLen++)}(u,h,d);let p=u.digits,_=u.integerLen;const f=u.exponent;let g=[];for(l=p.every(t=>!t);_0?g=p.splice(_,p.length):(g=p,p=[0]);const m=[];for(p.length>=e.lgSize&&m.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)m.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&m.unshift(p.join("")),a=m.join(Z(n,i)),g.length&&(a+=Z(n,s)+g.join("")),f&&(a+=Z(n,E.Exponential)+"+"+f)}else a=Z(n,E.Infinity);return a=t<0&&!l?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}(t,function(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(";"),s=i[0],r=i[1],o=-1!==s.indexOf(".")?s.split("."):[s.substring(0,s.lastIndexOf("0")+1),s.substring(s.lastIndexOf("0")+1)],a=o[0],l=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let c=0;c{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:L,useClass:R}]}),t})();const Y="browser";function W(t){return t===Y}function K(t){return"server"===t}let J=(()=>{class t{}return t.\u0275prov=(0,i.Yz7)({token:t,providedIn:"root",factory:()=>new X((0,i.LFG)(l),window)}),t})();class X{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const t=i.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],i-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=tt(this.window.history)||tt(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function tt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class et{}},31887:function(t,e,n){"use strict";n.d(e,{eN:function(){return S},JF:function(){return V}});var i=n(16274),s=n(42741),r=n(86122),o=n(78806),a=n(71158),l=n(71855),u=n(83034);class c{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?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(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return g(t)}encodeValue(t){return g(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const _=/%(\d[a-f0-9])/gi,f={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function g(t){return encodeURIComponent(t).replace(_,(t,e)=>{var n;return null!==(n=f[e])&&void 0!==n?n:t})}function m(t){return`${t}`}class y{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const i=t.indexOf("="),[s,r]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(s)||[];o.push(r),n.set(s,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const i=t[n];Array.isArray(i)?i.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new y({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(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":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(m(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(m(t.value));-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class b{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),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}keys(){return this.map.keys()}}function v(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function x(t){return"undefined"!=typeof Blob&&t instanceof Blob}function w(t){return"undefined"!=typeof FormData&&t instanceof FormData}class A{constructor(t,e,n,i){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,s=i):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new d),this.context||(this.context=new b),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n]),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),u)),new A(n,i,r,{params:u,headers:l,context:c,reportProgress:a,responseType:s,withCredentials:o})}}var C=(()=>((C=C||{})[C.Sent=0]="Sent",C[C.UploadProgress=1]="UploadProgress",C[C.ResponseHeader=2]="ResponseHeader",C[C.DownloadProgress=3]="DownloadProgress",C[C.Response=4]="Response",C[C.User=5]="User",C))();class k{constructor(t,e=200,n="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class O extends k{constructor(t={}){super(t),this.type=C.ResponseHeader}clone(t={}){return new O({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class T extends k{constructor(t={}){super(t),this.type=C.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new T({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class E extends k{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Z(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let S=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof A)i=t;else{let s,r;s=n.headers instanceof d?n.headers:new d(n.headers),n.params&&(r=n.params instanceof y?n.params:new y({fromObject:n.params})),i=new A(t,e,void 0!==n.body?n.body:null,{headers:s,context:n.context,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=(0,r.of)(i).pipe((0,a.b)(t=>this.handler.handle(t)));if(t instanceof A||"events"===n.observe)return s;const o=s.pipe((0,l.h)(t=>t instanceof T));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return o.pipe((0,u.U)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return o.pipe((0,u.U)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return o.pipe((0,u.U)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return o.pipe((0,u.U)(t=>t.body))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new y).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,Z(n,e))}post(t,e,n={}){return this.request("POST",t,Z(n,e))}put(t,e,n={}){return this.request("PUT",t,Z(n,e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(c))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class P{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const M=new s.OlP("HTTP_INTERCEPTORS");let L=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const R=/^\)\]\}',?\n/;let q=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new o.y(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let s=null;const r=()=>{if(null!==s)return s;const e=1223===n.status?204:n.status,i=n.statusText||"OK",r=new d(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return s=new O({headers:r,status:e,statusText:i,url:o}),s},o=()=>{let{headers:i,status:s,statusText:o,url:a}=r(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let u=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(R,"");try{l=""!==l?JSON.parse(l):null}catch(c){l=t,u&&(u=!1,l={error:c,text:l})}}u?(e.next(new T({body:l,headers:i,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new E({error:l,headers:i,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:i}=r(),s=new E({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(s)};let l=!1;const u=i=>{l||(e.next(r()),l=!0);let s={type:C.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(s.total=i.total),"text"===t.responseType&&!!n.responseText&&(s.partialText=n.responseText),e.next(s)},c=t=>{let n={type:C.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",u),null!==i&&n.upload&&n.upload.addEventListener("progress",c)),n.send(i),e.next({type:C.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",u),null!==i&&n.upload&&n.upload.removeEventListener("progress",c)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.JF))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const U=new s.OlP("XSRF_COOKIE_NAME"),N=new s.OlP("XSRF_HEADER_NAME");class I{}let F=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,i.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0),s.LFG(s.Lbi),s.LFG(U))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null!==i&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(I),s.LFG(N))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),H=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(M,[]);this.chain=t.reduceRight((t,e)=>new P(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(h),s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),j=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:D,useClass:L}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:U,useValue:e.cookieName}:[],e.headerName?{provide:N,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[D,{provide:M,useExisting:D,multi:!0},{provide:I,useClass:F},{provide:U,useValue:"XSRF-TOKEN"},{provide:N,useValue:"X-XSRF-TOKEN"}]}),t})(),V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[S,{provide:c,useClass:H},q,{provide:h,useExisting:q}],imports:[[j.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},42741:function(t,e,n){"use strict";n.d(e,{deG:function(){return on},tb:function(){return Kl},AFp:function(){return $l},ip1:function(){return zl},CZH:function(){return Bl},hGG:function(){return Vu},z2F:function(){return Lu},sBO:function(){return ja},Sil:function(){return lu},_Vd:function(){return da},EJc:function(){return tu},SBq:function(){return ga},qLn:function(){return Zi},vpe:function(){return kl},gxx:function(){return gr},tBr:function(){return Pn},XFs:function(){return S},OlP:function(){return rn},zs3:function(){return Pr},ZZ4:function(){return qa},aQg:function(){return Na},soG:function(){return Xl},YKP:function(){return Ja},v3s:function(){return qu},h0i:function(){return Ka},PXZ:function(){return Eu},R0b:function(){return hu},FiY:function(){return Mn},Lbi:function(){return Wl},g9A:function(){return Yl},Qsj:function(){return ba},FYo:function(){return ya},JOm:function(){return Mi},Tiy:function(){return xa},q3G:function(){return vi},tp0:function(){return Ln},EAV:function(){return Iu},Rgc:function(){return Ga},dDg:function(){return yu},DyG:function(){return an},GfV:function(){return wa},s_b:function(){return tl},ifc:function(){return U},eFA:function(){return Zu},G48:function(){return ku},Gpc:function(){return p},f3M:function(){return On},_c5:function(){return Hu},VLi:function(){return xu},c2e:function(){return Jl},zSh:function(){return yr},wAp:function(){return Ko},vHH:function(){return g},EiD:function(){return yi},mCW:function(){return ni},qzn:function(){return Bn},JVY:function(){return Gn},pB0:function(){return Kn},eBb:function(){return Yn},L6k:function(){return Qn},LAX:function(){return Wn},cg1:function(){return Qo},Tjo:function(){return Du},kL8:function(){return Yo},yhl:function(){return $n},dqk:function(){return D},sIi:function(){return Hr},CqO:function(){return lo},QGY:function(){return oo},F4k:function(){return ao},RDi:function(){return kt},AaK:function(){return c},z3N:function(){return zn},qOj:function(){return Lr},TTD:function(){return mt},_Bn:function(){return la},xp6:function(){return bs},uIk:function(){return $r},Tol:function(){return To},Gre:function(){return Vo},ekj:function(){return Oo},Suo:function(){return Fl},Xpm:function(){return K},lG2:function(){return st},Yz7:function(){return x},cJS:function(){return w},oAB:function(){return et},Yjl:function(){return rt},Y36:function(){return Wr},_UZ:function(){return no},BQk:function(){return so},ynx:function(){return io},qZA:function(){return eo},TgZ:function(){return to},EpF:function(){return ro},n5z:function(){return Xe},Ikx:function(){return zo},LFG:function(){return kn},$8M:function(){return en},$Z:function(){return Kr},NdJ:function(){return uo},CRH:function(){return Dl},kcU:function(){return ye},O4$:function(){return me},oxw:function(){return po},ALo:function(){return bl},lcZ:function(){return vl},xi3:function(){return xl},Hsn:function(){return go},F$t:function(){return fo},Q6J:function(){return Jr},s9C:function(){return mo},DdM:function(){return fl},VKq:function(){return gl},iGM:function(){return Nl},MAs:function(){return Yr},CHM:function(){return zt},oJD:function(){return xi},LSH:function(){return wi},kYT:function(){return nt},Udp:function(){return ko},YNc:function(){return Qr},_uU:function(){return Fo},Oqu:function(){return Do},hij:function(){return Ho},AsE:function(){return jo},Gf:function(){return Il}});var i=n(4178),s=n(92989),r=n(78806),o=n(65328),a=n(69135);function l(t){for(let e in t)if(t[e]===l)return e;throw Error("Could not find renamed property on target object.")}function u(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function c(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(c).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function h(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const d=l({__forward_ref__:l});function p(t){return t.__forward_ref__=p,t.toString=function(){return c(this())},t}function _(t){return f(t)?t():t}function f(t){return"function"==typeof t&&t.hasOwnProperty(d)&&t.__forward_ref__===p}class g extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function m(t){return"string"==typeof t?t:null==t?"":String(t)}function y(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():m(t)}function b(t,e){const n=e?` in ${e}`:"";throw new g("201",`No provider for ${y(t)} found${n}`)}function v(t,e){null==t&&function(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${n} ${i} ${e} <=Actual]`))}(e,t,null,"!=")}function x(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function w(t){return{providers:t.providers||[],imports:t.imports||[]}}function A(t){return C(t,O)||C(t,E)}function C(t,e){return t.hasOwnProperty(e)?t[e]:null}function k(t){return t&&(t.hasOwnProperty(T)||t.hasOwnProperty(Z))?t[T]:null}const O=l({"\u0275prov":l}),T=l({"\u0275inj":l}),E=l({ngInjectableDef:l}),Z=l({ngInjectorDef:l});var S=(()=>((S=S||{})[S.Default=0]="Default",S[S.Host=1]="Host",S[S.Self=2]="Self",S[S.SkipSelf=4]="SkipSelf",S[S.Optional=8]="Optional",S))();let P;function M(t){const e=P;return P=t,e}function L(t,e,n){const i=A(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&S.Optional?null:void 0!==e?e:void b(c(t),"Injector")}function R(t){return{toString:t}.toString()}var q=(()=>((q=q||{})[q.OnPush=0]="OnPush",q[q.Default=1]="Default",q))(),U=(()=>((U=U||{})[U.Emulated=0]="Emulated",U[U.None=2]="None",U[U.ShadowDom=3]="ShadowDom",U))();const N="undefined"!=typeof globalThis&&globalThis,I="undefined"!=typeof window&&window,F="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,D=N||"undefined"!=typeof global&&global||I||F,H={},j=[],V=l({"\u0275cmp":l}),z=l({"\u0275dir":l}),B=l({"\u0275pipe":l}),$=l({"\u0275mod":l}),G=l({"\u0275loc":l}),Q=l({"\u0275fac":l}),Y=l({__NG_ELEMENT_ID__:l});let W=0;function K(t){return R(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===q.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||j,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||U.Emulated,id:"c",styles:t.styles||j,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,s=t.features,r=t.pipes;return n.id+=W++,n.inputs=it(t.inputs,e),n.outputs=it(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(J):null,n.pipeDefs=r?()=>("function"==typeof r?r():r).map(X):null,n})}function J(t){return ot(t)||function(t){return t[z]||null}(t)}function X(t){return function(t){return t[B]||null}(t)}const tt={};function et(t){return R(()=>{const e={type:t.type,bootstrap:t.bootstrap||j,declarations:t.declarations||j,imports:t.imports||j,exports:t.exports||j,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(tt[t.id]=t.type),e})}function nt(t,e){return R(()=>{const n=at(t,!0);n.declarations=e.declarations||j,n.imports=e.imports||j,n.exports=e.exports||j})}function it(t,e){if(null==t)return H;const n={};for(const i in t)if(t.hasOwnProperty(i)){let s=t[i],r=s;Array.isArray(s)&&(r=s[1],s=s[0]),n[s]=i,e&&(e[s]=r)}return n}const st=K;function rt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function ot(t){return t[V]||null}function at(t,e){const n=t[$]||null;if(!n&&!0===e)throw new Error(`Type ${c(t)} does not have '\u0275mod' property.`);return n}function lt(t){return Array.isArray(t)&&"object"==typeof t[1]}function ut(t){return Array.isArray(t)&&!0===t[1]}function ct(t){return 0!=(8&t.flags)}function ht(t){return 2==(2&t.flags)}function dt(t){return 1==(1&t.flags)}function pt(t){return null!==t.template}function _t(t){return 0!=(512&t[2])}function ft(t,e){return t.hasOwnProperty(Q)?t[Q]:null}class gt{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function mt(){return yt}function yt(t){return t.type.prototype.ngOnChanges&&(t.setInput=vt),bt}function bt(){const t=wt(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===H)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function vt(t,e,n,i){const s=wt(t)||function(t,e){return t[xt]=e}(t,{previous:H,current:null}),r=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];r[a]=new gt(l&&l.currentValue,e,o===H),t[i]=e}mt.ngInherit=!0;const xt="__ngSimpleChanges__";function wt(t){return t[xt]||null}const At="http://www.w3.org/2000/svg";let Ct;function kt(t){Ct=t}function Ot(){return void 0!==Ct?Ct:"undefined"!=typeof document?document:void 0}function Tt(t){return!!t.listen}const Et={createRenderer:(t,e)=>Ot()};function Zt(t){for(;Array.isArray(t);)t=t[0];return t}function St(t,e){return Zt(e[t])}function Pt(t,e){return Zt(e[t.index])}function Mt(t,e){return t.data[e]}function Lt(t,e){return t[e]}function Rt(t,e){const n=e[t];return lt(n)?n:n[0]}function qt(t){return 4==(4&t[2])}function Ut(t){return 128==(128&t[2])}function Nt(t,e){return null==e?null:t[e]}function It(t){t[18]=0}function Ft(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const Dt={lFrame:ce(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ht(){return Dt.bindingsEnabled}function jt(){return Dt.lFrame.lView}function Vt(){return Dt.lFrame.tView}function zt(t){return Dt.lFrame.contextLView=t,t[8]}function Bt(){let t=$t();for(;null!==t&&64===t.type;)t=t.parent;return t}function $t(){return Dt.lFrame.currentTNode}function Gt(t,e){const n=Dt.lFrame;n.currentTNode=t,n.isParent=e}function Qt(){return Dt.lFrame.isParent}function Yt(){Dt.lFrame.isParent=!1}function Wt(){return Dt.isInCheckNoChangesMode}function Kt(t){Dt.isInCheckNoChangesMode=t}function Jt(){const t=Dt.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Xt(){return Dt.lFrame.bindingIndex}function te(){return Dt.lFrame.bindingIndex++}function ee(t){const e=Dt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ne(t,e){const n=Dt.lFrame;n.bindingIndex=n.bindingRootIndex=t,ie(e)}function ie(t){Dt.lFrame.currentDirectiveIndex=t}function se(){return Dt.lFrame.currentQueryIndex}function re(t){Dt.lFrame.currentQueryIndex=t}function oe(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function ae(t,e,n){if(n&S.SkipSelf){let i=e,s=t;for(;!(i=i.parent,null!==i||n&S.Host||(i=oe(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;e=i,t=s}const i=Dt.lFrame=ue();return i.currentTNode=e,i.lView=t,!0}function le(t){const e=ue(),n=t[1];Dt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ue(){const t=Dt.lFrame,e=null===t?null:t.child;return null===e?ce(t):e}function ce(t){const e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function he(){const t=Dt.lFrame;return Dt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const de=he;function pe(){const t=he();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function _e(){return Dt.lFrame.selectedIndex}function fe(t){Dt.lFrame.selectedIndex=t}function ge(){const t=Dt.lFrame;return Mt(t.tView,t.selectedIndex)}function me(){Dt.lFrame.currentNamespace=At}function ye(){Dt.lFrame.currentNamespace=null}function be(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[a]<0&&(t[18]+=65536),(o>11>16&&(3&t[2])===e){t[2]+=2048;try{r.call(o)}finally{}}}else try{r.call(o)}finally{}}class ke{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Oe(t,e,n){const i=Tt(t);let s=0;for(;se){o=r-1;break}}}for(;r>16}(t),i=e;for(;n>0;)i=i[15],n--;return i}let Re=!0;function qe(t){const e=Re;return Re=t,e}let Ue=0;function Ne(t,e){const n=Fe(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,Ie(i.data,t),Ie(e,null),Ie(i.blueprint,null));const s=De(t,e),r=t.injectorIndex;if(Pe(s)){const t=Me(s),n=Le(s,e),i=n[1].data;for(let s=0;s<8;s++)e[r+s]=n[t+s]|i[t+s]}return e[r+8]=s,r}function Ie(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Fe(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function De(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(i=2===e?t.declTNode:1===e?s[6]:null,null===i)return-1;if(n++,s=s[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function He(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Y)&&(i=n[Y]),null==i&&(i=n[Y]=Ue++);const s=255&i;e.data[t+(s>>5)]|=1<=0?255&e:$e:e}(n);if("function"==typeof r){if(!ae(e,t,i))return i&S.Host?je(s,n,i):Ve(e,n,i,s);try{const t=r(i);if(null!=t||i&S.Optional)return t;b(n)}finally{de()}}else if("number"==typeof r){let s=null,o=Fe(t,e),a=-1,l=i&S.Host?e[16][6]:null;for((-1===o||i&S.SkipSelf)&&(a=-1===o?De(t,e):e[o+8],-1!==a&&Ke(i,!1)?(s=e[1],o=Me(a),e=Le(a,e)):o=-1);-1!==o;){const t=e[1];if(We(r,o,t.data)){const t=Ge(o,e,n,s,i,l);if(t!==Be)return t}a=e[o+8],-1!==a&&Ke(i,e[1].data[o+8]===l)&&We(r,o,e)?(s=t,o=Me(a),e=Le(a,e)):o=-1}}}return Ve(e,n,i,s)}const Be={};function $e(){return new Je(Bt(),jt())}function Ge(t,e,n,i,s,r){const o=e[1],a=o.data[t+8],l=Qe(a,o,n,null==i?ht(a)&&Re:i!=o&&0!=(3&a.type),s&S.Host&&r===a);return null!==l?Ye(e,o,l,a):Be}function Qe(t,e,n,i,s){const r=t.providerIndexes,o=e.data,a=1048575&r,l=t.directiveStart,u=r>>20,c=s?a+u:t.directiveEnd;for(let h=i?a:a+u;h=l&&t.type===n)return h}if(s){const t=o[l];if(t&&pt(t)&&t.type===n)return l}return null}function Ye(t,e,n,i){let s=t[n];const r=e.data;if(function(t){return t instanceof ke}(s)){const o=s;o.resolving&&function(t,e){throw new g("200",`Circular dependency in DI detected for ${t}`)}(y(r[n]));const a=qe(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?M(o.injectImpl):null;ae(t,i,S.Default);try{s=t[n]=o.factory(void 0,r,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:r}=e.type.prototype;if(i){const i=yt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r))}(n,r[n],e)}finally{null!==l&&M(l),qe(a),o.resolving=!1,de()}}return s}function We(t,e,n){return!!(n[e+(t>>5)]&1<{const e=t.prototype.constructor,n=e[Q]||tn(e),i=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==i;){const t=s[Q]||tn(s);if(t&&t!==n)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function tn(t){return f(t)?()=>{const e=tn(_(t));return e&&e()}:ft(t)}function en(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return i.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,i){const s=t.hasOwnProperty(nn)?t[nn]:Object.defineProperty(t,nn,{value:[]})[nn];for(;s.length<=i;)s.push(null);return(s[i]=s[i]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class rn{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=x({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const on=new rn("AnalyzeForEntryComponents"),an=Function;function ln(t,e){void 0===e&&(e=t);for(let n=0;nArray.isArray(t)?un(t,e):e(t))}function cn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function hn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function dn(t,e){const n=[];for(let i=0;i=0?t[1|i]=n:(i=~i,function(t,e,n,i){let s=t.length;if(s==e)t.push(n,i);else if(1===s)t.push(i,t[0]),t[0]=n;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function _n(t,e){const n=fn(t,e);if(n>=0)return t[1|n]}function fn(t,e){return function(t,e,n){let i=0,s=t.length>>n;for(;s!==i;){const r=i+(s-i>>1),o=t[r<e?s=r:i=r+1}return~(s< ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):c(i)))}s=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${s}]: ${t.replace(bn,"\n ")}`}("\n"+t.message,s,n,i),t.ngTokenPath=s,t[yn]=null,t}const Pn=En(sn("Inject",t=>({token:t})),-1),Mn=En(sn("Optional"),8),Ln=En(sn("SkipSelf"),4);let Rn,qn;function Un(t){var e;return(null===(e=function(){if(void 0===Rn&&(Rn=null,D.trustedTypes))try{Rn=D.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Rn}())||void 0===e?void 0:e.createHTML(t))||t}function Nn(t){var e;return(null===(e=function(){if(void 0===qn&&(qn=null,D.trustedTypes))try{qn=D.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return qn}())||void 0===e?void 0:e.createHTML(t))||t}class In{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Fn extends In{getTypeName(){return"HTML"}}class Dn extends In{getTypeName(){return"Style"}}class Hn extends In{getTypeName(){return"Script"}}class jn extends In{getTypeName(){return"URL"}}class Vn extends In{getTypeName(){return"ResourceURL"}}function zn(t){return t instanceof In?t.changingThisBreaksApplicationSecurity:t}function Bn(t,e){const n=$n(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function $n(t){return t instanceof In&&t.getTypeName()||null}function Gn(t){return new Fn(t)}function Qn(t){return new Dn(t)}function Yn(t){return new Hn(t)}function Wn(t){return new jn(t)}function Kn(t){return new Vn(t)}class Jn{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Un(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class Xn{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Un(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=Un(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0ni(t.trim())).join(", ")),this.buf.push(" ",e,'="',gi(o),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();li.hasOwnProperty(e)&&!ri.hasOwnProperty(e)&&(this.buf.push(""),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(gi(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const _i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,fi=/([^\#-~ |!])/g;function gi(t){return t.replace(/&/g,"&").replace(_i,function(t){return""+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(fi,function(t){return""+t.charCodeAt(0)+";"}).replace(//g,">")}let mi;function yi(t,e){let n=null;try{mi=mi||function(t){const e=new Xn(t);return function(){try{return!!(new window.DOMParser).parseFromString(Un(""),"text/html")}catch(t){return!1}}()?new Jn(e):e}(t);let i=e?String(e):"";n=mi.getInertBodyElement(i);let s=5,r=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=r,r=n.innerHTML,n=mi.getInertBodyElement(i)}while(i!==r);return Un((new pi).sanitizeChildren(bi(n)||n))}finally{if(n){const t=bi(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function bi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var vi=(()=>((vi=vi||{})[vi.NONE=0]="NONE",vi[vi.HTML=1]="HTML",vi[vi.STYLE=2]="STYLE",vi[vi.SCRIPT=3]="SCRIPT",vi[vi.URL=4]="URL",vi[vi.RESOURCE_URL=5]="RESOURCE_URL",vi))();function xi(t){const e=Ai();return e?Nn(e.sanitize(vi.HTML,t)||""):Bn(t,"HTML")?Nn(zn(t)):yi(Ot(),m(t))}function wi(t){const e=Ai();return e?e.sanitize(vi.URL,t)||"":Bn(t,"URL")?zn(t):ni(m(t))}function Ai(){const t=jt();return t&&t[12]}const Ci="__ngContext__";function ki(t,e){t[Ci]=e}function Oi(t){const e=function(t){return t[Ci]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ti(t){return t.ngOriginalError}function Ei(t,...e){t.error(...e)}class Zi{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=(s=t)&&s.ngErrorLogger||Ei;var s;i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?t.ngDebugContext||this._findContext(Ti(t)):null}_findOriginalError(t){let e=t&&Ti(t);for(;e&&Ti(e);)e=Ti(e);return e||null}}const Si=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(D))();function Pi(t){return t instanceof Function?t():t}var Mi=(()=>((Mi=Mi||{})[Mi.Important=1]="Important",Mi[Mi.DashCase=2]="DashCase",Mi))();function Li(t,e){return undefined(t,e)}function Ri(t){const e=t[3];return ut(e)?e[3]:e}function qi(t){return Ni(t[13])}function Ui(t){return Ni(t[4])}function Ni(t){for(;null!==t&&!ut(t);)t=t[4];return t}function Ii(t,e,n,i,s){if(null!=i){let r,o=!1;ut(i)?r=i:lt(i)&&(o=!0,i=i[0]);const a=Zt(i);0===t&&null!==n?null==s?$i(e,n,a):Bi(e,n,a,s||null,!0):1===t&&null!==n?Bi(e,n,a,s||null,!0):2===t?function(t,e,n){const i=Qi(t,e);i&&function(t,e,n,i){Tt(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=r&&function(t,e,n,i,s){const r=n[7];r!==Zt(n)&&Ii(e,t,i,r,s);for(let o=10;o0&&(t[n-1][4]=i[4]);const r=hn(t,10+e);!function(t,e){ns(t,e,e[11],2,null,null),e[0]=null,e[6]=null}(i[1],i);const o=r[19];null!==o&&o.detachView(r[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function ji(t,e){if(!(256&e[2])){const n=e[11];Tt(n)&&n.destroyNode&&ns(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Vi(t[1],t);for(;e;){let n=null;if(lt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)lt(e)&&Vi(e[1],e),e=e[3];null===e&&(e=t),lt(e)&&Vi(e[1],e),n=e&&e[4]}e=n}}(e)}}function Vi(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i=0?i[s=l]():i[s=-l].unsubscribe(),r+=2}else{const t=i[s=n[r+1]];n[r].call(t)}if(null!==i){for(let t=s+1;tr?"":s[c+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==os(e,u,0)||2&i&&u!==t){if(ds(i))return!1;o=!0}}}}else{if(!o&&!ds(i)&&!ds(l))return!1;if(o&&ds(l))continue;o=!1,i=l|1&i}}return ds(i)||o}function ds(t){return 0==(1&t)}function ps(t,e,n,i){if(null===e)return-1;let s=0;if(i||!n){let n=!1;for(;s-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&i?s+="."+o:4&i&&(s+=" "+o);else""!==s&&!ds(o)&&(e+=gs(r,s),s=""),i=o,r=r||!ds(i);n++}return""!==s&&(e+=gs(r,s)),e}const ys={};function bs(t){vs(Vt(),jt(),_e()+t,Wt())}function vs(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&ve(e,i,n)}else{const i=t.preOrderHooks;null!==i&&xe(e,i,0,n)}fe(n)}function xs(t,e){return t<<17|e<<2}function ws(t){return t>>17&32767}function As(t){return 2|t}function Cs(t){return(131068&t)>>2}function ks(t,e){return-131069&t|e<<2}function Os(t){return 1|t}function Ts(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i20&&vs(t,e,20,Wt()),n(i,s)}finally{fe(r)}}function qs(t,e,n){if(ct(e)){const i=e.directiveEnd;for(let s=e.directiveStart;s0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=r&&n.push(r),n.push(i,s,o)}}function Bs(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function $s(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Gs(t,e,n){if(n){if(e.exportAs)for(let i=0;i0&&nr(n)}}function nr(t){for(let n=qi(t);null!==n;n=Ui(n))for(let t=10;t0&&nr(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&nr(i)}}function ir(t,e){const n=Rt(e,t),i=n[1];(function(t,e){for(let n=e.length;nPromise.resolve(null))();function cr(t){return t[7]||(t[7]=[])}function hr(t){return t.cleanup||(t.cleanup=[])}function dr(t,e){const n=t[9],i=n?n.get(Zi,null):null;i&&i.handleError(e)}function pr(t,e,n,i,s){for(let r=0;rthis.processProvider(n,t,e)),un([t],t=>this.processInjectorType(t,[],s)),this.records.set(gr,Tr(void 0,this));const r=this.records.get(yr);this.scope=null!=r?r.value:null,this.source=i||("object"==typeof t?null:c(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=gn,n=S.Default){this.assertNotDestroyed();const i=An(this),s=M(void 0);try{if(!(n&S.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(r=t)||"object"==typeof r&&r instanceof rn)&&A(t);e=n&&this.injectableDefInScope(n)?Tr(kr(t),br):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&S.Self?wr():this.parent).get(t,e=n&S.Optional&&e===gn?null:e)}catch(o){if("NullInjectorError"===o.name){if((o[yn]=o[yn]||[]).unshift(c(t)),i)throw o;return Sn(o,t,"R3InjectorError",this.source)}throw o}finally{M(s),An(i)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(c(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=_(t)))return!1;let i=k(t);const s=null==i&&t.ngModule||void 0,r=void 0===s?t:s,o=-1!==n.indexOf(r);if(void 0!==s&&(i=k(s)),null==i)return!1;if(null!=i.imports&&!o){let t;n.push(r);try{un(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,i||j))}}this.injectorDefTypes.add(r);const a=ft(r)||(()=>new r);this.records.set(r,Tr(a,br));const l=i.providers;if(null!=l&&!o){const e=t;un(l,t=>this.processProvider(t,e,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let i=Zr(t=_(t))?t:_(t&&t.provide);const s=Er(r=t)?Tr(void 0,r.useValue):Tr(Or(r),br);var r;if(Zr(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=Tr(void 0,br,!0),e.factory=()=>Tn(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,s)}hydrate(t,e){return e.value===br&&(e.value=vr,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value;var n}injectableDefInScope(t){if(!t.providedIn)return!1;const e=_(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function kr(t){const e=A(t),n=null!==e?e.factory:ft(t);if(null!==n)return n;if(t instanceof rn)throw new Error(`Token ${c(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=dn(e,"?");throw new Error(`Can't resolve all parameters for ${c(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[O]||t[E]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Or(t,e,n){let i;if(Zr(t)){const e=_(t);return ft(e)||kr(e)}if(Er(t))i=()=>_(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Tn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>kn(_(t.useExisting));else{const e=_(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ft(e)||kr(e);i=()=>new e(...Tn(t.deps))}return i}function Tr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Er(t){return null!==t&&"object"==typeof t&&xn in t}function Zr(t){return"function"==typeof t}const Sr=function(t,e,n){return function(t,e=null,n=null,i){const s=Ar(t,e,n,i);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};let Pr=(()=>{class t{static create(t,e){return Array.isArray(t)?Sr(t,e,""):Sr(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=gn,t.NULL=new mr,t.\u0275prov=x({token:t,providedIn:"any",factory:()=>kn(gr)}),t.__NG_ELEMENT_ID__=-1,t})();function Mr(t,e){be(Oi(t)[1],Bt())}function Lr(t){let e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const i=[t];for(;e;){let s;if(pt(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(n){i.push(s);const e=t;e.inputs=Rr(t.inputs),e.declaredInputs=Rr(t.declaredInputs),e.outputs=Rr(t.outputs);const n=s.hostBindings;n&&Nr(t,n);const r=s.viewQuery,o=s.contentQueries;if(r&&qr(t,r),o&&Ur(t,o),u(t.inputs,s.inputs),u(t.declaredInputs,s.declaredInputs),u(t.outputs,s.outputs),pt(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let i=0;i=0;i--){const s=t[i];s.hostVars=e+=s.hostVars,s.hostAttrs=Ze(s.hostAttrs,n=Ze(n,s.hostAttrs))}}(i)}function Rr(t){return t===H?{}:t===j?[]:t}function qr(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Ur(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,s)=>{e(t,i,s),n(t,i,s)}:e}function Nr(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}let Ir=null;function Fr(){if(!Ir){const t=D.Symbol;if(t&&t.iterator)Ir=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(Zt(t[i.index])):i.index;if(Tt(n)){let o=null;if(!a&&l&&(o=function(t,e,n,i){const s=t.cleanup;if(null!=s)for(let r=0;rn?t[n]:null}"string"==typeof t&&(r+=2)}return null}(t,e,s,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=r,o.__ngLastListenerFn__=r,d=!1;else{r=ho(i,e,c,r,!1);const t=n.listen(_,s,r);h.push(r,t),u&&u.push(s,g,f,f+1)}}else r=ho(i,e,c,r,!0),_.addEventListener(s,r,o),h.push(r),u&&u.push(s,g,f,o)}else r=ho(i,e,c,r,!1);const p=i.outputs;let _;if(d&&null!==p&&(_=p[s])){const t=_.length;if(t)for(let n=0;n0;)e=e[15],t--;return e}(t,Dt.lFrame.contextLView))[8]}(t)}function _o(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let s=0;s=0}const xo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function wo(t){return t.substring(xo.key,xo.keyEnd)}function Ao(t,e){const n=xo.textEnd;return n===e?-1:(e=xo.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,xo.key=e,n),Co(t,e,n))}function Co(t,e,n){for(;e=0;n=Ao(e,n))pn(t,wo(e),!0)}function Zo(t,e,n,i){const s=jt(),r=Vt(),o=ee(2);r.firstUpdatePass&&Mo(r,t,o,i),e!==ys&&zr(s,o,e)&&qo(r,r.data[_e()],s,s[11],t,s[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=c(zn(t)))),t}(e,n),i,o)}function So(t,e,n,i){const s=Vt(),r=ee(2);s.firstUpdatePass&&Mo(s,null,r,i);const o=jt();if(n!==ys&&zr(o,r,n)){const a=s.data[_e()];if(Io(a,i)&&!Po(s,r)){let t=i?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(n=h(t,n||"")),Xr(s,a,o,n,i)}else!function(t,e,n,i,s,r,o,a){s===ys&&(s=j);let l=0,u=0,c=0=t.expandoStartIndex}function Mo(t,e,n,i){const s=t.data;if(null===s[n+1]){const r=s[_e()],o=Po(t,n);Io(r,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){const s=function(t){const e=Dt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let r=i?e.residualClasses:e.residualStyles;if(null===s)0===(i?e.classBindings:e.styleBindings)&&(n=Ro(n=Lo(null,t,e,n,i),e.attrs,i),r=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(n=Lo(s,t,e,n,i),null===r){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==Cs(i))return t[ws(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=Lo(null,t,e,n[1],i),n=Ro(n,e.attrs,i),function(t,e,n,i){t[ws(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else r=function(t,e,n){let i;const s=e.directiveEnd;for(let r=1+e.directiveStylingLast;r0)&&(c=!0)}else u=n;if(s)if(0!==l){const e=ws(t[a+1]);t[i+1]=xs(e,a),0!==e&&(t[e+1]=ks(t[e+1],i)),t[a+1]=function(t,e){return 131071&t|e<<17}(t[a+1],i)}else t[i+1]=xs(a,0),0!==a&&(t[a+1]=ks(t[a+1],i)),a=i;else t[i+1]=xs(l,0),0===a?a=i:t[l+1]=ks(t[l+1],i),l=i;c&&(t[i+1]=As(t[i+1])),bo(t,u,i,!0),bo(t,u,i,!1),function(t,e,n,i,s){const r=s?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof e&&fn(r,e)>=0&&(n[i+1]=Os(n[i+1]))}(e,u,t,i,r),o=xs(a,l),r?e.classBindings=o:e.styleBindings=o}(s,r,e,n,o,i)}}function Lo(t,e,n,i,s){let r=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[s],r=Array.isArray(e),l=r?e[1]:e,u=null===l;let c=n[s+1];c===ys&&(c=u?j:void 0);let h=u?_n(c,i):l===i?c:void 0;if(r&&!No(h)&&(h=_n(e,i)),No(h)&&(a=h,o))return a;const d=t[s+1];s=o?ws(d):Cs(d)}if(null!==e){let t=r?e.residualClasses:e.residualStyles;null!=t&&(a=_n(t,i))}return a}function No(t){return void 0!==t}function Io(t,e){return 0!=(t.flags&(e?16:32))}function Fo(t,e=""){const n=jt(),i=Vt(),s=t+20,r=i.firstCreatePass?Zs(i,s,1,e,null):i.data[s],o=n[s]=function(t,e){return Tt(t)?t.createText(e):t.createTextNode(e)}(n[11],e);Ki(i,n,o,r),Gt(r,!1)}function Do(t){return Ho("",t,""),Do}function Ho(t,e,n){const i=jt(),s=Gr(i,t,e,n);return s!==ys&&_r(i,_e(),s),Ho}function jo(t,e,n,i,s){const r=jt(),o=function(t,e,n,i,s,r){const o=Br(t,Xt(),n,s);return ee(2),o?e+m(n)+i+m(s)+r:ys}(r,t,e,n,i,s);return o!==ys&&_r(r,_e(),o),jo}function Vo(t,e,n){So(pn,Eo,Gr(jt(),t,e,n),!0)}function zo(t,e,n){const i=jt();return zr(i,te(),e)&&js(Vt(),ge(),i,t,e,i[11],n,!0),zo}const Bo=void 0;var $o=["en",[["a","p"],["AM","PM"],Bo],[["AM","PM"],Bo,Bo],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Bo,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Bo,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Bo,"{1} 'at' {0}",Bo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){const e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Go={};function Qo(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Wo(e);if(n)return n;const i=e.split("-")[0];if(n=Wo(i),n)return n;if("en"===i)return $o;throw new Error(`Missing locale data for the locale "${t}".`)}function Yo(t){return Qo(t)[Ko.PluralCase]}function Wo(t){return t in Go||(Go[t]=D.ng&&D.ng.common&&D.ng.common.locales&&D.ng.common.locales[t]),Go[t]}var Ko=(()=>((Ko=Ko||{})[Ko.LocaleId=0]="LocaleId",Ko[Ko.DayPeriodsFormat=1]="DayPeriodsFormat",Ko[Ko.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ko[Ko.DaysFormat=3]="DaysFormat",Ko[Ko.DaysStandalone=4]="DaysStandalone",Ko[Ko.MonthsFormat=5]="MonthsFormat",Ko[Ko.MonthsStandalone=6]="MonthsStandalone",Ko[Ko.Eras=7]="Eras",Ko[Ko.FirstDayOfWeek=8]="FirstDayOfWeek",Ko[Ko.WeekendRange=9]="WeekendRange",Ko[Ko.DateFormat=10]="DateFormat",Ko[Ko.TimeFormat=11]="TimeFormat",Ko[Ko.DateTimeFormat=12]="DateTimeFormat",Ko[Ko.NumberSymbols=13]="NumberSymbols",Ko[Ko.NumberFormats=14]="NumberFormats",Ko[Ko.CurrencyCode=15]="CurrencyCode",Ko[Ko.CurrencySymbol=16]="CurrencySymbol",Ko[Ko.CurrencyName=17]="CurrencyName",Ko[Ko.Currencies=18]="Currencies",Ko[Ko.Directionality=19]="Directionality",Ko[Ko.PluralCase=20]="PluralCase",Ko[Ko.ExtraData=21]="ExtraData",Ko))();const Jo="en-US";let Xo=Jo;function ta(t){v(t,"Expected localeId to be defined"),"string"==typeof t&&(Xo=t.toLowerCase().replace(/_/g,"-"))}function ea(t,e,n,i,s){if(t=_(t),Array.isArray(t))for(let r=0;r>20;if(Zr(t)||!t.multi){const i=new ke(l,s,Wr),p=sa(a,e,s?c:c+d,h);-1===p?(He(Ne(u,o),r,a),na(r,t,e.length),e.push(a),u.directiveStart++,u.directiveEnd++,s&&(u.providerIndexes+=1048576),n.push(i),o.push(i)):(n[p]=i,o[p]=i)}else{const p=sa(a,e,c+d,h),_=sa(a,e,c,c+d),f=p>=0&&n[p],g=_>=0&&n[_];if(s&&!g||!s&&!f){He(Ne(u,o),r,a);const c=function(t,e,n,i,s){const r=new ke(t,n,Wr);return r.multi=[],r.index=e,r.componentProviders=0,ia(r,s,i&&!n),r}(s?oa:ra,n.length,s,i,l);!s&&g&&(n[_].providerFactory=c),na(r,t,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,s&&(u.providerIndexes+=1048576),n.push(c),o.push(c)}else na(r,t,p>-1?p:_,ia(n[s?_:p],l,!s&&i));!s&&i&&g&&n[_].componentProviders++}}}function na(t,e,n,i){const s=Zr(e);if(s||function(t){return!!t.useClass}(e)){const r=(e.useClass||e).prototype.ngOnDestroy;if(r){const o=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,r]):o[t+1].push(i,r)}else o.push(n,r)}}}function ia(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function sa(t,e,n,i){for(let s=n;s{n.providersResolver=(n,i)=>function(t,e,n){const i=Vt();if(i.firstCreatePass){const s=pt(t);ea(n,i.data,i.blueprint,s,!0),ea(e,i.data,i.blueprint,s,!1)}}(n,i?i(t):t,e)}}class ua{}const ca="ngComponent";class ha{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${c(t)}. Did you add it to @NgModule.entryComponents?`);return e[ca]=t,e}(t)}}let da=(()=>{class t{}return t.NULL=new ha,t})();function pa(...t){}function _a(t,e){return new ga(Pt(t,e))}const fa=function(){return _a(Bt(),jt())};let ga=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=fa,t})();function ma(t){return t instanceof ga?t.nativeElement:t}class ya{}let ba=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>va(),t})();const va=function(){const t=jt(),e=Rt(Bt().index,t);return function(t){return t[11]}(lt(e)?e:t)};let xa=(()=>{class t{}return t.\u0275prov=x({token:t,providedIn:"root",factory:()=>null}),t})();class wa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Aa=new wa("12.2.11");class Ca{constructor(){}supports(t){return Hr(t)}create(t){return new Oa(t)}}const ka=(t,e)=>e;class Oa{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||ka}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,s=null;for(;e||n;){const r=!n||e&&e.currentIndex{i=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,i)?(r&&(s=this._verifyReinsertion(s,t,i,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,i,e),r=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,i)):t=this._addAfter(new Ta(e,n),s,i),t}_verifyReinsertion(t,e,n,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Za),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Za),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Ta{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Ea{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Za{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Ea,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Sa(t,e,n){const i=t.previousIndex;if(null===i)return i;let s=0;return n&&i{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,s=n._next;return i&&(i._next=s),s&&(s._prev=i),n._next=null,n._prev=null,n}const n=new La(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class La{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 Ra(){return new qa([new Ca])}let qa=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Ra()),deps:[[t,new Ln,new Mn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${function(t){return t.name||typeof t}(t)}'`)}}return t.\u0275prov=x({token:t,providedIn:"root",factory:Ra}),t})();function Ua(){return new Na([new Pa])}let Na=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Ua()),deps:[[t,new Ln,new Mn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=x({token:t,providedIn:"root",factory:Ua}),t})();function Ia(t,e,n,i,s=!1){for(;null!==n;){const r=e[n.index];if(null!==r&&i.push(Zt(r)),ut(r))for(let t=10;t-1&&(Hi(t,n),hn(e,n))}this._attachedToViewContainer=!1}ji(this._lView[1],this._lView)}onDestroy(t){Ds(this._lView[1],this._lView,null,t)}markForCheck(){rr(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){or(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Kt(!0);try{or(t,e,n)}finally{Kt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,ns(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Da extends Fa{constructor(t){super(t),this._view=t}detectChanges(){ar(this._view)}checkNoChanges(){!function(t){Kt(!0);try{ar(t)}finally{Kt(!1)}}(this._view)}get context(){return null}}const Ha=function(t){return function(t,e,n){if(ht(t)&&!n){const n=Rt(t.index,e);return new Fa(n,n)}return 47&t.type?new Fa(e[16],e):null}(Bt(),jt(),16==(16&t))};let ja=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ha,t})();const Va=[new Pa],za=new qa([new Ca]),Ba=new Na(Va),$a=function(){return Wa(Bt(),jt())};let Ga=(()=>{class t{}return t.__NG_ELEMENT_ID__=$a,t})();const Qa=Ga,Ya=class extends Qa{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Es(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),Ps(e,n,t),new Fa(n)}};function Wa(t,e){return 4&t.type?new Ya(e,t,_a(t,e)):null}class Ka{}class Ja{}const Xa=function(){return rl(Bt(),jt())};let tl=(()=>{class t{}return t.__NG_ELEMENT_ID__=Xa,t})();const el=tl,nl=class extends el{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return _a(this._hostTNode,this._hostLView)}get injector(){return new Je(this._hostTNode,this._hostLView)}get parentInjector(){const t=De(this._hostTNode,this._hostLView);if(Pe(t)){const e=Le(t,this._hostLView),n=Me(t);return new Je(e[1].data[n+8],e)}return new Je(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=il(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,s){const r=n||this.parentInjector;if(!s&&null==t.ngModule&&r){const t=r.get(Ka,null);t&&(s=t)}const o=t.create(r,i,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,i=n[1];if(ut(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new nl(e,e[6],e[3]);i.detach(i.indexOf(t))}}const s=this._adjustIndex(e),r=this._lContainer;!function(t,e,n,i){const s=10+i,r=n.length;i>0&&(n[s-1][4]=e),iSi});class cl extends ua{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(ms).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return ll(this.componentDef.inputs)}get outputs(){return ll(this.componentDef.outputs)}create(t,e,n,i){const s=(i=i||this.ngModule)?function(t,e){return{get:(n,i,s)=>{const r=t.get(n,ol,s);return r!==ol||i===ol?r:e.get(n,i,s)}}}(t,i.injector):t,r=s.get(ya,Et),o=s.get(xa,null),a=r.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",u=n?function(t,e,n){if(Tt(t))return t.selectRootElement(e,n===U.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(a,n,this.componentDef.encapsulation):Fi(r.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?At:"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),c=this.componentDef.onPush?576:528,h=function(t,e){return{components:[],scheduler:t||Si,clean:ur,playerHandler:e||null,flags:0}}(),d=Fs(0,null,null,1,0,null,null,null,null,null),p=Es(null,d,h,c,null,null,r,a,o,s);let _,f;le(p);try{const t=function(t,e,n,i,s,r){const o=n[1];n[20]=t;const a=Zs(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(fr(a,l,!0),null!==t&&(Oe(s,t,l),null!==a.classes&&rs(s,t,a.classes),null!==a.styles&&ss(s,t,a.styles)));const u=i.createRenderer(t,e),c=Es(n,Is(e),null,e.onPush?64:16,n[20],a,i,u,r||null,null);return o.firstCreatePass&&(He(Ne(a,n),o,e.type),$s(o,a),Qs(a,n.length,1)),sr(n,c),n[20]=c}(u,this.componentDef,p,r,a);if(u)if(n)Oe(a,u,["ng-version",Aa.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,s=2;for(;i0&&rs(a,u,e.join(" "))}if(f=Mt(d,20),void 0!==e){const t=f.projection=[];for(let n=0;nt(o,e)),e.contentQueries){const t=Bt();e.contentQueries(1,o,t.directiveStart)}const a=Bt();return!r.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(fe(a.index),zs(n[1],a,0,a.directiveStart,a.directiveEnd,e),Bs(e,o)),o}(t,this.componentDef,p,h,[Mr]),Ps(d,p,null)}finally{pe()}return new hl(this.componentType,_,_a(f,p),p,f)}}class hl extends class{}{constructor(t,e,n,i,s){super(),this.location=n,this._rootLView=i,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new Da(i),this.componentType=t}get injector(){return new Je(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const dl=new Map;class pl extends Ka{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new al(this);const n=at(t),i=t[G]||null;i&&ta(i),this._bootstrapComponents=Pi(n.bootstrap),this._r3Injector=Ar(t,e,[{provide:Ka,useValue:this},{provide:da,useValue:this.componentFactoryResolver}],c(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Pr.THROW_IF_NOT_FOUND,n=S.Default){return t===Pr||t===Ka||t===gr?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class _l extends Ja{constructor(t){super(),this.moduleType=t,null!==at(t)&&function(t){const e=new Set;!function t(n){const i=at(n,!0),s=i.id;null!==s&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${c(e)} vs ${c(e.name)}`)}(s,dl.get(s),n),dl.set(s,n));const r=Pi(i.imports);for(const o of r)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new pl(this.moduleType,t)}}function fl(t,e,n){const i=Jt()+t,s=jt();return s[i]===ys?Vr(s,i,n?e.call(n):e()):function(t,e){return t[e]}(s,i)}function gl(t,e,n,i){return yl(jt(),Jt(),t,e,n,i)}function ml(t,e){const n=t[e];return n===ys?void 0:n}function yl(t,e,n,i,s,r){const o=e+n;return zr(t,o,s)?Vr(t,o+1,r?i.call(r,s):i(s)):ml(t,o+1)}function bl(t,e){const n=Vt();let i;const s=t+20;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new g("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[s]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,i.onDestroy)):i=n.data[s];const r=i.factory||(i.factory=ft(i.type)),o=M(Wr);try{const t=qe(!1),e=r();return qe(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,jt(),s,e),e}finally{M(o)}}function vl(t,e,n){const i=t+20,s=jt(),r=Lt(s,i);return Al(s,wl(s,i)?yl(s,Jt(),e,r.transform,n,r):r.transform(n))}function xl(t,e,n,i){const s=t+20,r=jt(),o=Lt(r,s);return Al(r,wl(r,s)?function(t,e,n,i,s,r,o){const a=e+n;return Br(t,a,s,r)?Vr(t,a+2,o?i.call(o,s,r):i(s,r)):ml(t,a+2)}(r,Jt(),e,o.transform,n,i,o):o.transform(n,i))}function wl(t,e){return t[1].data[e].pure}function Al(t,e){return Dr.isWrapped(e)&&(e=Dr.unwrap(e),t[Xt()]=ys),e}function Cl(t){return e=>{setTimeout(t,void 0,e)}}const kl=class extends i.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var i,r,o;let a=t,l=e||(()=>null),u=n;if(t&&"object"==typeof t){const e=t;a=null===(i=e.next)||void 0===i?void 0:i.bind(e),l=null===(r=e.error)||void 0===r?void 0:r.bind(e),u=null===(o=e.complete)||void 0===o?void 0:o.bind(e)}this.__isAsync&&(l=Cl(l),a&&(a=Cl(a)),u&&(u=Cl(u)));const c=super.subscribe({next:a,error:l,complete:u});return t instanceof s.w0&&t.add(c),c}};function Ol(){return this._results[Fr()]()}class Tl{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Fr(),n=Tl.prototype;n[e]||(n[e]=Ol)}get changes(){return this._changes||(this._changes=new kl)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const n=this;n.dirty=!1;const i=ln(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i0)i.push(o[t/2]);else{const s=r[t+1],o=e[-n];for(let t=10;t{class t{constructor(t){this.appInits=t,this.resolve=pa,this.reject=pa,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e.subscribe({complete:t,error:n})});t.push(n)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(kn(zl,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac}),t})();const $l=new rn("AppId"),Gl={provide:$l,useFactory:function(){return`${Ql()}${Ql()}${Ql()}`},deps:[]};function Ql(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Yl=new rn("Platform Initializer"),Wl=new rn("Platform ID"),Kl=new rn("appBootstrapListener");let Jl=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac}),t})();const Xl=new rn("LocaleId"),tu=new rn("DefaultCurrencyCode");class eu{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const nu=function(t){return new _l(t)},iu=nu,su=function(t){return Promise.resolve(nu(t))},ru=function(t){const e=nu(t),n=Pi(at(t).declarations).reduce((t,e)=>{const n=ot(e);return n&&t.push(new cl(n)),t},[]);return new eu(e,n)},ou=ru,au=function(t){return Promise.resolve(ru(t))};let lu=(()=>{class t{constructor(){this.compileModuleSync=iu,this.compileModuleAsync=su,this.compileModuleAndAllComponentsSync=ou,this.compileModuleAndAllComponentsAsync=au}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac}),t})();const uu=(()=>Promise.resolve(0))();function cu(t){"undefined"==typeof Zone?uu.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class hu{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new kl(!1),this.onMicrotaskEmpty=new kl(!1),this.onStable=new kl(!1),this.onError=new kl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&e,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let t=D.requestAnimationFrame,e=D.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(D,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,_u(t),t.isCheckStableRunning=!0,pu(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),_u(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,s,r,o,a)=>{try{return fu(t),n.invokeTask(s,r,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&e(),gu(t)}},onInvoke:(n,i,s,r,o,a,l)=>{try{return fu(t),n.invoke(s,r,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),gu(t)}},onHasTask:(e,n,i,s)=>{e.hasTask(i,s),n===i&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,_u(t),pu(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,i,s)=>(e.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!hu.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(hu.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const s=this._inner,r=s.scheduleEventTask("NgZoneEvent: "+i,t,du,pa,pa);try{return s.runTask(r,e,n)}finally{s.cancelTask(r)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const du={};function pu(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function _u(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function fu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function gu(t){t._nesting--,pu(t)}class mu{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new kl,this.onMicrotaskEmpty=new kl,this.onStable=new kl,this.onError=new kl}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let yu=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{hu.assertNotInAngularZone(),cu(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())cu(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(kn(hu))},t.\u0275prov=x({token:t,factory:t.\u0275fac}),t})(),bu=(()=>{class t{constructor(){this._applications=new Map,wu.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return wu.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac}),t})();class vu{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function xu(t){wu=t}let wu=new vu,Au=!0,Cu=!1;function ku(){if(Cu)throw new Error("Cannot enable prod mode after platform setup.");Au=!1}let Ou;const Tu=new rn("AllowMultipleToken");class Eu{constructor(t,e){this.name=t,this.token=e}}function Zu(t,e,n=[]){const i=`Platform: ${e}`,s=new rn(i);return(e=[])=>{let r=Su();if(!r||r.injector.get(Tu,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:yr,useValue:"platform"});!function(t){if(Ou&&!Ou.destroyed&&!Ou.injector.get(Tu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ou=t.get(Pu);const e=t.get(Yl,null);e&&e.forEach(t=>t())}(Pr.create({providers:t,name:i}))}return function(t){const e=Su();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function Su(){return Ou&&!Ou.destroyed?Ou:null}let Pu=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new mu:("zone.js"===t?void 0:t)||new hu({enableLongStackTrace:(Cu=!0,Au),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:hu,useValue:n}];return n.run(()=>{const s=Pr.create({providers:i,parent:this.injector,name:t.moduleType.name}),r=t.create(s),o=r.injector.get(Zi,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{o.handleError(t)}});r.onDestroy(()=>{Ru(this._modules,r),t.unsubscribe()})}),function(t,n,i){try{const e=i();return oo(e)?e.catch(e=>{throw n.runOutsideAngular(()=>t.handleError(e)),e}):e}catch(e){throw n.runOutsideAngular(()=>t.handleError(e)),e}}(o,n,()=>{const t=r.injector.get(Bl);return t.runInitializers(),t.donePromise.then(()=>(ta(r.injector.get(Xl,Jo)||Jo),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=Mu({},e);return function(t,e,n){const i=new _l(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Lu);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${c(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(kn(Pr))},t.\u0275prov=x({token:t,factory:t.\u0275fac}),t})();function Mu(t,e){return Array.isArray(e)?e.reduce(Mu,t):Object.assign(Object.assign({},t),e)}let Lu=(()=>{class t{constructor(t,e,n,i,s){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new r.y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),u=new r.y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{hu.assertNotInAngularZone(),cu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{hu.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=(0,o.T)(l,u.pipe((0,a.B)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof ua?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=function(t){return t.isBoundToModule}(n)?void 0:this._injector.get(Ka),s=n.create(Pr.NULL,[],e||n.selector,i),r=s.location.nativeElement,o=s.injector.get(yu,null),a=o&&s.injector.get(bu);return o&&a&&a.registerApplication(r,o),s.onDestroy(()=>{this.detachView(s.hostView),Ru(this.components,s),a&&a.unregisterApplication(r)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Ru(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Kl,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(kn(hu),kn(Pr),kn(Zi),kn(da),kn(Bl))},t.\u0275prov=x({token:t,factory:t.\u0275fac}),t})();function Ru(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class qu{}class Uu{}const Nu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Iu=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Nu}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n(98255)(e).then(t=>t[i]).then(t=>Fu(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),s="NgFactory";return void 0===i&&(i="default",s=""),n(98255)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+s]).then(t=>Fu(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(kn(lu),kn(Uu,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac}),t})();function Fu(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Du=function(t){return null},Hu=Zu(null,"core",[{provide:Wl,useValue:"unknown"},{provide:Pu,deps:[Pr]},{provide:bu,deps:[]},{provide:Jl,deps:[]}]),ju=[{provide:Lu,useClass:Lu,deps:[hu,Pr,Zi,da,Bl]},{provide:ul,deps:[hu],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Bl,useClass:Bl,deps:[[new Mn,zl]]},{provide:lu,useClass:lu,deps:[]},Gl,{provide:qa,useFactory:function(){return za},deps:[]},{provide:Na,useFactory:function(){return Ba},deps:[]},{provide:Xl,useFactory:function(t){return ta(t=t||"undefined"!=typeof $localize&&$localize.locale||Jo),t},deps:[[new Pn(Xl),new Mn,new Ln]]},{provide:tu,useValue:"USD"}];let Vu=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(kn(Lu))},t.\u0275mod=et({type:t}),t.\u0275inj=w({providers:ju}),t})()},26754:function(t,e,n){"use strict";n.d(e,{IR:function(){return p},g5:function(){return g},WU:function(){return m},wY:function(){return y},Bs:function(){return b},iR:function(){return C},RK:function(){return Q},QI:function(){return Y},Ot:function(){return W},yB:function(){return J}});var i=n(42741),s=n(16274),r=n(4178),o=n(76886),a=n(78806),l=n(65328),u=n(71855),c=n(73786);const h={provide:i.tb,useFactory:function(t,e){return()=>{if((0,s.NF)(e)){const e=Array.from(t.querySelectorAll(`[class*=${d}]`)),n=/\bflex-layout-.+?\b/g;e.forEach(t=>{t.classList.contains(`${d}ssr`)&&t.parentNode?t.parentNode.removeChild(t):t.className.replace(n,"")})}}},deps:[s.K0,i.Lbi],multi:!0},d="flex-layout-";let p=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[h]}),t})();class _{constructor(t=!1,e="all",n="",i="",s=0){this.matches=t,this.mediaQuery=e,this.mqAlias=n,this.suffix=i,this.priority=s,this.property=""}clone(){return new _(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let f=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(t,e,n){const i=this.stylesheet.get(t);i?i.set(e,n):this.stylesheet.set(t,new Map([[e,n]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(t,e){const n=this.stylesheet.get(t);let i="";if(n){const t=n.get(e);("number"==typeof t||"string"==typeof t)&&(i=t+"")}return i}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const g={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},m=new i.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>g}),y=new i.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),b=new i.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function v(t,e){return t=t?t.clone():new _,e&&(t.mqAlias=e.alias,t.mediaQuery=e.mediaQuery,t.suffix=e.suffix,t.priority=e.priority),t}const x="inline",w=["row","column","row-reverse","column-reverse"];function A(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}let C=(()=>{class t{constructor(t,e,n,i){this.elementRef=t,this.styleBuilder=e,this.styler=n,this.marshal=i,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new r.x,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,this.marshal.activatedAlias)}ngOnChanges(t){Object.keys(t).forEach(e=>{if(-1!==this.inputs.indexOf(e)){const n=e.split(".").slice(1).join(".");this.setValue(t[e].currentValue,n)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(t=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),t)}addStyles(t,e){const n=this.styleBuilder,i=n.shouldCache;let s=this.styleCache.get(t);(!s||!i)&&(s=n.buildStyles(t,e),i&&this.styleCache.set(t,s)),this.mru=Object.assign({},s),this.applyStyleToElement(s),n.sideEffect(t,s,e)}clearStyles(){Object.keys(this.mru).forEach(t=>{this.mru[t]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(t,e=!1){if(t){const[n,i]=this.styler.getFlowDirection(t);if(!i&&e){const e=function(t){let[e,n,i]=function(t){t=t?t.toLowerCase():"";let[e,n,i]=t.split(" ");return w.find(t=>t===e)||(e=w[0]),n===x&&(n=i!==x?i:"",i=x),[e,A(n),!!i]}(t);return function(t,e=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}(e,n,i)}(n);this.styler.applyStyleToElements(e,[t])}return n.trim()}return"row"}hasWrap(t){return this.styler.hasWrap(t)}applyStyleToElement(t,e,n=this.nativeElement){this.styler.applyStyleToElement(n,t,e)}setValue(t,e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,e)}updateWithValue(t){this.currentValue!==t&&(this.addStyles(t),this.currentValue=t)}}return t.\u0275fac=function(t){i.$Z()},t.\u0275dir=i.lG2({type:t,features:[i.TTD]}),t})();const k=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],O="(orientation: portrait) and (max-width: 599.98px)",T="(orientation: landscape) and (max-width: 959.98px)",E="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",Z="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",S="(orientation: portrait) and (min-width: 840px)",P="(orientation: landscape) and (min-width: 1280px)",M={HANDSET:`${O}, ${T}`,TABLET:`${E} , ${Z}`,WEB:`${S}, ${P} `,HANDSET_PORTRAIT:`${O}`,TABLET_PORTRAIT:`${E} `,WEB_PORTRAIT:`${S}`,HANDSET_LANDSCAPE:`${T}`,TABLET_LANDSCAPE:`${Z}`,WEB_LANDSCAPE:`${P}`},L=[{alias:"handset",priority:2e3,mediaQuery:M.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:M.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:M.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:M.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:M.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:M.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:M.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:M.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:M.WEB_PORTRAIT,overlapping:!0}],R=/(\.|-|_)/g;function q(t){let e=t.length>0?t.charAt(0):"",n=t.length>1?t.slice(1):"";return e.toUpperCase()+n}function U(t,e=[]){const n={};return t.forEach(t=>{n[t.alias]=t}),e.forEach(t=>{n[t.alias]?function(t,...e){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(let n of e)if(null!=n)for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e])}(n[t.alias],t):n[t.alias]=t}),function(t){return t.forEach(t=>{t.suffix||(t.suffix=function(t){return t.replace(R,"|").split("|").map(q).join("")}(t.alias),t.overlapping=!!t.overlapping)}),t}(Object.keys(n).map(t=>n[t]))}const N=new i.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const t=(0,i.f3M)(b),e=(0,i.f3M)(m),n=[].concat.apply([],(t||[]).map(t=>Array.isArray(t)?t:[t]));return U((e.disableDefaultBps?[]:k).concat(e.addOrientationBps?L:[]),n)}});function I(t,e){return(e&&e.priority||0)-(t&&t.priority||0)}function F(t,e){return(t.priority||0)-(e.priority||0)}let D=(()=>{class t{constructor(t){this.findByMap=new Map,this.items=[...t].sort(F)}findByAlias(t){return t?this.findWithPredicate(t,e=>e.alias==t):null}findByQuery(t){return this.findWithPredicate(t,e=>e.mediaQuery==t)}get overlappings(){return this.items.filter(t=>1==t.overlapping)}get aliases(){return this.items.map(t=>t.alias)}get suffixes(){return this.items.map(t=>t.suffix?t.suffix:"")}findWithPredicate(t,e){let n=this.findByMap.get(t);return n||(n=this.items.find(e)||null,this.findByMap.set(t,n)),n||null}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(N))},t.\u0275prov=(0,i.Yz7)({factory:function(){return new t((0,i.LFG)(N))},token:t,providedIn:"root"}),t})(),H=(()=>{class t{constructor(t,e,n){this._zone=t,this._platformId=e,this._document=n,this.source=new o.X(new _(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const t=[];return this.registry.forEach((e,n)=>{e.matches&&t.push(n)}),t}isActive(t){const e=this.registry.get(t);return e?e.matches:this.registerQuery(t).some(t=>t.matches)}observe(t,e=!1){if(t&&t.length){const n=this._observable$.pipe((0,u.h)(n=>!e||t.indexOf(n.mediaQuery)>-1)),i=new a.y(e=>{const n=this.registerQuery(t);if(n.length){const t=n.pop();n.forEach(t=>{e.next(t)}),this.source.next(t)}e.complete()});return(0,l.T)(i,n)}return this._observable$}registerQuery(t){const e=Array.isArray(t)?t:[t],n=[];return function(t,e){const i=t.filter(t=>!j[t]);if(i.length>0){const t=i.join(", ");try{const n=e.createElement("style");n.setAttribute("type","text/css"),n.styleSheet||n.appendChild(e.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${t} {.fx-query-test{ }}\n`)),e.head.appendChild(n),i.forEach(t=>j[t]=n)}catch(n){console.error(n)}}}(e,this._document),e.forEach(t=>{const e=e=>{this._zone.run(()=>this.source.next(new _(e.matches,t)))};let i=this.registry.get(t);i||(i=this.buildMQL(t),i.addListener(e),this.pendingRemoveListenerFns.push(()=>i.removeListener(e)),this.registry.set(t,i)),i.matches&&n.push(new _(!0,t))}),n}ngOnDestroy(){let t;for(;t=this.pendingRemoveListenerFns.pop();)t()}buildMQL(t){return function(t,e){return e&&window.matchMedia("all").addListener?window.matchMedia(t):{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(t,(0,s.NF)(this._platformId))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.R0b),i.LFG(i.Lbi),i.LFG(s.K0))},t.\u0275prov=(0,i.Yz7)({factory:function(){return new t((0,i.LFG)(i.R0b),(0,i.LFG)(i.Lbi),(0,i.LFG)(s.K0))},token:t,providedIn:"root"}),t})();const j={},V="print",z={alias:V,mediaQuery:V,priority:1e3};let B=(()=>{class t{constructor(t,e,n){this.breakpoints=t,this.layoutConfig=e,this._document=n,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new $,this.deactivations=[]}withPrintQuery(t){return[...t,V]}isPrintEvent(t){return t.mediaQuery.startsWith(V)}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(t=>this.breakpoints.findByAlias(t)).filter(t=>null!==t)}getEventBreakpoints({mediaQuery:t}){const e=this.breakpoints.findByQuery(t);return(e?[...this.printBreakPoints,e]:this.printBreakPoints).sort(I)}updateEvent(t){let e=this.breakpoints.findByQuery(t.mediaQuery);return this.isPrintEvent(t)&&(e=this.getEventBreakpoints(t)[0],t.mediaQuery=e?e.mediaQuery:""),v(t,e)}registerBeforeAfterPrintHooks(t){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const e=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(t,this.getEventBreakpoints(new _(!0,V))),t.updateStyles())},n=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(t),t.updateStyles())};this._document.defaultView.addEventListener("beforeprint",e),this._document.defaultView.addEventListener("afterprint",n),this.beforePrintEventListeners.push(e),this.afterPrintEventListeners.push(n)}interceptEvents(t){return this.registerBeforeAfterPrintHooks(t),e=>{this.isPrintEvent(e)?e.matches&&!this.isPrinting?(this.startPrinting(t,this.getEventBreakpoints(e)),t.updateStyles()):!e.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(t),t.updateStyles()):this.collectActivations(e)}}blockPropagation(){return t=>!(this.isPrinting||this.isPrintEvent(t))}startPrinting(t,e){this.isPrinting=!0,t.activatedBreakpoints=this.queue.addPrintBreakpoints(e)}stopPrinting(t){t.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(t){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(t.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const e=this.breakpoints.findByQuery(t.mediaQuery);e&&(this.deactivations.push(e),this.deactivations.sort(I))}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(t=>this._document.defaultView.removeEventListener("beforeprint",t)),this.afterPrintEventListeners.forEach(t=>this._document.defaultView.removeEventListener("afterprint",t)))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(D),i.LFG(m),i.LFG(s.K0))},t.\u0275prov=(0,i.Yz7)({factory:function(){return new t((0,i.LFG)(D),(0,i.LFG)(m),(0,i.LFG)(s.K0))},token:t,providedIn:"root"}),t})();class ${constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(z),t.sort(I),t.forEach(t=>this.addBreakpoint(t)),this.printBreakpoints}addBreakpoint(t){var e;t&&void 0===this.printBreakpoints.find(e=>e.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=(e=t)&&e.mediaQuery.startsWith(V)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}function G(t){for(let e in t){let n=t[e]||"";switch(e){case"display":t.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":t["-webkit-"+e]=n;break;case"flex-direction":n=n||"row",t["-webkit-flex-direction"]=n,t["flex-direction"]=n;break;case"order":t.order=t["-webkit-"+e]=isNaN(+n)?"0":n}}return t}let Q=(()=>{class t{constructor(t,e,n,i){this._serverStylesheet=t,this._serverModuleLoaded=e,this._platformId=n,this.layoutConfig=i}applyStyleToElement(t,e,n=null){let i={};"string"==typeof e&&(i[e]=n,e=i),i=this.layoutConfig.disableVendorPrefixes?e:G(e),this._applyMultiValueStyleToElement(i,t)}applyStyleToElements(t,e=[]){const n=this.layoutConfig.disableVendorPrefixes?t:G(t);e.forEach(t=>{this._applyMultiValueStyleToElement(n,t)})}getFlowDirection(t){const e="flex-direction";let n=this.lookupStyle(t,e);return[n||"row",this.lookupInlineStyle(t,e)||(0,s.PM)(this._platformId)&&this._serverModuleLoaded?n:""]}hasWrap(t){return"wrap"===this.lookupStyle(t,"flex-wrap")}lookupAttributeValue(t,e){return t.getAttribute(e)||""}lookupInlineStyle(t,e){return(0,s.NF)(this._platformId)?t.style.getPropertyValue(e):this._getServerStyle(t,e)}lookupStyle(t,e,n=!1){let i="";return t&&((i=this.lookupInlineStyle(t,e))||((0,s.NF)(this._platformId)?n||(i=getComputedStyle(t).getPropertyValue(e)):this._serverModuleLoaded&&(i=this._serverStylesheet.getStyleForElement(t,e)))),i?i.trim():""}_applyMultiValueStyleToElement(t,e){Object.keys(t).sort().forEach(n=>{const i=t[n],r=Array.isArray(i)?i:[i];r.sort();for(let t of r)t=t?t+"":"",(0,s.NF)(this._platformId)||!this._serverModuleLoaded?(0,s.NF)(this._platformId)?e.style.setProperty(n,t):this._setServerStyle(e,n,t):this._serverStylesheet.addStyleToElement(e,n,t)})}_setServerStyle(t,e,n){e=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const i=this._readStyleAttribute(t);i[e]=n||"",this._writeStyleAttribute(t,i)}_getServerStyle(t,e){return this._readStyleAttribute(t)[e]||""}_readStyleAttribute(t){const e={},n=t.getAttribute("style");if(n){const t=n.split(/;+/g);for(let n=0;n0){const t=i.indexOf(":");if(-1===t)throw new Error(`Invalid CSS style: ${i}`);e[i.substr(0,t).trim()]=i.substr(t+1).trim()}}}return e}_writeStyleAttribute(t,e){let n="";for(const i in e)e[i]&&(n+=i+":"+e[i]+";");t.setAttribute("style",n)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(f),i.LFG(y),i.LFG(i.Lbi),i.LFG(m))},t.\u0275prov=(0,i.Yz7)({factory:function(){return new t((0,i.LFG)(f),(0,i.LFG)(y),(0,i.LFG)(i.Lbi),(0,i.LFG)(m))},token:t,providedIn:"root"}),t})();class Y{constructor(){this.shouldCache=!0}sideEffect(t,e,n){}}function W(t,e="1",n="1"){let i=[e,n,t],s=t.indexOf("calc");if(s>0){i[2]=K(t.substring(s).trim());let e=t.substr(0,s).trim().split(" ");2==e.length&&(i[0]=e[0],i[1]=e[1])}else if(0==s)i[2]=K(t.trim());else{let s=t.split(" ");i=3===s.length?s:[e,n,t]}return i}function K(t){return t.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}let J=(()=>{class t{constructor(t,e,n){this.matchMedia=t,this.breakpoints=e,this.hook=n,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new r.x,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(t){const e=this.findByQuery(t.mediaQuery);e&&((t=v(t,e)).matches&&-1===this.activatedBreakpoints.indexOf(e)?(this.activatedBreakpoints.push(e),this.activatedBreakpoints.sort(I),this.updateStyles()):!t.matches&&-1!==this.activatedBreakpoints.indexOf(e)&&(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(e),1),this.activatedBreakpoints.sort(I),this.updateStyles()))}init(t,e,n,i,s=[]){X(this.updateMap,t,e,n),X(this.clearMap,t,e,i),this.buildElementKeyMap(t,e),this.watchExtraTriggers(t,e,s)}getValue(t,e,n){const i=this.elementMap.get(t);if(i){const t=void 0!==n?i.get(n):this.getActivatedValues(i,e);if(t)return t.get(e)}}hasValue(t,e){const n=this.elementMap.get(t);if(n){const t=this.getActivatedValues(n,e);if(t)return void 0!==t.get(e)||!1}return!1}setValue(t,e,n,i){let s=this.elementMap.get(t);if(s){const r=(s.get(i)||new Map).set(e,n);s.set(i,r),this.elementMap.set(t,s)}else s=(new Map).set(i,(new Map).set(e,n)),this.elementMap.set(t,s);const r=this.getValue(t,e);void 0!==r&&this.updateElement(t,e,r)}trackValue(t,e){return this.subject.asObservable().pipe((0,u.h)(n=>n.element===t&&n.key===e))}updateStyles(){this.elementMap.forEach((t,e)=>{const n=new Set(this.elementKeyMap.get(e));let i=this.getActivatedValues(t);i&&i.forEach((t,i)=>{this.updateElement(e,i,t),n.delete(i)}),n.forEach(n=>{if(i=this.getActivatedValues(t,n),i){const t=i.get(n);this.updateElement(e,n,t)}else this.clearElement(e,n)})})}clearElement(t,e){const n=this.clearMap.get(t);if(n){const i=n.get(e);i&&(i(),this.subject.next({element:t,key:e,value:""}))}}updateElement(t,e,n){const i=this.updateMap.get(t);if(i){const s=i.get(e);s&&(s(n),this.subject.next({element:t,key:e,value:n}))}}releaseElement(t){const e=this.watcherMap.get(t);e&&(e.forEach(t=>t.unsubscribe()),this.watcherMap.delete(t));const n=this.elementMap.get(t);n&&(n.forEach((t,e)=>n.delete(e)),this.elementMap.delete(t))}triggerUpdate(t,e){const n=this.elementMap.get(t);if(n){const i=this.getActivatedValues(n,e);i&&(e?this.updateElement(t,e,i.get(e)):i.forEach((e,n)=>this.updateElement(t,n,e)))}}buildElementKeyMap(t,e){let n=this.elementKeyMap.get(t);n||(n=new Set,this.elementKeyMap.set(t,n)),n.add(e)}watchExtraTriggers(t,e,n){if(n&&n.length){let i=this.watcherMap.get(t);if(i||(i=new Map,this.watcherMap.set(t,i)),!i.get(e)){const s=(0,l.T)(...n).subscribe(()=>{const n=this.getValue(t,e);this.updateElement(t,e,n)});i.set(e,s)}}}findByQuery(t){return this.breakpoints.findByQuery(t)}getActivatedValues(t,e){for(let i=0;it.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(t)).pipe((0,c.b)(this.hook.interceptEvents(this)),(0,u.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(H),i.LFG(D),i.LFG(B))},t.\u0275prov=(0,i.Yz7)({factory:function(){return new t((0,i.LFG)(H),(0,i.LFG)(D),(0,i.LFG)(B))},token:t,providedIn:"root"}),t})();function X(t,e,n,i){if(void 0!==i){let s=t.get(e);s||(s=new Map,t.set(e,s)),s.set(n,i)}}},766:function(t,e,n){"use strict";n.d(e,{aT:function(){return g},oO:function(){return c},b8:function(){return f}});var i=n(42741),s=n(16274),r=n(26754),o=n(99957),a=n(15524);n(93220);let l=(()=>{class t extends r.iR{constructor(t,e,n,i,r,o,a){super(t,null,e,n),this.ngClassInstance=a,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new s.mk(i,r,t,o)),this.init(),this.setValue("","")}set klass(t){this.ngClassInstance.klass=t,this.setValue(t,"")}updateWithValue(t){this.ngClassInstance.ngClass=t,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(r.RK),i.Y36(r.yB),i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.Qsj),i.Y36(s.mk,10))},t.\u0275dir=i.lG2({type:t,inputs:{klass:["class","klass"]},features:[i.qOj]}),t})();const u=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let c=(()=>{class t extends l{constructor(){super(...arguments),this.inputs=u}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[i.qOj]}),t})(),h=(()=>{class t extends r.QI{buildStyles(t,e){return{display:"true"===t?e.display||(e.isServer?"initial":""):"none"}}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=(0,i.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),d=(()=>{class t extends r.iR{constructor(t,e,n,i,s,r,o){super(t,e,n,i),this.layoutConfig=s,this.platformId=r,this.serverModuleLoaded=o,this.DIRECTIVE_KEY="show-hide",this.display="",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();const t=Array.from(this.nativeElement.children);for(let n=0;n{if(-1!==this.inputs.indexOf(e)){const n=e.split("."),i=n.slice(1).join("."),s=t[e].currentValue;let r=""===s||0!==s&&(0,o.Ig)(s);"fxHide"===n[0]&&(r=!r),this.setValue(r,i)}})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,"layout"),["layout","layout-align"].forEach(t=>{this.marshal.trackValue(this.nativeElement,t).pipe((0,a.R)(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?"flex":this.styler.lookupStyle(this.nativeElement,"display",!0)}updateWithValue(t=!0){if(""===t)return;const e=(0,s.PM)(this.platformId);this.addStyles(t?"true":"false",{display:this.display,isServer:e}),e&&this.serverModuleLoaded&&this.nativeElement.style.setProperty("display",""),this.marshal.triggerUpdate(this.parentElement,"layout-gap")}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(h),i.Y36(r.RK),i.Y36(r.yB),i.Y36(r.WU),i.Y36(i.Lbi),i.Y36(r.wY))},t.\u0275dir=i.lG2({type:t,features:[i.qOj,i.TTD]}),t})();const p=new WeakMap,_=["fxShow","fxShow.print","fxShow.xs","fxShow.sm","fxShow.md","fxShow.lg","fxShow.xl","fxShow.lt-sm","fxShow.lt-md","fxShow.lt-lg","fxShow.lt-xl","fxShow.gt-xs","fxShow.gt-sm","fxShow.gt-md","fxShow.gt-lg","fxHide","fxHide.print","fxHide.xs","fxHide.sm","fxHide.md","fxHide.lg","fxHide.xl","fxHide.lt-sm","fxHide.lt-md","fxHide.lt-lg","fxHide.lt-xl","fxHide.gt-xs","fxHide.gt-sm","fxHide.gt-md","fxHide.gt-lg"];let f=(()=>{class t extends d{constructor(){super(...arguments),this.inputs=_}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["","fxShow",""],["","fxShow.print",""],["","fxShow.xs",""],["","fxShow.sm",""],["","fxShow.md",""],["","fxShow.lg",""],["","fxShow.xl",""],["","fxShow.lt-sm",""],["","fxShow.lt-md",""],["","fxShow.lt-lg",""],["","fxShow.lt-xl",""],["","fxShow.gt-xs",""],["","fxShow.gt-sm",""],["","fxShow.gt-md",""],["","fxShow.gt-lg",""],["","fxHide",""],["","fxHide.print",""],["","fxHide.xs",""],["","fxHide.sm",""],["","fxHide.md",""],["","fxHide.lg",""],["","fxHide.xl",""],["","fxHide.lt-sm",""],["","fxHide.lt-md",""],["","fxHide.lt-lg",""],["","fxHide.lt-xl",""],["","fxHide.gt-xs",""],["","fxHide.gt-sm",""],["","fxHide.gt-md",""],["","fxHide.gt-lg",""]],inputs:{fxShow:"fxShow","fxShow.print":"fxShow.print","fxShow.xs":"fxShow.xs","fxShow.sm":"fxShow.sm","fxShow.md":"fxShow.md","fxShow.lg":"fxShow.lg","fxShow.xl":"fxShow.xl","fxShow.lt-sm":"fxShow.lt-sm","fxShow.lt-md":"fxShow.lt-md","fxShow.lt-lg":"fxShow.lt-lg","fxShow.lt-xl":"fxShow.lt-xl","fxShow.gt-xs":"fxShow.gt-xs","fxShow.gt-sm":"fxShow.gt-sm","fxShow.gt-md":"fxShow.gt-md","fxShow.gt-lg":"fxShow.gt-lg",fxHide:"fxHide","fxHide.print":"fxHide.print","fxHide.xs":"fxHide.xs","fxHide.sm":"fxHide.sm","fxHide.md":"fxHide.md","fxHide.lg":"fxHide.lg","fxHide.xl":"fxHide.xl","fxHide.lt-sm":"fxHide.lt-sm","fxHide.lt-md":"fxHide.lt-md","fxHide.lt-lg":"fxHide.lt-lg","fxHide.lt-xl":"fxHide.lt-xl","fxHide.gt-xs":"fxHide.gt-xs","fxHide.gt-sm":"fxHide.gt-sm","fxHide.gt-md":"fxHide.gt-md","fxHide.gt-lg":"fxHide.gt-lg"},features:[i.qOj]}),t})(),g=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.IR]]}),t})()},96267:function(t,e,n){"use strict";n.d(e,{o9:function(){return u}});var i=n(42741),s=n(16274),r=n(26754),o=n(766),a=n(26426),l=n(59040);let u=(()=>{class t{constructor(t,e){(0,s.PM)(e)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,n=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:r.WU,useValue:Object.assign(Object.assign({},r.g5),e)},{provide:r.Bs,useValue:n,multi:!0},{provide:r.wY,useValue:!0}]:[{provide:r.WU,useValue:Object.assign(Object.assign({},r.g5),e)},{provide:r.Bs,useValue:n,multi:!0}]}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.wY),i.LFG(i.Lbi))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[a.ae,o.aT,l.zE],a.ae,o.aT,l.zE]}),t})()},26426:function(t,e,n){"use strict";n.d(e,{yH:function(){return C},UT:function(){return M},Wh:function(){return z},xw:function(){return y},s9:function(){return F},ae:function(){return X}});var i=n(42741),s=n(26754),r=n(16274);const o=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,i.f3M)(r.K0)}});let a=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new i.vpe,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(o,8))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(o,8))},token:t,providedIn:"root"}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();n(4178);var u=n(15524);const c="inline",h=["row","column","row-reverse","column-reverse"];function d(t){t=t?t.toLowerCase():"";let[e,n,i]=t.split(" ");return h.find(t=>t===e)||(e=h[0]),n===c&&(n=i!==c?i:"",i=c),[e,_(n),!!i]}function p(t){let[e]=d(t);return e.indexOf("row")>-1}function _(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}let f=(()=>{class t extends s.QI{buildStyles(t){return function(t){let[e,n,i]=d(t);return function(t,e=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}(e,n,i)}(t)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=(0,i.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const g=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let m=(()=>{class t extends s.iR{constructor(t,e,n,i){super(t,n,e,i),this.DIRECTIVE_KEY="layout",this.styleCache=b,this.init()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(s.RK),i.Y36(f),i.Y36(s.yB))},t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})(),y=(()=>{class t extends m{constructor(){super(...arguments),this.inputs=g}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[i.qOj]}),t})();const b=new Map;function v(t,...e){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(let n of e)if(null!=n)for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}let x=(()=>{class t extends s.QI{constructor(t){super(),this.layoutConfig=t}buildStyles(t,e){let[n,i,...s]=t.split(" "),r=s.join(" ");const o=e.direction.indexOf("column")>-1?"column":"row",a=p(o)?"max-width":"max-height",l=p(o)?"min-width":"min-height",u=String(r).indexOf("calc")>-1,c=u||"auto"===r,h=String(r).indexOf("%")>-1&&!u,d=String(r).indexOf("px")>-1||String(r).indexOf("rem")>-1||String(r).indexOf("em")>-1||String(r).indexOf("vw")>-1||String(r).indexOf("vh")>-1;let _=u||d;n="0"==n?0:n,i="0"==i?0:i;const f=!n&&!i;let g={};const m={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(r||""){case"":const t=!1!==this.layoutConfig.useColumnBasisZero;r="row"===o?"0%":t?"0.000000001px":"auto";break;case"initial":case"nogrow":n=0,r="auto";break;case"grow":r="100%";break;case"noshrink":i=0,r="auto";break;case"auto":break;case"none":n=0,i=0,r="auto";break;default:!_&&!h&&!isNaN(r)&&(r+="%"),"0%"===r&&(_=!0),"0px"===r&&(r="0%"),g=v(m,u?{"flex-grow":n,"flex-shrink":i,"flex-basis":_?r:"100%"}:{flex:`${n} ${i} ${_?r:"100%"}`})}return g.flex||g["flex-grow"]||(g=v(m,u?{"flex-grow":n,"flex-shrink":i,"flex-basis":r}:{flex:`${n} ${i} ${r}`})),"0%"!==r&&"0px"!==r&&"0.000000001px"!==r&&"auto"!==r&&(g[l]=f||_&&n?r:null,g[a]=f||!c&&i?r:null),g[l]||g[a]?e.hasWrap&&(g[u?"flex-basis":"flex"]=g[a]?u?g[a]:`${n} ${i} ${g[a]}`:u?g[l]:`${n} ${i} ${g[l]}`):g=v(m,u?{"flex-grow":n,"flex-shrink":i,"flex-basis":r}:{flex:`${n} ${i} ${r}`}),v(g,{"box-sizing":"border-box"})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.WU))},t.\u0275prov=(0,i.Yz7)({factory:function(){return new t((0,i.LFG)(s.WU))},token:t,providedIn:"root"}),t})();const w=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let A=(()=>{class t extends s.iR{constructor(t,e,n,i,s){super(t,i,e,s),this.layoutConfig=n,this.marshal=s,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(t){this.flexShrink=t||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(t){this.flexGrow=t||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,u.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,u.R)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(t){const e=t.value.split(" ");this.direction=e[0],this.wrap=void 0!==e[1]&&"wrap"===e[1],this.triggerUpdate()}updateWithValue(t){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const e=this.direction,n=e.startsWith("row"),i=this.wrap;n&&i?this.styleCache=T:n&&!i?this.styleCache=k:!n&&i?this.styleCache=E:!n&&!i&&(this.styleCache=O);const r=String(t).replace(";",""),o=(0,s.Ot)(r,this.flexGrow,this.flexShrink);this.addStyles(o.join(" "),{direction:e,hasWrap:i})}triggerReflow(){const t=this.activatedValue;if(void 0!==t){const e=(0,s.Ot)(t+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,e.join(" "))}}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(s.RK),i.Y36(s.WU),i.Y36(x),i.Y36(s.yB))},t.\u0275dir=i.lG2({type:t,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[i.qOj]}),t})(),C=(()=>{class t extends A{constructor(){super(...arguments),this.inputs=w}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[i.qOj]}),t})();const k=new Map,O=new Map,T=new Map,E=new Map;let Z=(()=>{class t extends s.QI{buildStyles(t,e){""===t&&(t="0");const n=String(t).indexOf("%")>-1;!(String(t).indexOf("px")>-1)&&!n&&!isNaN(+t)&&(t+="%");const i=e.isRtl?"margin-right":"margin-left";return p(e.layout)?{[i]:`${t}`}:{"margin-top":`${t}`}}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=(0,i.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const S=["fxFlexOffset","fxFlexOffset.xs","fxFlexOffset.sm","fxFlexOffset.md","fxFlexOffset.lg","fxFlexOffset.xl","fxFlexOffset.lt-sm","fxFlexOffset.lt-md","fxFlexOffset.lt-lg","fxFlexOffset.lt-xl","fxFlexOffset.gt-xs","fxFlexOffset.gt-sm","fxFlexOffset.gt-md","fxFlexOffset.gt-lg"];let P=(()=>{class t extends s.iR{constructor(t,e,n,i,s){super(t,n,s,i),this.directionality=e,this.DIRECTIVE_KEY="flex-offset",this.init([this.directionality.change]),this.parentElement&&this.marshal.trackValue(this.parentElement,"layout-gap").pipe((0,u.R)(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))}updateWithValue(t=""){const e=this.getFlexFlowDirection(this.parentElement,!0),n="rtl"===this.directionality.value;"row"===e&&n?this.styleCache=L:"row"!==e||n?"column"===e&&n?this.styleCache=R:"column"===e&&!n&&(this.styleCache=U):this.styleCache=q,this.addStyles(t+"",{layout:e,isRtl:n})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(a),i.Y36(Z),i.Y36(s.yB),i.Y36(s.RK))},t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})(),M=(()=>{class t extends P{constructor(){super(...arguments),this.inputs=S}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["","fxFlexOffset",""],["","fxFlexOffset.xs",""],["","fxFlexOffset.sm",""],["","fxFlexOffset.md",""],["","fxFlexOffset.lg",""],["","fxFlexOffset.xl",""],["","fxFlexOffset.lt-sm",""],["","fxFlexOffset.lt-md",""],["","fxFlexOffset.lt-lg",""],["","fxFlexOffset.lt-xl",""],["","fxFlexOffset.gt-xs",""],["","fxFlexOffset.gt-sm",""],["","fxFlexOffset.gt-md",""],["","fxFlexOffset.gt-lg",""]],inputs:{fxFlexOffset:"fxFlexOffset","fxFlexOffset.xs":"fxFlexOffset.xs","fxFlexOffset.sm":"fxFlexOffset.sm","fxFlexOffset.md":"fxFlexOffset.md","fxFlexOffset.lg":"fxFlexOffset.lg","fxFlexOffset.xl":"fxFlexOffset.xl","fxFlexOffset.lt-sm":"fxFlexOffset.lt-sm","fxFlexOffset.lt-md":"fxFlexOffset.lt-md","fxFlexOffset.lt-lg":"fxFlexOffset.lt-lg","fxFlexOffset.lt-xl":"fxFlexOffset.lt-xl","fxFlexOffset.gt-xs":"fxFlexOffset.gt-xs","fxFlexOffset.gt-sm":"fxFlexOffset.gt-sm","fxFlexOffset.gt-md":"fxFlexOffset.gt-md","fxFlexOffset.gt-lg":"fxFlexOffset.gt-lg"},features:[i.qOj]}),t})();const L=new Map,R=new Map,q=new Map,U=new Map,N={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"};let I=(()=>{class t extends s.QI{buildStyles(t){return N}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=(0,i.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),F=(()=>{class t extends s.iR{constructor(t,e,n,i){super(t,n,e,i),this.styleCache=D,this.addStyles("")}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(s.RK),i.Y36(I),i.Y36(s.yB))},t.\u0275dir=i.lG2({type:t,selectors:[["","fxFill",""],["","fxFlexFill",""]],features:[i.qOj]}),t})();const D=new Map;let H=(()=>{class t extends s.QI{buildStyles(t,e){const n={},[i,s]=t.split(" ");switch(i){case"center":n["justify-content"]="center";break;case"space-around":n["justify-content"]="space-around";break;case"space-between":n["justify-content"]="space-between";break;case"space-evenly":n["justify-content"]="space-evenly";break;case"end":case"flex-end":n["justify-content"]="flex-end";break;case"start":case"flex-start":default:n["justify-content"]="flex-start"}switch(s){case"start":case"flex-start":n["align-items"]=n["align-content"]="flex-start";break;case"center":n["align-items"]=n["align-content"]="center";break;case"end":case"flex-end":n["align-items"]=n["align-content"]="flex-end";break;case"space-between":n["align-content"]="space-between",n["align-items"]="stretch";break;case"space-around":n["align-content"]="space-around",n["align-items"]="stretch";break;case"baseline":n["align-content"]="stretch",n["align-items"]="baseline";break;case"stretch":default:n["align-items"]=n["align-content"]="stretch"}return v(n,{display:e.inline?"inline-flex":"flex","flex-direction":e.layout,"box-sizing":"border-box","max-width":"stretch"===s?p(e.layout)?null:"100%":null,"max-height":"stretch"===s&&p(e.layout)?"100%":null})}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=(0,i.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const j=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let V=(()=>{class t extends s.iR{constructor(t,e,n,i){super(t,n,e,i),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,u.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(t){const e=this.layout||"row",n=this.inline;"row"===e&&n?this.styleCache=Y:"row"!==e||n?"row-reverse"===e&&n?this.styleCache=K:"row-reverse"!==e||n?"column"===e&&n?this.styleCache=W:"column"!==e||n?"column-reverse"===e&&n?this.styleCache=J:"column-reverse"===e&&!n&&(this.styleCache=Q):this.styleCache=$:this.styleCache=G:this.styleCache=B,this.addStyles(t,{layout:e,inline:n})}onLayoutChange(t){const e=t.value.split(" ");this.layout=e[0],this.inline=t.value.includes("inline"),h.find(t=>t===this.layout)||(this.layout="row"),this.triggerUpdate()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(s.RK),i.Y36(H),i.Y36(s.yB))},t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})(),z=(()=>{class t extends V{constructor(){super(...arguments),this.inputs=j}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[i.qOj]}),t})();const B=new Map,$=new Map,G=new Map,Q=new Map,Y=new Map,W=new Map,K=new Map,J=new Map;let X=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[s.IR,l]]}),t})()},59040:function(t,e,n){"use strict";n.d(e,{zE:function(){return d},A0:function(){return h}});var i=n(42741),s=n(26754),r=n(99957);let o=(()=>{class t extends s.QI{buildStyles(t,e){let n=!1;(t=t||"none").endsWith("!")&&(t=t.substring(0,t.indexOf("!")),n=!0);const i={display:e.inline?"inline-grid":"grid","grid-auto-columns":"","grid-template-columns":""};return i[n?"grid-auto-columns":"grid-template-columns"]=t,i}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=(0,i.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),a=(()=>{class t extends s.iR{constructor(t,e,n,i){super(t,e,n,i),this.DIRECTIVE_KEY="grid-columns",this._inline=!1,this.init()}get inline(){return this._inline}set inline(t){this._inline=(0,r.Ig)(t)}updateWithValue(t){this.styleCache=this.inline?u:l,this.addStyles(t,{inline:this.inline})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(o),i.Y36(s.RK),i.Y36(s.yB))},t.\u0275dir=i.lG2({type:t,inputs:{inline:["gdInline","inline"]},features:[i.qOj]}),t})();const l=new Map,u=new Map,c=["gdColumns","gdColumns.xs","gdColumns.sm","gdColumns.md","gdColumns.lg","gdColumns.xl","gdColumns.lt-sm","gdColumns.lt-md","gdColumns.lt-lg","gdColumns.lt-xl","gdColumns.gt-xs","gdColumns.gt-sm","gdColumns.gt-md","gdColumns.gt-lg"];let h=(()=>{class t extends a{constructor(){super(...arguments),this.inputs=c}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["","gdColumns",""],["","gdColumns.xs",""],["","gdColumns.sm",""],["","gdColumns.md",""],["","gdColumns.lg",""],["","gdColumns.xl",""],["","gdColumns.lt-sm",""],["","gdColumns.lt-md",""],["","gdColumns.lt-lg",""],["","gdColumns.lt-xl",""],["","gdColumns.gt-xs",""],["","gdColumns.gt-sm",""],["","gdColumns.gt-md",""],["","gdColumns.gt-lg",""]],inputs:{gdColumns:"gdColumns","gdColumns.xs":"gdColumns.xs","gdColumns.sm":"gdColumns.sm","gdColumns.md":"gdColumns.md","gdColumns.lg":"gdColumns.lg","gdColumns.xl":"gdColumns.xl","gdColumns.lt-sm":"gdColumns.lt-sm","gdColumns.lt-md":"gdColumns.lt-md","gdColumns.lt-lg":"gdColumns.lt-lg","gdColumns.lt-xl":"gdColumns.lt-xl","gdColumns.gt-xs":"gdColumns.gt-xs","gdColumns.gt-sm":"gdColumns.gt-sm","gdColumns.gt-md":"gdColumns.gt-md","gdColumns.gt-lg":"gdColumns.gt-lg"},features:[i.qOj]}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[s.IR]]}),t})()},93324:function(t,e,n){"use strict";n.d(e,{Fj:function(){return p},NI:function(){return rt},oH:function(){return ft},u5:function(){return mt},JJ:function(){return H},JL:function(){return j},F:function(){return ct},UX:function(){return yt},kI:function(){return b},_Y:function(){return ht}});var i=n(42741),s=n(16274),r=n(67844),o=n(92776),a=n(83034);let l=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t}),t})(),u=(()=>{class t extends l{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();const c=new i.OlP("NgValueAccessor"),h={provide:c,useExisting:(0,i.Gpc)(()=>p),multi:!0},d=new i.OlP("CompositionEventMode");let p=(()=>{class t extends l{constructor(t,e,n){super(t,e),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=(0,s.q)()?(0,s.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(d,8))},t.\u0275dir=i.lG2({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&i.NdJ("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[i._Bn([h]),i.qOj]}),t})();function _(t){return null==t||0===t.length}function f(t){return null!=t&&"number"==typeof t.length}const g=new i.OlP("NgValidators"),m=new i.OlP("NgAsyncValidators"),y=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class b{static min(t){return e=t,t=>{if(_(t.value)||_(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n{if(_(t.value)||_(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null};var e}static required(t){return _(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return _((e=t).value)||y.test(e.value)?null:{email:!0};var e}static minLength(t){return e=t,t=>_(t.value)||!f(t.value)?null:t.value.lengthf(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null;var e}static pattern(t){return function(t){if(!t)return v;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(_(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}(t)}static nullValidator(t){return null}static compose(t){return O(t)}static composeAsync(t){return E(t)}}function v(t){return null}function x(t){return null!=t}function w(t){const e=(0,i.QGY)(t)?(0,r.D)(t):t;return(0,i.CqO)(e),e}function A(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function C(t,e){return e.map(e=>e(t))}function k(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function O(t){if(!t)return null;const e=t.filter(x);return 0==e.length?null:function(t){return A(C(t,e))}}function T(t){return null!=t?O(k(t)):null}function E(t){if(!t)return null;const e=t.filter(x);return 0==e.length?null:function(t){const n=C(t,e).map(w);return(0,o.D)(n).pipe((0,a.U)(A))}}function Z(t){return null!=t?E(k(t)):null}function S(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function P(t){return t._rawValidators}function M(t){return t._rawAsyncValidators}function L(t){return t?Array.isArray(t)?t:[t]:[]}function R(t,e){return Array.isArray(t)?t.includes(e):t===e}function q(t,e){const n=L(e);return L(t).forEach(t=>{R(n,t)||n.push(t)}),n}function U(t,e){return L(e).filter(e=>!R(t,e))}let N=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=T(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Z(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t}),t})(),I=(()=>{class t extends N{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();class F extends N{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class D{constructor(t){this._cd=t}is(t){var e,n,i;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(i=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===i?void 0:i[t])}}let H=(()=>{class t extends D{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(F,2))},t.\u0275dir=i.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[i.qOj]}),t})(),j=(()=>{class t extends D{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(I,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))("ng-submitted",e.is("submitted"))},features:[i.qOj]}),t})();function V(t,e){$(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&G(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&G(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function z(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),function(t,e){let n=!1;if(null!==t){if(null!==e.validator){const i=P(t);if(Array.isArray(i)&&i.length>0){const s=i.filter(t=>t!==e.validator);s.length!==i.length&&(n=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const i=M(t);if(Array.isArray(i)&&i.length>0){const s=i.filter(t=>t!==e.asyncValidator);s.length!==i.length&&(n=!0,t.setAsyncValidators(s))}}}const i=()=>{};B(e._rawValidators,i),B(e._rawAsyncValidators,i)}(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function B(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function $(t,e){const n=P(t);null!==e.validator?t.setValidators(S(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const i=M(t);null!==e.asyncValidator?t.setAsyncValidators(S(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const s=()=>t.updateValueAndValidity();B(e._rawValidators,s),B(e._rawAsyncValidators,s)}function G(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Q(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Y="VALID",W="INVALID",K="PENDING",J="DISABLED";function X(t){return(it(t)?t.validators:t)||null}function tt(t){return Array.isArray(t)?T(t):t||null}function et(t,e){return(it(e)?e.asyncValidators:t)||null}function nt(t){return Array.isArray(t)?Z(t):t||null}function it(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class st{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=tt(this._rawValidators),this._composedAsyncValidatorFn=nt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Y}get invalid(){return this.status===W}get pending(){return this.status==K}get disabled(){return this.status===J}get enabled(){return this.status!==J}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=tt(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=nt(t)}addValidators(t){this.setValidators(q(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(q(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(U(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(U(t,this._rawAsyncValidators))}hasValidator(t){return R(this._rawValidators,t)}hasAsyncValidator(t){return R(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=K,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=J,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Y,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Y||this.status===K)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?J:Y}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=K,this._hasOwnPendingAsyncValidator=!0;const e=w(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e||(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length))return null;let i=t;return e.forEach(t=>{i=i instanceof ot?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof at&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?J:this.errors?W:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(K)?K:this._anyControlsHaveStatus(W)?W:Y}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){it(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class rt extends st{constructor(t=null,e,n){super(X(e),et(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Q(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Q(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class ot extends st{constructor(t,e,n){super(X(e),et(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof rt?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class at extends st{constructor(t,e,n){super(X(e),et(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof rt?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const lt={provide:I,useExisting:(0,i.Gpc)(()=>ct)},ut=(()=>Promise.resolve(null))();let ct=(()=>{class t extends I{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.vpe,this.form=new ot({},T(t),Z(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){ut.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),V(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){ut.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),Q(this._directives,t)})}addFormGroup(t){ut.then(()=>{const e=this._findContainer(t.path),n=new ot({});(function(t,e){$(t,e)})(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){ut.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){ut.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,function(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(g,10),i.Y36(m,10))},t.\u0275dir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([lt]),i.qOj]}),t})(),ht=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),dt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const pt=new i.OlP("NgModelWithFormControlWarning"),_t={provide:F,useExisting:(0,i.Gpc)(()=>ft)};let ft=(()=>{class t extends F{constructor(t,e,n,s){super(),this._ngModelWarningConfig=s,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=function(t,e){if(!e)return null;let n,i,s;return Array.isArray(e),e.forEach(t=>{t.constructor===p?n=t:function(t){return Object.getPrototypeOf(t.constructor)===u}(t)?i=t:s=t}),s||i||n||null}(0,n)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&z(e,this,!1),V(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}(function(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)})(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&z(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(g,10),i.Y36(m,10),i.Y36(c,10),i.Y36(pt,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([_t]),i.qOj,i.TTD]}),t._ngModelWarningSentOnce=!1,t})(),gt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[dt]]}),t})(),mt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[gt]}),t})(),yt=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:pt,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[gt]}),t})()},93220:function(t,e,n){"use strict";n.d(e,{b2:function(){return N},H7:function(){return L},q6:function(){return q},se:function(){return A}});var i=n(16274),s=n(42741);class r extends i.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class o extends r{static makeCurrent(){(0,i.HT)(new o)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(l=l||document.querySelector("base"),l?l.getAttribute("href"):null);return null==e?null:function(t){a=a||document.createElement("a"),a.setAttribute("href",t);const e=a.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return(0,i.Mx)(document.cookie,t)}}let a,l=null;const u=new s.OlP("TRANSITION_ID"),c=[{provide:s.ip1,useFactory:function(t,e,n){return()=>{n.get(s.CZH).donePromise.then(()=>{const n=(0,i.q)(),s=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let t=0;t{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},s.dqk.getAllAngularTestabilities=()=>t.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>t.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(t=>{const e=s.dqk.getAllAngularTestabilities();let n=e.length,i=!1;const r=function(e){i=i||e,n--,0==n&&t(i)};e.forEach(function(t){t.whenStable(r)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const s=t.getTestability(e);return null!=s?s:n?(0,i.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let d=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const p=new s.OlP("EventManagerPlugins");let _=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),m=(()=>{class t extends g{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const i=this._doc.createElement("style");i.textContent=t,n.push(e.appendChild(i))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(y),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(y))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function y(t){(0,i.q)().remove(t)}const b={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/"},v=/%COMP%/g;function x(t,e,n){for(let i=0;i{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let A=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new C(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case s.ifc.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new k(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case s.ifc.ShadowDom:return new O(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=x(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(_),s.LFG(m),s.LFG(s.AFp))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class C{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(b[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const s=b[i];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=b[n];i?t.removeAttributeNS(i,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,i){i&(s.JOm.DashCase|s.JOm.Important)?t.style.setProperty(e,n,i&s.JOm.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&s.JOm.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,w(n)):this.eventManager.addEventListener(t,e,w(n))}}class k extends C{constructor(t,e,n,i){super(t),this.component=n;const s=x(i+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(v,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(v,i+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class O extends C{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=x(i.id,i.styles,[]);for(let r=0;r{class t extends f{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const E=["alt","control","meta","shift"],Z={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},S={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},P={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let M=(()=>{class t extends f{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,s){const r=t.parseEventName(n),o=t.eventCallback(r.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.q)().onAndCancel(e,r.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(n.pop());let r="";if(E.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),r+=t+".")}),r+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=i,o.fullKey=r,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&S.hasOwnProperty(e)&&(e=S[e]))}return Z[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),E.forEach(i=>{i!=n&&P[i](t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return s=>{t.getEventFullKey(s)===e&&i.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),L=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return(0,s.LFG)(R)},token:t,providedIn:"root"}),t})(),R=(()=>{class t extends L{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case s.q3G.NONE:return e;case s.q3G.HTML:return(0,s.qzn)(e,"HTML")?(0,s.z3N)(e):(0,s.EiD)(this._doc,String(e)).toString();case s.q3G.STYLE:return(0,s.qzn)(e,"Style")?(0,s.z3N)(e):e;case s.q3G.SCRIPT:if((0,s.qzn)(e,"Script"))return(0,s.z3N)(e);throw new Error("unsafe value used in a script context");case s.q3G.URL:return(0,s.yhl)(e),(0,s.qzn)(e,"URL")?(0,s.z3N)(e):(0,s.mCW)(String(e));case s.q3G.RESOURCE_URL:if((0,s.qzn)(e,"ResourceURL"))return(0,s.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return(0,s.JVY)(t)}bypassSecurityTrustStyle(t){return(0,s.L6k)(t)}bypassSecurityTrustScript(t){return(0,s.eBb)(t)}bypassSecurityTrustUrl(t){return(0,s.LAX)(t)}bypassSecurityTrustResourceUrl(t){return(0,s.pB0)(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=(0,s.Yz7)({factory:function(){return function(t){return new R(t.get(i.K0))}((0,s.LFG)(s.gxx))},token:t,providedIn:"root"}),t})();const q=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:i.bD},{provide:s.g9A,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:i.K0,useFactory:function(){return(0,s.RDi)(document),document},deps:[]}]),U=[[],{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function(){return new s.qLn},deps:[]},{provide:p,useClass:T,multi:!0,deps:[i.K0,s.R0b,s.Lbi]},{provide:p,useClass:M,multi:!0,deps:[i.K0]},[],{provide:A,useClass:A,deps:[_,m,s.AFp]},{provide:s.FYo,useExisting:A},{provide:g,useExisting:m},{provide:m,useClass:m,deps:[i.K0]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b]},{provide:_,useClass:_,deps:[p,s.R0b]},{provide:i.JF,useClass:d,deps:[]},[]];let N=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:s.AFp,useValue:e.appId},{provide:u,useExisting:s.AFp},c]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(t,12))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:U,imports:[i.ez,s.hGG]}),t})();"undefined"!=typeof window&&window},88813:function(t,e,n){"use strict";n.d(e,{gz:function(){return Wt},m2:function(){return z},F0:function(){return bn},rH:function(){return xn},yS:function(){return wn},Bz:function(){return Rn},lC:function(){return Cn}});var i=n(16274),s=n(42741),r=n(78806),o=n(89411),a=n(67844),l=n(9018),u=n(31755),c=n(28121),h=n(69966),d=n(56634),p=n(96285);function _(t,e,n){t?(0,p.f)(n,t,e):e()}const f=(0,n(35887).d)(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});var g=n(92989),m=n(36913);function y(){return(0,m.e)((t,e)=>{let n=null;t._refCount++;const i=new d.Q(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(n=null);const i=t._connection,s=n;n=null,i&&(!s||i===s)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(i),i.closed||(n=t.connect())})}class b extends r.y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,(0,m.A)(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,null==t||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new g.w0;const e=this.getSubject();t.add(this.source.subscribe(new d.Q(e,void 0,()=>{this._teardown(),e.complete()},t=>{this._teardown(),e.error(t)},()=>this._teardown()))),t.closed&&(this._connection=null,t=g.w0.EMPTY)}return t}refCount(){return y()(this)}}var v=n(86122),x=n(76886),w=n(35885),A=n(66158),C=n(31512),k=n(4178);function O(t,e,n,i,s){return(r,o)=>{let a=n,l=e,u=0;r.subscribe(new d.Q(o,e=>{const n=u++;l=a?t(l,e,n):(a=!0,e),i&&o.next(l)},s&&(()=>{a&&o.next(l),o.complete()})))}}function T(t,e){return(0,m.e)(O(t,e,arguments.length>=2,!0))}var E=n(71855);function Z(t){return t<=0?()=>C.E:(0,m.e)((e,n)=>{let i=[];e.subscribe(new d.Q(n,e=>{i.push(e),t{for(const t of i)n.next(t);n.complete()},void 0,()=>{i=null}))})}function S(t=P){return(0,m.e)((e,n)=>{let i=!1;e.subscribe(new d.Q(n,t=>{i=!0,n.next(t)},()=>i?n.complete():n.error(t())))})}function P(){return new f}function M(t){return(0,m.e)((e,n)=>{let i=!1;e.subscribe(new d.Q(n,t=>{i=!0,n.next(t)},()=>{i||n.next(t),n.complete()}))})}var L=n(15218);function R(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,E.h)((e,n)=>t(e,n,i)):l.y,(0,L.q)(1),n?M(e):S(()=>new f))}var q=n(83034),U=n(24907),N=n(48339),I=n(71158),F=n(13394),D=n(73786),H=n(34486);class j{constructor(t,e){this.id=t,this.url=e}}class V extends j{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class z extends j{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class B extends j{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class $ extends j{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class G extends j{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Q extends j{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Y extends j{constructor(t,e,n,i,s){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class W extends j{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class K extends j{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class J{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class X{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class tt{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class et{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nt{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class it{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class st{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const rt="primary";class ot{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function at(t){return new ot(t)}const lt="ngNavigationCancelingError";function ut(t){const e=Error("NavigationCancelingError: "+t);return e[lt]=!0,e}function ct(t,e,n){const i=n.path.split("/");if(i.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||i.lengthi[e]===t)}return t===e}function pt(t){return Array.prototype.concat.apply([],t)}function _t(t){return t.length>0?t[t.length-1]:null}function ft(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function gt(t){return(0,s.CqO)(t)?t:(0,s.QGY)(t)?(0,a.D)(Promise.resolve(t)):(0,v.of)(t)}const mt={exact:function t(e,n,i){if(!Ot(e.segments,n.segments)||!wt(e.segments,n.segments,i)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const s in n.children)if(!e.children[s]||!t(e.children[s],n.children[s],i))return!1;return!0},subset:vt},yt={exact:function(t,e){return ht(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>dt(t[n],e[n]))},ignored:()=>!0};function bt(t,e,n){return mt[n.paths](t.root,e.root,n.matrixParams)&&yt[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function vt(t,e,n){return xt(t,e,e.segments,n)}function xt(t,e,n,i){if(t.segments.length>n.length){const s=t.segments.slice(0,n.length);return!(!Ot(s,n)||e.hasChildren()||!wt(s,n,i))}if(t.segments.length===n.length){if(!Ot(t.segments,n)||!wt(t.segments,n,i))return!1;for(const n in e.children)if(!t.children[n]||!vt(t.children[n],e.children[n],i))return!1;return!0}{const s=n.slice(0,t.segments.length),r=n.slice(t.segments.length);return!!(Ot(t.segments,s)&&wt(t.segments,s,i)&&t.children[rt])&&xt(t.children[rt],e,r,i)}}function wt(t,e,n){return e.every((e,i)=>yt[n](t[i].parameters,e.parameters))}class At{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=at(this.queryParams)),this._queryParamMap}toString(){return Zt.serialize(this)}}class Ct{constructor(t,e){this.segments=t,this.children=e,this.parent=null,ft(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return St(this)}}class kt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=at(this.parameters)),this._parameterMap}toString(){return Nt(this)}}function Ot(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class Tt{}class Et{parse(t){const e=new jt(t);return new At(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`${`/${Pt(t.root,!0)}`}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Lt(e)}=${Lt(t)}`).join("&"):`${Lt(e)}=${Lt(n)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Zt=new Et;function St(t){return t.segments.map(t=>Nt(t)).join("/")}function Pt(t,e){if(!t.hasChildren())return St(t);if(e){const e=t.children[rt]?Pt(t.children[rt],!1):"",n=[];return ft(t.children,(t,e)=>{e!==rt&&n.push(`${e}:${Pt(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return ft(t.children,(t,i)=>{i===rt&&(n=n.concat(e(t,i)))}),ft(t.children,(t,i)=>{i!==rt&&(n=n.concat(e(t,i)))}),n}(t,(e,n)=>n===rt?[Pt(t.children[rt],!1)]:[`${n}:${Pt(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[rt]?`${St(t)}/${e[0]}`:`${St(t)}/(${e.join("//")})`}}function Mt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Lt(t){return Mt(t).replace(/%3B/gi,";")}function Rt(t){return Mt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qt(t){return decodeURIComponent(t)}function Ut(t){return qt(t.replace(/\+/g,"%20"))}function Nt(t){return`${Rt(t.path)}${function(t){return Object.keys(t).map(e=>`;${Rt(e)}=${Rt(t[e])}`).join("")}(t.parameters)}`}const It=/^[^\/()?;=#]+/;function Ft(t){const e=t.match(It);return e?e[0]:""}const Dt=/^[^=?]+/,Ht=/^[^?]+/;class jt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ct([],{}):new Ct([],this.parseChildren())}parseQueryParams(){const 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("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[rt]=new Ct(t,e)),n}parseSegment(){const t=Ft(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new kt(qt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Ft(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Ft(this.remaining);t&&(n=t,this.capture(n))}t[qt(e)]=qt(n)}parseQueryParam(t){const e=function(t){const e=t.match(Dt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(Ht);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=Ut(e),s=Ut(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(s)}else t[i]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ft(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let s;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=rt);const r=this.parseChildren();e[s]=1===Object.keys(r).length?r[rt]:new Ct([],r),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Vt{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=zt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=zt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Bt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Bt(t,this._root).map(t=>t.value)}}function zt(t,e){if(t===e.value)return e;for(const n of e.children){const e=zt(t,n);if(e)return e}return null}function Bt(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Bt(t,n);if(i.length)return i.unshift(e),i}return[]}class $t{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Gt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Qt extends Vt{constructor(t,e){super(t),this.snapshot=e,te(this,t)}toString(){return this.snapshot.toString()}}function Yt(t,e){const n=function(t,e){const n=new Jt([],{},{},"",{},rt,e,null,t.root,-1,{});return new Xt("",new $t(n,[]))}(t,e),i=new x.X([new kt("",{})]),s=new x.X({}),r=new x.X({}),o=new x.X({}),a=new x.X(""),l=new Wt(i,s,o,a,r,rt,e,n.root);return l.snapshot=n.root,new Qt(new $t(l,[]),n)}class Wt{constructor(t,e,n,i,s,r,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=r,this.component=o,this._futureSnapshot=a}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._paramMap=this.params.pipe((0,q.U)(t=>at(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,q.U)(t=>at(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Kt(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class Jt{constructor(t,e,n,i,s,r,o,a,l,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=r,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}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._paramMap=at(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=at(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Xt extends Vt{constructor(t,e){super(e),this.url=t,te(this,e)}toString(){return ee(this._root)}}function te(t,e){e.value._routerState=t,e.children.forEach(e=>te(t,e))}function ee(t){const e=t.children.length>0?` { ${t.children.map(ee).join(", ")} } `:"";return`${t.value}${e}`}function ne(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,ht(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),ht(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nht(t.parameters,e[n].parameters))}(t.url,e.url)&&!(!t.parent!=!e.parent)&&(!t.parent||ie(t.parent,e.parent))}function se(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const s=function(t,e,n){return e.children.map(e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return se(t,e,i);return se(t,e)})}(t,e,n);return new $t(i,s)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return re(e,t),t}}const n=function(t){return new Wt(new x.X(t.url),new x.X(t.params),new x.X(t.queryParams),new x.X(t.fragment),new x.X(t.data),t.outlet,t.component,t)}(e.value),i=e.children.map(e=>se(t,e));return new $t(n,i)}}function re(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n{r[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new At(n.root===t?e:ue(n.root,t,e),r,s)}function ue(t,e,n){const i={};return ft(t.children,(t,s)=>{i[s]=t===e?n:ue(t,e,n)}),new Ct(t.segments,i)}class ce{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&oe(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(ae);if(i&&i!==_t(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class he{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function de(t,e,n){if(t||(t=new Ct([],{})),0===t.segments.length&&t.hasChildren())return pe(t,e,n);const i=function(t,e,n){let i=0,s=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;s=n.length)return r;const e=t.segments[s],o=n[i];if(ae(o))break;const a=`${o}`,l=i0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!me(a,l,e))return r;i+=2}else{if(!me(a,{},e))return r;i++}s++}return{match:!0,pathIndex:s,commandIndex:i}}(t,e,n),s=n.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(s[i]=de(t.children[i],e,n))}),ft(t.children,(t,e)=>{void 0===i[e]&&(s[e]=t)}),new Ct(t.segments,s)}}function _e(t,e,n){const i=t.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=_e(new Ct([],{}),0,t))}),e}function ge(t){const e={};return ft(t,(t,n)=>e[n]=`${t}`),e}function me(t,e,n){return t==n.path&&ht(e,n.parameters)}class ye{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),ne(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=Gt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),ft(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,s=e?e.value:null;if(i===s)if(i.component){const s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,s=Gt(t);for(const r of Object.keys(s))this.deactivateRouteAndItsChildren(s[r],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const i=Gt(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new it(t.value.snapshot))}),t.children.length&&this.forwardEvent(new et(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,s=e?e.value:null;if(ne(i),i===s)if(i.component){const s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),be(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=s,e.outlet&&e.outlet.activateWith(i,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function be(t){ne(t.value),t.children.forEach(be)}class ve{constructor(t,e){this.routes=t,this.module=e}}function xe(t){return"function"==typeof t}function we(t){return t instanceof At}const Ae=Symbol("INITIAL_VALUE");function Ce(){return(0,U.w)(t=>function(...t){const e=(0,c.yG)(t),n=(0,c.jO)(t),{args:i,keys:s}=(0,o.D)(t);if(0===i.length)return(0,a.D)([],e);const p=new r.y(function(t,e,n=l.y){return i=>{_(e,()=>{const{length:s}=t,r=new Array(s);let o=s,l=s;for(let u=0;u{const s=(0,a.D)(t[u],e);let c=!1;s.subscribe(new d.Q(i,t=>{r[u]=t,c||(c=!0,l--),l||i.next(n(r.slice()))},()=>{--o||i.complete()}))},i)},i)}}(i,e,s?t=>(0,h.n)(s,t):l.y));return n?p.pipe((0,u.Z)(n)):p}(t.map(t=>t.pipe((0,L.q)(1),function(...t){const e=(0,c.yG)(t);return(0,m.e)((n,i)=>{(e?(0,w.z)(t,n,e):(0,w.z)(t,n)).subscribe(i)})}(Ae)))).pipe(T((t,e)=>{let n=!1;return e.reduce((t,i,s)=>t!==Ae?t:(i===Ae&&(n=!0),n||!1!==i&&s!==e.length-1&&!we(i)?t:i),t)},Ae),(0,E.h)(t=>t!==Ae),(0,q.U)(t=>we(t)?t:!0===t),(0,L.q)(1)))}let ke=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&s._UZ(0,"router-outlet")},directives:function(){return[Cn]},encapsulation:2}),t})();function Oe(t,e=""){for(let n=0;nSe(t)===e);return n.push(...t.filter(t=>Se(t)!==e)),n}const Me={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Le(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Me):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||ct)(n,t,e);if(!s)return Object.assign({},Me);const r={};ft(s.posParams,(t,e)=>{r[e]=t.path});const o=s.consumed.length>0?Object.assign(Object.assign({},r),s.consumed[s.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:o,positionalParamSegments:null!==(i=s.posParams)&&void 0!==i?i:{}}}function Re(t,e,n,i,s="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>qe(t,e,n)&&Se(n)!==rt)}(t,n,i)){const s=new Ct(e,function(t,e,n,i){const s={};s[rt]=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&Se(r)!==rt){const n=new Ct([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[Se(r)]=n}return s}(t,e,i,new Ct(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>qe(t,e,n))}(t,n,i)){const r=new Ct(t.segments,function(t,e,n,i,s,r){const o={};for(const a of i)if(qe(t,n,a)&&!s[Se(a)]){const n=new Ct([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[Se(a)]=n}return Object.assign(Object.assign({},s),o)}(t,e,n,i,t.children,s));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}const r=new Ct(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}function qe(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Ue(t,e,n,i){return!!(Se(t)===i||i!==rt&&qe(e,n,t))&&("**"===t.path||Le(e,t,n).matched)}function Ne(t,e,n){return 0===e.length&&!t.children[n]}class Ie{constructor(t){this.segmentGroup=t||null}}class Fe{constructor(t){this.urlTree=t}}function De(t){return new r.y(e=>e.error(new Ie(t)))}function He(t){return new r.y(e=>e.error(new Fe(t)))}function je(t){return new r.y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Ve{constructor(t,e,n,i,r){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(s.h0i)}apply(){const t=Re(this.urlTree.root,[],[],this.config).segmentGroup,e=new Ct(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,rt).pipe((0,q.U)(t=>this.createUrlTree(ze(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,N.K)(t=>{if(t instanceof Fe)return this.allowRedirects=!1,this.match(t.urlTree);throw t instanceof Ie?this.noMatchError(t):t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,rt).pipe((0,q.U)(e=>this.createUrlTree(ze(e),t.queryParams,t.fragment))).pipe((0,N.K)(t=>{throw t instanceof Ie?this.noMatchError(t):t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new Ct([],{[rt]:t}):t;return new At(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe((0,q.U)(t=>new Ct([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){const i=[];for(const s of Object.keys(n.children))"primary"===s?i.unshift(s):i.push(s);return(0,a.D)(i).pipe((0,I.b)(i=>{const s=n.children[i],r=Pe(e,i);return this.expandSegmentGroup(t,r,s,i).pipe((0,q.U)(t=>({segment:t,outlet:i})))}),T((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,E.h)((e,n)=>t(e,n,i)):l.y,Z(1),n?M(e):S(()=>new f))}())}expandSegment(t,e,n,i,s,r){return(0,a.D)(n).pipe((0,I.b)(o=>this.expandSegmentAgainstRoute(t,e,n,o,i,s,r).pipe((0,N.K)(t=>{if(t instanceof Ie)return(0,v.of)(null);throw t}))),R(t=>!!t),(0,N.K)((t,n)=>{if(t instanceof f||"EmptyError"===t.name){if(Ne(e,i,s))return(0,v.of)(new Ct([],{}));throw new Ie(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,i,s,r,o){return Ue(i,e,s,r)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,s,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r):De(e):De(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?He(s):this.lineralizeSegments(n,s).pipe((0,F.z)(n=>{const s=new Ct(n,{});return this.expandSegment(t,s,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:u}=Le(e,i,s);if(!o)return De(e);const c=this.applyRedirectCommands(a,i.redirectTo,u);return i.redirectTo.startsWith("/")?He(c):this.lineralizeSegments(i,c).pipe((0,F.z)(i=>this.expandSegment(t,e,n,i.concat(s.slice(l)),r,!1)))}matchSegmentAgainstRoute(t,e,n,i,s){if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,v.of)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe((0,q.U)(t=>(n._loadedConfig=t,new Ct(i,{})))):(0,v.of)(new Ct(i,{}));const{matched:r,consumedSegments:o,lastChild:a}=Le(e,n,i);if(!r)return De(e);const l=i.slice(a);return this.getChildConfig(t,n,i).pipe((0,F.z)(t=>{const i=t.module,r=t.routes,{segmentGroup:a,slicedSegments:u}=Re(e,o,l,r),c=new Ct(a.segments,a.children);if(0===u.length&&c.hasChildren())return this.expandChildren(i,r,c).pipe((0,q.U)(t=>new Ct(o,t)));if(0===r.length&&0===u.length)return(0,v.of)(new Ct(o,{}));const h=Se(n)===s;return this.expandSegment(i,c,r,u,h?rt:s,!0).pipe((0,q.U)(t=>new Ct(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?(0,v.of)(new ve(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,v.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe((0,F.z)(n=>{return n?this.configLoader.load(t.injector,e).pipe((0,q.U)(t=>(e._loadedConfig=t,t))):(i=e,new r.y(t=>t.error(ut(`Cannot load children because the guard of the route "path: '${i.path}'" returned false`))));var i})):(0,v.of)(new ve([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;if(!i||0===i.length)return(0,v.of)(!0);const s=i.map(i=>{const s=t.get(i);let r;if((o=s)&&xe(o.canLoad))r=s.canLoad(e,n);else{if(!xe(s))throw new Error("Invalid CanLoad guard");r=s(e,n)}var o;return gt(r)});return(0,v.of)(s).pipe(Ce(),(0,D.b)(t=>{if(!we(t))return;const e=ut(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(0,q.U)(t=>!0===t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,v.of)(n);if(i.numberOfChildren>1||!i.children[rt])return je(t.redirectTo);i=i.children[rt]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const s=this.createSegmentGroup(t,e.root,n,i);return new At(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return ft(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[i]=e[s]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const s=this.createSegments(t,e.segments,n,i);let r={};return ft(e.children,(e,s)=>{r[s]=this.createSegmentGroup(t,e,n,i)}),new Ct(s,r)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function ze(t){const e={};for(const n of Object.keys(t.children)){const i=ze(t.children[n]);(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children[rt]){const e=t.children[rt];return new Ct(t.segments.concat(e.segments),e.children)}return t}(new Ct(t.segments,e))}class Be{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class $e{constructor(t,e){this.component=t,this.route=e}}function Ge(t,e,n){const i=t._root;return Ye(i,e?e._root:null,n,[i.value])}function Qe(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function Ye(t,e,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=Gt(e);return t.children.forEach(t=>{(function(t,e,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&r.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Ot(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Ot(t.url,e.url)||!ht(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ie(t,e)||!ht(t.queryParams,e.queryParams);case"paramsChange":default:return!ie(t,e)}}(o,r,r.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Be(i)):(r.data=o.data,r._resolvedData=o._resolvedData),Ye(t,e,r.component?a?a.children:null:n,i,s),l&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new $e(a.outlet.component,o))}else o&&We(e,a,s),s.canActivateChecks.push(new Be(i)),Ye(t,null,r.component?a?a.children:null:n,i,s)})(t,r[t.value.outlet],n,i.concat([t.value]),s),delete r[t.value.outlet]}),ft(r,(t,e)=>We(t,n.getContext(e),s)),s}function We(t,e,n){const i=Gt(t),s=t.value;ft(i,(t,i)=>{We(t,s.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new $e(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class Ke{}function Je(t){return new r.y(e=>e.error(t))}class Xe{constructor(t,e,n,i,s,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=r}recognize(){const t=Re(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,rt);if(null===e)return null;const n=new Jt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},rt,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new $t(n,e),s=new Xt(this.url,i);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,n=Kt(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const s of Object.keys(e.children)){const i=e.children[s],r=Pe(t,s),o=this.processSegmentGroup(r,i,s);if(null===o)return null;n.push(...o)}const i=en(n);return i.sort((t,e)=>t.value.outlet===rt?-1:e.value.outlet===rt?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,n,i){for(const s of t){const t=this.processSegmentAgainstRoute(s,e,n,i);if(null!==t)return t}return Ne(e,n,i)?[]:null}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo||!Ue(t,e,n,i))return null;let s,r=[],o=[];if("**"===t.path){const i=n.length>0?_t(n).parameters:{};s=new Jt(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,rn(t),Se(t),t.component,t,nn(e),sn(e)+n.length,on(t))}else{const i=Le(e,t,n);if(!i.matched)return null;r=i.consumedSegments,o=n.slice(i.lastChild),s=new Jt(r,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,rn(t),Se(t),t.component,t,nn(e),sn(e)+r.length,on(t))}const a=(c=t).children?c.children:c.loadChildren?c._loadedConfig.routes:[],{segmentGroup:l,slicedSegments:u}=Re(e,r,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);var c;if(0===u.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new $t(s,t)]}if(0===a.length&&0===u.length)return[new $t(s,[])];const h=Se(t)===i,d=this.processSegment(a,l,u,h?rt:i);return null===d?null:[new $t(s,d)]}}function tn(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function en(t){const e=[],n=new Set;for(const i of t){if(!tn(i)){e.push(i);continue}const t=e.find(t=>i.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...i.children),n.add(t)):e.push(i)}for(const i of n){const t=en(i.children);e.push(new $t(i.value,t))}return e.filter(t=>!n.has(t))}function nn(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function sn(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function rn(t){return t.data||{}}function on(t){return t.resolve||{}}function an(t){return(0,U.w)(e=>{const n=t(e);return n?(0,a.D)(n).pipe((0,q.U)(()=>e)):(0,v.of)(e)})}class ln extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const un=new s.OlP("ROUTES");class cn{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe((0,q.U)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new ve(pt(i.injector.get(un,void 0,s.XFs.Self|s.XFs.Optional)).map(Ze),i)}),(0,N.K)(t=>{throw e._loader$=void 0,t}));return e._loader$=new b(n,()=>new k.x).pipe(y()),e._loader$}loadModuleFactory(t){return"string"==typeof t?(0,a.D)(this.loader.load(t)):gt(t()).pipe((0,F.z)(t=>t instanceof s.YKP?(0,v.of)(t):(0,a.D)(this.compiler.compileModuleAsync(t))))}}class hn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new dn,this.attachRef=null}}class dn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new hn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class pn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function _n(t){throw t}function fn(t,e,n){return e.parse("/")}function gn(t,e){return(0,v.of)(null)}const mn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},yn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let bn=(()=>{class t{constructor(t,e,n,i,r,o,a,l){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new k.x,this.errorHandler=_n,this.malformedUriErrorHandler=fn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:gn,afterPreactivation:gn},this.urlHandlingStrategy=new pn,this.routeReuseStrategy=new ln,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(s.h0i),this.console=r.get(s.c2e);const u=r.get(s.R0b);this.isNgZoneEnabled=u instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new At(new Ct([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new cn(o,a,t=>this.triggerEvent(new J(t)),t=>this.triggerEvent(new X(t))),this.routerState=Yt(this.currentUrlTree,this.rootComponentType),this.transitions=new x.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}setupNavigations(t){const e=this.events;return t.pipe((0,E.h)(t=>0!==t.id),(0,q.U)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),(0,U.w)(t=>{let n=!1,i=!1;return(0,v.of)(t).pipe((0,D.b)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,U.w)(t=>{const n=this.browserUrlTree.toString(),s=!this.navigated||t.extractedUrl.toString()!==n||n!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||s)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return vn(t.source)&&(this.browserUrlTree=t.extractedUrl),(0,v.of)(t).pipe((0,U.w)(t=>{const n=this.transitions.getValue();return e.next(new V(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?C.E:Promise.resolve(t)}),function(t,e,n,i){return(0,U.w)(s=>function(t,e,n,i,s){return new Ve(t,e,n,i,s).apply()}(t,e,n,s.extractedUrl,i).pipe((0,q.U)(t=>Object.assign(Object.assign({},s),{urlAfterRedirects:t}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,D.b)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,s,r){return(0,F.z)(o=>function(t,e,n,s,r="emptyOnly",o="legacy"){try{const i=new Xe(t,e,n,s,r,o).recognize();return null===i?Je(new Ke):(0,v.of)(i)}catch(i){return Je(i)}}(t,e,o.urlAfterRedirects,n(o.urlAfterRedirects),s,r).pipe((0,q.U)(t=>Object.assign(Object.assign({},o),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,D.b)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const n=new G(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(s&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:s,restoredState:r,extras:o}=t,a=new V(n,this.serializeUrl(i),s,r);e.next(a);const l=Yt(i,this.rootComponentType).snapshot;return(0,v.of)(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:i,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),C.E}),an(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),(0,D.b)(t=>{const e=new Q(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,q.U)(t=>Object.assign(Object.assign({},t),{guards:Ge(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return(0,F.z)(n=>{const{targetSnapshot:i,currentSnapshot:s,guards:{canActivateChecks:r,canDeactivateChecks:o}}=n;return 0===o.length&&0===r.length?(0,v.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return(0,a.D)(t).pipe((0,F.z)(t=>function(t,e,n,i,s){const r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!r||0===r.length)return(0,v.of)(!0);const o=r.map(r=>{const o=Qe(r,e,s);let a;if(function(t){return t&&xe(t.canDeactivate)}(o))a=gt(o.canDeactivate(t,e,n,i));else{if(!xe(o))throw new Error("Invalid CanDeactivate guard");a=gt(o(t,e,n,i))}return a.pipe(R())});return(0,v.of)(o).pipe(Ce())}(t.component,t.route,n,e,i)),R(t=>!0!==t,!0))}(o,i,s,t).pipe((0,F.z)(n=>n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,i){return(0,a.D)(e).pipe((0,I.b)(e=>(0,w.z)(function(t,e){return null!==t&&e&&e(new tt(t)),(0,v.of)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new nt(t)),(0,v.of)(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>(0,A.P)(()=>{const s=e.guards.map(s=>{const r=Qe(s,e.node,n);let o;if(function(t){return t&&xe(t.canActivateChild)}(r))o=gt(r.canActivateChild(i,t));else{if(!xe(r))throw new Error("Invalid CanActivateChild guard");o=gt(r(i,t))}return o.pipe(R())});return(0,v.of)(s).pipe(Ce())}));return(0,v.of)(s).pipe(Ce())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return(0,v.of)(!0);const s=i.map(i=>(0,A.P)(()=>{const s=Qe(i,e,n);let r;if(function(t){return t&&xe(t.canActivate)}(s))r=gt(s.canActivate(e,t));else{if(!xe(s))throw new Error("Invalid CanActivate guard");r=gt(s(e,t))}return r.pipe(R())}));return(0,v.of)(s).pipe(Ce())}(t,e.route,n))),R(t=>!0!==t,!0))}(i,r,t,e):(0,v.of)(n)),(0,q.U)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),(0,D.b)(t=>{if(we(t.guardsResult)){const e=ut(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new Y(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),(0,E.h)(t=>!!t.guardsResult||(this.restoreHistory(t),this.cancelNavigationTransition(t,""),!1)),an(t=>{if(t.guards.canActivateChecks.length)return(0,v.of)(t).pipe((0,D.b)(t=>{const e=new W(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,U.w)(t=>{let e=!1;return(0,v.of)(t).pipe(function(t,e){return(0,F.z)(n=>{const{targetSnapshot:i,guards:{canActivateChecks:s}}=n;if(!s.length)return(0,v.of)(n);let r=0;return(0,a.D)(s).pipe((0,I.b)(n=>function(t,e,n,i){return function(t,e,n,i){const s=Object.keys(t);if(0===s.length)return(0,v.of)({});const r={};return(0,a.D)(s).pipe((0,F.z)(s=>function(t,e,n,i){const s=Qe(t,e,i);return gt(s.resolve?s.resolve(e,n):s(e,n))}(t[s],e,n,i).pipe((0,D.b)(t=>{r[s]=t}))),Z(1),(0,F.z)(()=>Object.keys(r).length===s.length?(0,v.of)(r):C.E))}(t._resolve,t,e,i).pipe((0,q.U)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Kt(t,n).resolve),null)))}(n.route,i,t,e)),(0,D.b)(()=>r++),Z(1),(0,F.z)(t=>r===s.length?(0,v.of)(n):C.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,D.b)({next:()=>e=!0,complete:()=>{e||(this.restoreHistory(t),this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}))}),(0,D.b)(t=>{const e=new K(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),an(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),(0,q.U)(t=>{const e=function(t,e,n){const i=se(t,e._root,n?n._root:void 0);return new Qt(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),(0,D.b)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(t.urlAfterRedirects,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),((t,e,n)=>(0,q.U)(i=>(new ye(e,i.targetRouterState,i.currentRouterState,n).activate(t),i)))(this.rootContexts,this.routeReuseStrategy,t=>this.triggerEvent(t)),(0,D.b)({next(){n=!0},complete(){n=!0}}),function(t){return(0,m.e)((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}(()=>{var e;if(!n&&!i){const e=`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(t),this.cancelNavigationTransition(t,e)):this.cancelNavigationTransition(t,e)}(null===(e=this.currentNavigation)||void 0===e?void 0:e.id)===t.id&&(this.currentNavigation=null)}),(0,N.K)(n=>{if(i=!0,function(t){return t&&t[lt]}(n)){const i=we(n.url);i||(this.navigated=!0,this.restoreHistory(t,!0));const s=new B(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),i={skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||vn(t.source)};this.scheduleNavigation(e,"imperative",null,i,{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.restoreHistory(t,!0);const i=new $(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}return C.E}))}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e,s={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(i,t,n,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return e.transitionId!==t.transitionId||!n||!("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Oe(t),this.config=t.map(Ze),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:s,queryParamsHandling:r,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:s;let u=null;switch(r){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}return null!==u&&(u=this.removeEmptyProps(u)),function(t,e,n,i,s){if(0===n.length)return le(e.root,e.root,e,i,s);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ce(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return ft(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===s?(i.split("/").forEach((i,s)=>{0==s&&"."===i||(0==s&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new ce(n,e,i)}(n);if(r.toRoot())return le(e.root,new Ct([],{}),e,i,s);const o=function(t,e,n){if(t.isAbsolute)return new he(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new he(t,t===e.root,0)}const i=oe(t.commands[0])?0:1;return function(t,e,n){let i=t,s=e,r=n;for(;r>s;){if(r-=s,i=i.parent,!i)throw new Error("Invalid number of '../'");s=i.segments.length}return new he(i,!1,s-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(r,e,t),a=o.processChildren?pe(o.segmentGroup,o.index,r.commands):de(o.segmentGroup,o.index,r.commands);return le(o.segmentGroup,a,e,i,s)}(a,this.currentUrlTree,t,u,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=we(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new z(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}scheduleNavigation(t,e,n,i,s){var r,o;if(this.disposed)return Promise.resolve(!1);const a=this.getTransition(),l=vn(e)&&a&&!vn(a.source),u=(this.lastSuccessfulId===a.id||this.currentNavigation?a.rawUrl:a.urlAfterRedirects).toString()===t.toString();if(l&&u)return Promise.resolve(!0);let c,h,d;s?(c=s.resolve,h=s.reject,d=s.promise):d=new Promise((t,e)=>{c=t,h=e});const p=++this.navigationId;let _;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(n=this.location.getState()),_=n&&n.\u0275routerPageId?n.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?null!==(r=this.browserPageId)&&void 0!==r?r:0:(null!==(o=this.browserPageId)&&void 0!==o?o:0)+1):_=0,this.setTransition({id:p,targetPageId:_,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:c,reject:h,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t),i=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",i):this.location.go(n,"",i)}restoreHistory(t,e=!1){var n,i;if("computed"===this.canceledNavigationResolution){const e=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)||0===e?this.currentUrlTree===(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)&&0===e&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(e)}else"replace"===this.canceledNavigationResolution&&(e&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){const n=new B(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.DyG),s.LFG(Tt),s.LFG(dn),s.LFG(i.Ye),s.LFG(s.zs3),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function vn(t){return"imperative"!==t}let xn=(()=>{class t{constructor(t,e,n,i,s){this.router=t,this.route=e,this.commands=[],this.onChanges=new k.x,null==n&&i.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:An(this.skipLocationChange),replaceUrl:An(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:An(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(bn),s.Y36(Wt),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})(),wn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new k.x,this.subscription=t.events.subscribe(t=>{t instanceof z&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i,s){if(0!==t||e||n||i||s||"string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:An(this.skipLocationChange),replaceUrl:An(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:An(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(bn),s.Y36(Wt),s.Y36(i.S$))},t.\u0275dir=s.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(s.Ikx("href",e.href,s.LSH),s.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})();function An(t){return""===t||!!t}let Cn=(()=>{class t{constructor(t,e,n,i,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.name=i||rt,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,s=new kn(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(dn),s.Y36(s.s_b),s.Y36(s._Vd),s.$8M("name"),s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class kn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Wt?this.route:t===dn?this.childContexts:this.parent.get(t,e)}}class On{}class Tn{preload(t,e){return(0,v.of)(null)}}let En=(()=>{class t{constructor(t,e,n,i,s){this.router=t,this.injector=i,this.preloadingStrategy=s,this.loader=new cn(e,n,e=>t.triggerEvent(new J(e)),e=>t.triggerEvent(new X(e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,E.h)(t=>t instanceof z),(0,I.b)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(s.h0i);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return(0,a.D)(n).pipe((0,H.J)(),(0,q.U)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?(0,v.of)(e._loadedConfig):this.loader.load(t.injector,e)).pipe((0,F.z)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(bn),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(s.zs3),s.LFG(On))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Zn=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof V?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof z&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof st&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new st(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(bn),s.LFG(i.EM),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Sn=new s.OlP("ROUTER_CONFIGURATION"),Pn=new s.OlP("ROUTER_FORROOT_GUARD"),Mn=[i.Ye,{provide:Tt,useClass:Et},{provide:bn,useFactory:function(t,e,n,i,s,r,o,a={},l,u){const c=new bn(null,t,e,n,i,s,r,pt(o));return l&&(c.urlHandlingStrategy=l),u&&(c.routeReuseStrategy=u),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,c),a.enableTracing&&c.events.subscribe(t=>{var e,n;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),c},deps:[Tt,dn,i.Ye,s.zs3,s.v3s,s.Sil,un,Sn,[class{},new s.FiY],[class{},new s.FiY]]},dn,{provide:Wt,useFactory:function(t){return t.routerState.root},deps:[bn]},{provide:s.v3s,useClass:s.EAV},En,Tn,class{preload(t,e){return e().pipe((0,N.K)(()=>(0,v.of)(null)))}},{provide:Sn,useValue:{enableTracing:!1}}];function Ln(){return new s.PXZ("Router",bn)}let Rn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Mn,In(e),{provide:Pn,useFactory:Nn,deps:[[bn,new s.FiY,new s.tp0]]},{provide:Sn,useValue:n||{}},{provide:i.S$,useFactory:Un,deps:[i.lw,[new s.tBr(i.mr),new s.FiY],Sn]},{provide:Zn,useFactory:qn,deps:[bn,i.EM,Sn]},{provide:On,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Tn},{provide:s.PXZ,multi:!0,useFactory:Ln},[Fn,{provide:s.ip1,multi:!0,useFactory:Dn,deps:[Fn]},{provide:jn,useFactory:Hn,deps:[Fn]},{provide:s.tb,multi:!0,useExisting:jn}]]}}static forChild(e){return{ngModule:t,providers:[In(e)]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Pn,8),s.LFG(bn,8))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();function qn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Zn(t,e,n)}function Un(t,e,n={}){return n.useHash?new i.Do(t,e):new i.b0(t,e)}function Nn(t){return"guarded"}function In(t){return[{provide:s.deG,multi:!0,useValue:t},{provide:un,multi:!0,useValue:t}]}let Fn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new k.x}appInitializer(){return this.injector.get(i.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const e=new Promise(e=>t=e),n=this.injector.get(bn),i=this.injector.get(Sn);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?(0,v.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Sn),n=this.injector.get(En),i=this.injector.get(Zn),r=this.injector.get(bn),o=this.injector.get(s.z2F);t===o.components[0]&&(("enabledNonBlocking"===e.initialNavigation||void 0===e.initialNavigation)&&r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function Dn(t){return t.appInitializer.bind(t)}function Hn(t){return t.bootstrapListener.bind(t)}const jn=new s.OlP("Router Initializer")},1753:function(t,e,n){"use strict";n.d(e,{Zw:function(){return v},aw:function(){return F},X$:function(){return I},sK:function(){return N}});var i=n(42741),s=n(78806),r=n(29534);function o(t){return!!t&&(t instanceof s.y||(0,r.m)(t.lift)&&(0,r.m)(t.subscribe))}var a=n(86122),l=n(92776),u=n(35885),c=n(66158),h=n(4178),d=n(48090);class p extends h.x{constructor(t=1/0,e=1/0,n=d.l){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:n,_infiniteTimeWindow:i,_timestampProvider:s,_windowTime:r}=this;e||(n.push(t),!i&&n.push(s.now()+r)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:n,_buffer:i}=this,s=i.slice();for(let r=0;rnew p(r,e,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}var g=n(15218),m=n(83034),y=n(71158),b=n(24907);class v{}let x=(()=>{class t extends v{getTranslation(t){return(0,a.of)({})}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class w{}let A=(()=>{class t{handle(t){return t.key}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function C(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;let n,i,s,r=typeof t;if(r==typeof e&&"object"==r){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(i in s=Object.create(null),t){if(!C(t[i],e[i]))return!1;s[i]=!0}for(i in e)if(!(i in s)&&void 0!==e[i])return!1;return!0}if(!Array.isArray(e))return!1;if((n=t.length)==e.length){for(i=0;i{O(e[i])?i in t?n[i]=T(t[i],e[i]):Object.assign(n,{[i]:e[i]}):Object.assign(n,{[i]:e[i]})}),n}class E{}let Z=(()=>{class t extends E{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(t,e){let n;return n="string"==typeof t?this.interpolateString(t,e):"function"==typeof t?this.interpolateFunction(t,e):t,n}getValue(t,e){let n="string"==typeof e?e.split("."):[e];e="";do{e+=n.shift(),!k(t)||!k(t[e])||"object"!=typeof t[e]&&n.length?n.length?e+=".":t=void 0:(t=t[e],e="")}while(n.length);return t}interpolateFunction(t,e){return t(e)}interpolateString(t,e){return e?t.replace(this.templateMatcher,(t,n)=>{let i=this.getValue(e,n);return k(i)?i:t}):t}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class S{}let P=(()=>{class t extends S{compile(t,e){return t}compileTranslations(t,e){return t}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class M{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.vpe,this.onLangChange=new i.vpe,this.onDefaultLangChange=new i.vpe}}const L=new i.OlP("USE_STORE"),R=new i.OlP("USE_DEFAULT_LANG"),q=new i.OlP("DEFAULT_LANGUAGE"),U=new i.OlP("USE_EXTEND");let N=(()=>{class t{constructor(t,e,n,s,r,o=!0,a=!1,l=!1,u){this.store=t,this.currentLoader=e,this.compiler=n,this.parser=s,this.missingTranslationHandler=r,this.useDefaultLang=o,this.isolate=a,this.extend=l,this.pending=!1,this._onTranslationChange=new i.vpe,this._onLangChange=new i.vpe,this._onDefaultLangChange=new i.vpe,this._langs=[],this._translations={},this._translationRequests={},u&&this.setDefaultLang(u)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let e=this.retrieveTranslations(t);void 0!==e?(null==this.defaultLang&&(this.defaultLang=t),e.pipe((0,g.q)(1)).subscribe(e=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return(0,a.of)(this.translations[t]);let e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe((0,g.q)(1)).subscribe(e=>{this.changeLang(t)}),e):(this.changeLang(t),(0,a.of)(this.translations[t]))}retrieveTranslations(t){let e;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}getTranslation(t){this.pending=!0;const e=this.currentLoader.getTranslation(t).pipe(f(1),(0,g.q)(1));return this.loadingTranslations=e.pipe((0,m.U)(e=>this.compiler.compileTranslations(e,t)),f(1),(0,g.q)(1)),this.loadingTranslations.subscribe({next:e=>{this.translations[t]=this.extend&&this.translations[t]?Object.assign(Object.assign({},e),this.translations[t]):e,this.updateLangs(),this.pending=!1},error:t=>{this.pending=!1}}),e}setTranslation(t,e,n=!1){e=this.compiler.compileTranslations(e,t),this.translations[t]=(n||this.extend)&&this.translations[t]?T(this.translations[t],e):e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,e,n){let i;if(e instanceof Array){let i={},s=!1;for(let r of e)i[r]=this.getParsedResult(t,r,n),o(i[r])&&(s=!0);if(s){const t=e.map(t=>o(i[t])?i[t]:(0,a.of)(i[t]));return(0,l.D)(t).pipe((0,m.U)(t=>{let n={};return t.forEach((t,i)=>{n[e[i]]=t}),n}))}return i}if(t&&(i=this.parser.interpolate(this.parser.getValue(t,e),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),n)),void 0===i){let t={key:e,translateService:this};void 0!==n&&(t.interpolateParams=n),i=this.missingTranslationHandler.handle(t)}return void 0!==i?i:e}get(t,e){if(!k(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,y.b)(n=>o(n=this.getParsedResult(n,t,e))?n:(0,a.of)(n)));{let n=this.getParsedResult(this.translations[this.currentLang],t,e);return o(n)?n:(0,a.of)(n)}}getStreamOnTranslationChange(t,e){if(!k(t)||!t.length)throw new Error('Parameter "key" required');return(0,u.z)((0,c.P)(()=>this.get(t,e)),this.onTranslationChange.pipe((0,b.w)(n=>{const i=this.getParsedResult(n.translations,t,e);return"function"==typeof i.subscribe?i:(0,a.of)(i)})))}stream(t,e){if(!k(t)||!t.length)throw new Error('Parameter "key" required');return(0,u.z)((0,c.P)(()=>this.get(t,e)),this.onLangChange.pipe((0,b.w)(n=>{const i=this.getParsedResult(n.translations,t,e);return o(i)?i:(0,a.of)(i)})))}instant(t,e){if(!k(t)||!t.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],t,e);if(o(n)){if(t instanceof Array){let e={};return t.forEach((n,i)=>{e[t[i]]=t[i]}),e}return t}return n}set(t,e,n=this.currentLang){this.translations[n][t]=this.compiler.compile(e,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==t?(-1!==t.indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(M),i.LFG(v),i.LFG(S),i.LFG(E),i.LFG(w),i.LFG(R),i.LFG(L),i.LFG(U),i.LFG(q))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),I=(()=>{class t{constructor(t,e){this.translate=t,this._ref=e,this.value=""}updateValue(t,e,n){let i=e=>{this.value=void 0!==e?e:t,this.lastKey=t,this._ref.markForCheck()};if(n){let s=this.translate.getParsedResult(n,t,e);o(s.subscribe)?s.subscribe(i):i(s)}this.translate.get(t,e).subscribe(i)}transform(t,...e){if(!t||!t.length)return t;if(C(t,this.lastKey)&&C(e,this.lastParams))return this.value;let n;if(k(e[0])&&e.length)if("string"==typeof e[0]&&e[0].length){let t=e[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{n=JSON.parse(t)}catch(i){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${e[0]}`)}}else"object"==typeof e[0]&&!Array.isArray(e[0])&&(n=e[0]);return this.lastKey=t,this.lastParams=e,this.updateValue(t,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(e=>{this.lastKey&&e.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(t,n,e.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(e=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,n,e.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,n))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N,16),i.Y36(i.sBO,16))},t.\u0275pipe=i.Yjl({name:"translate",type:t,pure:!1}),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),F=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:v,useClass:x},e.compiler||{provide:S,useClass:P},e.parser||{provide:E,useClass:Z},e.missingTranslationHandler||{provide:w,useClass:A},M,{provide:L,useValue:e.isolate},{provide:R,useValue:e.useDefaultLang},{provide:U,useValue:e.extend},{provide:q,useValue:e.defaultLanguage},N]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:v,useClass:x},e.compiler||{provide:S,useClass:P},e.parser||{provide:E,useClass:Z},e.missingTranslationHandler||{provide:w,useClass:A},{provide:L,useValue:e.isolate},{provide:R,useValue:e.useDefaultLang},{provide:U,useValue:e.extend},{provide:q,useValue:e.defaultLanguage},N]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},66565:function(t,e){var n,i;void 0!==(i="function"==typeof(n=function(){"use strict";function e(t,e,n){var i=new XMLHttpRequest;i.open("GET",t),i.responseType="blob",i.onload=function(){o(i.response,e,n)},i.onerror=function(){console.error("could not download file")},i.send()}function n(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(n){}return 200<=e.status&&299>=e.status}function i(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(n){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var s="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,r=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),o=s.saveAs||("object"!=typeof window||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!r?function(t,r,o){var a=s.URL||s.webkitURL,l=document.createElement("a");l.download=r=r||t.name||"download",l.rel="noopener","string"==typeof t?(l.href=t,l.origin===location.origin?i(l):n(l.href)?e(t,r,o):i(l,l.target="_blank")):(l.href=a.createObjectURL(t),setTimeout(function(){a.revokeObjectURL(l.href)},4e4),setTimeout(function(){i(l)},0))}:"msSaveOrOpenBlob"in navigator?function(t,s,r){if(s=s||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}(t,r),s);else if(n(t))e(t,s,r);else{var o=document.createElement("a");o.href=t,o.target="_blank",setTimeout(function(){i(o)})}}:function(t,n,i,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof t)return e(t,n,i);var a="application/octet-stream"===t.type,l=/constructor/i.test(s.HTMLElement)||s.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||a&&l||r)&&"undefined"!=typeof FileReader){var c=new FileReader;c.onloadend=function(){var t=c.result;t=u?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=t:location=t,o=null},c.readAsDataURL(t)}else{var h=s.URL||s.webkitURL,d=h.createObjectURL(t);o?o.location=d:location.href=d,o=null,setTimeout(function(){h.revokeObjectURL(d)},4e4)}});s.saveAs=o.saveAs=o,t.exports=o})?n.apply(e,[]):n)&&(t.exports=i)},80389:function(t,e,n){"use strict";var i,s;i=[n(66965),n(60605),n(25531)],void 0!==(s=(function(t,e,n){return function(t,e,n){var i=function(e,n){return t.js_beautify(e,n)};return i.js=t.js_beautify,i.css=e.css_beautify,i.html=n.html_beautify,i.js_beautify=t.js_beautify,i.css_beautify=e.css_beautify,i.html_beautify=n.html_beautify,i}(t,e,n)}).apply(e,i))&&(t.exports=s)},60605:function(t,e){var n;!function(){var i;!function(){"use strict";var t=[,,function(t){function e(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function n(t,e){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),e=e||"",t.indent_level>0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}function i(t,i){this.__indent_cache=new n(t,i),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}e.prototype.clone_empty=function(){var t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},e.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1},e.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return 0===this.__items.length},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t},n.prototype.get_indent_size=function(t,e){var n=this.__base_string_length;return t<0&&(n=0),(n+=t*this.__indent_size)+(e||0)},n.prototype.get_indent_string=function(t,e){var n=this.__base_string;return e=e||0,t<0&&(t=0,n=""),this.__ensure_cache(e+=t*this.__indent_size),n+this.__cache[e]},n.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},n.prototype.__add_column=function(){var t=this.__cache.length,e=0,n="";this.__indent_size&&t>=this.__indent_size&&(t-=(e=Math.floor(t/this.__indent_size))*this.__indent_size,n=new Array(e+1).join(this.__indent_string)),t&&(n+=new Array(t+1).join(" ")),this.__cache.push(n)},i.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},i.prototype.get_line_number=function(){return this.__lines.length},i.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},i.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},i.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},i.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline()||(this.raw||this.__add_outputline(),0))},i.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},i.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},i.prototype.set_indent=function(t,e){return this.next_line.set_indent(t=t||0,e=e||0),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)},i.prototype.add_raw_token=function(t){for(var e=0;e1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},i.prototype.just_added_newline=function(){return this.current_line.is_empty()},i.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},i.prototype.ensure_empty_line_above=function(t,n){for(var i=this.__lines.length-2;i>=0;){var s=this.__lines[i];if(s.is_empty())break;if(0!==s.item(0).indexOf(t)&&s.item(-1)!==n){this.__lines.splice(i+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}i--}},t.exports.Output=i},,,,function(t){function e(t,e){this.raw_options=n(t,e),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}function n(t,e){var n,s={};for(n in t=i(t))n!==e&&(s[n]=t[n]);if(e&&t[e])for(n in t[e])s[n]=t[e][n];return s}function i(t){var e,n={};for(e in t)n[e.replace(/-/g,"_")]=t[e];return n}e.prototype._get_array=function(t,e){var n=this.raw_options[t],i=e||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},e.prototype._get_boolean=function(t,e){var n=this.raw_options[t];return void 0===n?!!e:!!n},e.prototype._get_characters=function(t,e){var n=this.raw_options[t],i=e||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},e.prototype._get_number=function(t,e){var n=this.raw_options[t];e=parseInt(e,10),isNaN(e)&&(e=0);var i=parseInt(n,10);return isNaN(i)&&(i=e),i},e.prototype._get_selection=function(t,e,n){var i=this._get_selection_list(t,e,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+t+"' can only be one of the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i[0]},e.prototype._get_selection_list=function(t,e,n){if(!e||0===e.length)throw new Error("Selection list cannot be empty.");if(!this._is_valid_selection(n=n||[e[0]],e))throw new Error("Invalid Default Value!");var i=this._get_array(t,n);if(!this._is_valid_selection(i,e))throw new Error("Invalid Option Value: The option '"+t+"' can contain only the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i},e.prototype._is_valid_selection=function(t,e){return t.length&&e.length&&!t.some(function(t){return-1===e.indexOf(t)})},t.exports.Options=e,t.exports.normalizeOpts=i,t.exports.mergeOpts=n},,function(t){var e=RegExp.prototype.hasOwnProperty("sticky");function n(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}n.prototype.restart=function(){this.__position=0},n.prototype.back=function(){this.__position>0&&(this.__position-=1)},n.prototype.hasNext=function(){return this.__position=0&&t=0&&e=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=n},,,,,function(t){function e(t,e){t="string"==typeof t?t:t.source,e="string"==typeof e?e:e.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+e,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+e,"g")}e.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var e={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(t);n;)e[n[1]]=n[2],n=this.__directive_pattern.exec(t);return e},e.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},t.exports.Directives=e},,function(t,e,n){var i=n(16).Beautifier,s=n(17).Options;t.exports=function(t,e){return new i(t,e).beautify()},t.exports.defaultOptions=function(){return new s}},function(t,e,n){var i=n(17).Options,s=n(2).Output,r=n(8).InputScanner,o=new(0,n(13).Directives)(/\/\*/,/\*\//),a=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,u=/\s/,c=/(?:\s|\n)+/g,h=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,d=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function p(t,e){this._source_text=t||"",this._options=new i(e),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}p.prototype.eatString=function(t){var e="";for(this._ch=this._input.next();this._ch;){if(e+=this._ch,"\\"===this._ch)e+=this._input.next();else if(-1!==t.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return e},p.prototype.eatWhitespace=function(t){for(var e=u.test(this._input.peek()),n=0;u.test(this._input.peek());)this._ch=this._input.next(),t&&"\n"===this._ch&&(0===n||n0&&this._indentLevel--},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._source_text,e=this._options.eol;"auto"===e&&(e="\n",t&&a.test(t||"")&&(e=t.match(a)[0]));var n=(t=t.replace(l,"\n")).match(/^[\t ]*/)[0];this._output=new s(this._options,n),this._input=new r(t),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var i,p,_=0,f=!1,g=!1,m=!1,y=!1,b=!1,v=this._ch;i=""!==this._input.read(c),p=v,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),v=this._ch,this._ch;)if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var x=this._input.read(h),w=o.get_directives(x);w&&"start"===w.ignore&&(x+=o.readIgnored(this._input)),this.print_string(x),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(d)),this.eatWhitespace(!0);else if("@"===this._ch)if(this.preserveSingleSpace(i),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var A=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);A.match(/[ :]$/)&&(A=this.eatString(": ").replace(/\s$/,""),this.print_string(A),this._output.space_before_token=!0),"extend"===(A=A.replace(/\s$/,""))?y=!0:"import"===A&&(b=!0),A in this.NESTED_AT_RULE?(this._nestedLevel+=1,A in this.CONDITIONAL_GROUP_RULE&&(m=!0)):!f&&0===_&&-1!==A.indexOf(":")&&(g=!0,this.indent())}else"#"===this._ch&&"{"===this._input.peek()?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString("}"))):"{"===this._ch?(g&&(g=!1,this.outdent()),m?(m=!1,f=this._indentLevel>=this._nestedLevel):f=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&f&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,"expand"===this._options.brace_style?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line()):"}"===this._ch?(this.outdent(),this._output.add_new_line(),"{"===p&&this._output.trim(!0),b=!1,y=!1,g&&(this.outdent(),g=!1),this.print_string(this._ch),f=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0)):":"===this._ch?!f&&!m||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||y||0!==_?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),g||(g=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):'"'===this._ch||"'"===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):";"===this._ch?0===_?(g&&(this.outdent(),g=!1),y=!1,b=!1,this.print_string(this._ch),this.eatWhitespace(!0),"/"!==this._input.peek()&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):"("===this._ch?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),_++,this.indent(),this._ch=this._input.next(),")"===this._ch||'"'===this._ch||"'"===this._ch?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),_&&(_--,this.outdent()))):(this.preserveSingleSpace(i),this.print_string(this._ch),this.eatWhitespace(),_++,this.indent()):")"===this._ch?(_&&(_--,this.outdent()),this.print_string(this._ch)):","===this._ch?(this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||g||0!==_||b||y?this._output.space_before_token=!0:this._output.add_new_line()):">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||g||0!==_?"]"===this._ch?this.print_string(this._ch):"["===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch)):"="===this._ch?(this.eatWhitespace(),this.print_string("="),u.test(this._ch)&&(this._ch="")):"!"!==this._ch||this._input.lookBack("\\")?(this.preserveSingleSpace(i),this.print_string(this._ch)):(this.print_string(" "),this.print_string(this._ch)):this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&u.test(this._ch)&&(this._ch=""));return this._output.get_code(e)},t.exports.Beautifier=p},function(t,e,n){var i=n(6).Options;function s(t){i.call(this,t,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var e=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||e;var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var s=0;s0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}function i(t,i){this.__indent_cache=new n(t,i),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}e.prototype.clone_empty=function(){var t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},e.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1},e.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return 0===this.__items.length},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t},n.prototype.get_indent_size=function(t,e){var n=this.__base_string_length;return t<0&&(n=0),(n+=t*this.__indent_size)+(e||0)},n.prototype.get_indent_string=function(t,e){var n=this.__base_string;return e=e||0,t<0&&(t=0,n=""),this.__ensure_cache(e+=t*this.__indent_size),n+this.__cache[e]},n.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},n.prototype.__add_column=function(){var t=this.__cache.length,e=0,n="";this.__indent_size&&t>=this.__indent_size&&(t-=(e=Math.floor(t/this.__indent_size))*this.__indent_size,n=new Array(e+1).join(this.__indent_string)),t&&(n+=new Array(t+1).join(" ")),this.__cache.push(n)},i.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},i.prototype.get_line_number=function(){return this.__lines.length},i.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},i.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},i.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},i.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline()||(this.raw||this.__add_outputline(),0))},i.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},i.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},i.prototype.set_indent=function(t,e){return this.next_line.set_indent(t=t||0,e=e||0),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)},i.prototype.add_raw_token=function(t){for(var e=0;e1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},i.prototype.just_added_newline=function(){return this.current_line.is_empty()},i.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},i.prototype.ensure_empty_line_above=function(t,n){for(var i=this.__lines.length-2;i>=0;){var s=this.__lines[i];if(s.is_empty())break;if(0!==s.item(0).indexOf(t)&&s.item(-1)!==n){this.__lines.splice(i+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}i--}},t.exports.Output=i},function(t){t.exports.Token=function(t,e,n,i){this.type=t,this.text=e,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}},,,function(t){function e(t,e){this.raw_options=n(t,e),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}function n(t,e){var n,s={};for(n in t=i(t))n!==e&&(s[n]=t[n]);if(e&&t[e])for(n in t[e])s[n]=t[e][n];return s}function i(t){var e,n={};for(e in t)n[e.replace(/-/g,"_")]=t[e];return n}e.prototype._get_array=function(t,e){var n=this.raw_options[t],i=e||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},e.prototype._get_boolean=function(t,e){var n=this.raw_options[t];return void 0===n?!!e:!!n},e.prototype._get_characters=function(t,e){var n=this.raw_options[t],i=e||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},e.prototype._get_number=function(t,e){var n=this.raw_options[t];e=parseInt(e,10),isNaN(e)&&(e=0);var i=parseInt(n,10);return isNaN(i)&&(i=e),i},e.prototype._get_selection=function(t,e,n){var i=this._get_selection_list(t,e,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+t+"' can only be one of the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i[0]},e.prototype._get_selection_list=function(t,e,n){if(!e||0===e.length)throw new Error("Selection list cannot be empty.");if(!this._is_valid_selection(n=n||[e[0]],e))throw new Error("Invalid Default Value!");var i=this._get_array(t,n);if(!this._is_valid_selection(i,e))throw new Error("Invalid Option Value: The option '"+t+"' can contain only the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i},e.prototype._is_valid_selection=function(t,e){return t.length&&e.length&&!t.some(function(t){return-1===e.indexOf(t)})},t.exports.Options=e,t.exports.normalizeOpts=i,t.exports.mergeOpts=n},,function(t){var e=RegExp.prototype.hasOwnProperty("sticky");function n(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}n.prototype.restart=function(){this.__position=0},n.prototype.back=function(){this.__position>0&&(this.__position-=1)},n.prototype.hasNext=function(){return this.__position=0&&t=0&&e=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=n},function(t,e,n){var i=n(8).InputScanner,s=n(3).Token,r=n(10).TokenStream,o=n(11).WhitespacePattern,a={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},l=function(t,e){this._input=new i(t),this._options=e||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new o(this._input)};l.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var t,e=new s(a.START,""),n=null,i=[],o=new r;e.type!==a.EOF;){for(t=this._get_next_token(e,n);this._is_comment(t);)o.add(t),t=this._get_next_token(e,n);o.isEmpty()||(t.comments_before=o,o=new r),t.parent=n,this._is_opening(t)?(i.push(n),n=t):n&&this._is_closing(t,n)&&(t.opened=n,n.closed=t,n=i.pop(),t.parent=n),t.previous=e,e.next=t,this.__tokens.add(t),e=t}return this.__tokens},l.prototype._is_first_token=function(){return this.__tokens.isEmpty()},l.prototype._reset=function(){},l.prototype._get_next_token=function(t,e){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(a.RAW,n):this._create_token(a.EOF,"")},l.prototype._is_comment=function(t){return!1},l.prototype._is_opening=function(t){return!1},l.prototype._is_closing=function(t,e){return!1},l.prototype._create_token=function(t,e){return new s(t,e,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},l.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},t.exports.Tokenizer=l,t.exports.TOKEN=a},function(t){function e(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return 0===this.__tokens_length},e.prototype.hasNext=function(){return this.__position=0&&t/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/),smarty:n.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:n.starting_with(/{\*/).until_after(/\*}/),smarty_literal:n.starting_with(/{literal}/).until_after(/{\/literal}/)}}(r.prototype=new i)._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(t){var e=this._create();return e._disabled[t]=!0,e._update(),e},r.prototype.read_options=function(t){var e=this._create();for(var n in s)e._disabled[n]=-1===t.templating.indexOf(n);return e._update(),e},r.prototype.exclude=function(t){var e=this._create();return e._excluded[t]=!0,e._update(),e},r.prototype.read=function(){var t="";t=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var e=this._read_template();e;)t+=e+=this._match_pattern?this._input.read(this._match_pattern):this._input.readUntil(this.__template_pattern),e=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t},r.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||t.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+t.join("|")+")")},r.prototype._read_template=function(){var t="",e=this._input.peek();if("<"===e){var n=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&"?"===n&&(t=t||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&"%"===n&&(t=t||this.__patterns.erb.read())}else"{"===e&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(t=(t=(t=t||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(t=t||this.__patterns.django_value.read()),this._excluded.django||(t=(t=t||this.__patterns.django_comment.read())||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(t=(t=(t=t||this.__patterns.smarty_comment.read())||this.__patterns.smarty_literal.read())||this.__patterns.smarty.read()));return t},t.exports.TemplatablePattern=r},,,,function(t,e,n){var i=n(19).Beautifier,s=n(20).Options;t.exports=function(t,e,n,s){return new i(t,e,n,s).beautify()},t.exports.defaultOptions=function(){return new s}},function(t,e,n){var i=n(20).Options,s=n(2).Output,r=n(21).Tokenizer,o=n(21).TOKEN,a=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,u=function(t,e){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=t.max_preserve_newlines,this.preserve_newlines=t.preserve_newlines,this._output=new s(t,e)};u.prototype.current_line_has_match=function(t){return this._output.current_line.has_match(t)},u.prototype.set_space_before_token=function(t,e){this._output.space_before_token=t,this._output.non_breaking_space=e},u.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},u.prototype.add_raw_token=function(t){this._output.add_raw_token(t)},u.prototype.print_preserved_newlines=function(t){var e=0;t.type!==o.TEXT&&t.previous.type!==o.TEXT&&(e=t.newlines?1:0),this.preserve_newlines&&(e=t.newlines0);return 0!==e},u.prototype.traverse_whitespace=function(t){return!(!t.whitespace_before&&!t.newlines||(this.print_preserved_newlines(t)||(this._output.space_before_token=!0),0))},u.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},u.prototype.print_newline=function(t){this._output.add_new_line(t)},u.prototype.print_token=function(t){t.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(t.text))},u.prototype.indent=function(){this.indent_level++},u.prototype.get_full_indent=function(t){return(t=this.indent_level+(t||0))<1?"":this._output.get_indent_string(t)};function c(t,e){return-1!==e.indexOf(t)}function h(t,e,n){this.parent=t||null,this.tag=e?e.tag_name:"",this.indent_level=n||0,this.parser_token=e||null}function d(t){this._printer=t,this._current_frame=null}function p(t,e,n,s){this._source_text=t||"",e=e||{},this._js_beautify=n,this._css_beautify=s,this._tag_stack=null;var r=new i(e,"html");this._options=r,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,"force".length),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,"preserve".length),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}d.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},d.prototype.record_tag=function(t){var e=new h(this._current_frame,t,this._printer.indent_level);this._current_frame=e},d.prototype._try_pop_frame=function(t){var e=null;return t&&(e=t.parser_token,this._printer.indent_level=t.indent_level,this._current_frame=t.parent),e},d.prototype._get_frame=function(t,e){for(var n=this._current_frame;n&&-1===t.indexOf(n.tag);){if(e&&-1!==e.indexOf(n.tag)){n=null;break}n=n.parent}return n},d.prototype.try_pop=function(t,e){var n=this._get_frame([t],e);return this._try_pop_frame(n)},d.prototype.indent_to_tag=function(t){var e=this._get_frame(t);e&&(this._printer.indent_level=e.indent_level)},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._source_text,e=this._options.eol;"auto"===this._options.eol&&(e="\n",t&&a.test(t)&&(e=t.match(a)[0]));var n=(t=t.replace(l,"\n")).match(/^[\t ]*/)[0],i={text:"",type:""},s=new _,c=new u(this._options,n),h=new r(t,this._options).tokenize();this._tag_stack=new d(c);for(var p=null,f=h.next();f.type!==o.EOF;)f.type===o.TAG_OPEN||f.type===o.COMMENT?s=p=this._handle_tag_open(c,f,s,i):f.type===o.ATTRIBUTE||f.type===o.EQUALS||f.type===o.VALUE||f.type===o.TEXT&&!s.tag_complete?p=this._handle_inside_tag(c,f,s,h):f.type===o.TAG_CLOSE?p=this._handle_tag_close(c,f,s):f.type===o.TEXT?p=this._handle_text(c,f,s):c.add_raw_token(f),i=p,f=h.next();return c._output.get_code(e)},p.prototype._handle_tag_close=function(t,e,n){var i={text:e.text,type:e.type};return t.alignment_size=0,n.tag_complete=!0,t.set_space_before_token(e.newlines||""!==e.whitespace_before,!0),n.is_unformatted?t.add_raw_token(e):("<"===n.tag_start_char&&(t.set_space_before_token("/"===e.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&n.has_wrapped_attrs&&t.print_newline(!1)),t.print_token(e)),n.indent_content&&!(n.is_unformatted||n.is_content_unformatted)&&(t.indent(),n.indent_content=!1),!n.is_inline_element&&!(n.is_unformatted||n.is_content_unformatted)&&t.set_wrap_point(),i},p.prototype._handle_inside_tag=function(t,e,n,i){var s=n.has_wrapped_attrs,r={text:e.text,type:e.type};if(t.set_space_before_token(e.newlines||""!==e.whitespace_before,!0),n.is_unformatted)t.add_raw_token(e);else if("{"===n.tag_start_char&&e.type===o.TEXT)t.print_preserved_newlines(e)?(e.newlines=0,t.add_raw_token(e)):t.print_token(e);else{if(e.type===o.ATTRIBUTE?(t.set_space_before_token(!0),n.attr_count+=1):(e.type===o.EQUALS||e.type===o.VALUE&&e.previous.type===o.EQUALS)&&t.set_space_before_token(!1),e.type===o.ATTRIBUTE&&"<"===n.tag_start_char&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(t.traverse_whitespace(e),s=s||0!==e.newlines),this._is_wrap_attributes_force)){var a=n.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&1===n.attr_count){var l,u=!0,c=0;do{if((l=i.peek(c)).type===o.ATTRIBUTE){u=!1;break}c+=1}while(c<4&&l.type!==o.EOF&&l.type!==o.TAG_CLOSE);a=!u}a&&(t.print_newline(!1),s=!0)}t.print_token(e),s=s||t.previous_token_wrapped(),n.has_wrapped_attrs=s}return r},p.prototype._handle_text=function(t,e,n){var i={text:e.text,type:"TK_CONTENT"};return n.custom_beautifier_name?this._print_custom_beatifier_text(t,e,n):n.is_unformatted||n.is_content_unformatted?t.add_raw_token(e):(t.traverse_whitespace(e),t.print_token(e)),i},p.prototype._print_custom_beatifier_text=function(t,e,n){var i=this;if(""!==e.text){var s,r=e.text,o=1,a="",l="";"javascript"===n.custom_beautifier_name&&"function"==typeof this._js_beautify?s=this._js_beautify:"css"===n.custom_beautifier_name&&"function"==typeof this._css_beautify?s=this._css_beautify:"html"===n.custom_beautifier_name&&(s=function(t,e){return new p(t,e,i._js_beautify,i._css_beautify).beautify()}),"keep"===this._options.indent_scripts?o=0:"separate"===this._options.indent_scripts&&(o=-t.indent_level);var u=t.get_full_indent(o);if(r=r.replace(/\n[ \t]*$/,""),"html"!==n.custom_beautifier_name&&"<"===r[0]&&r.match(/^(|]]>)$/.exec(r);if(!c)return void t.add_raw_token(e);a=u+c[1]+"\n",c[5]&&(l=u+c[5]),r=(r=c[4]).replace(/\n[ \t]*$/,""),(c[2]||-1!==c[3].indexOf("\n"))&&(c=c[3].match(/[ \t]+$/))&&(e.whitespace_before=c[0])}if(r)if(s){var h=function(){this.eol="\n"};h.prototype=this._options.raw_options,r=s(u+r,new h)}else{var d=e.whitespace_before;d&&(r=r.replace(new RegExp("\n("+d+")?","g"),"\n")),r=u+r.replace(/\n/g,"\n"+u)}a&&(r=r?a+r+"\n"+l:a+l),t.print_newline(!1),r&&(e.text=r,e.whitespace_before="",e.newlines=0,t.add_raw_token(e),t.print_newline(!0))}},p.prototype._handle_tag_open=function(t,e,n,i){var s=this._get_tag_open_token(e);return!n.is_unformatted&&!n.is_content_unformatted||n.is_empty_element||e.type!==o.TAG_OPEN||0!==e.text.indexOf("")?(t.traverse_whitespace(e),this._set_tag_position(t,e,s,n,i),s.is_inline_element||t.set_wrap_point(),t.print_token(e)):(t.add_raw_token(e),s.start_tag_token=this._tag_stack.try_pop(s.tag_name)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(s.alignment_size=e.text.length+1),!s.tag_complete&&!s.is_unformatted&&(t.alignment_size=s.alignment_size),s};var _=function(t,e){var n;this.parent=t||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",e?(this.tag_start_char=e.text[0],this.text=e.text,"<"===this.tag_start_char?(n=e.text.match(/^<([^\s>]*)/),this.tag_check=n?n[1]:""):(n=e.text.match(/^{{(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=n?n[1]:"","{{#>"===e.text&&">"===this.tag_check&&null!==e.next&&(this.tag_check=e.next.text)),this.tag_check=this.tag_check.toLowerCase(),e.type===o.COMMENT&&(this.tag_complete=!0),this.is_start_tag="/"!==this.tag_check.charAt(0),this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||e.closed&&"/>"===e.closed.text,this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(2)))):this.tag_complete=!0};p.prototype._get_tag_open_token=function(t){var e=new _(this._tag_stack.get_parser_token(),t);return e.alignment_size=this._options.wrap_attributes_indent_size,e.is_end_tag=e.is_end_tag||c(e.tag_check,this._options.void_elements),e.is_empty_element=e.tag_complete||e.is_start_tag&&e.is_end_tag,e.is_unformatted=!e.tag_complete&&c(e.tag_check,this._options.unformatted),e.is_content_unformatted=!e.is_empty_element&&c(e.tag_check,this._options.content_unformatted),e.is_inline_element=c(e.tag_name,this._options.inline)||"{"===e.tag_start_char,e},p.prototype._set_tag_position=function(t,e,n,i,s){if(n.is_empty_element||(n.is_end_tag?n.start_tag_token=this._tag_stack.try_pop(n.tag_name):(this._do_optional_end_element(n)&&(n.is_inline_element||t.print_newline(!1)),this._tag_stack.record_tag(n),("script"===n.tag_name||"style"===n.tag_name)&&!(n.is_unformatted||n.is_content_unformatted)&&(n.custom_beautifier_name=function(t,e){var n=null,i=null;return e.closed?("script"===t?n="text/javascript":"style"===t&&(n="text/css"),(n=function(t){for(var e=null,n=t.next;n.type!==o.EOF&&t.closed!==n;){if(n.type===o.ATTRIBUTE&&"type"===n.text){n.next&&n.next.type===o.EQUALS&&n.next.next&&n.next.next.type===o.VALUE&&(e=n.next.next.text);break}n=n.next}return e}(e)||n).search("text/css")>-1?i="css":n.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?i="javascript":n.search(/(text|application|dojo)\/(x-)?(html)/)>-1?i="html":n.search(/test\/null/)>-1&&(i="null"),i):null}(n.tag_check,e)))),c(n.tag_check,this._options.extra_liners)&&(t.print_newline(!1),t._output.just_added_blankline()||t.print_newline(!0)),n.is_empty_element)"{"===n.tag_start_char&&"else"===n.tag_check&&(this._tag_stack.indent_to_tag(["if","unless","each"]),n.indent_content=!0,t.current_line_has_match(/{{#if/)||t.print_newline(!1)),"!--"===n.tag_name&&s.type===o.TAG_CLOSE&&i.is_end_tag&&-1===n.text.indexOf("\n")||(n.is_inline_element||n.is_unformatted||t.print_newline(!1),this._calcluate_parent_multiline(t,n));else if(n.is_end_tag){var r=!1;r=(r=n.start_tag_token&&n.start_tag_token.multiline_content)||!n.is_inline_element&&!(i.is_inline_element||i.is_unformatted)&&!(s.type===o.TAG_CLOSE&&n.start_tag_token===i)&&"TK_CONTENT"!==s.type,(n.is_content_unformatted||n.is_unformatted)&&(r=!1),r&&t.print_newline(!1)}else n.indent_content=!n.custom_beautifier_name,"<"===n.tag_start_char&&("html"===n.tag_name?n.indent_content=this._options.indent_inner_html:"head"===n.tag_name?n.indent_content=this._options.indent_head_inner_html:"body"===n.tag_name&&(n.indent_content=this._options.indent_body_inner_html)),!(n.is_inline_element||n.is_unformatted)&&("TK_CONTENT"!==s.type||n.is_content_unformatted)&&t.print_newline(!1),this._calcluate_parent_multiline(t,n)},p.prototype._calcluate_parent_multiline=function(t,e){e.parent&&t._output.just_added_newline()&&(!e.is_inline_element&&!e.is_unformatted||!e.parent.is_inline_element)&&(e.parent.multiline_content=!0)};var f=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],g=["a","audio","del","ins","map","noscript","video"];p.prototype._do_optional_end_element=function(t){var e=null;if(!t.is_empty_element&&t.is_start_tag&&t.parent){if("body"===t.tag_name)e=e||this._tag_stack.try_pop("head");else if("li"===t.tag_name)e=e||this._tag_stack.try_pop("li",["ol","ul"]);else if("dd"===t.tag_name||"dt"===t.tag_name)e=(e=e||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]);else if("p"===t.parent.tag_name&&-1!==f.indexOf(t.tag_name)){var n=t.parent.parent;(!n||-1===g.indexOf(n.tag_name))&&(e=e||this._tag_stack.try_pop("p"))}else"rp"===t.tag_name||"rt"===t.tag_name?e=(e=e||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]):"optgroup"===t.tag_name?e=e||this._tag_stack.try_pop("optgroup",["select"]):"option"===t.tag_name?e=e||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===t.tag_name?e=e||this._tag_stack.try_pop("caption",["table"]):"thead"===t.tag_name?e=(e=e||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]):"tbody"===t.tag_name||"tfoot"===t.tag_name?e=(e=(e=(e=e||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("thead",["table"]))||this._tag_stack.try_pop("tbody",["table"]):"tr"===t.tag_name?e=(e=(e=e||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]):("th"===t.tag_name||"td"===t.tag_name)&&(e=(e=e||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]))||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return t.parent=this._tag_stack.get_parser_token(),e}},t.exports.Beautifier=p},function(t,e,n){var i=n(6).Options;function s(t){i.call(this,t,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}s.prototype=new i,t.exports.Options=s},function(t,e,n){var i=n(9).Tokenizer,s=n(9).TOKEN,r=n(13).Directives,o=n(14).TemplatablePattern,a=n(12).Pattern,l={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:s.START,RAW:s.RAW,EOF:s.EOF},u=new r(/<\!--/,/-->/),c=function(t,e){i.call(this,t,e),this._current_tag_name="";var n=new o(this._input).read_options(this._options),s=new a(this._input);if(this.__patterns={word:n.until(/[\n\r\t <]/),single_quote:n.until_after(/'/),double_quote:n.until_after(/"/),attribute:n.until(/[\n\r\t =>]|\/>/),element_name:n.until(/[\n\r\t >\/]/),handlebars_comment:s.starting_with(/{{!--/).until_after(/--}}/),handlebars:s.starting_with(/{{/).until_after(/}}/),handlebars_open:s.until(/[\n\r\t }]/),handlebars_raw_close:s.until(/}}/),comment:s.starting_with(//),cdata:s.starting_with(//),conditional_comment:s.starting_with(//),processing:s.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var r=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=s.matching(r).until_after(r)}};(c.prototype=new i)._is_comment=function(t){return!1},c.prototype._is_opening=function(t){return t.type===l.TAG_OPEN},c.prototype._is_closing=function(t,e){return t.type===l.TAG_CLOSE&&e&&((">"===t.text||"/>"===t.text)&&"<"===e.text[0]||"}}"===t.text&&"{"===e.text[0]&&"{"===e.text[1])},c.prototype._reset=function(){this._current_tag_name=""},c.prototype._get_next_token=function(t,e){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(l.EOF,""):n=(n=(n=(n=(n=(n=(n=(n=(n=n||this._read_open_handlebars(i,e))||this._read_attribute(i,t,e))||this._read_close(i,e))||this._read_raw_content(i,t,e))||this._read_content_word(i))||this._read_comment_or_cdata(i))||this._read_processing(i))||this._read_open(i,e))||this._create_token(l.UNKNOWN,this._input.next())},c.prototype._read_comment_or_cdata=function(t){var e=null,n=null,i=null;return"<"===t&&("!"===this._input.peek(1)&&((n=this.__patterns.comment.read())?(i=u.get_directives(n))&&"start"===i.ignore&&(n+=u.readIgnored(this._input)):n=this.__patterns.cdata.read()),n&&((e=this._create_token(l.COMMENT,n)).directives=i)),e},c.prototype._read_processing=function(t){var e=null,n=null;if("<"===t){var i=this._input.peek(1);("!"===i||"?"===i)&&(n=(n=this.__patterns.conditional_comment.read())||this.__patterns.processing.read()),n&&((e=this._create_token(l.COMMENT,n)).directives=null)}return e},c.prototype._read_open=function(t,e){var n=null,i=null;return e||"<"===t&&(n=this._input.next(),"/"===this._input.peek()&&(n+=this._input.next()),n+=this.__patterns.element_name.read(),i=this._create_token(l.TAG_OPEN,n)),i},c.prototype._read_open_handlebars=function(t,e){var n=null,i=null;return e||this._options.indent_handlebars&&"{"===t&&"{"===this._input.peek(1)&&("!"===this._input.peek(2)?(n=(n=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),i=this._create_token(l.COMMENT,n)):(n=this.__patterns.handlebars_open.read(),i=this._create_token(l.TAG_OPEN,n))),i},c.prototype._read_close=function(t,e){var n=null,i=null;return e&&("<"===e.text[0]&&(">"===t||"/"===t&&">"===this._input.peek(1))?(n=this._input.next(),"/"===t&&(n+=this._input.next()),i=this._create_token(l.TAG_CLOSE,n)):"{"===e.text[0]&&"}"===t&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),i=this._create_token(l.TAG_CLOSE,"}}"))),i},c.prototype._read_attribute=function(t,e,n){var i=null,s="";if(n&&"<"===n.text[0])if("="===t)i=this._create_token(l.EQUALS,this._input.next());else if('"'===t||"'"===t){var r=this._input.next();r+='"'===t?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),i=this._create_token(l.VALUE,r)}else(s=this.__patterns.attribute.read())&&(i=this._create_token(e.type===l.EQUALS?l.VALUE:l.ATTRIBUTE,s));return i},c.prototype._is_content_unformatted=function(t){return-1===this._options.void_elements.indexOf(t)&&(-1!==this._options.content_unformatted.indexOf(t)||-1!==this._options.unformatted.indexOf(t))},c.prototype._read_raw_content=function(t,e,n){var i="";if(n&&"{"===n.text[0])i=this.__patterns.handlebars_raw_close.read();else if(e.type===l.TAG_CLOSE&&"<"===e.opened.text[0]&&"/"!==e.text[0]){var s=e.opened.text.substr(1).toLowerCase();if("script"===s||"style"===s){var r=this._read_comment_or_cdata(t);if(r)return r.type=l.TEXT,r;i=this._input.readUntil(new RegExp(""+s+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(s)&&(i=this._input.readUntil(new RegExp(""+s+"[\\n\\r\\t ]*?>","ig")))}return i?this._create_token(l.TEXT,i):null},c.prototype._read_content_word=function(t){var e="";if(this._options.unformatted_content_delimiter&&t===this._options.unformatted_content_delimiter[0]&&(e=this.__patterns.unformatted_content_delimiter.read()),e||(e=this.__patterns.word.read()),e)return this._create_token(l.TEXT,e)},t.exports.Tokenizer=c,t.exports.TOKEN=l}],e={},n=function n(i){var s=e[i];if(void 0!==s)return s.exports;var r=e[i]={exports:{}};return t[i](r,r.exports,n),r.exports}(18);r=n}();var o=r;i=[n,n(66965),n(60605)],void 0!==(s=(function(t){var e=n(66965),i=n(60605);return{html_beautify:function(t,n){return o(t,n,e.js_beautify,i.css_beautify)}}}).apply(e,i))&&(t.exports=s)}()},66965:function(t,e){var n;!function(){var i;!function(){"use strict";var t=[function(t,e,n){var i=n(1).Beautifier,s=n(5).Options;t.exports=function(t,e){return new i(t,e).beautify()},t.exports.defaultOptions=function(){return new s}},function(t,e,n){var i=n(2).Output,s=n(3).Token,r=n(4),o=n(5).Options,a=n(7).Tokenizer,l=n(7).line_starters,u=n(7).positionable_operators,c=n(7).TOKEN;function h(t,e){return-1!==e.indexOf(t)}function d(t){return t.replace(/^\s+/g,"")}function p(t,e){return t&&t.type===c.RESERVED&&t.text===e}function _(t,e){return t&&t.type===c.RESERVED&&h(t.text,e)}var f=["case","return","do","if","throw","else","await","break","continue","async"],g=function(t){for(var e={},n=0;nn&&(n=t.line_indent_level)),{mode:e,parent:t,last_token:t?t.last_token:new s(c.START_BLOCK,""),last_word:t?t.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,alignment:0,line_indent_level:t?t.line_indent_level:n,start_line_index:this._output.get_line_number(),ternary_depth:0}},x.prototype._reset=function(t){var e=t.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new i(this._options,e),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode("BlockStatement");var n=new a(t,this._options);return this._tokens=n.tokenize(),t},x.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._reset(this._source_text),e=this._options.eol;"auto"===this._options.eol&&(e="\n",t&&r.lineBreak.test(t||"")&&(e=t.match(r.lineBreak)[0]));for(var n=this._tokens.next();n;)this.handle_token(n),this._last_last_text=this._flags.last_token.text,this._flags.last_token=n,n=this._tokens.next();return this._output.get_code(e)},x.prototype.handle_token=function(t,e){t.type===c.START_EXPR?this.handle_start_expr(t):t.type===c.END_EXPR?this.handle_end_expr(t):t.type===c.START_BLOCK?this.handle_start_block(t):t.type===c.END_BLOCK?this.handle_end_block(t):t.type===c.WORD||t.type===c.RESERVED?this.handle_word(t):t.type===c.SEMICOLON?this.handle_semicolon(t):t.type===c.STRING?this.handle_string(t):t.type===c.EQUALS?this.handle_equals(t):t.type===c.OPERATOR?this.handle_operator(t):t.type===c.COMMA?this.handle_comma(t):t.type===c.BLOCK_COMMENT?this.handle_block_comment(t,e):t.type===c.COMMENT?this.handle_comment(t,e):t.type===c.DOT?this.handle_dot(t):t.type===c.EOF?this.handle_eof(t):this.handle_unknown(t,e)},x.prototype.handle_whitespace_and_comments=function(t,e){var n=t.newlines,i=this._options.keep_array_indentation&&b(this._flags.mode);if(t.comments_before)for(var s=t.comments_before.next();s;)this.handle_whitespace_and_comments(s,e),this.handle_token(s,e),s=t.comments_before.next();if(i)for(var r=0;r0,e);else if(this._options.max_preserve_newlines&&n>this._options.max_preserve_newlines&&(n=this._options.max_preserve_newlines),this._options.preserve_newlines&&n>1){this.print_newline(!1,e);for(var o=1;o0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},x.prototype.set_mode=function(t){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,t),this._flags=this.create_flags(this._previous_flags,t),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},x.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),"Statement"===this._previous_flags.mode&&y(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},x.prototype.start_of_object_property=function(){return"ObjectLiteral"===this._flags.parent.mode&&"Statement"===this._flags.mode&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||_(this._flags.last_token,["get","set"]))},x.prototype.start_of_statement=function(t){var e=!1;return!!(e=(e=(e=(e=(e=(e=(e=e||_(this._flags.last_token,["var","let","const"])&&t.type===c.WORD)||p(this._flags.last_token,"do"))||!("ObjectLiteral"===this._flags.parent.mode&&"Statement"===this._flags.mode)&&_(this._flags.last_token,w)&&!t.newlines)||p(this._flags.last_token,"else")&&!(p(t,"if")&&!t.comments_before))||this._flags.last_token.type===c.END_EXPR&&("ForInitializer"===this._previous_flags.mode||"Conditional"===this._previous_flags.mode))||this._flags.last_token.type===c.WORD&&"BlockStatement"===this._flags.mode&&!this._flags.in_case&&!("--"===t.text||"++"===t.text)&&"function"!==this._last_last_text&&t.type!==c.WORD&&t.type!==c.RESERVED)||"ObjectLiteral"===this._flags.mode&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||_(this._flags.last_token,["get","set"])))&&(this.set_mode("Statement"),this.indent(),this.handle_whitespace_and_comments(t,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t,_(t,["do","for","if","while"])),!0)},x.prototype.handle_start_expr=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t);var e="Expression";if("["===t.text){if(this._flags.last_token.type===c.WORD||")"===this._flags.last_token.text)return _(this._flags.last_token,l)&&(this._output.space_before_token=!0),this.print_token(t),this.set_mode(e),this.indent(),void(this._options.space_in_paren&&(this._output.space_before_token=!0));e="ArrayLiteral",b(this._flags.mode)&&("["===this._flags.last_token.text||","===this._flags.last_token.text&&("]"===this._last_last_text||"}"===this._last_last_text))&&(this._options.keep_array_indentation||this.print_newline()),h(this._flags.last_token.type,[c.START_EXPR,c.END_EXPR,c.WORD,c.OPERATOR,c.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===c.RESERVED)"for"===this._flags.last_token.text?(this._output.space_before_token=this._options.space_before_conditional,e="ForInitializer"):h(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,e="Conditional"):h(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:"import"===this._flags.last_token.text&&""===t.whitespace_before?this._output.space_before_token=!1:(h(this._flags.last_token.text,l)||"catch"===this._flags.last_token.text)&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===c.EQUALS||this._flags.last_token.type===c.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t);else if(this._flags.last_token.type===c.WORD){this._output.space_before_token=!1;var n=this._tokens.peek(-3);if(this._options.space_after_named_function&&n){var i=this._tokens.peek(-4);(_(n,["async","function"])||"*"===n.text&&_(i,["async","function"])||"ObjectLiteral"===this._flags.mode&&("{"===n.text||","===n.text||"*"===n.text&&("{"===i.text||","===i.text)))&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(t);(this._flags.last_token.type===c.RESERVED&&("function"===this._flags.last_word||"typeof"===this._flags.last_word)||"*"===this._flags.last_token.text&&(h(this._last_last_text,["function","yield"])||"ObjectLiteral"===this._flags.mode&&h(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}";"===this._flags.last_token.text||this._flags.last_token.type===c.START_BLOCK?this.print_newline():(this._flags.last_token.type===c.END_EXPR||this._flags.last_token.type===c.START_EXPR||this._flags.last_token.type===c.END_BLOCK||"."===this._flags.last_token.text||this._flags.last_token.type===c.COMMA)&&this.allow_wrap_or_preserved_newline(t,t.newlines),this.print_token(t),this.set_mode(e),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},x.prototype.handle_end_expr=function(t){for(;"Statement"===this._flags.mode;)this.restore_mode();this.handle_whitespace_and_comments(t),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(t,"]"===t.text&&b(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type!==c.START_EXPR||this._options.space_in_empty_paren?this._output.space_before_token=!0:(this._output.trim(),this._output.space_before_token=!1)),this.deindent(),this.print_token(t),this.restore_mode(),y(this._output,this._previous_flags),this._flags.do_while&&"Conditional"===this._previous_flags.mode&&(this._previous_flags.mode="Expression",this._flags.do_block=!1,this._flags.do_while=!1)},x.prototype.handle_start_block=function(t){this.handle_whitespace_and_comments(t);var e=this._tokens.peek(),n=this._tokens.peek(1);"switch"===this._flags.last_word&&this._flags.last_token.type===c.END_EXPR?(this.set_mode("BlockStatement"),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode("BlockStatement"):n&&(h(n.text,[":",","])&&h(e.type,[c.STRING,c.WORD,c.RESERVED])||h(e.text,["get","set","..."])&&h(n.type,[c.WORD,c.RESERVED]))?h(this._last_last_text,["class","interface"])?this.set_mode("BlockStatement"):this.set_mode("ObjectLiteral"):this._flags.last_token.type===c.OPERATOR&&"=>"===this._flags.last_token.text?this.set_mode("BlockStatement"):h(this._flags.last_token.type,[c.EQUALS,c.START_EXPR,c.COMMA,c.OPERATOR])||_(this._flags.last_token,["return","throw","import","default"])?this.set_mode("ObjectLiteral"):this.set_mode("BlockStatement");var i=!e.comments_before&&"}"===e.text,s=i&&"function"===this._flags.last_word&&this._flags.last_token.type===c.END_EXPR;if(this._options.brace_preserve_inline){var r=0,o=null;this._flags.inline_frame=!0;do{if((o=this._tokens.peek((r+=1)-1)).newlines){this._flags.inline_frame=!1;break}}while(o.type!==c.EOF&&(o.type!==c.END_BLOCK||o.opened!==t))}("expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==c.OPERATOR&&(s||this._flags.last_token.type===c.EQUALS||_(this._flags.last_token,f)&&"else"!==this._flags.last_token.text)?this._output.space_before_token=!0:this.print_newline(!1,!0):(b(this._previous_flags.mode)&&(this._flags.last_token.type===c.START_EXPR||this._flags.last_token.type===c.COMMA)&&((this._flags.last_token.type===c.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===c.COMMA||this._flags.last_token.type===c.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(t),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==c.OPERATOR&&this._flags.last_token.type!==c.START_EXPR&&(this._flags.last_token.type!==c.START_BLOCK||this._flags.inline_frame?this._output.space_before_token=!0:this.print_newline())),this.print_token(t),this.indent(),!i&&(!this._options.brace_preserve_inline||!this._flags.inline_frame)&&this.print_newline()},x.prototype.handle_end_block=function(t){for(this.handle_whitespace_and_comments(t);"Statement"===this._flags.mode;)this.restore_mode();var e=this._flags.last_token.type===c.START_BLOCK;this._flags.inline_frame&&!e?this._output.space_before_token=!0:"expand"===this._options.brace_style?e||this.print_newline():e||(b(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(t)},x.prototype.handle_word=function(t){if(t.type===c.RESERVED&&(h(t.text,["set","get"])&&"ObjectLiteral"!==this._flags.mode||"import"===t.text&&"("===this._tokens.peek().text||h(t.text,["as","from"])&&!this._flags.import_block||"ObjectLiteral"===this._flags.mode&&":"===this._tokens.peek().text)&&(t.type=c.WORD),this.start_of_statement(t)?_(this._flags.last_token,["var","let","const"])&&t.type===c.WORD&&(this._flags.declaration_statement=!0):!t.newlines||v(this._flags.mode)||this._flags.last_token.type===c.OPERATOR&&"--"!==this._flags.last_token.text&&"++"!==this._flags.last_token.text||this._flags.last_token.type===c.EQUALS||!this._options.preserve_newlines&&_(this._flags.last_token,["var","let","const","set","get"])?this.handle_whitespace_and_comments(t):(this.handle_whitespace_and_comments(t),this.print_newline()),this._flags.do_block&&!this._flags.do_while){if(p(t,"while"))return this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0,void(this._flags.do_while=!0);this.print_newline(),this._flags.do_block=!1}if(this._flags.if_block)if(!this._flags.else_block&&p(t,"else"))this._flags.else_block=!0;else{for(;"Statement"===this._flags.mode;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&_(t,["case","default"]))return this.print_newline(),this._flags.last_token.type!==c.END_BLOCK&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(t),void(this._flags.in_case=!0);if((this._flags.last_token.type===c.COMMA||this._flags.last_token.type===c.START_EXPR||this._flags.last_token.type===c.EQUALS||this._flags.last_token.type===c.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t)),p(t,"function"))return(h(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(h(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===c.OPERATOR))&&!this._output.just_added_blankline()&&!t.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD?_(this._flags.last_token,["get","set","new","export"])||_(this._flags.last_token,w)||p(this._flags.last_token,"default")&&"export"===this._last_last_text||"declare"===this._flags.last_token.text?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===c.OPERATOR||"="===this._flags.last_token.text?this._output.space_before_token=!0:!this._flags.multiline_frame&&(v(this._flags.mode)||b(this._flags.mode))||this.print_newline(),this.print_token(t),void(this._flags.last_word=t.text);var e="NONE";this._flags.last_token.type===c.END_BLOCK?this._previous_flags.inline_frame?e="SPACE":_(t,["else","catch","finally","from"])?"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines?e="NEWLINE":(e="SPACE",this._output.space_before_token=!0):e="NEWLINE":this._flags.last_token.type===c.SEMICOLON&&"BlockStatement"===this._flags.mode?e="NEWLINE":this._flags.last_token.type===c.SEMICOLON&&v(this._flags.mode)?e="SPACE":this._flags.last_token.type===c.STRING?e="NEWLINE":this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD||"*"===this._flags.last_token.text&&(h(this._last_last_text,["function","yield"])||"ObjectLiteral"===this._flags.mode&&h(this._last_last_text,["{",","]))?e="SPACE":this._flags.last_token.type===c.START_BLOCK?e=this._flags.inline_frame?"SPACE":"NEWLINE":this._flags.last_token.type===c.END_EXPR&&(this._output.space_before_token=!0,e="NEWLINE"),_(t,l)&&")"!==this._flags.last_token.text&&(e=this._flags.inline_frame||"else"===this._flags.last_token.text||"export"===this._flags.last_token.text?"SPACE":"NEWLINE"),_(t,["else","catch","finally"])?(this._flags.last_token.type!==c.END_BLOCK||"BlockStatement"!==this._previous_flags.mode||"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame?this.print_newline():(this._output.trim(!0),"}"!==this._output.current_line.last()&&this.print_newline(),this._output.space_before_token=!0):"NEWLINE"===e?_(this._flags.last_token,f)||"declare"===this._flags.last_token.text&&_(t,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==c.END_EXPR?(this._flags.last_token.type!==c.START_EXPR||!_(t,["var","let","const"]))&&":"!==this._flags.last_token.text&&(p(t,"if")&&p(t.previous,"else")?this._output.space_before_token=!0:this.print_newline()):_(t,l)&&")"!==this._flags.last_token.text&&this.print_newline():this._flags.multiline_frame&&b(this._flags.mode)&&","===this._flags.last_token.text&&"}"===this._last_last_text?this.print_newline():"SPACE"===e&&(this._output.space_before_token=!0),t.previous&&(t.previous.type===c.WORD||t.previous.type===c.RESERVED)&&(this._output.space_before_token=!0),this.print_token(t),this._flags.last_word=t.text,t.type===c.RESERVED&&("do"===t.text?this._flags.do_block=!0:"if"===t.text?this._flags.if_block=!0:"import"===t.text?this._flags.import_block=!0:this._flags.import_block&&p(t,"from")&&(this._flags.import_block=!1))},x.prototype.handle_semicolon=function(t){this.start_of_statement(t)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(t);for(var e=this._tokens.peek();!("Statement"!==this._flags.mode||this._flags.if_block&&p(e,"else")||this._flags.do_block);)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(t)},x.prototype.handle_string=function(t){t.text.startsWith("`")&&0===t.newlines&&""===t.whitespace_before&&(")"===t.previous.text||this._flags.last_token.type===c.WORD)||(this.start_of_statement(t)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(t),this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===c.COMMA||this._flags.last_token.type===c.START_EXPR||this._flags.last_token.type===c.EQUALS||this._flags.last_token.type===c.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t):!t.text.startsWith("`")||this._flags.last_token.type!==c.END_EXPR||"]"!==t.previous.text&&")"!==t.previous.text||0!==t.newlines?this.print_newline():this._output.space_before_token=!0)),this.print_token(t)},x.prototype.handle_equals=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0},x.prototype.handle_comma=function(t){this.handle_whitespace_and_comments(t,!0),this.print_token(t),this._output.space_before_token=!0,this._flags.declaration_statement?(v(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)):"ObjectLiteral"===this._flags.mode||"Statement"===this._flags.mode&&"ObjectLiteral"===this._flags.parent.mode?("Statement"===this._flags.mode&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)},x.prototype.handle_operator=function(t){var e="*"===t.text&&(_(this._flags.last_token,["function","yield"])||h(this._flags.last_token.type,[c.START_BLOCK,c.COMMA,c.END_BLOCK,c.SEMICOLON])),n=h(t.text,["-","+"])&&(h(this._flags.last_token.type,[c.START_BLOCK,c.START_EXPR,c.EQUALS,c.OPERATOR])||h(this._flags.last_token.text,l)||","===this._flags.last_token.text);if(this.start_of_statement(t)||this.handle_whitespace_and_comments(t,!e),_(this._flags.last_token,f))return this._output.space_before_token=!0,void this.print_token(t);if("*"!==t.text||this._flags.last_token.type!==c.DOT)if("::"!==t.text){if(this._flags.last_token.type===c.OPERATOR&&h(this._options.operator_position,m)&&this.allow_wrap_or_preserved_newline(t),":"===t.text&&this._flags.in_case)return this.print_token(t),this._flags.in_case=!1,this._flags.case_body=!0,void(this._tokens.peek().type!==c.START_BLOCK?(this.indent(),this.print_newline()):this._output.space_before_token=!0);var i=!0,s=!0,r=!1;if(":"===t.text?0===this._flags.ternary_depth?i=!1:(this._flags.ternary_depth-=1,r=!0):"?"===t.text&&(this._flags.ternary_depth+=1),!n&&!e&&this._options.preserve_newlines&&h(t.text,u)){var o=":"===t.text,a=o&&r,d=o&&!r;switch(this._options.operator_position){case g.before_newline:return this._output.space_before_token=!d,this.print_token(t),(!o||a)&&this.allow_wrap_or_preserved_newline(t),void(this._output.space_before_token=!0);case g.after_newline:return this._output.space_before_token=!0,!o||a?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(t):this._output.space_before_token=!1,this.print_token(t),void(this._output.space_before_token=!0);case g.preserve_newline:return d||this.allow_wrap_or_preserved_newline(t),i=!(this._output.just_added_newline()||d),this._output.space_before_token=i,this.print_token(t),void(this._output.space_before_token=!0)}}if(e){this.allow_wrap_or_preserved_newline(t),i=!1;var p=this._tokens.peek();s=p&&h(p.type,[c.WORD,c.RESERVED])}else"..."===t.text?(this.allow_wrap_or_preserved_newline(t),i=this._flags.last_token.type===c.START_BLOCK,s=!1):(h(t.text,["--","++","!","~"])||n)&&((this._flags.last_token.type===c.COMMA||this._flags.last_token.type===c.START_EXPR)&&this.allow_wrap_or_preserved_newline(t),i=!1,s=!1,t.newlines&&("--"===t.text||"++"===t.text)&&this.print_newline(!1,!0),";"===this._flags.last_token.text&&v(this._flags.mode)&&(i=!0),this._flags.last_token.type===c.RESERVED?i=!0:this._flags.last_token.type===c.END_EXPR?i=!("]"===this._flags.last_token.text&&("--"===t.text||"++"===t.text)):this._flags.last_token.type===c.OPERATOR&&(i=h(t.text,["--","-","++","+"])&&h(this._flags.last_token.text,["--","-","++","+"]),h(t.text,["+","-"])&&h(this._flags.last_token.text,["--","++"])&&(s=!0)),("BlockStatement"===this._flags.mode&&!this._flags.inline_frame||"Statement"===this._flags.mode)&&("{"===this._flags.last_token.text||";"===this._flags.last_token.text)&&this.print_newline());this._output.space_before_token=this._output.space_before_token||i,this.print_token(t),this._output.space_before_token=s}else this.print_token(t);else this.print_token(t)},x.prototype.handle_block_comment=function(t,e){return this._output.raw?(this._output.add_raw_token(t),void(t.directives&&"end"===t.directives.preserve&&(this._output.raw=this._options.test_output_raw))):t.directives?(this.print_newline(!1,e),this.print_token(t),"start"===t.directives.preserve&&(this._output.raw=!0),void this.print_newline(!1,!0)):r.newline.test(t.text)||t.newlines?void this.print_block_commment(t,e):(this._output.space_before_token=!0,this.print_token(t),void(this._output.space_before_token=!0))},x.prototype.print_block_commment=function(t,e){var n,i=function(t){for(var e=[],n=(t=t.replace(r.allLineBreaks,"\n")).indexOf("\n");-1!==n;)e.push(t.substring(0,n)),n=(t=t.substring(n+1)).indexOf("\n");return t.length&&e.push(t),e}(t.text),s=!1,o=!1,a=t.whitespace_before,l=a.length;if(this.print_newline(!1,e),this.print_token_line_indentation(t),this._output.add_token(i[0]),this.print_newline(!1,e),i.length>1){for(s=function(t,e){for(var n=0;n0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}function i(t,i){this.__indent_cache=new n(t,i),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}e.prototype.clone_empty=function(){var t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},e.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1},e.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return 0===this.__items.length},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t},n.prototype.get_indent_size=function(t,e){var n=this.__base_string_length;return t<0&&(n=0),(n+=t*this.__indent_size)+(e||0)},n.prototype.get_indent_string=function(t,e){var n=this.__base_string;return e=e||0,t<0&&(t=0,n=""),this.__ensure_cache(e+=t*this.__indent_size),n+this.__cache[e]},n.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},n.prototype.__add_column=function(){var t=this.__cache.length,e=0,n="";this.__indent_size&&t>=this.__indent_size&&(t-=(e=Math.floor(t/this.__indent_size))*this.__indent_size,n=new Array(e+1).join(this.__indent_string)),t&&(n+=new Array(t+1).join(" ")),this.__cache.push(n)},i.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},i.prototype.get_line_number=function(){return this.__lines.length},i.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},i.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},i.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},i.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline()||(this.raw||this.__add_outputline(),0))},i.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},i.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},i.prototype.set_indent=function(t,e){return this.next_line.set_indent(t=t||0,e=e||0),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)},i.prototype.add_raw_token=function(t){for(var e=0;e1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},i.prototype.just_added_newline=function(){return this.current_line.is_empty()},i.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},i.prototype.ensure_empty_line_above=function(t,n){for(var i=this.__lines.length-2;i>=0;){var s=this.__lines[i];if(s.is_empty())break;if(0!==s.item(0).indexOf(t)&&s.item(-1)!==n){this.__lines.splice(i+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}i--}},t.exports.Output=i},function(t){t.exports.Token=function(t,e,n,i){this.type=t,this.text=e,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}},function(t,e){var n="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",i="(?:\\\\u[0-9a-fA-F]{4}|[\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a"+n+"])";e.identifier=new RegExp(i+"(?:\\\\u[0-9a-fA-F]{4}|[\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f])*","g"),e.identifierStart=new RegExp(i),e.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|[\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a"+n+"\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f])+"),e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp("\r\n|"+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")},function(t,e,n){var i=n(6).Options,s=["before-newline","after-newline","preserve-newline"];function r(t){i.call(this,t,"js");var e=this.raw_options.brace_style||null;"expand-strict"===e?this.raw_options.brace_style="expand":"collapse-preserve-inline"===e?this.raw_options.brace_style="collapse,preserve-inline":void 0!==this.raw_options.braces_on_own_line&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var r=0;r>> === !== << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),m=">>>= ... >>= <<= === >>> !== **= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";m=(m="\\?\\.(?!\\d) "+(m=m.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"))).replace(/ /g,"|");var y,b=new RegExp(m),v="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),x=v.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),w=new RegExp("^(?:"+x.join("|")+")$"),A=function(t,e){s.call(this,t,e),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var n=new l(this._input),i=new u(this._input).read_options(this._options);this.__patterns={template:i,identifier:i.starting_with(a.identifier).matching(a.identifierMatch),number:n.matching(p),punct:n.matching(b),comment:n.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:n.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:n.matching(//),include:n.starting_with(/#include/).until_after(a.lineBreak),shebang:n.starting_with(/#!/).until_after(a.lineBreak),xml:n.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\]|)(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/),single_quote:i.until(/['\\\n\r\u2028\u2029]/),double_quote:i.until(/["\\\n\r\u2028\u2029]/),template_text:i.until(/[`\\$]/),template_expression:i.until(/[`}\\]/)}};(A.prototype=new s)._is_comment=function(t){return t.type===h.COMMENT||t.type===h.BLOCK_COMMENT||t.type===h.UNKNOWN},A.prototype._is_opening=function(t){return t.type===h.START_BLOCK||t.type===h.START_EXPR},A.prototype._is_closing=function(t,e){return(t.type===h.END_BLOCK||t.type===h.END_EXPR)&&e&&("]"===t.text&&"["===e.text||")"===t.text&&"("===e.text||"}"===t.text&&"{"===e.text)},A.prototype._reset=function(){y=!1},A.prototype._get_next_token=function(t,e){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(h.EOF,""):n=(n=(n=(n=(n=(n=(n=(n=(n=n||this._read_non_javascript(i))||this._read_string(i))||this._read_word(t))||this._read_singles(i))||this._read_comment(i))||this._read_regexp(i,t))||this._read_xml(i,t))||this._read_punctuation())||this._create_token(h.UNKNOWN,this._input.next())},A.prototype._read_word=function(t){var e;return""!==(e=this.__patterns.identifier.read())?(e=e.replace(a.allLineBreaks,"\n"),t.type!==h.DOT&&(t.type!==h.RESERVED||"set"!==t.text&&"get"!==t.text)&&w.test(e)?this._create_token("in"===e||"of"===e?h.OPERATOR:h.RESERVED,e):this._create_token(h.WORD,e)):""!==(e=this.__patterns.number.read())?this._create_token(h.WORD,e):void 0},A.prototype._read_singles=function(t){var e=null;return"("===t||"["===t?e=this._create_token(h.START_EXPR,t):")"===t||"]"===t?e=this._create_token(h.END_EXPR,t):"{"===t?e=this._create_token(h.START_BLOCK,t):"}"===t?e=this._create_token(h.END_BLOCK,t):";"===t?e=this._create_token(h.SEMICOLON,t):"."===t&&f.test(this._input.peek(1))?e=this._create_token(h.DOT,t):","===t&&(e=this._create_token(h.COMMA,t)),e&&this._input.next(),e},A.prototype._read_punctuation=function(){var t=this.__patterns.punct.read();if(""!==t)return this._create_token("="===t?h.EQUALS:"?."===t?h.DOT:h.OPERATOR,t)},A.prototype._read_non_javascript=function(t){var e="";if("#"===t){if(this._is_first_token()&&(e=this.__patterns.shebang.read()))return this._create_token(h.UNKNOWN,e.trim()+"\n");if(e=this.__patterns.include.read())return this._create_token(h.UNKNOWN,e.trim()+"\n");t=this._input.next();var n="#";if(this._input.hasNext()&&this._input.testChar(_)){do{n+=t=this._input.next()}while(this._input.hasNext()&&"#"!==t&&"="!==t);return"#"===t||("["===this._input.peek()&&"]"===this._input.peek(1)?(n+="[]",this._input.next(),this._input.next()):"{"===this._input.peek()&&"}"===this._input.peek(1)&&(n+="{}",this._input.next(),this._input.next())),this._create_token(h.WORD,n)}this._input.back()}else if("<"===t&&this._is_first_token()){if(e=this.__patterns.html_comment_start.read()){for(;this._input.hasNext()&&!this._input.testChar(a.newline);)e+=this._input.next();return y=!0,this._create_token(h.COMMENT,e)}}else if(y&&"-"===t&&(e=this.__patterns.html_comment_end.read()))return y=!1,this._create_token(h.COMMENT,e);return null},A.prototype._read_comment=function(t){var e=null;if("/"===t){var n="";if("*"===this._input.peek(1)){n=this.__patterns.block_comment.read();var i=d.get_directives(n);i&&"start"===i.ignore&&(n+=d.readIgnored(this._input)),n=n.replace(a.allLineBreaks,"\n"),(e=this._create_token(h.BLOCK_COMMENT,n)).directives=i}else"/"===this._input.peek(1)&&(n=this.__patterns.comment.read(),e=this._create_token(h.COMMENT,n))}return e},A.prototype._read_string=function(t){if("`"===t||"'"===t||'"'===t){var e=this._input.next();return this.has_char_escapes=!1,e+="`"===t?this._read_string_recursive("`",!0,"${"):this._read_string_recursive(t),this.has_char_escapes&&this._options.unescape_strings&&(e=function(t){for(var e="",n=0,s=new i(t),r=null;s.hasNext();)if((r=s.match(/([\s]|[^\\]|\\\\)+/g))&&(e+=r[0]),"\\"===s.peek()){if(s.next(),"x"===s.peek())r=s.match(/x([0-9A-Fa-f]{2})/g);else{if("u"!==s.peek()){e+="\\",s.hasNext()&&(e+=s.next());continue}r=s.match(/u([0-9A-Fa-f]{4})/g)}if(!r||(n=parseInt(r[1],16))>126&&n<=255&&0===r[0].indexOf("x"))return t;if(n>=0&&n<32){e+="\\"+r[0];continue}e+=34===n||39===n||92===n?"\\"+String.fromCharCode(n):String.fromCharCode(n)}return e}(e)),this._input.peek()===t&&(e+=this._input.next()),e=e.replace(a.allLineBreaks,"\n"),this._create_token(h.STRING,e)}return null},A.prototype._allow_regexp_or_xml=function(t){return t.type===h.RESERVED&&c(t.text,["return","case","throw","else","do","typeof","yield"])||t.type===h.END_EXPR&&")"===t.text&&t.opened.previous.type===h.RESERVED&&c(t.opened.previous.text,["if","while","for"])||c(t.type,[h.COMMENT,h.START_EXPR,h.START_BLOCK,h.START,h.END_BLOCK,h.OPERATOR,h.EQUALS,h.EOF,h.SEMICOLON,h.COMMA])},A.prototype._read_regexp=function(t,e){if("/"===t&&this._allow_regexp_or_xml(e)){for(var n=this._input.next(),i=!1,s=!1;this._input.hasNext()&&(i||s||this._input.peek()!==t)&&!this._input.testChar(a.newline);)n+=this._input.peek(),i?i=!1:(i="\\"===this._input.peek(),"["===this._input.peek()?s=!0:"]"===this._input.peek()&&(s=!1)),this._input.next();return this._input.peek()===t&&(n+=this._input.next(),n+=this._input.read(a.identifier)),this._create_token(h.STRING,n)}return null},A.prototype._read_xml=function(t,e){if(this._options.e4x&&"<"===t&&this._allow_regexp_or_xml(e)){var n="",i=this.__patterns.xml.read_match();if(i){for(var s=i[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),r=0===s.indexOf("{"),o=0;i;){var l=!!i[1],u=i[2];if(!(i[i.length-1]||"![CDATA["===u.slice(0,8))&&(u===s||r&&u.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(l?--o:++o),n+=i[0],o<=0)break;i=this.__patterns.xml.read_match()}return i||(n+=this._input.match(/[\s\S]*/g)[0]),n=n.replace(a.allLineBreaks,"\n"),this._create_token(h.STRING,n)}}return null},A.prototype._read_string_recursive=function(t,e,n){var i,s;"'"===t?s=this.__patterns.single_quote:'"'===t?s=this.__patterns.double_quote:"`"===t?s=this.__patterns.template_text:"}"===t&&(s=this.__patterns.template_expression);for(var r=s.read(),o="";this._input.hasNext();){if((o=this._input.next())===t||!e&&a.newline.test(o)){this._input.back();break}"\\"===o&&this._input.hasNext()?("x"===(i=this._input.peek())||"u"===i?this.has_char_escapes=!0:"\r"===i&&"\n"===this._input.peek(1)&&this._input.next(),o+=this._input.next()):n&&("${"===n&&"$"===o&&"{"===this._input.peek()&&(o+=this._input.next()),n===o&&(o+="`"===t?this._read_string_recursive("}",e,"`"):this._read_string_recursive("`",e,"${"),this._input.hasNext()&&(o+=this._input.next()))),r+=o+=s.read()}return r},t.exports.Tokenizer=A,t.exports.TOKEN=h,t.exports.positionable_operators=g.slice(),t.exports.line_starters=v.slice()},function(t){var e=RegExp.prototype.hasOwnProperty("sticky");function n(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}n.prototype.restart=function(){this.__position=0},n.prototype.back=function(){this.__position>0&&(this.__position-=1)},n.prototype.hasNext=function(){return this.__position=0&&t=0&&e=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=n},function(t,e,n){var i=n(8).InputScanner,s=n(3).Token,r=n(10).TokenStream,o=n(11).WhitespacePattern,a={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},l=function(t,e){this._input=new i(t),this._options=e||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new o(this._input)};l.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var t,e=new s(a.START,""),n=null,i=[],o=new r;e.type!==a.EOF;){for(t=this._get_next_token(e,n);this._is_comment(t);)o.add(t),t=this._get_next_token(e,n);o.isEmpty()||(t.comments_before=o,o=new r),t.parent=n,this._is_opening(t)?(i.push(n),n=t):n&&this._is_closing(t,n)&&(t.opened=n,n.closed=t,n=i.pop(),t.parent=n),t.previous=e,e.next=t,this.__tokens.add(t),e=t}return this.__tokens},l.prototype._is_first_token=function(){return this.__tokens.isEmpty()},l.prototype._reset=function(){},l.prototype._get_next_token=function(t,e){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(a.RAW,n):this._create_token(a.EOF,"")},l.prototype._is_comment=function(t){return!1},l.prototype._is_opening=function(t){return!1},l.prototype._is_closing=function(t,e){return!1},l.prototype._create_token=function(t,e){return new s(t,e,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},l.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},t.exports.Tokenizer=l,t.exports.TOKEN=a},function(t){function e(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return 0===this.__tokens_length},e.prototype.hasNext=function(){return this.__position=0&&t/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/),smarty:n.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:n.starting_with(/{\*/).until_after(/\*}/),smarty_literal:n.starting_with(/{literal}/).until_after(/{\/literal}/)}}(r.prototype=new i)._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(t){var e=this._create();return e._disabled[t]=!0,e._update(),e},r.prototype.read_options=function(t){var e=this._create();for(var n in s)e._disabled[n]=-1===t.templating.indexOf(n);return e._update(),e},r.prototype.exclude=function(t){var e=this._create();return e._excluded[t]=!0,e._update(),e},r.prototype.read=function(){var t="";t=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var e=this._read_template();e;)t+=e+=this._match_pattern?this._input.read(this._match_pattern):this._input.readUntil(this.__template_pattern),e=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t},r.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||t.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+t.join("|")+")")},r.prototype._read_template=function(){var t="",e=this._input.peek();if("<"===e){var n=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&"?"===n&&(t=t||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&"%"===n&&(t=t||this.__patterns.erb.read())}else"{"===e&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(t=(t=(t=t||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(t=t||this.__patterns.django_value.read()),this._excluded.django||(t=(t=t||this.__patterns.django_comment.read())||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(t=(t=(t=t||this.__patterns.smarty_comment.read())||this.__patterns.smarty_literal.read())||this.__patterns.smarty.read()));return t},t.exports.TemplatablePattern=r}],e={},n=function n(i){var s=e[i];if(void 0!==s)return s.exports;var r=e[i]={exports:{}};return t[i](r,r.exports,n),r.exports}(0);i=n}();var s=i;void 0!==(n=(function(){return{js_beautify:s}}).apply(e,[]))&&(t.exports=n)}()},91462:function(t,e,n){t=n.nmd(t);var i="__lodash_hash_undefined__",s=9007199254740991,r="[object Arguments]",o="[object Boolean]",a="[object Date]",l="[object Function]",u="[object GeneratorFunction]",c="[object Map]",h="[object Number]",d="[object Object]",p="[object Promise]",_="[object RegExp]",f="[object Set]",g="[object String]",m="[object Symbol]",y="[object WeakMap]",b="[object ArrayBuffer]",v="[object DataView]",x="[object Float32Array]",w="[object Float64Array]",A="[object Int8Array]",C="[object Int16Array]",k="[object Int32Array]",O="[object Uint8Array]",T="[object Uint8ClampedArray]",E="[object Uint16Array]",Z="[object Uint32Array]",S=/\w*$/,P=/^\[object .+?Constructor\]$/,M=/^(?:0|[1-9]\d*)$/,L={};L[r]=L["[object Array]"]=L[b]=L[v]=L[o]=L[a]=L[x]=L[w]=L[A]=L[C]=L[k]=L[c]=L[h]=L[d]=L[_]=L[f]=L[g]=L[m]=L[O]=L[T]=L[E]=L[Z]=!0,L["[object Error]"]=L[l]=L[y]=!1;var R="object"==typeof global&&global&&global.Object===Object&&global,q="object"==typeof self&&self&&self.Object===Object&&self,U=R||q||Function("return this")(),N=e&&!e.nodeType&&e,I=N&&t&&!t.nodeType&&t,F=I&&I.exports===N;function D(t,e){return t.set(e[0],e[1]),t}function H(t,e){return t.add(e),t}function j(t,e,n,i){var s=-1,r=t?t.length:0;for(i&&r&&(n=t[++s]);++s-1},Tt.prototype.set=function(t,e){var n=this.__data__,i=Pt(n,t);return i<0?n.push([t,e]):n[i][1]=e,this},Et.prototype.clear=function(){this.__data__={hash:new Ot,map:new(_t||Tt),string:new Ot}},Et.prototype.delete=function(t){return qt(this,t).delete(t)},Et.prototype.get=function(t){return qt(this,t).get(t)},Et.prototype.has=function(t){return qt(this,t).has(t)},Et.prototype.set=function(t,e){return qt(this,t).set(t,e),this},Zt.prototype.clear=function(){this.__data__=new Tt},Zt.prototype.delete=function(t){return this.__data__.delete(t)},Zt.prototype.get=function(t){return this.__data__.get(t)},Zt.prototype.has=function(t){return this.__data__.has(t)},Zt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Tt){var i=n.__data__;if(!_t||i.length<199)return i.push([t,e]),this;n=this.__data__=new Et(i)}return n.set(t,e),this};var Nt=ct?B(ct,Object):function(){return[]},It=function(t){return et.call(t)};function Ft(t,e){return!!(e=null==e?s:e)&&("number"==typeof t||M.test(t))&&t>-1&&t%1==0&&t-1&&t%1==0&&t<=s}(t.length)&&!$t(t)}var Bt=ht||function(){return!1};function $t(t){var e=Gt(t)?et.call(t):"";return e==l||e==u}function Gt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Qt(t){return zt(t)?function(t,e){var n=Vt(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&zt(t)}(t)&&tt.call(t,"callee")&&(!lt.call(t,"callee")||et.call(t)==r)}(t)?function(t,e){for(var n=-1,i=Array(t);++n{class t{constructor(t){t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const r=function(t){return t&&t instanceof i.Lv||function(t){return t&&(0,l.m)(t.next)&&(0,l.m)(t.error)&&(0,l.m)(t.complete)}(t)&&(0,s.Nn)(t)}(t)?t:new i.Hp(t,e,n);return(0,u.x)(()=>{const{operator:t,source:e}=this;r.add(t?t.call(r,e):e?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(t){try{return this._subscribe(t)}catch(e){t.error(e)}}forEach(t,e){return new(e=h(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(s){n(s),null==i||i.unsubscribe()}},n,e)})}_subscribe(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)}[r.L](){return this}pipe(...t){return function(t){return 0===t.length?o.y:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}(t)(this)}toPromise(t){return new(t=h(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function h(t){var e;return null!==(e=null!=t?t:a.v.Promise)&&void 0!==e?e:Promise}},4178:function(t,e,n){"use strict";n.d(e,{x:function(){return l}});var i=n(78806),s=n(92989);const r=(0,n(35887).d)(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var o=n(5696),a=n(53158);let l=(()=>{class t extends i.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const e=new u(this,this);return e.operator=t,e}_throwIfClosed(){if(this.closed)throw new r}next(t){(0,a.x)(()=>{if(this._throwIfClosed(),!this.isStopped){const e=this.observers.slice();for(const n of e)n.next(t)}})}error(t){(0,a.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:e}=this;for(;e.length;)e.shift().error(t)}})}complete(){(0,a.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:e,isStopped:n,observers:i}=this;return e||n?s.Lc:(i.push(t),new s.w0(()=>(0,o.P)(i,t)))}_checkFinalizedStatuses(t){const{hasError:e,thrownError:n,isStopped:i}=this;e?t.error(n):i&&t.complete()}asObservable(){const t=new i.y;return t.source=this,t}}return t.create=(t,e)=>new u(t,e),t})();class u extends l{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)}error(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:s.Lc}}},44437:function(t,e,n){"use strict";n.d(e,{Hp:function(){return p},Lv:function(){return d}});var i=n(29534),s=n(92989),r=n(45038),o=n(46952),a=n(84461);const l=u("C",void 0,void 0);function u(t,e,n){return{kind:t,value:e,error:n}}var c=n(75158),h=n(53158);class d extends s.w0{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,(0,s.Nn)(t)&&t.add(this)):this.destination=m}static create(t,e,n){return new p(t,e,n)}next(t){this.isStopped?g(u("N",t,void 0),this):this._next(t)}error(t){this.isStopped?g(u("E",void 0,t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?g(l,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()}}}class p extends d{constructor(t,e,n){let s;if(super(),(0,i.m)(t))s=t;else if(t){let i;({next:s,error:e,complete:n}=t),this&&r.v.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe()):i=t,s=null==s?void 0:s.bind(i),e=null==e?void 0:e.bind(i),n=null==n?void 0:n.bind(i)}this.destination={next:s?_(s):a.Z,error:_(null!=e?e:f),complete:n?_(n):a.Z}}}function _(t,e){return(...e)=>{try{t(...e)}catch(n){r.v.useDeprecatedSynchronousErrorHandling?(0,h.O)(n):(0,o.h)(n)}}}function f(t){throw t}function g(t,e){const{onStoppedNotification:n}=r.v;n&&c.z.setTimeout(()=>n(t,e))}const m={closed:!0,next:a.Z,error:f,complete:a.Z}},92989:function(t,e,n){"use strict";n.d(e,{Lc:function(){return a},w0:function(){return o},Nn:function(){return l}});var i=n(29534);const s=(0,n(35887).d)(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});var r=n(5696);class o{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(const t of r)t.remove(this);else r.remove(this);const{initialTeardown:o}=this;if((0,i.m)(o))try{o()}catch(e){t=e instanceof s?e.errors:[e]}const{_teardowns:a}=this;if(a){this._teardowns=null;for(const e of a)try{u(e)}catch(n){t=null!=t?t:[],n instanceof s?t=[...t,...n.errors]:t.push(n)}}if(t)throw new s(t)}}add(t){var e;if(t&&t!==this)if(this.closed)u(t);else{if(t instanceof o){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(e=this._teardowns)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&(0,r.P)(e,t)}remove(t){const{_teardowns:e}=this;e&&(0,r.P)(e,t),t instanceof o&&t._removeParent(this)}}o.EMPTY=(()=>{const t=new o;return t.closed=!0,t})();const a=o.EMPTY;function l(t){return t instanceof o||t&&"closed"in t&&(0,i.m)(t.remove)&&(0,i.m)(t.add)&&(0,i.m)(t.unsubscribe)}function u(t){(0,i.m)(t)?t():t.unsubscribe()}},45038:function(t,e,n){"use strict";n.d(e,{v:function(){return i}});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},35885:function(t,e,n){"use strict";n.d(e,{z:function(){return o}});var i=n(34486),s=n(28121),r=n(67844);function o(...t){return(0,i.J)(1)((0,r.D)(t,(0,s.yG)(t)))}},66158:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});var i=n(78806),s=n(49237);function r(t){return new i.y(e=>{(0,s.Xf)(t()).subscribe(e)})}},31512:function(t,e,n){"use strict";n.d(e,{E:function(){return i}});const i=new(n(78806).y)(t=>t.complete())},92776:function(t,e,n){"use strict";n.d(e,{D:function(){return c}});var i=n(78806),s=n(89411),r=n(49237),o=n(28121),a=n(56634),l=n(31755),u=n(69966);function c(...t){const e=(0,o.jO)(t),{args:n,keys:c}=(0,s.D)(t),h=new i.y(t=>{const{length:e}=n;if(!e)return void t.complete();const i=new Array(e);let s=e,o=e;for(let l=0;l{e||(e=!0,o--),i[l]=t},()=>s--,void 0,()=>{(!s||!e)&&(o||t.next(c?(0,u.n)(c,i):i),t.complete())}))}});return e?h.pipe((0,l.Z)(e)):h}},67844:function(t,e,n){"use strict";n.d(e,{D:function(){return v}});var i=n(49237),s=n(96285),r=n(36913),o=n(56634);function a(t,e=0){return(0,r.e)((n,i)=>{n.subscribe(new o.Q(i,n=>(0,s.f)(i,t,()=>i.next(n),e),()=>(0,s.f)(i,t,()=>i.complete(),e),n=>(0,s.f)(i,t,()=>i.error(n),e)))})}function l(t,e=0){return(0,r.e)((n,i)=>{i.add(t.schedule(()=>n.subscribe(i),e))})}var u=n(78806),c=n(78757),h=n(29534);function d(t,e){if(!t)throw new Error("Iterable cannot be null");return new u.y(n=>{(0,s.f)(n,e,()=>{const i=t[Symbol.asyncIterator]();(0,s.f)(n,e,()=>{i.next().then(t=>{t.done?n.complete():n.next(t.value)})},0,!0)})})}var p=n(81057),_=n(68907),f=n(40952),g=n(63987),m=n(85111),y=n(65165),b=n(48916);function v(t,e){return e?function(t,e){if(null!=t){if((0,p.c)(t))return function(t,e){return(0,i.Xf)(t).pipe(l(e),a(e))}(t,e);if((0,f.z)(t))return function(t,e){return new u.y(n=>{let i=0;return e.schedule(function(){i===t.length?n.complete():(n.next(t[i++]),n.closed||this.schedule())})})}(t,e);if((0,_.t)(t))return function(t,e){return(0,i.Xf)(t).pipe(l(e),a(e))}(t,e);if((0,m.D)(t))return d(t,e);if((0,g.T)(t))return function(t,e){return new u.y(n=>{let i;return(0,s.f)(n,e,()=>{i=t[c.h](),(0,s.f)(n,e,()=>{let t,e;try{({value:t,done:e}=i.next())}catch(s){return void n.error(s)}e?n.complete():n.next(t)},0,!0)}),()=>(0,h.m)(null==i?void 0:i.return)&&i.return()})}(t,e);if((0,b.L)(t))return function(t,e){return d((0,b.Q)(t),e)}(t,e)}throw(0,y.z)(t)}(t,e):(0,i.Xf)(t)}},49237:function(t,e,n){"use strict";n.d(e,{Xf:function(){return f}});var i=n(86086),s=n(40952),r=n(68907),o=n(78806),a=n(81057),l=n(85111),u=n(65165),c=n(63987),h=n(48916),d=n(29534),p=n(46952),_=n(54532);function f(t){if(t instanceof o.y)return t;if(null!=t){if((0,a.c)(t))return function(t){return new o.y(e=>{const n=t[_.L]();if((0,d.m)(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if((0,s.z)(t))return function(t){return new o.y(e=>{for(let n=0;n{t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,p.h)})}(t);if((0,l.D)(t))return g(t);if((0,c.T)(t))return function(t){return new o.y(e=>{for(const n of t)if(e.next(n),e.closed)return;e.complete()})}(t);if((0,h.L)(t))return function(t){return g((0,h.Q)(t))}(t)}throw(0,u.z)(t)}function g(t){return new o.y(e=>{(function(t,e){var n,s,r,o;return(0,i.mG)(this,void 0,void 0,function*(){try{for(n=(0,i.KL)(t);!(s=yield n.next()).done;)if(e.next(s.value),e.closed)return}catch(a){r={error:a}}finally{try{s&&!s.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}e.complete()})})(t,e).catch(t=>e.error(t))})}},65328:function(t,e,n){"use strict";n.d(e,{T:function(){return l}});var i=n(34486),s=n(49237),r=n(31512),o=n(28121),a=n(67844);function l(...t){const e=(0,o.yG)(t),n=(0,o._6)(t,1/0),l=t;return l.length?1===l.length?(0,s.Xf)(l[0]):(0,i.J)(n)((0,a.D)(l,e)):r.E}},86122:function(t,e,n){"use strict";n.d(e,{of:function(){return r}});var i=n(28121),s=n(67844);function r(...t){const e=(0,i.yG)(t);return(0,s.D)(t,e)}},56634:function(t,e,n){"use strict";n.d(e,{Q:function(){return s}});var i=n(44437);class s extends i.Lv{constructor(t,e,n,i,s){super(t),this.onFinalize=s,this._next=e?function(n){try{e(n)}catch(i){t.error(i)}}:super._next,this._error=i?function(e){try{i(e)}catch(n){t.error(n)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}},48339:function(t,e,n){"use strict";n.d(e,{K:function(){return o}});var i=n(49237),s=n(56634),r=n(36913);function o(t){return(0,r.e)((e,n)=>{let r,a=null,l=!1;a=e.subscribe(new s.Q(n,void 0,void 0,s=>{r=(0,i.Xf)(t(s,o(t)(e))),a?(a.unsubscribe(),a=null,r.subscribe(n)):l=!0})),l&&(a.unsubscribe(),a=null,r.subscribe(n))})}},71158:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(13394),s=n(29534);function r(t,e){return(0,s.m)(e)?(0,i.z)(t,e,1):(0,i.z)(t,1)}},71855:function(t,e,n){"use strict";n.d(e,{h:function(){return r}});var i=n(36913),s=n(56634);function r(t,e){return(0,i.e)((n,i)=>{let r=0;n.subscribe(new s.Q(i,n=>t.call(e,n,r++)&&i.next(n)))})}},83034:function(t,e,n){"use strict";n.d(e,{U:function(){return r}});var i=n(36913),s=n(56634);function r(t,e){return(0,i.e)((n,i)=>{let r=0;n.subscribe(new s.Q(i,n=>{i.next(t.call(e,n,r++))}))})}},34486:function(t,e,n){"use strict";n.d(e,{J:function(){return r}});var i=n(13394),s=n(9018);function r(t=1/0){return(0,i.z)(s.y,t)}},13394:function(t,e,n){"use strict";n.d(e,{z:function(){return l}});var i=n(83034),s=n(49237),r=n(36913),o=(n(96285),n(56634)),a=n(29534);function l(t,e,n=1/0){return(0,a.m)(e)?l((n,r)=>(0,i.U)((t,i)=>e(n,t,r,i))((0,s.Xf)(t(n,r))),n):("number"==typeof e&&(n=e),(0,r.e)((e,i)=>function(t,e,n,i,r,a,l,u){const c=[];let h=0,d=0,p=!1;const _=()=>{p&&!c.length&&!h&&e.complete()},f=t=>h{h++;let r=!1;(0,s.Xf)(n(t,d++)).subscribe(new o.Q(e,t=>{e.next(t)},()=>{r=!0},void 0,()=>{if(r)try{for(h--;c.length&&h{p=!0,_()})),()=>{}}(e,i,t,n)))}},69135:function(t,e,n){"use strict";n.d(e,{B:function(){return l}});var i=n(67844),s=n(15218),r=n(4178),o=n(44437),a=n(36913);function l(t={}){const{connector:e=(()=>new r.x),resetOnError:n=!0,resetOnComplete:s=!0,resetOnRefCountZero:l=!0}=t;return t=>{let r=null,c=null,h=null,d=0,p=!1,_=!1;const f=()=>{null==c||c.unsubscribe(),c=null},g=()=>{f(),r=h=null,p=_=!1},m=()=>{const t=r;g(),null==t||t.unsubscribe()};return(0,a.e)((t,a)=>{d++,!_&&!p&&f();const y=h=null!=h?h:e();a.add(()=>{d--,0===d&&!_&&!p&&(c=u(m,l))}),y.subscribe(a),r||(r=new o.Hp({next:t=>y.next(t),error:t=>{_=!0,f(),c=u(g,n,t),y.error(t)},complete:()=>{p=!0,f(),c=u(g,s),y.complete()}}),(0,i.D)(t).subscribe(r))})(t)}}function u(t,e,...n){return!0===e?(t(),null):!1===e?null:e(...n).pipe((0,s.q)(1)).subscribe(()=>t())}},24907:function(t,e,n){"use strict";n.d(e,{w:function(){return o}});var i=n(49237),s=n(36913),r=n(56634);function o(t,e){return(0,s.e)((n,s)=>{let o=null,a=0,l=!1;const u=()=>l&&!o&&s.complete();n.subscribe(new r.Q(s,n=>{null==o||o.unsubscribe();let l=0;const c=a++;(0,i.Xf)(t(n,c)).subscribe(o=new r.Q(s,t=>s.next(e?e(n,t,c,l++):t),()=>{o=null,u()}))},()=>{l=!0,u()}))})}},15218:function(t,e,n){"use strict";n.d(e,{q:function(){return o}});var i=n(31512),s=n(36913),r=n(56634);function o(t){return t<=0?()=>i.E:(0,s.e)((e,n)=>{let i=0;e.subscribe(new r.Q(n,e=>{++i<=t&&(n.next(e),t<=i&&n.complete())}))})}},15524:function(t,e,n){"use strict";n.d(e,{R:function(){return a}});var i=n(36913),s=n(56634),r=n(49237),o=n(84461);function a(t){return(0,i.e)((e,n)=>{(0,r.Xf)(t).subscribe(new s.Q(n,()=>n.complete(),o.Z)),!n.closed&&e.subscribe(n)})}},73786:function(t,e,n){"use strict";n.d(e,{b:function(){return a}});var i=n(29534),s=n(36913),r=n(56634),o=n(9018);function a(t,e,n){const a=(0,i.m)(t)||e||n?{next:t,error:e,complete:n}:t;return a?(0,s.e)((t,e)=>{var n;null===(n=a.subscribe)||void 0===n||n.call(a);let i=!0;t.subscribe(new r.Q(e,t=>{var n;null===(n=a.next)||void 0===n||n.call(a,t),e.next(t)},()=>{var t;i=!1,null===(t=a.complete)||void 0===t||t.call(a),e.complete()},t=>{var n;i=!1,null===(n=a.error)||void 0===n||n.call(a,t),e.error(t)},()=>{var t,e;i&&(null===(t=a.unsubscribe)||void 0===t||t.call(a)),null===(e=a.finalize)||void 0===e||e.call(a)}))}):o.y}},48090:function(t,e,n){"use strict";n.d(e,{l:function(){return i}});const i={now:()=>(i.delegate||Date).now(),delegate:void 0}},75158:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});const i={setTimeout(...t){const{delegate:e}=i;return((null==e?void 0:e.setTimeout)||setTimeout)(...t)},clearTimeout(t){const{delegate:e}=i;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0}},78757:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});const i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},54532:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},28121:function(t,e,n){"use strict";n.d(e,{_6:function(){return a},jO:function(){return r},yG:function(){return o}});var i=n(29534);function s(t){return t[t.length-1]}function r(t){return(0,i.m)(s(t))?t.pop():void 0}function o(t){return function(t){return t&&(0,i.m)(t.schedule)}(s(t))?t.pop():void 0}function a(t,e){return"number"==typeof s(t)?t.pop():e}},89411:function(t,e,n){"use strict";n.d(e,{D:function(){return a}});const{isArray:i}=Array,{getPrototypeOf:s,prototype:r,keys:o}=Object;function a(t){if(1===t.length){const e=t[0];if(i(e))return{args:e,keys:null};if(function(t){return t&&"object"==typeof t&&s(t)===r}(e)){const t=o(e);return{args:t.map(t=>e[t]),keys:t}}}return{args:t,keys:null}}},5696:function(t,e,n){"use strict";function i(t,e){if(t){const n=t.indexOf(e);0<=n&&t.splice(n,1)}}n.d(e,{P:function(){return i}})},35887:function(t,e,n){"use strict";function i(t){const e=t(t=>{Error.call(t),t.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}n.d(e,{d:function(){return i}})},69966:function(t,e,n){"use strict";function i(t,e){return t.reduce((t,n,i)=>(t[n]=e[i],t),{})}n.d(e,{n:function(){return i}})},53158:function(t,e,n){"use strict";n.d(e,{x:function(){return r},O:function(){return o}});var i=n(45038);let s=null;function r(t){if(i.v.useDeprecatedSynchronousErrorHandling){const e=!s;if(e&&(s={errorThrown:!1,error:null}),t(),e){const{errorThrown:t,error:e}=s;if(s=null,t)throw e}}else t()}function o(t){i.v.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=t)}},96285:function(t,e,n){"use strict";function i(t,e,n,i=0,s=!1){const r=e.schedule(function(){n(),s?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(r),!s)return r}n.d(e,{f:function(){return i}})},9018:function(t,e,n){"use strict";function i(t){return t}n.d(e,{y:function(){return i}})},40952:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},85111:function(t,e,n){"use strict";n.d(e,{D:function(){return s}});var i=n(29534);function s(t){return Symbol.asyncIterator&&(0,i.m)(null==t?void 0:t[Symbol.asyncIterator])}},29534:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,{m:function(){return i}})},81057:function(t,e,n){"use strict";n.d(e,{c:function(){return r}});var i=n(54532),s=n(29534);function r(t){return(0,s.m)(t[i.L])}},63987:function(t,e,n){"use strict";n.d(e,{T:function(){return r}});var i=n(78757),s=n(29534);function r(t){return(0,s.m)(null==t?void 0:t[i.h])}},68907:function(t,e,n){"use strict";n.d(e,{t:function(){return s}});var i=n(29534);function s(t){return(0,i.m)(null==t?void 0:t.then)}},48916:function(t,e,n){"use strict";n.d(e,{Q:function(){return r},L:function(){return o}});var i=n(86086),s=n(29534);function r(t){return(0,i.FC)(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:t,done:n}=yield(0,i.qq)(e.read());if(n)return yield(0,i.qq)(void 0);yield yield(0,i.qq)(t)}}finally{e.releaseLock()}})}function o(t){return(0,s.m)(null==t?void 0:t.getReader)}},36913:function(t,e,n){"use strict";n.d(e,{A:function(){return s},e:function(){return r}});var i=n(29534);function s(t){return(0,i.m)(null==t?void 0:t.lift)}function r(t){return e=>{if(s(e))return e.lift(function(e){try{return t(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}},31755:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var i=n(83034);const{isArray:s}=Array;function r(t){return(0,i.U)(e=>function(t,e){return s(e)?t(...e):t(e)}(t,e))}},84461:function(t,e,n){"use strict";function i(){}n.d(e,{Z:function(){return i}})},46952:function(t,e,n){"use strict";n.d(e,{h:function(){return r}});var i=n(45038),s=n(75158);function r(t){s.z.setTimeout(()=>{const{onUnhandledError:e}=i.v;if(!e)throw t;e(t)})}},65165:function(t,e,n){"use strict";function i(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}n.d(e,{z:function(){return i}})},30332:function(t,e,n){"use strict";n.r(e),n.d(e,{EvaluationModule:function(){return Wt}});var i=n(16274),s=n(1753),r=n(93324),o=n(96267),a=n(42741);const l=["canvas"],u=["rLabel"],c=["reading"];function h(t,e){1&t&&a.Hsn(0,0,["*ngSwitchCase","true"])}function d(t,e){if(1&t&&(a.ynx(0),a._uU(1),a.BQk()),2&t){const t=a.oxw();a.xp6(1),a.Oqu(t.prepend)}}function p(t,e){1&t&&a.Hsn(0,1,["*ngSwitchCase","true"])}function _(t,e){if(1&t&&(a.ynx(0),a._uU(1),a.ALo(2,"number"),a.BQk()),2&t){const t=a.oxw();a.xp6(1),a.Oqu(a.lcZ(2,1,t.value))}}function f(t,e){1&t&&a.Hsn(0,2,["*ngSwitchCase","true"])}function g(t,e){if(1&t&&(a.ynx(0),a._uU(1),a.BQk()),2&t){const t=a.oxw();a.xp6(1),a.Oqu(t.append)}}function m(t,e){1&t&&a.Hsn(0,3,["*ngSwitchCase","true"])}function y(t,e){if(1&t&&(a.ynx(0),a._uU(1),a.BQk()),2&t){const t=a.oxw();a.xp6(1),a.Oqu(t.label)}}const b=[[["ngx-gauge-prepend"]],[["ngx-gauge-value"]],[["ngx-gauge-append"]],[["ngx-gauge-label"]]],v=["ngx-gauge-prepend","ngx-gauge-value","ngx-gauge-append","ngx-gauge-label"];function x(t,e=0){return isNaN(parseFloat(t))||isNaN(Number(t))?e:Number(t)}function w(t){return`${t}px`}let A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["ngx-gauge-append"]],exportAs:["ngxGaugeAppend"]}),t})(),C=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["ngx-gauge-prepend"]],exportAs:["ngxGaugePrepend"]}),t})(),k=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["ngx-gauge-value"]],exportAs:["ngxGaugeValue"]}),t})(),O=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["ngx-gauge-label"]],exportAs:["ngxGaugeLabel"]}),t})();let T=(()=>{class t{constructor(t,e){this._elementRef=t,this._renderer=e,this._size=200,this._min=0,this._max=100,this._animate=!0,this._initialized=!1,this._animationRequestID=0,this.ariaLabel="",this.ariaLabelledby=null,this.type="arch",this.cap="butt",this.thick=4,this.foregroundColor="rgba(0, 150, 136, 1)",this.backgroundColor="rgba(0, 0, 0, 0.1)",this.thresholds=Object.create(null),this._value=0,this.duration=1200}get size(){return this._size}set size(t){this._size=x(t)}get min(){return this._min}set min(t){this._min=x(t,0)}get animate(){return this._animate}set animate(t){this._animate=function(t){return null!=t&&"false"!=`${t}`}(t)}get max(){return this._max}set max(t){this._max=x(t,100)}get value(){return this._value}set value(t){this._value=x(t)}ngOnChanges(t){const e=t.thick||t.type||t.cap||t.size;if(this._initialized){if(t.value||t.min||t.max){let e,n;t.value&&(e=t.value.currentValue,n=t.value.previousValue),this._update(e,n)}e&&(this._destroy(),this._init())}}_updateSize(){this._renderer.setStyle(this._elementRef.nativeElement,"width",w(this._getWidth())),this._renderer.setStyle(this._elementRef.nativeElement,"height",w(this._getCanvasHeight())),this._canvas.nativeElement.width=this._getWidth(),this._canvas.nativeElement.height=this._getCanvasHeight(),this._renderer.setStyle(this._label.nativeElement,"transform","translateY("+(this.size/3*2-this.size/13/4)+"px)"),this._renderer.setStyle(this._reading.nativeElement,"transform","translateY("+(this.size/2-.22*this.size/2)+"px)")}ngAfterViewInit(){this._canvas&&this._init()}ngOnDestroy(){this._destroy()}_getBounds(t){let e,n;return"semi"==t?(e=Math.PI,n=2*Math.PI):"full"==t?(e=1.5*Math.PI,n=3.5*Math.PI):"arch"===t&&(e=.8*Math.PI,n=2.2*Math.PI),{head:e,tail:n}}_drawShell(t,e,n,i){let s=this._getCenter(),r=this._getRadius();e=Math.max(e,t),e=Math.min(e,n),this._initialized&&(this._clear(),this._context.beginPath(),this._context.strokeStyle=this.backgroundColor,this._context.arc(s.x,s.y,r,e,n,!1),this._context.stroke(),this._context.beginPath(),this._context.strokeStyle=i,this._context.arc(s.x,s.y,r,t,e,!1),this._context.stroke())}_clear(){this._context.clearRect(0,0,this._getWidth(),this._getHeight())}_getWidth(){return this.size}_getHeight(){return this.size}_getCanvasHeight(){return"arch"==this.type||"semi"==this.type?.85*this._getHeight():this._getHeight()}_getRadius(){return this._getCenter().x-this.thick}_getCenter(){return{x:this._getWidth()/2,y:this._getHeight()/2}}_init(){this._context=this._canvas.nativeElement.getContext("2d"),this._initialized=!0,this._updateSize(),this._setupStyles(),this._create()}_destroy(){this._animationRequestID&&(window.cancelAnimationFrame(this._animationRequestID),this._animationRequestID=0),this._clear(),this._context=null,this._initialized=!1}_setupStyles(){this._context.lineCap=this.cap,this._context.lineWidth=this.thick}_getForegroundColorByRange(t){const e=Object.keys(this.thresholds).filter(function(e){return function(t){return null!=t&&!isNaN(parseFloat(t))&&!isNaN(Number(t))}(e)&&Number(e)<=t}).sort((t,e)=>Number(t)-Number(e)).reverse()[0];return void 0!==e&&this.thresholds[e].color||this.foregroundColor}_create(t,e){let n,i=this,s=this._getBounds(this.type),r=this.duration,o=this.min,a=this.max,l=function(t,e,n){return Math.max(e,Math.min(n,t))}(this.value,this.min,this.max),u=s.head,c=(s.tail-s.head)/(a-o),h=c*(l-o),d=s.tail,p=this._getForegroundColorByRange(l);function _(t){let s=(t=t||(new Date).getTime())-n,a=Math.min(s/r,1);i._drawShell(u,u+(e?(e-o)*c:0)+h*a,d,p),i._animationRequestID&&s_(t)):window.cancelAnimationFrame(i._animationRequestID)}i._animationRequestID&&window.cancelAnimationFrame(i._animationRequestID),this._animate?(null!=t&&null!=e&&(h=c*t-c*e),i._animationRequestID=window.requestAnimationFrame(t=>{n=t||(new Date).getTime(),_(n)})):i._drawShell(u,u+h,d,p)}_update(t,e){this._clear(),this._create(t,e)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.Qsj))},t.\u0275cmp=a.Xpm({type:t,selectors:[["ngx-gauge"]],contentQueries:function(t,e,n){if(1&t&&(a.Suo(n,O,5),a.Suo(n,C,5),a.Suo(n,A,5),a.Suo(n,k,5)),2&t){let t;a.iGM(t=a.CRH())&&(e._labelChild=t.first),a.iGM(t=a.CRH())&&(e._prependChild=t.first),a.iGM(t=a.CRH())&&(e._appendChild=t.first),a.iGM(t=a.CRH())&&(e._valueDisplayChild=t.first)}},viewQuery:function(t,e){if(1&t&&(a.Gf(l,7),a.Gf(u,7),a.Gf(c,7)),2&t){let t;a.iGM(t=a.CRH())&&(e._canvas=t.first),a.iGM(t=a.CRH())&&(e._label=t.first),a.iGM(t=a.CRH())&&(e._reading=t.first)}},hostAttrs:["role","slider","aria-readonly","true"],hostVars:7,hostBindings:function(t,e){2&t&&(a.uIk("aria-valuemin",e.min)("aria-valuemax",e.max)("aria-valuenow",e.value)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),a.ekj("ngx-gauge-meter",!0))},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],size:"size",min:"min",animate:"animate",max:"max",type:"type",cap:"cap",thick:"thick",label:"label",append:"append",prepend:"prepend",foregroundColor:"foregroundColor",backgroundColor:"backgroundColor",thresholds:"thresholds",value:"value",duration:"duration"},features:[a.TTD],ngContentSelectors:v,decls:17,vars:16,consts:[[1,"reading-block"],["reading",""],[1,"reading-affix",3,"ngSwitch"],[4,"ngSwitchCase"],[3,"ngSwitch"],[1,"reading-label",3,"ngSwitch"],["rLabel",""],["canvas",""]],template:function(t,e){1&t&&(a.F$t(b),a.TgZ(0,"div",0,1),a.TgZ(2,"u",2),a.YNc(3,h,1,0,"ng-content",3),a.YNc(4,d,2,1,"ng-container",3),a.qZA(),a.ynx(5,4),a.YNc(6,p,1,0,"ng-content",3),a.YNc(7,_,3,3,"ng-container",3),a.BQk(),a.TgZ(8,"u",2),a.YNc(9,f,1,0,"ng-content",3),a.YNc(10,g,2,1,"ng-container",3),a.qZA(),a.qZA(),a.TgZ(11,"div",5,6),a.YNc(13,m,1,0,"ng-content",3),a.YNc(14,y,2,1,"ng-container",3),a.qZA(),a._UZ(15,"canvas",null,7)),2&t&&(a.Udp("font-size",.22*e.size+"px"),a.xp6(2),a.Q6J("ngSwitch",null!=e._prependChild),a.xp6(1),a.Q6J("ngSwitchCase",!0),a.xp6(1),a.Q6J("ngSwitchCase",!1),a.xp6(1),a.Q6J("ngSwitch",null!=e._valueDisplayChild),a.xp6(1),a.Q6J("ngSwitchCase",!0),a.xp6(1),a.Q6J("ngSwitchCase",!1),a.xp6(1),a.Q6J("ngSwitch",null!=e._appendChild),a.xp6(1),a.Q6J("ngSwitchCase",!0),a.xp6(1),a.Q6J("ngSwitchCase",!1),a.xp6(1),a.Udp("font-size",e.size/13+"px"),a.Q6J("ngSwitch",null!=e._labelChild),a.xp6(2),a.Q6J("ngSwitchCase",!0),a.xp6(1),a.Q6J("ngSwitchCase",!1))},directives:[i.RF,i.n9],pipes:[i.JJ],styles:[".ngx-gauge-meter{display:inline-block;text-align:center;position:relative}.reading-block,.reading-label{position:absolute;width:100%;font-weight:400;white-space:nowrap;text-align:center;overflow:hidden;text-overflow:ellipsis}.reading-label{font-family:inherit;display:inline-block}.reading-affix{text-decoration:none;font-size:.6em;opacity:.8;font-weight:200;padding:0 .18em}.reading-affix:first-child{padding-left:0}.reading-affix:last-child{padding-right:0}"],encapsulation:2}),t})(),E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[i.ez]]}),t})();var Z=n(88813);var S=n(86122),P=n(83034),M=n(48339),L=n(66565),R=n(91462),q=n.n(R),U={img_01a:{type:"fals",elem:"img",test:"imgAltNo",score:10,level:"a",trust:"0.9",ref:"H37",scs:"1.1.1",dis:"53322"},img_01b:{type:"prop",elem:"img",test:"imgAltNo",score:3,level:"A",trust:"1",ref:"F65",scs:"1.1.1",dis:"53322"},img_02:{type:"prop",elem:"img",test:"imgAltNull",score:8,level:"a",trust:"1",ref:"C9",scs:"1.1.1",dis:"41111"},img_03:{type:"decr",elem:"img",test:"imgAltNot",score:3,level:"A",trust:"1",top:1,steps:1,ref:"F30",scs:"1.1.1,1.2.1",dis:"53211"},img_04:{type:"prop",elem:"img",test:"imgAltLong",score:5,level:"a",trust:"0.9",ref:"H45",scs:"1.1.1",dis:"54153"},long_01:{type:"prop",elem:"longDImg",test:"longDNo",score:3,level:"A",trust:"1",ref:"H45",scs:"1.1.1",dis:"54153"},area_01a:{type:"fals",elem:"area",test:"areaAltNo",score:10,level:"a",trust:"0.9",ref:"H24",scs:"1.1.1,2.4.4,2.4.9",dis:"54222"},area_01b:{type:"prop",elem:"area",test:"areaAltNo",score:3,level:"A",trust:"1",ref:"F65",scs:"1.1.1",dis:"53322"},inp_img_01a:{type:"fals",elem:"inpImg",test:"inpImgAltNo",score:10,level:"a",trust:"0.9",ref:"H36",scs:"1.1.1",dis:"54211"},inp_img_01b:{type:"prop",elem:"inpImg",test:"inpImgAltNo",score:3,level:"A",trust:"1",ref:"F65",scs:"1.1.1",dis:"53322"},applet_01:{type:"prop",elem:"applet",test:"appletAltNo",score:3,level:"A",trust:"1",ref:"H35",scs:"1.1.1",dis:"53142"},a_04:{type:"fals",elem:"all",test:"a",score:3,level:"AA",trust:"1",ref:"G125",scs:"2.4.5",dis:"54353"},a_03:{type:"decr",elem:"a",test:"aImgAltNo",score:3,level:"A",trust:"1",top:1,steps:1,ref:"F89",scs:"2.4.4,2.4.9,4.1.2",dis:"53322"},a_05:{type:"prop",elem:"a",test:"aTitleMatch",score:5,level:"a",trust:"1",ref:"H33",scs:"2.4.4,2.4.9",dis:"52132"},a_09:{type:"decr",elem:"a",test:"aSameText",score:3,level:"AAA",trust:"1",top:1,steps:1,ref:"F84",scs:"2.4.9",dis:"52122"},a_06:{type:"decr",elem:"a",test:"aAdjacentSame",score:5,level:"A",trust:"1",top:1,steps:1,ref:"H2",scs:"1.1.1,2.4.4,2.4.9",dis:"54353"},akey_01:{type:"true",elem:"all",test:"acckeyRep",score:4,level:"A",trust:"1",ref:"F17",scs:"1.3.1,4.1.1",dis:"44151"},a_01a:{type:"true",elem:"a",test:"aSkipFirst",score:10,level:"a",trust:"0.7",ref:"G1",scs:"2.4.1",dis:"43522"},a_01b:{type:"fals",elem:"a",test:"aSkipFirst",score:3,level:"a",trust:"0.9",ref:"G1",scs:"2.4.1",dis:"43522"},a_02a:{type:"fals",elem:"a",test:"aSkip",score:3,level:"a",trust:"0.9",ref:"G123",scs:"2.4.1",dis:"43522"},a_02b:{type:"true",elem:"a",test:"aSkip",score:10,level:"a",trust:"0.7",ref:"G123",scs:"2.4.1",dis:"43522"},hx_01a:{type:"fals",elem:"all",test:"hx",score:3,level:"A",trust:"1",ref:"H42",scs:"1.3.1",dis:"54322"},hx_01b:{type:"true",elem:"all",test:"hx",score:10,level:"aaa",trust:"0.9",ref:"G141",scs:"1.3.1,2.4.10",dis:"54343"},hx_01c:{type:"fals",elem:"hx",test:"h1",score:4,level:"aaa",trust:"1",ref:"G141",scs:"1.3.1,2.4.10",dis:"54343"},hx_03:{type:"prop",elem:"hx",test:"hxSkip",score:3,level:"AAA",trust:"1",ref:"G141",scs:"1.3.1,2.4.10",dis:"54343"},hx_02:{type:"true",elem:"hx",test:"hxNo",score:3,level:"AA",trust:"1",ref:"G130",scs:"2.4.6",dis:"54253"},a_07:{type:"decr",elem:"a",test:"aGroupNo",score:5,level:"A",trust:"1",top:1,steps:1,ref:"H50",scs:"2.4.1",dis:"54253"},list_01:{type:"decr",elem:"all",test:"liNoList",score:3,level:"A",trust:"1",top:3,steps:3,ref:"H48",scs:"1.3.1",dis:"53342"},br_01:{type:"decr",elem:"all",test:"brSec",score:3,level:"a",trust:"0.7",top:1,steps:1,ref:"H48",scs:"1.3.1",dis:"53342"},field_02:{type:"decr",elem:"all",test:"fieldNoForm",score:3,level:"A",trust:"0.9",top:1,steps:1,ref:"H71",scs:"1.3.1,3.3.2",dis:"54152"},field_01:{type:"true",elem:"all",test:"fieldLegNo",score:4,level:"A",trust:"1",ref:"H71",scs:"1.3.1,3.3.2",dis:"54152"},label_03:{type:"prop",elem:"label",test:"labelTextNo",score:3,level:"A",trust:"1",ref:"F68",scs:"1.3.1,4.1.2",dis:"52523"},label_01:{type:"prop",elem:"label",test:"labelForNo",score:3,level:"A",trust:"1",ref:"F68",scs:"1.3.1,4.1.2",dis:"52523"},label_02:{type:"decr",elem:"all",test:"labelPosNo",score:3,level:"A",trust:"0.9",top:1,steps:1,ref:"G162",scs:"1.3.1,3.3.2",dis:"43353"},input_02b:{type:"fals",elem:"inputLabel",test:"inputLabelNo",score:10,level:"a",trust:"0.7",ref:"H44",scs:"1.1.1,1.3.1,3.3.2,4.1.2",dis:"54532"},input_02:{type:"prop",elem:"label",test:"inputLabelNo",score:3,level:"a",trust:"0.8",ref:"H44",scs:"1.1.1,1.3.1,3.3.2,4.1.2",dis:"54532"},input_01:{type:"prop",elem:"inputLabel",test:"inputIdTitleNo",score:3,level:"A",trust:"1",ref:"H65",scs:"1.1.1,1.3.1,3.3.2,4.1.2",dis:"53122"},focus_01:{type:"true",elem:"all",test:"focusBlur",score:3,level:"a",trust:"0.8",ref:"F55",scs:"2.1.1,2.4.7,3.2.1",dis:"54142"},input_03:{type:"true",elem:"all",test:"inputAltNo",score:5,level:"a",trust:"1",ref:"H36",scs:"1.1.1",dis:"54211"},form_01a:{type:"fals",elem:"form",test:"formSubmitNo",score:10,level:"a",trust:"1",ref:"H32",scs:"3.2.2",dis:"21211"},form_01b:{type:"prop",elem:"form",test:"formSubmitNo",score:3,level:"A",trust:"0.9",ref:"H32",scs:"3.2.2",dis:"21211"},table_02:{type:"prop",elem:"tableData",test:"tableDataCaption",score:3,level:"A",trust:"1",ref:"H39",scs:"1.3.1",dis:"52211"},table_03:{type:"prop",elem:"table",test:"tableCaptionSummary",score:4,level:"A",trust:"1",ref:"H73",scs:"1.3.1",dis:"33152"},table_01:{type:"prop",elem:"tableLayout",test:"tableLayoutCaption",score:3,level:"A",trust:"1",ref:"F46",scs:"1.3.1",dis:"51421"},table_06:{type:"decr",elem:"tableComplex",test:"tableComplexError",score:4,level:"a",trust:"0.8",top:1,steps:1,ref:"H43",scs:"1.3.1",dis:"53211"},scope_01:{type:"decr",elem:"table",test:"scopeNo",score:3,level:"A",trust:"1",top:1,steps:1,ref:"H63",scs:"1.3.1",dis:"53353"},table_05a:{type:"decr",elem:"all",test:"tableLayout",score:4,level:"a",trust:"1",top:1,steps:1,ref:"H51",scs:"1.3.1",dis:"53352"},table_04:{type:"prop",elem:"table",test:"tableNested",score:3,level:"a",trust:"0.9",ref:"F49",scs:"1.3.2",dis:"53311"},frame_02:{type:"true",elem:"frameset",test:"frameDtdNo",score:3,level:"A",trust:"1",ref:"H88",scs:"4.1.1,4.1.2",dis:"22232"},iframe_01:{type:"prop",elem:"iframe",test:"iframeTitleNo",score:3,level:"A",trust:"1",ref:"H64",scs:"2.4.1,4.1.2",dis:"53222"},frame_01:{type:"prop",elem:"frame",test:"frameTitleNo",score:3,level:"A",trust:"1",ref:"H64",scs:"2.4.1,4.1.2",dis:"53222"},win_01:{type:"true",elem:"all",test:"newWinOnLoad",score:3,level:"A",trust:"0.9",ref:"F52",scs:"3.2.1",dis:"53454"},embed_01:{type:"prop",elem:"embed",test:"embedAltNo",score:3,level:"A",trust:"0.9",ref:"H46",scs:"1.1.1,1.2.8",dis:"54353"},object_01:{type:"prop",elem:"object",test:"objectAltNo",score:3,level:"A",trust:"1",ref:"H27",scs:"1.1.1",dis:"54152"},abbr_01:{type:"true",elem:"all",test:"abbrNo",score:3,level:"AAA",trust:"1",ref:"G102",scs:"3.1.4",dis:"42153"},css_01:{type:"decr",elem:"all",test:"lineHeightNo",score:3,level:"aaa",trust:"0.8",top:1,steps:1,ref:"C21",scs:"1.4.8",dis:"15153"},justif_txt_01:{type:"decr",elem:"all",test:"justifiedTxt",score:3,level:"AAA",trust:"1",top:1,steps:1,ref:"F88",scs:"1.4.8",dis:"15152"},justif_txt_02:{type:"decr",elem:"all",test:"justifiedCss",score:3,level:"AAA",trust:"0.9",top:1,steps:1,ref:"C19",scs:"1.4.8",dis:"14142"},font_02:{type:"prop",elem:"fontValues",test:"fontAbsVal",score:4,level:"AA",trust:"1",ref:"C12",scs:"1.4.4",dis:"15123"},layout_03:{type:"decr",elem:"all",test:"layoutFixed",score:5,level:"aa",trust:"1",top:1,steps:1,ref:"G146",scs:"1.4.4,1.4.8",dis:"15222"},values_02a:{type:"decr",elem:"all",test:"valueAbsCss",score:3,level:"AAA",trust:"0.9",top:1,steps:1,ref:"C24",scs:"1.4.8",dis:"15113"},values_02b:{type:"true",elem:"all",test:"valueRelCss",score:10,level:"aaa",trust:"1",ref:"C24",scs:"1.4.8",dis:"15113"},values_01a:{type:"decr",elem:"all",test:"valueAbsHtml",score:4,level:"AA",trust:"0.9",top:1,steps:1,ref:"G146",scs:"1.4.4",dis:"15222"},values_01b:{type:"true",elem:"all",test:"valueRelHtml",score:10,level:"aa",trust:"0.9",ref:"G146",scs:"1.4.4",dis:"15222"},color_02:{type:"decr",elem:"all",test:"colorContrast",score:4,level:"AA",trust:"0.8",top:1,steps:1,ref:"G145",scs:"1.4.3",dis:"15113"},color_01:{type:"true",elem:"all",test:"colorFgBgNo",score:5,level:"aa",trust:"0.9",ref:"F24",scs:"1.4.3,1.4.6,1.4.8",dis:"13113"},marquee_01:{type:"true",elem:"all",test:"marquee",score:1,level:"A",trust:"1",ref:"F16",scs:"2.2.2",dis:"45153"},blink_01:{type:"decr",elem:"all",test:"blink",score:2,level:"A",trust:"1",top:1,steps:1,ref:"F47",scs:"2.2.2",dis:"15154"},blink_02:{type:"true",elem:"all",test:"cssBlink",score:3,level:"A",trust:"0.9",ref:"F4",scs:"2.2.2",dis:"15152"},ehandler_01:{type:"true",elem:"ehandler",test:"ehandMouse",score:1,level:"A",trust:"1",ref:"F54",scs:"2.1.1",dis:"53512"},ehandler_03:{type:"true",elem:"ehandler",test:"ehandBoth",score:10,level:"a",trust:"0.9",ref:"G90",scs:"2.1.1,2.1.3",dis:"52522"},ehandler_02:{type:"prop",elem:"ehandler",test:"ehandBothNo",score:3,level:"A",trust:"1",ref:"SCR20",scs:"2.1.1,2.1.3",dis:"53511"},ehandler_04:{type:"prop",elem:"ehandler",test:"ehandTagNo",score:3,level:"A",trust:"0.8",ref:"F59",scs:"4.1.2",dis:"43411"},dtd_01:{type:"fals",elem:"all",test:"dtd",score:3,level:"a",trust:"1",ref:"H88",scs:"4.1.1,4.1.2",dis:"22232"},w3c_validator_01a:{type:"fals",elem:"w3cValidator",test:"w3cValidatorErrors",score:10,level:"a",trust:"1",ref:"G134",scs:"4.1.1",dis:"22232"},w3c_validator_01b:{type:"decr",elem:"w3cValidator",test:"w3cValidatorErrors",score:5,level:"A",trust:"1",top:10,steps:10,ref:"G134",scs:"4.1.1",dis:"22232"},css_validator_01:{type:"fals",elem:"all",test:"cssValidatorErrors",score:10,level:"A",trust:"1",top:1,steps:1,ref:"G134",scs:"4.1.1",dis:"54253"},css_validator_02:{type:"decr",elem:"all",test:"cssValidatorErrors",score:5,level:"A",trust:"1",top:3,steps:3,ref:"G134",scs:"4.1.1",dis:"54253"},id_01:{type:"true",elem:"id",test:"idRep",score:3,level:"A",trust:"1",ref:"F77",scs:"4.1.1",dis:"32321"},font_01:{type:"decr",elem:"all",test:"fontHtml",score:4,level:"AA",trust:"1",top:1,steps:1,ref:"C22",scs:"1.3.1,1.4.4,1.4.5,1.4.9",dis:"33111"},layout_01a:{type:"fals",elem:"all",test:"layoutElem",score:10,level:"a",trust:"1",ref:"G115",scs:"1.3.1",dis:"34212"},layout_01b:{type:"decr",elem:"all",test:"layoutElem",score:5,level:"A",trust:"1",top:2,steps:2,ref:"G115",scs:"1.3.1",dis:"34212"},layout_02a:{type:"fals",elem:"all",test:"layoutAttr",score:10,level:"a",trust:"1",ref:"G140",scs:"1.3.1,1.4.5,1.4.9",dis:"25243"},layout_02b:{type:"decr",elem:"all",test:"layoutAttr",score:5,level:"A",trust:"0.9",top:3,steps:3,ref:"G140",scs:"1.3.1,1.4.5,1.4.9",dis:"25243"},lang_01:{type:"true",elem:"all",test:"lang",score:10,level:"a",trust:"0.9",ref:"H57",scs:"3.1.1",dis:"53112"},lang_03:{type:"true",elem:"all",test:"langNo",score:3,level:"A",trust:"1",ref:"H57",scs:"3.1.1",dis:"53112"},lang_02:{type:"true",elem:"all",test:"langCodeNo",score:3,level:"A",trust:"1",ref:"H57",scs:"3.1.1",dis:"53112"},lang_04:{type:"true",elem:"all",test:"langMatchNo",score:4,level:"A",trust:"1",ref:"H57",scs:"3.1.1",dis:"53112"},lang_05:{type:"true",elem:"all",test:"langExtra",score:5,level:"A",trust:"1",ref:"H57",scs:"3.1.1",dis:"53112"},title_02:{type:"true",elem:"all",test:"titleNo",score:3,level:"A",trust:"1",ref:"H25",scs:"2.4.2",dis:"52112"},title_03:{type:"true",elem:"all",test:"titleNull",score:3,level:"A",trust:"1",ref:"F25",scs:"2.4.2",dis:"33151"},title_06:{type:"true",elem:"all",test:"titleOk",score:10,level:"a",trust:"0.9",ref:"H25",scs:"2.4.2",dis:"52112"},title_04:{type:"decr",elem:"all",test:"titleLong",score:10,level:"a",trust:"0.9",top:64,steps:10,ref:"G88",scs:"2.4.2",dis:"42253"},title_05:{type:"true",elem:"all",test:"titleChars",score:4,level:"a",trust:"0.9",ref:"G88",scs:"2.4.2",dis:"42253"},title_01:{type:"true",elem:"all",test:"titleVrs",score:3,level:"A",trust:"1",ref:"H25",scs:"2.4.2",dis:"52112"},title_07:{type:"true",elem:"all",test:"titleSame",score:4,level:"A",trust:"1",ref:"F25",scs:"2.4.2",dis:"33151"},link_01:{type:"true",elem:"all",test:"linkRel",score:10,level:"aa",trust:"0.9",ref:"H59",scs:"2.4.5,2.4.8",dis:"55554"},meta_01:{type:"true",elem:"all",test:"metaRefresh",score:3,level:"A",trust:"1",ref:"F41",scs:"2.2.1,2.2.4,3.2.5",dis:"43353"},meta_02:{type:"true",elem:"all",test:"metaRedir",score:3,level:"A",trust:"1",ref:"F40",scs:"2.2.1,2.2.4",dis:"43353"},heading_01:{type:"true",elem:"all",test:"hxHasAName",score:10,level:"A",trust:"1",ref:"H42",scs:"1.3.1",dis:"43353",result:"passed"},heading_02:{type:"prop",elem:"all",test:"hxWithoutAName",score:3,level:"A",trust:"1",ref:"H42",scs:"1.3.1",dis:"43353",result:"fail"}},N={a_01a:"Y",a_01b:"R",a_02a:"R",a_02b:"Y",a_03:"R",a_04:"R",a_05:"R",a_06:"R",a_09:"Y",abbr_01:"R",akey_01:"R",applet_01:"R",area_01a:"G",area_01b:"R",blink_01:"R",blink_02:"R",br_01:"R",color_01:"Y",color_02:"R",css_01:"Y",dtd_01:"R",ehandler_01:"Y",ehandler_02:"R",ehandler_03:"G",ehandler_04:"R",embed_01:"R",field_01:"R",field_02:"R",focus_01:"R",font_01:"R",font_02:"R",form_01a:"G",form_01b:"R",frame_01:"R",frame_02:"R",hx_01a:"R",hx_01b:"Y",hx_01c:"R",hx_02:"R",hx_03:"R",id_01:"R",iframe_01:"R",img_01a:"G",img_01b:"R",img_02:"Y",img_03:"R",img_04:"Y",inp_img_01a:"G",inp_img_01b:"R",input_01:"R",input_02:"Y",input_02b:"G",input_03:"R",justif_txt_01:"R",justif_txt_02:"Y",label_01:"R",label_02:"R",label_03:"R",lang_01:"Y",lang_02:"R",lang_03:"R",lang_04:"R",lang_05:"R",layout_01a:"G",layout_01b:"R",layout_02a:"G",layout_02b:"R",layout_03:"R",link_01:"G",list_01:"R",long_01:"R",marquee_01:"Y",meta_01:"Y",meta_02:"Y",object_01:"R",scope_01:"R",table_01:"Y",table_02:"R",table_03:"R",table_04:"R",table_05a:"R",table_06:"R",title_01:"R",title_02:"R",title_03:"R",title_04:"Y",title_05:"R",title_06:"G",title_07:"Y",values_01a:"Y",values_01b:"G",values_02a:"Y",values_02b:"G",w3c_validator_01a:"G",w3c_validator_01b:"R",win_01:"Y",heading_01:"G",heading_02:"R"},I={"1.1.1":{0:"text-equiv-all",1:"A"},"1.2.1":{0:"media-equiv-av-only-alt",1:"A"},"1.2.8":{0:"media-equiv-text-doc",1:"AAA"},"1.3.1":{0:"content-structure-separation-programmatic",1:"A"},"1.3.2":{0:"content-structure-separation-sequence",1:"A"},"1.4.3":{0:"visual-audio-contrast-contrast",1:"AA"},"1.4.4":{0:"visual-audio-contrast-scale",1:"AA"},"1.4.5":{0:"visual-audio-contrast-text-presentation",1:"AA"},"1.4.6":{0:"visual-audio-contrast7",1:"AAA"},"1.4.8":{0:"visual-audio-contrast-visual-presentation",1:"AAA"},"1.4.9":{0:"visual-audio-contrast-text-images",1:"AAA"},"2.1.1":{0:"keyboard-operation-keyboard-operable",1:"A"},"2.1.3":{0:"keyboard-operation-all-funcs",1:"AAA"},"2.2.1":{0:"time-limits-required-behaviors",1:"A"},"2.2.2":{0:"time-limits-pause",1:"A"},"2.2.4":{0:"time-limits-postponed",1:"AAA"},"2.4.1":{0:"navigation-mechanisms-skip",1:"A"},"2.4.10":{0:"navigation-mechanisms-headings",1:"AAA"},"2.4.2":{0:"navigation-mechanisms-title",1:"A"},"2.4.4":{0:"navigation-mechanisms-refs",1:"A"},"2.4.5":{0:"navigation-mechanisms-mult-loc",1:"AA"},"2.4.6":{0:"navigation-mechanisms-descriptive",1:"AA"},"2.4.7":{0:"navigation-mechanisms-focus-visible",1:"AA"},"2.4.8":{0:"navigation-mechanisms-location",1:"AAA"},"2.4.9":{0:"navigation-mechanisms-link",1:"AAA"},"3.1.1":{0:"meaning-doc-lang-id",1:"A"},"3.1.4":{0:"meaning-located",1:"AAA"},"3.2.1":{0:"consistent-behavior-receive-focus",1:"A"},"3.2.2":{0:"consistent-behavior-unpredictable-change",1:"A"},"3.2.5":{0:"consistent-behavior-no-extreme-changes-context",1:"AAA"},"3.3.2":{0:"minimize-error-cues",1:"A"},"4.1.1":{0:"ensure-compat-parses",1:"A"},"4.1.2":{0:"ensure-compat-rsv",1:"A"}},F=n(31887);let D=(()=>{class t{constructor(){this.server="localhost"===location.hostname?"http://localhost:3000":"/api"}getServer(t){return this.server+t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),H=(()=>{class t{constructor(t,e,n,i){this.http=t,this.router=e,this.config=n,this.translate=i}evaluateUrl(t,e=!1){if(this.url&&this.url===t&&this.evaluation&&!e)return(0,S.of)(this.evaluation.processed);{const n=sessionStorage.getItem("url");return n&&n===t&&!e?(this.url=n,this.evaluation=JSON.parse(sessionStorage.getItem("evaluation")),(0,S.of)(this.evaluation.processed)):this.http.get(this.config.getServer("/amp/eval/"+encodeURIComponent(t)),{observe:"response"}).pipe((0,P.U)(e=>{const n=e.body;if(!e.body||200!==e.status||1!==n.success)throw new Error;this.url=t,this.evaluation=n.result,this.evaluation.processed=this.processData();try{sessionStorage.setItem("url",t),sessionStorage.setItem("evaluation",JSON.stringify(this.evaluation))}catch(i){console.log(i)}return this.evaluation.processed}),(0,M.K)(t=>(console.log(t),(0,S.of)(null))))}}evaluateHtml(t){return this.http.post(this.config.getServer("/amp/eval/html"),{html:t},{observe:"response"}).pipe((0,P.U)(t=>{const e=t.body;if(!t.body||200!==t.status&&201!==t.status||1!==e.success)throw new Error;this.evaluation=e.result,this.evaluation.processed=this.processData();try{sessionStorage.removeItem("url"),sessionStorage.setItem("evaluation",JSON.stringify(this.evaluation))}catch(n){console.log(n)}return this.evaluation.processed}),(0,M.K)(t=>(console.log(t),(0,S.of)(null))))}getTestResults(t){return(!this.url||!this.evaluation)&&(this.url=sessionStorage.getItem("url"),this.evaluation=JSON.parse(sessionStorage.getItem("evaluation"))),this.getElements(this.evaluation.data.nodes,t)}getCSSList(t,e){const n=new Array;return{type:"css",elements:n,result:"ola",size:n.length,finalUrl:q()(this.evaluation.processed.metadata.url)}}downloadCSV(){const t=[];let e,n,i,s,r;const o=["CSV.date","CSV.errorType","CSV.level","CSV.criteria","CSV.desc","CSV.count","CSV.value","RESULTS.summary.score"],a=this.evaluation.processed;for(const l in a.results)if(a.results[l]){const u=[];e="CSV."+(3===a.results[l].prio?"scoreok":2===a.results[l].prio?"scorewar":"scorerror"),n=a.results[l].lvl,r=a.results[l].value,s="TESTS_RESULTS."+a.results[l].msg+(1===r?".s":".p"),i=U[a.results[l].msg].scs,i=i.replace(/,/g," "),o.push(s,e),u.push(this.evaluation.data.rawUrl,this.evaluation.data.date,a.results[l].msg,e,n,i,s,void 0===r?0:isNaN(parseInt(r))?1:r,isNaN(parseInt(r))?r:"",a.metadata.score.replace(".",",")),t.push(u)}this.translate.get(o).subscribe(e=>{const n=new Array;for(const r in t)t[r]&&(t[r][6]=e[t[r][6]].replace("{{value}}",t[r][8]?t[r][8]:t[r][7]),t[r][6]=t[r][6].replace(new RegExp("","g"),""),t[r][6]=t[r][6].replace(new RegExp("","g"),""),t[r][6]=t[r][6].replace(new RegExp("","g"),""),t[r][6]=t[r][6].replace(new RegExp("","g"),""),t[r][6]=t[r][6].replace(new RegExp("<","g"),""),t[r][6]=t[r][6].replace(new RegExp(">","g"),""),t[r][3]=e[t[r][3]]);n.push("URI"),n.push(e["CSV.date"]),n.push("ID"),n.push(e["CSV.errorType"]),n.push(e["CSV.level"]),n.push(e["CSV.criteria"]),n.push(e["CSV.desc"]),n.push(e["CSV.count"]),n.push(e["CSV.value"]),n.push(e["RESULTS.summary.score"]);let i=n.join(";")+"\r\n";for(const r of t||[])i+=r.join(";")+"\r\n";const s=new Blob([i],{type:"text/csv"});(0,L.saveAs)(s,"eval.csv")})}downloadEARL(){const t={"@context":"https://act-rules.github.io/earl-context.json","@graph":new Array},e={"@type":"TestSubject",source:this.url,assertor:{"@id":"Access Monitor","@type":"Software",homepage:"http://accessmonitor.acessibilidade.gov.pt/amp/"},assertions:new Array};for(const i in this.evaluation.data.tot.results||{}){const t=this.evaluation.processed.results.filter(t=>t.msg===i)[0].tech_list.tot,n=new Array;let s=new Array;"img_01a"===i?s=this.evaluation.data.nodes.img.map(t=>void 0!==t.elements?t.elements.map(t=>t.pointer):[t.pointer]):"input_02b"===i?s=this.evaluation.data.nodes.inputLabel.map(t=>void 0!==t.elements?t.elements.map(t=>t.pointer):[t.pointer]):this.evaluation.data.nodes[U[i].test]&&(s=this.evaluation.data.nodes[U[i].test].map(t=>void 0!==t.elements?t.elements.map(t=>t.pointer):[t.pointer]));for(const e of s||[])for(const t of e||[]){const e={result:{pointer:null==t?void 0:t.trim(),outcome:"earl:"+("Y"!==N[i]?"G"===N[i]?"passed":"failed":"cantTell")}};n.push(e)}const r={"@type":"TestResult",outcome:"earl:"+("Y"!==N[i]?"G"===N[i]?"passed":"failed":"cantTell"),source:n,description:this.translate.instant("TESTS_RESULTS."+i+(1===t?".s":".p"),{value:t}).replace("","").replace("","").replace("","").replace("",""),date:this.evaluation.data.date},o={"@type":"Assertion",test:{"@id":i,"@type":"TestCase",title:this.translate.instant("TECHS."+U[i].ref),description:this.translate.instant("TXT_TECHNIQUES."+U[i].ref).replace("