From bd45e11a4a73955c60d449e3d00d709ba0db20f1 Mon Sep 17 00:00:00 2001 From: msinn Date: Sun, 13 Feb 2022 20:32:49 +0100 Subject: [PATCH 01/86] Set repo version to post 1.9.1 release --- bin/shngversion.py | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/bin/shngversion.py b/bin/shngversion.py index 8fcf38bb77..d9465fd216 100644 --- a/bin/shngversion.py +++ b/bin/shngversion.py @@ -62,25 +62,26 @@ # Update auf 1.7.2b wg. Einführung von valid_list_ci in den Metadaten # Update auf 1.7.2c wg. SmartPlugin Erweiterung: Update etc/plugin.yaml section -# Update auf 1.8 wg. Release -# Update auf 1.8a wg. Kennzeichnung des Stands als "nach dem v1.8 Release" +# Update auf 1.8 wg. Release +# Update auf 1.8a wg. Kennzeichnung des Stands als "nach dem v1.8 Release" -# Update auf 1.8.1 wg. Release -# Update auf 1.8.1a wg. Kennzeichnung des Stands als "nach dem v1.8.1 Release" +# Update auf 1.8.1 wg. Release +# Update auf 1.8.1a wg. Kennzeichnung des Stands als "nach dem v1.8.1 Release" -# Update auf 1.8.2 wg. Release -# Update auf 1.8.2a wg. Kennzeichnung des Stands als "nach dem v1.8.2 Release" -# Update auf 1.8.2b wg. Erweiterung des Item Loggings" -# Update auf 1.8.2c wg. Wegen Anpassungen an mem-logging / lib.log -# Update auf 1.8.2d wg. Unterstützung für User-Functions +# Update auf 1.8.2 wg. Release +# Update auf 1.8.2a wg. Kennzeichnung des Stands als "nach dem v1.8.2 Release" +# Update auf 1.8.2b wg. Erweiterung des Item Loggings" +# Update auf 1.8.2c wg. Wegen Anpassungen an mem-logging / lib.log +# Update auf 1.8.2d wg. Unterstützung für User-Functions -# Update auf 1.9.0 wg. Release -# Update auf 1.9a wg. Kennzeichnung des Stands als "nach dem v1.9.0 Release" +# Update auf 1.9.0 wg. Release +# Update auf 1.9a wg. Kennzeichnung des Stands als "nach dem v1.9.0 Release" -# Update auf 1.9.1 wg. Release +# Update auf 1.9.1 wg. Release +# Update auf 1.9.1.1 wg. Kennzeichnung des Stands als "nach dem v1.9.1 Release" -shNG_version = '1.9.1' -shNG_branch = 'master' +shNG_version = '1.9.1.1' +shNG_branch = 'develop' # --------------------------------------------------------------------------------- FileBASE = None From e29277701bb5c95e3a94efc245e38e784ac41948 Mon Sep 17 00:00:00 2001 From: msinn Date: Mon, 14 Feb 2022 17:04:10 +0100 Subject: [PATCH 02/86] Documentation updates (improved configuration page generation) --- doc/build_plugin_config_files.py | 51 +++++- doc/build_plugin_rst_files.py | 1 + .../source/installation/anforderungen.rst | 74 +++++--- .../konfigurationsdateien/scenes.rst | 3 +- .../source/release/{1_9_x.rst => 1_9_1.rst} | 34 ++-- doc/user/source/release/1_x_x.rst | 171 ++++++++++++++++++ doc/user/source/release/1_x_x.rst.vorlage | 39 ++-- 7 files changed, 290 insertions(+), 83 deletions(-) rename doc/user/source/release/{1_9_x.rst => 1_9_1.rst} (89%) create mode 100644 doc/user/source/release/1_x_x.rst diff --git a/doc/build_plugin_config_files.py b/doc/build_plugin_config_files.py index 0bc017e4ab..4ac1f5c018 100644 --- a/doc/build_plugin_config_files.py +++ b/doc/build_plugin_config_files.py @@ -44,6 +44,8 @@ - a table with information about the plugins and links to further information - an include for a footer file +Further, this program creates the file with the configuration information for the plugins. +(see: write_configfile()) """ import os @@ -403,18 +405,34 @@ def write_configfile(plg, configfile_dir, language='de'): fh.write('.. |_| unicode:: 0xA0\n') fh.write('\n') - write_heading(fh, 'Plugin ' + plgname, 1) + write_heading(fh, f"Plugin '{plgname}'", 1) # -------------------------------------------- # write image for plugin-type and generic text # -------------------------------------------- plgtype = plugin_yaml.get('type', '').lower() + plgstate = plugin_yaml.get('state', '').lower() if plgtype != '': - fh.write('.. image:: /_static/img/'+plgtype+'.svg\n') - fh.write(' :width: 70px\n') - fh.write(' :height: 70px\n') + cwd = os.getcwd() + plglogo = plgname+'/webif/static/img/plugin_logo' + if os.path.isfile(plglogo + '.png'): + ext = '.png' + elif os.path.isfile(plglogo + '.jpg'): + ext = '.jpg' + elif os.path.isfile(plglogo + '.svg'): + ext = '.svg' + else: + ext = '.???' + if os.path.isfile(plglogo+ext): + fh.write(".. image:: /plugins/"+plglogo+ext+"\n") + fh.write(' :alt: plugin logo\n') + else: + print(f"Plugin {plgname}: Kein Plugin-Logo gefunden, Typ-Logo verwendet.") + fh.write('.. image:: /_static/img/'+plgtype+'.svg\n') + fh.write(' :alt: plugin type logo\n') + fh.write(' :width: 300px\n') + fh.write(' :height: 300px\n') fh.write(' :scale: 50 %\n') - fh.write(' :alt: protocol plugin\n') fh.write(' :align: left\n') fh.write('\n') fh.write('.. |br| raw:: html\n') @@ -422,7 +440,20 @@ def write_configfile(plg, configfile_dir, language='de'): fh.write('
\n') fh.write('\n') - fh.write('Im folgenden sind etwaige Anforderungen und unterstützte Hardware beschrieben. Danach folgt die Beschreibung, wie das Plugin '+bold(plgname)+' konfiguriert wird. Außerdem ist im folgenden beschrieben, wie das Plugin in den Item Definitionen genutzt werden kann. [#f1]_ \n') + fh.write('Im folgenden sind etwaige Anforderungen und unterstützte Hardware beschrieben. Danach folgt die \ + Beschreibung, wie das Plugin '+bold(plgname)+' konfiguriert wird. Außerdem ist im folgenden \ + beschrieben, wie das Plugin in den Item Definitionen genutzt werden kann. [#f1]_ \n') + fh.write('\n') + fh.write(f"Es handelt sich bei diesem Plugin um ein **{plgtype} Plugin**.\n") + if plgstate == 'deprecated': + fh.write('\n') + fh.write(f"**ACHTUNG**: Dieses Plugin ist als {plgstate} gekennzeichnet. Es wird empfohlen auf eine \ + Nachfolgelösung umzusteigen.\n") + if plgstate == 'develop': + fh.write('\n') + fh.write(f"**ACHTUNG**: Dieses Plugin ist als {plgstate} gekennzeichnet. Es kann daher sein, dass es \ + noch nicht Feature-Complete oder noch fehlerhaft ist.\n") + fh.write('\n') fh.write('\n') @@ -435,7 +466,9 @@ def write_configfile(plg, configfile_dir, language='de'): requirements = get_description(plugin_yaml, 768, language, 'requirements') min_version = str(plugin_yaml.get('sh_minversion', '')) max_version = str(plugin_yaml.get('sh_maxversion', '')) - if requirements[0] != '' or min_version != '' or max_version != '': + min_py_version = str(plugin_yaml.get('py_minversion', '')) + max_py_version = str(plugin_yaml.get('py_maxversion', '')) + if requirements[0] != '' or min_version != '' or max_version != '' or min_py_version != '' or max_py_version != '': write_heading(fh, 'Anforderungen', 2) fh.write('\n') write_formatted(fh, get_doc_description(plugin_yaml, language, 'requirements')) @@ -443,6 +476,10 @@ def write_configfile(plg, configfile_dir, language='de'): fh.write(' - Minimum SmartHomeNG Version: '+bold(min_version)+'\n') if max_version != '': fh.write(' - Maximum SmartHomeNG Version: '+bold(max_version)+'\n') + if min_py_version != '': + fh.write(' - Minimum Python Version: '+bold(min_py_version)+'\n') + if max_py_version != '': + fh.write(' - Maximum Python Version: '+bold(max_py_version)+'\n') # --------------------------------- diff --git a/doc/build_plugin_rst_files.py b/doc/build_plugin_rst_files.py index f58c6271f4..efa4c9c0aa 100644 --- a/doc/build_plugin_rst_files.py +++ b/doc/build_plugin_rst_files.py @@ -424,6 +424,7 @@ def write_rstfile(plgtype='all', plgtype_print='', heading=''): plg['sup'] = "`"+plg['name']+" support <"+plg['sup']+">`_" fh.write(' | {plg:<65.65} | {vers:<8.8} | - {desc:<163.163} | {maint:<15.15} | {test:<15.15} |\n'.format(plg='', vers='', desc=plg['sup'], maint='', test='')) else: + fh.write(f" | {'':<65.65} | {'':<8.8} | {'':<165.165} | {'':<15.15} | {'':<15.15} |\n") fh.write(f" | {'':<65.65} | {'':<8.8} | {'.':<165.165} | {'':<15.15} | {'':<15.15} |\n") leerzeileausgegeben = False diff --git a/doc/user/source/installation/anforderungen.rst b/doc/user/source/installation/anforderungen.rst index 602302a8a1..4fa4857231 100644 --- a/doc/user/source/installation/anforderungen.rst +++ b/doc/user/source/installation/anforderungen.rst @@ -2,6 +2,7 @@ .. index:: Linux, MacOS, Unix, Windows +=============================== Hard- u. Software Anforderungen =============================== @@ -15,14 +16,14 @@ benötigt das System keine grafische Benutzeroberfläche und kann entsprechend schlank installiert werden. Hardware --------- +======== Ein beliebiger Rechner mit x86 or x64 CPU sollte funktionieren, genauso wie Rechner mit einer ARM CPU wie Raspberry Pi. Häufig verwendete Hardware ist: -- Raspberry Pi 2, 3 oder 4 (der letztere wird aufgrund der besseren Hardware **unbedingt empfohlen**) +- Raspberry Pi 3 oder 4 (der letztere wird aufgrund der besseren Hardware **unbedingt empfohlen**) besonders wenn die Webinterfaces der Plugins genutzt werden und falls die Visualisierung (smartVISU) auf dem selben System betrieben werden sollen. Der Großteil der Nutzer verwendet diese Hardware, siehe `Umfrage `__ @@ -40,7 +41,7 @@ Häufig verwendete Hardware ist: - Docker Container Virtuelle Maschine -~~~~~~~~~~~~~~~~~~ +------------------ Eine brauchbare Grundlage um **SmartHomeNG** auszuprobieren ist eine virtuelle Maschine mit 512MB RAM und zwischen 40GB und 80GB @@ -48,13 +49,13 @@ Plattenplatz. Raspberry Pi 3 oder 4 -~~~~~~~~~~~~~~~~~~~~~ +--------------------- SmartHomeNG ist auf einem Raspberry Pi 1 oder Pi 2 zwar lauffähig, sollte dann aber nur in einer Minimalkonfiguration eingesetzt werden. Vorteile: -^^^^^^^^^ +~~~~~~~~~ - recht günstig im Einstieg, auch gebraucht zu bekommen - weit verbreitet @@ -63,9 +64,9 @@ Vorteile: von Onkelandy verfügbar Nachteile: -^^^^^^^^^^ +~~~~~~~~~~ -- Standardmäßig wird nur eine SD-Karte als Massenspeicher unterstützt - +- Standardmäßig wird bei älteren Raspberry Pis nur eine SD-Karte als Massenspeicher unterstützt - Hochwertige SD-Karte wird dringend empfohlen aufgrund der häufigen Schreibzyklen (Alternativ ist eine `Auslagerung der Dateien `__ @@ -76,13 +77,13 @@ Nachteile: - ARM Plattform, es gibt nicht für alles fertige Pakete zum Download -Intel NUC (z.B. DN2820FYKH0) oder vergleichbar -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Intel NUC oder vergleichbar +--------------------------- Intel NUC Systeme mit Atom CPUs sind vollkommen ausreichend. Core i3 Prozessoren oder höher werden nicht benötigt. Vorteile: -^^^^^^^^^ +~~~~~~~~~ - verschiedene Hardwareausstattungen möglich - niedriger Verbrauch @@ -91,16 +92,22 @@ Vorteile: Nachteile: -^^^^^^^^^^ +~~~~~~~~~~ + +- teurer + z.B.: + - DN2820FYKH0 (Atom CPU) bei 4GB RAM und 60GB SSD um 250 EUR) + - NUC 7, Celeron CPU **ohne** RAM SSD um 150 EUR) + - NUC 7, Pentium CPU **ohne** RAM SSD um 200 EUR) + - NUC 11, Core i3 CPU **ohne** RAM SSD um 350 EUR) -- teurer (z.B. bei 4GB RAM und 60GB SSD um 250 EUR) -NAS wie z.B. Synology, QNAP -~~~~~~~~~~~~~~~~~~~~~~~~~~~ +NAS (z.B. Synology, QNAP) +------------------------- Vorteile: -^^^^^^^^^ +~~~~~~~~~ - zumeist bereits vorhanden - Leistung reicht für SmartHomeNG meist aus @@ -108,7 +115,7 @@ Vorteile: Nachteile: -^^^^^^^^^^ +~~~~~~~~~~ - Es sind nicht immer alle Pakete verfügbar, abhängig von der Plattform und vom Prozessortyp @@ -117,22 +124,22 @@ Nachteile: Weitere Einplatinencomputer (Banana PI, ODroid, BeagleBone, etc.) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +----------------------------------------------------------------- Vorteile: -^^^^^^^^^ +~~~~~~~~~ - recht günstig im Einstieg - teilweise mit SATA Anschluss für Festplatte/SSD Nachteile: -^^^^^^^^^^ +~~~~~~~~~~ - es hängt sehr von der Plattform ab ob sich Nachteile ergeben Betriebssysteme ---------------- +=============== Ein beliebiges **Linux** oder **Unix System** (mit Shell Zugang um die Requirements und SmartHomeNG zu installieren) sollte funktionieren. @@ -152,10 +159,29 @@ Ab SmartHomeNG v1.6 sollte eine Installation unter **MacOS** (BSD Unix) möglich Ab SmartHomeNG v1.8.2 sollte eine Installation unter **Windows** möglich sein. +.. _python_versionen: + Python Versionen ----------------- +================ + +Minimum Python Version +---------------------- + +Die absolute Minimum Python Version in der SmartHomeNG startet wurde auf **Python 3.6** angehoben, da Python 3.5 im +September 2020 End-of-Life (End of security fixes) gegangen ist. Bei einer Neuinstallation wird jedoch empfohlen +auf einer der neueren Python Versionen (3.8 oder 3.9) aufzusetzen. -Die aktuelle Version von SmartHomeNG setzt Python der Version 3.6 oder neuer voraus. +Für das SmartHomeNG Release 1.10 wird die absolute Minimum Python Version auf **Python 3.7** angehoben, da der +Community Support für Python 3.6 am 23. Dezember 2021 endete. + +Die aktuelle Version von SmartHomeNG setzt Python der Version 3.6 oder neuer voraus. Bei Einsatz einer älteren +Python Version, startet SmartHomeNG nicht. + + +Unterstützte Python Versionen +----------------------------- + +Die älteste offiziell unterstützte Python Version für SmartHomeNG Release 1.9.x ist **Python 3.7**. Die Grundregel nach der sich der Support für Python Versionen richten soll ist folgende: @@ -180,10 +206,6 @@ Das bedeutet nicht automatisch, dass SmartHomeNG mit älteren Python Versionen n die Entwicklung wird nur nicht mehr mit älteren Versionen getestet. Zudem bekommen ältere Python Versionen keine Bugfixes mehr sondern nur noch Sicherheits-Updates. -Python 3.6 jedoch hat eine Reihe sehr interessanter Features und Verbesserungen gebracht, die nur dann in SmartHomeNG -genutzt werden können, wenn sichergestellt ist dass SmartHomeNG mindestens unter Python 3.6 gestartet wurde. Daher -wurde für SmartHomeNG v1.8 die **Absolute Minimum Python Version** auf 3.6 angehoben. - Beispiele für Linux-System und mitgeliefere Software Versionen: * Debian 9 (Stretch) beinhaltet Python 3.5 und PHP 7.0 diff --git a/doc/user/source/konfiguration/konfigurationsdateien/scenes.rst b/doc/user/source/konfiguration/konfigurationsdateien/scenes.rst index b368049bc1..3b2d834b1e 100644 --- a/doc/user/source/konfiguration/konfigurationsdateien/scenes.rst +++ b/doc/user/source/konfiguration/konfigurationsdateien/scenes.rst @@ -109,7 +109,7 @@ Jede einzelne Aktion ist durch die Keys ``item:`` , ``value:`` und ``learn:`` de Die Verwendung von Wildcards (*) in den ``item:`` Definitionen ist nicht möglich. Der Key **item** enthält den Pfad des Items, das verändert werden soll. Der Key **value** enthält -den Wert auf den das Item gesetzt werden soll. Wenn dem Item Stringwerte zugewiesen werden sollen, +den Wert auf den das Item gesetzt werden soll. Wenn dem Item Stringwerte zugewiesen werden sollen, müssen diese zweifach in Anführungszeichen angegeben werden, z.B. ``"'Wert'"``, Zahlen können direkt angegeben werden, und andere Werte wie z.B. Listen oder dicts müssen einfach in Anführungszeichen stehen, z.B. ``"{'key': 'value'}"`` oder ``'["listitem1", "listitem2"]'``. Anstelle eines festen Wertes @@ -214,6 +214,7 @@ Beispiel muss die Datei den Namen **wohnung.buero.szenen.yaml** tragen. - {item: wohnung.buero.dreieckschrank.sat, value: 230, learn: false} - {item: wohnung.buero.dreieckschrank.onoff, value: True, learn: false} + .. code-block:: yaml :caption: Beispiel der Szenen Item-Definition in der items.yaml diff --git a/doc/user/source/release/1_9_x.rst b/doc/user/source/release/1_9_1.rst similarity index 89% rename from doc/user/source/release/1_9_x.rst rename to doc/user/source/release/1_9_1.rst index 986969f38e..f384aa7354 100644 --- a/doc/user/source/release/1_9_x.rst +++ b/doc/user/source/release/1_9_1.rst @@ -4,31 +4,23 @@ Release 1.9.1 - 13. Feb 2022 Es gibt eine Menge neuer Features im Core von SmartHomeNG und den Plugins. -.. note :: - - Diese Release Notes sind ein Arbeitsstand. - - - Berücksichtigt sind Commits im smarthome Repository bis incl. 12. Februar 2022 - (. . .) - - Berücksichtigt sind Commits im plugins Repository bis incl. 12. Februar 2022 - (. . .) - Überblick ========= -Dieses ist neues Release für SmartHomeNG. Die Änderungen gegenüber dem Release v1.9.x sind im +Dieses ist neues Release für SmartHomeNG. Die Änderungen gegenüber dem Release v1.9 sind im folgenden in diesen Release Notes beschrieben. Unterstützte Python Versionen ----------------------------- -Die älteste offiziell unterstützte Python Version für SmartHomeNG Release 1.8 ist Python 3.6. -(Siehe auch *Hard- u. Software Anforderungen* im Abschnitt *Installation* zu unterstützten Python Versionen) +Die älteste offiziell unterstützte Python Version für SmartHomeNG Release 1.9 ist Python 3.6. +(Siehe auch :ref:`Hard- u. Software Anforderungen ` im Abschnitt **Installation** zu unterstützten +Python Versionen) .. - Das bedeutet nicht unbedingt, dass SmartHomeNG ab Release 1.8 nicht mehr unter älteren Python Versionen läuft, + Das bedeutet nicht unbedingt, dass SmartHomeNG ab Release 1.9 nicht mehr unter älteren Python Versionen läuft, sondern das SmartHomeNG nicht mehr mit älteren Python Versionen getestet wird und das gemeldete Fehler mit älteren Python Versionen nicht mehr zu Buxfixen führen. @@ -41,18 +33,15 @@ Minimum Python Version Die absolute Minimum Python Version in der SmartHomeNG startet wurde auf v3.6 angehoben, da Python 3.5 im September 2020 End-of-Life (End of security fixes) gegangen ist. Bei einer Neuinstallation wird jedoch empfohlen -auf einer der neueren Python Versionen (3.7 oder 3.8) aufzusetzen. +auf einer der neueren Python Versionen (3.8 oder 3.9) aufzusetzen. .. important:: - Mit dem kommenden Release 1.8 werden die unterstützten Python Versionen - :doc:`(wie hier beschrieben) ` auf **Python 3.6, 3.7, 3.8** angehoben. Python 3.6 - hat eine Reihe sehr interessanter Features und Verbesserungen gebracht, die dann in SmartHomeNG genutzt - werden können. + Mit Release 1.9 werden die unterstützten Python Versionen + :ref:`(wie hier beschrieben) ` auf **Python 3.7, 3.8, 3.9** angehoben. + + Die **Absolute Minimum Python Version**, mit der SmartHomeNG startet ist 3.6. - Sollten solche neuen Features in den Core Einzug halten, wird die **Absolute Minimum Python Version** auf 3.6 - angehoben werden. Sollten die Features nur in Plugins genutzt werden, so können nur solche Plugins nicht genutzt - werden, wenn eine ältere Python Version als 3.6 eingesetzt wird. Änderungen am Core @@ -163,7 +152,8 @@ New Plugins For details of the changes of the individual plugins, please refer to the documentation of the respective plugin. -* : ... +* zigbee2mqtt: Plugin to control devices which are linked to Zigbee Gateway equipped with Zigbee2MQTT firmware. + Communication is handled through the MQTT module of SmartHomeNG. diff --git a/doc/user/source/release/1_x_x.rst b/doc/user/source/release/1_x_x.rst new file mode 100644 index 0000000000..fb4ad36ae7 --- /dev/null +++ b/doc/user/source/release/1_x_x.rst @@ -0,0 +1,171 @@ +========================== +Release 1.x - tt. mmm 2022 +========================== + +Es gibt eine Menge neuer Features im Core von SmartHomeNG und den Plugins. + +.. note:: + + Diese Release Notes sind ein Arbeitsstand. + + - Berücksichtigt sind Commits im smarthome Repository bis incl. ... + (...) + - Berücksichtigt sind Commits im plugins Repository bis incl. ... + (...) + + +Überblick +========= + +Dieses ist neues Release für SmartHomeNG. Die Änderungen gegenüber dem Release v1.9.1 sind im +folgenden in diesen Release Notes beschrieben. + + +Minimum Python Version +---------------------- + +Die absolute Minimum Python Version in der SmartHomeNG startet, ist **Python 3.6**. + +Für das SmartHomeNG Release 1.10 wird die absolute Minimum Python Version auf **Python 3.7** angehoben, da der +Community Support für Python 3.6 am 23. Dezember 2021 endete. + +Bei einer Neuinstallation wird jedoch empfohlen auf einer der neueren Python Versionen (3.8 oder 3.9) aufzusetzen. + + +Unterstützte Python Versionen +----------------------------- + +Die älteste offiziell unterstützte Python Version für SmartHomeNG Release 1.9.x ist **Python 3.7**. +(Siehe auch :ref:`Hard- u. Software Anforderungen ` im Abschnitt **Installation** +zu unterstützten Python Versionen) + + +Änderungen am Core +================== + +Bugfixes in the CORE +-------------------- + +* ... + + +Updates in the CORE +------------------- + +* ... + +* Items: + + * ... + +* Logics: + + * ... + +* Libs: + + * lib. ...: + +* Modules: + + * ...: + + * ... + +* Plugins: + + * ... + +* tests: + + * ... + + +Änderungen bei Plugins +====================== + +New Plugins +----------- + +For details of the changes of the individual plugins, please refer to the documentation of the respective plugin. + +* zigbee2mqtt: Plugin to control devices which are linked to Zigbee Gateway equipped with Zigbee2MQTT firmware. + Communication is handled through the MQTT module of SmartHomeNG. + + + +Plugin Updates +-------------- + +* : + + * ... + + +Outdated Plugins +---------------- + +The following plugins were already marked in version v1.6 as *deprecated*. This means that the plugins +are still working, but are not developed further anymore and are removed from the release of SmartHomeNG +in the next release. User of these plugins should switch to corresponding succeeding plugins. + +* System Plugins + + * backend - use the administration interface instead + * sqlite_visu2_8 - switch to the **database** plugin + +* Web Plugins + + * wunderground - the free API is not provided anymore by Wunderground + + +The following plugins are marked as *deprecated* with SmartHomeNG v1.7, because neither user nor tester have been found: + +* Gateway Plugins + + * ecmd + * elro + * iaqstick + * snom + * tellstick + +* Interface Plugins + + * easymeter + * smawb + * vr100 + +* Web Plugins + + * nma + +Moreover, the previous mqtt plugin was renamed to mqtt1 and marked as *deprecated*, because the new mqtt +plugin takes over the functionality. This plugin is based on the mqtt module and the recent core. + + +Retired Plugins +--------------- + +The following plugins have been retired. They had been deprecated in one of the preceding releases of SmartHomeNG. +They have been removed from the plugins repository, but they can still be found on github. Now they reside in +the **plugin_archive** repository from where they can be downloaded if they are still needed. + +* ... + + +Weitere Änderungen +================== + +Tools +----- + +* ... + + +Documentation +------------- + +* ... +* ... + + diff --git a/doc/user/source/release/1_x_x.rst.vorlage b/doc/user/source/release/1_x_x.rst.vorlage index b6ab411e7b..c1d479efcb 100644 --- a/doc/user/source/release/1_x_x.rst.vorlage +++ b/doc/user/source/release/1_x_x.rst.vorlage @@ -17,42 +17,27 @@ Es gibt eine Menge neuer Features im Core von SmartHomeNG und den Plugins. Überblick ========= -Dieses ist neues Release für SmartHomeNG. Die Änderungen gegenüber dem Release v1.9.x sind im +Dieses ist neues Release für SmartHomeNG. Die Änderungen gegenüber dem Release v1.9.1 sind im folgenden in diesen Release Notes beschrieben. -Unterstützte Python Versionen ------------------------------ - -Die älteste offiziell unterstützte Python Version für SmartHomeNG Release 1.8 ist Python 3.6. -(Siehe auch *Hard- u. Software Anforderungen* im Abschnitt *Installation* zu unterstützten Python Versionen) - -.. - Das bedeutet nicht unbedingt, dass SmartHomeNG ab Release 1.8 nicht mehr unter älteren Python Versionen läuft, - sondern das SmartHomeNG nicht mehr mit älteren Python Versionen getestet wird und das gemeldete Fehler mit älteren - Python Versionen nicht mehr zu Buxfixen führen. - - Es werden jedoch zunehmend Features eingesetzt, die erst ab Python 3.6 zur Verfügung stehen. - So ist Python 3.6 die minimale Vorraussetzung zur Nutzung des neuen Websocket Moduls. - - Minimum Python Version ---------------------- -Die absolute Minimum Python Version in der SmartHomeNG startet wurde auf v3.6 angehoben, da Python 3.5 im -September 2020 End-of-Life (End of security fixes) gegangen ist. Bei einer Neuinstallation wird jedoch empfohlen -auf einer der neueren Python Versionen (3.7 oder 3.8) aufzusetzen. +Die absolute Minimum Python Version in der SmartHomeNG startet, ist **Python 3.6**. + +Für das SmartHomeNG Release 1.10 wird die absolute Minimum Python Version auf **Python 3.7** angehoben, da der +Community Support für Python 3.6 am 23. Dezember 2021 endete. + +Bei einer Neuinstallation wird jedoch empfohlen auf einer der neueren Python Versionen (3.8 oder 3.9) aufzusetzen. -.. important:: - Mit dem kommenden Release 1.8 werden die unterstützten Python Versionen - :doc:`(wie hier beschrieben) ` auf **Python 3.6, 3.7, 3.8** angehoben. Python 3.6 - hat eine Reihe sehr interessanter Features und Verbesserungen gebracht, die dann in SmartHomeNG genutzt - werden können. +Unterstützte Python Versionen +----------------------------- - Sollten solche neuen Features in den Core Einzug halten, wird die **Absolute Minimum Python Version** auf 3.6 - angehoben werden. Sollten die Features nur in Plugins genutzt werden, so können nur solche Plugins nicht genutzt - werden, wenn eine ältere Python Version als 3.6 eingesetzt wird. +Die älteste offiziell unterstützte Python Version für SmartHomeNG Release 1.9.x ist **Python 3.7**. +(Siehe auch :ref:`Hard- u. Software Anforderungen ` im Abschnitt **Installation** +zu unterstützten Python Versionen) Änderungen am Core From fd4536ba9efd43efc82677c1b14b83142f67e5aa Mon Sep 17 00:00:00 2001 From: Hasenradball Date: Mon, 14 Feb 2022 19:44:55 +0100 Subject: [PATCH 03/86] correction of docu if reverseProxy has an other IP than the smarthome server --- doc/user/source/visualisierung/reverse_proxy.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/user/source/visualisierung/reverse_proxy.rst b/doc/user/source/visualisierung/reverse_proxy.rst index d6d94f28d4..68e7e837ad 100644 --- a/doc/user/source/visualisierung/reverse_proxy.rst +++ b/doc/user/source/visualisierung/reverse_proxy.rst @@ -172,7 +172,7 @@ noch einen Block als Schutz gegen Denial of Service Angriffe ergänzen: # websocket for shng ## upstream websocket { - server 127.0.0.1:2424; + server :2424; } ## From 8e238e3c58ac292325bfa23c87aa015b7d00147e Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Tue, 15 Feb 2022 21:00:11 +0100 Subject: [PATCH 04/86] fix datatables live update for multiple datatables --- modules/http/webif/gstatic/js/smarthomeng.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/http/webif/gstatic/js/smarthomeng.js b/modules/http/webif/gstatic/js/smarthomeng.js index ea5002935b..7efb8d9292 100644 --- a/modules/http/webif/gstatic/js/smarthomeng.js +++ b/modules/http/webif/gstatic/js/smarthomeng.js @@ -56,10 +56,7 @@ function shngInsertText (id, text, table_id=null) { } else { try { - if ( $.fn.dataTable.isDataTable(table_id) ) { - table = $('#' + table_id).DataTable(); - } - table.cell( $('#' + $.escapeSelector(id)) ).data(text) ; + $('#' + table_id).DataTable().cell( $('#' + $.escapeSelector(id)) ).data(text); } catch (e) { console.log("Problem setting cell with id " + id + " of table " + table_id + ". Error: " + e); From 87b8542d7a1bab3746a78d3167d3896ac4cbe2a7 Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Tue, 15 Feb 2022 21:00:48 +0100 Subject: [PATCH 05/86] fix webif example index.html for sample_plugin --- dev/sample_plugin/webif/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/sample_plugin/webif/templates/index.html b/dev/sample_plugin/webif/templates/index.html index a18d4aa19c..7655b68c13 100644 --- a/dev/sample_plugin/webif/templates/index.html +++ b/dev/sample_plugin/webif/templates/index.html @@ -134,7 +134,7 @@ - {% for item in p.get_items() %} + {% for item in items %} {% if p.has_iattr(item.conf, '') %} {{ item._path }} From 6230b4a1e3127c7f5fd6c8860ebfc10ccf0b12f2 Mon Sep 17 00:00:00 2001 From: Morg42 <43153739+Morg42@users.noreply.github.com> Date: Thu, 17 Feb 2022 16:42:33 +0100 Subject: [PATCH 06/86] lib.network: modify autoreconnect --- lib/network.py | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/lib/network.py b/lib/network.py index 9cb3576885..184c440b41 100644 --- a/lib/network.py +++ b/lib/network.py @@ -611,10 +611,10 @@ def connect(self): return False self.logger.debug(f'Starting connect to {self._host}:{self._port}') - if not self.__connect_thread: + if not self.__connect_thread or not self.__connect_thread.is_alive(): self.__connect_thread = threading.Thread(target=self._connect_thread_worker, name='TCP_Connect') self.__connect_thread.daemon = True - if not self.__running: + if not self.__running or not self.__connect_thread.is_alive(): self.__connect_thread.start() return True @@ -665,6 +665,10 @@ def send(self, message): else: self.logger.warning(f'Detected disconnect from {self._host}, send failed.') self._is_connected = False + try: + self._socket.shutdown() + except Exception: + pass if self._disconnected_callback: self._disconnected_callback(self) if self._autoreconnect: @@ -809,14 +813,18 @@ def __receive_thread_worker(self): # If empty peer has closed the connection else: if self.__running: - + self._is_receiving = False + self._is_connected = False + try: + self._socket.shutdown() + except Exception: + pass if timeout: # TimeoutError exception caught self.logger.warning(f'Connection timed out on peer {self._host}, disconnecting.') else: # default state, peer closed connection self.logger.warning(f'Connection closed by peer {self._host}') - self._is_connected = False waitobj.unwatch(self._socket) if self._disconnected_callback is not None: try: @@ -832,7 +840,6 @@ def __receive_thread_worker(self): else: # socket shut down by self.close, no error self.logger.debug('Connection shut down by call to close method') - self._is_receiving = False return except Exception as ex: if not self.__running: From 91e1ecbbd1f3b2e598dd12fd205c54af981e80e7 Mon Sep 17 00:00:00 2001 From: msinn Date: Fri, 18 Feb 2022 17:57:15 +0100 Subject: [PATCH 07/86] Documentation updates --- dev/sample_mqttplugin/user_doc.rst | 17 ++++-- .../webif/static/img/plugin_logo.png | Bin 0 -> 27830 bytes dev/sample_plugin/user_doc.rst | 16 +++++- .../webif/static/img/plugin_logo.png | Bin 0 -> 27830 bytes .../source/entwicklung/plugins/plugins.rst | 19 ++++--- .../entwicklung/plugins/vorueberlegungen.rst | 9 ++++ .../source/installation/anforderungen.rst | 8 +-- .../source/referenz/metadata/metadata.rst | 1 + doc/user/source/referenz/module/module.rst | 1 + doc/user/source/referenz/netzwerk.rst | 50 ++++++++++++++++++ doc/user/source/referenz/referenz.rst | 5 +- 11 files changed, 108 insertions(+), 18 deletions(-) create mode 100644 dev/sample_mqttplugin/webif/static/img/plugin_logo.png create mode 100644 dev/sample_plugin/webif/static/img/plugin_logo.png create mode 100644 doc/user/source/entwicklung/plugins/vorueberlegungen.rst create mode 100644 doc/user/source/referenz/netzwerk.rst diff --git a/dev/sample_mqttplugin/user_doc.rst b/dev/sample_mqttplugin/user_doc.rst index 18e218c0a2..f4bd6054e6 100644 --- a/dev/sample_mqttplugin/user_doc.rst +++ b/dev/sample_mqttplugin/user_doc.rst @@ -1,5 +1,17 @@ -Sample Plugin <- hier den Namen des Plugins einsetzen -===================================================== +.. index:: Plugins; sample_mqtt +.. index:: sample_mqtt + +=========== +sample_mqtt +=========== + +.. image:: webif/static/img/plugin_logo.png + :alt: plugin logo + :width: 300px + :height: 300px + :scale: 50 % + :align: left + Anforderungen ------------- @@ -63,4 +75,3 @@ Web Interface SmartHomeNG liefert eine Reihe Komponenten von Drittherstellern mit, die für die Gestaltung des Webinterfaces genutzt werden können. Erweiterungen dieser Komponenten usw. finden sich im Ordner ``/modules/http/webif/gstatic``. Wenn das Plugin darüber hinaus noch Komponenten benötigt, werden diese im Ordner ``webif/static`` des Plugins abgelegt. - \ No newline at end of file diff --git a/dev/sample_mqttplugin/webif/static/img/plugin_logo.png b/dev/sample_mqttplugin/webif/static/img/plugin_logo.png new file mode 100644 index 0000000000000000000000000000000000000000..c3ad05a451d9cc80812a081b8b9f829093484829 GIT binary patch literal 27830 zcmd3Ng;N~O7wrOzySoN=2m}f41b0~6!r~I#A-KB)0xTYMfdztFfM8+qV8MeW_y&i^ z_j^_EZ+KI8W~!&Ur)T<3ci%qeOuV+HGAzjl$o|Wu@96Df4{&mH_+ahFKs+!Tg&GwSR_`e+T z?j8YNjt*dNfV@0EgSL;2i=!=rg1f7=qZ@;Qy`7`2wYQ_Y8w1$e+e4g>&(_QSCGBf( z>+b66?)Kro>i9hVSH|vtMfd{kz1;Z(c=`E8c6x3B0OxvD1zCOnl|MaxUzwEyPM&e2UKutY-T%L= z{#M~LC%EORIL(6qlJQsk0lvxclQn_?Zkv%vP9v51SF)tk;oYX^pMj=(sTAB#DPa~Z z2v(?i|Er7?cgsiI$&SyDAtJU4=u&`9T_kVezjTyeKkIo9(px-}(zxjp?g^hmgDKYu ztWZ~pv;jbk6ud}Tj+K%A8P`Z>dO)M&5HSnCkt{~u!*^K#RyYu2T6QxGitZ`m9(Lmb zys7rqbIIy6H}Yi7gbz_LY+K2N%cS*hrURHz2{>d30BG45NvelNnVaGM3=>S@5&*6D zDX9Gb0u&YGuQ_3#1<=xPJZK3<-c?Nc@)V;Jh8tK}8`~Y<7y*L!uL!!ffHM`t*+yyB zw=qDSFN~BI1c%(M+kY$Fo$=C^)l9SOu+7OyG~(KiqNF>HMb0Bc9#Nhq>Nl=WQnx>T z>KCy?TQAd=%TUSc>T|kw|Mc}yudY%jq8;VobOp`Wytw2!C-bY6UKJKb#y3DEf&aU5 z>Os3sMt)2NrOnRo2458bUk;VVIow4Ak@Ij40`C}qyiutvr*7cAz)ccd_2GGz*R4FS zOiop&%W|C0R~kq9P8Ci8{X?iy;hI7jOxG7LJ(B8FUoddJJ$0uP>@%!oN(7HD6VAx` zvawxmcQjF!)?}{&fS+dD^ojr@#cFn~SOlNrAMjZ&zI_jk;twwe7x1_B3$E7f>hZV_ zMC_^Z_*{5gSe`tvrfisGRC*w3#YP|d#ZQXTeYa)F z+X}Pqt5ehJE2mNphig|ODd@F zAaBtL03+zF@PDO9ejRe`x#}wpaS3?)Y?>y_W&Xo`{1;Z`3ID<{GnzQ&9s#x6;Lxk4h-8f)b6+kbBC|VB9^5nDE62C1mqv0Jl=>~c=%xds=NS;qLjnp@0 z%1y?LekMSvAvhZ;%@v%DVnPaz0BDKG8|8Z6|vIJX9IiO>Qu*T>e7_ILQygDuE(uY>la*90cJiPyOw z)AHBRNl6=T7@7m<`6uSKX*FY4kf9w7{O1|e4}|gzlLMsa|>Ju@_loU9>G118{CPk8Sdf?SN<=i)Q3&P55!@< zEKd!t;Rb(*xWOvJxS8BS{Mg}N&|v_pYYch*%_;YV&n8fm^`3%uyc#^f4gf@Yl=aed z>X9>)>_`A|6Q%`15EP9^|07wAd}38GC|}LL0(@)3&45rF}~3@8UvI29BB$28k65QvF2v%B#FEb#4J8i2a{I z{qJ*M9qXLYQ+`apPxX=5KgbSp=FoL(*u2Q?Hyy+I>-xR+C>Igpdus7j@8yHQTz?B@tz7N8iZs{e4l*o z#SZeQ%Lxp)sp1RE*Tm(^K~d*{d(j?c2OBT*Lgr<_>1uG!%<1@7f&czJ*-s~`EMB~w zvwT&l@a^x^!Qu+CP4@dWDYBe!3*=9%@)H@ad%@3Xoy2_HyA%kmRztNvBq>vWQY8s= z?_KXUYUFEqbHK8>a8XFDM;4S0&KZ%6nr0H2qbe1gzB61V4#2>?$)VPeF;@vOPq|!B z@^z*~YO=MqFFaxRuW_+KzRCn2>=|f+S!1#Xm;sXz{Ps>A5v}#d?TxF$w?shE7_$6d zE+G(u1~nC*$Q*;8c_~TDQH#6IR5{xKBYAr+X)RfYu>0;lg_W<=mef?Mhm-itI5^dnr zoaL(GCXdZ4!xcQ3`qAZ0*R`qJ;&iPR{qw()PDTALKjUb_dSdmlUEA}EVmWLz&hEU0 znSpH%Tzzk;cUDHkFm7W@u2`Wz#e@Lxwn@FU9G+ldq#TYfZQOd zMM-FLS=1Ydf#ASAGK}-Cn?{rWrQO7+(6pRo{|pta#B?Oi{VLWBb>6b~Ew3{;z~Dzj zlQqGJkK|_Y;6~wAxv`L3i4>VUwOM0u(T{bjKbCP3p(jJ?yjB0#ic~-RDk{^- zP450LqPk3eT62Rg?d}MWcULFPZ0J#wB~THaKaFKj63q!8|I1d^@&yZKwQ-j~x8Uim z1L#*Pz7@0hGJ0AUc(poD`UsZnYIVccv};(Enxg_v$JKXW)}u8@OZW=nq%X$K10;-6 z#aH~U=ffsXmmHkvFr(GrHE%dg4!ozmF<(#29wYI*cIchJj>^sTZ@a%N3v5MQK}q)Z ztS(w#`2;b5X=H^U8jY+lKL#y&-{P8F$O}6^ZrKQZS`VIetGMU){oWSCxsb1@JlF`m#lxaYF|mUuG2OswWFBhgzs5=(hPHY2d{Fnr-4qBdyV$C!8ZWvp@&3{~BbBKJ>OxwvATsjM&l8v7QDioPz*37Y@?24+PI zdZ$!WH*K^r@TgwYRZ1^LGBJM7MOrP+sJYX;7*%&Lz@6u z&{Rl>k>ruep+hlE9z&yRVw1@+K6d*U%iF0Ed*oNwkUg`W`M2Nr=kYNjMCNxyo~EfG zl_ckZm8FrB*b7G2Xf|jGpnpN5lEQ6MoO*vWe;?ir|>Q!%hC71AvrS>U(~vgy}2X@tp;Gi|?N8ZEmt+ zE0cq>PQ_!tx)HJRjA-tBGGEk3V|V!0>Wbm9Kc^&ZVN;#YUpftbrd3ENl98cb>jkxjOwQjOjjDDKL7CTy8WMNlcMN*6X z{o|tGH}_sTw_+ds^0~weys-j};qv1?OP1W=` zEkc(Sg}6)Kg=YA#-&1c3f!pw5?}luu+}95~cs>l&j%%ML)so>%Mvw)iIjTt#<@)f- z=tcSyx=aS8h)rF$eGw?S(L6|`hrX&fHF+kSQ_SO27iv8fTi*MKVch+8L0HWc;BqWgt4sbylT`TKWahMen$kbwg zpg$a@x97jtQ1H1YFZ7?znoNI-yu5DM243q@$0W9}2)lBZiSf5NbGcfwbzt!3VGb+Z-g_Q{lsgdfLuxptw zE9DcNbotf;qhsHwvr7U(L$9a4{{4}<9a+(N? z+{sBhMG0i=)e@220>v0H_C2%|>59jq)YNCDc^??OrKB7{N^6>7q!YUDo^ck{@JbUI zWiBc@E$wTh^boUDlH`qT(l+{yO2Afolizm2jpkjbDEo+IyMY|sHgAu6ve7XRpX`Vr ztBA`$Kuf>lc^jMhg1Zfhh2?akhD>nyY_ItP*1Z;rl+L66Z!l)3nf~&Yj7~Z7qR)1~ zGrOU<7qhf+_-Fy0Mv~OMe$TpLwsK1~laxxX-fDu+$olF-F?ECznAS?@+ow7j>Q123I z0;Ys8<0NM#lo{Y)FqBk>zF7;%>+u#OMrm3@qUl8ZIhn>#{Z)zkwM z6b+a>t$qswM0H0kxn@F%9P-SF@<6|hRRNe9GIn)MC9&`ww!)bqej1yA*ir%?H1%wW z#1u~~p4ZrkN!t7o=mz12p?zX72KLNkG1%<=ggn=}s3NFLw5y&9HXg2Si0L)*?uYQd zchE0Z!`Ud<T^4U# z;-s<=Ra|Z3Cv?8Ql+?FVPiJt=t3+vI3Ad>$NLUfcl!;Hd3figu<9<7aF)e8WFpAS^f!W z4u*(jx3yj%1!*p*&1fTZyKd(jg7&mA2*@tnM65h%RR=!TU$)GbfIJ={wQ#w|5`zid zq6{55G(G>ccpp71mJeLumwPWN{;sGYHDW`|`l96UrV)JNN5>VW2Q6NDjYc|h!q&{f zz(+$)HrI{O^J>RTmo}JjKDvCawfQIF7gF3mi$i)1m*_iR;%|JATcdQHD1NODymV2Y zufAY1(E!|WDDV6hn=2YfzDQM+>1JHpAnlC`dhxoC*?1;8nR8uPkF{C|NJe1b4S~5n zpX=MIAS}-T+VGJnL@X=Zsr4pyIHmQ|gBq@Jm~mZf_BzN2tkW~EhUr$5Ylxa}4mOz_ zZ6dJ3maRR!gvzL3PH9u(v3e0oenf2c#Y6}* zF`umOXY*)@f{rIROwD*Yz?cDDEyT(*q%^xis^a+4>ZiHHvaY`Ildg8F{RKy^Uu!U6 z=h5B}Q-7jMPUw3kT3}(HN5~iaS}K?}kmWTo*hry8evar&+M>?h~)F%E&1vY3Cyze%m9bRlm@+qi7>>p5jO6)(eEn9}=-Il(Sy4fQLerMGAwtkdQlb4~g zei4?XoK6B5qk)Q2Dijp@J}1@Br%PzqLKal=b64v5P+)(&oo7P(2P5`V9yddldXAr^ z+8Le6VcKY;vA!PIP}q47@WWFNDHzMi;IWn|AhNc1@;{B`;?)tHMm(v@uX=TSkCl%=8 zbvlIK?K?5vdL#8OyvqmjtNy3=+^MD*j({aJNs36|M34G*afk))e!N2R<+4V+s zx>2oR&*xrJn)rLhWVfLl*De9-w-G~XL7p~y1_u%bUM7t+{f1^A`+_%>;r9y2{T+T9 z)^;|g*L|AZwl%E~fEjr#Naitq8 z(E6LggjK;}1Zqmzbk*5Bm$+d@hiz)4$6KU(By}R|bQDQ~pPb>BBHlBmZ7D4cxWq&f zJ6;2;`dJ)17quK~cVE!}(zjPAUm@$^_Uh&UrtqLNPEGlJj{V>R{Kh_8x83yguXJwW zut{F)K?Y^`5h7)~dB$(2OZtI>u5g{+DCYcW)#040M!EN{4!?*P3kMyWs)XOMx{)qn zyMeqcj|AnX*8u8SV2Eh%16B(6sk~?hAf6-%*luO?Y=1M}w;mZHS*1%f)VMAdUClkS z#P_hU-t#UugKm`zJ*x%|#b&wOS)_vf33u`7i@B$NXYC~HH^Q@dbEzdARmIgBE9oGE zz}ZgbJWH%foedIk%aC{^7Tjdh1E0tB4_&i(fGuPQLQh{`?=-GZ8sn`1qTiQldmyIwe~xycKe|gkF8w&pv>P)V z(qctD@%KjJRexDNiCn?{P(#2z>f)#J;P; zMQQ{WfoD%m1dqS|dA8YmzxwEB_QPCS_{+|150ypUHh>>HWlrjmfb4C*Q#k%?mv5vT9(aFz^KtPdLBcrtb?uw>bJtX63&j*>dprh2Y$?yfujMLJhjI&Z8IGi2gIa0oCk`%##Nt`cQCHQ;I;?Py)i%cNol1I&?U2s2 z-e8{2^ly#f9@zwENd9;@8xL30p5^ABPo`AY4|)!#*(|dBG*iS;lA(6A!c-t;3~C$q zZ$@-o#DR@*as&UAf0s*({iSv2Zr@L04AXm%NNti8GXsEU$xCaaTZTikajZ*SDh{r+U-!r=);0pK}v+AAHot1F;W3 zH{c}|Vq(PPEXf)vwXQnC3k?=W)uB$g0r51mXYaH69MHvD6i0|2ns z(v=yCQss81{bu83}YHw6Ca}lXm>8iFlLRT`$88Es0d?fm*Gx2h*^Jy@T%PXwMAanRupc4 z+4d{LE%?zne#B(bzMVu@03JX>@+sUoxuHM3R}-?A5XiA$&?7`R!Na}2fn<2k%*y5B zHx$`c`UIb4l9BsSe|ZTA|3>j)SQq@he=bnIw%XZwnusN+tP1ts`UNe=sn06P&lvEm zL8*JAT9kNJK%6@_(nJR#TSmfoxp?%w+<18}~{WB(+MzR%)Co976 zcX3UnAOAbG8}IPeCt_6OD@gB@dP6JqZ#38%7R!hoL)y~q8ZLlDwa9y(-IVd&hXoE? zJc!ArilzJu(D|2&Au1R^esBz^rLC(~JAYecKINMQu%i7YeO23$I`s2nqGvFI;~l1R zaz;X_^PAW2K1gk|84sH}6j@nSHg_IE!elKdVQ?9Wqa2Sxe2RRRRTB524V(aChIFNRCRsx2s;qW+sATMo1GL;5?& zE;N|5L6-E#lsvk936Pk50Qe5^HFOIMahH+Xjbd$N<_}m6mFPJ6{DVg)ftnGO?eI%` z$UCtKX$9Sg3jlhG5rb@*d_eb&UieAUtV*vI_F{V(~F>;2oK3l%pmm!n8q z@eH|QqsUzQY)-CP27SFqkGk2-&T_Bgnp`EVL;tNA1y0h@%JxS!@r&4k!-fqR5xWQE z@MNI6DwSK$9rbW}%?gI`)6$lR#k1^Q
  • QliB@i$EYTjh}@GUPcXf*C~LSIpeIk6 z?}?Z(7@a1Stp8Z4I&aiq)1NJI`)@%TQQy_aaaLh4JznN zfu3o5w_f0V!v?EjO^3DQ(*={;hR8>@_l9Rzx-59Rkz2Ok&XM@p1?A=Dwg`dd7{R-peWQIa z7HHce(ft#3sMf9Gga<+Yu2cj{kdHe3UYr6j3b{X#Bs>5d#~2MD!U#ZBjBU&C{(Q|&=k6-6uYAPkS*6GtGAw#?Bqxgi0pF>k&<#7v!H^ak7~>$Wewfr;+lob<4H z97pKIT`6wSYf3A9;rG~dO!-Kcl0|=3)&G0}CF(m5F@5aW$6p+!GMSbON4+*S$2j{w zgef3W-{^tq-gUy||5Md8_(-ILo70~SGuRAZbkhTqfT?2orj8L2_M<|@zZ{NQs*MQY zJ|Am5r==v!8}t19Pe~?vqyI3UZAnV~U4Jr&7UlRz+Tdj6 zg4MU4+JoJ3o`+!;@_JnqA1c8bfLNsSqzN({k%qeko5a&!8t0?Ya>B-7{`dLr@tmS@>FTIWr zAkW7(zQx@-x0vZ_CK%Pv#}5o0G)2GjLU=lwyT9*c;q{rU>e*vmDYv|fol{N;K86c1KhS4wn}faYIJe}un211UM&200QXBXtv-z%DzIMf`jia+sW&XH9*JY0jwvpa-7a z|3%?;183rupytKCZ_mk<2M;LbEdqF)0YV+mlh;L4QAJbHBW;odpX6)7tbO{%0%X)I z>>D!bn>rZLvpW}XSyk}895_3sZCW0)67ttM#_;Zh!78-D6dnoa2e^lCp6fx7_;Bik z>|C+x1sNuSU4E+H=j0t~c6-n*1m=hIE-um=c1>Rd=&BZd!%_!xgcTAabnB!Mvy=OV zI($4;v|9FUl$V6zvxfadz#dl0EwZAJ-ke4HPAnchZ0x_a79iQus=X3>Lc1xI`lcLh zJMKCV#GoZ5@N?;gm1~`}H!%oxpUl`8tcB2R_qqC8ovZ5u7DF<5U9!NLSR7yun>J;+ zo1!uaJD`F!<3jrfZP0G1>f{l+UOGJ_;5dR3^W)mdw({L;n^cN%|Na$#aiRbE{|agF zlzeGNRpFJ#1_%hYLP3_8gD(Muvv$wC01QwaD3l^8lu3{5j81PzDy=aEcZxm`X)tl! zB?8dm5oOiB=KLT|D!%^qsAB3PS+)*eJt^q#p7+uKH7yikU%D}GgVd%1H=L753^B&x zH4%JaHQJ*A^~RR=kcFK7aYx%l<@@fvvW>c}7u3uC)un`b;R!8bHYb*BT&7la(O?3Q zh`9rcxto-9+B*>8aYX_}8wz}#RKi^94CH7{2y|?nk##t#$bs1ZWL+UNHk-!bn-4hA zsa5JTsXfP6vuJ){?ep7O-b3tHGd#K47{y@aHL`PSPR+RWzCbdCmBU{@TBes?c-_to z4;Jx?inX|4RZ6p7O3~o_WqAQm%mNIeIW*n z(k;B!0S+G6NhS5MiVJ(=4$Ubq061r49c@<>vnbz^=#kWYx5mqdwcsl3SzYj3nMj?R z8@34T8>`+}`DmDp+3Z_*tGH}HMe9Na1KDP26S(JhDAx<#ui0ZmXA&#(^L{x&V6=J!hHMEVpDhWWAlSf7r+TYBEAM=LDIro+|wuF zcSV($aHnKm>!+EMNvTG)_EtPHtJY2tWUl=oCn4B(h29ZGwMv6vL;bZ!X9n2H{NVQI z<$Y&3a-Fs%s=3^|Mi!SF-~@slXk6*MD#X~|hMKdZQ}^R;s1g)zf09ngU1y=?4qwY) zy6y^_*WvR)2if6*kc|;ZxYnr@U?3NW#VN%CE-F6bPLn$UvS8g4oUfGPh%#y6eG)e@iWn{JnUz zjTrm?)ZVLI0eTgr0izS5xX;wZr1ama6rVd`P*@#)Ej!Slp0P_?&tie+Qwpkauh};& zyzF;wv$$&58aQ(XHjV?dJtJS5mwZ z7+du>byft%5eeu`vD?RGYSq-i#;r2gF=V?~0BmYTczhU`6qJ;%!*9eXpz&F5;^&d` zNvK$|D@JB`9k1W>T4W$C#K1G_?35j8QyCC0Ihe}KJL)hjh%o`@N9VKA1S}HuGyPD@ z{f&X{!48(aRd+(MsyG$`fZR;O@gVj~$lRa@?(C<7H&pg-HrbD?#$XB4;}kQn1FCu~ zo(Z+0Yi*K#$zz8s_2p2ZEbfa3-_5q|&1Gvjjw*OnPlY@MtesJHTaoKu zI)<<{(u-(-l!yB@xZeISr?Wb@E$&Lw1l-05#oD#6k;UefuWfmPCZQUeS}+@(Tj$Hx zlKH@y*oBOGvdr}PgxkwM)myy#>tbzBE-mr`)Kh|vN0964SI1u*>;EgGl@0Q1QRda) z5Ow`9qSoTm#s*T3E!by~zAXh6Ja%aD8uopdmt^y0JX-7vbnH@^+G;D_|D@C;evE(Y ziloa}T0Zy_VHj#hougixRH8%u!fdcWg{b?z97$@4A1j~8O6;qG6dfL@DF0c0NUXuk z5$>zb2y~=IPV_G5_p&B=32R;|1C7_dw|XH{6BY$t5_?^3(eUQdTl@37g(LLjzm#o2 zsF3X1^3b12#x<`Q_e~~s(=lXb^6-Tkcuf^vP&BWHd}o-Qau4ifl;9A}Ed`$+h&X>) zJ?cco$PHic0P6(R=B`8pn)+gj`MXli13uXV*6%FuKzD;>92{x}4&X%o&rribO$2&Q)Hbhz#p*REZMLTEzeLeTQ$jgAYANyp= zm~ilH!CxzSG+te7u6;r+g&1|;PKM(mfpA%IKPjKD#?8p8!*72V2gL3cw~THiL<#CR zMd*}N*Scu32JB$;Jeaw7@0NO;fRYBPwZgrorLtFZ^#({fn(e6RbV#097@Wp}r^}GlHwA6#b-El#37+|H>rAw6Qf}f$_iO9YNz8 zD5SCzUp3CS{ZT1iogq_T5g$0zmXaKO1KRNo?69d|y_;A2JNBlI-0BdntzlX9LhVyI zP6-aC0E`Pz4@e7UqFWdT9Gr0TL&&SUEtS|U*GtoEN$aWSP~M4ro_(T@$^?Wr@V}9` z_PE)eX&^o!`d`zMvd^cq8{idnib}uoGWpbFeQK-g5*4SnIy*Bh7aj! z1Nm`|NF1u`5*3F=5Bdcgx18^h81{A`XESG56x{&*RlZh1DYdSg;$>Mo1~$TelEF1> zHRH8f8@pWefly4TzNlZWj5ofBPiVgERTksI5#P9tS$^?;32LixUo;*n5hXCeA68#@PJv#!&OxtD!PN$s~?dX4t zY#JQ;c@AtAcx<0BNrg?|dpdbubMKonG3NnQk@dsw(sKh@_?6(g%(|XA|8fI?asDSq z%jxpGp8T9T{u*yJ8}hGhsHmq|`iMT8rB2O-0Zw0Z-#A^1sH~C>dhz74-T6zT-Bl*rN#FdYQLXGU0o6R9zGE4SL4-T4Ov@0L}Dr$7wQ%a z0I5@jFK`bIa)}O{{IiUcR|C3`^%HFy6K1_FzZsZL`n>Q4H}V3jOFm%<=k7VUMQ(SymD{Y&-SUHJ z8mNh9L=CS(eNfH4FlvvOv4Jt=>ES&wiWq4?yw9V+*lZ+wPSLl00vM_u7=*-Bu)4YB z`E(_QG=ii~V7U&Oqe(cdx`A(`__O)Lb(P`MQ=|y@9sl-obVAujN}fQ**$~H;^VDxO zG5QMO6fjhCaim4^vl|`0BGo^9<4>@9Xno8b%Kavi4wHOJ(OXG`s#r)}t{Q*&j zQPJWmT`6R%9*Z+8a!sku;rZ<*@%vyeK~(z#x@O|4fv`11#4(@(3GAk~1BqJ^u(ErI-amU)el0kzN?UezNqV=_B*)LN6 z?I2Hm)1y~oI8R8ZlEfDNL3aFN(#5Yxw>Gh?+XWfNOqQJItWZs%<9_a6%p-;q(E^;K zayVT67#op641P-}7DQLEq3Mal4#b}3JyO=XFHwLxm z@YH=OF&OUjzy)P@mTa-i?7U6shjXf1{P^wuCevtb(UnLvjErfR$H(4PzIO6)adg&8 z>%5-SD!Vc5=t3wVmrd@`nt1!(F2|LXzUB6Hih}YDsMr$M_&tB&YB#@I^^-`sCdPAE&RzWw9V% zt1rSjpHJOM9L6nLpDdjp`p2Z#`kLc_1M{gDOqk3mKQT$!cj<*$)L#Zq(Rdr1Q%0yO zFZ?!|j4;ZYw1r{+8|RV-6>jZS2*Eb_Xj4elQuF()a+Nd0mxKJX!6lx3GBI>C{j|0u z14t{dZrq1n;e(Ic?b4GMh&CC>j62runQoZ=Ao!;egRnhA)WGV3!T$q zg9P+O3FGgJzc9Xx87J^}sRsRMY{ngZw-cS1EHY`dm5EFdLcFZY$Aab`Nz^$iafaYZ zlRT_s`vNp!l}KMZMXrNe86%OwBo+mr3fM9ehbq)S1v}X*L}9tz&yNGI*{0|j(Ba~L zZP19O^wFeiP!XC?}wZ;_CE`K_aFy$^Z-Q#Qe_B81ABR|1$7i8uoY0?Wcn z`GW?y;`*7fzOI^VV%%l}+=Hx!!AWRV%LW@a zCLesC3+JlpsS5T{x=Nh{D4Zb_%~L~LZq4X-H#6ay+@^&^4C)Y;!kZ>_hb2?dR18u# zKaBy-*SI8i#~DArE}Q;xFkl5M`WDv-vWHS;=z>8(o%Z~a31W19-hI%8zdk62`s`in zZvC^WSy+fgVh|}+AuaeeTL^kE-(vGHXs?oBk$WH#>Q0Zwh9_4be&BCHh*Q-cO*mTv zmun*6Yh|dj!Zh@xi;WEs@aWM0HRHyzjZ4VP@=Dm{Yuq2}G{7G6E}q+8=o-Ab@3ZP>6scRgGFV34ul0XEavl9Mh%p2?DS?+&q@z_a`4w6z zMGHbsPaetooYh=wuO#E!KF1E5;)9@o`e+ZLGDbc-vgkhxB|sw9(AbMcZ!Y)|kpt5> zUjL~rfn*|l-v$wpGekI>03VNvC3s_HaLeP)8nB!AZL#m6_6=q*1lpB*n4)}^z zzDLvj9m8wWLbaCXosz zI(^vhkeW+^X5vA!JMqRUnzf(vS+Wcjo-Ya_1C>Vd^>D+?X6HF~U>iZfl;oeo?9Z|1 zU_5Ed#7cV*;hK#oG2ft-X*OnpVD>_DOB5K5vy(w&jtPAFLdx&>9ng)(G-5|b_!NWd zA;MKo4TFL5xAA99CQ>ff9p;LiS3i!dsiCDWRZ23xk@SpR@!tk3md-D))W~A+Lk{D< z>75NvBh|>f{I(=@`Q~KH2*8|X^WpGC=O)u#Yv&ungZ=fG6PVZW%A#_0lebRW$e0jA zw?6=U3+wHY@qZJ)podvrDlW>GWSof?EXQw7y-8KKiB*S#STs@lDdf;C&nPnxQT6YH z+JVP= zQbG83r%bTP=r)AHu!`uggji8E^%wx$y|SCck`ix8m#l>{ky~Zw-kls+w^G5lv5=JJ zJ+f7Ms5`pUum9tsBeBbEXt0%S@WyYkd3in)@T_jbn~@NQ?S?LVIow`U8(}1}tE^VfOkvFX6>rS-SpdX&dCXBN6#U%Z9DUyQC^ zw{k#BIiZ5T*ho9Qs1{jVApDkV(DETXSoN-LbeVdIfqjHqn+|b)Fd7h3`+Z2H=)KR? zA0wl)k-j_L_gSX=d>avv-7bE@`&ZSa^g4&a;5^01DcMMJx)5ZkUQ+Q=%SAv?Rdus6Ixb&aie0?;#&>$UxW+~c4 zZLK2}CGR?#)UEkn_B3HOlw52!a2pBBL5X`9kOa{t>3JY9?cU*%BaagGw@y$OC z`U|B+BXa&GqKEr#yUkxX5x{e z1xN~59pS_IvCC}H9x=~6H-Ds`XpRo(W#6`91(b8)qPz;$1||f`VlPflv=dvqNR|rL zt)+VC2}3`sN;j=luSCr@J}o_)QuQ7Dd6fRw>$-$nqAmd{!VIWD>0~V#6;>eEH5R8D zzDl%KKQ$egouMGImUPdiUJ3M;LgK;X4w8HjpN=x4H3VbSX+uY847&%MaO+XHEtr9A zO8=*@uMCKzX~M+a6Wl$pXprC@G$iPd z_H=d4l=RcpT{XFknJyg9+Zlk(T}oE==oM^^?`WIyBZ;6*b*Rl@97N=IM8BwKMle=10bX)ZbgHu|!*>oM^6q8Bn4jZL=UjUmwmC$`(S zsCIkZeHm{;{k%fl7@pN^D=v4zfLhEN(5(;pEstcwsSmj`lZ4;biEl`$ufAG}K7 zx|Txg-`xshJE9@{H{ zCO9)4ds?hAml3OAqKhF6BV_Q0Hs99b)>=vW6{zOTqur$JS^V&3_DkOx^`i6a)>t-4 zx1BLDCM#@HD50FJ*BM==h~Uj<(+Fiq&{YH$yN^Iwz8!|KGvR4((4dUxxLq^7##DKt zM3DV9cqFXe>FJQ*L@zwQz~6IXQt+b(=me}0dL=$VuLx+@r-zln zVbCINPjT#H5>yUrmA&4e^)>t5d3R_-N&jr)%?VRX; zi58pb<9~vSJbbx|{^i7}JtqXgnb0WEIp9Frh9`X$Bqc(#=*Bq=C0e_VDt=+BL1*6q zO-X^K_`v&N0_mXZyX-%YcTvh+nL%LBj{#Cpap~G3*4_rD!5K4 zR)83Ja9E*)B;n{>R)rf;z%UX&pA=^D)3?I8WOfKVBfMrwj^1LJgSw;XWc1*X%_0Wk z1~GyKDvmo-$K>D*YI;)*g?zYnCRg=4jc9ZxIO;-^7z~Gf1w$kK!wb7}o5S{B-HU+q zWN+o3h^V}}6Err0BYd#-!Z3Lo9NdExmN6~(FmSj>k_-ci@*Ipj#^LIU47Th>)JFPg z3n2`(pX5Eso9boF`EcDXkj&37r*|?2j51rOx{?=8ij)p*OkRKaV`Ib8NTD3|VNYa$ z_6j+=G$PyENdnt_aP}p-d!1C3q}E)fr4#`GdXuHt!%b7o9DBpZOPvBSgLo-M6*@^) z6(X{^Tr*>C(p7A!7A$t2S1t4HKMNXUgd0Uv`Bpo4X@BcKpPK9JoWgmdLE&)x!(jNM z0y7z;8-rvO!*mtX%fUIv(?4A`tV?!h%EWRYmRD2fAG02;tQO-#@drh$VCL1`MZo)X zSTq{h1_kh|`C6)MOMK54BV@Unyp#aV8}<}!+(lLE8Z34rW@goE5&vC?)gn3s{B?IQ zoWI=!qMckkvOJ>E8M&no3mfbmt?=eAjNV}D#UAY)^`4b51O1|_h-$6lZ>$Ns#K`<8 zEfNTTXZjK!9vc0FKvZkm_d;=>QrF^TaTD zMEG2N4V$ECwB%S`QA#3*HhhCslAx=eIv~-#mbnPAd>1LY2BAFfjH{;%rZ_f-Y_0A= z3Lk)XgbC*7Yow4aAC!3SGW&xB#*H>ohY;*mH&{PHFQ~2eC)wM0jctVNZVticqz~;->23fR+32% zz3tZTYx$(dRBR~@(l>TI{jmKtXTzpUPp`AFrGY6N4;#9#!-zZ>G;Fcc<0AV8BRP&TKZcn1j>oF9~D zD~E1PKkyKcf(fr&zlV`=S)v;VROOnDD%6}GTn2$uXN*3l7@2)^Y>)++RnJ18f9g_H z;PH^~;NvR(27mrsP}8|@e^M!4L5CzyWU4>C4B+&gkm~{XWrcCTDLDtESOgnF_sQw` zJHly3Cioh^cfLQN1o6@KVrxSQ*?KWTtaE?O$lAgw9V~j_L}$I&9j<<7ygQmg%jbwQ&oLY3QXF%F+ThuXl32A>c-FhrP}+#0u-XX$u_ zd@6WnRd&0b+n;jZSDwG5m`9AxM9;`Boq!t@k~|Vmxtbo`KKtiX>HQ%ogYXZq_eI=( zBm)7EyjQT&w!Pl$I2-2otETHp9M;T(Qz+f{wKEAZP3-~rh&T(h(p5kVE z$ygWBm<(y=SDSV!@9v@mm1}E<`@Q{Ty2<1HO8o0ojM$5Zp^$N@JsCxJKW+M)SVI}a zN-%(E6d)Q_8rb`~9T;AZbCMx$;AcA$DRax(=Iu;!rJTpyC6Uli!+lmZK7nx-d)s{@ zvHhp-mF{HCJ>J49#A=E%&Lpv=;W}*i>N7kF^Q@P z3=K}#fvteZ>0FP5+ra^%D;-gsgH9>*-R9OlRO@0ffDjHMf*d~5VFqP9^FE?hTCRH5 zE445|)0N1MDIkAGAEyQHQfi11DDM>JK;SKj2$4vBK%LZZ)%7jvI5;-ga%QGlcYb_T z%<$RvuTxpM7`#>5+UxY^6l9ud3k9AkgUiRyS05W~-*P#(luoacq{}V| zy2xXl`S5Li)}`+KLJUoYySyVu1|0nW0+|wjL?81}19t*sAuulD?7(r;{rB>sLwnic zxpLHcFq0vs>;2v``GKc`JO0sMQ`p<0&pj83^D&BDzu+!6$Jf(om{Nn2Yyaq?$pkko zz-n8auv8~H&UHpln_oXFh!suB!b!%3Af%AB!36HSvG5Ssw&DBpiYWbdG{yYxhL&oF zUf-u-TU1xubZtssRFS`E94>y$oBT|RjcP+Qd&p7eqCXHwNf=yaF!_Z%vSgiyFzQR< z&ZPwO2^OoiCwjYmT==jWoWCFfkLS667sYUmtIuG+f5?cdY1P3!?4BN)6NtAbr(Ruq zaCiC6Vys@6Q{!GxOEJzAYTe_Edng?%g716zWRjRjawJ5_iTfqd;xO9(^3!#E>YFM< zlMAI>Qk|Ok9=if4u+Sox5O}Mk69cE(O_=?>wJz>ny+rt*LCMVD+UA-!C{t@sZ?7W% z=?oQC!K&6du0Hsn3=_F>n|NXw`4GNlracskzM-;~(jK+1e)IFQ^>$C#x$mw@xwdO* zXt=%DMVvnvC`id9KxN`kykTEE8yI>qtMLxX3mygwYwO(-nI)D+X0KdGa%Dd@5;tJP zu=`PY-PoNx$x)@XMxE)c#AfO=Z}eOsBsTCQ+0rkAdy;}1AV7LnbEfc8Mdxx(n;1a-6#T9Guc z_ru(9u6PTx?}b>q1PM}r{gKdCv#a%#0d;DJ4$7?9(q9)863{95Ex7u{iA=TB`b9}8 zwtFXQKbJWJh0SA6$4^W2QuLL&MQbzCQ9fT%JsWzm;sWo(f#Cpk@#qP#G~&UZ&zT&c z!M>BwU+iW4fnA9L9m8nAc&bRw{miVtxqNyzvYD|N`;D@{Dg3WH3;#gC6Nby4p}2=O zqhy;^%;5*qj$UaP-1yN@BKottP4ZZH0a`8Xm(WDE(TDA+7i*D>%Xp$6C4Ktj73&UC z)^DkFnLlNlrz2m(C_0~0lAo!UVrN^y8xD;Ym)BZl{u!v(cjVu0Z81=G@X!!Gs^gij z4*2P<-Y(jQWWRzh+kz0^<*(L@KL!2qTSD;>La<~5?aG(Ihr<~tOUfi390JX1^sAM_ z;_72g!F5em0V(Go|DM=a!JE^qTguG-g&uA9U&15ak;J9#gL1qs{S>Qvy_ zB0R)WFC_B*I#q8n59|ys`zPZABbVqj)Xw|vO0#_&?+=<0LS`w!IKgniDH0G*q1qrSGoBcf)bPrm?DqR**g$Im2ofu5G~|WO z=24O!Ehu|1X3azC_#Z9|g$0#us`*k49~GqH(i4u;aQJqUQ$-s(H??;k^RJgRkO^Hv zQDwN<|Guy(NE7=Ov)=lbHVmy@tWB{7tjONS>9#S|Kkf!&Vi9-9M+xx|KtEKYbjm}l z1O}$Ok9NW#luk2&+oUDB_(TMRNP;$A?ax*Mx7to0Uj+A7eYRTN36SoHSQ7G9>1<15 zY-bg17kM0KSd};3g?{&a{Tr_CR&>3fY_p(TUNEyAYx$2j|Tbw->B>DJNh_B0W5-P^(jf8lR?JF1)b<71}R#O?C- zt&UkQcHv-29j@1?!bO71_3t5qy%)Pn_%SpYB_CtnhB@X2(~qUoccw`m=nHyv^eTd6 zhq9p`_F-t%x%dbpQJD`c(OlFZH}>4Pjh~_vWMFc5a7+CmN5f^y+A`;)2n0pFasWfkAx%C- z4KE?yyzh|ygiP(lq@KD|j!f1U21`gKIi$5v4)-`|CO0N7D2ZC`>yl%!tHH%?uVSdI zd#GmBZ>4T5S@Pk)r=QjQe|~gE@jbtGF$k^RSeif#v{pkUTgZ!(Tp%OuwHTbl^X*kj z$?m>gtadBwH@s4U<7Xo8)5OnBi&BxDzYcu#+Q-nq1yH{Ew3AA+>(2S0jOkqb2z`29 zFlPZ3f*_VTHImx8y7pxB6+wYGE)n|#)fIneV~0pFk%htc*N6G!xweu93}723bD+;Z zoGon+on~lqkk7zWjn&}eHA=aa6n#)AEX;Qe4xg|)AE@Gk=1uKCtjx85=*8YLgKE#c zA&+K93XOL}E9Eb1i4yTl@7qhBdY&}<7Q5C6Vmoi^w7)I4pJ`b20tJiyKJ@!}s#+`H zGScC4kbGGbfopRfOJ*+ly(jvH(O#@#1>E+Z%(A5Du`Kf{+}8w;sdXDtI6VXrha{;G zUY}u$=z)?8j2lGoZb~gWJ+z277z-Fklws7N$!BJO${U1~cj7KF<1u}^HDlFJi~b`CZGg~drn<(-3;X1ZWD2JSK~e=p zK}V_GwIv4ILW+vWYBs^tV*O@j zHNUNbCLcnoEaZUQ7*z4C_Iv->;nk@a7u-tM@}@a93x@L^`0dEGuruNFVft=7;Txsf z;Fut6qdBZ{UYxZPUJuvrpQ_i+#isQ>Z4J|?6`l{QnI6}6ujdoT)C0KWRgkPN8aSVPwZfFZTZkQ0HM6rP=$g$`#bE!~6kgzaG)VOGJJ+tq20lP`JpuYqU8T{RWRVAjTpichiM7E>(@>Nsy- zK9PuEsKQ^~>b?E|_ELCl@V{={inBdsc7;e=*Effi`!Sm#g)J|0GshI=S9_l<8f5z( zR(bU`yFGl)VFf9Z@UM}EU2L78rU_p8s`*ovH26CnSfEYQJb~&^Ee*_$_x&1uZ4c2~ zIa{P-?&ZK_WVB0M8%0UDUSdH`01n(+oy=QsjmcB>B6SD8g28=C(EG&!b`(4$A*An! zdJ-i65JTGR#9&~gbMh;1- zI8XG(CgO5S&Des%{(^oeGf^f{G7`g$CI$WcKlftF{BDl>_S_BK0a%=H#MZ}qMRo?bh%V43>9>+R~k8tXy@MbFTYNlE^SJh(Xj!XM#i_?zK zzW7eBGo0uv1*GcYJ(Jjp=lz|bt#_|i+QvM#2y9R}EcX*h`3}}0-v>g9S4kUj9luB}E!8sgXP z#(H$9?p*M>u1vk(F>fVb#dEplSFz#mgL~X=9@D1|K8+*Rey*LV3p4+SMw|9YxhhCl za9Omcl)W9a>v$?)Zj4bcN7s({`9O4@AU9zGO-KB8q!8D!%kB!AVISCRrXubs7nCwFr0=BCg4$;YY(>E|vI#=rh79=^pSLJ$Hn&#T6P z<6gd7K)l}SM66Dr3fbL|&nGzP?*5i=;CDRlkER(x=bf|C+NGo#hO z=mYl-vl-u@;z{NUoc(*Cr~@b+*~@L4OkP&#zJC=%oEOhIQyZAvZtfoxB-oKIOpOY%)pv#Z z@iv03_(5dg%AgdT?M?!Wc*JZzJk=M+U>GZL#~ z;M_3rGn6>R#gea1d`b$OJ)8_V!noX3nEpEbi2L_!1t(>Ub=~tWDFiRS1?IWLH zv$IM9swq2GdBT)`It1b|N~od%HsFEoL4-TmfV11#$qe`sqIU(E(87kD3!%`IBMM*_ zPb+zaLm*)#lu$X8aJC1dx`u%8SK2M1Dn78WF|WMRK?%T?$e)PQTtWnRs=HjOYhRq^_6m8TD1#boefuF-#R!YaWSi3^ZDZuyC^Z5W266D82Tq0Tx1MXMXMbyh3DZC+q0I=*&;fYlHQcI#P18 z6XC351f8!nI1tsX7wIIasxcTE@)riqX=0M?jPQ{&@x-jVPHHBO*MdI=o7RTnNLshQ zj-*`=S&WJihztED=Zm}RFHc16`CNnC{vZJ^j+1o|0i(T&IsCW1s+oQZbBX7{V}z_H z;xap$RZf{qD_@G34zRJxyLAO0cP8~kZ&saZM*V?IDD^}?HMo`!3W#ll&zHo<#Z9sm zbX8`X%m*+fSZr_h=7b^?i=c%)ATnV2&_X|^oC^d%ZZ~sf)m{l9s(`Roa1?XSoKdek z*UrB@O{RYH#ycC~wnErM(N*I@WcQdr)SF<<89}EV@@o0Wk&ECU~HjIrW&&K=z zIJ?HFTtN&Yx~mBUkcl#`Y*$%;Yq!4t(0ls8eVx1&-Wm@6wk6RN990?sRLkMW))A_r zh>y)SU-&@W8$k#1XzX_6A(FBGJq25mfU#=NuC&0y)M`eb|5bswzY2yQ3;~&_tM;(I zLYVMLPr?b*$M`cblAOKs*vjLti8^1v+G%9NCd=QB3dkBj|m7i%6D<)uxbpr*- z9y~Uww|*!k%6x6L9=NtsUxdWKS@l!l)2OU=Qp=D1S=rWb?7@WvdSP{}QssxdFN8ocskrFb8 z5}py`?)m$e~b`3|Ixrr#_))}>JXVko21BJ?$K5QLn;}>pwZGSTQcw`DsXa- z%U__hzVKi0LEq_;5HM@`fDqp9Rt|U8livWLI|v`So$z~GLm*sk5Z0nj^wAGH!^#p2?e;?cDkOLCsA4RRz`)hH#KcI+P{>|-EP~Z+Qn6V??(rIk$T@k zN|JQSlrGkjiiLG=kB&qB8#DStYEj}5Y<;Ko1AMtMdDO{OAppzk6Ej>kO19qA{*4?R8?5d>b9JiZRZLrpe(-!g)v`5pQfvtroVUUZQ@a@2K9`5=PdC%Evfa4BrGx(2+{ zr%wjd|9w^`etZA8$P#$AD%)H<;%4CbnxneQ@ytTIcNTSg(t`g64_56x>bt=fY@Zlv zel)--OCQNfD^;|{tbpRAM&HFYij*!g~XPqGR9_xh2_ z+n*8???C3R_lqJ!)`$HadLNA#VUKBqjRG zGD#%DN2#zcJks>K0BkG1?snfu7M~R&ij~)I2+PzJyi$MT6#Fu8L@L)k;ER#Jd`Lr) z!ZaV+^b*1iwhGn!n~Se869E)s{LYd4pSu96p;YywWy7T)?<&?Ce*Sv+rSdd=2VDPk zBlQz%UML`XLO{S56z4GRFGqPt^{)V0?El5haLg$cE5eh&PNu!bN?i+-_c`MOUjrDU zl8_VxqI+PiVGFL+<>t+c2+CLq&T`RyZiCX^_Ia^usbci0t33!5_>)q1ux+piV^*Fa zSYR<{mNoGO28`CC^N%+69LhqRHQ$gFdnizrC}YeP=CUr-Yc_LTS20nq&j5RqRq9U!!r^Vti?}w z+;UABRk%Pq)ZZ^^$zEMQ$txo*rf-f{F!)KoX<5{ra^_7xzLQ7g*@ycuR4XYc(4_LU z=!LVPpta=zOvwpfdQJY1kAKo$h)-Ds#e>&nW6{2{<6OQmd-we4-6`DKYf@d;zfbQB z?iac#?q@mF)1nnx@T2`T*&h*gI;T5rp=Nr5*GO8u295aky37gxX8k3|HNM^z#$Ouv zB_7U}N|xWQJa_51uG&S}VDe*t=ZS(4h!-jU<>H);qE%( zpx-GBg1v8Tmd07m7{!e8pjhc2sZ-w;M!}dXdT3M~Ftt3QW1nljHB;ofxgRyx)8hP= zsft83=V*R-c>dbt&wFJnGzFmV;NA~(YY4785hXg)#0EGL`JUxb8B{W{tge)Xp!{yz?^ahY2okxrwHWCm z{t@$x;jeG2+MM~xo zk}|bcPhNp9ng<4xfqtvrHtET}uDSs`izaqXce`{#WFQZLo+|$vME5%9<*RgKbJX=U zXGv=yQX(};_4V(+a52%kx3OSsYW1o1XVHmdhPqE0rF)l1?9P+JaOO|>o{&b~ng%i* zJ=^Xxt#Nj@l`=N+jZb8CudtOi0FBqjSA@Z5&!GQ3Q|yn3%d-5w*FI@oBN|3_Ko;_+ z{Tj~N($JDm*2l{}1@ZCBZI@seQt~B3OSHio)$WLh5|es9u%ghva278;5LJw(z1fw> zqVO%>d|Kuvq^XbEZic?{tyi;IW^%vtjX659i$A-XnC#ASZn(P7e4^9;@qS%uvFEzj zxK&d}5%i6J01Za5NQ@tUk9uYJ-`umG;{KYP@pv}5Y{x+Qav7CnEDVtby{^Lk*U47z zJmzX4rdo4Tb`JaK84R~tD5tB0s8nu_?pJaI76zp#xkxFcrO~uq|K9vyx8b{N0@-zaKBM@zuE- zU4lhT+{1jS>(AwT#b>@SfhYr*$^RrvL+QLuIrK;Ij%n{=q$SEVDnbPW#AHw4PWIki zRCrWd+xl?X9Y`ANsHbQ7pRRzv6|GlJmYd%CT5L{R?j6d=-(brGPrfJ2-B~dGN@1Y* zdbMe7<@nEA3DrSLJk`H+ zXpeSQUwWqE0?#?}o}#DXKzmHUE7EY}dcpe4YtE3`f5Q6w@a+ulv6IHwkdrpG3Ddw6 zi^WStu`Eh3{IAa&W~4ze#;L#>CN_HdNhQwCj$J{n>i8FP1znbNL9z#-7Ks)4D_j&H zr|6deX15zjl$o|Wu@96Df4{&mH_+ahFKs+!Tg&GwSR_`e+T z?j8YNjt*dNfV@0EgSL;2i=!=rg1f7=qZ@;Qy`7`2wYQ_Y8w1$e+e4g>&(_QSCGBf( z>+b66?)Kro>i9hVSH|vtMfd{kz1;Z(c=`E8c6x3B0OxvD1zCOnl|MaxUzwEyPM&e2UKutY-T%L= z{#M~LC%EORIL(6qlJQsk0lvxclQn_?Zkv%vP9v51SF)tk;oYX^pMj=(sTAB#DPa~Z z2v(?i|Er7?cgsiI$&SyDAtJU4=u&`9T_kVezjTyeKkIo9(px-}(zxjp?g^hmgDKYu ztWZ~pv;jbk6ud}Tj+K%A8P`Z>dO)M&5HSnCkt{~u!*^K#RyYu2T6QxGitZ`m9(Lmb zys7rqbIIy6H}Yi7gbz_LY+K2N%cS*hrURHz2{>d30BG45NvelNnVaGM3=>S@5&*6D zDX9Gb0u&YGuQ_3#1<=xPJZK3<-c?Nc@)V;Jh8tK}8`~Y<7y*L!uL!!ffHM`t*+yyB zw=qDSFN~BI1c%(M+kY$Fo$=C^)l9SOu+7OyG~(KiqNF>HMb0Bc9#Nhq>Nl=WQnx>T z>KCy?TQAd=%TUSc>T|kw|Mc}yudY%jq8;VobOp`Wytw2!C-bY6UKJKb#y3DEf&aU5 z>Os3sMt)2NrOnRo2458bUk;VVIow4Ak@Ij40`C}qyiutvr*7cAz)ccd_2GGz*R4FS zOiop&%W|C0R~kq9P8Ci8{X?iy;hI7jOxG7LJ(B8FUoddJJ$0uP>@%!oN(7HD6VAx` zvawxmcQjF!)?}{&fS+dD^ojr@#cFn~SOlNrAMjZ&zI_jk;twwe7x1_B3$E7f>hZV_ zMC_^Z_*{5gSe`tvrfisGRC*w3#YP|d#ZQXTeYa)F z+X}Pqt5ehJE2mNphig|ODd@F zAaBtL03+zF@PDO9ejRe`x#}wpaS3?)Y?>y_W&Xo`{1;Z`3ID<{GnzQ&9s#x6;Lxk4h-8f)b6+kbBC|VB9^5nDE62C1mqv0Jl=>~c=%xds=NS;qLjnp@0 z%1y?LekMSvAvhZ;%@v%DVnPaz0BDKG8|8Z6|vIJX9IiO>Qu*T>e7_ILQygDuE(uY>la*90cJiPyOw z)AHBRNl6=T7@7m<`6uSKX*FY4kf9w7{O1|e4}|gzlLMsa|>Ju@_loU9>G118{CPk8Sdf?SN<=i)Q3&P55!@< zEKd!t;Rb(*xWOvJxS8BS{Mg}N&|v_pYYch*%_;YV&n8fm^`3%uyc#^f4gf@Yl=aed z>X9>)>_`A|6Q%`15EP9^|07wAd}38GC|}LL0(@)3&45rF}~3@8UvI29BB$28k65QvF2v%B#FEb#4J8i2a{I z{qJ*M9qXLYQ+`apPxX=5KgbSp=FoL(*u2Q?Hyy+I>-xR+C>Igpdus7j@8yHQTz?B@tz7N8iZs{e4l*o z#SZeQ%Lxp)sp1RE*Tm(^K~d*{d(j?c2OBT*Lgr<_>1uG!%<1@7f&czJ*-s~`EMB~w zvwT&l@a^x^!Qu+CP4@dWDYBe!3*=9%@)H@ad%@3Xoy2_HyA%kmRztNvBq>vWQY8s= z?_KXUYUFEqbHK8>a8XFDM;4S0&KZ%6nr0H2qbe1gzB61V4#2>?$)VPeF;@vOPq|!B z@^z*~YO=MqFFaxRuW_+KzRCn2>=|f+S!1#Xm;sXz{Ps>A5v}#d?TxF$w?shE7_$6d zE+G(u1~nC*$Q*;8c_~TDQH#6IR5{xKBYAr+X)RfYu>0;lg_W<=mef?Mhm-itI5^dnr zoaL(GCXdZ4!xcQ3`qAZ0*R`qJ;&iPR{qw()PDTALKjUb_dSdmlUEA}EVmWLz&hEU0 znSpH%Tzzk;cUDHkFm7W@u2`Wz#e@Lxwn@FU9G+ldq#TYfZQOd zMM-FLS=1Ydf#ASAGK}-Cn?{rWrQO7+(6pRo{|pta#B?Oi{VLWBb>6b~Ew3{;z~Dzj zlQqGJkK|_Y;6~wAxv`L3i4>VUwOM0u(T{bjKbCP3p(jJ?yjB0#ic~-RDk{^- zP450LqPk3eT62Rg?d}MWcULFPZ0J#wB~THaKaFKj63q!8|I1d^@&yZKwQ-j~x8Uim z1L#*Pz7@0hGJ0AUc(poD`UsZnYIVccv};(Enxg_v$JKXW)}u8@OZW=nq%X$K10;-6 z#aH~U=ffsXmmHkvFr(GrHE%dg4!ozmF<(#29wYI*cIchJj>^sTZ@a%N3v5MQK}q)Z ztS(w#`2;b5X=H^U8jY+lKL#y&-{P8F$O}6^ZrKQZS`VIetGMU){oWSCxsb1@JlF`m#lxaYF|mUuG2OswWFBhgzs5=(hPHY2d{Fnr-4qBdyV$C!8ZWvp@&3{~BbBKJ>OxwvATsjM&l8v7QDioPz*37Y@?24+PI zdZ$!WH*K^r@TgwYRZ1^LGBJM7MOrP+sJYX;7*%&Lz@6u z&{Rl>k>ruep+hlE9z&yRVw1@+K6d*U%iF0Ed*oNwkUg`W`M2Nr=kYNjMCNxyo~EfG zl_ckZm8FrB*b7G2Xf|jGpnpN5lEQ6MoO*vWe;?ir|>Q!%hC71AvrS>U(~vgy}2X@tp;Gi|?N8ZEmt+ zE0cq>PQ_!tx)HJRjA-tBGGEk3V|V!0>Wbm9Kc^&ZVN;#YUpftbrd3ENl98cb>jkxjOwQjOjjDDKL7CTy8WMNlcMN*6X z{o|tGH}_sTw_+ds^0~weys-j};qv1?OP1W=` zEkc(Sg}6)Kg=YA#-&1c3f!pw5?}luu+}95~cs>l&j%%ML)so>%Mvw)iIjTt#<@)f- z=tcSyx=aS8h)rF$eGw?S(L6|`hrX&fHF+kSQ_SO27iv8fTi*MKVch+8L0HWc;BqWgt4sbylT`TKWahMen$kbwg zpg$a@x97jtQ1H1YFZ7?znoNI-yu5DM243q@$0W9}2)lBZiSf5NbGcfwbzt!3VGb+Z-g_Q{lsgdfLuxptw zE9DcNbotf;qhsHwvr7U(L$9a4{{4}<9a+(N? z+{sBhMG0i=)e@220>v0H_C2%|>59jq)YNCDc^??OrKB7{N^6>7q!YUDo^ck{@JbUI zWiBc@E$wTh^boUDlH`qT(l+{yO2Afolizm2jpkjbDEo+IyMY|sHgAu6ve7XRpX`Vr ztBA`$Kuf>lc^jMhg1Zfhh2?akhD>nyY_ItP*1Z;rl+L66Z!l)3nf~&Yj7~Z7qR)1~ zGrOU<7qhf+_-Fy0Mv~OMe$TpLwsK1~laxxX-fDu+$olF-F?ECznAS?@+ow7j>Q123I z0;Ys8<0NM#lo{Y)FqBk>zF7;%>+u#OMrm3@qUl8ZIhn>#{Z)zkwM z6b+a>t$qswM0H0kxn@F%9P-SF@<6|hRRNe9GIn)MC9&`ww!)bqej1yA*ir%?H1%wW z#1u~~p4ZrkN!t7o=mz12p?zX72KLNkG1%<=ggn=}s3NFLw5y&9HXg2Si0L)*?uYQd zchE0Z!`Ud<T^4U# z;-s<=Ra|Z3Cv?8Ql+?FVPiJt=t3+vI3Ad>$NLUfcl!;Hd3figu<9<7aF)e8WFpAS^f!W z4u*(jx3yj%1!*p*&1fTZyKd(jg7&mA2*@tnM65h%RR=!TU$)GbfIJ={wQ#w|5`zid zq6{55G(G>ccpp71mJeLumwPWN{;sGYHDW`|`l96UrV)JNN5>VW2Q6NDjYc|h!q&{f zz(+$)HrI{O^J>RTmo}JjKDvCawfQIF7gF3mi$i)1m*_iR;%|JATcdQHD1NODymV2Y zufAY1(E!|WDDV6hn=2YfzDQM+>1JHpAnlC`dhxoC*?1;8nR8uPkF{C|NJe1b4S~5n zpX=MIAS}-T+VGJnL@X=Zsr4pyIHmQ|gBq@Jm~mZf_BzN2tkW~EhUr$5Ylxa}4mOz_ zZ6dJ3maRR!gvzL3PH9u(v3e0oenf2c#Y6}* zF`umOXY*)@f{rIROwD*Yz?cDDEyT(*q%^xis^a+4>ZiHHvaY`Ildg8F{RKy^Uu!U6 z=h5B}Q-7jMPUw3kT3}(HN5~iaS}K?}kmWTo*hry8evar&+M>?h~)F%E&1vY3Cyze%m9bRlm@+qi7>>p5jO6)(eEn9}=-Il(Sy4fQLerMGAwtkdQlb4~g zei4?XoK6B5qk)Q2Dijp@J}1@Br%PzqLKal=b64v5P+)(&oo7P(2P5`V9yddldXAr^ z+8Le6VcKY;vA!PIP}q47@WWFNDHzMi;IWn|AhNc1@;{B`;?)tHMm(v@uX=TSkCl%=8 zbvlIK?K?5vdL#8OyvqmjtNy3=+^MD*j({aJNs36|M34G*afk))e!N2R<+4V+s zx>2oR&*xrJn)rLhWVfLl*De9-w-G~XL7p~y1_u%bUM7t+{f1^A`+_%>;r9y2{T+T9 z)^;|g*L|AZwl%E~fEjr#Naitq8 z(E6LggjK;}1Zqmzbk*5Bm$+d@hiz)4$6KU(By}R|bQDQ~pPb>BBHlBmZ7D4cxWq&f zJ6;2;`dJ)17quK~cVE!}(zjPAUm@$^_Uh&UrtqLNPEGlJj{V>R{Kh_8x83yguXJwW zut{F)K?Y^`5h7)~dB$(2OZtI>u5g{+DCYcW)#040M!EN{4!?*P3kMyWs)XOMx{)qn zyMeqcj|AnX*8u8SV2Eh%16B(6sk~?hAf6-%*luO?Y=1M}w;mZHS*1%f)VMAdUClkS z#P_hU-t#UugKm`zJ*x%|#b&wOS)_vf33u`7i@B$NXYC~HH^Q@dbEzdARmIgBE9oGE zz}ZgbJWH%foedIk%aC{^7Tjdh1E0tB4_&i(fGuPQLQh{`?=-GZ8sn`1qTiQldmyIwe~xycKe|gkF8w&pv>P)V z(qctD@%KjJRexDNiCn?{P(#2z>f)#J;P; zMQQ{WfoD%m1dqS|dA8YmzxwEB_QPCS_{+|150ypUHh>>HWlrjmfb4C*Q#k%?mv5vT9(aFz^KtPdLBcrtb?uw>bJtX63&j*>dprh2Y$?yfujMLJhjI&Z8IGi2gIa0oCk`%##Nt`cQCHQ;I;?Py)i%cNol1I&?U2s2 z-e8{2^ly#f9@zwENd9;@8xL30p5^ABPo`AY4|)!#*(|dBG*iS;lA(6A!c-t;3~C$q zZ$@-o#DR@*as&UAf0s*({iSv2Zr@L04AXm%NNti8GXsEU$xCaaTZTikajZ*SDh{r+U-!r=);0pK}v+AAHot1F;W3 zH{c}|Vq(PPEXf)vwXQnC3k?=W)uB$g0r51mXYaH69MHvD6i0|2ns z(v=yCQss81{bu83}YHw6Ca}lXm>8iFlLRT`$88Es0d?fm*Gx2h*^Jy@T%PXwMAanRupc4 z+4d{LE%?zne#B(bzMVu@03JX>@+sUoxuHM3R}-?A5XiA$&?7`R!Na}2fn<2k%*y5B zHx$`c`UIb4l9BsSe|ZTA|3>j)SQq@he=bnIw%XZwnusN+tP1ts`UNe=sn06P&lvEm zL8*JAT9kNJK%6@_(nJR#TSmfoxp?%w+<18}~{WB(+MzR%)Co976 zcX3UnAOAbG8}IPeCt_6OD@gB@dP6JqZ#38%7R!hoL)y~q8ZLlDwa9y(-IVd&hXoE? zJc!ArilzJu(D|2&Au1R^esBz^rLC(~JAYecKINMQu%i7YeO23$I`s2nqGvFI;~l1R zaz;X_^PAW2K1gk|84sH}6j@nSHg_IE!elKdVQ?9Wqa2Sxe2RRRRTB524V(aChIFNRCRsx2s;qW+sATMo1GL;5?& zE;N|5L6-E#lsvk936Pk50Qe5^HFOIMahH+Xjbd$N<_}m6mFPJ6{DVg)ftnGO?eI%` z$UCtKX$9Sg3jlhG5rb@*d_eb&UieAUtV*vI_F{V(~F>;2oK3l%pmm!n8q z@eH|QqsUzQY)-CP27SFqkGk2-&T_Bgnp`EVL;tNA1y0h@%JxS!@r&4k!-fqR5xWQE z@MNI6DwSK$9rbW}%?gI`)6$lR#k1^Q
  • QliB@i$EYTjh}@GUPcXf*C~LSIpeIk6 z?}?Z(7@a1Stp8Z4I&aiq)1NJI`)@%TQQy_aaaLh4JznN zfu3o5w_f0V!v?EjO^3DQ(*={;hR8>@_l9Rzx-59Rkz2Ok&XM@p1?A=Dwg`dd7{R-peWQIa z7HHce(ft#3sMf9Gga<+Yu2cj{kdHe3UYr6j3b{X#Bs>5d#~2MD!U#ZBjBU&C{(Q|&=k6-6uYAPkS*6GtGAw#?Bqxgi0pF>k&<#7v!H^ak7~>$Wewfr;+lob<4H z97pKIT`6wSYf3A9;rG~dO!-Kcl0|=3)&G0}CF(m5F@5aW$6p+!GMSbON4+*S$2j{w zgef3W-{^tq-gUy||5Md8_(-ILo70~SGuRAZbkhTqfT?2orj8L2_M<|@zZ{NQs*MQY zJ|Am5r==v!8}t19Pe~?vqyI3UZAnV~U4Jr&7UlRz+Tdj6 zg4MU4+JoJ3o`+!;@_JnqA1c8bfLNsSqzN({k%qeko5a&!8t0?Ya>B-7{`dLr@tmS@>FTIWr zAkW7(zQx@-x0vZ_CK%Pv#}5o0G)2GjLU=lwyT9*c;q{rU>e*vmDYv|fol{N;K86c1KhS4wn}faYIJe}un211UM&200QXBXtv-z%DzIMf`jia+sW&XH9*JY0jwvpa-7a z|3%?;183rupytKCZ_mk<2M;LbEdqF)0YV+mlh;L4QAJbHBW;odpX6)7tbO{%0%X)I z>>D!bn>rZLvpW}XSyk}895_3sZCW0)67ttM#_;Zh!78-D6dnoa2e^lCp6fx7_;Bik z>|C+x1sNuSU4E+H=j0t~c6-n*1m=hIE-um=c1>Rd=&BZd!%_!xgcTAabnB!Mvy=OV zI($4;v|9FUl$V6zvxfadz#dl0EwZAJ-ke4HPAnchZ0x_a79iQus=X3>Lc1xI`lcLh zJMKCV#GoZ5@N?;gm1~`}H!%oxpUl`8tcB2R_qqC8ovZ5u7DF<5U9!NLSR7yun>J;+ zo1!uaJD`F!<3jrfZP0G1>f{l+UOGJ_;5dR3^W)mdw({L;n^cN%|Na$#aiRbE{|agF zlzeGNRpFJ#1_%hYLP3_8gD(Muvv$wC01QwaD3l^8lu3{5j81PzDy=aEcZxm`X)tl! zB?8dm5oOiB=KLT|D!%^qsAB3PS+)*eJt^q#p7+uKH7yikU%D}GgVd%1H=L753^B&x zH4%JaHQJ*A^~RR=kcFK7aYx%l<@@fvvW>c}7u3uC)un`b;R!8bHYb*BT&7la(O?3Q zh`9rcxto-9+B*>8aYX_}8wz}#RKi^94CH7{2y|?nk##t#$bs1ZWL+UNHk-!bn-4hA zsa5JTsXfP6vuJ){?ep7O-b3tHGd#K47{y@aHL`PSPR+RWzCbdCmBU{@TBes?c-_to z4;Jx?inX|4RZ6p7O3~o_WqAQm%mNIeIW*n z(k;B!0S+G6NhS5MiVJ(=4$Ubq061r49c@<>vnbz^=#kWYx5mqdwcsl3SzYj3nMj?R z8@34T8>`+}`DmDp+3Z_*tGH}HMe9Na1KDP26S(JhDAx<#ui0ZmXA&#(^L{x&V6=J!hHMEVpDhWWAlSf7r+TYBEAM=LDIro+|wuF zcSV($aHnKm>!+EMNvTG)_EtPHtJY2tWUl=oCn4B(h29ZGwMv6vL;bZ!X9n2H{NVQI z<$Y&3a-Fs%s=3^|Mi!SF-~@slXk6*MD#X~|hMKdZQ}^R;s1g)zf09ngU1y=?4qwY) zy6y^_*WvR)2if6*kc|;ZxYnr@U?3NW#VN%CE-F6bPLn$UvS8g4oUfGPh%#y6eG)e@iWn{JnUz zjTrm?)ZVLI0eTgr0izS5xX;wZr1ama6rVd`P*@#)Ej!Slp0P_?&tie+Qwpkauh};& zyzF;wv$$&58aQ(XHjV?dJtJS5mwZ z7+du>byft%5eeu`vD?RGYSq-i#;r2gF=V?~0BmYTczhU`6qJ;%!*9eXpz&F5;^&d` zNvK$|D@JB`9k1W>T4W$C#K1G_?35j8QyCC0Ihe}KJL)hjh%o`@N9VKA1S}HuGyPD@ z{f&X{!48(aRd+(MsyG$`fZR;O@gVj~$lRa@?(C<7H&pg-HrbD?#$XB4;}kQn1FCu~ zo(Z+0Yi*K#$zz8s_2p2ZEbfa3-_5q|&1Gvjjw*OnPlY@MtesJHTaoKu zI)<<{(u-(-l!yB@xZeISr?Wb@E$&Lw1l-05#oD#6k;UefuWfmPCZQUeS}+@(Tj$Hx zlKH@y*oBOGvdr}PgxkwM)myy#>tbzBE-mr`)Kh|vN0964SI1u*>;EgGl@0Q1QRda) z5Ow`9qSoTm#s*T3E!by~zAXh6Ja%aD8uopdmt^y0JX-7vbnH@^+G;D_|D@C;evE(Y ziloa}T0Zy_VHj#hougixRH8%u!fdcWg{b?z97$@4A1j~8O6;qG6dfL@DF0c0NUXuk z5$>zb2y~=IPV_G5_p&B=32R;|1C7_dw|XH{6BY$t5_?^3(eUQdTl@37g(LLjzm#o2 zsF3X1^3b12#x<`Q_e~~s(=lXb^6-Tkcuf^vP&BWHd}o-Qau4ifl;9A}Ed`$+h&X>) zJ?cco$PHic0P6(R=B`8pn)+gj`MXli13uXV*6%FuKzD;>92{x}4&X%o&rribO$2&Q)Hbhz#p*REZMLTEzeLeTQ$jgAYANyp= zm~ilH!CxzSG+te7u6;r+g&1|;PKM(mfpA%IKPjKD#?8p8!*72V2gL3cw~THiL<#CR zMd*}N*Scu32JB$;Jeaw7@0NO;fRYBPwZgrorLtFZ^#({fn(e6RbV#097@Wp}r^}GlHwA6#b-El#37+|H>rAw6Qf}f$_iO9YNz8 zD5SCzUp3CS{ZT1iogq_T5g$0zmXaKO1KRNo?69d|y_;A2JNBlI-0BdntzlX9LhVyI zP6-aC0E`Pz4@e7UqFWdT9Gr0TL&&SUEtS|U*GtoEN$aWSP~M4ro_(T@$^?Wr@V}9` z_PE)eX&^o!`d`zMvd^cq8{idnib}uoGWpbFeQK-g5*4SnIy*Bh7aj! z1Nm`|NF1u`5*3F=5Bdcgx18^h81{A`XESG56x{&*RlZh1DYdSg;$>Mo1~$TelEF1> zHRH8f8@pWefly4TzNlZWj5ofBPiVgERTksI5#P9tS$^?;32LixUo;*n5hXCeA68#@PJv#!&OxtD!PN$s~?dX4t zY#JQ;c@AtAcx<0BNrg?|dpdbubMKonG3NnQk@dsw(sKh@_?6(g%(|XA|8fI?asDSq z%jxpGp8T9T{u*yJ8}hGhsHmq|`iMT8rB2O-0Zw0Z-#A^1sH~C>dhz74-T6zT-Bl*rN#FdYQLXGU0o6R9zGE4SL4-T4Ov@0L}Dr$7wQ%a z0I5@jFK`bIa)}O{{IiUcR|C3`^%HFy6K1_FzZsZL`n>Q4H}V3jOFm%<=k7VUMQ(SymD{Y&-SUHJ z8mNh9L=CS(eNfH4FlvvOv4Jt=>ES&wiWq4?yw9V+*lZ+wPSLl00vM_u7=*-Bu)4YB z`E(_QG=ii~V7U&Oqe(cdx`A(`__O)Lb(P`MQ=|y@9sl-obVAujN}fQ**$~H;^VDxO zG5QMO6fjhCaim4^vl|`0BGo^9<4>@9Xno8b%Kavi4wHOJ(OXG`s#r)}t{Q*&j zQPJWmT`6R%9*Z+8a!sku;rZ<*@%vyeK~(z#x@O|4fv`11#4(@(3GAk~1BqJ^u(ErI-amU)el0kzN?UezNqV=_B*)LN6 z?I2Hm)1y~oI8R8ZlEfDNL3aFN(#5Yxw>Gh?+XWfNOqQJItWZs%<9_a6%p-;q(E^;K zayVT67#op641P-}7DQLEq3Mal4#b}3JyO=XFHwLxm z@YH=OF&OUjzy)P@mTa-i?7U6shjXf1{P^wuCevtb(UnLvjErfR$H(4PzIO6)adg&8 z>%5-SD!Vc5=t3wVmrd@`nt1!(F2|LXzUB6Hih}YDsMr$M_&tB&YB#@I^^-`sCdPAE&RzWw9V% zt1rSjpHJOM9L6nLpDdjp`p2Z#`kLc_1M{gDOqk3mKQT$!cj<*$)L#Zq(Rdr1Q%0yO zFZ?!|j4;ZYw1r{+8|RV-6>jZS2*Eb_Xj4elQuF()a+Nd0mxKJX!6lx3GBI>C{j|0u z14t{dZrq1n;e(Ic?b4GMh&CC>j62runQoZ=Ao!;egRnhA)WGV3!T$q zg9P+O3FGgJzc9Xx87J^}sRsRMY{ngZw-cS1EHY`dm5EFdLcFZY$Aab`Nz^$iafaYZ zlRT_s`vNp!l}KMZMXrNe86%OwBo+mr3fM9ehbq)S1v}X*L}9tz&yNGI*{0|j(Ba~L zZP19O^wFeiP!XC?}wZ;_CE`K_aFy$^Z-Q#Qe_B81ABR|1$7i8uoY0?Wcn z`GW?y;`*7fzOI^VV%%l}+=Hx!!AWRV%LW@a zCLesC3+JlpsS5T{x=Nh{D4Zb_%~L~LZq4X-H#6ay+@^&^4C)Y;!kZ>_hb2?dR18u# zKaBy-*SI8i#~DArE}Q;xFkl5M`WDv-vWHS;=z>8(o%Z~a31W19-hI%8zdk62`s`in zZvC^WSy+fgVh|}+AuaeeTL^kE-(vGHXs?oBk$WH#>Q0Zwh9_4be&BCHh*Q-cO*mTv zmun*6Yh|dj!Zh@xi;WEs@aWM0HRHyzjZ4VP@=Dm{Yuq2}G{7G6E}q+8=o-Ab@3ZP>6scRgGFV34ul0XEavl9Mh%p2?DS?+&q@z_a`4w6z zMGHbsPaetooYh=wuO#E!KF1E5;)9@o`e+ZLGDbc-vgkhxB|sw9(AbMcZ!Y)|kpt5> zUjL~rfn*|l-v$wpGekI>03VNvC3s_HaLeP)8nB!AZL#m6_6=q*1lpB*n4)}^z zzDLvj9m8wWLbaCXosz zI(^vhkeW+^X5vA!JMqRUnzf(vS+Wcjo-Ya_1C>Vd^>D+?X6HF~U>iZfl;oeo?9Z|1 zU_5Ed#7cV*;hK#oG2ft-X*OnpVD>_DOB5K5vy(w&jtPAFLdx&>9ng)(G-5|b_!NWd zA;MKo4TFL5xAA99CQ>ff9p;LiS3i!dsiCDWRZ23xk@SpR@!tk3md-D))W~A+Lk{D< z>75NvBh|>f{I(=@`Q~KH2*8|X^WpGC=O)u#Yv&ungZ=fG6PVZW%A#_0lebRW$e0jA zw?6=U3+wHY@qZJ)podvrDlW>GWSof?EXQw7y-8KKiB*S#STs@lDdf;C&nPnxQT6YH z+JVP= zQbG83r%bTP=r)AHu!`uggji8E^%wx$y|SCck`ix8m#l>{ky~Zw-kls+w^G5lv5=JJ zJ+f7Ms5`pUum9tsBeBbEXt0%S@WyYkd3in)@T_jbn~@NQ?S?LVIow`U8(}1}tE^VfOkvFX6>rS-SpdX&dCXBN6#U%Z9DUyQC^ zw{k#BIiZ5T*ho9Qs1{jVApDkV(DETXSoN-LbeVdIfqjHqn+|b)Fd7h3`+Z2H=)KR? zA0wl)k-j_L_gSX=d>avv-7bE@`&ZSa^g4&a;5^01DcMMJx)5ZkUQ+Q=%SAv?Rdus6Ixb&aie0?;#&>$UxW+~c4 zZLK2}CGR?#)UEkn_B3HOlw52!a2pBBL5X`9kOa{t>3JY9?cU*%BaagGw@y$OC z`U|B+BXa&GqKEr#yUkxX5x{e z1xN~59pS_IvCC}H9x=~6H-Ds`XpRo(W#6`91(b8)qPz;$1||f`VlPflv=dvqNR|rL zt)+VC2}3`sN;j=luSCr@J}o_)QuQ7Dd6fRw>$-$nqAmd{!VIWD>0~V#6;>eEH5R8D zzDl%KKQ$egouMGImUPdiUJ3M;LgK;X4w8HjpN=x4H3VbSX+uY847&%MaO+XHEtr9A zO8=*@uMCKzX~M+a6Wl$pXprC@G$iPd z_H=d4l=RcpT{XFknJyg9+Zlk(T}oE==oM^^?`WIyBZ;6*b*Rl@97N=IM8BwKMle=10bX)ZbgHu|!*>oM^6q8Bn4jZL=UjUmwmC$`(S zsCIkZeHm{;{k%fl7@pN^D=v4zfLhEN(5(;pEstcwsSmj`lZ4;biEl`$ufAG}K7 zx|Txg-`xshJE9@{H{ zCO9)4ds?hAml3OAqKhF6BV_Q0Hs99b)>=vW6{zOTqur$JS^V&3_DkOx^`i6a)>t-4 zx1BLDCM#@HD50FJ*BM==h~Uj<(+Fiq&{YH$yN^Iwz8!|KGvR4((4dUxxLq^7##DKt zM3DV9cqFXe>FJQ*L@zwQz~6IXQt+b(=me}0dL=$VuLx+@r-zln zVbCINPjT#H5>yUrmA&4e^)>t5d3R_-N&jr)%?VRX; zi58pb<9~vSJbbx|{^i7}JtqXgnb0WEIp9Frh9`X$Bqc(#=*Bq=C0e_VDt=+BL1*6q zO-X^K_`v&N0_mXZyX-%YcTvh+nL%LBj{#Cpap~G3*4_rD!5K4 zR)83Ja9E*)B;n{>R)rf;z%UX&pA=^D)3?I8WOfKVBfMrwj^1LJgSw;XWc1*X%_0Wk z1~GyKDvmo-$K>D*YI;)*g?zYnCRg=4jc9ZxIO;-^7z~Gf1w$kK!wb7}o5S{B-HU+q zWN+o3h^V}}6Err0BYd#-!Z3Lo9NdExmN6~(FmSj>k_-ci@*Ipj#^LIU47Th>)JFPg z3n2`(pX5Eso9boF`EcDXkj&37r*|?2j51rOx{?=8ij)p*OkRKaV`Ib8NTD3|VNYa$ z_6j+=G$PyENdnt_aP}p-d!1C3q}E)fr4#`GdXuHt!%b7o9DBpZOPvBSgLo-M6*@^) z6(X{^Tr*>C(p7A!7A$t2S1t4HKMNXUgd0Uv`Bpo4X@BcKpPK9JoWgmdLE&)x!(jNM z0y7z;8-rvO!*mtX%fUIv(?4A`tV?!h%EWRYmRD2fAG02;tQO-#@drh$VCL1`MZo)X zSTq{h1_kh|`C6)MOMK54BV@Unyp#aV8}<}!+(lLE8Z34rW@goE5&vC?)gn3s{B?IQ zoWI=!qMckkvOJ>E8M&no3mfbmt?=eAjNV}D#UAY)^`4b51O1|_h-$6lZ>$Ns#K`<8 zEfNTTXZjK!9vc0FKvZkm_d;=>QrF^TaTD zMEG2N4V$ECwB%S`QA#3*HhhCslAx=eIv~-#mbnPAd>1LY2BAFfjH{;%rZ_f-Y_0A= z3Lk)XgbC*7Yow4aAC!3SGW&xB#*H>ohY;*mH&{PHFQ~2eC)wM0jctVNZVticqz~;->23fR+32% zz3tZTYx$(dRBR~@(l>TI{jmKtXTzpUPp`AFrGY6N4;#9#!-zZ>G;Fcc<0AV8BRP&TKZcn1j>oF9~D zD~E1PKkyKcf(fr&zlV`=S)v;VROOnDD%6}GTn2$uXN*3l7@2)^Y>)++RnJ18f9g_H z;PH^~;NvR(27mrsP}8|@e^M!4L5CzyWU4>C4B+&gkm~{XWrcCTDLDtESOgnF_sQw` zJHly3Cioh^cfLQN1o6@KVrxSQ*?KWTtaE?O$lAgw9V~j_L}$I&9j<<7ygQmg%jbwQ&oLY3QXF%F+ThuXl32A>c-FhrP}+#0u-XX$u_ zd@6WnRd&0b+n;jZSDwG5m`9AxM9;`Boq!t@k~|Vmxtbo`KKtiX>HQ%ogYXZq_eI=( zBm)7EyjQT&w!Pl$I2-2otETHp9M;T(Qz+f{wKEAZP3-~rh&T(h(p5kVE z$ygWBm<(y=SDSV!@9v@mm1}E<`@Q{Ty2<1HO8o0ojM$5Zp^$N@JsCxJKW+M)SVI}a zN-%(E6d)Q_8rb`~9T;AZbCMx$;AcA$DRax(=Iu;!rJTpyC6Uli!+lmZK7nx-d)s{@ zvHhp-mF{HCJ>J49#A=E%&Lpv=;W}*i>N7kF^Q@P z3=K}#fvteZ>0FP5+ra^%D;-gsgH9>*-R9OlRO@0ffDjHMf*d~5VFqP9^FE?hTCRH5 zE445|)0N1MDIkAGAEyQHQfi11DDM>JK;SKj2$4vBK%LZZ)%7jvI5;-ga%QGlcYb_T z%<$RvuTxpM7`#>5+UxY^6l9ud3k9AkgUiRyS05W~-*P#(luoacq{}V| zy2xXl`S5Li)}`+KLJUoYySyVu1|0nW0+|wjL?81}19t*sAuulD?7(r;{rB>sLwnic zxpLHcFq0vs>;2v``GKc`JO0sMQ`p<0&pj83^D&BDzu+!6$Jf(om{Nn2Yyaq?$pkko zz-n8auv8~H&UHpln_oXFh!suB!b!%3Af%AB!36HSvG5Ssw&DBpiYWbdG{yYxhL&oF zUf-u-TU1xubZtssRFS`E94>y$oBT|RjcP+Qd&p7eqCXHwNf=yaF!_Z%vSgiyFzQR< z&ZPwO2^OoiCwjYmT==jWoWCFfkLS667sYUmtIuG+f5?cdY1P3!?4BN)6NtAbr(Ruq zaCiC6Vys@6Q{!GxOEJzAYTe_Edng?%g716zWRjRjawJ5_iTfqd;xO9(^3!#E>YFM< zlMAI>Qk|Ok9=if4u+Sox5O}Mk69cE(O_=?>wJz>ny+rt*LCMVD+UA-!C{t@sZ?7W% z=?oQC!K&6du0Hsn3=_F>n|NXw`4GNlracskzM-;~(jK+1e)IFQ^>$C#x$mw@xwdO* zXt=%DMVvnvC`id9KxN`kykTEE8yI>qtMLxX3mygwYwO(-nI)D+X0KdGa%Dd@5;tJP zu=`PY-PoNx$x)@XMxE)c#AfO=Z}eOsBsTCQ+0rkAdy;}1AV7LnbEfc8Mdxx(n;1a-6#T9Guc z_ru(9u6PTx?}b>q1PM}r{gKdCv#a%#0d;DJ4$7?9(q9)863{95Ex7u{iA=TB`b9}8 zwtFXQKbJWJh0SA6$4^W2QuLL&MQbzCQ9fT%JsWzm;sWo(f#Cpk@#qP#G~&UZ&zT&c z!M>BwU+iW4fnA9L9m8nAc&bRw{miVtxqNyzvYD|N`;D@{Dg3WH3;#gC6Nby4p}2=O zqhy;^%;5*qj$UaP-1yN@BKottP4ZZH0a`8Xm(WDE(TDA+7i*D>%Xp$6C4Ktj73&UC z)^DkFnLlNlrz2m(C_0~0lAo!UVrN^y8xD;Ym)BZl{u!v(cjVu0Z81=G@X!!Gs^gij z4*2P<-Y(jQWWRzh+kz0^<*(L@KL!2qTSD;>La<~5?aG(Ihr<~tOUfi390JX1^sAM_ z;_72g!F5em0V(Go|DM=a!JE^qTguG-g&uA9U&15ak;J9#gL1qs{S>Qvy_ zB0R)WFC_B*I#q8n59|ys`zPZABbVqj)Xw|vO0#_&?+=<0LS`w!IKgniDH0G*q1qrSGoBcf)bPrm?DqR**g$Im2ofu5G~|WO z=24O!Ehu|1X3azC_#Z9|g$0#us`*k49~GqH(i4u;aQJqUQ$-s(H??;k^RJgRkO^Hv zQDwN<|Guy(NE7=Ov)=lbHVmy@tWB{7tjONS>9#S|Kkf!&Vi9-9M+xx|KtEKYbjm}l z1O}$Ok9NW#luk2&+oUDB_(TMRNP;$A?ax*Mx7to0Uj+A7eYRTN36SoHSQ7G9>1<15 zY-bg17kM0KSd};3g?{&a{Tr_CR&>3fY_p(TUNEyAYx$2j|Tbw->B>DJNh_B0W5-P^(jf8lR?JF1)b<71}R#O?C- zt&UkQcHv-29j@1?!bO71_3t5qy%)Pn_%SpYB_CtnhB@X2(~qUoccw`m=nHyv^eTd6 zhq9p`_F-t%x%dbpQJD`c(OlFZH}>4Pjh~_vWMFc5a7+CmN5f^y+A`;)2n0pFasWfkAx%C- z4KE?yyzh|ygiP(lq@KD|j!f1U21`gKIi$5v4)-`|CO0N7D2ZC`>yl%!tHH%?uVSdI zd#GmBZ>4T5S@Pk)r=QjQe|~gE@jbtGF$k^RSeif#v{pkUTgZ!(Tp%OuwHTbl^X*kj z$?m>gtadBwH@s4U<7Xo8)5OnBi&BxDzYcu#+Q-nq1yH{Ew3AA+>(2S0jOkqb2z`29 zFlPZ3f*_VTHImx8y7pxB6+wYGE)n|#)fIneV~0pFk%htc*N6G!xweu93}723bD+;Z zoGon+on~lqkk7zWjn&}eHA=aa6n#)AEX;Qe4xg|)AE@Gk=1uKCtjx85=*8YLgKE#c zA&+K93XOL}E9Eb1i4yTl@7qhBdY&}<7Q5C6Vmoi^w7)I4pJ`b20tJiyKJ@!}s#+`H zGScC4kbGGbfopRfOJ*+ly(jvH(O#@#1>E+Z%(A5Du`Kf{+}8w;sdXDtI6VXrha{;G zUY}u$=z)?8j2lGoZb~gWJ+z277z-Fklws7N$!BJO${U1~cj7KF<1u}^HDlFJi~b`CZGg~drn<(-3;X1ZWD2JSK~e=p zK}V_GwIv4ILW+vWYBs^tV*O@j zHNUNbCLcnoEaZUQ7*z4C_Iv->;nk@a7u-tM@}@a93x@L^`0dEGuruNFVft=7;Txsf z;Fut6qdBZ{UYxZPUJuvrpQ_i+#isQ>Z4J|?6`l{QnI6}6ujdoT)C0KWRgkPN8aSVPwZfFZTZkQ0HM6rP=$g$`#bE!~6kgzaG)VOGJJ+tq20lP`JpuYqU8T{RWRVAjTpichiM7E>(@>Nsy- zK9PuEsKQ^~>b?E|_ELCl@V{={inBdsc7;e=*Effi`!Sm#g)J|0GshI=S9_l<8f5z( zR(bU`yFGl)VFf9Z@UM}EU2L78rU_p8s`*ovH26CnSfEYQJb~&^Ee*_$_x&1uZ4c2~ zIa{P-?&ZK_WVB0M8%0UDUSdH`01n(+oy=QsjmcB>B6SD8g28=C(EG&!b`(4$A*An! zdJ-i65JTGR#9&~gbMh;1- zI8XG(CgO5S&Des%{(^oeGf^f{G7`g$CI$WcKlftF{BDl>_S_BK0a%=H#MZ}qMRo?bh%V43>9>+R~k8tXy@MbFTYNlE^SJh(Xj!XM#i_?zK zzW7eBGo0uv1*GcYJ(Jjp=lz|bt#_|i+QvM#2y9R}EcX*h`3}}0-v>g9S4kUj9luB}E!8sgXP z#(H$9?p*M>u1vk(F>fVb#dEplSFz#mgL~X=9@D1|K8+*Rey*LV3p4+SMw|9YxhhCl za9Omcl)W9a>v$?)Zj4bcN7s({`9O4@AU9zGO-KB8q!8D!%kB!AVISCRrXubs7nCwFr0=BCg4$;YY(>E|vI#=rh79=^pSLJ$Hn&#T6P z<6gd7K)l}SM66Dr3fbL|&nGzP?*5i=;CDRlkER(x=bf|C+NGo#hO z=mYl-vl-u@;z{NUoc(*Cr~@b+*~@L4OkP&#zJC=%oEOhIQyZAvZtfoxB-oKIOpOY%)pv#Z z@iv03_(5dg%AgdT?M?!Wc*JZzJk=M+U>GZL#~ z;M_3rGn6>R#gea1d`b$OJ)8_V!noX3nEpEbi2L_!1t(>Ub=~tWDFiRS1?IWLH zv$IM9swq2GdBT)`It1b|N~od%HsFEoL4-TmfV11#$qe`sqIU(E(87kD3!%`IBMM*_ zPb+zaLm*)#lu$X8aJC1dx`u%8SK2M1Dn78WF|WMRK?%T?$e)PQTtWnRs=HjOYhRq^_6m8TD1#boefuF-#R!YaWSi3^ZDZuyC^Z5W266D82Tq0Tx1MXMXMbyh3DZC+q0I=*&;fYlHQcI#P18 z6XC351f8!nI1tsX7wIIasxcTE@)riqX=0M?jPQ{&@x-jVPHHBO*MdI=o7RTnNLshQ zj-*`=S&WJihztED=Zm}RFHc16`CNnC{vZJ^j+1o|0i(T&IsCW1s+oQZbBX7{V}z_H z;xap$RZf{qD_@G34zRJxyLAO0cP8~kZ&saZM*V?IDD^}?HMo`!3W#ll&zHo<#Z9sm zbX8`X%m*+fSZr_h=7b^?i=c%)ATnV2&_X|^oC^d%ZZ~sf)m{l9s(`Roa1?XSoKdek z*UrB@O{RYH#ycC~wnErM(N*I@WcQdr)SF<<89}EV@@o0Wk&ECU~HjIrW&&K=z zIJ?HFTtN&Yx~mBUkcl#`Y*$%;Yq!4t(0ls8eVx1&-Wm@6wk6RN990?sRLkMW))A_r zh>y)SU-&@W8$k#1XzX_6A(FBGJq25mfU#=NuC&0y)M`eb|5bswzY2yQ3;~&_tM;(I zLYVMLPr?b*$M`cblAOKs*vjLti8^1v+G%9NCd=QB3dkBj|m7i%6D<)uxbpr*- z9y~Uww|*!k%6x6L9=NtsUxdWKS@l!l)2OU=Qp=D1S=rWb?7@WvdSP{}QssxdFN8ocskrFb8 z5}py`?)m$e~b`3|Ixrr#_))}>JXVko21BJ?$K5QLn;}>pwZGSTQcw`DsXa- z%U__hzVKi0LEq_;5HM@`fDqp9Rt|U8livWLI|v`So$z~GLm*sk5Z0nj^wAGH!^#p2?e;?cDkOLCsA4RRz`)hH#KcI+P{>|-EP~Z+Qn6V??(rIk$T@k zN|JQSlrGkjiiLG=kB&qB8#DStYEj}5Y<;Ko1AMtMdDO{OAppzk6Ej>kO19qA{*4?R8?5d>b9JiZRZLrpe(-!g)v`5pQfvtroVUUZQ@a@2K9`5=PdC%Evfa4BrGx(2+{ zr%wjd|9w^`etZA8$P#$AD%)H<;%4CbnxneQ@ytTIcNTSg(t`g64_56x>bt=fY@Zlv zel)--OCQNfD^;|{tbpRAM&HFYij*!g~XPqGR9_xh2_ z+n*8???C3R_lqJ!)`$HadLNA#VUKBqjRG zGD#%DN2#zcJks>K0BkG1?snfu7M~R&ij~)I2+PzJyi$MT6#Fu8L@L)k;ER#Jd`Lr) z!ZaV+^b*1iwhGn!n~Se869E)s{LYd4pSu96p;YywWy7T)?<&?Ce*Sv+rSdd=2VDPk zBlQz%UML`XLO{S56z4GRFGqPt^{)V0?El5haLg$cE5eh&PNu!bN?i+-_c`MOUjrDU zl8_VxqI+PiVGFL+<>t+c2+CLq&T`RyZiCX^_Ia^usbci0t33!5_>)q1ux+piV^*Fa zSYR<{mNoGO28`CC^N%+69LhqRHQ$gFdnizrC}YeP=CUr-Yc_LTS20nq&j5RqRq9U!!r^Vti?}w z+;UABRk%Pq)ZZ^^$zEMQ$txo*rf-f{F!)KoX<5{ra^_7xzLQ7g*@ycuR4XYc(4_LU z=!LVPpta=zOvwpfdQJY1kAKo$h)-Ds#e>&nW6{2{<6OQmd-we4-6`DKYf@d;zfbQB z?iac#?q@mF)1nnx@T2`T*&h*gI;T5rp=Nr5*GO8u295aky37gxX8k3|HNM^z#$Ouv zB_7U}N|xWQJa_51uG&S}VDe*t=ZS(4h!-jU<>H);qE%( zpx-GBg1v8Tmd07m7{!e8pjhc2sZ-w;M!}dXdT3M~Ftt3QW1nljHB;ofxgRyx)8hP= zsft83=V*R-c>dbt&wFJnGzFmV;NA~(YY4785hXg)#0EGL`JUxb8B{W{tge)Xp!{yz?^ahY2okxrwHWCm z{t@$x;jeG2+MM~xo zk}|bcPhNp9ng<4xfqtvrHtET}uDSs`izaqXce`{#WFQZLo+|$vME5%9<*RgKbJX=U zXGv=yQX(};_4V(+a52%kx3OSsYW1o1XVHmdhPqE0rF)l1?9P+JaOO|>o{&b~ng%i* zJ=^Xxt#Nj@l`=N+jZb8CudtOi0FBqjSA@Z5&!GQ3Q|yn3%d-5w*FI@oBN|3_Ko;_+ z{Tj~N($JDm*2l{}1@ZCBZI@seQt~B3OSHio)$WLh5|es9u%ghva278;5LJw(z1fw> zqVO%>d|Kuvq^XbEZic?{tyi;IW^%vtjX659i$A-XnC#ASZn(P7e4^9;@qS%uvFEzj zxK&d}5%i6J01Za5NQ@tUk9uYJ-`umG;{KYP@pv}5Y{x+Qav7CnEDVtby{^Lk*U47z zJmzX4rdo4Tb`JaK84R~tD5tB0s8nu_?pJaI76zp#xkxFcrO~uq|K9vyx8b{N0@-zaKBM@zuE- zU4lhT+{1jS>(AwT#b>@SfhYr*$^RrvL+QLuIrK;Ij%n{=q$SEVDnbPW#AHw4PWIki zRCrWd+xl?X9Y`ANsHbQ7pRRzv6|GlJmYd%CT5L{R?j6d=-(brGPrfJ2-B~dGN@1Y* zdbMe7<@nEA3DrSLJk`H+ zXpeSQUwWqE0?#?}o}#DXKzmHUE7EY}dcpe4YtE3`f5Q6w@a+ulv6IHwkdrpG3Ddw6 zi^WStu`Eh3{IAa&W~4ze#;L#>CN_HdNhQwCj$J{n>i8FP1znbNL9z#-7Ks)4D_j&H zr|6deX15 Date: Sat, 19 Feb 2022 19:19:56 +0100 Subject: [PATCH 08/86] Documentation updates --- doc/user/source/einleitung.rst | 15 ++++---- .../source/entwicklung/plugins/plugins.rst | 5 ++- .../entwicklung/plugins/vorueberlegungen.rst | 36 +++++++++++++++++++ doc/user/source/referenz/APIs.rst | 2 ++ doc/user/source/referenz/netzwerk.rst | 18 +++++----- 5 files changed, 59 insertions(+), 17 deletions(-) diff --git a/doc/user/source/einleitung.rst b/doc/user/source/einleitung.rst index bcb8bde8d6..98b3f88c7c 100644 --- a/doc/user/source/einleitung.rst +++ b/doc/user/source/einleitung.rst @@ -20,13 +20,14 @@ per Email verschickt. Eine umfassende (veraltete) Entwickler-Dokumentation in englischer Sprache gibt es unter `www.SmartHomeNG.de/developer `__. -Nach und nach werden diese Informationen übersetztz und in die User Dokumentation -integriert. - -Natürlich lebt dieses Projekt wie alles bei Open Source vom mitmachen. -Jeder ist eingeladen im Rahmen seiner Möglichkeiten beizutragen. -Das kann gerne die Erweiterung eines How-To, die Kommentierung bestehenden -Codes oder auch Beispiele sein. +Nach und nach werden diese Informationen übersetzt und in die User Dokumentation +integriert. Dort ist diese Dokumentation in den Abschnitten +`Entwicklung `__ und +`Referenz `__ zu finden. + +Natürlich lebt dieses Projekt wie alles bei Open Source vom mitmachen. Jeder ist eingeladen im Rahmen +seiner Möglichkeiten beizutragen. Das kann gerne die Erweiterung eines How-To, die Kommentierung +bestehenden Codes oder auch Beispiele sein. Wie alles zusammenhängt ------------------------- diff --git a/doc/user/source/entwicklung/plugins/plugins.rst b/doc/user/source/entwicklung/plugins/plugins.rst index 3db5e5117a..aa17d76ba6 100644 --- a/doc/user/source/entwicklung/plugins/plugins.rst +++ b/doc/user/source/entwicklung/plugins/plugins.rst @@ -21,8 +21,11 @@ Abschnitt und den links in der Navigation verlinkten Seiten gefunden werden. vorueberlegungen.rst /dev/README.md +Kurzanleitung +============= -Weitere Informationen über die zu erstellenden Methoden und ihre Parameter können in der folgenden Kurzanleitung gefunden werden. Die Libraries im Verzeichnis ``/lib`` stellen den Kern der Funktionalitäten von smarthomeng bereit. +Weitere Informationen über die zu erstellenden Methoden und ihre Parameter können in der folgenden Kurzanleitung +gefunden werden. Die Libraries im Verzeichnis ``/lib`` stellen den Kern der Funktionalitäten von smarthomeng bereit. .. toctree:: :maxdepth: 1 diff --git a/doc/user/source/entwicklung/plugins/vorueberlegungen.rst b/doc/user/source/entwicklung/plugins/vorueberlegungen.rst index 02f2b32227..480477827c 100644 --- a/doc/user/source/entwicklung/plugins/vorueberlegungen.rst +++ b/doc/user/source/entwicklung/plugins/vorueberlegungen.rst @@ -2,8 +2,44 @@ Vorüberlegungen =============== +Fragestellungen +--------------- + Bevor die Erstellung eines Plugins beginnt, muss man sich einige Fragen stellen und beantworten: - Welchen Typ soll das Plugin haben, welches erstellt werden soll? - Soll das externe System direkt angesteuert werden oder soll auf existierende Python Packages zurück gegriffen werden? +Typ des Plugins +--------------- + +... + +Nutzung von Python Packages +--------------------------- + +Die Frage, ob fertige 3rd Party Packages eingesetzt werden sollen, ist gut abzuwägen. Als Vorteil ist anzuführen, +dass man sich evtl. erhebliche Programmierung spart. Allerdings kommt es immer wieder vor, dass Python Packages im +Zuge ihrer Weiterentwicklung Breaking Changes einführen und bei Einsatz dieser neuen Package Version (z.B. bei +einer Neuinstallation von SmartHomeNG), das Plugin plötzlich und unerwartet nicht mehr funktioniert. + +Die Angabe einer bestimmten Version eines eingesetzten Packages ist jedoch auch keine Lösung, da Requirements aus +anderen Plugins oder auch Requirements in anderen eingesetzten Packages evtl. dazu führen, dass es keine geeignete +Package Version mehr gibt, die installiert werden könnte. + + +Python Version +-------------- + +Je nachdem unter welcher Python Version SmartHomeNG läuft, stehen Python Features zur Verfügung, oder eben auch nicht. +Es sollten nach Möglichkeit nur Python Features genutzt werden, die nereits in der ältesten unterstützten Python +Version (siehe ...) zur Verfügung stehen. Dadurch ist das Plugin am felxibelsten einsetzbar. + +Sollte auf ein Python Features zurück gegriffen werden (müssen), welches erst in neueren Python Versionen zur +Verfügung steht, ist es wichtig, die minimale Python Version unter der das Plugin lauffähig ist, in den Metadaten +in der Datei plugin.yaml des Plugins anzugeben. + +Sollte auf ein Python Features zurück gegriffen werden (müssen), welches in neueren Python nicht mehr zur Verfügung +steht, ist es wichtig, die maximale Python Version unter der das Plugin lauffähig ist, in den Metadaten +in der Datei plugin.yaml des Plugins anzugeben. + diff --git a/doc/user/source/referenz/APIs.rst b/doc/user/source/referenz/APIs.rst index 62213e9d56..9dee7d325d 100644 --- a/doc/user/source/referenz/APIs.rst +++ b/doc/user/source/referenz/APIs.rst @@ -1,3 +1,5 @@ + +==================== APIs von SmartHomeNG ==================== diff --git a/doc/user/source/referenz/netzwerk.rst b/doc/user/source/referenz/netzwerk.rst index 1d2399d5db..7745a27ac6 100644 --- a/doc/user/source/referenz/netzwerk.rst +++ b/doc/user/source/referenz/netzwerk.rst @@ -24,7 +24,7 @@ können frei konfiguriert werden. .. csv-table:: Port Nutzung durch SmartHomeNG :header: "Port", "Prozess", "Modul/Plugin", "Config Parameter", "Verwendung" - :widths: 10, 20, 30, 20, 60 + :widths: 13, 22, 31, 25, 60 "2424", "SmartHomeNG", "websocket Modul", "port", "ws:// für die smartVISU" "2425", "SmartHomeNG", "websocket Modul", "tls_port", "wss:// für die smartVISU (falls aktiviert)" @@ -39,12 +39,12 @@ Falls diese Dienste auch auf dem SmartHomeNG System installiert/gestartet sind, geöffenet: .. csv-table:: Port Nutzung durch weitere Dienste - :header: "Port", "Prozess", "Modul/Plugin", "...", "Verwendung" - :widths: 15, 20, 35, 20, 60 - - "1883", "Mosquitto", "MQTT Broker", "", "MQTT über TCP" - "4304", "owserver", "Daemon for 1-wire control", "", "..." - "6600", "mpd", "Music Player Daemon", "", "..." - "6720", "knxd", "KNX Daemon", "", "Kommunikation zu KNX Interface oder KNX Router" - "8883", "Mosquitto", "MQTT Broker", "", "Secure MQTT über TCP (falls konfiguriert)" + :header: "Port", "Prozess", "Modul/Plugin", "Verwendung" + :widths: 13, 22, 32, 85 + + "1883", "Mosquitto", "MQTT Broker", "Broker zur Nutzung des MQTT Protokolls über TCP" + "4304", "owserver", "1-wire control Daemon", "Ansteuerung des 1-Wire Bus Systems" + "6600", "mpd", "Music Player Daemon", "Wiedergabe von Musik über Audio Peripherie eines Linux Systems" + "6720", "knxd", "KNX Daemon", "Kommunikation zu KNX Interface oder KNX Router" + "8883", "Mosquitto", "MQTT Broker", "Secure MQTT über TCP (falls konfiguriert)" From d31179eeca7d2e2aad48f48328ec574938f55e84 Mon Sep 17 00:00:00 2001 From: msinn Date: Sat, 19 Feb 2022 19:46:30 +0100 Subject: [PATCH 09/86] Documentation updates --- doc/user/source/referenz/netzwerk.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/user/source/referenz/netzwerk.rst b/doc/user/source/referenz/netzwerk.rst index 7745a27ac6..30e6ac3eab 100644 --- a/doc/user/source/referenz/netzwerk.rst +++ b/doc/user/source/referenz/netzwerk.rst @@ -39,7 +39,7 @@ Falls diese Dienste auch auf dem SmartHomeNG System installiert/gestartet sind, geöffenet: .. csv-table:: Port Nutzung durch weitere Dienste - :header: "Port", "Prozess", "Modul/Plugin", "Verwendung" + :header: "Port", "Prozess", "Software", "Verwendung" :widths: 13, 22, 32, 85 "1883", "Mosquitto", "MQTT Broker", "Broker zur Nutzung des MQTT Protokolls über TCP" From 99964d390820af15fdbb5317204373d01eb0d8a4 Mon Sep 17 00:00:00 2001 From: sagl1 <98669074+sagl1@users.noreply.github.com> Date: Sat, 19 Feb 2022 19:54:08 +0100 Subject: [PATCH 10/86] Typo beim erstellen des Log Verzeichnisses Hat in meinem Setup einen fehler geworfen, weil smarthome.py keine Rechte hat ins Stammverzeichnis zu schreiben. --- lib/shpypi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shpypi.py b/lib/shpypi.py index afb72f5974..fa2c0bfd06 100644 --- a/lib/shpypi.py +++ b/lib/shpypi.py @@ -395,7 +395,7 @@ def install_requirements(self, req_type, logging=True, pip3_command=None): # ToDo # create_directories is available in lib.smarthome.py but shpypi.py might be started prior to SH object creation # thus it is needed to create the var/log directory here - os.makedirs(os.path.join(self._sh_dir, 'log'), exist_ok=True) + os.makedirs(os.path.join(self._sh_dir, 'var'), exist_ok=True) os.makedirs(os.path.join(self._sh_dir, 'var', 'log'), exist_ok=True) pip_log_name = os.path.join(self._sh_dir, 'var', 'log', 'pip3_outout.log') From 9288711cc14b356b15871da33d6c861b8a36a46b Mon Sep 17 00:00:00 2001 From: msinn Date: Mon, 21 Feb 2022 17:46:15 +0100 Subject: [PATCH 11/86] Documentation updates --- doc/user/source/einleitung.rst | 5 ++--- doc/user/source/referenz/metadata/item_attributes.rst | 10 ++++++++-- doc/user/source/referenz/netzwerk.rst | 1 + 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/doc/user/source/einleitung.rst b/doc/user/source/einleitung.rst index 98b3f88c7c..8aabca43b8 100644 --- a/doc/user/source/einleitung.rst +++ b/doc/user/source/einleitung.rst @@ -21,9 +21,8 @@ per Email verschickt. Eine umfassende (veraltete) Entwickler-Dokumentation in englischer Sprache gibt es unter `www.SmartHomeNG.de/developer `__. Nach und nach werden diese Informationen übersetzt und in die User Dokumentation -integriert. Dort ist diese Dokumentation in den Abschnitten -`Entwicklung `__ und -`Referenz `__ zu finden. +integriert. Dort ist diese Dokumentation in den Abschnitten :doc:`Entwicklung ` und +:doc:`Referenz ` zu finden. Natürlich lebt dieses Projekt wie alles bei Open Source vom mitmachen. Jeder ist eingeladen im Rahmen seiner Möglichkeiten beizutragen. Das kann gerne die Erweiterung eines How-To, die Kommentierung diff --git a/doc/user/source/referenz/metadata/item_attributes.rst b/doc/user/source/referenz/metadata/item_attributes.rst index 624e655d4f..4d99a0255f 100644 --- a/doc/user/source/referenz/metadata/item_attributes.rst +++ b/doc/user/source/referenz/metadata/item_attributes.rst @@ -36,9 +36,15 @@ in der Admin GUI benutzt. .. include:: /referenz/metadata/parameter_keys.rst +- ``duplicate_use:`` Optional: Falls auf ``True`` erfolgt keine Warnung, falls das Item-Attribut in unterschiedlichen + Plugins definiert ist. Dazu muss ``duplicate_use`` in allen Plugin Definitionen angegeben werden, in denen das + Attribut genutzt wird. Außerdem müssen die Definitionen der Item Attribute in den verschiedenen Plugins + übereinstimmen. -Plugins ohne item-attributes -~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +Plugins ohne Item Attribute +~~~~~~~~~~~~~~~~~~~~~~~~~~~ Falls ein Plugin keine Item Attribute hat, wird das durch den folgenden Eintrag in der Datei ``plugin.yaml`` angezeigt: diff --git a/doc/user/source/referenz/netzwerk.rst b/doc/user/source/referenz/netzwerk.rst index 30e6ac3eab..e630195d00 100644 --- a/doc/user/source/referenz/netzwerk.rst +++ b/doc/user/source/referenz/netzwerk.rst @@ -32,6 +32,7 @@ können frei konfiguriert werden. "8383", "SmartHomeNG", "http Modul", "port", "http:// für die Admin GUI und Webinterfaces" "8384", "SmartHomeNG", "http Modul", "servicesport", "Webservices" "8385", "SmartHomeNG", "http Modul", "tls_port", "https:// für die Admin GUI und Webinterfaces (falls aktiviert)" + "9000", "SmartHomeNG", "alexa4p3 Plugin", "service_port", "Port auf dem das Plugin die Anfragen von Amazon-Alexa erwartet" Die folgenden Dienste können auf dem System auf dem SmartHomeNG läuft installiert sein oder auf anderen Rechnern. From 262e9c218368222daa9dd0ecdb0b68d76c1d3205 Mon Sep 17 00:00:00 2001 From: msinn Date: Mon, 21 Feb 2022 17:47:16 +0100 Subject: [PATCH 12/86] =?UTF-8?q?lib.metadata:=20Fix=20f=C3=BCr=20item=20a?= =?UTF-8?q?ttribute=20prefix=20'my=5F'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/metadata.py | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/lib/metadata.py b/lib/metadata.py index f33f74bed1..8edf8d65bc 100644 --- a/lib/metadata.py +++ b/lib/metadata.py @@ -106,6 +106,19 @@ def __init__(self, sh, addon_name, addon_type, classpath=''): self.plugin_functions = None self._plugin_functionlist = [] + # dummy 'my_' prefix for user's attributes for logics, etc. (add only, if list is still empty) + if all_itemprefixdefinitions == {}: + prefix_name = 'my_' + all_itemprefixdefinitions[prefix_name] = {'type': 'foo', + 'description': {'de': 'Attribute für verschiedene Tests', + 'en': 'Attributes for various tests'}, + 'listtype': ['foo'], 'listlen': 0, '_addon_name': 'priv_develop', + '_addon_type': 'plugin', '_name': 'my_', '_type': 'prefix'} + all_itemprefixdefinitions[prefix_name]['_addon_name'] = 'lib_metadata' + all_itemprefixdefinitions[prefix_name]['_addon_type'] = 'plugin' + all_itemprefixdefinitions[prefix_name]['_name'] = prefix_name + all_itemprefixdefinitions[prefix_name]['_type'] = 'prefix' + if self.meta is not None: # read paramter and item definition sections if self._addon_type == 'module': @@ -170,14 +183,6 @@ def __init__(self, sh, addon_name, addon_type, classpath=''): # build dict for checking of item attributes and their values if self.itemprefixdefinitions is not None: - # dummy 'my_' prefix for user's attributes for logics, etc. (add only, if list is still empty) - if all_itemprefixdefinitions == {}: - prefix_name = 'my_' - all_itemprefixdefinitions[prefix_name] = {'type': 'foo', 'description': {'de': 'Attribute für verschiedene Tests', 'en': 'Attributes for various tests'}, 'listtype': ['foo'], 'listlen': 0, '_addon_name': 'priv_develop', '_addon_type': 'plugin', '_name': 'my_', '_type': 'prefix'} - all_itemprefixdefinitions[prefix_name]['_addon_name'] = 'lib_metadata' - all_itemprefixdefinitions[prefix_name]['_addon_type'] = 'plugin' - all_itemprefixdefinitions[prefix_name]['_name'] = prefix_name - all_itemprefixdefinitions[prefix_name]['_type'] = 'prefix' # add all prefixes loaded from metadate of the plugin for prefix_name in self.itemprefixdefinitions: all_itemprefixdefinitions[prefix_name] = self.itemprefixdefinitions[prefix_name] From b8af5a28b920d3628a1350d8a6e2bc5715eea823 Mon Sep 17 00:00:00 2001 From: msinn Date: Mon, 21 Feb 2022 17:48:21 +0100 Subject: [PATCH 13/86] lib.shtime: Implemented handling for breaking change in package 'holidays' v0.13 --- lib/shtime.py | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/lib/shtime.py b/lib/shtime.py index 0dfaf9b400..f8c3a7086c 100644 --- a/lib/shtime.py +++ b/lib/shtime.py @@ -1054,10 +1054,23 @@ def _initialize_holidays(self): c_logcount = ' ' + str(count) c_logtext = self.translate('defined') defined_state = '' - if self.holidays.state is not None: - defined_state = ", state'" + self.holidays.state + "'" + # Test if class of self.holiday has an attribute 'state' + try: + state = self.holidays.state + except Exception as e: + state = self.holidays.subdiv + + # Test if class of self.holiday has an attribute 'prov' + try: + prov = self.holidays.prov + except Exception as e: + prov = self.holidays.subdiv + state = None + + if state is not None: + defined_state = ", state'" + state + "'" self.log_msg = self.translate("Using holidays for country '{country}', province '{province}'{state},{count} custom holiday(s) {defined}") - self.log_msg = self.log_msg.format(country=self.holidays.country, province=self.holidays.prov, state=defined_state, count=c_logcount, defined=c_logtext) + self.log_msg = self.log_msg.format(country=self.holidays.country, province=prov, state=defined_state, count=c_logcount, defined=c_logtext) self.logger.info(self.log_msg) self.logger.info(self.translate('Defined holidays') + ':') From ce26bff41e65d0ad0558f1ddfb859db8fd46be8a Mon Sep 17 00:00:00 2001 From: msinn Date: Tue, 22 Feb 2022 23:37:21 +0100 Subject: [PATCH 14/86] lib.metadata: Fix for dicts in attributes --- lib/item/items.py | 10 ++++++++-- lib/metadata.py | 30 ++++++++++++++++++++++++++---- 2 files changed, 34 insertions(+), 6 deletions(-) diff --git a/lib/item/items.py b/lib/item/items.py index e5079603f0..9fc92fde3c 100644 --- a/lib/item/items.py +++ b/lib/item/items.py @@ -239,6 +239,11 @@ def load_itemdefinitions(self, env_dir, items_dir, etc_dir, plugins_dir): # self.item_count = len(self.__items) # self._sh.item_count = self.item_count() + # here goes debug output (if needed) after the initialization of all items + #import lib.metadata as metadata + #self.logger.notice(f"metadata.all_itemprefixdefinitions: {metadata.all_itemprefixdefinitions.keys()}") + + def add_item(self, path, item): """ @@ -456,9 +461,10 @@ def add_plugin_attribute(self, plugin_name, attribute_name, attribute): if plugin_name != self.plugin_attributes[attribute_name]['plugin']: if self.plugin_attributes[attribute_name]['meta']['type'] != attribute['type']: self.logger.error("Plugins '{}' and '{}' define the same item-attribute '{}' with different type definitions {}/{}".format(self.plugin_attributes[attribute_name]['plugin'], plugin_name, attribute_name, self.plugin_attributes[attribute_name]['meta']['type'], attribute['type'])) + elif not self.plugin_attributes[attribute_name]['meta'].get('duplicate_use', False): + self.logger.warning("Plugins '{self.plugin_attributes[attribute_name]['plugin']}' and '{plugin_name}' define the same item-attribute '{attribute_name}'") else: - self.logger.warning("Plugins '{}' and '{}' define the same item-attribute '{}'".format(self.plugin_attributes[attribute_name]['plugin'], plugin_name, attribute_name)) - + self.logger.info("Plugins '{self.plugin_attributes[attribute_name]['plugin']}' and '{plugin_name}' define the same item-attribute '{attribute_name}'") def add_plugin_attribute_prefix(self, plugin_name, prefix_name, prefix): """ diff --git a/lib/metadata.py b/lib/metadata.py index 8edf8d65bc..7da0afe49d 100644 --- a/lib/metadata.py +++ b/lib/metadata.py @@ -566,8 +566,15 @@ def _test_valuetype(self, typ, subtype, value): return result return (type(value) is list) elif typ == 'dict': - #return (type(value) is dict) - return (isinstance(value,dict)) + try: + d = dict(value) + except: + import ast + try: + d = ast.literal_eval(value) + except: + return False + return (isinstance(d,dict)) elif typ == 'ip': if Utils.is_ipv4(value): return True @@ -649,7 +656,14 @@ def _convert_valuetotype(self, typ, value): else: result = [value] elif typ == 'dict': - result = dict(value) + try: + result = dict(value) + except: + import ast + try: + result = ast.literal_eval(value) + except: + result = {} elif typ in ['ip', 'ipv4', 'ipv6', 'mac']: result = str(value) elif typ in ['knx_ga']: @@ -669,7 +683,6 @@ def _convert_value(self, value, definition, is_default=False): if definition is not None: typ = definition.get('type', 'foo') result = self._convert_valuetotype(typ, value) - orig = result if 'valid_list_ci' in definition.keys(): orig = str(orig).lower() @@ -747,6 +760,9 @@ def _test_validity(self, param, value, definition=None, is_default=False): while len(value) < definition['listlen']: value.append('') result = value + elif definition.get('type', 'foo') in ['dict']: + # No real testing for dicts + result = value # test against list of valid entries result = self._test_against_valid_list(definition, result) @@ -981,6 +997,11 @@ def _get_definition_defaultvalue(self, definition, definitions, definitionlist): if self._get_definition_type(definition, definitions) == 'dict': if definitions[definition].get('default') is not None: value = dict(definitions[definition].get('default')) + #import ast + #try: + # value = ast.literal_eval(value) + #except: + # value = {} else: value = definitions[definition].get('default') typ = self._get_definition_type(definition, definitions) @@ -991,6 +1012,7 @@ def _get_definition_defaultvalue(self, definition, definitions, definitionlist): if value is None: value = self._get_default_if_none(typ) value = self._expand_listvalues(value, self.parameters[definition]) + ###ms if not self._test_value(value, self.parameters[definition]): # Für non-default Prüfung nur Warning logger.error(self._log_premsg+"Invalid data for type '{}' in metadata file '{}': default '{}' for parameter '{}' -> using '{}' instead".format( definitions[definition].get('type'), self.relative_filename, value, definition, self._get_default_if_none(typ) ) ) From c8805f1a9f5705d31fdcba7c9d5739afede6ec98 Mon Sep 17 00:00:00 2001 From: Hasenradball Date: Fri, 25 Feb 2022 20:07:44 +0100 Subject: [PATCH 15/86] update of docu due to connection issues with Windows 10 --- doc/user/source/installation/komplettanleitung/07_samba.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/user/source/installation/komplettanleitung/07_samba.rst b/doc/user/source/installation/komplettanleitung/07_samba.rst index 1cc1930b7f..1abf5db40c 100644 --- a/doc/user/source/installation/komplettanleitung/07_samba.rst +++ b/doc/user/source/installation/komplettanleitung/07_samba.rst @@ -61,6 +61,7 @@ In die Datei folgendes einfügen: printing = bsd printcap name = /dev/null disable spoolss = yes + security = user # do not use old protocol versions due to security reasons server min protocol = SMB2_10 # client max protocol = SMB3 @@ -87,7 +88,7 @@ In die Datei folgendes einfügen: available = yes browseable = yes writable = yes - force user = www-data + force user = smarthome force group = www-data create mask = 0775 directory mask = 0775 From b34bac8f640aba57922b0cb284e4b71cd5bfa7a1 Mon Sep 17 00:00:00 2001 From: sagl1 <98669074+sagl1@users.noreply.github.com> Date: Sun, 6 Mar 2022 22:05:23 +0100 Subject: [PATCH 16/86] _base_dir instead of base_dir --- lib/smarthome.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/smarthome.py b/lib/smarthome.py index c67f709c5b..4c0d911fce 100644 --- a/lib/smarthome.py +++ b/lib/smarthome.py @@ -157,7 +157,7 @@ def initialize_dir_vars(self): self._etc_dir = os.path.join(self._base_dir, 'etc') self._var_dir = os.path.join(self._base_dir, 'var') self._lib_dir = os.path.join(self._base_dir,'lib') - self._plugins_dir = os.path.join(self.base_dir, 'plugins') + self._plugins_dir = os.path.join(self._base_dir, 'plugins') self._env_dir = os.path.join(self._lib_dir, 'env' + os.path.sep) self._env_logic_conf_basename = os.path.join(self._env_dir ,'logic') From db62a3fcc6fd81026d8b496a8026d505d37ce4ce Mon Sep 17 00:00:00 2001 From: Morg42 <43153739+Morg42@users.noreply.github.com> Date: Thu, 17 Mar 2022 21:59:13 +0100 Subject: [PATCH 17/86] lib.network: adjust logging, prepare connections monitoring --- lib/network.py | 197 +++++++++++++++++++++++++++-------------------- lib/smarthome.py | 11 ++- 2 files changed, 124 insertions(+), 84 deletions(-) diff --git a/lib/network.py b/lib/network.py index 184c440b41..c35b23889f 100644 --- a/lib/network.py +++ b/lib/network.py @@ -239,6 +239,34 @@ def clean_uri(uri, mode='show'): return pattern.sub(replacement[mode], uri) +class Connections(object): + """ + Within SmartHome.py there is one instance of this class + + The monitoring feature enables autoconnecting and auto- + reconnecting by checking .connected and calling + .connect() + """ + + _monitor = [] + + def __init__(self): + self._name = self.__class__.__name__ + + def monitor(self, obj): + if obj not in self._monitor: + self._monitor.append(obj) + + def unmonitor(self, obj): + if obj in self._monitor: + self._monitor.remove(obj) + + def check(self): + for obj in self._monitor: + if obj.alive and not obj.connected: + obj.connect() + + class Http(object): """ Provide methods to simplify HTTP connections, especially to talk to HTTP servers. @@ -252,7 +280,7 @@ class Http(object): :type hide_login: str """ - def __init__(self, baseurl='', timeout=10, hide_login='show'): + def __init__(self, baseurl='', timeout=10, hide_login='show', name=None): self.logger = logging.getLogger(__name__) self.baseurl = baseurl @@ -261,6 +289,8 @@ def __init__(self, baseurl='', timeout=10, hide_login='show'): self._session = requests.Session() self._hide_login = hide_login + self._id = f'({self.name if self.name else "HTTP"}_{self.baseurl})' + def HTTPDigestAuth(self, user=None, password=None): """ Create a HTTPDigestAuth instance and returns it to the caller. @@ -298,7 +328,7 @@ def post_json(self, url=None, params=None, verify=True, auth=None, json=None, fi try: json = self._response.json() except Exception: - self.logger.warning(f'Invalid JSON received from {Network.clean_uri(url, self._hide_login) if url else self.baseurl}') + self.logger.warning(f'{self._id} invalid JSON received from {Network.clean_uri(url, self._hide_login) if url else self.baseurl}') return json return None @@ -324,7 +354,7 @@ def get_json(self, url=None, params=None, verify=True, auth=None): try: json = self._response.json() except Exception: - self.logger.warning(f'Invalid JSON received from {Network.clean_uri(url if url else self.baseurl, self._hide_login) }') + self.logger.warning(f'{self._id} invalid JSON received from {Network.clean_uri(url if url else self.baseurl, self._hide_login) }') return json return None @@ -350,7 +380,7 @@ def get_text(self, url=None, params=None, encoding=None, timeout=None): self._response.encoding = encoding _text = self._response.text except Exception as e: - self.logger.error(f'Successful GET, but decoding response failed. This should never happen...error was: {e}') + self.logger.error(f'{self._id} successful GET, but decoding response failed. This should never happen...error was: {e}') return _text def download(self, url=None, local=None, params=None, verify=True, auth=None): @@ -373,13 +403,13 @@ def download(self, url=None, local=None, params=None, verify=True, auth=None): :rtype: bool """ if self.__get(url=url, params=params, verify=verify, auth=auth, stream=True): - self.logger.debug(f'Download of {Network.clean_uri(url, self._hide_login)} successfully completed, saving to {local}') + self.logger.debug(f'{self._id} download of {Network.clean_uri(url, self._hide_login)} successfully completed, saving to {local}') with open(str(local), 'wb') as f: for chunk in self._response: f.write(chunk) return True else: - self.logger.warning(f'Download error: {Network.clean_uri(url, self._hide_login)}') + self.logger.warning(f'{self._id} download error: {Network.clean_uri(url, self._hide_login)}') return False def get_binary(self, url=None, params=None): @@ -459,12 +489,12 @@ def __post(self, url=None, params=None, timeout=None, verify=True, auth=None, js url = self.baseurl + url if url else self.baseurl timeout = timeout if timeout else self.timeout data = json if json else data - self.logger.info(f'Sending POST request {json} to {Network.clean_uri(url, self._hide_login)}') + self.logger.info(f'{self._id} sending POST request {json} to {Network.clean_uri(url, self._hide_login)}') try: self._response = self._session.post(url, params=params, timeout=timeout, verify=verify, auth=auth, data=data, files=files) self.logger.debug(f'{self.response_status()} Posted to URL {Network.clean_uri(self._response.url, self._hide_login)}') except Exception as e: - self.logger.warning(f'Error sending POST request to {Network.clean_uri(url, self._hide_login)}: {e}') + self.logger.warning(f'{self._id} error sending POST request to {Network.clean_uri(url, self._hide_login)}: {e}') return False return True @@ -480,12 +510,12 @@ def __get(self, url=None, params=None, timeout=None, verify=True, auth=None, str """ url = self.baseurl + url if url else self.baseurl timeout = timeout if timeout else self.timeout - self.logger.info(f'Sending GET request to {Network.clean_uri(url, self._hide_login)}') + self.logger.info(f'{self._id} sending GET request to {Network.clean_uri(url, self._hide_login)}') try: self._response = self._session.get(url, params=params, timeout=timeout, verify=verify, auth=auth, stream=stream) - self.logger.debug(f'{self.response_status()} Fetched URL {Network.clean_uri(self._response.url, self._hide_login)}') + self.logger.debug(f'{self._id} {self.response_status()} fetched URL {Network.clean_uri(self._response.url, self._hide_login)}') except Exception as e: - self.logger.warning(f'Error sending GET request to {Network.clean_uri(url, self._hide_login)}: {e}') + self.logger.warning(f'{self._id} error sending GET request to {Network.clean_uri(url, self._hide_login)}: {e}') self._response = None return False return True @@ -571,11 +601,13 @@ def __init__(self, host, port, name=None, autoreconnect=True, connect_retries=5, self._host = host self._port = port + self._id = f'({self.name if self.name else "TCP_Client"}_{self._host}:{self._port})' (self._hostip, self._port, self._family) = Network.validate_inet_addr(host, port) if self._hostip is not None: - self.logger.info(f'Initializing a connection to {self._host} on TCP port {self._port} {"with" if self._autoreconnect else "without"} autoreconnect') + self._id = f'({self.name if self.name else "TCP_Client"}_{self._hostip}:{self._port})' + self.logger.info(f'{self._id} Initializing a connection to {self._host} on TCP port {self._port} {"with" if self._autoreconnect else "without"} autoreconnect') else: - self.logger.error(f'Connection to {self._host} not possible, invalid address') + self.logger.error(f'{self._id} Connection to {self._host} not possible, invalid address') def set_callbacks(self, connected=None, receiving=None, data_received=None, disconnected=None): """ @@ -602,17 +634,17 @@ def connect(self): :rtype: bool """ if self._is_connected: # return false if already connected - self.logger.debug(f'Already connected to {self._host}:{self._port}, ignoring new request') + self.logger.debug(f'{self._id} already connected, ignoring new request') return False if self._hostip is None: # return False if no valid ip to connect to - self.logger.error(f'No valid IP address to connect to {self._host}:{self._port}') + self.logger.error(f'{self._id} no valid IP address to connect') self._is_connected = False return False self.logger.debug(f'Starting connect to {self._host}:{self._port}') if not self.__connect_thread or not self.__connect_thread.is_alive(): - self.__connect_thread = threading.Thread(target=self._connect_thread_worker, name='TCP_Connect') + self.__connect_thread = threading.Thread(target=self._connect_thread_worker, name=f'TCP_Connect {self._id}') self.__connect_thread.daemon = True if not self.__running or not self.__connect_thread.is_alive(): self.__connect_thread.start() @@ -638,32 +670,32 @@ def send(self, message): try: message = message.encode('utf-8') except Exception: - self.logger.warning(f'Error encoding message for client {self.name}') + self.logger.warning(f'{self._id} error encoding message for client') return False # automatically (re)connect on send attempt if not self._is_connected: if self._autoconnect: - self.logger.debug(f'autoconnecting to host {self._host} on send attempt, message is {message}') + self.logger.debug(f'{self._id} autoconnecting on send attempt, message is {message}') self.connect() else: - self.logger.warning(f'trying to send {message}, but not connected to host {self._host} and autoconnect not active. Aborting.') + self.logger.warning(f'{self._id} trying to send {message}, but not connected and autoconnect not active. Aborting.') return False try: if self._is_connected: bytes_sent = self._socket.send(message) if bytes_sent != len(message): - self.logger.warning(f'Error sending message {message} to host {self._host}: message truncated, sent {bytes_sent} of {len(message)} bytes') + self.logger.warning(f'{self._id} error sending message {message}: message truncated, sent {bytes_sent} of {len(message)} bytes') else: return False except (BrokenPipeError, TimeoutError) as e: if e.errno == 60: # timeout - self.logger.warning(f'Detected timeout on {self._host}, disconnecting, send failed.') + self.logger.warning(f'{self._id} detected timeout, disconnecting, send failed.') else: - self.logger.warning(f'Detected disconnect from {self._host}, send failed.') + self.logger.warning(f'{self._id} detected disconnect, send failed.') self._is_connected = False try: self._socket.shutdown() @@ -672,12 +704,12 @@ def send(self, message): if self._disconnected_callback: self._disconnected_callback(self) if self._autoreconnect: - self.logger.debug(f'Autoreconnect enabled for {self._host}') + self.logger.debug(f'{self._id} autoreconnect enabled') self.connect() return False except Exception as e: # log errors we are not prepared to handle and raise exception for further debugging - self.logger.warning(f'Unhandleded error on sending to {self._host}, cannot send data {message}. Error: {e}') + self.logger.warning(f'{self._id} unhandleded error on sending, cannot send data {message}. Error: {e}') raise return True @@ -687,12 +719,12 @@ def _connect_thread_worker(self): Thread worker to handle connection. """ if not self.__connect_threadlock.acquire(blocking=False): - self.logger.info(f'Connection attempt already in progress for {self._host}:{self._port}, ignoring new request') + self.logger.info(f'{self._id} connection attempt already in progress, ignoring new request') return if self._is_connected: - self.logger.info(f'Already connected to {self._host}:{self._port}, ignoring new request') + self.logger.info(f'{self._id} already connected, ignoring new request') return - self.logger.debug(f'Starting connection cycle for {self._host}:{self._port}') + self.logger.debug(f'{self._id} starting connection cycle') self._connect_counter = 0 self.__running = True while self.__running and not self._is_connected: @@ -704,10 +736,8 @@ def _connect_thread_worker(self): self.__connect_threadlock.release() if self._connected_callback: self._connected_callback(self) - _name = 'TCP_Client' - if self.name is not None: - _name = self.name + '.' + _name - self.__receive_thread = threading.Thread(target=self.__receive_thread_worker, name=_name) + name = f'TCP_Client {self._id}' + self.__receive_thread = threading.Thread(target=self.__receive_thread_worker, name=name) self.__receive_thread.daemon = True self.__receive_thread.start() except Exception: @@ -730,7 +760,7 @@ def _connect(self): """ Initiate connection. """ - self.logger.debug(f'Connecting to {self._host} using {"IPv6" if self._family == socket.AF_INET6 else "IPv4"} {self._hostip} on TCP port {self._port} {"with" if self._autoreconnect else "without"} autoreconnect') + self.logger.debug(f'{self._id} connecting using TCP/{"IPv6" if self._family == socket.AF_INET6 else "IPv4"} {"with" if self._autoreconnect else "without"} autoreconnect') # Try to connect to remote host using ip (v4 or v6) try: self._socket = socket.socket(self._family, socket.SOCK_STREAM) @@ -739,18 +769,18 @@ def _connect(self): self._socket.connect((f'{self._hostip}', int(self._port))) self._socket.settimeout(self._timeout) self._is_connected = True - self.logger.info(f'Connected to {self._host} on TCP port {self._port}') + self.logger.info(f'{self._id} connected') # Connection error except Exception as err: self._is_connected = False self._connect_counter += 1 - self.logger.warning(f'TCP connection to {self._host}:{self._port} failed {self._connect_counter}/{self._connect_retries} times, last error was: {err}') + self.logger.warning(f'{self._id} TCP connection failed {self._connect_counter}/{self._connect_retries} times, last error was: {err}') def __receive_thread_worker(self): """ Thread worker to handle receiving. """ - self.logger.debug(f'started receive thread for host {self._host}') + self.logger.debug(f'{self._id} started receive thread') waitobj = IOWait() waitobj.watch(self._socket, read=True) __buffer = b'' @@ -802,14 +832,14 @@ def __receive_thread_worker(self): try: self._data_received_callback(self, line if self._binary else str(line, 'utf-8').strip()) except Exception as iex: - self._log_exception(iex, f'lib.network receive in terminator mode calling data_received_callback {self._data_received_callback} failed: {iex}') + self._log_exception(iex, f'lib.network {self._id} receive in terminator mode calling data_received_callback {self._data_received_callback} failed: {iex}') # If not in terminator mode just forward what we received else: if self._data_received_callback is not None: try: self._data_received_callback(self, msg) except Exception as iex: - self._log_exception(iex, f'lib.network calling data_received_callback {self._data_received_callback} failed: {iex}') + self._log_exception(iex, f'lib.network {self._id} calling data_received_callback {self._data_received_callback} failed: {iex}') # If empty peer has closed the connection else: if self.__running: @@ -821,33 +851,33 @@ def __receive_thread_worker(self): pass if timeout: # TimeoutError exception caught - self.logger.warning(f'Connection timed out on peer {self._host}, disconnecting.') + self.logger.warning(f'{self._id} connection timed out, disconnecting.') else: # default state, peer closed connection - self.logger.warning(f'Connection closed by peer {self._host}') + self.logger.warning(f'{self._id} connection closed by peer') waitobj.unwatch(self._socket) if self._disconnected_callback is not None: try: self._disconnected_callback(self) except Exception as iex: - self._log_exception(iex, f'lib.network calling disconnected_callback {self._disconnected_callback} failed: {iex}') + self._log_exception(iex, f'lib.network {self._id} calling disconnected_callback {self._disconnected_callback} failed: {iex}') if self._autoreconnect: - self.logger.debug(f'Autoreconnect enabled for {self._host}') + self.logger.debug(f'{self._id} autoreconnect enabled') self.connect() if self._is_connected: - self.logger.debug('set a read watch on socket again') + self.logger.debug('{self._id} set read watch on socket again') waitobj.watch(self._socket, read=True) else: # socket shut down by self.close, no error - self.logger.debug('Connection shut down by call to close method') + self.logger.debug('{self._id} connection shut down by call to close method') return except Exception as ex: if not self.__running: - self.logger.debug('lib.network receive thread shutting down') + self.logger.debug('{self._id} receive thread shutting down') self._is_receiving = False return else: - self._log_exception(ex, f'lib.network receive thread died with unexpected error: {ex}. Go tell...') + self._log_exception(ex, f'lib.network {self._id} receive thread died with unexpected error: {ex}. Go tell...') self._is_receiving = False def _log_exception(self, ex, msg): @@ -890,7 +920,7 @@ def close(self): Close the current client socket. """ self.__running = False - self.logger.info(f'Closing connection to {self._host} on TCP port {self._port}') + self.logger.info(f'{self._id} closing connection') if self._is_connected: self._socket.shutdown(socket.SHUT_RD) if self.__connect_thread is not None and self.__connect_thread.is_alive(): @@ -920,9 +950,9 @@ class ConnectionClient(object): :type fd: int """ - def __init__(self, server=None, socket=None, ip=None, port=None): + def __init__(self, server=None, socket=None, ip=None, port=None, name=None): self.logger = logging.getLogger(__name__) - self.name = None + self.name = name self.ip = ip self.port = port self.family = None @@ -934,6 +964,8 @@ def __init__(self, server=None, socket=None, ip=None, port=None): self.__server = server self.__socket = socket + self._id = f'({self.name if self.name else "Connection"}_{self.ip}:{self.port})' + @property def socket(self): """ @@ -972,14 +1004,14 @@ def send(self, message): try: message = message.encode('utf-8') except Exception: - self.logger.warning(f'Error encoding data for client {self.name}') + self.logger.warning(f'{self._id} error encoding data') return False try: self.writer.write(message) asyncio.ensure_future(self.__drain_writer()) except Exception as e: - self.logger.warning(f'Error sending data to client {self.name}: {e}') + self.logger.warning(f'{self._id} error sending data: {e}') return False return True @@ -989,7 +1021,7 @@ def send_echo_off(self): """ command = bytearray([0xFF, 0xFB, 0x01]) string = self._iac_to_string(command) - self.logger.debug(f'Sending IAC telnet command: {string}') + self.logger.debug(f'{self._id} sending IAC telnet command: {string}') self.send(command) def send_echo_on(self): @@ -998,7 +1030,7 @@ def send_echo_on(self): """ command = bytearray([0xFF, 0xFC, 0x01]) string = self._iac_to_string(command) - self.logger.debug(f'Sending IAC telnet command: {string}') + self.logger.debug(f'{self._id} sending IAC telnet command: {string}') self.send(command) def _process_IAC(self, msg): @@ -1009,7 +1041,7 @@ def _process_IAC(self, msg): """ if len(msg) >= 3: string = self._iac_to_string(msg[:3]) - self.logger.debug(f'Received IAC telnet command: {string}') + self.logger.debug(f'{self._id} received IAC telnet command: {string}') msg = msg[3:] return msg @@ -1093,9 +1125,12 @@ def __init__(self, port, host='', name=None, mode=MODE_BINARY, terminator=None): self.__running = True # Test if host is an ip address or a host name + self._id = f'({self.name if self.name else "TCP_Server"}_{self._host}:{self._port})' + (self._ipaddr, self._port, self._family) = Network.validate_inet_addr(host, port) if self._ipaddr is not None: + self._id = f'({self.name if self.name else "TCP_Server"}_{self._ipaddr}:{self._port})' self.__our_socket = Network.ip_port_to_socket(self._ipaddr, self._port) if not self.name: self.name = self.__our_socket @@ -1126,21 +1161,17 @@ def start(self): if self._is_listening: return False try: - self.logger.info(f'Starting up TCP server socket {self.__our_socket}') + self.logger.info(f'{self._id} starting up TCP server socket') self.__loop = asyncio.new_event_loop() asyncio.set_event_loop(self.__loop) self.__coroutine = asyncio.start_server(self.__handle_connection, self._ipaddr, self._port) self.__server = self.__loop.run_until_complete(self.__coroutine) - _name = 'TCP_Server' - if self.name is not None: - _name = f'{self.name}.{_name}' - - self.__listening_thread = threading.Thread(target=self.__listening_thread_worker, name=_name) + self.__listening_thread = threading.Thread(target=self.__listening_thread_worker, name=f'TCPServer {self._id}') self.__listening_thread.daemon = True self.__listening_thread.start() except Exception as e: - self.logger.error(f'Error starting server: {e}') + self.logger.error(f'{self._id} error starting server: {e}') return False return True @@ -1153,7 +1184,7 @@ def __listening_thread_worker(self): try: self.__loop.run_forever() except Exception: - self.logger.debug('*** Error in loop.run_forever()') + self.logger.debug(f'{self._id} error in loop.run_forever()') finally: for task in asyncio.all_tasks(self.__loop): task.cancel() @@ -1180,7 +1211,7 @@ async def __handle_connection(self, reader, writer): client.name = Network.ip_port_to_socket(client.ip, client.port) client.writer = writer - self.logger.info(f'Incoming connection from {peer_socket} on socket {self.__our_socket}') + self.logger.info(f'{self._id} incoming connection from {peer_socket}') if self._incoming_connection_callback: self._incoming_connection_callback(self, client) @@ -1199,13 +1230,13 @@ async def __handle_connection(self, reader, writer): if data: try: string = str.rstrip(str(data, 'utf-8')) - self.logger.debug(f'Received "{string}" from {client.name}') + self.logger.debug(f'{self._id} received "{string}" from {client.name}') if self._data_received_callback: self._data_received_callback(self, client, string) if client._data_received_callback: client._data_received_callback(self, client, string) except Exception as e: - self.logger.debug(f'Received undecodable bytes from {client.name}: {data}, resulting in error: {e}') + self.logger.debug(f'{self._id} received undecodable bytes from {client.name}: {data}, resulting in error: {e}') else: try: self.__close_client(client) @@ -1221,7 +1252,7 @@ def __close_client(self, client): :param client: client object :type client: lib.network.ConnectionClient """ - self.logger.info(f'Connection to client {client.name} closed') + self.logger.info(f'{self._id} connection to client {client.name} closed') if self._disconnected_callback: self._disconnected_callback(self, client) client.writer.close() @@ -1265,14 +1296,14 @@ def close(self): """ Close running listening socket. """ - self.logger.info(f'Shutting down listening socket on host {self._host} port {self._port}') + self.logger.info(f'{self._id} shutting down listening socket') asyncio.set_event_loop(self.__loop) try: active_connections = len([task for task in asyncio.all_tasks(self.__loop) if not task.done()]) except Exception: active_connections = 0 if active_connections > 0: - self.logger.info(f'Tcp_server still has {active_connections} active connection(s), cleaning up') + self.logger.info(f'{self._id} still has {active_connections} active connection(s), cleaning up') self.__running = False self.__loop.call_soon_threadsafe(self.__loop.stop) while self.__loop.is_running(): @@ -1335,10 +1366,13 @@ def __init__(self, port, host='', name=None): self.__listening_thread = None self.__running = True + self._id = f'({self.name if self.name else "UDP_Server"}_{self._host}:{self._port})' + # create sensible ipaddr (resolve host, handle protocol family) (self._ipaddr, self._port, self._family) = Network.validate_inet_addr(host, port) if self._ipaddr is not None: + self._id = f'({self.name if self.name else "UDP_Server"}_{self._ipaddr}:{self._port})' self.__our_socket = Network.ip_port_to_socket(self._ipaddr, self._port) if not self.name: self.name = self.__our_socket @@ -1353,24 +1387,21 @@ def start(self): :rtype: bool """ if not self.__running: - self.logger.error('UDP server not initialized, can not start.') + self.logger.error(f'{self._id} UDP server not initialized, can not start.') return False if self._is_listening: - self.logger.warning('UDP server already listening, not starting again') + self.logger.warning(f'{self._id} already listening, not starting again') return False try: - self.logger.info(f'Starting up UDP server socket {self.__our_socket}') + self.logger.info(f'{self._id} starting up UDP server socket') self.__coroutine = self.__start_server() self.__loop.run_until_complete(self.__coroutine) - _name = 'UDP_Server' - if self.name is not None: - _name = self.name + '.' + _name - self.__listening_thread = threading.Thread(target=self.__listening_thread_worker, name=_name) + self.__listening_thread = threading.Thread(target=self.__listening_thread_worker, name=f'UDP_Server {self._id}') self.__listening_thread.daemon = True self.__listening_thread.start() except Exception as e: - self.logger.error(f'Error {e} setting up udp server for {self.__our_socket}') + self.logger.error(f'{self._id} error {e} setting up udp server') return False return True @@ -1397,7 +1428,7 @@ def close(self): """ Close running listening socket. """ - self.logger.info(f'Shutting down listening socket on host {self._host} port {self._port}') + self.logger.info(f'{self._id} shutting down listening socket') asyncio.set_event_loop(self.__loop) self.__running = False self.__server.stop() @@ -1434,12 +1465,12 @@ def __listening_thread_worker(self): Run the asyncio loop in a separate thread to not block the Udp_server.start() method. """ self._is_listening = True - self.logger.debug('listening thread set is_listening to True') + self.logger.debug('{self._id} listening thread set is_listening to True') asyncio.set_event_loop(self.__loop) try: self.__loop.run_forever() except Exception as e: - self.logger.debug(f'*** Error in loop.run_forever(): {e}') + self.logger.debug(f'{self._id} error in loop.run_forever(): {e}') finally: self.__server.stop() self.__loop.close() @@ -1460,22 +1491,22 @@ async def __handle_connection(self, data, addr): if addr: host, port = addr else: - self.logger.debug(f'Address info {addr} not in format "(host, port)"') + self.logger.debug(f'{self._id} address info {addr} not in format "(host, port)"') host = '0.0.0.0' port = 0 - self.logger.info(f'Incoming datagram from {host}:{port} on socket {self.__our_socket}') + self.logger.info(f'{self._id} incoming datagram from {host}:{port}') if data: try: string = str.rstrip(str(data, 'utf-8')) - self.logger.debug(f'Received "{string}" from {host}:{port}') + self.logger.debug(f'{self._id} received "{string}" from {host}:{port}') if self._data_received_callback: self._data_received_callback(addr, string) except UnicodeError: - self.logger.debug(f'Received undecodable bytes from {host}:{port}') + self.logger.debug(f'{self._id} received undecodable bytes from {host}:{port}') else: - self.logger.debug(f'Received empty datagram from {host}:{port}') + self.logger.debug(f'{self._id} received empty datagram from {host}:{port}') def __str__(self): if self.name: diff --git a/lib/smarthome.py b/lib/smarthome.py index c67f709c5b..9cfc668aeb 100644 --- a/lib/smarthome.py +++ b/lib/smarthome.py @@ -84,6 +84,7 @@ import lib.log import lib.logic import lib.module +import lib.network import lib.plugin import lib.scene import lib.scheduler @@ -577,6 +578,8 @@ def start(self): # Init Connections ############################################################# self.connections = lib.connection.Connections() + # self.connections = lib.network.Connections() + # switch on removing lib.connection ############################################################# # Init and start loadable Modules @@ -632,7 +635,7 @@ def start(self): self.scenes = lib.scene.Scenes(self) ############################################################# - # Start Connections + # Start Connections - remove with lib.connection ############################################################# self.scheduler.add('sh.connections', self.connections.check, cycle=10, offset=0) self._export_threadinfo() @@ -645,6 +648,11 @@ def start(self): self.plugins.start() self.plugin_start_complete = True + ############################################################# + # Start connection monitoring - enable on removing lib.connection + ############################################################# + # self.scheduler.add('sh.connection_monitor', self.connections.check, cycle=10, offset=0) + ############################################################# # Execute Maintenance Method ############################################################# @@ -658,6 +666,7 @@ def start(self): self.shng_status = {'code': 20, 'text': 'Running'} self._logger_main.notice("-------------------- SmartHomeNG initialization finished --------------------") + # modify/replace on removing lib.connection while self.alive: try: self.connections.poll() From af2d7930e5862b6246f5778c3dad24526c0d30a9 Mon Sep 17 00:00:00 2001 From: msinn Date: Sun, 20 Mar 2022 16:50:32 +0100 Subject: [PATCH 18/86] Documentation update --- doc/user/source/einleitung.rst | 4 ++-- .../referenz/logiken/logiken_funktionen.rst | 16 +++++++++++----- .../referenz/logiken/logiken_python_module.rst | 12 ++++++++++++ 3 files changed, 25 insertions(+), 7 deletions(-) diff --git a/doc/user/source/einleitung.rst b/doc/user/source/einleitung.rst index 8aabca43b8..eaaeaf2bea 100644 --- a/doc/user/source/einleitung.rst +++ b/doc/user/source/einleitung.rst @@ -21,8 +21,8 @@ per Email verschickt. Eine umfassende (veraltete) Entwickler-Dokumentation in englischer Sprache gibt es unter `www.SmartHomeNG.de/developer `__. Nach und nach werden diese Informationen übersetzt und in die User Dokumentation -integriert. Dort ist diese Dokumentation in den Abschnitten :doc:`Entwicklung ` und -:doc:`Referenz ` zu finden. +integriert. Dort ist diese Dokumentation in den Abschnitten :doc:`Entwicklung ` und +:doc:`Referenz ` zu finden. Natürlich lebt dieses Projekt wie alles bei Open Source vom mitmachen. Jeder ist eingeladen im Rahmen seiner Möglichkeiten beizutragen. Das kann gerne die Erweiterung eines How-To, die Kommentierung diff --git a/doc/user/source/referenz/logiken/logiken_funktionen.rst b/doc/user/source/referenz/logiken/logiken_funktionen.rst index 991a010d7f..bfff2149aa 100644 --- a/doc/user/source/referenz/logiken/logiken_funktionen.rst +++ b/doc/user/source/referenz/logiken/logiken_funktionen.rst @@ -12,12 +12,18 @@ Funktionen und Klassen in Logiken Funktionen in Logiken ===================== -Bei der Nutzung von Funktionen in Logiken ist eine Besonderheit zu beachten: +Bei der Nutzung von Funktionen in Logiken ist eine Besonderheit zu beachten: Eine Logik verhält sich nicht +wie ein Python Modul! -Eine Logik verhält sich nicht wie ein Python Modul! Variablen und Funktionen die auf Ebene der Logik definiert werden, -sind keine globalen Objekte. Sie stehen in Funktionen die innerhalb der Logik definiert werden nicht zur Verfügung. -Daher müssen Variablen und Funktionen die innerhalb von Funktionen genutzt werden, der Funktion explizit bekannt gemacht -werden. +.. important:: + + Eine Logik verhält sich nicht wie ein Python Modul! Variablen und Funktionen die auf Ebene der Logik definiert + werden, sind keine globalen Objekte. Sie stehen in Funktionen die innerhalb der Logik definiert werden nicht + zur Verfügung. Daher müssen Variablen und Funktionen die innerhalb von Funktionen genutzt werden, der Funktion + explizit bekannt gemacht werden. + + Sollen in der Logik weitere Python Module genutzt werden, so muss der import der Moduls innerhalb der Funktion + erfolgen, die eine Funktion aus dem zu importierenden Python Modul nutzt. Dafür müssen Funktionen und Variablen der Funktion als Parameter übergeben werden. Das kann geschehen, indem die Übergabe für jede Variable/Funktion einzeln erfolgt oder sie können in einem Objekt übergeben werden (was die zu diff --git a/doc/user/source/referenz/logiken/logiken_python_module.rst b/doc/user/source/referenz/logiken/logiken_python_module.rst index b4b4971b11..a9189c50f7 100644 --- a/doc/user/source/referenz/logiken/logiken_python_module.rst +++ b/doc/user/source/referenz/logiken/logiken_python_module.rst @@ -46,3 +46,15 @@ weitere Packages von pypi.org: +-----------------+------------------------------------------------+ +Import weiterer Python Module +============================= + +Weitere Module können normal mit dem import Statement importiert werden. + +Beim import von Modulen in Logiken ist eine Besonderheit zu beachten, falls in der Logik Funktionen definiert +werden: Eine Logik verhält sich nicht wie ein Python Modul! + +.. important:: + + Sollen in der Logik weitere Python Module genutzt werden, so muss der import der Moduls innerhalb der Funktion + erfolgen, die eine Funktion aus dem zu importierenden Python Modul nutzt. From 16ce3ba8032b39505c3ad6ccb7cda648e1696af1 Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Mon, 21 Mar 2022 09:50:55 +0100 Subject: [PATCH 19/86] update example plugin to reflect webif_pagelength attribute and new datatable options. --- dev/sample_plugin/__init__.py | 4 ++ dev/sample_plugin/plugin.yaml | 24 +++++++ dev/sample_plugin/user_doc.rst | 16 +---- dev/sample_plugin/webif/__init__.py | 7 +- dev/sample_plugin/webif/templates/index.html | 69 ++++++++++++++++---- 5 files changed, 94 insertions(+), 26 deletions(-) diff --git a/dev/sample_plugin/__init__.py b/dev/sample_plugin/__init__.py index 8b47bbe00f..667ac5b8b0 100644 --- a/dev/sample_plugin/__init__.py +++ b/dev/sample_plugin/__init__.py @@ -66,6 +66,10 @@ def __init__(self, sh): # get the parameters for the plugin (as defined in metadata plugin.yaml): # self.param1 = self.get_parameter_value('param1') + # webif_pagelength should be included in all plugins using a web interface + # It is used to overwrite the default max number of entries per page in the tables + # self.webif_pagelength = self.get_parameter_value('webif_pagelength') + # cycle time in seconds, only needed, if hardware/interface needs to be # polled for value changes by adding a scheduler entry in the run method of this plugin # (maybe you want to make it a plugin parameter?) diff --git a/dev/sample_plugin/plugin.yaml b/dev/sample_plugin/plugin.yaml index 17cda20d27..0b690a332e 100644 --- a/dev/sample_plugin/plugin.yaml +++ b/dev/sample_plugin/plugin.yaml @@ -23,6 +23,30 @@ plugin: parameters: # Definition of parameters to be configured in etc/plugin.yaml (enter 'parameters: NONE', if section should be empty) + + # This parameter should be included if plugin provides a web interface. It lets users configure the standard number of entries per page + webif_pagelength: + type: int + default: 100 + valid_list: + - -1 + - 0 + - 25 + - 50 + - 100 + description: + de: 'Anzahl an Items, die standardmäßig in einer Web Interface Tabelle pro Seite angezeigt werden. + 0 = automatisch, -1 = alle' + en: 'Amount of items being listed in a web interface table per page by default. + 0 = automatic, -1 = all' + description_long: + de: 'Anzahl an Items, die standardmäßig in einer Web Interface Tabelle pro Seite angezeigt werden.\n + Bei 0 wird die Tabelle automatisch an die Höhe des Browserfensters angepasst.\n + Bei -1 werden alle Tabelleneinträge auf einer Seite angezeigt.' + en: 'Amount of items being listed in a web interface table per page by default.\n + 0 adjusts the table height automatically based on the height of the browser windows.\n + -1 shows all table entries on one page.' + param1: type: str description: diff --git a/dev/sample_plugin/user_doc.rst b/dev/sample_plugin/user_doc.rst index 3e512e4bf0..fdfdbd311e 100644 --- a/dev/sample_plugin/user_doc.rst +++ b/dev/sample_plugin/user_doc.rst @@ -1,17 +1,5 @@ -.. index:: Plugins; sample -.. index:: sample - -====== -sample -====== - -.. image:: webif/static/img/plugin_logo.png - :alt: plugin logo - :width: 300px - :height: 300px - :scale: 50 % - :align: left - +Sample Plugin <- hier den Namen des Plugins einsetzen +===================================================== Anforderungen ------------- diff --git a/dev/sample_plugin/webif/__init__.py b/dev/sample_plugin/webif/__init__.py index cfe41ab948..e020419771 100644 --- a/dev/sample_plugin/webif/__init__.py +++ b/dev/sample_plugin/webif/__init__.py @@ -71,8 +71,14 @@ def index(self, reload=None): :return: contents of the template after beeing rendered """ tmpl = self.tplenv.get_template('index.html') + # Setting pagelength (max. number of table entries per page) for web interface + try: + pagelength = self.plugin.webif_pagelength + except Exception: + pagelength = 100 # add values to be passed to the Jinja2 template eg: tmpl.render(p=self.plugin, interface=interface, ...) return tmpl.render(p=self.plugin, + webif_pagelength=pagelength, items=sorted(self.items.return_items(), key=lambda k: str.lower(k['_path'])), item_count=0) @@ -101,4 +107,3 @@ def get_data_html(self, dataSet=None): # except Exception as e: # self.logger.error("get_data_html exception: {}".format(e)) return {} - diff --git a/dev/sample_plugin/webif/templates/index.html b/dev/sample_plugin/webif/templates/index.html index 7655b68c13..bf009ca113 100644 --- a/dev/sample_plugin/webif/templates/index.html +++ b/dev/sample_plugin/webif/templates/index.html @@ -6,13 +6,28 @@ {% set update_interval = 0 %} {% block pluginstyles %} {% endblock pluginstyles %} @@ -27,7 +42,12 @@ myProto = document.getElementById(dataSet); for (item in objResponse) { /* - shngInsertText (item+'_value', objResponse[item]['value'], 'maintable'); + Parameters for shngInsertText: + 0: mandatory, ID of the HTML element, e.g. the table cell + 1: mandatory, Value to be written - taken from the objResponse dict + 2: optional, If element of parameter 0 is in a (data)table, the ID of the table has to be put here + 3: optional, If you want a visual highlight effect when a value changes, provide the duration in seconds. + shngInsertText (item+'_value', objResponse[item]['value'], 'maintable', 5); */ } } @@ -46,21 +66,48 @@ Of course you can also overwrite defaults by putting the option declarations in {} below. */ $(window).trigger('datatables_defaults'); - try - { - $('#maintable').DataTable( {} ); // put options into {} if needed - $('#').DataTable( {} ); // delete or change name - } - catch (e) - { - console.log("Datatable JS not loaded, showing standard table without reorder option " + e) - } + try { + /* get pagelength from plugin. Also see hidden span element in headtable block! */ + webif_pagelength = parseInt(document.getElementById('webif_pagelength').innerHTML); + if (webif_pagelength == 0) { + resize = true; + webif_pagelength = -1; + } + else { + resize = false; + } + } + catch (e) { + webif_pagelength = 100; + resize = false; + console.log("Using default values for page length " + webif_pagelength + ", pageResize: " + resize); + } + try { + /* + Copy this part for every datatable on your page. Adjust options if necessary. + pageLength and pageResize should be included as they are to adjust it based on the plugin settings + */ + table = $('#maintable').DataTable( { + /* If you want to define your own columnDefs options (e.g. for hiding a column by default), use the concat function shown here. + columnDefs: [{ "targets": [8], "className": "none"}].concat($.fn.dataTable.defaults.columnDefs), + */ + pageLength: webif_pagelength, + pageResize: resize}); + } + catch (e) { + console.log("Datatable JS not loaded, showing standard table without reorder option " + e); + } }); {% endblock pluginscripts %} {% block headtable %} + + + From eba0a032a8c9bc89ef12d0ec39d2c55d7038aa3e Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Mon, 21 Mar 2022 09:58:37 +0100 Subject: [PATCH 20/86] jquery-ui effects e.g. for highlight effect (min js + css) --- modules/http/webif/gstatic/css/jquery-ui.min.css | 7 +++++++ modules/http/webif/gstatic/js/jquery-ui.min.js | 6 ++++++ modules/http/webif/gtemplates/base.html | 2 ++ 3 files changed, 15 insertions(+) create mode 100644 modules/http/webif/gstatic/css/jquery-ui.min.css create mode 100644 modules/http/webif/gstatic/js/jquery-ui.min.js diff --git a/modules/http/webif/gstatic/css/jquery-ui.min.css b/modules/http/webif/gstatic/css/jquery-ui.min.css new file mode 100644 index 0000000000..3e1b5718ea --- /dev/null +++ b/modules/http/webif/gstatic/css/jquery-ui.min.css @@ -0,0 +1,7 @@ +/*! jQuery UI - v1.13.1 - 2022-02-26 +* http://jqueryui.com +* Includes: theme.css +* To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=base&cornerRadiusShadow=8px&offsetLeftShadow=0px&offsetTopShadow=0px&thicknessShadow=5px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=666666&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=aaaaaa&iconColorError=cc0000&fcError=5f3f3f&borderColorError=f1a899&bgTextureError=flat&bgColorError=fddfdf&iconColorHighlight=777620&fcHighlight=777620&borderColorHighlight=dad55e&bgTextureHighlight=flat&bgColorHighlight=fffa90&iconColorActive=ffffff&fcActive=ffffff&borderColorActive=003eff&bgTextureActive=flat&bgColorActive=007fff&iconColorHover=555555&fcHover=2b2b2b&borderColorHover=cccccc&bgTextureHover=flat&bgColorHover=ededed&iconColorDefault=777777&fcDefault=454545&borderColorDefault=c5c5c5&bgTextureDefault=flat&bgColorDefault=f6f6f6&iconColorContent=444444&fcContent=333333&borderColorContent=dddddd&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=444444&fcHeader=333333&borderColorHeader=dddddd&bgTextureHeader=flat&bgColorHeader=e9e9e9&cornerRadius=3px&fwDefault=normal&fsDefault=1em&ffDefault=Arial%2CHelvetica%2Csans-serif +* Copyright jQuery Foundation and other contributors; Licensed MIT */ + +.ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget.ui-widget-content{border:1px solid #c5c5c5}.ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:bold}.ui-widget-header a{color:#333}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,.ui-button,html .ui-button.ui-state-disabled:hover,html .ui-button.ui-state-disabled:active{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:normal;color:#454545}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button,.ui-button{color:#454545;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus,.ui-button:hover,.ui-button:focus{border:1px solid #ccc;background:#ededed;font-weight:normal;color:#2b2b2b}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,a.ui-button:hover,a.ui-button:focus{color:#2b2b2b;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px rgb(94,158,214)}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active,.ui-button:active,.ui-button.ui-state-active:hover{border:1px solid #003eff;background:#007fff;font-weight:normal;color:#fff}.ui-icon-background,.ui-state-active .ui-icon-background{border:#003eff;background-color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-checked{border:1px solid #dad55e;background:#fffa90}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#5f3f3f}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;-ms-filter:"alpha(opacity=70)";font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;-ms-filter:"alpha(opacity=35)";background-image:none}.ui-state-disabled .ui-icon{-ms-filter:"alpha(opacity=35)"}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon,.ui-button:hover .ui-icon,.ui-button:focus .ui-icon{background-image:url("images/ui-icons_555555_256x240.png")}.ui-state-active .ui-icon,.ui-button:active .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-highlight .ui-icon,.ui-button .ui-state-highlight.ui-icon{background-image:url("images/ui-icons_777620_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_cc0000_256x240.png")}.ui-button .ui-icon{background-image:url("images/ui-icons_777777_256x240.png")}.ui-icon-blank.ui-icon-blank.ui-icon-blank{background-image:none}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-65px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-65px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:1px -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:3px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.3;-ms-filter:Alpha(Opacity=30)}.ui-widget-shadow{-webkit-box-shadow:0 0 5px #666;box-shadow:0 0 5px #666} \ No newline at end of file diff --git a/modules/http/webif/gstatic/js/jquery-ui.min.js b/modules/http/webif/gstatic/js/jquery-ui.min.js new file mode 100644 index 0000000000..50615abac8 --- /dev/null +++ b/modules/http/webif/gstatic/js/jquery-ui.min.js @@ -0,0 +1,6 @@ +/*! jQuery UI - v1.13.1 - 2022-02-26 +* http://jqueryui.com +* Includes: effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js +* Copyright jQuery Foundation and other contributors; Licensed MIT */ + +!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(b){"use strict";b.ui=b.ui||{};b.ui.version="1.13.1";var a=b,i={},e=i.toString,c=/^([\-+])=\s*(\d+\.?\d*)/,t=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16),t[4]?(parseInt(t[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16),t[4]?(parseInt(t[4]+t[4],16)/255).toFixed(2):1]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],l=a.Color=function(t,e,i,o){return new a.Color.fn.parse(t,e,i,o)},u={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},d={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},s=l.support={},o=a("

    ")[0],h=a.each;function p(t){return null==t?t+"":"object"==typeof t?i[e.call(t)]||"object":typeof t}function g(t,e,i){var o=d[e.type]||{};return null==t?i||!e.def?null:e.def:(t=o.floor?~~t:parseFloat(t),isNaN(t)?e.def:o.mod?(t+o.mod)%o.mod:Math.min(o.max,Math.max(0,t)))}function f(o){var n=l(),r=n._rgba=[];return o=o.toLowerCase(),h(t,function(t,e){var i=e.re.exec(o),i=i&&e.parse(i),e=e.space||"rgba";if(i)return i=n[e](i),n[u[e].cache]=i[u[e].cache],r=n._rgba=i._rgba,!1}),r.length?("0,0,0,0"===r.join()&&a.extend(r,q.transparent),n):q[o]}function n(t,e,i){return 6*(i=(i+1)%1)<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}o.style.cssText="background-color:rgba(1,1,1,.5)",s.rgba=-1r.mod/2?o+=r.mod:o-n>r.mod/2&&(o-=r.mod)),f[i]=g((n-o)*s+o,e)))}),this[e](f)},blend:function(t){if(1===this._rgba[3])return this;var e=this._rgba.slice(),i=e.pop(),o=l(t)._rgba;return l(a.map(e,function(t,e){return(1-i)*o[e]+i*t}))},toRgbaString:function(){var t="rgba(",e=a.map(this._rgba,function(t,e){return null!=t?t:2").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e={width:i.width(),height:i.height()},n=document.activeElement;try{n.id}catch(t){n=document.body}return i.wrap(t),i[0]!==n&&!b.contains(i[0],n)||b(n).trigger("focus"),t=i.parent(),"static"===i.css("position")?(t.css({position:"relative"}),i.css({position:"relative"})):(b.extend(o,{position:i.css("position"),zIndex:i.css("z-index")}),b.each(["top","left","bottom","right"],function(t,e){o[e]=i.css(e),isNaN(parseInt(o[e],10))&&(o[e]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(e),t.css(o).show()},removeWrapper:function(t){var e=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),t[0]!==e&&!b.contains(t[0],e)||b(e).trigger("focus")),t}}),b.extend(b.effects,{version:"1.13.1",define:function(t,e,i){return i||(i=e,e="effect"),b.effects.effect[t]=i,b.effects.effect[t].mode=e,i},scaledDimensions:function(t,e,i){if(0===e)return{height:0,width:0,outerHeight:0,outerWidth:0};var o="horizontal"!==i?(e||100)/100:1,e="vertical"!==i?(e||100)/100:1;return{height:t.height()*e,width:t.width()*o,outerHeight:t.outerHeight()*e,outerWidth:t.outerWidth()*o}},clipToBox:function(t){return{width:t.clip.right-t.clip.left,height:t.clip.bottom-t.clip.top,left:t.clip.left,top:t.clip.top}},unshift:function(t,e,i){var o=t.queue();1").insertAfter(t).css({display:/^(inline|ruby)/.test(t.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight"),float:t.css("float")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).addClass("ui-effects-placeholder"),t.data(B+"placeholder",e)),t.css({position:i,left:o.left,top:o.top}),e},removePlaceholder:function(t){var e=B+"placeholder",i=t.data(e);i&&(i.remove(),t.removeData(e))},cleanUp:function(t){b.effects.restoreStyle(t),b.effects.removePlaceholder(t)},setTransition:function(o,t,n,r){return r=r||{},b.each(t,function(t,e){var i=o.cssUnit(e);0");f.appendTo("body").addClass(t.className).css({top:o.top-s,left:o.left-a,height:i.innerHeight(),width:i.innerWidth(),position:n?"fixed":"absolute"}).animate(r,t.duration,t.easing,function(){f.remove(),"function"==typeof e&&e()})}}),b.fx.step.clip=function(t){t.clipInit||(t.start=b(t.elem).cssClip(),"string"==typeof t.end&&(t.end=j(t.end,t.elem)),t.clipInit=!0),b(t.elem).cssClip({top:t.pos*(t.end.top-t.start.top)+t.start.top,right:t.pos*(t.end.right-t.start.right)+t.start.right,bottom:t.pos*(t.end.bottom-t.start.bottom)+t.start.bottom,left:t.pos*(t.end.left-t.start.left)+t.start.left})},W={},b.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,t){W[t]=function(t){return Math.pow(t,e+2)}}),b.extend(W,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;t<((e=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),b.each(W,function(t,e){b.easing["easeIn"+t]=e,b.easing["easeOut"+t]=function(t){return 1-e(1-t)},b.easing["easeInOut"+t]=function(t){return t<.5?e(2*t)/2:1-e(-2*t+2)/2}});o=b.effects,b.effects.define("blind","hide",function(t,e){var i={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},o=b(this),n=t.direction||"up",r=o.cssClip(),s={clip:b.extend({},r)},a=b.effects.createPlaceholder(o);s.clip[i[n][0]]=s.clip[i[n][1]],"show"===t.mode&&(o.cssClip(s.clip),a&&a.css(b.effects.clipToBox(s)),s.clip=r),a&&a.animate(b.effects.clipToBox(s),t.duration,t.easing),o.animate(s,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),b.effects.define("bounce",function(t,e){var i,o,n=b(this),r=t.mode,s="hide"===r,a="show"===r,f=t.direction||"up",c=t.distance,l=t.times||5,r=2*l+(a||s?1:0),u=t.duration/r,d=t.easing,h="up"===f||"down"===f?"top":"left",p="up"===f||"left"===f,g=0,t=n.queue().length;for(b.effects.createPlaceholder(n),f=n.css(h),c=c||n["top"==h?"outerHeight":"outerWidth"]()/3,a&&((o={opacity:1})[h]=f,n.css("opacity",0).css(h,p?2*-c:2*c).animate(o,u,d)),s&&(c/=Math.pow(2,l-1)),(o={})[h]=f;g").css({position:"absolute",visibility:"visible",left:-o*h,top:-i*p}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:h,height:p,left:n+(u?s*h:0),top:r+(u?a*p:0),opacity:u?0:1}).animate({left:n+(u?0:s*h),top:r+(u?0:a*p),opacity:u?1:0},t.duration||500,t.easing,m)}),b.effects.define("fade","toggle",function(t,e){var i="show"===t.mode;b(this).css("opacity",i?0:1).animate({opacity:i?1:0},{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),b.effects.define("fold","hide",function(e,t){var i=b(this),o=e.mode,n="show"===o,r="hide"===o,s=e.size||15,a=/([0-9]+)%/.exec(s),f=!!e.horizFirst?["right","bottom"]:["bottom","right"],c=e.duration/2,l=b.effects.createPlaceholder(i),u=i.cssClip(),d={clip:b.extend({},u)},h={clip:b.extend({},u)},p=[u[f[0]],u[f[1]]],o=i.queue().length;a&&(s=parseInt(a[1],10)/100*p[r?0:1]),d.clip[f[0]]=s,h.clip[f[0]]=s,h.clip[f[1]]=0,n&&(i.cssClip(h.clip),l&&l.css(b.effects.clipToBox(h)),h.clip=u),i.queue(function(t){l&&l.animate(b.effects.clipToBox(d),c,e.easing).animate(b.effects.clipToBox(h),c,e.easing),t()}).animate(d,c,e.easing).animate(h,c,e.easing).queue(t),b.effects.unshift(i,o,4)}),b.effects.define("highlight","show",function(t,e){var i=b(this),o={backgroundColor:i.css("backgroundColor")};"hide"===t.mode&&(o.opacity=0),b.effects.saveStyle(i),i.css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),b.effects.define("size",function(o,e){var n,i=b(this),t=["fontSize"],r=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],s=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],a=o.mode,f="effect"!==a,c=o.scale||"both",l=o.origin||["middle","center"],u=i.css("position"),d=i.position(),h=b.effects.scaledDimensions(i),p=o.from||h,g=o.to||b.effects.scaledDimensions(i,0);b.effects.createPlaceholder(i),"show"===a&&(a=p,p=g,g=a),n={from:{y:p.height/h.height,x:p.width/h.width},to:{y:g.height/h.height,x:g.width/h.width}},"box"!==c&&"both"!==c||(n.from.y!==n.to.y&&(p=b.effects.setTransition(i,r,n.from.y,p),g=b.effects.setTransition(i,r,n.to.y,g)),n.from.x!==n.to.x&&(p=b.effects.setTransition(i,s,n.from.x,p),g=b.effects.setTransition(i,s,n.to.x,g))),"content"!==c&&"both"!==c||n.from.y!==n.to.y&&(p=b.effects.setTransition(i,t,n.from.y,p),g=b.effects.setTransition(i,t,n.to.y,g)),l&&(l=b.effects.getBaseline(l,h),p.top=(h.outerHeight-p.outerHeight)*l.y+d.top,p.left=(h.outerWidth-p.outerWidth)*l.x+d.left,g.top=(h.outerHeight-g.outerHeight)*l.y+d.top,g.left=(h.outerWidth-g.outerWidth)*l.x+d.left),delete p.outerHeight,delete p.outerWidth,i.css(p),"content"!==c&&"both"!==c||(r=r.concat(["marginTop","marginBottom"]).concat(t),s=s.concat(["marginLeft","marginRight"]),i.find("*[width]").each(function(){var t=b(this),e=b.effects.scaledDimensions(t),i={height:e.height*n.from.y,width:e.width*n.from.x,outerHeight:e.outerHeight*n.from.y,outerWidth:e.outerWidth*n.from.x},e={height:e.height*n.to.y,width:e.width*n.to.x,outerHeight:e.height*n.to.y,outerWidth:e.width*n.to.x};n.from.y!==n.to.y&&(i=b.effects.setTransition(t,r,n.from.y,i),e=b.effects.setTransition(t,r,n.to.y,e)),n.from.x!==n.to.x&&(i=b.effects.setTransition(t,s,n.from.x,i),e=b.effects.setTransition(t,s,n.to.x,e)),f&&b.effects.saveStyle(t),t.css(i),t.animate(e,o.duration,o.easing,function(){f&&b.effects.restoreStyle(t)})})),i.animate(g,{queue:!1,duration:o.duration,easing:o.easing,complete:function(){var t=i.offset();0===g.opacity&&i.css("opacity",p.opacity),f||(i.css("position","static"===u?"relative":u).offset(t),b.effects.saveStyle(i)),e()}})}),b.effects.define("scale",function(t,e){var i=b(this),o=t.mode,o=parseInt(t.percent,10)||(0===parseInt(t.percent,10)||"effect"!==o?0:100),o=b.extend(!0,{from:b.effects.scaledDimensions(i),to:b.effects.scaledDimensions(i,o,t.direction||"both"),origin:t.origin||["middle","center"]},t);t.fade&&(o.from.opacity=1,o.to.opacity=0),b.effects.effect.size.call(this,o,e)}),b.effects.define("puff","hide",function(t,e){t=b.extend(!0,{},t,{fade:!0,percent:parseInt(t.percent,10)||150});b.effects.effect.scale.call(this,t,e)}),b.effects.define("pulsate","show",function(t,e){var i=b(this),o=t.mode,n="show"===o,r=2*(t.times||5)+(n||"hide"===o?1:0),s=t.duration/r,a=0,f=1,o=i.queue().length;for(!n&&i.is(":visible")||(i.css("opacity",0).show(),a=1);f + @@ -45,6 +46,7 @@ {% block scripts %} + From ae44576c254184f6dda1163a8f54acb56da65780 Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Mon, 21 Mar 2022 09:59:28 +0100 Subject: [PATCH 21/86] smarthomeng.css: add highlight class (jquery-ui switchClass), adjust truncate classes (e.g. for datatable cell truncate) --- modules/http/webif/gstatic/css/smarthomeng.css | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/modules/http/webif/gstatic/css/smarthomeng.css b/modules/http/webif/gstatic/css/smarthomeng.css index 4880eedc6e..816894b5ee 100644 --- a/modules/http/webif/gstatic/css/smarthomeng.css +++ b/modules/http/webif/gstatic/css/smarthomeng.css @@ -31,9 +31,16 @@ plusIconlist-group-item.py-2.node-tree.node-selected { background-color: #ecf3f8; } -table .truncate { +table td.truncate { overflow: hidden; text-overflow: ellipsis; + white-space: nowrap; +} + +table td.truncate:active { + text-overflow: clip; + white-space: normal; + word-break: break-all; } table .notruncate { @@ -256,3 +263,12 @@ a.text-shng:focus, a.text-shng:hover { color: #4d4d4d; font-weight: bold; } +/* +These are necessary for highligt effect in web interface when a value changes. Can be overwritten in own index.html +*/ +.shng_effect_highlight { + background-color: #FFFFE0; +} +.shng_effect_standard { + background-color: none; +} From f8ee20f371f5b4aac1faafb3c90284adb1bf8422 Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Mon, 21 Mar 2022 10:00:56 +0100 Subject: [PATCH 22/86] update datatables to 1.11.5 and FixedHeader plugin to 3.2.2 include pageResize plugin for automatically adjusting datatable height to browser window height --- .../datatables/dataTables.pageResize.min.js | 34 ++++ .../gstatic/datatables/datatables.min.css | 4 +- .../gstatic/datatables/datatables.min.js | 191 +++++++++--------- modules/http/webif/gtemplates/base.html | 2 +- 4 files changed, 133 insertions(+), 98 deletions(-) create mode 100644 modules/http/webif/gstatic/datatables/dataTables.pageResize.min.js diff --git a/modules/http/webif/gstatic/datatables/dataTables.pageResize.min.js b/modules/http/webif/gstatic/datatables/dataTables.pageResize.min.js new file mode 100644 index 0000000000..3303b934e1 --- /dev/null +++ b/modules/http/webif/gstatic/datatables/dataTables.pageResize.min.js @@ -0,0 +1,34 @@ +/*! + Copyright 2015 SpryMedia Ltd. + + License MIT - http://datatables.net/license/mit + + This feature plug-in for DataTables will automatically change the DataTables + page length in order to fit inside its container. This can be particularly + useful for control panels and other interfaces which resize dynamically with + the user's browser window instead of scrolling. + + Page resizing in DataTables can be enabled by using any one of the following + options: + + * Adding the class `pageResize` to the HTML table + * Setting the `pageResize` parameter in the DataTables initialisation to + be true - i.e. `pageResize: true` + * Setting the `pageResize` parameter to be true in the DataTables + defaults (thus causing all tables to have this feature) - i.e. + `$.fn.dataTable.defaults.pageResize = true`. + * Creating a new instance: `new $.fn.dataTable.PageResize( table );` where + `table` is a DataTable's API instance. + + For more detailed information please see: + http://datatables.net/blog/2015-04-10 + PageResize for DataTables v1.0.0 + 2015 SpryMedia Ltd - datatables.net/license +*/ +$(window).resize(function(){ + $('#resize_wrapper').css('height', $(window).height() - $('#webif-navbar').outerHeight() - $('#webif-tabs').outerHeight() - $('.dataTables_paginate').outerHeight() - 10); +}); +(function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return b(e,window,document)}):"object"===typeof exports?module.exports=function(e,f){e||(e=window);f&&f.fn.dataTable||(f=require("datatables.net")(e,f).$);return b(f,e,e.document)}:b(jQuery,window,document)})(function(b,e,f,p){var l=function(a,d){var c=a.table();this.s={dt:a,host:b(c.container()).parent(),header:b(c.header()),footer:b(c.footer()),body:b(c.body()),container:b(c.container()),table:b(c.node()), +delta:d};a=this.s.host;"static"===a.css("position")&&a.css("position","relative");this._attach();this._size()};l.prototype={_size:function(){var a=this.s,d=a.dt,c=d.table(),k=b(a.table).offset().top,g=b("tr",a.body);g=g.eq(1").css({position:"absolute",top:0,left:0,height:"100%",width:"100%",zIndex:-1}).attr("type","text/html");d[0].onload=function(){var c=this.contentDocument.body,k=c.offsetHeight;this.contentDocument.defaultView.onresize=function(){var g=c.clientHeight||c.offsetHeight;g!==k&&(k=g,a._size())}};d.appendTo(this.s.host).attr("data","about:blank")}};b.fn.dataTable.PageResize= +l;b.fn.DataTable.PageResize=l;b(f).on("preInit.dt",function(a,d){"dt"===a.namespace&&(a=new b.fn.dataTable.Api(d),(b(a.table().node()).hasClass("pageResize")||d.oInit.pageResize||b.fn.dataTable.defaults.pageResize)&&new l(a,d.oInit.pageResizeManualDelta))})}); diff --git a/modules/http/webif/gstatic/datatables/datatables.min.css b/modules/http/webif/gstatic/datatables/datatables.min.css index d86236f76e..4b0762d0cc 100644 --- a/modules/http/webif/gstatic/datatables/datatables.min.css +++ b/modules/http/webif/gstatic/datatables/datatables.min.css @@ -4,10 +4,10 @@ * * To rebuild or modify this file with the latest versions of the included * software please visit: - * https://datatables.net/download/#dt/dt-1.11.4/cr-1.5.5/fh-3.2.1/r-2.2.9 + * https://datatables.net/download/#dt/dt-1.11.5/cr-1.5.5/fh-3.2.2/r-2.2.9 * * Included libraries: - * DataTables 1.11.4, ColReorder 1.5.5, FixedHeader 3.2.1, Responsive 2.2.9 + * DataTables 1.11.5, ColReorder 1.5.5, FixedHeader 3.2.2, Responsive 2.2.9 */ table.dataTable th.dt-left,table.dataTable td.dt-left{text-align:left}table.dataTable th.dt-center,table.dataTable td.dt-center,table.dataTable td.dataTables_empty{text-align:center}table.dataTable th.dt-right,table.dataTable td.dt-right{text-align:right}table.dataTable th.dt-justify,table.dataTable td.dt-justify{text-align:justify}table.dataTable th.dt-nowrap,table.dataTable td.dt-nowrap{white-space:nowrap}table.dataTable thead th.dt-head-left,table.dataTable thead td.dt-head-left,table.dataTable tfoot th.dt-head-left,table.dataTable tfoot td.dt-head-left{text-align:left}table.dataTable thead th.dt-head-center,table.dataTable thead td.dt-head-center,table.dataTable tfoot th.dt-head-center,table.dataTable tfoot td.dt-head-center{text-align:center}table.dataTable thead th.dt-head-right,table.dataTable thead td.dt-head-right,table.dataTable tfoot th.dt-head-right,table.dataTable tfoot td.dt-head-right{text-align:right}table.dataTable thead th.dt-head-justify,table.dataTable thead td.dt-head-justify,table.dataTable tfoot th.dt-head-justify,table.dataTable tfoot td.dt-head-justify{text-align:justify}table.dataTable thead th.dt-head-nowrap,table.dataTable thead td.dt-head-nowrap,table.dataTable tfoot th.dt-head-nowrap,table.dataTable tfoot td.dt-head-nowrap{white-space:nowrap}table.dataTable tbody th.dt-body-left,table.dataTable tbody td.dt-body-left{text-align:left}table.dataTable tbody th.dt-body-center,table.dataTable tbody td.dt-body-center{text-align:center}table.dataTable tbody th.dt-body-right,table.dataTable tbody td.dt-body-right{text-align:right}table.dataTable tbody th.dt-body-justify,table.dataTable tbody td.dt-body-justify{text-align:justify}table.dataTable tbody th.dt-body-nowrap,table.dataTable tbody td.dt-body-nowrap{white-space:nowrap}table.dataTable td.dt-control{text-align:center;cursor:pointer}table.dataTable td.dt-control:before{height:1em;width:1em;margin-top:-9px;display:inline-block;color:white;border:.15em solid white;border-radius:1em;box-shadow:0 0 .2em #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:"Courier New",Courier,monospace;line-height:1em;content:"+";background-color:#31b131}table.dataTable tr.dt-hasChild td.dt-control:before{content:"-";background-color:#d33333}table.dataTable{width:100%;margin:0 auto;clear:both;border-collapse:separate;border-spacing:0}table.dataTable thead th,table.dataTable tfoot th{font-weight:bold}table.dataTable thead th,table.dataTable thead td{padding:10px 18px;border-bottom:1px solid #111}table.dataTable thead th:active,table.dataTable thead td:active{outline:none}table.dataTable tfoot th,table.dataTable tfoot td{padding:10px 18px 6px 18px;border-top:1px solid #111}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{cursor:pointer;*cursor:hand;background-repeat:no-repeat;background-position:center right}table.dataTable thead .sorting{background-image:url("img/sort_both.png")}table.dataTable thead .sorting_asc{background-image:url("img/sort_asc.png") !important}table.dataTable thead .sorting_desc{background-image:url("img/sort_desc.png") !important}table.dataTable thead .sorting_asc_disabled{background-image:url("img/sort_asc_disabled.png")}table.dataTable thead .sorting_desc_disabled{background-image:url("img/sort_desc_disabled.png")}table.dataTable tbody tr{background-color:#fff}table.dataTable tbody tr.selected{background-color:#b0bed9}table.dataTable tbody th,table.dataTable tbody td{padding:8px 10px}table.dataTable.row-border tbody th,table.dataTable.row-border tbody td,table.dataTable.display tbody th,table.dataTable.display tbody td{border-top:1px solid #ddd}table.dataTable.row-border tbody tr:first-child th,table.dataTable.row-border tbody tr:first-child td,table.dataTable.display tbody tr:first-child th,table.dataTable.display tbody tr:first-child td{border-top:none}table.dataTable.cell-border tbody th,table.dataTable.cell-border tbody td{border-top:1px solid #ddd;border-right:1px solid #ddd}table.dataTable.cell-border tbody tr th:first-child,table.dataTable.cell-border tbody tr td:first-child{border-left:1px solid #ddd}table.dataTable.cell-border tbody tr:first-child th,table.dataTable.cell-border tbody tr:first-child td{border-top:none}table.dataTable.stripe tbody tr.odd,table.dataTable.display tbody tr.odd{background-color:#f9f9f9}table.dataTable.stripe tbody tr.odd.selected,table.dataTable.display tbody tr.odd.selected{background-color:#acbad4}table.dataTable.hover tbody tr:hover,table.dataTable.display tbody tr:hover{background-color:#f6f6f6}table.dataTable.hover tbody tr:hover.selected,table.dataTable.display tbody tr:hover.selected{background-color:#aab7d1}table.dataTable.order-column tbody tr>.sorting_1,table.dataTable.order-column tbody tr>.sorting_2,table.dataTable.order-column tbody tr>.sorting_3,table.dataTable.display tbody tr>.sorting_1,table.dataTable.display tbody tr>.sorting_2,table.dataTable.display tbody tr>.sorting_3{background-color:#fafafa}table.dataTable.order-column tbody tr.selected>.sorting_1,table.dataTable.order-column tbody tr.selected>.sorting_2,table.dataTable.order-column tbody tr.selected>.sorting_3,table.dataTable.display tbody tr.selected>.sorting_1,table.dataTable.display tbody tr.selected>.sorting_2,table.dataTable.display tbody tr.selected>.sorting_3{background-color:#acbad5}table.dataTable.display tbody tr.odd>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd>.sorting_1{background-color:#f1f1f1}table.dataTable.display tbody tr.odd>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd>.sorting_2{background-color:#f3f3f3}table.dataTable.display tbody tr.odd>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd>.sorting_3{background-color:whitesmoke}table.dataTable.display tbody tr.odd.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_1{background-color:#a6b4cd}table.dataTable.display tbody tr.odd.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_2{background-color:#a8b5cf}table.dataTable.display tbody tr.odd.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_3{background-color:#a9b7d1}table.dataTable.display tbody tr.even>.sorting_1,table.dataTable.order-column.stripe tbody tr.even>.sorting_1{background-color:#fafafa}table.dataTable.display tbody tr.even>.sorting_2,table.dataTable.order-column.stripe tbody tr.even>.sorting_2{background-color:#fcfcfc}table.dataTable.display tbody tr.even>.sorting_3,table.dataTable.order-column.stripe tbody tr.even>.sorting_3{background-color:#fefefe}table.dataTable.display tbody tr.even.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_1{background-color:#acbad5}table.dataTable.display tbody tr.even.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_2{background-color:#aebcd6}table.dataTable.display tbody tr.even.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_3{background-color:#afbdd8}table.dataTable.display tbody tr:hover>.sorting_1,table.dataTable.order-column.hover tbody tr:hover>.sorting_1{background-color:#eaeaea}table.dataTable.display tbody tr:hover>.sorting_2,table.dataTable.order-column.hover tbody tr:hover>.sorting_2{background-color:#ececec}table.dataTable.display tbody tr:hover>.sorting_3,table.dataTable.order-column.hover tbody tr:hover>.sorting_3{background-color:#efefef}table.dataTable.display tbody tr:hover.selected>.sorting_1,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_1{background-color:#a2aec7}table.dataTable.display tbody tr:hover.selected>.sorting_2,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_2{background-color:#a3b0c9}table.dataTable.display tbody tr:hover.selected>.sorting_3,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_3{background-color:#a5b2cb}table.dataTable.no-footer{border-bottom:1px solid #111}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}table.dataTable.compact thead th,table.dataTable.compact thead td{padding:4px 17px}table.dataTable.compact tfoot th,table.dataTable.compact tfoot td{padding:4px}table.dataTable.compact tbody th,table.dataTable.compact tbody td{padding:4px}table.dataTable th,table.dataTable td{box-sizing:content-box}.dataTables_wrapper{position:relative;clear:both}.dataTables_wrapper .dataTables_length{float:left}.dataTables_wrapper .dataTables_length select{border:1px solid #aaa;border-radius:3px;padding:5px;background-color:transparent;padding:4px}.dataTables_wrapper .dataTables_filter{float:right;text-align:right}.dataTables_wrapper .dataTables_filter input{border:1px solid #aaa;border-radius:3px;padding:5px;background-color:transparent;margin-left:3px}.dataTables_wrapper .dataTables_info{clear:both;float:left;padding-top:.755em}.dataTables_wrapper .dataTables_paginate{float:right;text-align:right;padding-top:.25em}.dataTables_wrapper .dataTables_paginate .paginate_button{box-sizing:border-box;display:inline-block;min-width:1.5em;padding:.5em 1em;margin-left:2px;text-align:center;text-decoration:none !important;cursor:pointer;*cursor:hand;color:#333 !important;border:1px solid transparent;border-radius:2px}.dataTables_wrapper .dataTables_paginate .paginate_button.current,.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{color:#333 !important;border:1px solid #979797;background-color:white;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, white), color-stop(100%, #dcdcdc));background:-webkit-linear-gradient(top, white 0%, #dcdcdc 100%);background:-moz-linear-gradient(top, white 0%, #dcdcdc 100%);background:-ms-linear-gradient(top, white 0%, #dcdcdc 100%);background:-o-linear-gradient(top, white 0%, #dcdcdc 100%);background:linear-gradient(to bottom, white 0%, #dcdcdc 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active{cursor:default;color:#666 !important;border:1px solid transparent;background:transparent;box-shadow:none}.dataTables_wrapper .dataTables_paginate .paginate_button:hover{color:white !important;border:1px solid #111;background-color:#585858;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));background:-webkit-linear-gradient(top, #585858 0%, #111 100%);background:-moz-linear-gradient(top, #585858 0%, #111 100%);background:-ms-linear-gradient(top, #585858 0%, #111 100%);background:-o-linear-gradient(top, #585858 0%, #111 100%);background:linear-gradient(to bottom, #585858 0%, #111 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button:active{outline:none;background-color:#2b2b2b;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));background:-webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);box-shadow:inset 0 0 3px #111}.dataTables_wrapper .dataTables_paginate .ellipsis{padding:0 1em}.dataTables_wrapper .dataTables_processing{position:absolute;top:50%;left:50%;width:100%;height:40px;margin-left:-50%;margin-top:-25px;padding-top:20px;text-align:center;font-size:1.2em;background-color:white;background:-webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(25%, rgba(255, 255, 255, 0.9)), color-stop(75%, rgba(255, 255, 255, 0.9)), color-stop(100%, rgba(255, 255, 255, 0)));background:-webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);background:-moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);background:-ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);background:-o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);background:linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%)}.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_processing,.dataTables_wrapper .dataTables_paginate{color:#333}.dataTables_wrapper .dataTables_scroll{clear:both}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody{*margin-top:-1px;-webkit-overflow-scrolling:touch}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>th,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>td,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>th,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td{vertical-align:middle}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>td>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td>div.dataTables_sizing{height:0;overflow:hidden;margin:0 !important;padding:0 !important}.dataTables_wrapper.no-footer .dataTables_scrollBody{border-bottom:1px solid #111}.dataTables_wrapper.no-footer div.dataTables_scrollHead table.dataTable,.dataTables_wrapper.no-footer div.dataTables_scrollBody>table{border-bottom:none}.dataTables_wrapper:after{visibility:hidden;display:block;content:"";clear:both;height:0}@media screen and (max-width: 767px){.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_paginate{float:none;text-align:center}.dataTables_wrapper .dataTables_paginate{margin-top:.5em}}@media screen and (max-width: 640px){.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter{float:none;text-align:center}.dataTables_wrapper .dataTables_filter{margin-top:.5em}} diff --git a/modules/http/webif/gstatic/datatables/datatables.min.js b/modules/http/webif/gstatic/datatables/datatables.min.js index 6d7ff7955f..1ac7674904 100644 --- a/modules/http/webif/gstatic/datatables/datatables.min.js +++ b/modules/http/webif/gstatic/datatables/datatables.min.js @@ -4,10 +4,10 @@ * * To rebuild or modify this file with the latest versions of the included * software please visit: - * https://datatables.net/download/#dt/dt-1.11.4/cr-1.5.5/fh-3.2.1/r-2.2.9 + * https://datatables.net/download/#dt/dt-1.11.5/cr-1.5.5/fh-3.2.2/r-2.2.9 * * Included libraries: - * DataTables 1.11.4, ColReorder 1.5.5, FixedHeader 3.2.1, Responsive 2.2.9 + * DataTables 1.11.5, ColReorder 1.5.5, FixedHeader 3.2.2, Responsive 2.2.9 */ /*! @@ -21,7 +21,7 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details. For details please refer to: http://www.datatables.net - DataTables 1.11.4 + DataTables 1.11.5 ©2008-2021 SpryMedia Ltd - datatables.net/license */ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(l,z,A){l instanceof String&&(l=String(l));for(var q=l.length,E=0;E").css({position:"absolute",top:1,le function Cb(a,b,c,d,e,h){var f=!1;if(c!==q){var g=c;f=!0}for(;d!==e;)a.hasOwnProperty(d)&&(g=f?b(g,a[d],d,a):a[d],f=!0,d+=h);return g}function Ya(a,b){var c=u.defaults.column,d=a.aoColumns.length;c=l.extend({},u.models.oColumn,c,{nTh:b?b:A.createElement("th"),sTitle:c.sTitle?c.sTitle:b?b.innerHTML:"",aDataSort:c.aDataSort?c.aDataSort:[d],mData:c.mData?c.mData:d,idx:d});a.aoColumns.push(c);c=a.aoPreSearchCols;c[d]=l.extend({},u.models.oSearch,c[d]);Ga(a,d,l(b).data())}function Ga(a,b,c){b=a.aoColumns[b]; var d=a.oClasses,e=l(b.nTh);if(!b.sWidthOrig){b.sWidthOrig=e.attr("width")||null;var h=(e.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);h&&(b.sWidthOrig=h[1])}c!==q&&null!==c&&(Ab(c),P(u.defaults.column,c,!0),c.mDataProp===q||c.mData||(c.mData=c.mDataProp),c.sType&&(b._sManualType=c.sType),c.className&&!c.sClass&&(c.sClass=c.className),c.sClass&&e.addClass(c.sClass),l.extend(b,c),X(b,c,"sWidth","sWidthOrig"),c.iDataSort!==q&&(b.aDataSort=[c.iDataSort]),X(b,c,"aDataSort"));var f=b.mData,g=na(f), k=b.mRender?na(b.mRender):null;c=function(m){return"string"===typeof m&&-1!==m.indexOf("@")};b._bAttrSrc=l.isPlainObject(f)&&(c(f.sort)||c(f.type)||c(f.filter));b._setter=null;b.fnGetData=function(m,n,p){var t=g(m,n,q,p);return k&&n?k(t,n,m,p):t};b.fnSetData=function(m,n,p){return ha(f)(m,n,p)};"number"!==typeof f&&(a._rowReadObject=!0);a.oFeatures.bSort||(b.bSortable=!1,e.addClass(d.sSortableNone));a=-1!==l.inArray("asc",b.asSorting);c=-1!==l.inArray("desc",b.asSorting);b.bSortable&&(a||c)?a&&!c? -(b.sSortingClass=d.sSortableAsc,b.sSortingClassJUI=d.sSortJUIAscAllowed):!a&&c?(b.sSortingClass=d.sSortableDesc,b.sSortingClassJUI=d.sSortJUIDescAllowed):(b.sSortingClass=d.sSortable,b.sSortingClassJUI=d.sSortJUI):(b.sSortingClass=d.sSortableNone,b.sSortingClassJUI="")}function ta(a){if(!1!==a.oFeatures.bAutoWidth){var b=a.aoColumns;Za(a);for(var c=0,d=b.length;cm[n])d(g.length+m[n],k);else if("string"===typeof m[n]){var p=0;for(f=g.length;pb&&a[e]--; -1!=d&&c===q&&a.splice(d,1)}function wa(a,b,c,d){var e=a.aoData[b],h,f=function(k,m){for(;k.childNodes.length;)k.removeChild(k.firstChild);k.innerHTML=T(a,b,m,"display")};if("dom"!==c&&(c&&"auto"!==c||"dom"!==e.src)){var g=e.anCells;if(g)if(d!==q)f(g[d],d);else for(c=0,h=g.length;cb&&a[e]--; -1!=d&&c===q&&a.splice(d,1)}function va(a,b,c,d){var e=a.aoData[b],h,f=function(k,m){for(;k.childNodes.length;)k.removeChild(k.firstChild);k.innerHTML=T(a,b,m,"display")};if("dom"!==c&&(c&&"auto"!==c||"dom"!==e.src)){var g=e.anCells;if(g)if(d!==q)f(g[d],d);else for(c=0,h=g.length;c").appendTo(d));var k=0;for(b=g.length;k=a.fnRecordsDisplay()?0:d,a.iInitDisplayStart=-1);c=F(a,"aoPreDrawCallback","preDraw",[a]);if(-1!==l.inArray(!1,c))V(a,!1);else{c=[];var e=0;d=a.asStripeClasses;var h=d.length,f=a.oLanguage,g="ssp"==Q(a),k=a.aiDisplay,m=a._iDisplayStart,n=a.fnDisplayEnd();a.bDrawing=!0;if(a.bDeferLoading)a.bDeferLoading=!1,a.iDraw++,V(a,!1);else if(!g)a.iDraw++;else if(!a.bDestroying&&!b){Gb(a);return}if(0!==k.length)for(b=g?a.aoData.length:n,f=g?0:m;f",{"class":h?d[0]:""}).append(l("

    ").insertAfter(H));r.nTBody=ea[0];H=t.children("tfoot");0===H.length&&0").appendTo(t));0===H.length||0===H.children().length?t.addClass(C.sNoFooter):0/g,uc=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,vc=/(\/|\.|\*|\+|\?|\||\(|\)|\[|\]|\{|\}|\\|\$|\^|\-)/g,rb=/['\u00A0,$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,Z=function(a){return a&&!0!==a&&"-"!==a?!1:!0},hc= +I+".@data-"+Y:q,filter:null!==H?I+".@data-"+H:q},Ga(r,I)}})}var O=r.oFeatures;f=function(){if(g.aaSorting===q){var I=r.aaSorting;k=0;for(m=I.length;k").appendTo(t));r.nTHead=H[0];var ea=t.children("tbody");0===ea.length&&(ea=l("").insertAfter(H));r.nTBody=ea[0];H=t.children("tfoot");0===H.length&&0").appendTo(t));0===H.length||0===H.children().length?t.addClass(C.sNoFooter):0/g,vc=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,wc=/(\/|\.|\*|\+|\?|\||\(|\)|\[|\]|\{|\}|\\|\$|\^|\-)/g,rb=/['\u00A0,$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,Z=function(a){return a&&!0!==a&&"-"!==a?!1:!0},hc= function(a){var b=parseInt(a,10);return!isNaN(b)&&isFinite(a)?b:null},ic=function(a,b){sb[b]||(sb[b]=new RegExp(jb(b),"g"));return"string"===typeof a&&"."!==b?a.replace(/\./g,"").replace(sb[b],"."):a},tb=function(a,b,c){var d="string"===typeof a;if(Z(a))return!0;b&&d&&(a=ic(a,b));c&&d&&(a=a.replace(rb,""));return!isNaN(parseFloat(a))&&isFinite(a)},jc=function(a,b,c){return Z(a)?!0:Z(a)||"string"===typeof a?tb(a.replace(Va,""),b,c)?!0:null:null},U=function(a,b,c){var d=[],e=0,h=a.length;if(c!==q)for(;e< -h;e++)a[e]&&a[e][b]&&d.push(a[e][b][c]);else for(;ea.length)){var b=a.slice().sort();for(var c=b[0],d=1,e=b.length;d< +h;e++)a[e]&&a[e][b]&&d.push(a[e][b][c]);else for(;ea.length)){var b=a.slice().sort();for(var c=b[0],d=1,e=b.length;d< e;d++){if(b[d]===c){b=!1;break a}c=b[d]}}b=!0}if(b)return a.slice();b=[];e=a.length;var h,f=0;d=0;a:for(;d")[0],sc=Qa.textContent!==q,tc=/<.*?>/g,hb=u.util.throttle,nc=[],N=Array.prototype,wc=function(a){var b,c=u.settings,d=l.map(c,function(h,f){return h.nTable});if(a){if(a.nTable&&a.oApi)return[a];if(a.nodeName&&"table"===a.nodeName.toLowerCase()){var e= -l.inArray(a,d);return-1!==e?[c[e]]:null}if(a&&"function"===typeof a.settings)return a.settings().toArray();"string"===typeof a?b=l(a):a instanceof l&&(b=a)}else return[];if(b)return b.map(function(h){e=l.inArray(this,d);return-1!==e?c[e]:null}).toArray()};var B=function(a,b){if(!(this instanceof B))return new B(a,b);var c=[],d=function(f){(f=wc(f))&&c.push.apply(c,f)};if(Array.isArray(a))for(var e=0,h=a.length;e")[0],tc=Qa.textContent!==q,uc=/<.*?>/g,hb=u.util.throttle,nc=[],N=Array.prototype,xc=function(a){var b,c=u.settings,d=l.map(c,function(h,f){return h.nTable});if(a){if(a.nTable&&a.oApi)return[a];if(a.nodeName&&"table"===a.nodeName.toLowerCase()){var e= +l.inArray(a,d);return-1!==e?[c[e]]:null}if(a&&"function"===typeof a.settings)return a.settings().toArray();"string"===typeof a?b=l(a):a instanceof l&&(b=a)}else return[];if(b)return b.map(function(h){e=l.inArray(this,d);return-1!==e?c[e]:null}).toArray()};var B=function(a,b){if(!(this instanceof B))return new B(a,b);var c=[],d=function(f){(f=xc(f))&&c.push.apply(c,f)};if(Array.isArray(a))for(var e=0,h=a.length;ea?new B(b[a],this[a]):null},filter:function(a){var b=[];if(N.filter)b=N.filter.call(this,a,this);else for(var c=0,d=this.length;c").addClass(g),l("td",k).addClass(g).html(f)[0].colSpan=oa(a),e.push(k[0]))};h(c,d);b._details&&b._details.detach();b._details=l(e);b._detailsShow&&b._details.insertAfter(b.nTr)},xb=function(a,b){var c=a.context;c.length&&(a=c[0].aoData[b!==q?b:a[0]])&&a._details&&(a._details.remove(),a._detailsShow=q,a._details= -q,l(a.nTr).removeClass("dt-hasChild"),qa(c[0]))},qc=function(a,b){var c=a.context;if(c.length&&a.length){var d=c[0].aoData[a[0]];d._details&&((d._detailsShow=b)?(d._details.insertAfter(d.nTr),l(d.nTr).addClass("dt-hasChild")):(d._details.detach(),l(d.nTr).removeClass("dt-hasChild")),F(c[0],null,"childRow",[b,a.row(a[0])]),zc(c[0]),qa(c[0]))}},zc=function(a){var b=new B(a),c=a.aoData;b.off("draw.dt.DT_details column-visibility.dt.DT_details destroy.dt.DT_details");0g){var n=l.map(d,function(p,t){return p.bVisible?t:null});return[n[n.length+g]]}return[ua(a,g)];case "name":return l.map(e,function(p,t){return p===m[1]?t:null});default:return[]}if(f.nodeName&&f._DT_CellIndex)return[f._DT_CellIndex.column];g=l(h).filter(f).map(function(){return l.inArray(this,h)}).toArray();if(g.length||!f.nodeName)return g;g=l(f).closest("*[data-dt-column]");return g.length?[g.data("dt-column")]:[]},a,c)};y("columns()",function(a,b){a===q?a="":l.isPlainObject(a)&&(b=a, -a="");b=vb(b);var c=this.iterator("table",function(d){return Bc(d,a,b)},1);c.selector.cols=a;c.selector.opts=b;return c});J("columns().header()","column().header()",function(a,b){return this.iterator("column",function(c,d){return c.aoColumns[d].nTh},1)});J("columns().footer()","column().footer()",function(a,b){return this.iterator("column",function(c,d){return c.aoColumns[d].nTf},1)});J("columns().data()","column().data()",function(){return this.iterator("column-rows",rc,1)});J("columns().dataSrc()", -"column().dataSrc()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].mData},1)});J("columns().cache()","column().cache()",function(a){return this.iterator("column-rows",function(b,c,d,e,h){return Ea(b.aoData,h,"search"===a?"_aFilterData":"_aSortData",c)},1)});J("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(a,b,c,d,e){return Ea(a.aoData,e,"anCells",b)},1)});J("columns().visible()","column().visible()",function(a,b){var c= -this,d=this.iterator("column",function(e,h){if(a===q)return e.aoColumns[h].bVisible;var f=e.aoColumns,g=f[h],k=e.aoData,m;if(a!==q&&g.bVisible!==a){if(a){var n=l.inArray(!0,U(f,"bVisible"),h+1);f=0;for(m=k.length;f").addClass(g),l("td",k).addClass(g).html(f)[0].colSpan=oa(a),e.push(k[0]))};h(c,d);b._details&&b._details.detach();b._details=l(e);b._detailsShow&&b._details.insertAfter(b.nTr)},qc=u.util.throttle(function(a){Ca(a[0])},500),xb=function(a,b){var c=a.context;c.length&&(a=c[0].aoData[b!== +q?b:a[0]])&&a._details&&(a._details.remove(),a._detailsShow=q,a._details=q,l(a.nTr).removeClass("dt-hasChild"),qc(c))},rc=function(a,b){var c=a.context;if(c.length&&a.length){var d=c[0].aoData[a[0]];d._details&&((d._detailsShow=b)?(d._details.insertAfter(d.nTr),l(d.nTr).addClass("dt-hasChild")):(d._details.detach(),l(d.nTr).removeClass("dt-hasChild")),F(c[0],null,"childRow",[b,a.row(a[0])]),Ac(c[0]),qc(c))}},Ac=function(a){var b=new B(a),c=a.aoData;b.off("draw.dt.DT_details column-visibility.dt.DT_details destroy.dt.DT_details"); +0g){var n=l.map(d,function(p,t){return p.bVisible?t:null});return[n[n.length+g]]}return[ta(a,g)];case "name":return l.map(e,function(p,t){return p===m[1]?t:null});default:return[]}if(f.nodeName&&f._DT_CellIndex)return[f._DT_CellIndex.column];g=l(h).filter(f).map(function(){return l.inArray(this,h)}).toArray();if(g.length||!f.nodeName)return g;g=l(f).closest("*[data-dt-column]");return g.length?[g.data("dt-column")]:[]},a,c)}; +y("columns()",function(a,b){a===q?a="":l.isPlainObject(a)&&(b=a,a="");b=vb(b);var c=this.iterator("table",function(d){return Cc(d,a,b)},1);c.selector.cols=a;c.selector.opts=b;return c});J("columns().header()","column().header()",function(a,b){return this.iterator("column",function(c,d){return c.aoColumns[d].nTh},1)});J("columns().footer()","column().footer()",function(a,b){return this.iterator("column",function(c,d){return c.aoColumns[d].nTf},1)});J("columns().data()","column().data()",function(){return this.iterator("column-rows", +sc,1)});J("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].mData},1)});J("columns().cache()","column().cache()",function(a){return this.iterator("column-rows",function(b,c,d,e,h){return Ea(b.aoData,h,"search"===a?"_aFilterData":"_aSortData",c)},1)});J("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(a,b,c,d,e){return Ea(a.aoData,e,"anCells",b)},1)});J("columns().visible()","column().visible()", +function(a,b){var c=this,d=this.iterator("column",function(e,h){if(a===q)return e.aoColumns[h].bVisible;var f=e.aoColumns,g=f[h],k=e.aoData,m;if(a!==q&&g.bVisible!==a){if(a){var n=l.inArray(!0,U(f,"bVisible"),h+1);f=0;for(m=k.length;fd;return!0};u.isDataTable=u.fnIsDataTable=function(a){var b=l(a).get(0),c=!1;if(a instanceof u.Api)return!0;l.each(u.settings,function(d,e){d=e.nScrollHead?l("table",e.nScrollHead)[0]:null;var h=e.nScrollFoot?l("table",e.nScrollFoot)[0]:null;if(e.nTable===b||d===b||h===b)c=!0});return c};u.tables=u.fnTables=function(a){var b= !1;l.isPlainObject(a)&&(b=a.api,a=a.visible);var c=l.map(u.settings,function(d){if(!a||a&&l(d.nTable).is(":visible"))return d.nTable});return b?new B(c):c};u.camelToHungarian=P;y("$()",function(a,b){b=this.rows(b).nodes();b=l(b);return l([].concat(b.filter(a).toArray(),b.find(a).toArray()))});l.each(["on","one","off"],function(a,b){y(b+"()",function(){var c=Array.prototype.slice.call(arguments);c[0]=l.map(c[0].split(/\s/),function(e){return e.match(/\.dt\b/)?e:e+".dt"}).join(" ");var d=l(this.tables().nodes()); d[b].apply(d,c);return this})});y("clear()",function(){return this.iterator("table",function(a){Ka(a)})});y("settings()",function(){return new B(this.context,this.context)});y("init()",function(){var a=this.context;return a.length?a[0].oInit:null});y("data()",function(){return this.iterator("table",function(a){return U(a.aoData,"_aData")}).flatten()});y("destroy()",function(a){a=a||!1;return this.iterator("table",function(b){var c=b.nTableWrapper.parentNode,d=b.oClasses,e=b.nTable,h=b.nTBody,f=b.nTHead, g=b.nTFoot,k=l(e);h=l(h);var m=l(b.nTableWrapper),n=l.map(b.aoData,function(t){return t.nTr}),p;b.bDestroying=!0;F(b,"aoDestroyCallback","destroy",[b]);a||(new B(b)).columns().visible(!0);m.off(".DT").find(":not(tbody *)").off(".DT");l(z).off(".DT-"+b.sInstance);e!=f.parentNode&&(k.children("thead").detach(),k.append(f));g&&e!=g.parentNode&&(k.children("tfoot").detach(),k.append(g));b.aaSorting=[];b.aaSortingFixed=[];Sa(b);l(n).removeClass(b.asStripeClasses.join(" "));l("th, td",f).removeClass(d.sSortable+ " "+d.sSortableAsc+" "+d.sSortableDesc+" "+d.sSortableNone);h.children().detach();h.append(n);f=a?"remove":"detach";k[f]();m[f]();!a&&c&&(c.insertBefore(e,b.nTableReinsertBefore),k.css("width",b.sDestroyWidth).removeClass(d.sTable),(p=b.asDestroyStripes.length)&&h.children().each(function(t){l(this).addClass(b.asDestroyStripes[t%p])}));c=l.inArray(b,u.settings);-1!==c&&u.settings.splice(c,1)})});l.each(["column","row","cell"],function(a,b){y(b+"s().every()",function(c){var d=this.selector.opts,e= -this;return this.iterator(b,function(h,f,g,k,m){c.call(e[b](f,"cell"===b?g:d,"cell"===b?d:q),f,g,k,m)})})});y("i18n()",function(a,b,c){var d=this.context[0];a=na(a)(d.oLanguage);a===q&&(a=b);c!==q&&l.isPlainObject(a)&&(a=a[c]!==q?a[c]:a._);return a.replace("%d",c)});u.version="1.11.4";u.settings=[];u.models={};u.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0,"return":!1};u.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"", +this;return this.iterator(b,function(h,f,g,k,m){c.call(e[b](f,"cell"===b?g:d,"cell"===b?d:q),f,g,k,m)})})});y("i18n()",function(a,b,c){var d=this.context[0];a=na(a)(d.oLanguage);a===q&&(a=b);c!==q&&l.isPlainObject(a)&&(a=a[c]!==q?a[c]:a._);return a.replace("%d",c)});u.version="1.11.5";u.settings=[];u.models={};u.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0,"return":!1};u.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"", src:null,idx:-1};u.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null};u.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10, 25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(a){return a.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null, fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(a){try{return JSON.parse((-1===a.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+a.sInstance+"_"+location.pathname))}catch(b){return{}}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(a,b){try{(-1===a.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+a.sInstance+"_"+location.pathname,JSON.stringify(b))}catch(c){}}, @@ -181,21 +181,21 @@ iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fn iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[], aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,jqXHR:null,json:q,oAjaxData:q,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0, bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==Q(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==Q(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var a=this._iDisplayLength,b=this._iDisplayStart,c=b+a,d=this.aiDisplay.length,e=this.oFeatures,h= -e.bPaginate;return e.bServerSide?!1===h||-1===a?b+d:Math.min(b+a,this._iRecordsDisplay):!h||c>d||-1===a?d:c},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null};u.ext=M={buttons:{},classes:{},build:"dt/dt-1.11.4/cr-1.5.5/fh-3.2.1/r-2.2.9",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:u.fnVersionCheck, +e.bPaginate;return e.bServerSide?!1===h||-1===a?b+d:Math.min(b+a,this._iRecordsDisplay):!h||c>d||-1===a?d:c},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null};u.ext=M={buttons:{},classes:{},build:"dt/dt-1.11.5/cr-1.5.5/fh-3.2.2/r-2.2.9",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:u.fnVersionCheck, iApiIndex:0,oJUIClasses:{},sVersion:u.version};l.extend(M,{afnFiltering:M.search,aTypes:M.type.detect,ofnSearch:M.type.search,oSort:M.type.order,afnSortData:M.order,aoFeatures:M.feature,oApi:M.internal,oStdClasses:M.classes,oPagination:M.pager});l.extend(u.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter", sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_desc_disabled",sSortableDesc:"sorting_asc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody", sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var ec=u.ext.pager;l.extend(ec,{simple:function(a,b){return["previous","next"]},full:function(a,b){return["first","previous","next","last"]},numbers:function(a,b){return[Da(a,b)]},simple_numbers:function(a,b){return["previous",Da(a,b),"next"]}, full_numbers:function(a,b){return["first","previous",Da(a,b),"next","last"]},first_last_numbers:function(a,b){return["first",Da(a,b),"last"]},_numbers:Da,numbers_length:7});l.extend(!0,u.ext.renderer,{pageButton:{_:function(a,b,c,d,e,h){var f=a.oClasses,g=a.oLanguage.oPaginate,k=a.oLanguage.oAria.paginate||{},m,n,p=0,t=function(x,w){var r,C=f.sPageButtonDisabled,G=function(I){Ra(a,I.data.action,!0)};var aa=0;for(r=w.length;aa").appendTo(x); t(O,L)}else{m=null;n=L;O=a.iTabIndex;switch(L){case "ellipsis":x.append('');break;case "first":m=g.sFirst;0===e&&(O=-1,n+=" "+C);break;case "previous":m=g.sPrevious;0===e&&(O=-1,n+=" "+C);break;case "next":m=g.sNext;if(0===h||e===h-1)O=-1,n+=" "+C;break;case "last":m=g.sLast;if(0===h||e===h-1)O=-1,n+=" "+C;break;default:m=a.fnFormatNumber(L+1),n=e===L?f.sPageButtonActive:""}null!==m&&(O=l("",{"class":f.sPageButton+" "+n,"aria-controls":a.sTableId,"aria-label":k[L], -"data-dt-idx":p,tabindex:O,id:0===c&&"string"===typeof L?a.sTableId+"_"+L:null}).html(m).appendTo(x),ob(O,{action:L},G),p++)}}};try{var v=l(b).find(A.activeElement).data("dt-idx")}catch(x){}t(l(b).empty(),d);v!==q&&l(b).find("[data-dt-idx="+v+"]").trigger("focus")}}});l.extend(u.ext.type.detect,[function(a,b){b=b.oLanguage.sDecimal;return tb(a,b)?"num"+b:null},function(a,b){if(a&&!(a instanceof Date)&&!uc.test(a))return null;b=Date.parse(a);return null!==b&&!isNaN(b)||Z(a)?"date":null},function(a, +"data-dt-idx":p,tabindex:O,id:0===c&&"string"===typeof L?a.sTableId+"_"+L:null}).html(m).appendTo(x),ob(O,{action:L},G),p++)}}};try{var v=l(b).find(A.activeElement).data("dt-idx")}catch(x){}t(l(b).empty(),d);v!==q&&l(b).find("[data-dt-idx="+v+"]").trigger("focus")}}});l.extend(u.ext.type.detect,[function(a,b){b=b.oLanguage.sDecimal;return tb(a,b)?"num"+b:null},function(a,b){if(a&&!(a instanceof Date)&&!vc.test(a))return null;b=Date.parse(a);return null!==b&&!isNaN(b)||Z(a)?"date":null},function(a, b){b=b.oLanguage.sDecimal;return tb(a,b,!0)?"num-fmt"+b:null},function(a,b){b=b.oLanguage.sDecimal;return jc(a,b)?"html-num"+b:null},function(a,b){b=b.oLanguage.sDecimal;return jc(a,b,!0)?"html-num-fmt"+b:null},function(a,b){return Z(a)||"string"===typeof a&&-1!==a.indexOf("<")?"html":null}]);l.extend(u.ext.type.search,{html:function(a){return Z(a)?a:"string"===typeof a?a.replace(gc," ").replace(Va,""):""},string:function(a){return Z(a)?a:"string"===typeof a?a.replace(gc," "):a}});var Ua=function(a, b,c,d){if(0!==a&&(!a||"-"===a))return-Infinity;b&&(a=ic(a,b));a.replace&&(c&&(a=a.replace(c,"")),d&&(a=a.replace(d,"")));return 1*a};l.extend(M.type.order,{"date-pre":function(a){a=Date.parse(a);return isNaN(a)?-Infinity:a},"html-pre":function(a){return Z(a)?"":a.replace?a.replace(/<.*?>/g,"").toLowerCase():a+""},"string-pre":function(a){return Z(a)?"":"string"===typeof a?a.toLowerCase():a.toString?a.toString():""},"string-asc":function(a,b){return ab?1:0},"string-desc":function(a,b){return a< b?1:a>b?-1:0}});Xa("");l.extend(!0,u.ext.renderer,{header:{_:function(a,b,c,d){l(a.nTable).on("order.dt.DT",function(e,h,f,g){a===h&&(e=c.idx,b.removeClass(d.sSortAsc+" "+d.sSortDesc).addClass("asc"==g[e]?d.sSortAsc:"desc"==g[e]?d.sSortDesc:c.sSortingClass))})},jqueryui:function(a,b,c,d){l("
    ").addClass(d.sSortJUIWrapper).append(b.contents()).append(l("").addClass(d.sSortIcon+" "+c.sSortingClassJUI)).appendTo(b);l(a.nTable).on("order.dt.DT",function(e,h,f,g){a===h&&(e=c.idx,b.removeClass(d.sSortAsc+ " "+d.sSortDesc).addClass("asc"==g[e]?d.sSortAsc:"desc"==g[e]?d.sSortDesc:c.sSortingClass),b.find("span."+d.sSortIcon).removeClass(d.sSortJUIAsc+" "+d.sSortJUIDesc+" "+d.sSortJUI+" "+d.sSortJUIAscAllowed+" "+d.sSortJUIDescAllowed).addClass("asc"==g[e]?d.sSortJUIAsc:"desc"==g[e]?d.sSortJUIDesc:c.sSortingClassJUI))})}}});var yb=function(a){Array.isArray(a)&&(a=a.join(","));return"string"===typeof a?a.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""):a};u.render= {number:function(a,b,c,d,e){return{display:function(h){if("number"!==typeof h&&"string"!==typeof h)return h;var f=0>h?"-":"",g=parseFloat(h);if(isNaN(g))return yb(h);g=g.toFixed(c);h=Math.abs(g);g=parseInt(h,10);h=c?b+(h-g).toFixed(c).substring(2):"";0===g&&0===parseFloat(h)&&(f="");return f+(d||"")+g.toString().replace(/\B(?=(\d{3})+(?!\d))/g,a)+h+(e||"")}}},text:function(){return{display:yb,filter:yb}}};l.extend(u.ext.internal,{_fnExternApiFunc:fc,_fnBuildAjax:Oa,_fnAjaxUpdate:Gb,_fnAjaxParameters:Pb, -_fnAjaxUpdateDraw:Qb,_fnAjaxDataSrc:Aa,_fnAddColumn:Ya,_fnColumnOptions:Ga,_fnAdjustColumnSizing:ta,_fnVisibleToColumnIndex:ua,_fnColumnIndexToVisible:va,_fnVisbleColumns:oa,_fnGetColumns:Ia,_fnColumnTypes:$a,_fnApplyColumnDefs:Db,_fnHungarianMap:E,_fnCamelToHungarian:P,_fnLanguageCompat:ma,_fnBrowserDetect:Bb,_fnAddData:ia,_fnAddTr:Ja,_fnNodeToDataIndex:function(a,b){return b._DT_RowIndex!==q?b._DT_RowIndex:null},_fnNodeToColumnIndex:function(a,b,c){return l.inArray(c,a.aoData[b].anCells)},_fnGetCellData:T, -_fnSetCellData:Eb,_fnSplitObjNotation:cb,_fnGetObjectDataFn:na,_fnSetObjectDataFn:ha,_fnGetDataMaster:db,_fnClearTable:Ka,_fnDeleteIndex:La,_fnInvalidate:wa,_fnGetRowElements:bb,_fnCreateTr:ab,_fnBuildHead:Fb,_fnDrawHead:ya,_fnDraw:ja,_fnReDraw:ka,_fnAddOptionsHtml:Ib,_fnDetectHeader:xa,_fnGetUniqueThs:Na,_fnFeatureHtmlFilter:Kb,_fnFilterComplete:za,_fnFilterCustom:Tb,_fnFilterColumn:Sb,_fnFilter:Rb,_fnFilterCreateSearch:ib,_fnEscapeRegex:jb,_fnFilterData:Ub,_fnFeatureHtmlInfo:Nb,_fnUpdateInfo:Xb, -_fnInfoMacros:Yb,_fnInitialise:Ba,_fnInitComplete:Pa,_fnLengthChange:kb,_fnFeatureHtmlLength:Jb,_fnFeatureHtmlPaginate:Ob,_fnPageChange:Ra,_fnFeatureHtmlProcessing:Lb,_fnProcessingDisplay:V,_fnFeatureHtmlTable:Mb,_fnScrollDraw:Ha,_fnApplyToChildren:ca,_fnCalculateColumnWidths:Za,_fnThrottle:hb,_fnConvertToWidth:Zb,_fnGetWidestNode:$b,_fnGetMaxLenString:ac,_fnStringToCss:K,_fnSortFlatten:pa,_fnSort:Hb,_fnSortAria:cc,_fnSortListener:nb,_fnSortAttachListener:fb,_fnSortingClasses:Sa,_fnSortData:bc,_fnSaveState:qa, +_fnAjaxUpdateDraw:Qb,_fnAjaxDataSrc:za,_fnAddColumn:Ya,_fnColumnOptions:Ga,_fnAdjustColumnSizing:sa,_fnVisibleToColumnIndex:ta,_fnColumnIndexToVisible:ua,_fnVisbleColumns:oa,_fnGetColumns:Ia,_fnColumnTypes:$a,_fnApplyColumnDefs:Db,_fnHungarianMap:E,_fnCamelToHungarian:P,_fnLanguageCompat:ma,_fnBrowserDetect:Bb,_fnAddData:ia,_fnAddTr:Ja,_fnNodeToDataIndex:function(a,b){return b._DT_RowIndex!==q?b._DT_RowIndex:null},_fnNodeToColumnIndex:function(a,b,c){return l.inArray(c,a.aoData[b].anCells)},_fnGetCellData:T, +_fnSetCellData:Eb,_fnSplitObjNotation:cb,_fnGetObjectDataFn:na,_fnSetObjectDataFn:ha,_fnGetDataMaster:db,_fnClearTable:Ka,_fnDeleteIndex:La,_fnInvalidate:va,_fnGetRowElements:bb,_fnCreateTr:ab,_fnBuildHead:Fb,_fnDrawHead:xa,_fnDraw:ja,_fnReDraw:ka,_fnAddOptionsHtml:Ib,_fnDetectHeader:wa,_fnGetUniqueThs:Na,_fnFeatureHtmlFilter:Kb,_fnFilterComplete:ya,_fnFilterCustom:Tb,_fnFilterColumn:Sb,_fnFilter:Rb,_fnFilterCreateSearch:ib,_fnEscapeRegex:jb,_fnFilterData:Ub,_fnFeatureHtmlInfo:Nb,_fnUpdateInfo:Xb, +_fnInfoMacros:Yb,_fnInitialise:Aa,_fnInitComplete:Pa,_fnLengthChange:kb,_fnFeatureHtmlLength:Jb,_fnFeatureHtmlPaginate:Ob,_fnPageChange:Ra,_fnFeatureHtmlProcessing:Lb,_fnProcessingDisplay:V,_fnFeatureHtmlTable:Mb,_fnScrollDraw:Ha,_fnApplyToChildren:ca,_fnCalculateColumnWidths:Za,_fnThrottle:hb,_fnConvertToWidth:Zb,_fnGetWidestNode:$b,_fnGetMaxLenString:ac,_fnStringToCss:K,_fnSortFlatten:pa,_fnSort:Hb,_fnSortAria:cc,_fnSortListener:nb,_fnSortAttachListener:fb,_fnSortingClasses:Sa,_fnSortData:bc,_fnSaveState:Ca, _fnLoadState:dc,_fnImplementState:pb,_fnSettingsFromNode:Ta,_fnLog:da,_fnMap:X,_fnBindAction:ob,_fnCallbackReg:R,_fnCallbackFire:F,_fnLengthOverflow:lb,_fnRenderer:gb,_fnDataSource:Q,_fnRowAttributes:eb,_fnExtend:qb,_fnCalculateEnd:function(){}});l.fn.dataTable=u;u.$=l;l.fn.dataTableSettings=u.settings;l.fn.dataTableExt=u.ext;l.fn.DataTable=function(a){return l(this).dataTable(a).api()};l.each(u,function(a,b){l.fn.DataTable[a]=b});return u}); @@ -259,37 +259,38 @@ return this});e.fn.dataTable.Api.register("colReorder.enable()",function(a){retu or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details. For details please refer to: http://www.datatables.net - FixedHeader 3.2.1 + FixedHeader 3.2.2 ©2009-2021 SpryMedia Ltd - datatables.net/license */ -var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(b,g,h){b instanceof String&&(b=String(b));for(var l=b.length,k=0;k'), -placeholder:null},footer:{host:null,floating:null,floatingParent:b('
    '),placeholder:null}};this.dom.header.host=this.dom.thead.parent();this.dom.footer.host=this.dom.tfoot.parent();a=a.settings()[0];if(a._fixedHeader)throw"FixedHeader already initialised on table "+a.nTable.id;a._fixedHeader=this;this._constructor()};b.extend(t.prototype,{destroy:function(){this.s.dt.off(".dtfc");b(g).off(this.s.namespace);this.c.header&&this._modeChange("in-place","header",!0);this.c.footer&& -this.dom.tfoot.length&&this._modeChange("in-place","footer",!0)},enable:function(a,c){this.s.enable=a;if(c||c===l)this._positions(),this._scroll(!0)},enabled:function(){return this.s.enable},headerOffset:function(a){a!==l&&(this.c.headerOffset=a,this.update());return this.c.headerOffset},footerOffset:function(a){a!==l&&(this.c.footerOffset=a,this.update());return this.c.footerOffset},update:function(a){var c=this.s.dt.table().node();b(c).is(":visible")?this.enable(!0,!1):this.enable(!1,!1);0!==b(c).children("thead").length&& -(this._positions(),this._scroll(a!==l?a:!0))},_constructor:function(){var a=this,c=this.s.dt;b(g).on("scroll"+this.s.namespace,function(){a._scroll()}).on("resize"+this.s.namespace,k.util.throttle(function(){a.s.position.windowHeight=b(g).height();a.update()},50));var d=b(".fh-fixedHeader");!this.c.headerOffset&&d.length&&(this.c.headerOffset=d.outerHeight());d=b(".fh-fixedFooter");!this.c.footerOffset&&d.length&&(this.c.footerOffset=d.outerHeight());c.on("column-reorder.dt.dtfc column-visibility.dt.dtfc column-sizing.dt.dtfc responsive-display.dt.dtfc", -function(f,e){a.update()}).on("draw.dt.dtfc",function(f,e){a.update(e===c.settings()[0]?!1:!0)});c.on("destroy.dtfc",function(){a.destroy()});this._positions();this._scroll()},_clone:function(a,c){var d=this,f=this.s.dt,e=this.dom[a],p="header"===a?this.dom.thead:this.dom.tfoot;if("footer"!==a||!this._scrollEnabled())if(!c&&e.floating)e.floating.removeClass("fixedHeader-floating fixedHeader-locked");else{e.floating&&(null!==e.placeholder&&e.placeholder.remove(),this._unsize(a),e.floating.children().detach(), -e.floating.remove());c=b(f.table().node());var n=b(c.parent()),q=this._scrollEnabled();e.floating=b(f.table().node().cloneNode(!1)).attr("aria-hidden","true").css({"table-layout":"fixed",top:0,left:0}).removeAttr("id").append(p);e.floatingParent.css({width:n.width(),overflow:"hidden",height:"fit-content",position:"fixed",left:q?c.offset().left+n.scrollLeft():0}).css("header"===a?{top:this.c.headerOffset,bottom:""}:{top:"",bottom:this.c.footerOffset}).addClass("footer"===a?"dtfh-floatingparentfoot": -"dtfh-floatingparenthead").append(e.floating).appendTo("body");this._stickyPosition(e.floating,"-");a=function(){var r=n.scrollLeft();d.s.scrollLeft={footer:r,header:r};e.floatingParent.scrollLeft(d.s.scrollLeft.header)};a();n.scroll(a);e.placeholder=p.clone(!1);e.placeholder.find("*[id]").removeAttr("id");e.host.prepend(e.placeholder);this._matchWidths(e.placeholder,e.floating)}},_stickyPosition:function(a,c){if(this._scrollEnabled()){var d=this,f="rtl"===b(d.s.dt.table().node()).css("direction"); -a.find("th").each(function(){if("sticky"===b(this).css("position")){var e=b(this).css("right"),p=b(this).css("left");"auto"===e||f?"auto"!==p&&f&&(e=+p.replace(/px/g,"")+("-"===c?-1:1)*d.s.dt.settings()[0].oBrowser.barWidth,b(this).css("left",0y?e.tfootHeight:z+e.tfootHeight-y:d+ -this.c.headerOffset+e.theadHeight-m;m="header"===c?"top":"bottom";d=this.c[c+"Offset"]-(0y&&n+this.c.headerOffsete||this.dom.header.floatingParent===l?a=!0:this.dom.header.floatingParent.css({top:this.c.headerOffset, -position:"fixed"}).append(this.dom.header.floating)):q="below":q="in-place",(a||q!==this.s.headerMode)&&this._modeChange(q,"header",a),this._horizontal("header",p));var w={offset:{top:0,left:0},height:0},x={offset:{top:0,left:0},height:0};this.c.footer&&this.dom.tfoot.length&&(this.s.enable?!m.visible||m.tfootBottom+this.c.footerOffset<=r?m="in-place":e+m.tfootHeight+this.c.footerOffset>r&&y+this.c.footerOffsetn&&(c=n-f.top,r=r+(c>-w.height?c:0)-(w.offset.top+(c<-w.height?w.height:0)+x.height),0>r&&(r=0),d.outerHeight(r),Math.round(d.outerHeight())>=Math.round(r)?b(this.dom.tfoot.parent()).addClass("fixedHeader-floating"):b(this.dom.tfoot.parent()).removeClass("fixedHeader-floating"))); -this.dom.header.floating&&this.dom.header.floatingParent.css("left",z-p);this.dom.footer.floating&&this.dom.footer.floatingParent.css("left",z-p);this.s.dt.settings()[0]._fixedColumns!==l&&(d=function(A,C,u){u===l&&(u=b("div.dtfc-"+A+"-"+C+"-blocker"),u=0===u.length?null:u.clone().appendTo("body").css("z-index",1));null!==u&&u.css({top:"top"===C?w.offset.top:x.offset.top,left:"right"===A?z+B-u.width():z});return u},this.dom.header.rightBlocker=d("right","top",this.dom.header.rightBlocker),this.dom.header.leftBlocker= -d("left","top",this.dom.header.leftBlocker),this.dom.footer.rightBlocker=d("right","bottom",this.dom.footer.rightBlocker),this.dom.footer.leftBlocker=d("left","bottom",this.dom.footer.leftBlocker))},_scrollEnabled:function(){var a=this.s.dt.settings()[0].oScroll;return""!==a.sY||""!==a.sX?!0:!1}});t.version="3.2.1";t.defaults={header:!0,footer:!1,headerOffset:0,footerOffset:0};b.fn.dataTable.FixedHeader=t;b.fn.DataTable.FixedHeader=t;b(h).on("init.dt.dtfh",function(a,c,d){"dt"===a.namespace&&(a=c.oInit.fixedHeader, -d=k.defaults.fixedHeader,!a&&!d||c._fixedHeader||(d=b.extend({},d,a),!1!==a&&new t(c,d)))});k.Api.register("fixedHeader()",function(){});k.Api.register("fixedHeader.adjust()",function(){return this.iterator("table",function(a){(a=a._fixedHeader)&&a.update()})});k.Api.register("fixedHeader.enable()",function(a){return this.iterator("table",function(c){c=c._fixedHeader;a=a!==l?a:!0;c&&a!==c.enabled()&&c.enable(a)})});k.Api.register("fixedHeader.enabled()",function(){if(this.context.length){var a=this.context[0]._fixedHeader; -if(a)return a.enabled()}return!1});k.Api.register("fixedHeader.disable()",function(){return this.iterator("table",function(a){(a=a._fixedHeader)&&a.enabled()&&a.enable(!1)})});b.each(["header","footer"],function(a,c){k.Api.register("fixedHeader."+c+"Offset()",function(d){var f=this.context;return d===l?f.length&&f[0]._fixedHeader?f[0]._fixedHeader[c+"Offset"]():l:this.iterator("table",function(e){if(e=e._fixedHeader)e[c+"Offset"](d)})})});return t}); +var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(b,h,g){b instanceof String&&(b=String(b));for(var l=b.length,k=0;k'), +placeholder:null},footer:{host:null,floating:null,floatingParent:b('
    '),placeholder:null}};this.dom.header.host=this.dom.thead.parent();this.dom.footer.host=this.dom.tfoot.parent();a=a.settings()[0];if(a._fixedHeader)throw"FixedHeader already initialised on table "+a.nTable.id;a._fixedHeader=this;this._constructor()};b.extend(t.prototype,{destroy:function(){var a=this.dom;this.s.dt.off(".dtfc");b(h).off(this.s.namespace);a.header.rightBlocker&&a.header.rightBlocker.remove(); +a.header.leftBlocker&&a.header.leftBlocker.remove();a.footer.rightBlocker&&a.footer.rightBlocker.remove();a.footer.leftBlocker&&a.footer.leftBlocker.remove();this.c.header&&this._modeChange("in-place","header",!0);this.c.footer&&a.tfoot.length&&this._modeChange("in-place","footer",!0)},enable:function(a,d){this.s.enable=a;if(d||d===l)this._positions(),this._scroll(!0)},enabled:function(){return this.s.enable},headerOffset:function(a){a!==l&&(this.c.headerOffset=a,this.update());return this.c.headerOffset}, +footerOffset:function(a){a!==l&&(this.c.footerOffset=a,this.update());return this.c.footerOffset},update:function(a){var d=this.s.dt.table().node();b(d).is(":visible")?this.enable(!0,!1):this.enable(!1,!1);0!==b(d).children("thead").length&&(this._positions(),this._scroll(a!==l?a:!0))},_constructor:function(){var a=this,d=this.s.dt;b(h).on("scroll"+this.s.namespace,function(){a._scroll()}).on("resize"+this.s.namespace,k.util.throttle(function(){a.s.position.windowHeight=b(h).height();a.update()}, +50));var c=b(".fh-fixedHeader");!this.c.headerOffset&&c.length&&(this.c.headerOffset=c.outerHeight());c=b(".fh-fixedFooter");!this.c.footerOffset&&c.length&&(this.c.footerOffset=c.outerHeight());d.on("column-reorder.dt.dtfc column-visibility.dt.dtfc column-sizing.dt.dtfc responsive-display.dt.dtfc",function(f,e){a.update()}).on("draw.dt.dtfc",function(f,e){a.update(e===d.settings()[0]?!1:!0)});d.on("destroy.dtfc",function(){a.destroy()});this._positions();this._scroll()},_clone:function(a,d){var c= +this,f=this.s.dt,e=this.dom[a],p="header"===a?this.dom.thead:this.dom.tfoot;if("footer"!==a||!this._scrollEnabled())if(!d&&e.floating)e.floating.removeClass("fixedHeader-floating fixedHeader-locked");else{e.floating&&(null!==e.placeholder&&e.placeholder.remove(),this._unsize(a),e.floating.children().detach(),e.floating.remove());var q=b(f.table().node()),n=b(q.parent()),r=this._scrollEnabled();d=b(g).scrollLeft();var m=b(g).scrollTop();e.floating=b(f.table().node().cloneNode(!1)).attr("aria-hidden", +"true").css({"table-layout":"fixed",top:0,left:0}).removeAttr("id").append(p);e.floatingParent.css({width:n.width(),overflow:"hidden",height:"fit-content",position:"fixed",left:r?q.offset().left+n.scrollLeft():0}).css("header"===a?{top:this.c.headerOffset,bottom:""}:{top:"",bottom:this.c.footerOffset}).addClass("footer"===a?"dtfh-floatingparentfoot":"dtfh-floatingparenthead").append(e.floating).appendTo("body");this._stickyPosition(e.floating,"-");a=function(){var u=n.scrollLeft();c.s.scrollLeft= +{footer:u,header:u};e.floatingParent.scrollLeft(c.s.scrollLeft.header)};a();n.off("scroll.dtfh").on("scroll.dtfh",a);e.placeholder=p.clone(!1);e.placeholder.find("*[id]").removeAttr("id");e.host.prepend(e.placeholder);this._matchWidths(e.placeholder,e.floating);b(g).scrollTop(m).scrollLeft(d)}},_stickyPosition:function(a,d){if(this._scrollEnabled()){var c=this,f="rtl"===b(c.s.dt.table().node()).css("direction");a.find("th").each(function(){if("sticky"===b(this).css("position")){var e=b(this).css("right"), +p=b(this).css("left");"auto"===e||f?"auto"!==p&&f&&(e=+p.replace(/px/g,"")+("-"===d?-1:1)*c.s.dt.settings()[0].oBrowser.barWidth,b(this).css("left",0u?e.tfootHeight:z+e.tfootHeight-u:c+this.c.headerOffset+e.theadHeight-m;m="header"===d?"top":"bottom";c=this.c[d+ +"Offset"]-(0u&&q+this.c.headerOffsete||this.dom.header.floatingParent===l?a=!0:this.dom.header.floatingParent.css({top:this.c.headerOffset, +position:"fixed"}).append(this.dom.header.floating)):n="below":n="in-place",(a||n!==this.s.headerMode)&&this._modeChange(n,"header",a),this._horizontal("header",p));var x={offset:{top:0,left:0},height:0},y={offset:{top:0,left:0},height:0};this.c.footer&&this.dom.tfoot.length&&(this.s.enable?!m.visible||m.tfootBottom+this.c.footerOffset<=r?m="in-place":e+m.tfootHeight+this.c.footerOffset>r&&u+this.c.footerOffsetq&&(d=q-f.top,r=r+(d>-x.height?d:0)-(x.offset.top+(d<-x.height?x.height:0)+y.height),0>r&&(r=0),c.outerHeight(r),Math.round(c.outerHeight())>=Math.round(r)?b(this.dom.tfoot.parent()).addClass("fixedHeader-floating"):b(this.dom.tfoot.parent()).removeClass("fixedHeader-floating"))); +this.dom.header.floating&&this.dom.header.floatingParent.css("left",z-p);this.dom.footer.floating&&this.dom.footer.floatingParent.css("left",z-p);this.s.dt.settings()[0]._fixedColumns!==l&&(c=function(A,C,v){v===l&&(v=b("div.dtfc-"+A+"-"+C+"-blocker"),v=0===v.length?null:v.clone().appendTo("body").css("z-index",1));null!==v&&v.css({top:"top"===C?x.offset.top:y.offset.top,left:"right"===A?z+B-v.width():z});return v},this.dom.header.rightBlocker=c("right","top",this.dom.header.rightBlocker),this.dom.header.leftBlocker= +c("left","top",this.dom.header.leftBlocker),this.dom.footer.rightBlocker=c("right","bottom",this.dom.footer.rightBlocker),this.dom.footer.leftBlocker=c("left","bottom",this.dom.footer.leftBlocker))}},_scrollEnabled:function(){var a=this.s.dt.settings()[0].oScroll;return""!==a.sY||""!==a.sX?!0:!1}});t.version="3.2.2";t.defaults={header:!0,footer:!1,headerOffset:0,footerOffset:0};b.fn.dataTable.FixedHeader=t;b.fn.DataTable.FixedHeader=t;b(g).on("init.dt.dtfh",function(a,d,c){"dt"===a.namespace&&(a= +d.oInit.fixedHeader,c=k.defaults.fixedHeader,!a&&!c||d._fixedHeader||(c=b.extend({},c,a),!1!==a&&new t(d,c)))});k.Api.register("fixedHeader()",function(){});k.Api.register("fixedHeader.adjust()",function(){return this.iterator("table",function(a){(a=a._fixedHeader)&&a.update()})});k.Api.register("fixedHeader.enable()",function(a){return this.iterator("table",function(d){d=d._fixedHeader;a=a!==l?a:!0;d&&a!==d.enabled()&&d.enable(a)})});k.Api.register("fixedHeader.enabled()",function(){if(this.context.length){var a= +this.context[0]._fixedHeader;if(a)return a.enabled()}return!1});k.Api.register("fixedHeader.disable()",function(){return this.iterator("table",function(a){(a=a._fixedHeader)&&a.enabled()&&a.enable(!1)})});b.each(["header","footer"],function(a,d){k.Api.register("fixedHeader."+d+"Offset()",function(c){var f=this.context;return c===l?f.length&&f[0]._fixedHeader?f[0]._fixedHeader[d+"Offset"]():l:this.iterator("table",function(e){if(e=e._fixedHeader)e[d+"Offset"](c)})})});return t}); /*! diff --git a/modules/http/webif/gtemplates/base.html b/modules/http/webif/gtemplates/base.html index 6406126ef7..c8378babf9 100755 --- a/modules/http/webif/gtemplates/base.html +++ b/modules/http/webif/gtemplates/base.html @@ -72,11 +72,11 @@ + - {% block pluginscripts %} {% endblock pluginscripts %} From 12226fecb52150ad03f443170b791e85390dc5b4 Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Mon, 21 Mar 2022 10:01:39 +0100 Subject: [PATCH 23/86] implement CSS IDs for web interface top (plugin name, version, state, etc.) --- modules/http/webif/gtemplates/base_plugin.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/http/webif/gtemplates/base_plugin.html b/modules/http/webif/gtemplates/base_plugin.html index 089bc115cb..c853cf8d9b 100755 --- a/modules/http/webif/gtemplates/base_plugin.html +++ b/modules/http/webif/gtemplates/base_plugin.html @@ -39,17 +39,17 @@ {% endif %}
    -

    shng_logo_long

    +

    -
    {{ _('Plugin') }} : {{ p.get_shortname() }} v{{ p.get_version() }}
    +
    {{ _('Plugin') }} : {{ p.get_shortname() }} v{{ p.get_version() }}
    {% if p.get_instance_name() != '' %} -
    {{ _('Instanz') }}: {{ p.get_instance_name() }}
    +
    {{ _('Instanz') }}: {{ p.get_instance_name() }}
    {% else %}
    {% endif %} -
    {{ _('Plugin') }}     : {% if p.alive %}{{_('Aktiv')}}{% else %}{{_('Gestoppt')}}{% endif %}
    +
    {{ _('Plugin') }}     : {% if p.alive %}{{_('Aktiv')}}{% else %}{{_('Gestoppt')}}{% endif %}
    From 05126a9bba1ffa1443f2f1be2ada1c7120fbe6bc Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Mon, 21 Mar 2022 10:03:39 +0100 Subject: [PATCH 24/86] Update datatables defaults to be prepared for automatic height (pageResize, default is still false). Automatically scroll to top on page change --- .../gstatic/datatables/datatables.defaults.js | 23 +++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/modules/http/webif/gstatic/datatables/datatables.defaults.js b/modules/http/webif/gstatic/datatables/datatables.defaults.js index 135072cb2f..e11379b5ef 100644 --- a/modules/http/webif/gstatic/datatables/datatables.defaults.js +++ b/modules/http/webif/gstatic/datatables/datatables.defaults.js @@ -22,38 +22,53 @@ $(window).bind('datatables_defaults', function() { }; try { - + top_offset = $('#webif-navbar').outerHeight() + $('#webif-tabs').outerHeight(); // Set datatable useful defaults $.extend( $.fn.dataTable.defaults, { lengthMenu: [ [25, 50, 100, -1], [25, 50, 100, "All"] ], // pagination menu - pageLength: 100, // default to "all" + pageResize: false, + lengthChange: true, + paging: true, + pageLength: 100, // default to "100" pagingType: "full_numbers", // include first and last in pagination menu colReorder: true, // enable colomn reorder by drag and drop columnDefs: [{ targets: '_all', className: 'truncate' }], fixedHeader: {header: true, // header will always be visible on top of page when scrolling - headerOffset: $('#webif-navbar').outerHeight() + $('#webif-tabs').outerHeight()}, + headerOffset: top_offset}, autoWidth: false, - initComplete: function () {$(this).show();}, // show table (only) after init + initComplete: function () {$(this).show();$('#resize_wrapper').css('height', $(window).height() - top_offset - $('.dataTables_paginate').outerHeight() - 10);}, // show table (only) after init, adjust height of wrapper responsive: {details: {renderer: $.fn.dataTable.Responsive.renderer.listHiddenNodes()}}, //makes it possible to update columns even if they are not shown as columns (but as collapsable items) fnDrawCallback: function(oSettings) { // hide pagination if not needed if (oSettings._iDisplayLength > oSettings.fnRecordsDisplay() || oSettings._iDisplayLength == -1) { $(oSettings.nTableWrapper).find('.dataTables_paginate').hide(); } else { $(oSettings.nTableWrapper).find('.dataTables_paginate').show(); + $(oSettings.nTableWrapper).find('.paginate_button').on('click', function(){ + // scroll to top on page change + $('html, body').animate({ + scrollTop: $('#'+oSettings.sTableId).offset().top - top_offset + }, 'slow'); + }); } + $.fn.dataTable.tables({ visible: true, api: true }).fixedHeader.enable( false ); $.fn.dataTable.tables({ visible: true, api: true }).fixedHeader.enable( true ); $.fn.dataTable.tables({ visible: true, api: true }).fixedHeader.adjust(); + } }); // Set date format for correct sorting of columns containing date strings $.fn.dataTable.moment('DD.MM.YYYY HH:mm:ss'); $.fn.dataTable.moment('YYYY-MM-DD HH:mm:ss'); + $.fn.dataTable.moment('DD.MM.'); + $.fn.dataTable.moment('HH:mm'); + $('a[data-toggle="tab"]').on('shown.bs.tab', function(e){ $.fn.dataTable.tables({ visible: true, api: true }).columns.adjust(); $.fn.dataTable.tables({ visible: true, api: true }).fixedHeader.adjust(); $.fn.dataTable.tables({ visible: true, api: true }).responsive.recalc(); }); + } catch (e) { From ef7108794a3ab3423dc1a5aad4f0883846cceb16 Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Mon, 21 Mar 2022 10:04:37 +0100 Subject: [PATCH 25/86] adjusted shngInsertText function to include highlight effect on value change. Make sure value updates only happen if cell is visible on current page. --- modules/http/webif/gstatic/js/smarthomeng.js | 50 +++++++++++++++++--- 1 file changed, 43 insertions(+), 7 deletions(-) diff --git a/modules/http/webif/gstatic/js/smarthomeng.js b/modules/http/webif/gstatic/js/smarthomeng.js index 7efb8d9292..8196bcd888 100644 --- a/modules/http/webif/gstatic/js/smarthomeng.js +++ b/modules/http/webif/gstatic/js/smarthomeng.js @@ -43,20 +43,56 @@ function shngPost(path, params, method='post') { form.submit(); } - /** - * inserts text into a dom element. To be used for ajax updates - * @param {string} id of the dom element - * @param {string} text to insert + * Creates a highlight effect by transitioning from one CSS class to another. + * Needs jquery ui effect "switchClass" + * @param {string} $element dom element + * @param {string} highlight duration of effect (fade off) */ + function startAnimation($element, highlight) { + $element.stop(true, false); + $element.css({ 'background-color' : '' }); + $element.switchClass("shng_effect_standard", "shng_effect_highlight", highlight*10) + .delay(highlight*20).switchClass("shng_effect_highlight", "shng_effect_standard", highlight*1000, 'easeInOutQuad'); + $element.promise().done( function() { + $element.removeClass('shng_effect_standard');$element.removeClass('shng_effect_highlight'); + }); + } -function shngInsertText (id, text, table_id=null) { + /** + * inserts text into a dom element. To be used for ajax updates + * @param {string} id of the dom element + * @param {string} text to insert + */ +function shngInsertText (id, text, table_id=null, highlight=0) { if (table_id == null) { - document.getElementById(id).innerHTML = text; + if (highlight > 0) { + old_text = $('#' + $.escapeSelector(id)).text(); + element = $("#" + $.escapeSelector(id)); + // compare old value of cell with new one and highlight + if (old_text != "..." && old_text != text) { + startAnimation(element, highlight); + } + } + // update HTML element + element.html(text); } else { try { - $('#' + table_id).DataTable().cell( $('#' + $.escapeSelector(id)) ).data(text); + // check if cell id exists on current page + test = $('#' + table_id).DataTable().cell( $("#" + $.escapeSelector(id)), { page:'current'}).data(); + if ( test ) { + if (highlight > 0) { + old_text = $('#' + table_id).DataTable().cell( $('#' + $.escapeSelector(id)) ).data(); + element = $('#' + table_id).DataTable().cell( $('#' + $.escapeSelector(id)) ).node(); + // compare old value of cell with new one and highlight + if (old_text != "..." && old_text != text) { + startAnimation($('#' + $.escapeSelector(id)), highlight); + } + } + // update datatable cell + $('#' + table_id).DataTable().cell( $('#' + $.escapeSelector(id)) ).data(text); + } } catch (e) { console.log("Problem setting cell with id " + id + " of table " + table_id + ". Error: " + e); From ab31e011498b6cbf474abd1cbfc97938e97a7d25 Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Mon, 21 Mar 2022 10:08:10 +0100 Subject: [PATCH 26/86] small change in docu for webinterface filling --- .../entwicklung/plugins/webinterface_filling_webinterface.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/user/source/entwicklung/plugins/webinterface_filling_webinterface.rst b/doc/user/source/entwicklung/plugins/webinterface_filling_webinterface.rst index a3dac70967..c83951a690 100644 --- a/doc/user/source/entwicklung/plugins/webinterface_filling_webinterface.rst +++ b/doc/user/source/entwicklung/plugins/webinterface_filling_webinterface.rst @@ -93,6 +93,8 @@ Die folgenden Schritte dienen dazu, das Webinterface mit Leben zu füllen: Der Code ``$('#maintable').DataTable( {} );`` muss für jede Tabelle, für die Filtern/Sortieren ermöglicht werden soll, kopiert werden. Dabei ist sicher zu stellen, dass die ID (#maintable) jeweils richtig angepasst wird. + Die aktuellste Variante des nötigen Codeteils ist dem Sample-Plugin zu entnehmen, dort sind noch + weitere relevante Anpassungen zu finden. Den entsprechenden ``
    ",{valign:"top",colSpan:oa(a),"class":a.oClasses.sRowEmpty}).html(e))[0];F(a,"aoHeaderCallback","header",[l(a.nTHead).children("tr")[0],db(a),m,n,k]);F(a,"aoFooterCallback", -"footer",[l(a.nTFoot).children("tr")[0],db(a),m,n,k]);d=l(a.nTBody);d.children().detach();d.append(l(c));F(a,"aoDrawCallback","draw",[a]);a.bSorted=!1;a.bFiltered=!1;a.bDrawing=!1}}function ka(a,b){var c=a.oFeatures,d=c.bFilter;c.bSort&&Hb(a);d?za(a,a.oPreviousSearch):a.aiDisplay=a.aiDisplayMaster.slice();!0!==b&&(a._iDisplayStart=0);a._drawHold=b;ja(a);a._drawHold=!1}function Ib(a){var b=a.oClasses,c=l(a.nTable);c=l("
    ").insertBefore(c);var d=a.oFeatures,e=l("
    ",{id:a.sTableId+"_wrapper", +"footer",[l(a.nTFoot).children("tr")[0],db(a),m,n,k]);d=l(a.nTBody);d.children().detach();d.append(l(c));F(a,"aoDrawCallback","draw",[a]);a.bSorted=!1;a.bFiltered=!1;a.bDrawing=!1}}function ka(a,b){var c=a.oFeatures,d=c.bFilter;c.bSort&&Hb(a);d?ya(a,a.oPreviousSearch):a.aiDisplay=a.aiDisplayMaster.slice();!0!==b&&(a._iDisplayStart=0);a._drawHold=b;ja(a);a._drawHold=!1}function Ib(a){var b=a.oClasses,c=l(a.nTable);c=l("
    ").insertBefore(c);var d=a.oFeatures,e=l("
    ",{id:a.sTableId+"_wrapper", "class":b.sWrapper+(a.nTFoot?"":" "+b.sNoFooter)});a.nHolding=c[0];a.nTableWrapper=e[0];a.nTableReinsertBefore=a.nTable.nextSibling;for(var h=a.sDom.split(""),f,g,k,m,n,p,t=0;t")[0];m=h[t+1];if("'"==m||'"'==m){n="";for(p=2;h[t+p]!=m;)n+=h[t+p],p++;"H"==n?n=b.sJUIHeader:"F"==n&&(n=b.sJUIFooter);-1!=n.indexOf(".")?(m=n.split("."),k.id=m[0].substr(1,m[0].length-1),k.className=m[1]):"#"==n.charAt(0)?k.id=n.substr(1,n.length-1):k.className=n;t+=p}e.append(k); -e=l(k)}else if(">"==g)e=e.parent();else if("l"==g&&d.bPaginate&&d.bLengthChange)f=Jb(a);else if("f"==g&&d.bFilter)f=Kb(a);else if("r"==g&&d.bProcessing)f=Lb(a);else if("t"==g)f=Mb(a);else if("i"==g&&d.bInfo)f=Nb(a);else if("p"==g&&d.bPaginate)f=Ob(a);else if(0!==u.ext.feature.length)for(k=u.ext.feature,p=0,m=k.length;p"==g)e=e.parent();else if("l"==g&&d.bPaginate&&d.bLengthChange)f=Jb(a);else if("f"==g&&d.bFilter)f=Kb(a);else if("r"==g&&d.bProcessing)f=Lb(a);else if("t"==g)f=Mb(a);else if("i"==g&&d.bInfo)f=Nb(a);else if("p"==g&&d.bPaginate)f=Ob(a);else if(0!==u.ext.feature.length)for(k=u.ext.feature,p=0,m=k.length;p',g=d.sSearch;g=g.match(/_INPUT_/)?g.replace("_INPUT_",f):g+f;b=l("
    ",{id:h.f?null:c+"_filter","class":b.sFilter}).append(l("
    ").html(T(a,c,b,"display"))[0]}function ac(a,b){for(var c,d=-1,e=-1,h=0,f=a.aoData.length;hd&&(d=c.length,e=h);return e}function K(a){return null===a?"0px":"number"==typeof a?0>a?"0px":a+"px":a.match(/\d$/)?a+"px":a}function pa(a){var b=[],c=a.aoColumns;var d=a.aaSortingFixed;var e=l.isPlainObject(d);var h=[];var f=function(n){n.length&& +n&&g.width(n);for(v=e=0;v").css("width",K(a)).appendTo(b||A.body);b=a[0].offsetWidth;a.remove();return b}function $b(a,b){var c= +ac(a,b);if(0>c)return null;var d=a.aoData[c];return d.nTr?d.anCells[b]:l("").html(T(a,c,b,"display"))[0]}function ac(a,b){for(var c,d=-1,e=-1,h=0,f=a.aoData.length;hd&&(d=c.length,e=h);return e}function K(a){return null===a?"0px":"number"==typeof a?0>a?"0px":a+"px":a.match(/\d$/)?a+"px":a}function pa(a){var b=[],c=a.aoColumns;var d=a.aaSortingFixed;var e=l.isPlainObject(d);var h=[];var f=function(n){n.length&& !Array.isArray(n[0])?h.push(n):l.merge(h,n)};Array.isArray(d)&&f(d);e&&d.pre&&f(d.pre);f(a.aaSorting);e&&d.post&&f(d.post);for(a=0;aG?1:0;if(0!==C)return"asc"===r.dir?C:-C}C=c[n];G=c[p];return CG?1:0}):f.sort(function(n,p){var t,v=g.length,x=e[n]._aSortData,w=e[p]._aSortData;for(t=0;tG?1:0})}a.bSorted=!0}function cc(a){var b=a.aoColumns,c=pa(a);a=a.oLanguage.oAria;for(var d=0,e=b.length;d/g,"");var k=h.nTh;k.removeAttribute("aria-sort");h.bSortable&&(0e?e+1:3))}e= -0;for(h=d.length;ee?e+1:3))}a.aLastSort=d}function bc(a,b){var c=a.aoColumns[b],d=u.ext.order[c.sSortDataType],e;d&&(e=d.call(a.oInstance,a,b,va(a,b)));for(var h,f=u.ext.type.order[c.sType+"-pre"],g=0,k=a.aoData.length;ge?e+1:3))}a.aLastSort=d}function bc(a,b){var c=a.aoColumns[b],d=u.ext.order[c.sSortDataType],e;d&&(e=d.call(a.oInstance,a,b,ua(a,b)));for(var h,f=u.ext.type.order[c.sType+"-pre"],g=0,k=a.aoData.length;g=e.length?[0,m[1]]:m)}));b.search!==q&&l.extend(a.oPreviousSearch,Wb(b.search));if(b.columns){f=0;for(d=b.columns.length;f=c&&(b=c-d);b-=b%d;if(-1===d||0>b)b=0;a._iDisplayStart=b}function gb(a,b){a=a.renderer;var c=u.ext.renderer[b];return l.isPlainObject(a)&&a[b]?c[a[b]]||c._:"string"===typeof a?c[a]||c._:c._}function Q(a){return a.oFeatures.bServerSide? -"ssp":a.ajax||a.sAjaxSource?"ajax":"dom"}function Da(a,b){var c=ec.numbers_length,d=Math.floor(c/2);b<=c?a=ra(0,b):a<=d?(a=ra(0,c-2),a.push("ellipsis"),a.push(b-1)):(a>=b-1-d?a=ra(b-(c-2),b):(a=ra(a-d+2,a+d-1),a.push("ellipsis"),a.push(b-1)),a.splice(0,0,"ellipsis"),a.splice(0,0,0));a.DT_el="span";return a}function Xa(a){l.each({num:function(b){return Ua(b,a)},"num-fmt":function(b){return Ua(b,a,rb)},"html-num":function(b){return Ua(b,a,Va)},"html-num-fmt":function(b){return Ua(b,a,Va,rb)}},function(b, +"ssp":a.ajax||a.sAjaxSource?"ajax":"dom"}function Da(a,b){var c=ec.numbers_length,d=Math.floor(c/2);b<=c?a=qa(0,b):a<=d?(a=qa(0,c-2),a.push("ellipsis"),a.push(b-1)):(a>=b-1-d?a=qa(b-(c-2),b):(a=qa(a-d+2,a+d-1),a.push("ellipsis"),a.push(b-1)),a.splice(0,0,"ellipsis"),a.splice(0,0,0));a.DT_el="span";return a}function Xa(a){l.each({num:function(b){return Ua(b,a)},"num-fmt":function(b){return Ua(b,a,rb)},"html-num":function(b){return Ua(b,a,Va)},"html-num-fmt":function(b){return Ua(b,a,Va,rb)}},function(b, c){M.type.order[b+a+"-pre"]=c;b.match(/^html\-/)&&(M.type.search[b+a]=M.type.search.html)})}function fc(a){return function(){var b=[Ta(this[u.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return u.ext.internal[a].apply(this,b)}}var u=function(a,b){if(this instanceof u)return l(a).DataTable(b);b=a;this.$=function(f,g){return this.api(!0).$(f,g)};this._=function(f,g){return this.api(!0).rows(f,g).data()};this.api=function(f){return f?new B(Ta(this[M.iApiIndex])):new B(this)};this.fnAddData= function(f,g){var k=this.api(!0);f=Array.isArray(f)&&(Array.isArray(f[0])||l.isPlainObject(f[0]))?k.rows.add(f):k.row.add(f);(g===q||g)&&k.draw();return f.flatten().toArray()};this.fnAdjustColumnSizing=function(f){var g=this.api(!0).columns.adjust(),k=g.settings()[0],m=k.oScroll;f===q||f?g.draw(!1):(""!==m.sX||""!==m.sY)&&Ha(k)};this.fnClearTable=function(f){var g=this.api(!0).clear();(f===q||f)&&g.draw()};this.fnClose=function(f){this.api(!0).row(f).child.hide()};this.fnDeleteRow=function(f,g,k){var m= this.api(!0);f=m.rows(f);var n=f.settings()[0],p=n.aoData[f[0][0]];f.remove();g&&g.call(this,n,p);(k===q||k)&&m.draw();return p};this.fnDestroy=function(f){this.api(!0).destroy(f)};this.fnDraw=function(f){this.api(!0).draw(f)};this.fnFilter=function(f,g,k,m,n,p){n=this.api(!0);null===g||g===q?n.search(f,k,m,p):n.column(g).search(f,k,m,p);n.draw()};this.fnGetData=function(f,g){var k=this.api(!0);if(f!==q){var m=f.nodeName?f.nodeName.toLowerCase():"";return g!==q||"td"==m||"th"==m?k.cell(f,g).data(): @@ -113,20 +113,20 @@ sInstance:f,sTableId:f});r.nTable=this;r.oApi=c.internal;r.oInit=g;v.push(r);r.o "aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]);X(r.oScroll,g,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]);X(r.oLanguage,g,"fnInfoCallback"); R(r,"aoDrawCallback",g.fnDrawCallback,"user");R(r,"aoServerParams",g.fnServerParams,"user");R(r,"aoStateSaveParams",g.fnStateSaveParams,"user");R(r,"aoStateLoadParams",g.fnStateLoadParams,"user");R(r,"aoStateLoaded",g.fnStateLoaded,"user");R(r,"aoRowCallback",g.fnRowCallback,"user");R(r,"aoRowCreatedCallback",g.fnCreatedRow,"user");R(r,"aoHeaderCallback",g.fnHeaderCallback,"user");R(r,"aoFooterCallback",g.fnFooterCallback,"user");R(r,"aoInitComplete",g.fnInitComplete,"user");R(r,"aoPreDrawCallback", g.fnPreDrawCallback,"user");r.rowIdFn=na(g.rowId);Bb(r);var C=r.oClasses;l.extend(C,u.ext.classes,g.oClasses);t.addClass(C.sTable);r.iInitDisplayStart===q&&(r.iInitDisplayStart=g.iDisplayStart,r._iDisplayStart=g.iDisplayStart);null!==g.iDeferLoading&&(r.bDeferLoading=!0,f=Array.isArray(g.iDeferLoading),r._iRecordsDisplay=f?g.iDeferLoading[0]:g.iDeferLoading,r._iRecordsTotal=f?g.iDeferLoading[1]:g.iDeferLoading);var G=r.oLanguage;l.extend(!0,G,g.oLanguage);G.sUrl?(l.ajax({dataType:"json",url:G.sUrl, -success:function(I){P(p.oLanguage,I);ma(I);l.extend(!0,G,I);F(r,null,"i18n",[r]);Ba(r)},error:function(){Ba(r)}}),n=!0):F(r,null,"i18n",[r]);null===g.asStripeClasses&&(r.asStripeClasses=[C.sStripeOdd,C.sStripeEven]);f=r.asStripeClasses;var aa=t.children("tbody").find("tr").eq(0);-1!==l.inArray(!0,l.map(f,function(I,H){return aa.hasClass(I)}))&&(l("tbody tr",this).removeClass(f.join(" ")),r.asDestroyStripes=f.slice());f=[];v=this.getElementsByTagName("thead");0!==v.length&&(xa(r.aoHeader,v[0]),f=Na(r)); +success:function(I){P(p.oLanguage,I);ma(I);l.extend(!0,G,I);F(r,null,"i18n",[r]);Aa(r)},error:function(){Aa(r)}}),n=!0):F(r,null,"i18n",[r]);null===g.asStripeClasses&&(r.asStripeClasses=[C.sStripeOdd,C.sStripeEven]);f=r.asStripeClasses;var aa=t.children("tbody").find("tr").eq(0);-1!==l.inArray(!0,l.map(f,function(I,H){return aa.hasClass(I)}))&&(l("tbody tr",this).removeClass(f.join(" ")),r.asDestroyStripes=f.slice());f=[];v=this.getElementsByTagName("thead");0!==v.length&&(wa(r.aoHeader,v[0]),f=Na(r)); if(null===g.aoColumns)for(v=[],k=0,m=f.length;k").appendTo(t));r.nTHead=H[0];var ea=t.children("tbody");0===ea.length&&(ea=l("
    `` Tags sind die entsprechenden ids zu vergeben, außerdem sollte die CSS Klasse ``display`` hinzugefügt werden. Beispiel: ``
    ``. From 823e37d8a26c465de095ff8ea21d43391a23567f Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Mon, 21 Mar 2022 10:16:42 +0100 Subject: [PATCH 27/86] revert user_doc of sample_plugin --- dev/sample_plugin/user_doc.rst | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/dev/sample_plugin/user_doc.rst b/dev/sample_plugin/user_doc.rst index fdfdbd311e..3e512e4bf0 100644 --- a/dev/sample_plugin/user_doc.rst +++ b/dev/sample_plugin/user_doc.rst @@ -1,5 +1,17 @@ -Sample Plugin <- hier den Namen des Plugins einsetzen -===================================================== +.. index:: Plugins; sample +.. index:: sample + +====== +sample +====== + +.. image:: webif/static/img/plugin_logo.png + :alt: plugin logo + :width: 300px + :height: 300px + :scale: 50 % + :align: left + Anforderungen ------------- From ec441d48e4bec8643c2975f036a4666e7a588af3 Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Mon, 21 Mar 2022 23:35:14 +0100 Subject: [PATCH 28/86] datatables: introduce table-resize class and add some adjustments to make pageResize based on window height possible for multiple bodytabs Update documentation --- dev/sample_plugin/webif/templates/index.html | 2 +- .../plugins/webinterface_automatic_update.rst | 118 +++++++++++------- .../http/webif/gstatic/css/smarthomeng.css | 5 + .../datatables/dataTables.pageResize.min.js | 2 +- .../gstatic/datatables/datatables.defaults.js | 5 +- .../http/webif/gtemplates/base_plugin.html | 14 +-- 6 files changed, 91 insertions(+), 55 deletions(-) diff --git a/dev/sample_plugin/webif/templates/index.html b/dev/sample_plugin/webif/templates/index.html index bf009ca113..29e411a254 100644 --- a/dev/sample_plugin/webif/templates/index.html +++ b/dev/sample_plugin/webif/templates/index.html @@ -169,7 +169,7 @@ --> {% set tab1title = "" ~ p.get_shortname() ~ " Items (" ~ item_count ~ ")" %} {% block bodytab1 %} -
    +
    {{ _('Hier kommt der Inhalt des Webinterfaces hin.') }} diff --git a/doc/user/source/entwicklung/plugins/webinterface_automatic_update.rst b/doc/user/source/entwicklung/plugins/webinterface_automatic_update.rst index 453b252371..98bed64b7d 100644 --- a/doc/user/source/entwicklung/plugins/webinterface_automatic_update.rst +++ b/doc/user/source/entwicklung/plugins/webinterface_automatic_update.rst @@ -98,29 +98,27 @@ Bei Tabellen werden die einzelnen Datenzeilen beim Rendern durch die for-Schleif .. code-block:: html+jinja {% block **bodytab1** %} -
    -
    -
    - +
    +
    + + + + + + + + + + {% for item in items %} - - - - + + + + - - - {% for item in items %} - - - - - - - {% endfor %} - -
    {{ _('Item') }}{{ _('Typ') }}{{ _('knx_dpt') }}{{ _('Wert') }}
    {{ _('Item') }}{{ _('Typ') }}{{ _('knx_dpt') }}{{ _('Wert') }}{{ item._path }}{{ item._type }}{{ item.conf['knx_dpt'] }}{{ item._value }}
    {{ item._path }}{{ item._type }}{{ item.conf['knx_dpt'] }}{{ item._value }}
    - + {% endfor %} + + {% endblock **bodytab1** %} @@ -147,29 +145,23 @@ dass die ID in Wertetabellen eindeutig sind, wird die for-Schleifenvariable (hie ... {% block **bodytab1** %} -
    -
    - - +
    +
    + + + ... + + + + + {% for item in items %} - - - - + ... + - - - {% for item in items %} - - - - - - - {% endfor %} - -
    {{ _('Wert') }}
    {{ _('Item') }}{{ _('Typ') }}{{ _('knx_dpt') }}{{ _('Wert') }}{{ item._value }}
    {{ item._path }}{{ item._type }}{{ item.conf['knx_dpt'] }}{{ item._value }}
    -
    + {% endfor %} + +
    {% endblock **bodytab1** %} @@ -201,7 +193,17 @@ Das folgende Beispiel weist die neuen Daten dem oben vorgestellten -Element {% endblock pluginscripts %} -Das nächste Beispiel befüllt dazu analog die -Elemente der Zeilen in der Tabelle im ``bodytab?``: +Das nächste Beispiel befüllt dazu analog die -Elemente der Zeilen in der Tabelle im ``bodytab?``. +Die Parameter der shngInsertText-Funktion sind dabei wie folgt: + +#. (obligatorisch) ID des HTML Elements, z.B. der Tabellenzelle + +#. (obligatorisch) zu schreibender Wert, wird aus dem objResponse dict gelesen + +#. (optional) Wenn das Element aus Parameter 0 in einer dataTable ist, muss die ID der Tabelle mitgegeben werden + +#. (optional) Möchte man beim Ändern eines Werts einen Highlight-Effekt, kann die Dauer in Sekunden angegeben werden + .. code-block:: html+jinja @@ -212,9 +214,9 @@ Das nächste Beispiel befüllt dazu analog die -Elemente der Zeilen in der T var objResponse = JSON.parse(response); for (var item in objResponse) { - shngInsertText(item+'_value', objResponse['item'][item]['value']); + shngInsertText(item+'_value', objResponse['item'][item]['value'], null, 2); // bei Tabellen mit datatables Funktion sollte die Zeile lauten: - // shngInsertText(item+'_value', objResponse['item'][item]['value'], 'maintable'); + // shngInsertText(item+'_value', objResponse['item'][item]['value'], 'maintable', 2); } } } @@ -272,6 +274,32 @@ anzugeben ist (0 wäre die erste Tabellenspalte, 2 die zweite, etc.). } ); +Hervorheben von Änderungen +-------------------------- + +Wird über ``shngInsertText`` der Inhalt eines HTML Elements aktualisiert, kann dies optional durch einen +farbigen Hintergrund hervorgehoben werden. Der jquery UI Effekt ``switchClass`` wechselt dabei sanft +von einer CSS Klasse zur anderen. Die Dauer des Effekts kann im letzten Parameter des Aufrufs von +``shngInsertText`` in Sekunden angegeben werden. Eine Dauer von 0 oder keine Angabe sorgen dafür, +dass kein Highlight Effekt ausgeführt wird. Außerdem wird der Effekt auch nicht aktiviert, wenn der vorige +Wert ``...`` war (z.B. beim Initialisieren der Tabelle, bevor aktualisierte Werte vom Plugin kommen). +Die beiden Klassen sind bereits hinterlegt, können aber in der index.html im Block ``pluginStyles`` +bei Bedarf überschrieben werden. + +.. code-block:: css+jinja + + {% block pluginstyles %} + + {% endblock pluginstyles %} + + Festlegen des Aktualisierungsintervalls --------------------------------------- diff --git a/modules/http/webif/gstatic/css/smarthomeng.css b/modules/http/webif/gstatic/css/smarthomeng.css index 816894b5ee..c0ae79add1 100644 --- a/modules/http/webif/gstatic/css/smarthomeng.css +++ b/modules/http/webif/gstatic/css/smarthomeng.css @@ -46,6 +46,11 @@ table td.truncate:active { table .notruncate { overflow: visible; } +/* this is necessary for correct auto pageResize of datatables */ +.table-resize { + height: 100%; + box-sizing: border-box; +} .minusIcon { position: relative; diff --git a/modules/http/webif/gstatic/datatables/dataTables.pageResize.min.js b/modules/http/webif/gstatic/datatables/dataTables.pageResize.min.js index 3303b934e1..3b6e7b2822 100644 --- a/modules/http/webif/gstatic/datatables/dataTables.pageResize.min.js +++ b/modules/http/webif/gstatic/datatables/dataTables.pageResize.min.js @@ -26,7 +26,7 @@ 2015 SpryMedia Ltd - datatables.net/license */ $(window).resize(function(){ - $('#resize_wrapper').css('height', $(window).height() - $('#webif-navbar').outerHeight() - $('#webif-tabs').outerHeight() - $('.dataTables_paginate').outerHeight() - 10); + $('#resize_wrapper').css('height', $(window).height() - $('#webif-navbar').outerHeight() - $('#webif-tabs').outerHeight() - $('.dataTables_paginate').outerHeight() - 30); }); (function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return b(e,window,document)}):"object"===typeof exports?module.exports=function(e,f){e||(e=window);f&&f.fn.dataTable||(f=require("datatables.net")(e,f).$);return b(f,e,e.document)}:b(jQuery,window,document)})(function(b,e,f,p){var l=function(a,d){var c=a.table();this.s={dt:a,host:b(c.container()).parent(),header:b(c.header()),footer:b(c.footer()),body:b(c.body()),container:b(c.container()),table:b(c.node()), delta:d};a=this.s.host;"static"===a.css("position")&&a.css("position","relative");this._attach();this._size()};l.prototype={_size:function(){var a=this.s,d=a.dt,c=d.table(),k=b(a.table).offset().top,g=b("tr",a.body);g=g.eq(1 oSettings.fnRecordsDisplay() || oSettings._iDisplayLength == -1) { @@ -67,6 +67,9 @@ $(window).bind('datatables_defaults', function() { $.fn.dataTable.tables({ visible: true, api: true }).columns.adjust(); $.fn.dataTable.tables({ visible: true, api: true }).fixedHeader.adjust(); $.fn.dataTable.tables({ visible: true, api: true }).responsive.recalc(); + $(function () { + $(window).resize(); + }); }); } diff --git a/modules/http/webif/gtemplates/base_plugin.html b/modules/http/webif/gtemplates/base_plugin.html index c853cf8d9b..be20807466 100755 --- a/modules/http/webif/gtemplates/base_plugin.html +++ b/modules/http/webif/gtemplates/base_plugin.html @@ -144,34 +144,34 @@
    {{ _('Plugin') }}     : {% if p.aliv -
    +
    -
    +
    {% block bodytab1 %} {% endblock bodytab1 %}
    -
    +
    {% block bodytab2 %} {% endblock bodytab2 %}
    -
    +
    {% block bodytab3 %} {% endblock bodytab3 %}
    -
    +
    {% block bodytab4 %} {% endblock bodytab4 %}
    -
    +
    {% block bodytab5 %} {% endblock bodytab5 %}
    -
    +
    {% block bodytab6 %} {% endblock bodytab6 %}
    From f11694d6b4bf0f6ee5b64b6e0db4524e24ec77ce Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Wed, 23 Mar 2022 21:30:01 +0100 Subject: [PATCH 29/86] fix problem where datatable scrolling pushes tab up. May break things in other constellations though!?? --- modules/http/webif/gstatic/css/smarthomeng.css | 4 ++++ modules/http/webif/gtemplates/base_plugin.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/http/webif/gstatic/css/smarthomeng.css b/modules/http/webif/gstatic/css/smarthomeng.css index c0ae79add1..369ee899d6 100644 --- a/modules/http/webif/gstatic/css/smarthomeng.css +++ b/modules/http/webif/gstatic/css/smarthomeng.css @@ -51,6 +51,10 @@ table .notruncate { height: 100%; box-sizing: border-box; } +.tab-content { + position:absolute; + top:230px; +} .minusIcon { position: relative; diff --git a/modules/http/webif/gtemplates/base_plugin.html b/modules/http/webif/gtemplates/base_plugin.html index be20807466..609f8c45af 100755 --- a/modules/http/webif/gtemplates/base_plugin.html +++ b/modules/http/webif/gtemplates/base_plugin.html @@ -120,7 +120,7 @@
    {{ _('Plugin') }}     : {% if p.aliv {% endif %} -
    +
    {% endblock **bodytab1** %} @@ -220,8 +216,8 @@ wo standardmäßig schon die Buttons "Aktualisieren" und "Schließen" vorhanden Dabei ist wichtig, dass die ID (hier: "clear") vergeben und eindeutig im gesamten Template ist. -Wenn nur ein Button eingefügt werden soll, ist das die einfachste Variante. -Wie weiter unten beschrieben, ist für jeden Button, der auf diese Weise implementiert wird, +Wenn nur ein Button eingefügt werden soll, ist das die einfachste Variante. +Wie weiter unten beschrieben, ist für jeden Button, der auf diese Weise implementiert wird, eine eigene Handler-Routine erforderlich. Wenn mehrere Buttons dieser Art vorgesehen sind, oder z.B. in einer Wertetabelle ein Button @@ -230,51 +226,49 @@ in jeder Zeile stehen soll, dann bietet es sich an, statt einzelnen Button-Eleme .. code-block:: html+jinja {% block bodytab1 %} -
    -
    - -
    - - - - - - - - - - - - - {% for elem in data %} - - - - - - - {% endfor %} - -
    {{ _('Attribut 1') }}{{ _('Attribut 2') }}{{ _('aktualisieren') }}{{ _('Wert') }}
    {{ data[elem]['attr1'] }}{{ data[elem]['attr2'] }} - - {{ data[elem]['wert']
    - -
    - -
    -
    +
    + +
    + + + + + + + + + + + + + {% for elem in data %} + + + + + + + {% endfor %} + +
    {{ _('Attribut 1') }}{{ _('Attribut 2') }}{{ _('aktualisieren') }}{{ _('Wert') }}
    {{ data[elem]['attr1'] }}{{ data[elem]['attr2'] }} + + {{ data[elem]['wert']
    + +
    + +
    {% endblock bodytab1 %} In der Tabellenspalte mit den Buttons wird in jeder Zeile ein Button eingefügt. -Durch den Ausdruck ``{{ elem }}`` wird jedem Button der entsprechende Zeilenwert -in den Button-Code eingefügt. Um die eindeutige Zuordnung sicher zu stellen, -wird die for-Variable der Tabelle verwendet. Natürlich können auch andere Werte verwendet werden, +Durch den Ausdruck ``{{ elem }}`` wird jedem Button der entsprechende Zeilenwert +in den Button-Code eingefügt. Um die eindeutige Zuordnung sicher zu stellen, +wird die for-Variable der Tabelle verwendet. Natürlich können auch andere Werte verwendet werden, z.B. Inhalte aus dem ``data`` Dictionary. Dann muss sicher gestellt sein, dass die Werte eindeutig sind. Die Definition der aktiven Elemente ist damit abgeschlossen. @@ -283,14 +277,14 @@ Die Definition der aktiven Elemente ist damit abgeschlossen. Javascript-Funktion zum Handling implementieren ----------------------------------------------- -Normalerweise werden Buttons und Formulare an den Webserver gesendet, welcher daraufhin eine -neue Webseite an den Browser schickt. -Um zu verhindern, dass bei jeder Interaktion eine neue Seite geladen wird, -benötigen die aktiven Elemente sogenannte handler-Methoden. -Gleichzeitig empfangen die handler die Antwortdaten vom Plugin und fügen diese in die entsprechenden DOM-Elemente ein. +Normalerweise werden Buttons und Formulare an den Webserver gesendet, welcher daraufhin eine +neue Webseite an den Browser schickt. +Um zu verhindern, dass bei jeder Interaktion eine neue Seite geladen wird, +benötigen die aktiven Elemente sogenannte handler-Methoden. +Gleichzeitig empfangen die handler die Antwortdaten vom Plugin und fügen diese in die entsprechenden DOM-Elemente ein. Diese handler müssen auf der Webseite im Block ``pluginscripts`` eingefügt werden. -Falls dort noch kein Handler für das ``$(document).ready()``-Event vorhanden ist, wird dieser mit hinzugefügt; +Falls dort noch kein Handler für das ``$(document).ready()``-Event vorhanden ist, wird dieser mit hinzugefügt; ansonsten werden die neuen Handler in den document.ready-Handler eingefügt. @@ -319,13 +313,13 @@ Dort werden dann die Handler für die aktiven Elemente eingefügt. // Handler für einfachen Button - das "click"-Element wird abgefangen $("#clear").click(function(e) { - + // keine HTML-Aktion ausführen (z.B. Formular senden) e.preventDefault(); // festen Wert per AJAX senden $.post('submit', {clear: "true"}, function(data) { - + // Ergebnis in Feld #fromip schreiben shngInsertText('fromip', data.ip) }); @@ -334,13 +328,13 @@ Dort werden dann die Handler für die aktiven Elemente eingefügt. // Handler für Formular - das "submit"-Element (Senden) wird abgefangen $("#button_pressed").submit(function(e) { - + // keine HTML-Aktion ausführen (z.B. Formular senden) e.preventDefault(); // die Kennung des gedrückten Buttons per AJAX senden $.post('submit', {button: $("#button").val()}, function(data) { - + // Zeile ermitteln var row = $("#button").val() var id = row + "_value" @@ -362,7 +356,6 @@ Dort werden dann die Handler für die aktiven Elemente eingefügt. {% endblock pluginscripts %} -In der Implementation ist zu beachten, dass die Werte vom Plugin so strukturiert sind, -dass sie verarbeitet werden können. Sowohl die gewählte Datenstruktur als auch die davon +In der Implementation ist zu beachten, dass die Werte vom Plugin so strukturiert sind, +dass sie verarbeitet werden können. Sowohl die gewählte Datenstruktur als auch die davon abhängige Implementation der Handler können sich in Struktur und Umfang erheblich vom Beispiel unterscheiden. - From 8b476bb74b15481f6ea3a0dd2eaa4283df103e7a Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Tue, 19 Apr 2022 13:33:15 +0200 Subject: [PATCH 57/86] http module: hide tabs when tabtitle is set to "hidden" (and update docu accordingly) --- .../webinterface_filling_webinterface.rst | 29 +++++++++++++++++-- .../http/webif/gtemplates/base_plugin.html | 18 +++++++----- 2 files changed, 37 insertions(+), 10 deletions(-) diff --git a/doc/user/source/entwicklung/plugins/webinterface_filling_webinterface.rst b/doc/user/source/entwicklung/plugins/webinterface_filling_webinterface.rst index 75c638dd36..d67f3f7b78 100644 --- a/doc/user/source/entwicklung/plugins/webinterface_filling_webinterface.rst +++ b/doc/user/source/entwicklung/plugins/webinterface_filling_webinterface.rst @@ -45,6 +45,12 @@ Die folgenden Schritte dienen dazu, das Webinterface mit Leben zu füllen: # add values to be passed to the Jinja2 template eg: tmpl.render(p=self.plugin, interface=interface, ...) return tmpl.render(p=self.plugin) + # Setting pagelength (max. number of table entries per page) for web interface + try: + pagelength = self.plugin.webif_pagelength + except Exception: + pagelength = 100 + # get list of items with the attribute knx_dpt plgitems = [] for item in self.items.return_items(): @@ -54,10 +60,27 @@ Die folgenden Schritte dienen dazu, das Webinterface mit Leben zu füllen: # additionally hand over the list of items, sorted by item-path tmpl = self.tplenv.get_template('index.html') return tmpl.render(p=self.plugin, + webif_pagelength=pagelength, items=sorted(plgitems, key=lambda k: str.lower(k['_path'])), ) - 2. Das Template ``webif/templates/index.html`` wird zur Anzeige der gewünschten Daten angepasst. + 2. Im Template ``webif/templates/index.html`` werden Anzahl und Titel der Tabs sowie der Starttab konfiguriert. + + * ``{% set tabcount = 4 %}`` definiert die Anzahl an Tabs. Erfolgt keine Angabe, werden automatisch 4 Tabs angezeigt. + * ``{% set start_tab = 2 %}`` definiert, dass Tab 2 zu Beginn aktiv ist. + * ``{% set tab1title = "" ~ p.get_shortname() ~ " Items (" ~ item_count ~ ")" %}`` sorgt dafür, dass der erste Tab die Überschrift " Items ()" erhält. Setzt man den Titel auf "hidden", wird der Tab nicht angezeigt. Dies ist beispielsweise dann sinnvoll, wenn gar keine Inhalte für den Tab vorhanden sind, weil das Plugin vom User entsprechend konfiguriert wurde. + + + .. code-block:: HTML + + {% if item_count > 0 %} + {% set tab1title = "" ~ p.get_shortname() ~ " Items (" ~ item_count ~ ")" %} + {% else %} + {% set tab1title = "hidden" %} + {% endif %} + + + 3. Das Template ``webif/templates/index.html`` wird zur Anzeige der gewünschten Daten angepasst. Um im ersten Tab des Webinterface die Items anzuzeigen, die der obige Beispielcode zusammengestellt hat, wird der folgende Code zwischen ``{% block bodytab1 %}`` und ``{% endblock bodytab1 %}`` eingefügt. Es ist sicherzustellen, dass korrekter HTML Code für die Tabellen genutzt wird, ua. durch Nutzen der Tags ```` und ```` sowie der jeweiligen End-Tags. Außerdem muss jeder Tabelle eine einzigartige ID vergeben werden. @@ -89,7 +112,7 @@ Die folgenden Schritte dienen dazu, das Webinterface mit Leben zu füllen:
    - 3. Folgender Scriptcode muss zwischen ``{% block pluginscripts %}`` und + 4. Folgender Scriptcode muss zwischen ``{% block pluginscripts %}`` und ``{% endblock pluginscripts %}`` eingefügt werden, um ein Filtern und Sortieren der Tabellen zu ermöglichen. Der Code ``$('#maintable').DataTable( {} );`` @@ -113,4 +136,4 @@ Die folgenden Schritte dienen dazu, das Webinterface mit Leben zu füllen: }); - 4. Das Logo oben links auf der Seite wird automatisch durch das Logo des konfigurierten Plugin-Typs ersetzt. Wenn das Webinterface ein eigenes Logo mitbringen soll, muss das entsprechende Bild im Verzeichnis ``webif/static/img`` mit dem Namen ``plugin_logo`` abgelegt sein. Die zulässigen Dateiformate sind **.png**, **.jpg** oder **.svg**. Dabei sollte die Größe der Bilddatei die Größe des angezeigten Logos (derzeit ca. 180x150 Pixel) nicht überschreiten, um unnötige Datenübertragungen zu vermeiden. + 5. Das Logo oben links auf der Seite wird automatisch durch das Logo des konfigurierten Plugin-Typs ersetzt. Wenn das Webinterface ein eigenes Logo mitbringen soll, muss das entsprechende Bild im Verzeichnis ``webif/static/img`` mit dem Namen ``plugin_logo`` abgelegt sein. Die zulässigen Dateiformate sind **.png**, **.jpg** oder **.svg**. Dabei sollte die Größe der Bilddatei die Größe des angezeigten Logos (derzeit ca. 180x150 Pixel) nicht überschreiten, um unnötige Datenübertragungen zu vermeiden. diff --git a/modules/http/webif/gtemplates/base_plugin.html b/modules/http/webif/gtemplates/base_plugin.html index 609f8c45af..407ad4c2f9 100755 --- a/modules/http/webif/gtemplates/base_plugin.html +++ b/modules/http/webif/gtemplates/base_plugin.html @@ -122,23 +122,27 @@
    {{ _('Plugin') }}     : {% if p.aliv
    From 884b2bc9266078e34f6242671e718319e153bbbc Mon Sep 17 00:00:00 2001 From: Bernd Meiners Date: Thu, 21 Apr 2022 15:16:22 +0200 Subject: [PATCH 58/86] tests: remove python3.6 from testing --- .travis.yml | 2 -- tox.ini | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9e95a3805f..29717aa059 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,6 @@ cache: pip jobs: include: - - python: 3.6 - dist: bionic - python: 3.7 dist: bionic - python: 3.8 diff --git a/tox.ini b/tox.ini index 311a12368c..81cc0fc275 100644 --- a/tox.ini +++ b/tox.ini @@ -33,7 +33,7 @@ ; To run tests on Travis CI add the environments to the .travis.yml too! -envlist = py36, py37, py38 +envlist = py37, py38 skip_missing_interpreters = True ; do not execute a ``python setup.py sdist`` From ca0847b7a323b0fbe897eaf94f3a20706b7aef34 Mon Sep 17 00:00:00 2001 From: msinn Date: Thu, 21 Apr 2022 16:28:55 +0200 Subject: [PATCH 59/86] modules.admin: Fixed display of logs in shngadmin for changed file naming convention introduced in shng v1.9 --- modules/admin/api_logs.py | 7 ++++++- modules/admin/webif/static/assets/i18n/de.json | 2 +- modules/admin/webif/static/assets/i18n/en.json | 5 +++++ modules/admin/webif/static/assets/i18n/fr.json | 5 +++++ .../static/assets/testdata/api/logs/default.json | 14 +++++++------- modules/admin/webif/static/index.html | 2 +- ...9590c786f31.js => main.8c61344e3730c6fd1fdb.js} | 2 +- 7 files changed, 26 insertions(+), 11 deletions(-) rename modules/admin/webif/static/{main.9adb683439590c786f31.js => main.8c61344e3730c6fd1fdb.js} (95%) diff --git a/modules/admin/api_logs.py b/modules/admin/api_logs.py index 5b6be59732..6cdbd1ebcd 100644 --- a/modules/admin/api_logs.py +++ b/modules/admin/api_logs.py @@ -86,6 +86,10 @@ def get_logs_with_files(self): logfiles = self.get_files_of_log(log_name) logs[log_name] = sorted(logfiles) + + if fn.startswith('smarthome-warnings'): + self.logger.notice(f" - log_name={log_name}, logs[log_name]={logs[log_name]}") + return logs @@ -100,7 +104,8 @@ def get_files_of_log(self, log_name): """ logfiles = [] for fn in self.files: - if fn.startswith(log_name+'.log'): + #if fn.startswith(log_name+'.log'): + if fn.startswith(log_name+'.') and fn.endswith('.log'): size = round(os.path.getsize(os.path.join(self.log_dir, fn)) / 1024, 1) logfiles.append([fn,size]) return logfiles diff --git a/modules/admin/webif/static/assets/i18n/de.json b/modules/admin/webif/static/assets/i18n/de.json index 2065a7a54f..f8263a6a2c 100644 --- a/modules/admin/webif/static/assets/i18n/de.json +++ b/modules/admin/webif/static/assets/i18n/de.json @@ -465,7 +465,7 @@ "RELOAD_SCENES": "Szenen neu laden", "RELOAD_SCENE": "Laden", "NEW_FUNCTION": "Neue Bibliothek", - "RELOAD_FUNCTIONS": "Alle neu laden", + "RELOAD_FUNCTIONS": "Alle erneut laden", "RELOAD_FUNCTION": "Laden", "LINE_WRAPPING": "Zeilenumbruch", "TRIGGER": "Auslösen" diff --git a/modules/admin/webif/static/assets/i18n/en.json b/modules/admin/webif/static/assets/i18n/en.json index 0b138e19f6..0aeb6d47ae 100644 --- a/modules/admin/webif/static/assets/i18n/en.json +++ b/modules/admin/webif/static/assets/i18n/en.json @@ -450,6 +450,11 @@ "NEW_DEFINITION_FILE": "New File", "NEW_LOGIC": "New Logic", "NEW_SCENE": "New Scene", + "RELOAD_SCENES": "Reload scenes", + "RELOAD_SCENE": "Load", + "NEW_FUNCTION": "New library", + "RELOAD_FUNCTIONS": "Reload all", + "RELOAD_FUNCTION": "Load", "LINE_WRAPPING": "Line Wrapping", "TRIGGER": "Trigger" }, diff --git a/modules/admin/webif/static/assets/i18n/fr.json b/modules/admin/webif/static/assets/i18n/fr.json index 3396dc5ef6..ba5effff63 100644 --- a/modules/admin/webif/static/assets/i18n/fr.json +++ b/modules/admin/webif/static/assets/i18n/fr.json @@ -448,6 +448,11 @@ "NEW_DEFINITION_FILE": "Nouveau fichier", "NEW_LOGIC": "Nouvelle logique", "NEW_SCENE": "Nouvelle scène", + "RELOAD_SCENES": "Szenen neu laden", + "RELOAD_SCENE": "Charge", + "NEW_FUNCTION": "Nouvelle bibliothèque", + "RELOAD_FUNCTIONS": "Tout recharger", + "RELOAD_FUNCTION": "Charger", "LINE_WRAPPING": "Renvoie à la ligne", "TRIGGER": "Déclencher" }, diff --git a/modules/admin/webif/static/assets/testdata/api/logs/default.json b/modules/admin/webif/static/assets/testdata/api/logs/default.json index ea767f0d68..cd1a175602 100644 --- a/modules/admin/webif/static/assets/testdata/api/logs/default.json +++ b/modules/admin/webif/static/assets/testdata/api/logs/default.json @@ -336,31 +336,31 @@ 17.9 ], [ - "smarthome-warnings.log.2019-03-10", + "smarthome-warnings.2019-03-10.log", 7.4 ], [ - "smarthome-warnings.log.2019-03-11", + "smarthome-warnings.2019-03-11.log", 2.6 ], [ - "smarthome-warnings.log.2019-03-12", + "smarthome-warnings.2019-03-12.log", 0.8 ], [ - "smarthome-warnings.log.2019-03-13", + "smarthome-warnings.2019-03-13.log", 0.5 ], [ - "smarthome-warnings.log.2019-03-14", + "smarthome-warnings.2019-03-14.log", 2.4 ], [ - "smarthome-warnings.log.2019-03-15", + "smarthome-warnings.2019-03-15.log", 1.9 ], [ - "smarthome-warnings.log.2019-03-16", + "smarthome-warnings.2019-03-16.log", 15.1 ] ] diff --git a/modules/admin/webif/static/index.html b/modules/admin/webif/static/index.html index 6ffc51fbee..e7caa9eb39 100644 --- a/modules/admin/webif/static/index.html +++ b/modules/admin/webif/static/index.html @@ -17,5 +17,5 @@ - + diff --git a/modules/admin/webif/static/main.9adb683439590c786f31.js b/modules/admin/webif/static/main.8c61344e3730c6fd1fdb.js similarity index 95% rename from modules/admin/webif/static/main.9adb683439590c786f31.js rename to modules/admin/webif/static/main.8c61344e3730c6fd1fdb.js index 474c683078..48c487b001 100644 --- a/modules/admin/webif/static/main.9adb683439590c786f31.js +++ b/modules/admin/webif/static/main.8c61344e3730c6fd1fdb.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+dQi":function(e,t,n){!function(e){"use strict";e.defineMode("javascript",function(t,n){var l,i,o=t.indentUnit,r=n.statementIndent,u=n.jsonld,a=n.json||u,s=n.typescript,c=n.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),l=e("keyword c"),i=e("keyword d"),o=e("operator"),r={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:i,break:i,continue:i,new:e("new"),delete:l,void:l,throw:l,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:r,false:r,null:r,undefined:r,NaN:r,Infinity:r,this:e("this"),class:e("class"),super:e("atom"),yield:l,export:e("export"),import:e("import"),extends:l,await:l}}(),p=/[+\-*&%=<>!?|~^@]/,h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function f(e,t,n){return l=e,i=n,t}function g(e,t){var n,l=e.next();if('"'==l||"'"==l)return t.tokenize=(n=l,function(e,t){var l,i=!1;if(u&&"@"==e.peek()&&e.match(h))return t.tokenize=g,f("jsonld-keyword","meta");for(;null!=(l=e.next())&&(l!=n||i);)i=!i&&"\\"==l;return i||(t.tokenize=g),f("string","string")}),t.tokenize(e,t);if("."==l&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return f("number","number");if("."==l&&e.match(".."))return f("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(l))return f(l);if("="==l&&e.eat(">"))return f("=>","operator");if("0"==l&&e.match(/^(?:x[\da-f]+|o[0-7]+|b[01]+)n?/i))return f("number","number");if(/\d/.test(l))return e.match(/^\d*(?:n|(?:\.\d*)?(?:[eE][+\-]?\d+)?)?/),f("number","number");if("/"==l)return e.eat("*")?(t.tokenize=m,m(e,t)):e.eat("/")?(e.skipToEnd(),f("comment","comment")):Ye(e,t,1)?(function(e){for(var t,n=!1,l=!1;null!=(t=e.next());){if(!n){if("/"==t&&!l)return;"["==t?l=!0:l&&"]"==t&&(l=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),f("regexp","string-2")):(e.eat("="),f("operator","operator",e.current()));if("`"==l)return t.tokenize=v,v(e,t);if("#"==l)return e.skipToEnd(),f("error","error");if(p.test(l))return">"==l&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=l&&"="!=l||e.eat("="):/[<>*+\-]/.test(l)&&(e.eat(l),">"==l&&e.eat(l))),f("operator","operator",e.current());if(c.test(l)){e.eatWhile(c);var i=e.current();if("."!=t.lastType){if(d.propertyIsEnumerable(i)){var o=d[i];return f(o.type,o.style,i)}if("async"==i&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return f("async","keyword",i)}return f("variable","variable",i)}}function m(e,t){for(var n,l=!1;n=e.next();){if("/"==n&&l){t.tokenize=g;break}l="*"==n}return f("comment","comment")}function v(e,t){for(var n,l=!1;null!=(n=e.next());){if(!l&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=g;break}l=!l&&"\\"==n}return f("quasi","string-2",e.current())}var y="([{}])";function b(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(s){var l=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));l&&(n=l.index)}for(var i=0,o=!1,r=n-1;r>=0;--r){var u=e.string.charAt(r),a=y.indexOf(u);if(a>=0&&a<3){if(!i){++r;break}if(0==--i){"("==u&&(o=!0);break}}else if(a>=3&&a<6)++i;else if(c.test(u))o=!0;else{if(/["'\/]/.test(u))return;if(o&&!i){++r;break}}}o&&!i&&(t.fatArrowAt=r)}}var C={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function w(e,t,n,l,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=l&&(this.align=l)}function _(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var l=e.context;l;l=l.prev)for(n=l.vars;n;n=n.next)if(n.name==t)return!0}var x={state:null,column:null,marked:null,cc:null};function S(){for(var e=arguments.length-1;e>=0;e--)x.cc.push(arguments[e])}function E(){return S.apply(null,arguments),!0}function I(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function O(e){var t=x.state;if(x.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var l=function e(t,n){if(n){if(n.block){var l=e(t,n.prev);return l?l==n.prev?n:new D(l,n.vars,!0):null}return I(t,n.vars)?n:new D(n.prev,new R(t,n.vars),!1)}return null}(e,t.context);if(null!=l)return void(t.context=l)}else if(!I(e,t.localVars))return void(t.localVars=new R(e,t.localVars));n.globalVars&&!I(e,t.globalVars)&&(t.globalVars=new R(e,t.globalVars))}function T(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function D(e,t,n){this.prev=e,this.vars=t,this.block=n}function R(e,t){this.name=e,this.next=t}var k=new R("this",new R("arguments",null));function M(){x.state.context=new D(x.state.context,x.state.localVars,!1),x.state.localVars=k}function N(){x.state.context=new D(x.state.context,x.state.localVars,!0),x.state.localVars=null}function L(){x.state.localVars=x.state.context.vars,x.state.context=x.state.context.prev}function A(e,t){var n=function(){var n=x.state,l=n.indented;if("stat"==n.lexical.type)l=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)l=i.indented;n.lexical=new w(l,x.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function P(){var e=x.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function F(e){return function t(n){return n==e?E():";"==e||"}"==n||")"==n||"]"==n?S():E(t)}}function V(e,t){return"var"==e?E(A("vardef",t),ye,F(";"),P):"keyword a"==e?E(A("form"),z,V,P):"keyword b"==e?E(A("form"),V,P):"keyword d"==e?x.stream.match(/^\s*$/,!1)?E():E(A("stat"),$,F(";"),P):"debugger"==e?E(F(";")):"{"==e?E(A("}"),N,re,P,L):";"==e?E():"if"==e?("else"==x.state.lexical.info&&x.state.cc[x.state.cc.length-1]==P&&x.state.cc.pop()(),E(A("form"),z,V,P,Se)):"function"==e?E(Re):"for"==e?E(A("form"),Ee,V,P):"class"==e||s&&"interface"==t?(x.marked="keyword",E(A("form","class"==e?e:t),Ae,P)):"variable"==e?s&&"declare"==t?(x.marked="keyword",E(V)):s&&("module"==t||"enum"==t||"type"==t)&&x.stream.match(/^\s*\w/,!1)?(x.marked="keyword","enum"==t?E(qe):"type"==t?E(Me,F("operator"),ce,F(";")):E(A("form"),be,F("{"),A("}"),re,P,P)):s&&"namespace"==t?(x.marked="keyword",E(A("form"),H,V,P)):s&&"abstract"==t?(x.marked="keyword",E(V)):E(A("stat"),J):"switch"==e?E(A("form"),z,F("{"),A("}","switch"),N,re,P,P,L):"case"==e?E(H,F(":")):"default"==e?E(F(":")):"catch"==e?E(A("form"),M,j,V,P,L):"export"==e?E(A("stat"),je,P):"import"==e?E(A("stat"),Be,P):"async"==e?E(V):"@"==t?E(H,V):S(A("stat"),H,F(";"),P)}function j(e){if("("==e)return E(Ne,F(")"))}function H(e,t){return U(e,t,!1)}function B(e,t){return U(e,t,!0)}function z(e){return"("!=e?S():E(A(")"),H,F(")"),P)}function U(e,t,n){if(x.state.fatArrowAt==x.stream.start){var l=n?Z:Y;if("("==e)return E(M,A(")"),ie(Ne,")"),P,F("=>"),l,L);if("variable"==e)return S(M,be,F("=>"),l,L)}var i=n?W:G;return C.hasOwnProperty(e)?E(i):"function"==e?E(Re,i):"class"==e||s&&"interface"==t?(x.marked="keyword",E(A("form"),Le,P)):"keyword c"==e||"async"==e?E(n?B:H):"("==e?E(A(")"),$,F(")"),P,i):"operator"==e||"spread"==e?E(n?B:H):"["==e?E(A("]"),We,P,i):"{"==e?oe(te,"}",null,i):"quasi"==e?S(q,i):"new"==e?E(function(e){return function(t){return"."==t?E(e?X:Q):"variable"==t&&s?E(ge,e?W:G):S(e?B:H)}}(n)):"import"==e?E(H):E()}function $(e){return e.match(/[;\}\)\],]/)?S():S(H)}function G(e,t){return","==e?E(H):W(e,t,!1)}function W(e,t,n){var l=0==n?G:W,i=0==n?H:B;return"=>"==e?E(M,n?Z:Y,L):"operator"==e?/\+\+|--/.test(t)||s&&"!"==t?E(l):s&&"<"==t&&x.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?E(A(">"),ie(ce,">"),P,l):"?"==t?E(H,F(":"),i):E(i):"quasi"==e?S(q,l):";"!=e?"("==e?oe(B,")","call",l):"."==e?E(ee,l):"["==e?E(A("]"),$,F("]"),P,l):s&&"as"==t?(x.marked="keyword",E(ce,l)):"regexp"==e?(x.state.lastType=x.marked="operator",x.stream.backUp(x.stream.pos-x.stream.start-1),E(i)):void 0:void 0}function q(e,t){return"quasi"!=e?S():"${"!=t.slice(t.length-2)?E(q):E(H,K)}function K(e){if("}"==e)return x.marked="string-2",x.state.tokenize=v,E(q)}function Y(e){return b(x.stream,x.state),S("{"==e?V:H)}function Z(e){return b(x.stream,x.state),S("{"==e?V:B)}function Q(e,t){if("target"==t)return x.marked="keyword",E(G)}function X(e,t){if("target"==t)return x.marked="keyword",E(W)}function J(e){return":"==e?E(P,V):S(G,F(";"),P)}function ee(e){if("variable"==e)return x.marked="property",E()}function te(e,t){return"async"==e?(x.marked="property",E(te)):"variable"==e||"keyword"==x.style?(x.marked="property","get"==t||"set"==t?E(ne):(s&&x.state.fatArrowAt==x.stream.start&&(n=x.stream.match(/^\s*:\s*/,!1))&&(x.state.fatArrowAt=x.stream.pos+n[0].length),E(le))):"number"==e||"string"==e?(x.marked=u?"property":x.style+" property",E(le)):"jsonld-keyword"==e?E(le):s&&T(t)?(x.marked="keyword",E(te)):"["==e?E(H,ue,F("]"),le):"spread"==e?E(B,le):"*"==t?(x.marked="keyword",E(te)):":"==e?S(le):void 0;var n}function ne(e){return"variable"!=e?S(le):(x.marked="property",E(Re))}function le(e){return":"==e?E(B):"("==e?S(Re):void 0}function ie(e,t,n){function l(i,o){if(n?n.indexOf(i)>-1:","==i){var r=x.state.lexical;return"call"==r.info&&(r.pos=(r.pos||0)+1),E(function(n,l){return n==t||l==t?S():S(e)},l)}return i==t||o==t?E():n&&n.indexOf(";")>-1?S(e):E(F(t))}return function(n,i){return n==t||i==t?E():S(e,l)}}function oe(e,t,n){for(var l=3;l"),ce):void 0}function de(e){if("=>"==e)return E(ce)}function pe(e,t){return"variable"==e||"keyword"==x.style?(x.marked="property",E(pe)):"?"==t||"number"==e||"string"==e?E(pe):":"==e?E(ce):"["==e?E(F("variable"),ue,F("]"),pe):"("==e?S(ke,pe):void 0}function he(e,t){return"variable"==e&&x.stream.match(/^\s*[?:]/,!1)||"?"==t?E(he):":"==e?E(ce):"spread"==e?E(he):S(ce)}function fe(e,t){return"<"==t?E(A(">"),ie(ce,">"),P,fe):"|"==t||"."==e||"&"==t?E(ce):"["==e?E(ce,F("]"),fe):"extends"==t||"implements"==t?(x.marked="keyword",E(ce)):"?"==t?E(ce,F(":"),ce):void 0}function ge(e,t){if("<"==t)return E(A(">"),ie(ce,">"),P,fe)}function me(){return S(ce,ve)}function ve(e,t){if("="==t)return E(ce)}function ye(e,t){return"enum"==t?(x.marked="keyword",E(qe)):S(be,ue,_e,xe)}function be(e,t){return s&&T(t)?(x.marked="keyword",E(be)):"variable"==e?(O(t),E()):"spread"==e?E(be):"["==e?oe(we,"]"):"{"==e?oe(Ce,"}"):void 0}function Ce(e,t){return"variable"!=e||x.stream.match(/^\s*:/,!1)?("variable"==e&&(x.marked="property"),"spread"==e?E(be):"}"==e?S():"["==e?E(H,F("]"),F(":"),Ce):E(F(":"),be,_e)):(O(t),E(_e))}function we(){return S(be,_e)}function _e(e,t){if("="==t)return E(B)}function xe(e){if(","==e)return E(ye)}function Se(e,t){if("keyword b"==e&&"else"==t)return E(A("form","else"),V,P)}function Ee(e,t){return"await"==t?E(Ee):"("==e?E(A(")"),Ie,F(")"),P):void 0}function Ie(e){return"var"==e?E(ye,F(";"),Te):";"==e?E(Te):"variable"==e?E(Oe):S(H,F(";"),Te)}function Oe(e,t){return"in"==t||"of"==t?(x.marked="keyword",E(H)):E(G,Te)}function Te(e,t){return";"==e?E(De):"in"==t||"of"==t?(x.marked="keyword",E(H)):S(H,F(";"),De)}function De(e){")"!=e&&E(H)}function Re(e,t){return"*"==t?(x.marked="keyword",E(Re)):"variable"==e?(O(t),E(Re)):"("==e?E(M,A(")"),ie(Ne,")"),P,ae,V,L):s&&"<"==t?E(A(">"),ie(me,">"),P,Re):void 0}function ke(e,t){return"*"==t?(x.marked="keyword",E(ke)):"variable"==e?(O(t),E(ke)):"("==e?E(M,A(")"),ie(Ne,")"),P,ae,L):s&&"<"==t?E(A(">"),ie(me,">"),P,ke):void 0}function Me(e,t){return"keyword"==e||"variable"==e?(x.marked="type",E(Me)):"<"==t?E(A(">"),ie(me,">"),P):void 0}function Ne(e,t){return"@"==t&&E(H,Ne),"spread"==e?E(Ne):s&&T(t)?(x.marked="keyword",E(Ne)):S(be,ue,_e)}function Le(e,t){return"variable"==e?Ae(e,t):Pe(e,t)}function Ae(e,t){if("variable"==e)return O(t),E(Pe)}function Pe(e,t){return"<"==t?E(A(">"),ie(me,">"),P,Pe):"extends"==t||"implements"==t||s&&","==e?("implements"==t&&(x.marked="keyword"),E(s?ce:H,Pe)):"{"==e?E(A("}"),Fe,P):void 0}function Fe(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||s&&T(t))&&x.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(x.marked="keyword",E(Fe)):"variable"==e||"keyword"==x.style?(x.marked="property",E(s?Ve:Re,Fe)):"number"==e||"string"==e?E(s?Ve:Re,Fe):"["==e?E(H,ue,F("]"),s?Ve:Re,Fe):"*"==t?(x.marked="keyword",E(Fe)):s&&"("==e?S(ke,Fe):";"==e||","==e?E(Fe):"}"==e?E():"@"==t?E(H,Fe):void 0}function Ve(e,t){if("?"==t)return E(Ve);if(":"==e)return E(ce,_e);if("="==t)return E(B);var n=x.state.lexical.prev;return S(n&&"interface"==n.info?ke:Re)}function je(e,t){return"*"==t?(x.marked="keyword",E(Ge,F(";"))):"default"==t?(x.marked="keyword",E(H,F(";"))):"{"==e?E(ie(He,"}"),Ge,F(";")):S(V)}function He(e,t){return"as"==t?(x.marked="keyword",E(F("variable"))):"variable"==e?S(B,He):void 0}function Be(e){return"string"==e?E():"("==e?S(H):S(ze,Ue,Ge)}function ze(e,t){return"{"==e?oe(ze,"}"):("variable"==e&&O(t),"*"==t&&(x.marked="keyword"),E($e))}function Ue(e){if(","==e)return E(ze,Ue)}function $e(e,t){if("as"==t)return x.marked="keyword",E(ze)}function Ge(e,t){if("from"==t)return x.marked="keyword",E(H)}function We(e){return"]"==e?E():S(ie(B,"]"))}function qe(){return S(A("form"),be,F("{"),A("}"),ie(Ke,"}"),P,P)}function Ke(){return S(be,_e)}function Ye(e,t,n){return t.tokenize==g&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return L.lex=!0,P.lex=!0,{startState:function(e){var t={tokenize:g,lastType:"sof",cc:[],lexical:new w((e||0)-o,0,"block",!1),localVars:n.localVars,context:n.localVars&&new D(null,null,!1),indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),b(e,t)),t.tokenize!=m&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==l?n:(t.lastType="operator"!=l||"++"!=i&&"--"!=i?l:"incdec",function(e,t,n,l,i){var o=e.cc;for(x.state=e,x.stream=i,x.marked=null,x.cc=o,x.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((o.length?o.pop():a?H:V)(n,l)){for(;o.length&&o[o.length-1].lex;)o.pop()();return x.marked?x.marked:"variable"==n&&_(e,l)?"variable-2":t}}(t,n,l,i,e))},indent:function(t,l){if(t.tokenize==m)return e.Pass;if(t.tokenize!=g)return 0;var i,u=l&&l.charAt(0),a=t.lexical;if(!/^\s*else\b/.test(l))for(var s=t.cc.length-1;s>=0;--s){var c=t.cc[s];if(c==P)a=a.prev;else if(c!=Se)break}for(;("stat"==a.type||"form"==a.type)&&("}"==u||(i=t.cc[t.cc.length-1])&&(i==G||i==W)&&!/^[,\.=+\-*:?[\(]/.test(l));)a=a.prev;r&&")"==a.type&&"stat"==a.prev.type&&(a=a.prev);var d=a.type,h=u==d;return"vardef"==d?a.indented+("operator"==t.lastType||","==t.lastType?a.info.length+1:0):"form"==d&&"{"==u?a.indented:"form"==d?a.indented+o:"stat"==d?a.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||p.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,l)?r||o:0):"switch"!=a.info||h||0==n.doubleIndentSwitch?a.align?a.column+(h?0:1):a.indented+(h?0:o):a.indented+(/^(?:case|default)\b/.test(l)?o:2*o)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:a?null:"/*",blockCommentEnd:a?null:"*/",blockCommentContinue:a?null:" * ",lineComment:a?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:a?"json":"javascript",jsonldMode:u,jsonMode:a,expressionAllowed:Ye,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=H&&t!=B||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(n("VrN/"))},"+tJ4":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var l=function(e){return function(t){for(var n=0,l=e.length;n=0}},"/NBx":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("7LN8"),a=n("Fa87"),s=n("gIcY");t.CHIPS_VALUE_ACCESSOR={provide:s.NG_VALUE_ACCESSOR,useExisting:o.forwardRef(function(){return c}),multi:!0};var c=function(){function e(e){this.el=e,this.allowDuplicate=!0,this.onAdd=new o.EventEmitter,this.onRemove=new o.EventEmitter,this.onFocus=new o.EventEmitter,this.onBlur=new o.EventEmitter,this.onChipClick=new o.EventEmitter,this.onModelChange=function(){},this.onModelTouched=function(){}}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"item":default:e.itemTemplate=t.template}})},e.prototype.onClick=function(e){this.inputViewChild.nativeElement.focus()},e.prototype.onItemClick=function(e,t){this.onChipClick.emit({originalEvent:e,value:t})},e.prototype.writeValue=function(e){this.value=e,this.updateMaxedOut()},e.prototype.registerOnChange=function(e){this.onModelChange=e},e.prototype.registerOnTouched=function(e){this.onModelTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype.resolveFieldData=function(e,t){if(e&&t){if(-1==t.indexOf("."))return e[t];for(var n=t.split("."),l=e,i=0,o=n.length;i0){this.value=this.value.slice();var t=this.value.pop();this.onModelChange(this.value),this.onRemove.emit({originalEvent:e,value:t})}break;case 13:this.addItem(e,this.inputViewChild.nativeElement.value),this.inputViewChild.nativeElement.value="",e.preventDefault();break;case 9:this.addOnTab&&""!==this.inputViewChild.nativeElement.value&&(this.addItem(e,this.inputViewChild.nativeElement.value),this.inputViewChild.nativeElement.value="",e.preventDefault());break;default:this.max&&this.value&&this.max===this.value.length&&e.preventDefault()}},e.prototype.updateMaxedOut=function(){this.inputViewChild&&this.inputViewChild.nativeElement&&(this.inputViewChild.nativeElement.disabled=!(!this.max||!this.value||this.max!==this.value.length)||this.disabled||!1)},l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Input(),i("design:type",String)],e.prototype,"field",void 0),l([o.Input(),i("design:type",String)],e.prototype,"placeholder",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"max",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"tabindex",void 0),l([o.Input(),i("design:type",String)],e.prototype,"inputId",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"allowDuplicate",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"inputStyle",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"inputStyleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"addOnTab",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"addOnBlur",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onAdd",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRemove",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onFocus",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onBlur",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onChipClick",void 0),l([o.ViewChild("inputtext"),i("design:type",o.ElementRef)],e.prototype,"inputViewChild",void 0),l([o.ContentChildren(u.PrimeTemplate),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.Component({selector:"p-chips",template:'\n
    \n
      \n
    • \n \n {{field ? resolveFieldData(item,field) : item}}\n \n
    • \n
    • \n \n
    • \n
    \n
    \n ',providers:[t.CHIPS_VALUE_ACCESSOR]})],e)}();t.Chips=c,t.ChipsModule=function(){return l([o.NgModule({imports:[r.CommonModule,a.InputTextModule,u.SharedModule],exports:[c,a.InputTextModule,u.SharedModule],declarations:[c]})],function(){})}()},"/WYv":function(e,t,n){"use strict";function l(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",function(){return l})},0:function(e,t,n){e.exports=n("zUnb")},"0/uQ":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var l=n("6blF"),i=n("Fxb1"),o=n("i4X3");function r(e,t){return t?Object(o.a)(e,t):e instanceof l.a?e:new l.a(Object(i.a)(e))}},"0alx":function(e,t,n){"use strict";var l=n("VKeD");t.isIterable=function(e){return e&&"function"==typeof e[l.iterator]}},"15JJ":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var l=n("mrSG"),i=n("MGBS"),o=n("rPjj"),r=n("zotm"),u=n("67Y/"),a=n("0/uQ");function s(e,t){return"function"==typeof t?function(n){return n.pipe(s(function(n,l){return Object(a.a)(e(n,l)).pipe(Object(u.a)(function(e,i){return t(n,e,l,i)}))}))}:function(t){return t.lift(new c(e))}}var c=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.project))},e}(),d=function(e){function t(t,n){var l=e.call(this,t)||this;return l.project=n,l.index=0,l}return l.__extends(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(l){return void this.destination.error(l)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var l=this.innerSubscription;l&&l.unsubscribe();var i=new o.a(this,void 0,void 0);this.destination.add(i),this.innerSubscription=Object(r.a)(this,e,t,n,i)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,l,i){this.destination.next(t)},t}(i.a)},"1eCo":function(e,t,n){!function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(l,i){var o,r,u=l.indentUnit,a={},s=i.htmlMode?t:n;for(var c in s)a[c]=s[c];for(var c in i)a[c]=i[c];function d(e,t){function n(n){return t.tokenize=n,n(e,t)}var l=e.next();return"<"==l?e.eat("!")?e.eat("[")?e.match("CDATA[")?n(h("atom","]]>")):null:e.match("--")?n(h("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(function e(t){return function(n,l){for(var i;null!=(i=n.next());){if("<"==i)return l.tokenize=e(t+1),l.tokenize(n,l);if(">"==i){if(1==t){l.tokenize=d;break}return l.tokenize=e(t-1),l.tokenize(n,l)}}return"meta"}}(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=h("meta","?>"),"meta"):(o=e.eat("/")?"closeTag":"openTag",t.tokenize=p,"tag bracket"):"&"==l?(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error":(e.eatWhile(/[^&<]/),null)}function p(e,t){var n,l,i=e.next();if(">"==i||"/"==i&&e.eat(">"))return t.tokenize=d,o=">"==i?"endTag":"selfcloseTag","tag bracket";if("="==i)return o="equals",null;if("<"==i){t.tokenize=d,t.state=v,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(i)?(t.tokenize=(n=i,(l=function(e,t){for(;!e.eol();)if(e.next()==n){t.tokenize=p;break}return"string"}).isInAttribute=!0,l),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function h(e,t){return function(n,l){for(;!n.eol();){if(n.match(t)){l.tokenize=d;break}n.next()}return e}}function f(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(a.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function g(e){e.context&&(e.context=e.context.prev)}function m(e,t){for(var n;;){if(!e.context)return;if(!a.contextGrabbers.hasOwnProperty(n=e.context.tagName)||!a.contextGrabbers[n].hasOwnProperty(t))return;g(e)}}function v(e,t,n){return"openTag"==e?(n.tagStart=t.column(),y):"closeTag"==e?b:v}function y(e,t,n){return"word"==e?(n.tagName=t.current(),r="tag",_):a.allowMissingTagName&&"endTag"==e?(r="tag bracket",_(e,0,n)):(r="error",y)}function b(e,t,n){if("word"==e){var l=t.current();return n.context&&n.context.tagName!=l&&a.implicitlyClosed.hasOwnProperty(n.context.tagName)&&g(n),n.context&&n.context.tagName==l||!1===a.matchClosing?(r="tag",C):(r="tag error",w)}return a.allowMissingTagName&&"endTag"==e?(r="tag bracket",C(e,0,n)):(r="error",w)}function C(e,t,n){return"endTag"!=e?(r="error",C):(g(n),v)}function w(e,t,n){return r="error",C(e,0,n)}function _(e,t,n){if("word"==e)return r="attribute",x;if("endTag"==e||"selfcloseTag"==e){var l=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||a.autoSelfClosers.hasOwnProperty(l)?m(n,l):(m(n,l),n.context=new f(n,l,i==n.indented)),v}return r="error",_}function x(e,t,n){return"equals"==e?S:(a.allowMissing||(r="error"),_(e,0,n))}function S(e,t,n){return"string"==e?E:"word"==e&&a.allowUnquoted?(r="string",_):(r="error",_(e,0,n))}function E(e,t,n){return"string"==e?E:_(e,0,n)}return d.isInText=!0,{startState:function(e){var t={tokenize:d,state:v,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var n=t.tokenize(e,t);return(n||o)&&"comment"!=n&&(r=null,t.state=t.state(o||n,e,t),r&&(n="error"==r?n+" error":r)),n},indent:function(t,n,l){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+u;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=p&&t.tokenize!=d)return l?l.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==a.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+u*(a.multilineTagIndentFactor||1);if(a.alignCDATA&&/$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:a.htmlMode?"html":"xml",helperType:a.htmlMode?"html":"xml",skipAttribute:function(e){e.state==S&&(e.state=_)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}(n("VrN/"))},"1fDf":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var l=n("FFOo");function i(e){for(;e;){var t=e.destination;if(e.closed||e.isStopped)return!1;e=t&&t instanceof l.a?t:null}return!0}},"24Yq":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n("DqLj"))},"25Eh":function(e,t,n){!function(e){"use strict";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var n=t(["and","or","not","is"]),l=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],i=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];function o(e){return e.scopes[e.scopes.length-1]}e.registerHelper("hintWords","python",l.concat(i)),e.defineMode("python",function(r,u){for(var a="error",s=u.delimiters||u.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,c=[u.singleOperators,u.doubleOperators,u.doubleDelimiters,u.tripleDelimiters,u.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@])/],d=0;dl?_(t):i0&&x(e,t)&&(r+=" "+a),r}return w(e,t)}function w(e,t){if(e.eatSpace())return null;if(e.match(/^#.*/))return"comment";if(e.match(/^[0-9\.]/,!1)){var l=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(l=!0),e.match(/^[\d_]+\.\d*/)&&(l=!0),e.match(/^\.\d+/)&&(l=!0),l)return e.eat(/J/i),"number";var i=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(i=!0),e.match(/^0b[01_]+/i)&&(i=!0),e.match(/^0o[0-7_]+/i)&&(i=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),i=!0),e.match(/^0(?![\dx])/i)&&(i=!0),i)return e.eat(/L/i),"number"}if(e.match(v))return-1!==e.current().toLowerCase().indexOf("f")?(t.tokenize=function(e,t){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var n=1==e.length,l="string";function i(e){return function(t,n){var l=w(t,n);return"punctuation"==l&&("{"==t.current()?n.tokenize=i(e+1):"}"==t.current()&&(n.tokenize=e>1?i(e-1):o)),l}}function o(o,r){for(;!o.eol();)if(o.eatWhile(/[^'"\{\}\\]/),o.eat("\\")){if(o.next(),n&&o.eol())return l}else{if(o.match(e))return r.tokenize=t,l;if(o.match("{{"))return l;if(o.match("{",!1))return r.tokenize=i(0),o.current()?l:r.tokenize(o,r);if(o.match("}}"))return l;if(o.match("}"))return a;o.eat(/['"]/)}if(n){if(u.singleLineStringErrors)return a;r.tokenize=t}return l}return o.isString=!0,o}(e.current(),t.tokenize),t.tokenize(e,t)):(t.tokenize=function(e,t){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var n=1==e.length,l="string";function i(i,o){for(;!i.eol();)if(i.eatWhile(/[^'"\\]/),i.eat("\\")){if(i.next(),n&&i.eol())return l}else{if(i.match(e))return o.tokenize=t,l;i.eat(/['"]/)}if(n){if(u.singleLineStringErrors)return a;o.tokenize=t}return l}return i.isString=!0,i}(e.current(),t.tokenize),t.tokenize(e,t));for(var o=0;o1&&o(t).offset>n;){if("py"!=o(t).type)return!0;t.scopes.pop()}return o(t).offset!=n}return{startState:function(e){return{tokenize:C,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,t){var n=t.errorToken;n&&(t.errorToken=!1);var l=function(e,t){e.sol()&&(t.beginningOfLine=!0);var n=t.tokenize(e,t),l=e.current();if(t.beginningOfLine&&"@"==l)return e.match(m,!1)?"meta":g?"operator":a;if(/\S/.test(l)&&(t.beginningOfLine=!1),"variable"!=n&&"builtin"!=n||"meta"!=t.lastToken||(n="meta"),"pass"!=l&&"return"!=l||(t.dedent+=1),"lambda"==l&&(t.lambda=!0),":"!=l||t.lambda||"py"!=o(t).type||_(t),1==l.length&&!/string|comment/.test(n)){var i="[({".indexOf(l);if(-1!=i&&function(e,t,n){var l=e.match(/^([\s\[\{\(]|#.*)*$/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+p,type:n,align:l})}(e,t,"])}".slice(i,i+1)),-1!=(i="])}".indexOf(l))){if(o(t).type!=l)return a;t.indent=t.scopes.pop().offset-p}}return t.dedent>0&&e.eol()&&"py"==o(t).type&&(t.scopes.length>1&&t.scopes.pop(),t.dedent-=1),n}(e,t);return l&&"comment"!=l&&(t.lastToken="keyword"==l||"punctuation"==l?e.current():l),"punctuation"==l&&(l=null),e.eol()&&t.lambda&&(t.lambda=!1),n?l+" "+a:l},indent:function(t,n){if(t.tokenize!=C)return t.tokenize.isString?e.Pass:0;var l=o(t),i=l.type==n.charAt(0);return null!=l.align?l.align-(i?1:0):l.offset-(i?p:0)},electricInput:/^\s*[\}\]\)]$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-python","python"),e.defineMIME("text/x-cython",{name:"python",extra_keywords:"by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE".split(" ")})}(n("VrN/"))},"26FU":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var l=n("mrSG"),i=n("K9Ia"),o=n("8g8A"),r=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return l.__extends(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.a;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(i.a)},"2Bdj":function(e,t,n){"use strict";function l(e){return"function"==typeof e}n.d(t,"a",function(){return l})},"2KeD":function(e,t,n){"use strict";var l=n("Q1FS"),i=n("zB/H"),o=n("zfKp");t.scheduleObservable=function(e,t){return new l.Observable(function(n){var l=new i.Subscription;return l.add(t.schedule(function(){var i=e[o.observable]();l.add(i.subscribe({next:function(e){l.add(t.schedule(function(){return n.next(e)}))},error:function(e){l.add(t.schedule(function(){return n.error(e)}))},complete:function(){l.add(t.schedule(function(){return n.complete()}))}}))})),l})}},"2bbZ":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("ihYY"),u=n("cdZy"),a=(n("V3HQ"),n("Ip0R")),s=n("sdDj"),c=(n("RWz4"),function(){function e(e,t,n,l,i,o){this.componentFactoryResolver=e,this.cd=t,this.renderer=n,this.config=l,this.dialogRef=i,this.zone=o,this.visible=!0}return e.prototype.ngAfterViewInit=function(){this.loadChildComponent(this.childComponentType),this.cd.detectChanges()},e.prototype.onOverlayClicked=function(e){this.dialogRef.close()},e.prototype.onDialogClicked=function(e){e.stopPropagation()},e.prototype.loadChildComponent=function(e){var t=this.componentFactoryResolver.resolveComponentFactory(e),n=this.insertionPoint.viewContainerRef;n.clear(),this.componentRef=n.createComponent(t)},e.prototype.moveOnTop=function(){if(!1!==this.config.autoZIndex){var e=this.config.baseZIndex||++s.DomHandler.zindex+0;this.container.style.zIndex=String(e),this.maskViewChild.nativeElement.style.zIndex=String(e-1)}},e.prototype.onAnimationStart=function(e){switch(e.toState){case"visible":this.container=e.element,this.moveOnTop(),this.bindGlobalListeners(),s.DomHandler.addClass(document.body,"ui-overflow-hidden");break;case"void":this.onContainerDestroy()}},e.prototype.onAnimationEnd=function(e){"void"===e.toState&&this.dialogRef.close()},e.prototype.onContainerDestroy=function(){s.DomHandler.removeClass(document.body,"ui-overflow-hidden"),this.unbindGlobalListeners(),this.container=null},e.prototype.close=function(){this.visible=!1},e.prototype.onMaskClick=function(){this.config.dismissableMask&&this.close()},e.prototype.bindGlobalListeners=function(){!1!==this.config.closeOnEscape&&!1!==this.config.closable&&this.bindDocumentEscapeListener()},e.prototype.unbindGlobalListeners=function(){this.unbindDocumentEscapeListener()},e.prototype.bindDocumentEscapeListener=function(){var e=this;this.documentEscapeListener=this.renderer.listen("document","keydown",function(t){27==t.which&&parseInt(e.container.style.zIndex)==s.DomHandler.zindex&&e.close()})},e.prototype.unbindDocumentEscapeListener=function(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)},e.prototype.ngOnDestroy=function(){this.onContainerDestroy(),this.componentRef&&this.componentRef.destroy()},l([o.ViewChild(u.DynamicDialogContent),i("design:type",u.DynamicDialogContent)],e.prototype,"insertionPoint",void 0),l([o.ViewChild("mask"),i("design:type",o.ElementRef)],e.prototype,"maskViewChild",void 0),l([o.Component({selector:"p-dynamicDialog",template:'\n\t\t
    \n\t\t
    \n
    \n {{config.header}}\n \n \n \n
    \n
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t\n\t\t
    \n\t',animations:[r.trigger("animation",[r.state("void",r.style({transform:"translate3d(-50%, -25%, 0) scale(0.9)",opacity:0})),r.state("visible",r.style({transform:"translateX(-50%) translateY(-50%)",opacity:1})),r.transition("* => *",r.animate("{{transitionParams}}"))])]})],e)}());t.DynamicDialogComponent=c,t.DynamicDialogModule=function(){return l([o.NgModule({imports:[a.CommonModule],declarations:[c,u.DynamicDialogContent],entryComponents:[c]})],function(){})}()},"2ePl":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var l=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},"2m6e":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=(n("gIcY"),n("Ip0R")),u=function(){function e(e,t){this.el=e,this.ngModel=t,this.onResize=new o.EventEmitter}return e.prototype.ngDoCheck=function(){this.updateFilledState(),this.autoResize&&this.resize()},e.prototype.onInput=function(e){this.updateFilledState(),this.autoResize&&this.resize(e)},e.prototype.updateFilledState=function(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model},e.prototype.onFocus=function(e){this.autoResize&&this.resize(e)},e.prototype.onBlur=function(e){this.autoResize&&this.resize(e)},e.prototype.resize=function(e){this.el.nativeElement.style.height="",this.el.nativeElement.style.height=this.el.nativeElement.scrollHeight+"px",parseFloat(this.el.nativeElement.style.height)>=parseFloat(this.el.nativeElement.style.maxHeight)?(this.el.nativeElement.style.overflowY="scroll",this.el.nativeElement.style.height=this.el.nativeElement.style.maxHeight):this.el.nativeElement.style.overflow="hidden",this.onResize.emit(e||{})},l([o.Input(),i("design:type",Boolean)],e.prototype,"autoResize",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onResize",void 0),l([o.HostListener("input",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onInput",null),l([o.HostListener("focus",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onFocus",null),l([o.HostListener("blur",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onBlur",null),l([o.Directive({selector:"[pInputTextarea]",host:{"[class.ui-inputtext]":"true","[class.ui-corner-all]":"true","[class.ui-inputtextarea-resizable]":"autoResize","[class.ui-state-default]":"true","[class.ui-widget]":"true","[class.ui-state-filled]":"filled"}})],e)}();t.InputTextarea=u,t.InputTextareaModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[u],declarations:[u]})],function(){})}()},"2qMH":function(e,t,n){"use strict";var l=n("Q1FS"),i=n("zB/H");t.scheduleArray=function(e,t){return new l.Observable(function(n){var l=new i.Subscription,o=0;return l.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||l.add(this.schedule())):n.complete()})),l})}},"3GNW":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("ihYY"),u=n("Ip0R"),a=n("sdDj"),s=n("7LN8"),c=n("VSng"),d=(n("oygf"),function(){function e(e,t,n,l){var i=this;this.el=e,this.renderer=t,this.confirmationService=n,this.zone=l,this.acceptIcon="pi pi-check",this.acceptLabel="Yes",this.acceptVisible=!0,this.rejectIcon="pi pi-times",this.rejectLabel="No",this.rejectVisible=!0,this.closeOnEscape=!0,this.closable=!0,this.autoZIndex=!0,this.baseZIndex=0,this.transitionOptions="400ms cubic-bezier(0.25, 0.8, 0.25, 1)",this.subscription=this.confirmationService.requireConfirmation$.subscribe(function(e){e.key===i.key&&(i.confirmation=e,i.message=i.confirmation.message||i.message,i.icon=i.confirmation.icon||i.icon,i.header=i.confirmation.header||i.header,i.rejectVisible=null==i.confirmation.rejectVisible?i.rejectVisible:i.confirmation.rejectVisible,i.acceptVisible=null==i.confirmation.acceptVisible?i.acceptVisible:i.confirmation.acceptVisible,i.acceptLabel=i.confirmation.acceptLabel||i.acceptLabel,i.rejectLabel=i.confirmation.rejectLabel||i.rejectLabel,i.confirmation.accept&&(i.confirmation.acceptEvent=new o.EventEmitter,i.confirmation.acceptEvent.subscribe(i.confirmation.accept)),i.confirmation.reject&&(i.confirmation.rejectEvent=new o.EventEmitter,i.confirmation.rejectEvent.subscribe(i.confirmation.reject)),i.visible=!0)})}return Object.defineProperty(e.prototype,"width",{get:function(){return this._width},set:function(e){this._width=e,console.warn("width property is deprecated, use style to define the width of the Dialog.")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},set:function(e){this._height=e,console.warn("height property is deprecated, use style to define the height of the Dialog.")},enumerable:!0,configurable:!0}),e.prototype.onAnimationStart=function(e){switch(e.toState){case"visible":this.container=e.element,this.setDimensions(),this.contentContainer=a.DomHandler.findSingle(this.container,".ui-dialog-content"),a.DomHandler.findSingle(this.container,"button").focus(),this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.enableModality();break;case"void":this.onOverlayHide()}},e.prototype.setDimensions=function(){this.width&&(this.container.style.width=this.width+"px"),this.height&&(this.container.style.height=this.height+"px")},e.prototype.appendContainer=function(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.container):a.DomHandler.appendChild(this.container,this.appendTo))},e.prototype.restoreAppend=function(){this.container&&this.appendTo&&this.el.nativeElement.appendChild(this.container)},e.prototype.enableModality=function(){this.mask||(this.mask=document.createElement("div"),this.mask.style.zIndex=String(parseInt(this.container.style.zIndex)-1),a.DomHandler.addMultipleClasses(this.mask,"ui-widget-overlay ui-dialog-mask"),document.body.appendChild(this.mask),a.DomHandler.addClass(document.body,"ui-overflow-hidden"))},e.prototype.disableModality=function(){this.mask&&(document.body.removeChild(this.mask),a.DomHandler.removeClass(document.body,"ui-overflow-hidden"),this.mask=null)},e.prototype.close=function(e){this.confirmation.rejectEvent&&this.confirmation.rejectEvent.emit(),this.hide(),e.preventDefault()},e.prototype.hide=function(){this.visible=!1},e.prototype.moveOnTop=function(){this.autoZIndex&&(this.container.style.zIndex=String(this.baseZIndex+ ++a.DomHandler.zindex))},e.prototype.bindGlobalListeners=function(){var e=this;this.closeOnEscape&&this.closable&&!this.documentEscapeListener&&(this.documentEscapeListener=this.renderer.listen("document","keydown",function(t){27==t.which&&parseInt(e.container.style.zIndex)===a.DomHandler.zindex&&e.visible&&e.close(t)}))},e.prototype.unbindGlobalListeners=function(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)},e.prototype.onOverlayHide=function(){this.disableModality(),this.unbindGlobalListeners(),this.container=null},e.prototype.ngOnDestroy=function(){this.restoreAppend(),this.onOverlayHide(),this.subscription.unsubscribe()},e.prototype.accept=function(){this.confirmation.acceptEvent&&this.confirmation.acceptEvent.emit(),this.hide(),this.confirmation=null},e.prototype.reject=function(){this.confirmation.rejectEvent&&this.confirmation.rejectEvent.emit(),this.hide(),this.confirmation=null},l([o.Input(),i("design:type",Boolean)],e.prototype,"visible",void 0),l([o.Input(),i("design:type",String)],e.prototype,"header",void 0),l([o.Input(),i("design:type",String)],e.prototype,"icon",void 0),l([o.Input(),i("design:type",String)],e.prototype,"message",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",String)],e.prototype,"acceptIcon",void 0),l([o.Input(),i("design:type",String)],e.prototype,"acceptLabel",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"acceptVisible",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rejectIcon",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rejectLabel",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"rejectVisible",void 0),l([o.Input(),i("design:type",String)],e.prototype,"acceptButtonStyleClass",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rejectButtonStyleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"closeOnEscape",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"rtl",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"closable",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"appendTo",void 0),l([o.Input(),i("design:type",String)],e.prototype,"key",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"autoZIndex",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"baseZIndex",void 0),l([o.Input(),i("design:type",String)],e.prototype,"transitionOptions",void 0),l([o.ContentChild(s.Footer),i("design:type",Object)],e.prototype,"footer",void 0),l([o.ViewChild("content"),i("design:type",o.ElementRef)],e.prototype,"contentViewChild",void 0),l([o.Input(),i("design:type",Object),i("design:paramtypes",[Object])],e.prototype,"width",null),l([o.Input(),i("design:type",Object),i("design:paramtypes",[Object])],e.prototype,"height",null),l([o.Component({selector:"p-confirmDialog",template:'\n
    \n
    \n {{header}}\n \n \n \n
    \n
    \n \n \n
    \n \n \n
    \n ',animations:[r.trigger("animation",[r.state("void",r.style({transform:"translate3d(-50%, -25%, 0) scale(0.9)",opacity:0})),r.state("visible",r.style({transform:"translateX(-50%) translateY(-50%)",opacity:1})),r.transition("* => *",r.animate("{{transitionParams}}"))])]})],e)}());t.ConfirmDialog=d,t.ConfirmDialogModule=function(){return l([o.NgModule({imports:[u.CommonModule,c.ButtonModule],exports:[d,c.ButtonModule,s.SharedModule],declarations:[d]})],function(){})}()},"3PJ4":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("sdDj"),a=function(){function e(e,t){this.el=e,this.zone=t,this.onDragStart=new o.EventEmitter,this.onDragEnd=new o.EventEmitter,this.onDrag=new o.EventEmitter}return e.prototype.ngAfterViewInit=function(){this.pDraggableDisabled||(this.el.nativeElement.draggable=!0,this.bindMouseListeners())},e.prototype.bindDragListener=function(){var e=this;this.dragListener||this.zone.runOutsideAngular(function(){e.dragListener=e.drag.bind(e),e.el.nativeElement.addEventListener("drag",e.dragListener)})},e.prototype.unbindDragListener=function(){var e=this;this.dragListener&&this.zone.runOutsideAngular(function(){e.el.nativeElement.removeEventListener("drag",e.dragListener),e.dragListener=null})},e.prototype.bindMouseListeners=function(){var e=this;this.mouseDownListener||this.mouseUpListener||this.zone.runOutsideAngular(function(){e.mouseDownListener=e.mousedown.bind(e),e.mouseUpListener=e.mouseup.bind(e),e.el.nativeElement.addEventListener("mousedown",e.mouseDownListener),e.el.nativeElement.addEventListener("mouseup",e.mouseUpListener)})},e.prototype.unbindMouseListeners=function(){var e=this;this.mouseDownListener&&this.mouseUpListener&&this.zone.runOutsideAngular(function(){e.el.nativeElement.removeEventListener("mousedown",e.mouseDownListener),e.el.nativeElement.removeEventListener("mouseup",e.mouseUpListener),e.mouseDownListener=null,e.mouseUpListener=null})},e.prototype.drag=function(e){this.onDrag.emit(e)},e.prototype.dragStart=function(e){this.allowDrag()?(this.dragEffect&&(e.dataTransfer.effectAllowed=this.dragEffect),e.dataTransfer.setData("text",this.scope),this.onDragStart.emit(e),this.bindDragListener()):e.preventDefault()},e.prototype.dragEnd=function(e){this.onDragEnd.emit(e),this.unbindDragListener()},e.prototype.mousedown=function(e){this.handle=e.target},e.prototype.mouseup=function(e){this.handle=null},e.prototype.allowDrag=function(){return!this.dragHandle||!this.handle||u.DomHandler.matches(this.handle,this.dragHandle)},e.prototype.ngOnDestroy=function(){this.unbindDragListener(),this.unbindMouseListeners()},l([o.Input("pDraggable"),i("design:type",String)],e.prototype,"scope",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pDraggableDisabled",void 0),l([o.Input(),i("design:type",String)],e.prototype,"dragEffect",void 0),l([o.Input(),i("design:type",String)],e.prototype,"dragHandle",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onDragStart",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onDragEnd",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onDrag",void 0),l([o.HostListener("dragstart",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"dragStart",null),l([o.HostListener("dragend",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"dragEnd",null),l([o.Directive({selector:"[pDraggable]"})],e)}();t.Draggable=a;var s=function(){function e(e,t){this.el=e,this.zone=t,this.onDragEnter=new o.EventEmitter,this.onDragLeave=new o.EventEmitter,this.onDrop=new o.EventEmitter}return e.prototype.ngAfterViewInit=function(){this.pDroppableDisabled||this.bindDragOverListener()},e.prototype.bindDragOverListener=function(){var e=this;this.dragOverListener||this.zone.runOutsideAngular(function(){e.dragOverListener=e.dragOver.bind(e),e.el.nativeElement.addEventListener("dragover",e.dragOverListener)})},e.prototype.unbindDragOverListener=function(){var e=this;this.dragOverListener&&this.zone.runOutsideAngular(function(){e.el.nativeElement.removeEventListener("dragover",e.dragOverListener),e.dragOverListener=null})},e.prototype.dragOver=function(e){e.preventDefault()},e.prototype.drop=function(e){this.allowDrop(e)&&(e.preventDefault(),this.onDrop.emit(e))},e.prototype.dragEnter=function(e){e.preventDefault(),this.dropEffect&&(e.dataTransfer.dropEffect=this.dropEffect),this.onDragEnter.emit(e)},e.prototype.dragLeave=function(e){e.preventDefault(),this.onDragLeave.emit(e)},e.prototype.allowDrop=function(e){var t=e.dataTransfer.getData("text");if("string"==typeof this.scope&&t==this.scope)return!0;if(this.scope instanceof Array)for(var n=0;n\n
    \n \n
    \n
    \n
    {{header}}
    \n
    {{subheader}}
    \n
    \n \n
    \n \n
    \n
    \n '})],e)}();t.Card=a,t.CardModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[a,u.SharedModule],declarations:[a]})],function(){})}()},"5EhP":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicDialogInjector=function(){function e(e,t){this._parentInjector=e,this._additionalTokens=t}return e.prototype.get=function(e,t,n){return this._additionalTokens.get(e)||this._parentInjector.get(e,t)},e}()},"5xuf":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=function(){function e(e,t,n){this.el=e,this.renderer=t,this.viewContainer=n,this.onLoad=new o.EventEmitter}return e.prototype.ngAfterViewInit=function(){var e=this;this.shouldLoad()&&this.load(),this.isLoaded()||(this.documentScrollListener=this.renderer.listen("window","scroll",function(){e.shouldLoad()&&(e.load(),e.documentScrollListener(),e.documentScrollListener=null)}))},e.prototype.shouldLoad=function(){if(this.isLoaded())return!1;var e=this.el.nativeElement.getBoundingClientRect();return document.documentElement.clientHeight>=e.top},e.prototype.load=function(){this.view=this.viewContainer.createEmbeddedView(this.template),this.onLoad.emit()},e.prototype.isLoaded=function(){return null!=this.view},e.prototype.ngOnDestroy=function(){this.view=null,this.documentScrollListener&&this.documentScrollListener()},l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onLoad",void 0),l([o.ContentChild(o.TemplateRef),i("design:type",o.TemplateRef)],e.prototype,"template",void 0),l([o.Directive({selector:"[pDefer]"})],e)}();t.DeferredLoader=u,t.DeferModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[u],declarations:[u]})],function(){})}()},"60iU":function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"a",function(){return u});var l,i=n("G5J1"),o=n("F/XL"),r=n("XlPw");l||(l={});var u=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}},e.prototype.accept=function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)},e.prototype.toObservable=function(){switch(this.kind){case"N":return Object(o.a)(this.value);case"E":return Object(r.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},"66nc":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("ihYY"),u=n("Ip0R"),a=n("sdDj"),s=n("7LN8"),c=0,d=function(){function e(e,t,n){this.el=e,this.renderer=t,this.zone=n,this.draggable=!0,this.resizable=!0,this.closeOnEscape=!0,this.closable=!0,this.responsive=!0,this.showHeader=!0,this.breakpoint=640,this.blockScroll=!1,this.autoZIndex=!0,this.baseZIndex=0,this.minX=0,this.minY=0,this.focusOnShow=!0,this.transitionOptions="400ms cubic-bezier(0.25, 0.8, 0.25, 1)",this.closeIcon="pi pi-times",this.minimizeIcon="pi pi-window-minimize",this.maximizeIcon="pi pi-window-maximize",this.onShow=new o.EventEmitter,this.onHide=new o.EventEmitter,this.visibleChange=new o.EventEmitter,this.id="ui-dialog-"+c++}return Object.defineProperty(e.prototype,"width",{get:function(){return this._width},set:function(e){this._width=e,console.warn("width property is deprecated, use style to define the width of the Dialog.")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},set:function(e){this._height=e,console.warn("height property is deprecated, use style to define the height of the Dialog.")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minWidth",{get:function(){return this._minWidth},set:function(e){this._minWidth=e,console.warn("minWidth property is deprecated, use style to define the minWidth of the Dialog.")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this._minHeight},set:function(e){this._minHeight=e,console.warn("minHeight property is deprecated, use style to define the minHeight of the Dialog.")},enumerable:!0,configurable:!0}),e.prototype.focus=function(){var e=a.DomHandler.findSingle(this.container,"button");e&&this.zone.runOutsideAngular(function(){setTimeout(function(){return e.focus()},5)})},e.prototype.positionOverlay=function(){var e=a.DomHandler.getViewport();a.DomHandler.getOuterHeight(this.container)>e.height?(this.contentViewChild.nativeElement.style.height=.75*e.height+"px",this.container.style.height="auto"):(this.contentViewChild.nativeElement.style.height=null,this.height&&(this.container.style.height=this.height+"px")),this.positionLeft>=0&&this.positionTop>=0?(this.container.style.left=this.positionLeft+"px",this.container.style.top=this.positionTop+"px"):this.positionTop>=0?(this.center(),this.container.style.top=this.positionTop+"px"):this.center()},e.prototype.close=function(e){this.visibleChange.emit(!1),e.preventDefault()},e.prototype.center=function(){var e=a.DomHandler.getOuterWidth(this.container),t=a.DomHandler.getOuterHeight(this.container);0==e&&0==t&&(this.container.style.visibility="hidden",this.container.style.display="block",e=a.DomHandler.getOuterWidth(this.container),t=a.DomHandler.getOuterHeight(this.container),this.container.style.display="none",this.container.style.visibility="visible");var n=a.DomHandler.getViewport(),l=Math.max(Math.floor((n.width-e)/2),0),i=Math.max(Math.floor((n.height-t)/2),0);this.container.style.left=l+"px",this.container.style.top=i+"px"},e.prototype.enableModality=function(){var e=this;if(!this.mask){this.mask=document.createElement("div"),this.mask.style.zIndex=String(parseInt(this.container.style.zIndex)-1);var t="ui-widget-overlay ui-dialog-mask";this.blockScroll&&(t+=" ui-dialog-mask-scrollblocker"),a.DomHandler.addMultipleClasses(this.mask,t),this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.mask,"click",function(t){e.close(t)})),document.body.appendChild(this.mask),this.blockScroll&&a.DomHandler.addClass(document.body,"ui-overflow-hidden")}},e.prototype.disableModality=function(){if(this.mask){if(this.unbindMaskClickListener(),document.body.removeChild(this.mask),this.blockScroll){for(var e=document.body.children,t=void 0,n=0;n=this.minX&&r+t=this.minY&&u+nparseInt(s))&&d.left+rparseInt(c))&&d.top+u\n
    \n {{header}}\n \n \n \n \n \n \n \n \n \n
    \n
    \n \n
    \n \n
    \n
    \n ',animations:[r.trigger("animation",[r.state("void",r.style({transform:"translate3d(0, 25%, 0) scale(0.9)",opacity:0})),r.state("visible",r.style({transform:"none",opacity:1})),r.transition("* => *",r.animate("{{transitionParams}}"))])]})],e)}();t.Dialog=d,t.DialogModule=function(){return l([o.NgModule({imports:[u.CommonModule],exports:[d,s.SharedModule],declarations:[d]})],function(){})}()},"67Y/":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var l=n("mrSG"),i=n("FFOo");function o(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new r(e,t))}}var r=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.project,this.thisArg))},e}(),u=function(e){function t(t,n,l){var i=e.call(this,t)||this;return i.project=n,i.count=0,i.thisArg=l||i,i}return l.__extends(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(i.a)},"6MUB":function(e,t,n){"use strict";var l=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(i){var o=encodeURIComponent(l(i))+n;return Array.isArray(e[i])?e[i].map(function(e){return o+encodeURIComponent(l(e))}).join(t):o+encodeURIComponent(l(e[i]))}).join(t):i?encodeURIComponent(l(i))+n+encodeURIComponent(l(e)):""}},"6ahw":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var l=n("iLxQ"),i=n("DKTb"),o={closed:!0,next:function(e){},error:function(e){if(l.a.useDeprecatedSynchronousErrorHandling)throw e;Object(i.a)(e)},complete:function(){}}},"6blF":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var l=n("1fDf"),i=n("FFOo"),o=n("L/V9"),r=n("6ahw"),u=n("xTla"),a=n("y3By"),s=n("iLxQ"),c=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var l=this.operator,u=function(e,t,n){if(e){if(e instanceof i.a)return e;if(e[o.a])return e[o.a]()}return e||t||n?new i.a(e,t,n):new i.a(r.a)}(e,t,n);if(u.add(l?l.call(u,this.source):this.source||s.a.useDeprecatedSynchronousErrorHandling&&!u.syncErrorThrowable?this._subscribe(u):this._trySubscribe(u)),s.a.useDeprecatedSynchronousErrorHandling&&u.syncErrorThrowable&&(u.syncErrorThrowable=!1,u.syncErrorThrown))throw u.syncErrorValue;return u},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){s.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),Object(l.a)(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=d(t))(function(t,l){var i;i=n.subscribe(function(t){try{e(t)}catch(n){l(n),i&&i.unsubscribe()}},l,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[u.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t\n \n
    \n '})],e)}();t.Steps=a,t.StepsModule=function(){return l([o.NgModule({imports:[r.CommonModule,u.RouterModule],exports:[a,u.RouterModule],declarations:[a]})],function(){})}()},"7LN8":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("CcnG"),a=function(){return l([u.Component({selector:"p-header",template:""})],function(){})}();t.Header=a;var s=function(){return l([u.Component({selector:"p-footer",template:""})],function(){})}();t.Footer=s;var c=function(){function e(e){this.template=e}return e.prototype.getType=function(){return this.name},l([o.Input(),i("design:type",String)],e.prototype,"type",void 0),l([o.Input("pTemplate"),i("design:type",String)],e.prototype,"name",void 0),l([o.Directive({selector:"[pTemplate]",host:{}})],e)}();t.PrimeTemplate=c;var d=function(){function e(){this.filterType="text",this.exportable=!0,this.resizable=!0,this.sortFunction=new o.EventEmitter}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"header":e.headerTemplate=t.template;break;case"body":e.bodyTemplate=t.template;break;case"footer":e.footerTemplate=t.template;break;case"filter":e.filterTemplate=t.template;break;case"editor":e.editorTemplate=t.template;break;default:e.bodyTemplate=t.template}})},l([o.Input(),i("design:type",String)],e.prototype,"field",void 0),l([o.Input(),i("design:type",String)],e.prototype,"colId",void 0),l([o.Input(),i("design:type",String)],e.prototype,"sortField",void 0),l([o.Input(),i("design:type",String)],e.prototype,"filterField",void 0),l([o.Input(),i("design:type",String)],e.prototype,"header",void 0),l([o.Input(),i("design:type",String)],e.prototype,"footer",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"sortable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"editable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"filter",void 0),l([o.Input(),i("design:type",String)],e.prototype,"filterMatchMode",void 0),l([o.Input(),i("design:type",String)],e.prototype,"filterType",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"excludeGlobalFilter",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"rowspan",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"colspan",void 0),l([o.Input(),i("design:type",String)],e.prototype,"scope",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"exportable",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"headerStyle",void 0),l([o.Input(),i("design:type",String)],e.prototype,"headerStyleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"bodyStyle",void 0),l([o.Input(),i("design:type",String)],e.prototype,"bodyStyleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"footerStyle",void 0),l([o.Input(),i("design:type",String)],e.prototype,"footerStyleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"hidden",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"expander",void 0),l([o.Input(),i("design:type",String)],e.prototype,"selectionMode",void 0),l([o.Input(),i("design:type",String)],e.prototype,"filterPlaceholder",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"filterMaxlength",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"resizable",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"sortFunction",void 0),l([o.ContentChildren(c),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.ContentChild(o.TemplateRef),i("design:type",o.TemplateRef)],e.prototype,"template",void 0),l([u.Component({selector:"p-column",template:""})],e)}();t.Column=d;var p=function(){function e(){}return l([o.ContentChildren(d),i("design:type",o.QueryList)],e.prototype,"columns",void 0),l([u.Component({selector:"p-row",template:""})],e)}();t.Row=p;var h=function(){function e(){}return l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.ContentChildren(p),i("design:type",o.QueryList)],e.prototype,"rows",void 0),l([u.Component({selector:"p-headerColumnGroup",template:""})],e)}();t.HeaderColumnGroup=h;var f=function(){function e(){}return l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.ContentChildren(p),i("design:type",o.QueryList)],e.prototype,"rows",void 0),l([u.Component({selector:"p-footerColumnGroup",template:""})],e)}();t.FooterColumnGroup=f,t.SharedModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[a,s,d,c,p,h,f],declarations:[a,s,d,c,p,h,f]})],function(){})}()},"8EBN":function(e,t,n){!function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"],alias:["objective-c","objc"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var t=0;t-1&&t.substring(i+1,t.length);if(o)return e.findModeByExtension(o)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n\n
    \n \n
    \n
    \n \n
    \n
    \n '})],e)}();t.DTRadioButton=h;var f=function(){function e(){this.onChange=new o.EventEmitter}return e.prototype.handleClick=function(e){this.disabled||this.onChange.emit({originalEvent:e,checked:!this.checked})},l([o.Input(),i("design:type",Boolean)],e.prototype,"checked",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onChange",void 0),l([o.Component({selector:"p-dtCheckbox",template:'\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n '})],e)}();t.DTCheckbox=f;var g=function(){function e(e){this.dt=e}return l([o.Input("pColumnHeaders"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Component({selector:"[pColumnHeaders]",template:'\n \n \n \n {{col.header}}\n \n \n \n \n \n \n \n \n \n \n \n '})],e)}();t.ColumnHeaders=g;var m=function(){function e(e){this.dt=e}return l([o.Input("pColumnFooters"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Component({selector:"[pColumnFooters]",template:'\n \n {{col.footer}}\n \n \n \n \n '})],e)}();t.ColumnFooters=m;var v=function(){function e(e){this.dt=e}return e.prototype.visibleColumns=function(){return this.columns?this.columns.filter(function(e){return!e.hidden}):[]},l([o.Input("pTableBody"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"data",void 0),l([o.Component({selector:"[pTableBody]",template:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {{col.header}}\n {{dt.resolveFieldData(rowData,col.field)}}\n \n \n \n
    \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n \n \n \n
    \n\n \n \n {{dt.emptyMessage}}\n \n \n \n \n \n '})],e)}();t.TableBody=v;var y=function(){function e(e,t,n,l){this.dt=e,this.el=t,this.renderer=n,this.zone=l,this.onVirtualScroll=new o.EventEmitter}return e.prototype.ngAfterViewInit=function(){this.initScrolling()},e.prototype.ngAfterViewChecked=function(){var e=this;if(this.virtualScroll&&!this.rowHeight){var t=d.DomHandler.findSingle(this.scrollTable,"tr.ui-widget-content:not(.ui-datatable-emptymessage-row)");t&&(this.rowHeight=d.DomHandler.getOuterHeight(t))}this.frozen||this.zone.runOutsideAngular(function(){setTimeout(function(){e.alignScrollBar()},1)})},e.prototype.initScrolling=function(){var e=this;this.scrollHeader=this.scrollHeaderViewChild.nativeElement,this.scrollHeaderBox=this.scrollHeaderBoxViewChild.nativeElement,this.scrollBody=this.scrollBodyViewChild.nativeElement,this.scrollTable=this.scrollTableViewChild.nativeElement,this.scrollTableWrapper=this.scrollTableWrapperViewChild.nativeElement,this.scrollFooter=this.scrollFooterViewChild?this.scrollFooterViewChild.nativeElement:null,this.scrollFooterBox=this.scrollFooterBoxViewChild?this.scrollFooterBoxViewChild.nativeElement:null,this.setScrollHeight(),this.frozen||this.zone.runOutsideAngular(function(){e.scrollHeader.addEventListener("scroll",e.onHeaderScroll.bind(e)),e.scrollBody.addEventListener("scroll",e.onBodyScroll.bind(e))}),this.frozen?this.scrollBody.style.paddingBottom=d.DomHandler.calculateScrollbarWidth()+"px":this.alignScrollBar()},e.prototype.onBodyScroll=function(e){var t=this,n=this.el.nativeElement.previousElementSibling;if(n)var l=d.DomHandler.findSingle(n,".ui-datatable-scrollable-body");if(this.scrollHeaderBox.style.marginLeft=-1*this.scrollBody.scrollLeft+"px",this.scrollFooterBox&&(this.scrollFooterBox.style.marginLeft=-1*this.scrollBody.scrollLeft+"px"),l&&(l.scrollTop=this.scrollBody.scrollTop),this.virtualScroll){var i=d.DomHandler.getOuterHeight(this.scrollBody),o=d.DomHandler.getOuterHeight(this.scrollTable),r=this.rowHeight*this.dt.rows,u=d.DomHandler.getOuterHeight(this.scrollTableWrapper)/r||1;if(this.scrollBody.scrollTop+i>parseFloat(this.scrollTable.style.top)+o||this.scrollBody.scrollTopd.DomHandler.getOuterHeight(this.scrollBody)},e.prototype.alignScrollBar=function(){var e=this.hasVerticalOverflow()?d.DomHandler.calculateScrollbarWidth():0;this.scrollHeaderBox.style.marginRight=e+"px",this.scrollFooterBox&&(this.scrollFooterBox.style.marginRight=e+"px")},e.prototype.ngOnDestroy=function(){this.scrollHeader.removeEventListener("scroll",this.onHeaderScroll),this.scrollBody.removeEventListener("scroll",this.onBodyScroll)},l([o.Input("pScrollableView"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Input(),i("design:type",c.HeaderColumnGroup)],e.prototype,"headerColumnGroup",void 0),l([o.Input(),i("design:type",c.HeaderColumnGroup)],e.prototype,"footerColumnGroup",void 0),l([o.ViewChild("scrollHeader"),i("design:type",o.ElementRef)],e.prototype,"scrollHeaderViewChild",void 0),l([o.ViewChild("scrollHeaderBox"),i("design:type",o.ElementRef)],e.prototype,"scrollHeaderBoxViewChild",void 0),l([o.ViewChild("scrollBody"),i("design:type",o.ElementRef)],e.prototype,"scrollBodyViewChild",void 0),l([o.ViewChild("scrollTable"),i("design:type",o.ElementRef)],e.prototype,"scrollTableViewChild",void 0),l([o.ViewChild("scrollTableWrapper"),i("design:type",o.ElementRef)],e.prototype,"scrollTableWrapperViewChild",void 0),l([o.ViewChild("scrollFooter"),i("design:type",o.ElementRef)],e.prototype,"scrollFooterViewChild",void 0),l([o.ViewChild("scrollFooterBox"),i("design:type",o.ElementRef)],e.prototype,"scrollFooterBoxViewChild",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.Input(),i("design:type",String)],e.prototype,"width",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"virtualScroll",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onVirtualScroll",void 0),l([o.Component({selector:"[pScrollableView]",template:'\n
    \n
    \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n
    \n
    \n
    \n \n '})],e)}();t.ScrollableView=y;var b=function(){function e(e,t,n,l,i){this.el=e,this.differs=t,this.renderer=n,this.changeDetector=l,this.zone=i,this.pageLinks=5,this.selectionChange=new o.EventEmitter,this.showHeaderCheckbox=!0,this.onRowClick=new o.EventEmitter,this.onRowSelect=new o.EventEmitter,this.onRowUnselect=new o.EventEmitter,this.onRowDblclick=new o.EventEmitter,this.onHeaderCheckboxToggle=new o.EventEmitter,this.onContextMenuSelect=new o.EventEmitter,this.filterDelay=300,this.onLazyLoad=new o.EventEmitter,this.columnResizeMode="fit",this.onColResize=new o.EventEmitter,this.onColReorder=new o.EventEmitter,this.sortMode="single",this.defaultSortOrder=1,this.csvSeparator=",",this.exportFilename="download",this.emptyMessage="No records found",this.paginatorPosition="bottom",this.alwaysShowPaginator=!0,this.metaKeySelection=!0,this.rowTrackBy=function(e,t){return t},this.immutable=!0,this.compareSelectionBy="deepEquals",this.onEditInit=new o.EventEmitter,this.onEditComplete=new o.EventEmitter,this.onEdit=new o.EventEmitter,this.onEditCancel=new o.EventEmitter,this.onPage=new o.EventEmitter,this.onSort=new o.EventEmitter,this.onFilter=new o.EventEmitter,this.rowExpandMode="multiple",this.expandedIcon="fa-chevron-circle-down",this.collapsedIcon="fa-chevron-circle-right",this.tabindex=1,this.sortableRowGroup=!0,this.filters={},this.loadingIcon="fa-circle-o-notch",this.virtualScrollDelay=500,this.rowGroupExpandMode="multiple",this.valueChange=new o.EventEmitter,this.firstChange=new o.EventEmitter,this.onRowExpand=new o.EventEmitter,this.onRowCollapse=new o.EventEmitter,this.onRowGroupExpand=new o.EventEmitter,this.onRowGroupCollapse=new o.EventEmitter,this.page=0,this.columnsChanged=!1,this._first=0,this._sortOrder=1,this.filterConstraints={startsWith:function(e,t){if(null==t||""===t.trim())return!0;if(null==e)return!1;var n=t.toLowerCase();return e.toString().toLowerCase().slice(0,n.length)===n},contains:function(e,t){return null==t||"string"==typeof t&&""===t.trim()||null!=e&&-1!==e.toString().toLowerCase().indexOf(t.toLowerCase())},endsWith:function(e,t){if(null==t||""===t.trim())return!0;if(null==e)return!1;var n=t.toString().toLowerCase();return-1!==e.toString().toLowerCase().indexOf(n,e.toString().length-n.length)},equals:function(e,t){return null==t||"string"==typeof t&&""===t.trim()||null!=e&&e.toString().toLowerCase()==t.toString().toLowerCase()},notEquals:function(e,t){return!(null==t||"string"==typeof t&&""===t.trim()||null!=e&&e.toString().toLowerCase()==t.toString().toLowerCase())},in:function(e,t){if(null==t||0===t.length)return!0;if(null==e)return!1;for(var n=0;n=this.totalRecords){var e=Math.ceil(this.totalRecords/this.rows);this._first=Math.max((e-1)*this.rows,0)}},e.prototype.updateTotalRecords=function(){this.totalRecords=this.lazy?this.totalRecords:this.value?this.value.length:0},e.prototype.onPageChange=function(e){this._first=e.first,this.firstChange.emit(this.first),this.rows=e.rows,this.paginate()},e.prototype.paginate=function(){this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.updateDataToRender(this.filteredValue||this.value),this.onPage.emit({first:this.first,rows:this.rows})},e.prototype.updateDataToRender=function(e){if((this.paginator||this.virtualScroll)&&e){this.dataToRender=[];for(var t=this.lazy?0:this.first,n=this.virtualScroll?this.first+2*this.rows:t+this.rows,l=t;l=e.length);l++)this.dataToRender.push(e[l])}else this.dataToRender=e;this.rowGroupMode&&this.updateRowGroupMetadata(),this.changeDetector.markForCheck()},e.prototype.onVirtualScroll=function(e){var t=this;this._first=(e.page-1)*this.rows,this.virtualScrollCallback=e.callback,this.zone.run(function(){t.virtualScrollTimer&&clearTimeout(t.virtualScrollTimer),t.virtualScrollTimer=setTimeout(function(){t.lazy?t.onLazyLoad.emit(t.createLazyLoadMetadata()):t.updateDataToRender(t.filteredValue||t.value)},t.virtualScrollDelay)})},e.prototype.onHeaderKeydown=function(e,t){13==e.keyCode&&(this.sort(e,t),e.preventDefault())},e.prototype.onHeaderMousedown=function(e,t){this.reorderableColumns&&("INPUT"!==e.target.nodeName?t.draggable=!0:"INPUT"===e.target.nodeName&&(t.draggable=!1))},e.prototype.sort=function(e,t){if(t.sortable){var n=e.target;if(d.DomHandler.hasClass(n,"ui-sortable-column")||d.DomHandler.hasClass(n,"ui-column-title")||d.DomHandler.hasClass(n,"ui-sortable-column-icon")){this.immutable||(this.preventSortPropagation=!0);var l=t.sortField||t.field;this._sortOrder=this.sortField===l?-1*this.sortOrder:this.defaultSortOrder,this._sortField=l,this.sortColumn=t,"multiple"==this.sortMode&&(this.multiSortMeta&&(e.metaKey||e.ctrlKey)||(this._multiSortMeta=[]),this.addSortMeta({field:this.sortField,order:this.sortOrder})),this.lazy?(this._first=0,this.onLazyLoad.emit(this.createLazyLoadMetadata())):"multiple"==this.sortMode?this.sortMultiple():this.sortSingle(),this.onSort.emit({field:this.sortField,order:this.sortOrder,multisortmeta:this.multiSortMeta})}this.updateDataToRender(this.filteredValue||this.value)}},e.prototype.sortSingle=function(){var e=this;this.value&&(this.sortColumn&&"custom"===this.sortColumn.sortable?(this.preventSortPropagation=!0,this.sortColumn.sortFunction.emit({field:this.sortField,order:this.sortOrder})):this.value.sort(function(t,n){var l,i=e.resolveFieldData(t,e.sortField),o=e.resolveFieldData(n,e.sortField);return l=null==i&&null!=o?-1:null!=i&&null==o?1:null==i&&null==o?0:"string"==typeof i&&"string"==typeof o?i.localeCompare(o):io?1:0,e.sortOrder*l}),this._first=0,this.hasFilter()&&this._filter())},e.prototype.sortMultiple=function(){var e=this;this.value&&(this.value.sort(function(t,n){return e.multisortField(t,n,e.multiSortMeta,0)}),this.hasFilter()&&this._filter())},e.prototype.multisortField=function(e,t,n,l){var i=this.resolveFieldData(e,n[l].field),o=this.resolveFieldData(t,n[l].field),r=null;if("string"==typeof i||i instanceof String){if(i.localeCompare&&i!=o)return n[l].order*i.localeCompare(o)}else r=il?this.multisortField(e,t,n,l+1):0:n[l].order*r},e.prototype.addSortMeta=function(e){for(var t=-1,n=0;n=0?this.multiSortMeta[t]=e:this.multiSortMeta.push(e)},e.prototype.isSorted=function(e){if(!e.sortable)return!1;var t=e.sortField||e.field;if("single"===this.sortMode)return this.sortField&&t===this.sortField;if("multiple"===this.sortMode){var n=!1;if(this.multiSortMeta)for(var l=0;lthis.anchorRowIndex?(t=this.anchorRowIndex,n=this.rangeRowIndex):this.rangeRowIndext?(n=t,l=this.anchorRowIndex):this.anchorRowIndex-1:this.equals(e,this.selection))},e.prototype.equals=function(e,t){return"equals"===this.compareSelectionBy?e===t:p.ObjectUtils.equals(e,t,this.dataKey)},Object.defineProperty(e.prototype,"allSelected",{get:function(){if(this.headerCheckboxToggleAllPages)return this.selection&&this.value&&this.selection.length===this.value.length;var e=!0;if(this.dataToRender&&this.selection&&this.dataToRender.length<=this.selection.length){for(var t=0,n=this.dataToRender;tparseInt(this.resizeColumn.style.minWidth||15)){if("fit"===this.columnResizeMode){for(var i=this.resizeColumn.nextElementSibling;d.DomHandler.hasClass(i,"ui-helper-hidden");)i=i.nextElementSibling;if(i){var o=i.offsetWidth-t;if(l>15&&o>parseInt(i.style.minWidth||15)&&(this.resizeColumn.style.width=l+"px",i&&(i.style.width=o+"px"),this.scrollable)){var r=d.DomHandler.findSingle(this.el.nativeElement,"colgroup.ui-datatable-scrollable-colgroup"),u=d.DomHandler.index(this.resizeColumn);r.children[u].style.width=l+"px",i&&(r.children[u+1].style.width=o+"px")}}}else if("expand"===this.columnResizeMode){this.tbody.parentElement.style.width=this.tbody.parentElement.offsetWidth+t+"px",this.resizeColumn.style.width=l+"px";var a=this.tbody.parentElement.style.width;this.scrollable?(d.DomHandler.findSingle(this.el.nativeElement,".ui-datatable-scrollable-header-box").children[0].style.width=a,r=d.DomHandler.findSingle(this.el.nativeElement,"colgroup.ui-datatable-scrollable-colgroup"),u=d.DomHandler.index(this.resizeColumn),r.children[u].style.width=l+"px"):this.el.nativeElement.children[0].style.width=a}this.onColResize.emit({element:this.resizeColumn,delta:t})}this.resizerHelper.style.display="none",this.resizeColumn=null,d.DomHandler.removeClass(this.el.nativeElement.children[0],"ui-unselectable-text"),this.unbindColumnResizeEvents()},e.prototype.fixColumnWidths=function(){for(var e,t=d.DomHandler.find(this.el.nativeElement,"th.ui-resizable-column"),n=0;no?(this.reorderIndicatorUp.style.left=i+t.offsetWidth-Math.ceil(this.iconWidth/2)+"px",this.reorderIndicatorDown.style.left=i+t.offsetWidth-Math.ceil(this.iconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUp.style.left=i-Math.ceil(this.iconWidth/2)+"px",this.reorderIndicatorDown.style.left=i-Math.ceil(this.iconWidth/2)+"px",this.dropPosition=-1),this.reorderIndicatorUp.style.display="block",this.reorderIndicatorDown.style.display="block"}else e.dataTransfer.dropEffect="none"}},e.prototype.onColumnDragleave=function(e){this.reorderableColumns&&this.draggedColumn&&(e.preventDefault(),this.reorderIndicatorUp.style.display="none",this.reorderIndicatorDown.style.display="none",window.document.removeEventListener("dragover",this.onColumnDragover))},e.prototype.onColumnDrop=function(e){if(e.preventDefault(),this.draggedColumn){var t=d.DomHandler.index(this.draggedColumn),n=d.DomHandler.index(this.findParentHeader(e.target)),l=t!=n;l&&(n-t==1&&-1===this.dropPosition||t-n==1&&1===this.dropPosition)&&(l=!1),l&&(p.ObjectUtils.reorderArray(this.columns,t,n),this.scrollable&&this.initScrollableColumns(),this.onColReorder.emit({dragIndex:t,dropIndex:n,columns:this.columns})),this.reorderIndicatorUp.style.display="none",this.reorderIndicatorDown.style.display="none",this.draggedColumn.draggable=!1,this.draggedColumn=null,this.dropPosition=null}},e.prototype.initColumnReordering=function(){this.reorderIndicatorUp=d.DomHandler.findSingle(this.el.nativeElement.children[0],"span.ui-datatable-reorder-indicator-up"),this.reorderIndicatorDown=d.DomHandler.findSingle(this.el.nativeElement.children[0],"span.ui-datatable-reorder-indicator-down"),this.iconWidth=d.DomHandler.getHiddenElementOuterWidth(this.reorderIndicatorUp),this.iconHeight=d.DomHandler.getHiddenElementOuterHeight(this.reorderIndicatorUp)},e.prototype.findParentHeader=function(e){if("TH"==e.nodeName)return e;for(var t=e.parentElement;"TH"!=t.nodeName&&(t=t.parentElement););return t},e.prototype.hasFooter=function(){if(this.footerColumnGroups&&this.footerColumnGroups.first)return!0;if(this.columns)for(var e=0;e=0?(this.expandedRowsGroups.splice(n,1),this.onRowGroupCollapse.emit({originalEvent:e,group:l})):("single"===this.rowGroupExpandMode&&(this.expandedRowsGroups=[]),this.expandedRowsGroups.push(l),this.onRowGroupExpand.emit({originalEvent:e,group:l})),e.preventDefault()},e.prototype.reset=function(){this._sortField=null,this._sortOrder=1,this.filteredValue=null,this.filters={},this._first=0,this.firstChange.emit(this._first),this.updateTotalRecords(),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.updateDataToRender(this.value)},e.prototype.exportCSV=function(e){var t=this,n=this.filteredValue||this.value,l="\ufeff";e&&e.selectionOnly&&(n=this.selection||[]);for(var i=0;i0},e.prototype.ngOnDestroy=function(){this.globalFilterFunction&&this.globalFilterFunction(),this.resizableColumns&&this.unbindColumnResizeEvents(),this.unbindDocumentEditListener(),this.columnsSubscription&&this.columnsSubscription.unsubscribe(),this.virtualScrollCallback&&(this.virtualScrollCallback=null)},l([o.Input(),i("design:type",Boolean)],e.prototype,"paginator",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"rows",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"pageLinks",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"rowsPerPageOptions",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"responsive",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"stacked",void 0),l([o.Input(),i("design:type",String)],e.prototype,"selectionMode",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"selectionChange",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"editable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"showHeaderCheckbox",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowClick",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowSelect",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowUnselect",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowDblclick",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onHeaderCheckboxToggle",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"headerCheckboxToggleAllPages",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onContextMenuSelect",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"filterDelay",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"lazy",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onLazyLoad",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"resizableColumns",void 0),l([o.Input(),i("design:type",String)],e.prototype,"columnResizeMode",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onColResize",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"reorderableColumns",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onColReorder",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"scrollable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"virtualScroll",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"scrollHeight",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"scrollWidth",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"frozenWidth",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"unfrozenWidth",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"tableStyle",void 0),l([o.Input(),i("design:type",String)],e.prototype,"tableStyleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"globalFilter",void 0),l([o.Input(),i("design:type",String)],e.prototype,"sortMode",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"defaultSortOrder",void 0),l([o.Input(),i("design:type",String)],e.prototype,"groupField",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"contextMenu",void 0),l([o.Input(),i("design:type",String)],e.prototype,"csvSeparator",void 0),l([o.Input(),i("design:type",String)],e.prototype,"exportFilename",void 0),l([o.Input(),i("design:type",String)],e.prototype,"emptyMessage",void 0),l([o.Input(),i("design:type",String)],e.prototype,"paginatorPosition",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"alwaysShowPaginator",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"metaKeySelection",void 0),l([o.Input(),i("design:type",Function)],e.prototype,"rowTrackBy",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"immutable",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"frozenValue",void 0),l([o.Input(),i("design:type",String)],e.prototype,"compareSelectionBy",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onEditInit",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onEditComplete",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onEdit",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onEditCancel",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onPage",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onSort",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onFilter",void 0),l([o.ContentChild(c.Header),i("design:type",Object)],e.prototype,"header",void 0),l([o.ContentChild(c.Footer),i("design:type",Object)],e.prototype,"footer",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"expandableRows",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"expandedRows",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"expandableRowGroups",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rowExpandMode",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"expandedRowsGroups",void 0),l([o.Input(),i("design:type",String)],e.prototype,"expandedIcon",void 0),l([o.Input(),i("design:type",String)],e.prototype,"collapsedIcon",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"tabindex",void 0),l([o.Input(),i("design:type",Function)],e.prototype,"rowStyleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"rowStyleMap",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rowGroupMode",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"sortableRowGroup",void 0),l([o.Input(),i("design:type",String)],e.prototype,"sortFile",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"rowHover",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"filters",void 0),l([o.Input(),i("design:type",String)],e.prototype,"dataKey",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"loading",void 0),l([o.Input(),i("design:type",String)],e.prototype,"loadingIcon",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"virtualScrollDelay",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rowGroupExpandMode",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"valueChange",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"firstChange",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowExpand",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowCollapse",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowGroupExpand",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowGroupCollapse",void 0),l([o.ContentChildren(c.PrimeTemplate),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.ContentChildren(c.Column),i("design:type",o.QueryList)],e.prototype,"cols",void 0),l([o.ContentChildren(c.HeaderColumnGroup),i("design:type",o.QueryList)],e.prototype,"headerColumnGroups",void 0),l([o.ContentChildren(c.FooterColumnGroup),i("design:type",o.QueryList)],e.prototype,"footerColumnGroups",void 0),l([o.Input(),i("design:type",Array),i("design:paramtypes",[Array])],e.prototype,"multiSortMeta",null),l([o.Input(),i("design:type",String),i("design:paramtypes",[String])],e.prototype,"sortField",null),l([o.Input(),i("design:type",Number),i("design:paramtypes",[Number])],e.prototype,"sortOrder",null),l([o.Input(),i("design:type",Array),i("design:paramtypes",[Array])],e.prototype,"value",null),l([o.Input(),i("design:type",Number),i("design:paramtypes",[Number])],e.prototype,"first",null),l([o.Input(),i("design:type",Number),i("design:paramtypes",[Number])],e.prototype,"totalRecords",null),l([o.Input(),i("design:type",Object),i("design:paramtypes",[Object])],e.prototype,"selection",null),l([o.Component({selector:"p-dataTable",template:'\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n
    \n '})],e)}();t.DataTable=b,t.DataTableModule=function(){return l([o.NgModule({imports:[r.CommonModule,a.SharedModule,s.PaginatorModule,u.FormsModule],exports:[b,a.SharedModule],declarations:[b,h,f,g,m,v,y]})],function(){})}()},ARwZ:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("gIcY");t.RATING_VALUE_ACCESSOR={provide:u.NG_VALUE_ACCESSOR,useExisting:o.forwardRef(function(){return a}),multi:!0};var a=function(){function e(e){this.cd=e,this.stars=5,this.cancel=!0,this.iconOnClass="pi pi-star",this.iconOffClass="pi pi-star-o",this.iconCancelClass="pi pi-ban",this.onRate=new o.EventEmitter,this.onCancel=new o.EventEmitter,this.onModelChange=function(){},this.onModelTouched=function(){}}return e.prototype.ngOnInit=function(){this.starsArray=[];for(var e=0;e\n \n \n \n \n \n \n
    \n ',providers:[t.RATING_VALUE_ACCESSOR]})],e)}();t.Rating=a,t.RatingModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[a],declarations:[a]})],function(){})}()},Avra:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("gIcY"),u=n("Ip0R"),a=n("sdDj"),s=(n("VeV1"),function(){function e(e,t){var n=this;this.el=e,this.terminalService=t,this.commands=[],this.subscription=t.responseHandler.subscribe(function(e){n.commands[n.commands.length-1].response=e,n.commandProcessed=!0})}return e.prototype.ngAfterViewInit=function(){this.container=a.DomHandler.find(this.el.nativeElement,".ui-terminal")[0]},e.prototype.ngAfterViewChecked=function(){this.commandProcessed&&(this.container.scrollTop=this.container.scrollHeight,this.commandProcessed=!1)},Object.defineProperty(e.prototype,"response",{set:function(e){e&&(this.commands[this.commands.length-1].response=e,this.commandProcessed=!0)},enumerable:!0,configurable:!0}),e.prototype.handleCommand=function(e){13==e.keyCode&&(this.commands.push({text:this.command}),this.terminalService.sendCommand(this.command),this.command="")},e.prototype.focus=function(e){e.focus()},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input(),i("design:type",String)],e.prototype,"welcomeMessage",void 0),l([o.Input(),i("design:type",String)],e.prototype,"prompt",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",String),i("design:paramtypes",[String])],e.prototype,"response",null),l([o.Component({selector:"p-terminal",template:'\n
    \n
    {{welcomeMessage}}
    \n
    \n
    \n {{prompt}}\n {{command.text}}\n
    {{command.response}}
    \n
    \n
    \n
    \n {{prompt}}\n \n
    \n
    \n '})],e)}());t.Terminal=s,t.TerminalModule=function(){return l([o.NgModule({imports:[u.CommonModule,r.FormsModule],exports:[s],declarations:[s]})],function(){})}()},AxiF:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var l=n("mrSG"),i=n("FFOo"),o=n("b7mW"),r=n("G5J1");function u(e){return function(t){return 0===e?Object(r.b)():t.lift(new a(e))}}var a=function(){function e(e){if(this.total=e,this.total<0)throw new o.a}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.total))},e}(),s=function(e){function t(t,n){var l=e.call(this,t)||this;return l.total=n,l.ring=new Array,l.count=0,l}return l.__extends(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,l=this.count++;t.length0)for(var n=this.count>=this.total?this.total:this.count,l=this.ring,i=0;it.cursorCoords(n,"window").top&&((h=l).style.opacity=.4)}))};!function(e,t,n,l,i){e.openDialog(t,f,{value:s,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){d(e)},onKeyDown:i})}(t,p(t),0,0,function(l,i){var o=e.keyName(l),r=t.getOption("extraKeys"),u=r&&r[o]||e.keyMap[t.getOption("keyMap")][o];"findNext"==u||"findPrev"==u||"findPersistentNext"==u||"findPersistentPrev"==u?(e.e_stop(l),a(t,n(t),i),t.execCommand(u)):"find"!=u&&"findPersistent"!=u||(e.e_stop(l),f(i,l))}),r&&s&&(a(t,u,s),c(t,l))}else o(t,p(t),"Search for:",s,function(e){e&&!u.query&&t.operation(function(){a(t,u,e),u.posFrom=u.posTo=t.getCursor(),c(t,l)})})}function c(t,l,o){t.operation(function(){var r=n(t),u=i(t,r.query,l?r.posFrom:r.posTo);(u.find(l)||(u=i(t,r.query,l?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(l))&&(t.setSelection(u.from(),u.to()),t.scrollIntoView({from:u.from(),to:u.to()},20),r.posFrom=u.from(),r.posTo=u.to(),o&&o(u.from(),u.to()))})}function d(e){e.operation(function(){var t=n(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))})}function p(e){return''+e.phrase("Search:")+' '+e.phrase("(Use /re/ syntax for regexp search)")+""}function h(e,t,n){e.operation(function(){for(var l=i(e,t);l.findNext();)if("string"!=typeof t){var o=e.getRange(l.from(),l.to()).match(t);l.replace(n.replace(/\$(\d)/g,function(e,t){return o[t]}))}else l.replace(n)})}function f(e,t){if(!e.getOption("readOnly")){var l=e.getSelection()||n(e).lastQuery,a=''+e.phrase(t?"Replace all:":"Replace:")+"";o(e,a+function(e){return' '+e.phrase("(Use /re/ syntax for regexp search)")+""}(e),a,l,function(n){n&&(n=u(n),o(e,function(e){return''+e.phrase("With:")+' '}(e),e.phrase("Replace with:"),"",function(l){if(l=r(l),t)h(e,n,l);else{d(e);var o=i(e,n,e.getCursor("from")),u=function(){var t,r=o.from();!(t=o.findNext())&&(o=i(e,n),!(t=o.findNext())||r&&o.from().line==r.line&&o.from().ch==r.ch)||(e.setSelection(o.from(),o.to()),e.scrollIntoView({from:o.from(),to:o.to()}),function(e,t,n,l){e.openConfirm?e.openConfirm(t,l):confirm(n)&&l[0]()}(e,function(e){return''+e.phrase("Replace?")+" "}(e),e.phrase("Replace?"),[function(){a(t)},u,function(){h(e,n,l)}]))},a=function(e){o.replace("string"==typeof n?l:l.replace(/\$(\d)/g,function(t,n){return e[n]})),u()};u()}}))})}}e.commands.find=function(e){d(e),s(e)},e.commands.findPersistent=function(e){d(e),s(e,!1,!0)},e.commands.findPersistentNext=function(e){s(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){s(e,!0,!0,!0)},e.commands.findNext=s,e.commands.findPrev=function(e){s(e,!0)},e.commands.clearSearch=d,e.commands.replace=f,e.commands.replaceAll=function(e){f(e,!0)}}(n("VrN/"),n("uTOq"),n("Ku0u"))},CC75:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("7LN8"),a=n("ZYCi"),s=function(){function e(){}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"item":default:e.itemTemplate=t.template}})},e.prototype.itemClick=function(e,t){t.disabled?e.preventDefault():(t.url||e.preventDefault(),t.command&&t.command({originalEvent:e,item:t}),this.activeItem=t)},l([o.Input(),i("design:type",Array)],e.prototype,"model",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"activeItem",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"popup",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.ContentChildren(u.PrimeTemplate),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.Component({selector:"p-tabMenu",template:'\n \n '})],e)}();t.TabMenu=s,t.TabMenuModule=function(){return l([o.NgModule({imports:[r.CommonModule,a.RouterModule],exports:[s,a.RouterModule],declarations:[s]})],function(){})}()},CS9Q:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var l=n("mrSG"),i=n("siIJ"),o=function(e){function t(n,l){void 0===l&&(l=i.a.now);var o=e.call(this,n,function(){return t.delegate&&t.delegate!==o?t.delegate.now():l()})||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return l.__extends(t,e),t.prototype.schedule=function(n,l,i){return void 0===l&&(l=0),t.delegate&&t.delegate!==this?t.delegate.schedule(n,l,i):e.prototype.schedule.call(this,n,l,i)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(i.a)},CcnG:function(e,t,n){"use strict";n.r(t),n.d(t,"\u0275angular_packages_core_core_t",function(){return Xf}),n.d(t,"\u0275angular_packages_core_core_q",function(){return Yf}),n.d(t,"\u0275angular_packages_core_core_r",function(){return Zf}),n.d(t,"\u0275angular_packages_core_core_s",function(){return Qf}),n.d(t,"\u0275angular_packages_core_core_h",function(){return Zp}),n.d(t,"\u0275angular_packages_core_core_o",function(){return Df}),n.d(t,"\u0275angular_packages_core_core_p",function(){return Pf}),n.d(t,"\u0275angular_packages_core_core_n",function(){return mf}),n.d(t,"\u0275angular_packages_core_core_m",function(){return gf}),n.d(t,"\u0275angular_packages_core_core_c",function(){return hu}),n.d(t,"\u0275angular_packages_core_core_d",function(){return kt}),n.d(t,"\u0275angular_packages_core_core_e",function(){return $p}),n.d(t,"\u0275angular_packages_core_core_f",function(){return Mp}),n.d(t,"\u0275angular_packages_core_core_g",function(){return Vp}),n.d(t,"\u0275angular_packages_core_core_l",function(){return od}),n.d(t,"\u0275angular_packages_core_core_u",function(){return Sh}),n.d(t,"\u0275angular_packages_core_core_w",function(){return Ch}),n.d(t,"\u0275angular_packages_core_core_v",function(){return bh}),n.d(t,"\u0275angular_packages_core_core_z",function(){return xh}),n.d(t,"\u0275angular_packages_core_core_x",function(){return wh}),n.d(t,"\u0275angular_packages_core_core_y",function(){return _h}),n.d(t,"\u0275angular_packages_core_core_bc",function(){return Tn}),n.d(t,"\u0275angular_packages_core_core_bj",function(){return h}),n.d(t,"\u0275angular_packages_core_core_bd",function(){return Qt}),n.d(t,"\u0275angular_packages_core_core_be",function(){return Jt}),n.d(t,"\u0275angular_packages_core_core_bf",function(){return vn}),n.d(t,"\u0275angular_packages_core_core_bi",function(){return ii}),n.d(t,"\u0275angular_packages_core_core_bm",function(){return Qe}),n.d(t,"\u0275angular_packages_core_core_i",function(){return da}),n.d(t,"\u0275angular_packages_core_core_j",function(){return pa}),n.d(t,"\u0275angular_packages_core_core_k",function(){return ha}),n.d(t,"\u0275angular_packages_core_core_a",function(){return D}),n.d(t,"\u0275angular_packages_core_core_b",function(){return R}),n.d(t,"\u0275angular_packages_core_core_bk",function(){return s}),n.d(t,"\u0275angular_packages_core_core_ba",function(){return qm}),n.d(t,"\u0275angular_packages_core_core_bb",function(){return sg}),n.d(t,"createPlatform",function(){return Gh}),n.d(t,"assertPlatform",function(){return qh}),n.d(t,"destroyPlatform",function(){return Kh}),n.d(t,"getPlatform",function(){return Yh}),n.d(t,"PlatformRef",function(){return Zh}),n.d(t,"ApplicationRef",function(){return Xh}),n.d(t,"createPlatformFactory",function(){return Wh}),n.d(t,"NgProbeToken",function(){return $h}),n.d(t,"enableProdMode",function(){return Ha}),n.d(t,"isDevMode",function(){return ja}),n.d(t,"APP_ID",function(){return Yp}),n.d(t,"PACKAGE_ROOT_URL",function(){return nh}),n.d(t,"PLATFORM_INITIALIZER",function(){return Jp}),n.d(t,"PLATFORM_ID",function(){return eh}),n.d(t,"APP_BOOTSTRAP_LISTENER",function(){return th}),n.d(t,"APP_INITIALIZER",function(){return qp}),n.d(t,"ApplicationInitStatus",function(){return Kp}),n.d(t,"DebugElement",function(){return Tf}),n.d(t,"DebugNode",function(){return Of}),n.d(t,"asNativeElements",function(){return vf}),n.d(t,"getDebugNode",function(){return Ef}),n.d(t,"Testability",function(){return Fh}),n.d(t,"TestabilityRegistry",function(){return Vh}),n.d(t,"setTestabilityGetter",function(){return jh}),n.d(t,"TRANSLATIONS",function(){return Wf}),n.d(t,"TRANSLATIONS_FORMAT",function(){return qf}),n.d(t,"LOCALE_ID",function(){return Gf}),n.d(t,"MissingTranslationStrategy",function(){return Kf}),n.d(t,"ApplicationModule",function(){return Jf}),n.d(t,"wtfCreateScope",function(){return Ih}),n.d(t,"wtfLeave",function(){return Oh}),n.d(t,"wtfStartTimeRange",function(){return Th}),n.d(t,"wtfEndTimeRange",function(){return Dh}),n.d(t,"Type",function(){return sd}),n.d(t,"EventEmitter",function(){return gc}),n.d(t,"ErrorHandler",function(){return Sp}),n.d(t,"Sanitizer",function(){return Oa}),n.d(t,"SecurityContext",function(){return Ia}),n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return k}),n.d(t,"Attribute",function(){return M}),n.d(t,"ContentChild",function(){return A}),n.d(t,"ContentChildren",function(){return L}),n.d(t,"Query",function(){return N}),n.d(t,"ViewChild",function(){return F}),n.d(t,"ViewChildren",function(){return P}),n.d(t,"Component",function(){return Ud}),n.d(t,"Directive",function(){return zd}),n.d(t,"HostBinding",function(){return Kd}),n.d(t,"HostListener",function(){return Yd}),n.d(t,"Input",function(){return Wd}),n.d(t,"Output",function(){return qd}),n.d(t,"Pipe",function(){return $d}),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",function(){return op}),n.d(t,"NO_ERRORS_SCHEMA",function(){return rp}),n.d(t,"NgModule",function(){return up}),n.d(t,"ViewEncapsulation",function(){return le}),n.d(t,"Version",function(){return Ta}),n.d(t,"VERSION",function(){return Da}),n.d(t,"defineInjectable",function(){return b}),n.d(t,"defineInjector",function(){return C}),n.d(t,"forwardRef",function(){return Q}),n.d(t,"resolveForwardRef",function(){return X}),n.d(t,"Injectable",function(){return gp}),n.d(t,"INJECTOR",function(){return pu}),n.d(t,"Injector",function(){return fu}),n.d(t,"inject",function(){return Mt}),n.d(t,"\u0275inject",function(){return Mt}),n.d(t,"InjectFlags",function(){return Ot}),n.d(t,"ReflectiveInjector",function(){return Up}),n.d(t,"createInjector",function(){return Au}),n.d(t,"ResolvedReflectiveFactory",function(){return Ap}),n.d(t,"ReflectiveKey",function(){return Dp}),n.d(t,"InjectionToken",function(){return x}),n.d(t,"Inject",function(){return _t}),n.d(t,"Optional",function(){return xt}),n.d(t,"Self",function(){return St}),n.d(t,"SkipSelf",function(){return Et}),n.d(t,"Host",function(){return It}),n.d(t,"NgZone",function(){return Rh}),n.d(t,"\u0275NoopNgZone",function(){return Ph}),n.d(t,"RenderComponentType",function(){return va}),n.d(t,"Renderer",function(){return ba}),n.d(t,"Renderer2",function(){return xa}),n.d(t,"RendererFactory2",function(){return wa}),n.d(t,"RendererStyleFlags2",function(){return _a}),n.d(t,"RootRenderer",function(){return Ca}),n.d(t,"COMPILER_OPTIONS",function(){return vh}),n.d(t,"Compiler",function(){return mh}),n.d(t,"CompilerFactory",function(){return yh}),n.d(t,"ModuleWithComponentFactories",function(){return ih}),n.d(t,"ComponentFactory",function(){return Qu}),n.d(t,"\u0275ComponentFactory",function(){return Qu}),n.d(t,"ComponentRef",function(){return Zu}),n.d(t,"ComponentFactoryResolver",function(){return ia}),n.d(t,"ElementRef",function(){return fa}),n.d(t,"NgModuleFactory",function(){return aa}),n.d(t,"NgModuleRef",function(){return ua}),n.d(t,"NgModuleFactoryLoader",function(){return td}),n.d(t,"getModuleFactory",function(){return ud}),n.d(t,"QueryList",function(){return ef}),n.d(t,"SystemJsNgModuleLoader",function(){return lf}),n.d(t,"SystemJsNgModuleLoaderConfig",function(){return tf}),n.d(t,"TemplateRef",function(){return mc}),n.d(t,"ViewContainerRef",function(){return rf}),n.d(t,"EmbeddedViewRef",function(){return hf}),n.d(t,"ViewRef",function(){return pf}),n.d(t,"ChangeDetectionStrategy",function(){return V}),n.d(t,"ChangeDetectorRef",function(){return sf}),n.d(t,"DefaultIterableDiffer",function(){return kf}),n.d(t,"IterableDiffers",function(){return jf}),n.d(t,"KeyValueDiffers",function(){return Hf}),n.d(t,"SimpleChange",function(){return cl}),n.d(t,"WrappedValue",function(){return sl}),n.d(t,"platformCore",function(){return $f}),n.d(t,"\u0275ALLOW_MULTIPLE_PLATFORMS",function(){return Uh}),n.d(t,"\u0275APP_ID_RANDOM_PROVIDER",function(){return Qp}),n.d(t,"\u0275defaultIterableDiffers",function(){return zf}),n.d(t,"\u0275defaultKeyValueDiffers",function(){return Uf}),n.d(t,"\u0275devModeEqual",function(){return al}),n.d(t,"\u0275isListLikeIterable",function(){return dl}),n.d(t,"\u0275ChangeDetectorStatus",function(){return j}),n.d(t,"\u0275isDefaultChangeDetectionStrategy",function(){return H}),n.d(t,"\u0275Console",function(){return lh}),n.d(t,"\u0275getInjectableDef",function(){return w}),n.d(t,"\u0275setCurrentInjector",function(){return Dt}),n.d(t,"\u0275APP_ROOT",function(){return Du}),n.d(t,"\u0275ivyEnabled",function(){return tg}),n.d(t,"\u0275CodegenComponentFactoryResolver",function(){return oa}),n.d(t,"\u0275resolveComponentResources",function(){return J}),n.d(t,"\u0275ReflectionCapabilities",function(){return fd}),n.d(t,"\u0275RenderDebugInfo",function(){return ya}),n.d(t,"\u0275_sanitizeHtml",function(){return as}),n.d(t,"\u0275_sanitizeStyle",function(){return Wc}),n.d(t,"\u0275_sanitizeUrl",function(){return $a}),n.d(t,"\u0275global",function(){return U}),n.d(t,"\u0275looseIdentical",function(){return K}),n.d(t,"\u0275stringify",function(){return Y}),n.d(t,"\u0275makeDecorator",function(){return O}),n.d(t,"\u0275isObservable",function(){return Wp}),n.d(t,"\u0275isPromise",function(){return Gp}),n.d(t,"\u0275clearOverrides",function(){return Dy}),n.d(t,"\u0275initServicesIfNeeded",function(){return $v}),n.d(t,"\u0275overrideComponentView",function(){return Ty}),n.d(t,"\u0275overrideProvider",function(){return Oy}),n.d(t,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return ev}),n.d(t,"\u0275defineBase",function(){return pe}),n.d(t,"\u0275defineComponent",function(){return ue}),n.d(t,"\u0275defineDirective",function(){return he}),n.d(t,"\u0275definePipe",function(){return fe}),n.d(t,"\u0275defineNgModule",function(){return ce}),n.d(t,"\u0275detectChanges",function(){return mr}),n.d(t,"\u0275renderComponent",function(){return Zr}),n.d(t,"\u0275Render3ComponentFactory",function(){return Aa}),n.d(t,"\u0275Render3ComponentRef",function(){return Pa}),n.d(t,"\u0275directiveInject",function(){return Pr}),n.d(t,"\u0275injectAttribute",function(){return Fr}),n.d(t,"\u0275getFactoryOf",function(){return Fn}),n.d(t,"\u0275getInheritedFactory",function(){return Vn}),n.d(t,"\u0275templateRefExtractor",function(){return Ac}),n.d(t,"\u0275ProvidersFeature",function(){return Yu}),n.d(t,"\u0275InheritDefinitionFeature",function(){return lu}),n.d(t,"\u0275NgOnChangesFeature",function(){return ru}),n.d(t,"\u0275LifecycleHooksFeature",function(){return eu}),n.d(t,"\u0275Render3NgModuleRef",function(){return Ks}),n.d(t,"\u0275markDirty",function(){return Cr}),n.d(t,"\u0275NgModuleFactory",function(){return Ys}),n.d(t,"\u0275NO_CHANGE",function(){return fl}),n.d(t,"\u0275container",function(){return lr}),n.d(t,"\u0275nextContext",function(){return po}),n.d(t,"\u0275elementStart",function(){return _o}),n.d(t,"\u0275namespaceHTML",function(){return yo}),n.d(t,"\u0275namespaceMathML",function(){return vo}),n.d(t,"\u0275namespaceSVG",function(){return mo}),n.d(t,"\u0275element",function(){return bo}),n.d(t,"\u0275listener",function(){return Do}),n.d(t,"\u0275text",function(){return Go}),n.d(t,"\u0275embeddedViewStart",function(){return ur}),n.d(t,"\u0275query",function(){return Nc}),n.d(t,"\u0275registerContentQuery",function(){return Vr}),n.d(t,"\u0275projection",function(){return dr}),n.d(t,"\u0275bind",function(){return wr}),n.d(t,"\u0275interpolation1",function(){return Sr}),n.d(t,"\u0275interpolation2",function(){return Er}),n.d(t,"\u0275interpolation3",function(){return Ir}),n.d(t,"\u0275interpolation4",function(){return Or}),n.d(t,"\u0275interpolation5",function(){return Tr}),n.d(t,"\u0275interpolation6",function(){return Dr}),n.d(t,"\u0275interpolation7",function(){return Rr}),n.d(t,"\u0275interpolation8",function(){return kr}),n.d(t,"\u0275interpolationV",function(){return xr}),n.d(t,"\u0275pipeBind1",function(){return ac}),n.d(t,"\u0275pipeBind2",function(){return sc}),n.d(t,"\u0275pipeBind3",function(){return cc}),n.d(t,"\u0275pipeBind4",function(){return dc}),n.d(t,"\u0275pipeBindV",function(){return pc}),n.d(t,"\u0275pureFunction0",function(){return Qs}),n.d(t,"\u0275pureFunction1",function(){return Xs}),n.d(t,"\u0275pureFunction2",function(){return Js}),n.d(t,"\u0275pureFunction3",function(){return ec}),n.d(t,"\u0275pureFunction4",function(){return tc}),n.d(t,"\u0275pureFunction5",function(){return nc}),n.d(t,"\u0275pureFunction6",function(){return lc}),n.d(t,"\u0275pureFunction7",function(){return ic}),n.d(t,"\u0275pureFunction8",function(){return oc}),n.d(t,"\u0275pureFunctionV",function(){return rc}),n.d(t,"\u0275getCurrentView",function(){return Br}),n.d(t,"\u0275getHostElement",function(){return tl}),n.d(t,"\u0275restoreView",function(){return Xt}),n.d(t,"\u0275containerRefreshStart",function(){return or}),n.d(t,"\u0275containerRefreshEnd",function(){return rr}),n.d(t,"\u0275queryRefresh",function(){return Lc}),n.d(t,"\u0275loadQueryList",function(){return Lr}),n.d(t,"\u0275elementEnd",function(){return Ro}),n.d(t,"\u0275elementProperty",function(){return Mo}),n.d(t,"\u0275componentHostSyntheticProperty",function(){return No}),n.d(t,"\u0275projectionDef",function(){return sr}),n.d(t,"\u0275reference",function(){return Nr}),n.d(t,"\u0275enableBindings",function(){return Yt}),n.d(t,"\u0275disableBindings",function(){return Zt}),n.d(t,"\u0275allocHostVars",function(){return _r}),n.d(t,"\u0275elementAttribute",function(){return ko}),n.d(t,"\u0275elementContainerStart",function(){return Co}),n.d(t,"\u0275elementContainerEnd",function(){return wo}),n.d(t,"\u0275elementStyling",function(){return jo}),n.d(t,"\u0275elementHostAttrs",function(){return Ho}),n.d(t,"\u0275elementStylingMap",function(){return $o}),n.d(t,"\u0275elementStyleProp",function(){return zo}),n.d(t,"\u0275elementStylingApply",function(){return Bo}),n.d(t,"\u0275elementClassProp",function(){return Uo}),n.d(t,"\u0275textBinding",function(){return Wo}),n.d(t,"\u0275template",function(){return nr}),n.d(t,"\u0275embeddedViewEnd",function(){return ar}),n.d(t,"\u0275store",function(){return Mr}),n.d(t,"\u0275load",function(){return Ar}),n.d(t,"\u0275pipe",function(){return uc}),n.d(t,"\u0275whenRendered",function(){return tu}),n.d(t,"\u0275i18n",function(){return Ps}),n.d(t,"\u0275i18nAttributes",function(){return Fs}),n.d(t,"\u0275i18nExp",function(){return Hs}),n.d(t,"\u0275i18nStart",function(){return Rs}),n.d(t,"\u0275i18nEnd",function(){return Ns}),n.d(t,"\u0275i18nApply",function(){return Bs}),n.d(t,"\u0275i18nPostprocess",function(){return Ms}),n.d(t,"\u0275setClassMetadata",function(){return Zs}),n.d(t,"\u0275compileComponent",function(){return Ld}),n.d(t,"\u0275compileDirective",function(){return Ad}),n.d(t,"\u0275compileNgModule",function(){return Ed}),n.d(t,"\u0275compileNgModuleDefs",function(){return Id}),n.d(t,"\u0275patchComponentDefWithScope",function(){return Dd}),n.d(t,"\u0275resetCompiledComponents",function(){return Od}),n.d(t,"\u0275compilePipe",function(){return Bd}),n.d(t,"\u0275sanitizeHtml",function(){return qc}),n.d(t,"\u0275sanitizeStyle",function(){return Kc}),n.d(t,"\u0275defaultStyleSanitizer",function(){return Xc}),n.d(t,"\u0275sanitizeScript",function(){return Qc}),n.d(t,"\u0275sanitizeUrl",function(){return Yc}),n.d(t,"\u0275sanitizeResourceUrl",function(){return Zc}),n.d(t,"\u0275bypassSanitizationTrustHtml",function(){return Vc}),n.d(t,"\u0275bypassSanitizationTrustStyle",function(){return jc}),n.d(t,"\u0275bypassSanitizationTrustScript",function(){return Hc}),n.d(t,"\u0275bypassSanitizationTrustUrl",function(){return Bc}),n.d(t,"\u0275bypassSanitizationTrustResourceUrl",function(){return zc}),n.d(t,"\u0275getLContext",function(){return jn}),n.d(t,"\u0275bindPlayerFactory",function(){return li}),n.d(t,"\u0275addPlayer",function(){return $r}),n.d(t,"\u0275getPlayers",function(){return Gr}),n.d(t,"\u0275compileNgModuleFactory__POST_R3__",function(){return zh}),n.d(t,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",function(){return Zd}),n.d(t,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",function(){return Qd}),n.d(t,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",function(){return Xd}),n.d(t,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",function(){return ap}),n.d(t,"\u0275getDebugNode__POST_R3__",function(){return Sf}),n.d(t,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",function(){return mp}),n.d(t,"\u0275SWITCH_IVY_ENABLED__POST_R3__",function(){return eg}),n.d(t,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",function(){return cf}),n.d(t,"\u0275Compiler_compileModuleSync__POST_R3__",function(){return ah}),n.d(t,"\u0275Compiler_compileModuleAsync__POST_R3__",function(){return ch}),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsSync__POST_R3__",function(){return ph}),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsAsync__POST_R3__",function(){return fh}),n.d(t,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",function(){return ga}),n.d(t,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",function(){return vc}),n.d(t,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",function(){return uf}),n.d(t,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",function(){return Sa}),n.d(t,"\u0275getModuleFactory__POST_R3__",function(){return rd}),n.d(t,"\u0275publishGlobalUtil",function(){return Yr}),n.d(t,"\u0275publishDefaultGlobalUtils",function(){return Kr}),n.d(t,"\u0275SWITCH_INJECTOR_FACTORY__POST_R3__",function(){return gu}),n.d(t,"\u0275registerModuleFactory",function(){return ld}),n.d(t,"\u0275EMPTY_ARRAY",function(){return Qg}),n.d(t,"\u0275EMPTY_MAP",function(){return Xg}),n.d(t,"\u0275and",function(){return Jg}),n.d(t,"\u0275ccf",function(){return bm}),n.d(t,"\u0275cmf",function(){return Ry}),n.d(t,"\u0275crt",function(){return Cg}),n.d(t,"\u0275did",function(){return $m}),n.d(t,"\u0275eld",function(){return em}),n.d(t,"\u0275elementEventFullName",function(){return kg}),n.d(t,"\u0275getComponentViewDefinitionFactory",function(){return Cm}),n.d(t,"\u0275inlineInterpolate",function(){return Yg}),n.d(t,"\u0275interpolate",function(){return Kg}),n.d(t,"\u0275mod",function(){return cm}),n.d(t,"\u0275mpd",function(){return sm}),n.d(t,"\u0275ncd",function(){return pv}),n.d(t,"\u0275nov",function(){return km}),n.d(t,"\u0275pid",function(){return Gm}),n.d(t,"\u0275prd",function(){return Wm}),n.d(t,"\u0275pad",function(){return gv}),n.d(t,"\u0275pod",function(){return mv}),n.d(t,"\u0275ppd",function(){return fv}),n.d(t,"\u0275qud",function(){return uv}),n.d(t,"\u0275ted",function(){return yv}),n.d(t,"\u0275unv",function(){return vg}),n.d(t,"\u0275vid",function(){return wv});var l=n("mrSG"),i=n("pugT"),o=n("K9Ia"),r=n("6blF"),u=n("p0ib"),a=n("S1nX");function s(e){for(var t in e)if(e[t]===s)return t;throw Error("Could not find renamed property on target object.")}function c(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}var d=s({ngComponentDef:s}),p=s({ngDirectiveDef:s}),h=s({ngInjectableDef:s}),f=s({ngInjectorDef:s}),g=s({ngPipeDef:s}),m=s({ngModuleDef:s}),v=s({ngBaseDef:s}),y=s({__NG_ELEMENT_ID__:s});function b(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function C(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function w(e){return e&&e.hasOwnProperty(h)?e[h]:null}function _(e){return e&&e.hasOwnProperty(f)?e[f]:null}var x=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?b({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),S="__annotations__",E="__parameters__",I="__prop__metadata__";function O(e,t,n,i,o){var r=T(t);function u(){for(var e,t=[],n=0;n=Fe?n:n[Se]}function lt(e){return 0!=(4&e.flags)}function it(e){return 1==(1&e.flags)}function ot(e){return null!==e.template}function rt(e){return Array.isArray(e)&&e.length===ze}function ut(e){return 0!=(128&e[Ce])}function at(e){for(var t=Array.isArray(e)?e:dt(e);t&&!(128&t[Ce]);)t=t[we];return t}function st(e){return at(e)[Te]}function ct(e){return e[Ue]}function dt(e){var t=ct(e);return t?Array.isArray(t)?t:t.lView:null}function pt(e){return e!==qe}function ht(e){return 32767&e}function ft(e){return e>>16}function gt(e,t){for(var n=ft(e),l=t;n>0;)l=l[Pe],n--;return l}var mt=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(U);function vt(e,t){for(var n=0;n0;)t=t[Pe],e--;return t}(e,rn))[Te]}function yn(e){var t=Wt[be];on(Wt)?Wt[Ce]&=-2:(Bt(Wt,t.viewHooks,t.viewCheckHooks,un),Wt[Ce]&=-11,Wt[Ce]|=32,Wt[Ie]=t.bindingStartIndex),mn(e,null)}var bn=!0;function Cn(e){var t=bn;return bn=e,t}var wn=255,_n=0;function xn(e,t){var n=En(e,t);if(-1!==n)return n;var l=t[be];l.firstTemplatePass&&(e.injectorIndex=t.length,Sn(l.data,e),Sn(t,null),Sn(l.blueprint,null));var i=In(e,t),o=ht(i),r=gt(i,t),u=e.injectorIndex;if(pt(i))for(var a=r[be].data,s=0;s<8;s++)t[u+s]=r[o+s]|a[o+s];return t[u+Ge]=i,u}function Sn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function En(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+Ge]?-1:e.injectorIndex}function In(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[Ee],l=1;n&&-1===n.injectorIndex;)n=(t=t[Pe])?t[Ee]:null,l++;return n?n.injectorIndex|l<<16:-1}function On(e,t,n){!function(e,t,n){var l="string"!=typeof n?n[y]:n.charCodeAt(0)||0;null==l&&(l=n[y]=_n++);var i=l&wn,o=1<>16,c=i?u+s:e.directiveEnd,d=l?u:u+s;d=a&&p.type===n)return d}if(i){var h=r[a];if(h&&ot(h)&&h.type===n)return a}return null}function Nn(e,t,n,l){var i,o=t[n];if(null!=(i=o)&&"object"==typeof i&&Object.getPrototypeOf(i)==Ye){var r=o;if(r.resolving)throw new Error("Circular dep for "+Ze(e[n]));var u=Cn(r.canSeeViewProviders);r.resolving=!0;var a=void 0;r.injectImpl&&(a=Rt(r.injectImpl));var s=Jt(),c=Qt();tn(l,t);try{o=t[n]=r.factory(null,e,t,l)}finally{r.injectImpl&&Rt(a),Cn(u),r.resolving=!1,tn(s,c)}}return o}function Ln(e,t,n){var l=64&e,i=32&e;return!!((128&e?l?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:l?i?n[t+3]:n[t+2]:i?n[t+1]:n[t])&1<=0){var f;zn(f=Xe(l[h]),a=Hn(l,h,f)),n=a;break}}}return n||null}function Hn(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Bn(e){var t,n=ct(e);if(Array.isArray(n)){var l=Gn(n,e);(i=Hn(n,l,(t=nt(l,n))[Se])).component=e,zn(e,i),zn(i.native,i)}else{var i;t=nt((i=n).nodeIndex,i.lView)}return t}function zn(e,t){e[Ue]=t}function Un(e,t){for(var n=e[be].firstChild;n;){if(et(n,e)===t)return n.index;n=$n(n)}return-1}function $n(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Gn(e,t){var n=e[be].components;if(n)for(var l=0;l=0)&&null})}}return i.sort(ol),i}function ol(e,t){return e.name==t.name?0:e.name-1?t[we][n]:null}return t[we][e.parent.index]}function Tl(e,t){var n=Ol(e,t);return n?n[Be]:null}var Dl=[];function Rl(e,t,n,l,i){for(var o=e[be].node,r=-1,u=e,a=o.child;a;){var s=null;if(3===a.type){kl(t,n,l,et(a,u),i);var c=u[a.index];rt(c)&&kl(t,n,l,c[He],i)}else if(0===a.type){var d=u[a.index];kl(t,n,l,d[He],i),l&&(d[Be]=l),d[je].length&&(s=(u=d[je][0])[be].node,i=d[He])}else if(1===a.type){var p=yt(u),h=p[Ee].projection[a.projection];Dl[++r]=a,Dl[++r]=u,h&&(s=(u=p[we])[be].data[h.index])}else s=a.child;if(null===s)for(null===a.next&&2&a.flags&&(u=Dl[r--],a=Dl[r--]),s=a.next;!s;){if(null===(a=a.parent||u[be].node)||a===o)return null;0===a.type&&(i=(u=u[we])[a.index][He]),s=2===a.type&&u[_e]?(u=u[_e])[be].node:a.next}a=s}}function kl(e,t,n,l,i){0===e?xl(t)?t.insertBefore(n,l,i):n.insertBefore(l,i,!0):1===e?xl(t)?t.removeChild(n,l):n.removeChild(l):2===e&&t.destroyNode(l)}function Ml(e,t){return xl(t)?t.createText(Ze(e)):t.createTextNode(Ze(e))}function Nl(e,t,n){var l=Tl(e[be].node,e);l&&Rl(e,t?0:1,e[ke],l,n)}function Ll(e,t,n,l,i){var o=t[je];l>0&&(o[l-1][_e]=e),l-1&&(e[Le]=i,e[we]=n),e[xe]&&e[xe].insertView(l),e[Ce]|=16}function Al(e,t,n){var l=e[je],i=l[t];return t>0&&(l[t-1][_e]=i[_e]),l.splice(t,1),n||Nl(i,!1),i[xe]&&i[xe].removeView(),i[Le]=-1,i[we]=null,i[Ce]&=-17,i}function Pl(e,t,n){var l=e[je][n];Al(e,n,!!t.detached),Vl(l)}function Fl(e){var t=e[be].childIndex;return-1===t?null:e[t]}function Vl(e){var t=e[ke];xl(t)&&t.destroyNode&&Rl(e,2,t,null),function(e){if(-1===e[be].childIndex)return Hl(e);for(var t=Fl(e);t;){var n=null;if(t.length>=Fe?t[be].childIndex>-1&&(n=Fl(t)):t[je].length&&(n=t[je][0]),null==n){for(;t&&!t[_e]&&t!==e;)Hl(t),t=jl(t,e);Hl(t||e),n=t&&t[_e]}t=n}}(e),e[Ce]|=64}function jl(e,t){var n;return e.length>=Fe&&(n=e[Ee])&&2===n.type?Ol(n,e):e[we]===t?null:e[we]}function Hl(e){if(e.length>=Fe){var t=e;!function(e){var t,n=e[be];null!=n&&null!=(t=n.destroyHooks)&&zt(e,t)}(t),(i=(l=t)[be]&&l[be].pipeDestroyHooks)&&zt(l,i),function(e){var t=e[be].cleanup;if(null!=t){for(var n=e[Oe],l=0;l=0?n[r]():n[-r].unsubscribe(),l+=2}else"number"==typeof t[l]?(0,n[t[l]])():t[l].call(n[t[l+1]]);e[Oe]=null}}(t);var n=t[Ee];n&&3===n.type&&xl(t[ke])&&t[ke].destroy()}var l,i}function Bl(e,t){if(zl(e,t)){if(ut(t))return $l(t[ke],et(e,t));var n=t[Ee],l=e.parent;return null!=l&&4===l.type&&(e=Wl(l)),null==e.parent&&2===n.type?Tl(n,t):El(e,t)}return null}function zl(e,t){var n,l=e,i=e.parent;return e.parent&&(4===e.parent.type?i=(l=Wl(e)).parent:5===e.parent.type&&(i=(l=Il(l)).parent)),null===i&&(i=t[Ee]),i&&2===i.type?null!=(n=Ol(i,t))&&null!=n[Be]:null==l.parent||!(3!==l.parent.type||1&l.parent.flags)}function Ul(e,t,n,l){xl(e)?e.insertBefore(t,n,l):t.insertBefore(n,l,!0)}function $l(e,t){return xl(e)?e.parentNode(t):t.parentNode}function Gl(e,t,n){if(void 0===e&&(e=null),null!==e&&zl(t,n)){var l=n[ke],i=El(t,n),o=t.parent||n[Ee];if(2===o.type){var r=Ol(o,n),u=r[je],a=u.indexOf(n);Ul(l,r[Be],e,ql(a,u,r[He]))}else 4===o.type?Ul(l,Bl(t,n),e,i):5===o.type?Ul(l,i,e,et(t.parent,n)):xl(l)?l.appendChild(i,e):i.appendChild(e);return!0}return!1}function Wl(e){for(;null!=e.parent&&4===e.parent.type;)e=e.parent;return e}function ql(e,t,n){if(e+1-1&&f>c?"":s[f+1],8&a&&(o=(l=g).length,u=(r=l.indexOf(i=m))+i.length,-1===r||r>0&&" "!==l[r-1]||u=9?t+0:t;n?e[l]|=1:e[l]&=-2}function _i(e,t){return 1==(1&e[t>=9?t+0:t])}function xi(e,t){return 2==(2&e[t>=9?t+0:t])}function Si(e,t){return 4==(4&e[t>=9?t+0:t])}function Ei(e,t,n){return 63&e|t<<6|n<<20}function Ii(e,t){var n=Oi(t);return(2&t?e[3]:e[2])[n]}function Oi(e){return e>>6&16383}function Ti(e){var t=e>>20&16383;return t>=9?t:-1}function Di(e){return Ti(e[0])}function Ri(e,t,n){e[t+1]=n}function ki(e,t,n){e[t+2]=n}function Mi(e,t,n){var l=e[8];if(t){if(!l||0===n)return!0}else if(!l)return!1;return l[n]!==t}function Ni(e,t,n){var l=e[8]||pi(e);return n>0?l[n]=t:(l.splice(n=l[0],0,t,null),l[0]+=2),n}function Li(e,t,n,l){var i=function(e,t){return n<<16|e}(l);e[t+3]=i}function Ai(e,t){return e[t+3]>>16&65535}function Pi(e,t){var n=Ai(e,t);if(n){var l=e[8];if(l)return l[n]}return null}function Fi(e,t,n){e[0===t?t:t+0]=n}function Vi(e,t){return e[0===t?t:t+0]}function ji(e,t){return e[t+2]}function Hi(e,t){return e[t+1]}function Bi(e){return 16&e[0]}function zi(e,t){wi(e,0,t)}function Ui(e,t){t?e[0]|=8:e[0]&=-9}function $i(e,t,n){for(var l=(n||0)+1;l=0&&Fi(e,s,Ei(c=Vi(e,s),Oi(c),n));var c,d=Ti(a);d>=0&&Fi(e,d,Ei(c=Vi(e,d),Oi(c),t)),ki(e,t,ji(e,n)),Ri(e,t,Hi(e,n)),Fi(e,t,Vi(e,n)),Li(e,t,Ai(e,n),0),ki(e,n,l),Ri(e,n,i),Fi(e,n,o),Li(e,n,r,0)}function Wi(e,t,n,l,i,o,r,u){var a=t0){var o=Oi(Vi(e,i));Fi(e,i,Ei((_i(e,i)?1:0)|(xi(e,i)?2:0)|(Si(e,i)?4:0),o,l))}}}(e)}function qi(e,t){return t?!!e:null!==e}function Ki(e,t,n,l){var i,o=l&&l(t)?4:0;return n?(o|=2,i=eo(e[3],t)):i=eo(e[2],t),Ei(o,i=i>0?i+1:0,0)}function Yi(e,t,n){return!(2&e)&&t&&n&&4&e?t.toString()!==n.toString():t!==n}var Zi=function(){function e(e,t,n){this._element=t,this._type=n,this._values={},this._dirty=!1,this._factory=e}return e.prototype.setValue=function(e,t){this._values[e]!==t&&(this._values[e]=t,this._dirty=!0)},e.prototype.buildPlayer=function(e,t){if(this._dirty){var n=this._factory.fn(this._element,this._type,this._values,t,e||null);return this._values={},this._dirty=!1,n}},e}();function Qi(e,t){return 65535&e[t+3]}function Xi(e,t){var n=Ji(e[1],t);return n>0?n/4:0}function Ji(e,t){for(var n=0;ni)for(var r=0===t,u=n.data,a=i;a=0)return-1;l=r/4,i[r+1]=o,i[r+3]=n||null}return l}(e,t,i);if(-1!==r){var u=e[4],a=u[1],s=u[0],c=4*s,d=9+c,p=d+4*a,h=p+c,f=u.length;u.push(l?l.length:0,n?n.length:0);var g=0,m=[];if(l&&l.length)for(var v=0;v=p,k=D>=(R?h:d),M=Vi(e,D),N=Oi(M),L=Ti(M);Fi(e,D,Ei(M,N,L+=R?k?4*m.length:0:4*T+4*(k?m.length:0)))}for(var A=0;A<4*m.length;A++)e.splice(h,0,null),e.splice(d,0,null),d++,p++,h+=2;for(var P=0;P<4*b.length;P++)e.splice(p,0,null),e.push(null),p++,h++;for(var F=e[3],V=e[2],j=0;j=m.length,B=H?j-m.length:j,z=H?b[B]:m[B],U=void 0,$=void 0;H?(U=h+4*(a+B),$=d+4*(a+B)):(U=p+4*(s+B),$=9+4*(s+B));var G=H?F:V,W=eo(G,z);-1===W?(W=G.length+1,G.push(z,!H&&null)):W+=1;var q=Ki(e,z,H,i||null);Fi(e,$,Ei(q,W,U)),Ri(e,$,z),ki(e,$,null),Li(e,$,0,r),Fi(e,U,Ei(q,W,$)),Ri(e,U,z),ki(e,U,null),Li(e,U,0,r)}u[1]=a+b.length,u[0]=s+m.length,Fi(e,0,Ei(0,0,p)|(o?16:0))}}}(i.stylingTemplate,l||null,e,t,n,hi(i))}function Ho(e,t){var n=Jt();n.stylingTemplate||(n.stylingTemplate=fi(t)),function(e,t,n){var l=e[1];if(-1==Ji(l,n)){l.push(n,-1,!1,null);for(var i=null,o=null,r=-1,u=0;u0&&fr(st(n),2)}function zo(e,t,n,l,i){var o=null;null!==n&&(o=l?Ze(n)+l:n),yi(ai(e+Fe,Qt()),t,o,!1,i)}function Uo(e,t,n,l){var i=n instanceof ii?n:!!n;yi(ai(e+Fe,Qt()),t,i,!0,l)}function $o(e,t,n,l){if(null!=l)return function(e,t,n,l){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var i=Qt(),o=tt(e,i),r=ai(e+Fe,i);if(hi(o)&&t!==fl){var u=lo(r);Fo(i,o.inputs.class,(u.length?u+" ":"")+t)}else!function(e,t,n,l){n=n||null;var i=Xi(e,null),o=e[5],r=t instanceof ii?new Zi(t,o,1):null,u=n instanceof ii?new Zi(n,o,2):null,a=r?t.value:t,s=u?n.value:n,c=Bi(e)||a===fl||a===e[6],d=s===fl||s===e[7];if(!c||!d){e[6]=a,e[7]=s;var p=oe,h=!1,f=!1,g=r?1:0;Mi(e,r,1)&&(Ni(e,r,1),f=!0);var m=u?3:0;Mi(e,u,3)&&(Ni(e,u,3),f=!0),c||("string"==typeof a?(p=a.split(/\s+/),h=!0):p=a?Object.keys(a):oe);for(var v=a||ie,y=s?Object.keys(s):oe,b=s||ie,C=y.length,w=!1,_=Di(e),x=0,S=y.length+p.length;_=C)&&!d||P&&!c){var E=P?x-C:x,I=P?p[E]:y[E],O=P?!!h||v[I]:b[I],T=P?g:m;if((F=Hi(e,_))===I){var D=ji(e,_),R=Vi(e,_);if(Li(e,_,T,i),Yi(R,D,O)){ki(e,_,O),f=f||!!T;var k=Ii(e,R);(null!=D||Yi(R,k,O))&&(wi(e,_,!0),w=!0)}}else{var M=$i(e,I,_);if(M>0){var N=ji(e,M),L=Vi(e,M);Gi(e,_,M),Yi(L,N,O)&&(k=Ii(e,L),ki(e,_,O),(null!=N||Yi(L,k,O))&&(wi(e,_,!0),f=f||!!T,w=!0))}else f=f||!!T,Wi(e,_,P,I,Ki(e,I,P,to(e,i)),O,i,T),w=!0}}_+=4,x++}for(;_=C)&&!d||P&&!c){E=P?x-C:x;var F=P?p[E]:y[E],V=(D=P?!!h||v[F]:b[F],R=1|Ki(e,F,P,A),T=P?g:m,e.length);e.push(R,F,D,0),Li(e,V,T,i),w=!0}x++}w&&(zi(e,!0),no(e,i,!0)),f&&Ui(e,!0)}}(r,t,n)}function Go(e,t){var n=Qt(),l=Ml(t,n[ke]),i=uo(e,3,l,null,null);ln(!1),Gl(l,i,n)}function Wo(e,t){if(t!==fl){var n=Qt(),l=Je(e,n),i=n[ke];xl(i)?i.setValue(l,Ze(t)):l.textContent=Ze(t)}}function qo(e,t,n){var l=-(t.index-Fe),i=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(l,i,n)}function Ko(e,t,n,l){var i=Jt();Yo(e,i,t,n),i&&i.attrs&&function(e,t,l,o){var r=i.initialInputs;(void 0===r||e>=r.length)&&(r=function(e,t,n){var l=n.initialInputs||(n.initialInputs=[]);l[e]=null;for(var i=n.attrs,o=0;o=o.length||null==o[e])&&(o[e]=Io(e,null,t,n,i.directiveRegistry,i.pipeRegistry,null)),o[e]}(e,t,n,o),null,4),r[xe]&&(u[xe]=r[xe].createView()),ao(e,u),mn(u,u[be].node)),r&&(on(u)&&Ll(u,r,l,r[Ve],-1),r[Ve]++),on(u)?3:2}function ar(){var e=Qt(),t=e[Ee];on(e)&&(oo(e),e[Ce]&=-2),oo(e),yn(e[we]),en(t),ln(!1)}function sr(e,t){var n=yt(Qt())[Ee];if(!n.projection)for(var l=n.projection=new Array(e?e.length+1:1).fill(null),i=l.slice(),o=n.child;null!==o;){var r=e?ni(o,e,t):0,u=o.next;i[r]?i[r].next=o:(l[r]=o,o.next=null),i[r]=o,o=u}}var cr=[];function dr(e,t,n){void 0===t&&(t=0);var l=Qt(),i=uo(e,1,null,null,n||null);null===i.projection&&(i.projection=t),ln(!1);for(var o=yt(l),r=o[Ee].projection[t],u=o[we],a=-1;r;){if(1===r.type){var s=yt(u),c=s[Ee].projection[r.projection];if(c){cr[++a]=r,cr[++a]=u,r=c,u=s[we];continue}}else r.flags|=2,Yl(r,i,l,u);null===r.next&&u!==o[we]&&(u=cr[a--],r=cr[a--]),r=r.next}}function pr(e,t,n){var l=e[be],i=dn();return e[Ne]?e[Ne][_e]=n:i&&(l.childIndex=t),e[Ne]=n,n}function hr(e){for(;e&&!(128&e[Ce]);)e[Ce]|=8,e=e[we];e[Ce]|=8,fr(e[Te],1)}function fr(e,t){var n,l=0===e.flags;e.flags|=t,l&&e.clean==io&&(e.clean=new Promise(function(e){return n=e}),e.scheduler(function(){if(1&e.flags&&(e.flags&=-2,gr(e)),2&e.flags){e.flags&=-3;var t=e.playerHandler;t&&t.flushPlayers()}e.clean=io,n(null)}))}function gr(e){for(var t=0;t=2&&l[i-2]===t.hostBindings?l[i-1]=l[i-1]+n:l.push(t.hostBindings,n)}(n,qt,e),function(e,t,n){for(var l=0;l=l.data.length&&(l.data[i]=null),n[i]=t}function Nr(e){return Qe(rn,e)}function Lr(e){return Qt()[Ae][e]}function Ar(e){return Qe(Qt(),e)}function Pr(e,t){return void 0===t&&(t=Ot.Default),e=X(e),Dn(Jt(),Qt(),e,t)}function Fr(e){return Tn(Jt(),e)}function Vr(e,t){var n=Qt(),l=n[be],i=(n[Ae]||(n[Ae]=[])).push(e);if(dn()){var o=l.contentQueries||(l.contentQueries=[]);t!==(l.contentQueries.length?l.contentQueries[l.contentQueries.length-2]:-1)&&o.push(t,i-1)}}var jr=io;function Hr(e){return e?(void 0===e.inputs&&(e.inputs=Vo(e,0)),e.inputs):null}function Br(){return Qt()}function zr(e){return e[Oe]||(e[Oe]=[])}function Ur(e){return e[be].cleanup||(e[be].cleanup=[])}function $r(e,t){var n=jn(e);if(n){var l=n.native,i=n.lView,o=function(e,t){if(!(t=t||jn(l)))return null;var n=ai(t.nodeIndex,t.lView);return di(n)||pi(n)}(0,n),r=Zn(i);ci(o,r,l,t,0,e),fr(r,2)}}function Gr(e){var t=jn(e);if(!t)return[];var n=ai(t.nodeIndex,t.lView),l=n?di(n):null;return l?function(e){for(var t=[],n=e[0],l=2;l ");else if("object"==typeof t){var i=[];for(var o in t)if(t.hasOwnProperty(o)){var r=t[o];i.push(o+":"+("string"==typeof r?JSON.stringify(r):Y(r)))}l="{"+i.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+l+"]: "+e.replace(xu,"\n ")}function Tu(e,t){return new Error(Ou(e,t))}var Du=new x("The presence of this token marks an injector as being the root injector."),Ru={},ku={},Mu=[],Nu=void 0;function Lu(){return void 0===Nu&&(Nu=new hu),Nu}function Au(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||Lu(),new Pu(e,n,t)}var Pu=function(){function e(e,t,n){var l=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var i=[];Hu([e],function(e){return l.processInjectorType(e,[],i)}),t&&Hu(t,function(n){return l.processProvider(n,e,t)}),this.records.set(pu,ju(void 0,this)),this.isRootInjector=this.records.has(Du),this.injectorDefTypes.forEach(function(e){return l.get(e)})}return e.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},e.prototype.get=function(e,t,n){void 0===t&&(t=du),void 0===n&&(n=Ot.Default),this.assertNotDestroyed();var l,i=Dt(this);try{if(!(n&Ot.SkipSelf)){var o=this.records.get(e);if(void 0===o){var r=("function"==typeof(l=e)||"object"==typeof l&&l instanceof x)&&w(e);r&&this.injectableDefInScope(r)&&(o=ju(Fu(e),Ru),this.records.set(e,o))}if(void 0!==o)return this.hydrate(e,o)}return(n&Ot.Self?Lu():this.parent).get(e,t)}finally{Dt(i)}},e.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t,n){var l=this;if(e=X(e)){var i=_(e),o=null==i&&e.ngModule||void 0,r=void 0===o?e:o,u=-1!==n.indexOf(r),a=void 0!==o&&e.providers||Mu;if(void 0!==o&&(i=_(o)),null!=i){if(this.injectorDefTypes.add(r),this.records.set(r,ju(i.factory,Ru)),null!=i.imports&&!u){n.push(r);try{Hu(i.imports,function(e){return l.processInjectorType(e,t,n)})}finally{}}var s=i.providers;if(null!=s&&!u){var c=e;Hu(s,function(e){return l.processProvider(e,c,s)})}var d=e.ngModule;Hu(a,function(e){return l.processProvider(e,d,a)})}}},e.prototype.processProvider=function(e,t,n){var l=zu(e=X(e))?e:X(e&&e.provide),i=function(e,t,n){var l=Vu(e,t,n);return Bu(e)?ju(void 0,e.useValue):ju(l,Ru)}(e,t,n);if(zu(e)||!0!==e.multi){var o=this.records.get(l);if(o&&void 0!==o.multi)throw new Error("Mixed multi-provider for "+Y(l))}else{var r=this.records.get(l);if(r){if(void 0===r.multi)throw new Error("Mixed multi-provider for "+l+".")}else(r=ju(void 0,Ru,!0)).factory=function(){return Lt(r.multi)},this.records.set(l,r);l=e,r.multi.push(e)}this.records.set(l,i)},e.prototype.hydrate=function(e,t){if(t.value===ku)throw new Error("Cannot instantiate cyclic dependency! "+Y(e));var n;return t.value===Ru&&(t.value=ku,t.value=t.factory()),"object"==typeof t.value&&t.value&&"object"==typeof(n=t.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value},e.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},e}();function Fu(e){var t=w(e);if(null===t){var n=_(e);if(null!==n)return n.factory;if(e instanceof x)throw new Error("Token "+Y(e)+" is missing an ngInjectableDef definition.");if(e instanceof Function){var l=e.length;if(l>0){var i=new Array(l).fill("?");throw new Error("Can't resolve all parameters for "+Y(e)+": ("+i.join(", ")+").")}return function(){return new e}}throw new Error("unreachable")}return t.factory}function Vu(e,t,n){var i,o=void 0;if(zu(e))return Fu(X(e));if(Bu(e))o=function(){return X(e.useValue)};else if((i=e)&&i.useExisting)o=function(){return Mt(X(e.useExisting))};else if(e&&e.useFactory)o=function(){return e.useFactory.apply(e,Object(l.__spread)(Lt(e.deps||[])))};else{var r=X(e&&(e.useClass||e.provide));if(!r){var u="";throw t&&n&&(u=" - only instances of Provider and Type are allowed, got: ["+n.map(function(t){return t==e?"?"+e+"?":"..."}).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+Y(t)+"'"+u)}if(!e.deps)return Fu(r);o=function(){return new(r.bind.apply(r,Object(l.__spread)([void 0],Lt(e.deps))))}}return o}function ju(e,t,n){return void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function Hu(e,t){e.forEach(function(e){return Array.isArray(e)?Hu(e,t):t(e)})}function Bu(e){return e&&"object"==typeof e&&wu in e}function zu(e){return"function"==typeof e}function Uu(e,t,n,l,i){if(e=X(e),Array.isArray(e))for(var o=0;o>16;if(zu(e)||!e.multi){var h=new Ke(a,i,Pr),f=Gu(u,t,i?c:c+p,d);-1==f?(On(xn(s,r),r,u),t.push(u),s.directiveStart++,s.directiveEnd++,i&&(s.providerIndexes+=65536),n.push(h),r.push(h)):(n[f]=h,r[f]=h)}else{var g=Gu(u,t,c+p,d),m=Gu(u,t,c,c+p),v=m>=0&&n[m];i&&!v||!i&&!(g>=0&&n[g])?(On(xn(s,r),r,u),h=function(e,t,n,l,i){var o=new Ke(e,n,Pr);return o.multi=[],o.index=t,o.componentProviders=0,$u(o,i,l&&!n),o}(i?qu:Wu,n.length,i,l,a),!i&&v&&(n[m].providerFactory=h),t.push(u),s.directiveStart++,s.directiveEnd++,i&&(s.providerIndexes+=65536),n.push(h),r.push(h)):$u(n[i?m:g],a,!i&&l),!i&&l&&v&&n[m].componentProviders++}}}function $u(e,t,n){e.multi.push(t),n&&e.componentProviders++}function Gu(e,t,n,l){for(var i=n;i-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Vl(this._lView)},e.prototype.onDestroy=function(e){var t,n;n=e,zr(t=this._lView).push(n),t[be].firstTemplatePass&&Ur(t).push(t[Oe].length-1,null)},e.prototype.markForCheck=function(){hr(this._lView)},e.prototype.detach=function(){this._lView[Ce]&=-17},e.prototype.reattach=function(){this._lView[Ce]|=16},e.prototype.detectChanges=function(){vr(this._lView,this.context)},e.prototype.checkNoChanges=function(){!function(e){sn(!0);try{mr(e)}finally{sn(!1)}}(this.context)},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype._lookUpContext=function(){return this._context=this._lView[we][this._componentIndex]},e}(),ca=function(e){function t(t){var n=e.call(this,t,null,-1)||this;return n._view=t,n}return Object(l.__extends)(t,e),t.prototype.detectChanges=function(){yr(this._view)},t.prototype.checkNoChanges=function(){!function(e){sn(!0);try{yr(e)}finally{sn(!1)}}(this._view)},Object.defineProperty(t.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),t}(sa);function da(e,t,n){return Ju||(Ju=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(l.__extends)(t,e),t}(e)),new Ju(et(t,n))}function pa(e,t,n,i){if(ea||(ea=function(e){function t(t,n,l,i,o,r){var u=e.call(this)||this;return u._declarationParentView=t,u.elementRef=n,u._tView=l,u._renderer=i,u._queries=o,u._injectorIndex=r,u}return Object(l.__extends)(t,e),t.prototype.createEmbeddedView=function(e,t,n,l,i){var o=function(e,t,n,l,i,o){var r=nn(),u=Jt();ln(!0),en(null);var a=ro(n,e,t,4);return a[Pe]=n,i&&(a[xe]=i.createView()),ao(-1,a),e.firstTemplatePass&&(e.node.injectorIndex=o),ln(r),en(u),a}(this._tView,e,this._declarationParentView,0,this._queries,this._injectorIndex);t&&Ll(o,t,l,i,n.index),co(o,this._tView,e);var r=new sa(o,e,-1);return r._tViewNode=o[Ee],r},t}(e)),0===n.type){var o=i[n.index];return new ea(i,da(t,n,i),n.tViews,Qt()[ke],o[xe],n.injectorIndex)}return null}function ha(e,t,n){if(it(e)){var l=e.directiveStart,i=nt(e.index,t);return new sa(i,n,l)}if(3===e.type){var o=yt(t);return new sa(o,o[Te],-1)}return null}var fa=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return ma(e)},e}(),ga=function(e){return da(e,Jt(),Qt())},ma=au,va=function(){return function(e,t,n,l,i,o){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=l,this.styles=i,this.animations=o}}(),ya=function(){return function(){}}(),ba=function(){return function(){}}(),Ca=function(){return function(){}}(),wa=function(){return function(){}}(),_a=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),xa=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Ea()},e}(),Sa=function(){return function(e){var t=Qt()[ke];if(xl(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}()},Ea=au,Ia=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({}),Oa=function(){return function(){}}(),Ta=function(){return function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}(),Da=new Ta("7.2.14"),Ra=function(e){function t(t){var n=e.call(this)||this;return n.ngModule=t,n}return Object(l.__extends)(t,e),t.prototype.resolveComponentFactory=function(e){var t=ge(e);return new Aa(t,this.ngModule)},t}(ia);function ka(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var Ma=new x("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Jr(Mt(Na))}}),Na=new x("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return mt}}),La={},Aa=function(e){function t(t,n){var l=e.call(this)||this;return l.componentDef=t,l.ngModule=n,l.componentType=t.type,l.selector=t.selectors[0][0],l.ngContentSelectors=[],l}return Object(l.__extends)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){return ka(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return ka(this.componentDef.outputs)},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,l){var i=void 0===n,o=(l=l||this.ngModule)?function(e,t){return{get:function(n,l){var i=e.get(n,La);return i!==La||l===La?i:t.get(n,l)}}}(e,l.injector):e,r=o.get(wa,Sl),u=o.get(Oa,null),a=i?xo(this.selector,r.createRenderer(null,this.componentDef)):To(r,n),s=this.componentDef.onPush?136:132,c=i?Jr():o.get(Ma),d=r.createRenderer(a,this.componentDef);n&&a&&(xl(d)?d.setAttribute(a,"ng-version",Da.full):a.setAttribute("ng-version",Da.full));var p,h,f=ro(null,Io(-1,null,1,0,null,null,null),c,s,r,d,u,o),g=mn(f,null);try{r.begin&&r.begin();var m=Qr(a,this.componentDef,f,r,d);if(h=tt(0,f),t)for(var v=0,y=f[be],b=h.projection=[],C=0;C',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

    ',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e=""+e+"";try{e=encodeURI(e)}catch(l){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e=""+e+"";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();Ja.hasOwnProperty(t)&&!Ya.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(us(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),os=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rs=/([^\#-~ |!])/g;function us(e){return e.replace(/&/g,"&").replace(os,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(rs,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function as(e,t){var n=null;try{Ka=Ka||new Ba(e);var l=t?String(t):"";n=Ka.getInertBodyElement(l);var i=5,o=l;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,l=o,o=n.innerHTML,n=Ka.getInertBodyElement(l)}while(l!==o);var r=new is,u=r.sanitizeChildren(ss(n)||n);return ja()&&r.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),u}finally{if(n)for(var a=ss(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}function ss(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var cs={marker:"element"},ds={marker:"comment"},ps="\ufffd",hs=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,fs=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,gs=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,ms=/\ufffd(\d+):?\d*\ufffd/gi,vs=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,ys=/\[(\ufffd.+?\ufffd?)\]/g,bs=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Cs=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g;function ws(e){if(!e)return[];var t,n=0,l=[],i=[],o=/[{}]/g;for(o.lastIndex=0;t=o.exec(e);){var r=t.index;if("}"==t[0]){if(l.pop(),0==l.length){var u=e.substring(n,r);hs.test(u)?i.push(_s(u)):u&&i.push(u),n=r+1}}else{if(0==l.length){var a=e.substring(n,r);i.push(a),n=r+1}l.push("{")}}var s=e.substring(n);return""!=s&&i.push(s),i}function _s(e){for(var t=[],n=[],l=1,i=0,o=ws(e=e.replace(hs,function(e,t,n){return l="select"===n?0:1,i=parseInt(t.substr(1),10),""})),r=0;r0&&r!==u&&c.push(r.index<<3|0);for(var d=[],p=[],h=function(e,t){if("number"!=typeof t)return xs(e);var n=e.indexOf(":"+t+ps)+2+t.toString().length,l=e.search(new RegExp(ps+"\\/\\*\\d+:"+t+ps));return xs(e.substring(n,l))}(n,l).split(gs),f=0;f>>17,d=void 0;r=ks(o,d=c===e?l[Ee]:tt(c,l),r),d.next=null;break;case 0:var p=s>>>3;u.push(p),r=o,(o=tt(p,l))&&(en(o),3===o.type&&ln(!0));break;case 5:r=o=tt(s>>>3,l),en(o),ln(!1);break;case 4:ko(s>>>3,t[++a],t[++a]);break;default:throw new Error('Unable to determine the type of mutate operation for "'+s+'"')}else switch(s){case ds:var h=t[++a],f=i.createComment(h);r=o,o=uo(n++,5,f,null,null),zn(f,l),o.activeCaseIndex=null,ln(!1);break;case cs:var g=t[++a];r=o,o=uo(n++,3,i.createElement(g),g,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'+s+'"')}}return ln(!1),u}function As(e,t){var n=tt(e,t);Kl(n,Je(e,t)||null,t),n.detached=!0;var l=Ar(e);if(rt(l)){var i=l;0!==n.type&&Kl(n,i[He]||null,t),i[Be]=null}}function Ps(e,t,n){Rs(e,t,n),Ns()}function Fs(e,t){var n=Qt()[be];n.firstTemplatePass&&null===n.data[e+Fe]&&function(e,t,n){for(var l=Jt().index-Fe,i=[],o=0;o>>2,g=void 0,m=void 0;switch(3&h){case 1:ko(f,t[++p],d,t[++p]);break;case 0:Wo(f,d);break;case 2:if(g=n[t[++p]],null!==(m=tt(f,o)).activeCaseIndex)for(var v=g.remove[m.activeCaseIndex],y=0;y>>3,o);break;case 6:var C=tt(v[y+1]>>>3,o).activeCaseIndex;null!==C&&vt(n[b>>>3].remove[C],v)}}var w=Us(g,d);m.activeCaseIndex=-1!==w?w:null,Ls(-1,g.create[w],g.expandoStartIndex,o),u=!0;break;case 3:g=n[t[++p]],m=tt(f,o),e(g.update[m.activeCaseIndex],n,l,i,o,u)}}}a+=c}}(l,i,t[Ie]-js-1,Vs,t),Vs=0,js=0}}var zs=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({});function Us(e,t){var n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:var l=function(e,n){switch(function(e,t){"string"==typeof t&&(t=parseInt(t,10));var n=t,l=n.toString().replace(/^[^.]*\.?/,""),i=Math.floor(Math.abs(n)),o=l.length,r=parseInt(l,10),u=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(e.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?zs.One:zs.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?zs.One:zs.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===i||1===n?zs.One:zs.Other;case"ar":return 0===n?zs.Zero:1===n?zs.One:2===n?zs.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?zs.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?zs.Many:zs.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===i&&0===o?zs.One:zs.Other;case"be":return n%10==1&&n%100!=11?zs.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?zs.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?zs.Many:zs.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?zs.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?zs.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?zs.Few:0!==n&&n%1e6==0?zs.Many:zs.Other;case"bs":case"hr":case"sr":return 0===o&&i%10==1&&i%100!=11||r%10==1&&r%100!=11?zs.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)||r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?zs.Few:zs.Other;case"cs":case"sk":return 1===i&&0===o?zs.One:i===Math.floor(i)&&i>=2&&i<=4&&0===o?zs.Few:0!==o?zs.Many:zs.Other;case"cy":return 0===n?zs.Zero:1===n?zs.One:2===n?zs.Two:3===n?zs.Few:6===n?zs.Many:zs.Other;case"da":return 1===n||0!==u&&(0===i||1===i)?zs.One:zs.Other;case"dsb":case"hsb":return 0===o&&i%100==1||r%100==1?zs.One:0===o&&i%100==2||r%100==2?zs.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||r%100===Math.floor(r%100)&&r%100>=3&&r%100<=4?zs.Few:zs.Other;case"ff":case"fr":case"hy":case"kab":return 0===i||1===i?zs.One:zs.Other;case"fil":return 0===o&&(1===i||2===i||3===i)||0===o&&i%10!=4&&i%10!=6&&i%10!=9||0!==o&&r%10!=4&&r%10!=6&&r%10!=9?zs.One:zs.Other;case"ga":return 1===n?zs.One:2===n?zs.Two:n===Math.floor(n)&&n>=3&&n<=6?zs.Few:n===Math.floor(n)&&n>=7&&n<=10?zs.Many:zs.Other;case"gd":return 1===n||11===n?zs.One:2===n||12===n?zs.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?zs.Few:zs.Other;case"gv":return 0===o&&i%10==1?zs.One:0===o&&i%10==2?zs.Two:0!==o||i%100!=0&&i%100!=20&&i%100!=40&&i%100!=60&&i%100!=80?0!==o?zs.Many:zs.Other:zs.Few;case"he":return 1===i&&0===o?zs.One:2===i&&0===o?zs.Two:0!==o||n>=0&&n<=10||n%10!=0?zs.Other:zs.Many;case"is":return 0===u&&i%10==1&&i%100!=11||0!==u?zs.One:zs.Other;case"ksh":return 0===n?zs.Zero:1===n?zs.One:zs.Other;case"kw":case"naq":case"se":case"smn":return 1===n?zs.One:2===n?zs.Two:zs.Other;case"lag":return 0===n?zs.Zero:0!==i&&1!==i||0===n?zs.Other:zs.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?zs.Few:0!==r?zs.Many:zs.Other:zs.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===o&&r%100===Math.floor(r%100)&&r%100>=11&&r%100<=19?zs.Zero:n%10==1&&n%100!=11||2===o&&r%10==1&&r%100!=11||2!==o&&r%10==1?zs.One:zs.Other;case"mk":return 0===o&&i%10==1||r%10==1?zs.One:zs.Other;case"mt":return 1===n?zs.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?zs.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?zs.Many:zs.Other;case"pl":return 1===i&&0===o?zs.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?zs.Few:0===o&&1!==i&&i%10===Math.floor(i%10)&&i%10>=0&&i%10<=1||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=12&&i%100<=14?zs.Many:zs.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?zs.One:zs.Other;case"ro":return 1===i&&0===o?zs.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?zs.Few:zs.Other;case"ru":case"uk":return 0===o&&i%10==1&&i%100!=11?zs.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?zs.Few:0===o&&i%10==0||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=14?zs.Many:zs.Other;case"shi":return 0===i||1===n?zs.One:n===Math.floor(n)&&n>=2&&n<=10?zs.Few:zs.Other;case"si":return 0===n||1===n||0===i&&1===r?zs.One:zs.Other;case"sl":return 0===o&&i%100==1?zs.One:0===o&&i%100==2?zs.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||0!==o?zs.Few:zs.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?zs.One:zs.Other;default:return zs.Other}}("en-US",t)){case zs.Zero:return"zero";case zs.One:return"one";case zs.Two:return"two";case zs.Few:return"few";case zs.Many:return"many";default:return"other"}}();-1===(n=e.cases.indexOf(l))&&"other"!==l&&(n=e.cases.indexOf("other"));break;case 0:n=e.cases.indexOf("other")}return n}function $s(e,t,n,i){for(var o=[],r=[],u=[],a=[],s=[],c=0;c=0;n--){var l=t[n];if(e===l.name)return l}throw new Error("The pipe '"+e+"' could not be found!")}(t,l.pipeRegistry),l.data[i]=n,n.onDestroy&&(l.pipeDestroyHooks||(l.pipeDestroyHooks=[])).push(i,n.onDestroy)):n=l.data[i];var o=n.factory(null);return Mr(e,o),o}function ac(e,t,n){var l=Ar(e);return fc(hc(e)?Xs(t,l.transform,n,l):l.transform(n))}function sc(e,t,n,l){var i=Ar(e);return fc(hc(e)?Js(t,i.transform,n,l,i):i.transform(n,l))}function cc(e,t,n,l,i){var o=Ar(e);return fc(hc(e)?ec(t,o.transform,n,l,i,o):o.transform(n,l,i))}function dc(e,t,n,l,i,o){var r=Ar(e);return fc(hc(e)?tc(t,r.transform,n,l,i,o,r):r.transform(n,l,i,o))}function pc(e,t,n){var l=Ar(e);return fc(hc(e)?rc(t,l.transform,n,l):l.transform.apply(l,n))}function hc(e){return Qt()[be].data[e+Fe].pure}function fc(e){return sl.isWrapped(e)&&(e=sl.unwrap(e),Qt()[fn()]=fl),e}var gc=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return Object(l.__extends)(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,l){var o,r=function(e){return null},u=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(r=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(u=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(r=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),l&&(u=this.__isAsync?function(){setTimeout(function(){return l()})}:function(){l()}));var a=e.prototype.subscribe.call(this,o,r,u);return t instanceof i.a&&t.add(a),a},t}(o.a),mc=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return yc(e,fa)},e}(),vc=function(e,t){return pa(e,t,Jt(),Qt())},yc=au,bc=function(){function e(e,t,n){this.parent=e,this.shallow=t,this.deep=n}return e.prototype.track=function(e,t,n,l){n?this.deep=kc(this.deep,e,t,null!=l?l:null):this.shallow=kc(this.shallow,e,t,null!=l?l:null)},e.prototype.clone=function(){return new e(this,null,this.deep)},e.prototype.container=function(){var t=Cc(this.shallow),n=Cc(this.deep);return t||n?new e(this,t,n):null},e.prototype.createView=function(){var t=wc(this.shallow),n=wc(this.deep);return t||n?new e(this,t,n):null},e.prototype.insertView=function(e){_c(e,this.shallow),_c(e,this.deep)},e.prototype.addNode=function(e){return Tc(this.deep,e),lt(e)?(Tc(this.shallow,e),e.parent&<(e.parent)&&Tc(this.parent.shallow,e),this.parent):(function(e){return null===e.parent||lt(e.parent)}(e)&&Tc(this.shallow,e),this)},e.prototype.removeView=function(){xc(this.shallow),xc(this.deep)},e}();function Cc(e){for(var t=null;e;){var n=[];e.values.push(n),t={next:t,list:e.list,predicate:e.predicate,values:n,containerValues:null},e=e.next}return t}function wc(e){for(var t=null;e;)t={next:t,list:e.list,predicate:e.predicate,values:[],containerValues:e.values},e=e.next;return t}function _c(e,t){for(;t;)t.containerValues.splice(e,0,t.values),t=t.next}function xc(e){for(;e;){var t=e.containerValues,n=t.indexOf(e.values);t.splice(n,1)[0].length&&e.list.setDirty(),e=e.next}}function Sc(e,t){var n=e.localNames;if(n)for(var l=0;l-1?Nn(t[be].data,t,l,e):function(e,t){return 3===e.type||4===e.type?da(fa,e,t):0===e.type?pa(mc,fa,e,t):null}(e,t)}function Tc(e,t){for(var n=Qt();e;){var l=e.predicate,i=l.type;if(i){var o=null;i===mc?o=Ic(i,t,n,l.read):null!==(a=Mn(t,n,i,!1,!1))&&(o=Oc(t,n,l.read,a)),null!==o&&Dc(e,o)}else for(var r=l.selector,u=0;u0?(e=l.concat(e.slice(n+1)),n=0):n++:(t.push(l),n++)}return t}(e),this.dirty=!1},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}();function Nc(e,t,n,l){var i,o,r,u=new Mc;return(i=bc,o=Qt(),r=o[xe],$t&&$t!==o[Ee]&&!lt($t)&&(r&&(r=o[xe]=r.clone()),$t.flags|=4),r||(o[xe]=new i(null,null,null))).track(u,t,n,l),function(e,t,n){var l=zr(e);l.push(t),e[be].firstTemplatePass&&Ur(e).push(n,l.length-1)}(Qt(),u,u.destroy),null!=e&&Mr(e,u),u}function Lc(e){return!!e.dirty&&(e.reset(e._valuesTree),e.notifyOnChanges(),!0)}function Ac(e,t){return pa(mc,fa,e,t)}var Pc="__SANITIZER_TRUSTED_BRAND__";function Fc(e,t){return e instanceof String&&e[Pc]===t}function Vc(e){return Uc(e,"Html")}function jc(e){return Uc(e,"Style")}function Hc(e){return Uc(e,"Script")}function Bc(e){return Uc(e,"Url")}function zc(e){return Uc(e,"ResourceUrl")}function Uc(e,t){var n=new String(e);return n[Pc]=t,n}var $c=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Gc=/^url\(([^)]+)\)$/;function Wc(e){if(!(e=String(e).trim()))return"";var t=e.match(Gc);return t&&$a(t[1])===t[1]||e.match($c)&&function(e){for(var t=!0,n=!0,l=0;l=0;e--){var t=_d[e],n=t.moduleType,l=t.ngModule;l.declarations&&l.declarations.every(Sd)&&(_d.splice(e,1),Td(n,l))}}finally{xd=!1}}}(),void 0!==e.ngSelectorScope){var u=Rd(e.ngSelectorScope);Dd(n,u)}}return n},configurable:!1})}function Ad(e,t){var n=null;Object.defineProperty(e,p,{get:function(){if(null===n){var l=Fd(e,t);n=bt().compileDirective(ed,"ng://"+(e&&e.name)+"/ngDirectiveDef.js",l)}return n},configurable:!1})}function Pd(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Fd(e,t){var n=yd().propMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:t.selector,deps:bd(e),host:t.host||ie,propMetadata:n,inputs:t.inputs||oe,outputs:t.outputs||oe,queries:Vd(e,n,jd),lifecycle:{usesOnChanges:void 0!==e.prototype.ngOnChanges},typeSourceSpan:null,usesInheritance:!Pd(e),exportAs:t.exportAs||null,providers:t.providers||null}}function Vd(e,t,n){var l=[],i=function(i){t.hasOwnProperty(i)&&t[i].forEach(function(t){if(n(t)){if(!t.selector)throw new Error("Can't construct a query for the property \""+i+'" of "'+Ze(e)+"\" since the query selector wasn't defined.");l.push(function(e,t){return{propertyName:i,predicate:(n=t.selector,"string"==typeof n?n.split(",").map(function(e){return e.trim()}):X(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null};var n}(0,t))}})};for(var o in t)i(o);return l}function jd(e){var t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Hd(e){var t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Bd(e,t){var n=null;Object.defineProperty(e,g,{get:function(){return null===n&&(n=bt().compilePipe(ed,"ng://"+Ze(e)+"/ngPipeDef.js",{type:e,name:e.name,deps:bd(e),pipeName:t.name,pure:void 0===t.pure||t.pure})),n},configurable:!1})}var zd=O("Directive",function(e){return void 0===e&&(e={}),e},void 0,void 0,function(e,t){return ep(e,t)}),Ud=O("Component",function(e){return void 0===e&&(e={}),Object(l.__assign)({changeDetection:V.Default},e)},zd,void 0,function(e,t){return Jd(e,t)}),$d=O("Pipe",function(e){return Object(l.__assign)({pure:!0},e)},void 0,void 0,function(e,t){return tp(e,t)}),Gd=function(e){return function(t,n){for(var l=[],i=2;i1?" ("+function(e){for(var t=[],n=0;n-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(function(e){return Y(e.token)}).join(" -> ")+")":""}function Ip(e,t,n,l){var i=[t],o=n(i),r=l?function(e,t){var n=o+" caused by: "+(t instanceof Error?t.message:t),l=Error(n);return l[bp]=t,l}(0,l):Error(o);return r.addKey=Op,r.keys=i,r.injectors=[e],r.constructResolvingMessage=n,r[bp]=l,r}function Op(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Tp(e,t){for(var n=[],l=0,i=t.length;l=this._providers.length)throw function(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},e.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw Ip(this,e.key,function(e){return"Cannot instantiate cyclic dependency!"+Ep(e)});return this._instantiateProvider(e)},e.prototype._getMaxNumberOfObjects=function(){return this.objs.length},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=new Array(e.resolvedFactories.length),n=0;n0&&(i=setTimeout(function(){l._callbacks=l._callbacks.filter(function(e){return e.timeoutId!==i}),e(l._didWork,l.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),Vh=function(){function e(){this._applications=new Map,Bh.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),Bh.findTestabilityInTree(this,e,t)},Object(l.__decorate)([Object(l.__metadata)("design:paramtypes",[])],e)}();function jh(e){Bh=e}var Hh,Bh=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}());function zh(e,t,n){return Promise.resolve(new Ys(n))}var Uh=new x("AllowMultipleToken"),$h=function(){return function(e,t){this.name=e,this.token=t}}();function Gh(e){if(Hh&&!Hh.destroyed&&!Hh.injector.get(Uh,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Hh=e.get(Zh);var t=e.get(Jp,null);return t&&t.forEach(function(e){return e()}),Hh}function Wh(e,t,n){void 0===n&&(n=[]);var l="Platform: "+t,i=new x(l);return function(t){void 0===t&&(t=[]);var o=Yh();if(!o||o.injector.get(Uh,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var r=n.concat(t).concat({provide:i,useValue:!0});Gh(fu.create({providers:r,name:l}))}return qh(i)}}function qh(e){var t=Yh();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function Kh(){Hh&&!Hh.destroyed&&Hh.destroy()}function Yh(){return Hh&&!Hh.destroyed?Hh:null}var Zh=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,l=this,i="noop"===(n=t?t.ngZone:void 0)?new Ph:("zone.js"===n?void 0:n)||new Rh({enableLongStackTrace:ja()}),o=[{provide:Rh,useValue:i}];return i.run(function(){var t=fu.create({providers:o,parent:l.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(Sp,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return Jh(l._modules,n)}),i.runOutsideAngular(function(){return i.onError.subscribe({next:function(e){r.handleError(e)}})}),function(e,t,i){try{var o=((r=n.injector.get(Kp)).runInitializers(),r.donePromise.then(function(){return l._moduleDoBootstrap(n),n}));return Gp(o)?o.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):o}catch(u){throw t.runOutsideAngular(function(){return e.handleError(u)}),u}var r}(r,i)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var l=Qh({},t);return function(e,t,n){return e.get(yh).createCompiler([t]).compileModuleAsync(n)}(this.injector,l,e).then(function(e){return n.bootstrapModuleFactory(e,l)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Xh);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Y(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function Qh(e,t){return Array.isArray(t)?t.reduce(Qh,e):Object(l.__assign)({},e,t)}var Xh=function(){function e(e,t,n,l,i,o){var s=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=l,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ja(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var c=new r.a(function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){e.next(s._stable),e.complete()})}),d=new r.a(function(e){var t;s._zone.runOutsideAngular(function(){t=s._zone.onStable.subscribe(function(){Rh.assertNotInAngularZone(),q(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){Rh.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(u.a)(c,d.pipe(Object(a.a)()))}var t;return t=e,e.prototype.bootstrap=function(e,t){var n,l=this;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.");n=e instanceof Qu?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n instanceof ra?null:this._injector.get(ua),o=n.create(fu.NULL,[],t||n.selector,i);o.onDestroy(function(){l._unloadComponent(o)});var r=o.injector.get(Fh,null);return r&&o.injector.get(Vh).registerApplication(o.location.nativeElement,r),this._loadComponent(o),ja()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},e.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(l){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(l)})}finally{this._runningTick=!1,Oh(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Jh(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(th,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Jh(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=Ih("ApplicationRef#tick()"),e}();function Jh(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var ef=function(){function e(){this.dirty=!0,this._results=[],this.changes=new gc,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[W()]=function(){return this._results[W()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var l=Array.isArray(n)?e(n):n;return t.concat(l)},[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),tf=function(){return function(){}}(),nf={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},lf=function(){function e(e,t){this._compiler=e,this._config=t||nf}return e.prototype.load=function(e){return this._compiler instanceof mh?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,i=Object(l.__read)(e.split("#"),2),o=i[0],r=i[1];return void 0===r&&(r="default"),n("crnd")(o).then(function(e){return e[r]}).then(function(e){return of(e,o,r)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=Object(l.__read)(e.split("#"),2),i=t[0],o=t[1],r="NgFactory";return void 0===o&&(o="default",r=""),n("crnd")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(e){return e[o+r]}).then(function(e){return of(e,i,o)})},e}();function of(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var rf=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return af(e,fa)},e}(),uf=function(e,t){return function(e,t,n,i){var o;ta||(ta=function(e){function n(t,n,l){var i=e.call(this)||this;return i._lContainer=t,i._hostTNode=n,i._hostView=l,i._viewRefs=[],i}return Object(l.__extends)(n,e),Object.defineProperty(n.prototype,"element",{get:function(){return da(t,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new Pn(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var e=In(this._hostTNode,this._hostView),t=gt(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var l=n.parent.injectorIndex,i=n.parent;null!=i.parent&&l==i.injectorIndex;)i=i.parent;return i}for(var o=ft(e),r=t,u=t[Ee];o>1;)u=(r=r[Pe])[Ee],o--;return u}(e,this._hostView,this._hostTNode);return pt(e)&&null!=n?new Pn(n,t):new Pn(null,this._hostView)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(;this._lContainer[je].length;)this.remove(0)},n.prototype.get=function(e){return this._viewRefs[e]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer[je].length},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(e,t,n){var l=this._adjustIndex(n),i=e.createEmbeddedView(t||{},this._lContainer,this._hostTNode,this._hostView,l);return i.attachToViewContainerRef(this),this._viewRefs.splice(l,0,i),i},n.prototype.createComponent=function(e,t,n,l,i){var o=n||this.parentInjector;!i&&null==e.ngModule&&o&&(i=o.get(ua,null));var r=e.create(o,l,void 0,i);return this.insert(r.hostView,t),r},n.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e._lView,l=this._adjustIndex(t);return Ll(n,this._lContainer,this._hostView,l,this._hostTNode.index),Nl(n,!0,ql(l,this._lContainer[je],this._lContainer[He])),e.attachToViewContainerRef(this),this._viewRefs.splice(l,0,e),e},n.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this.indexOf(e);return this.detach(n),this.insert(e,this._adjustIndex(t)),e},n.prototype.indexOf=function(e){return this._viewRefs.indexOf(e)},n.prototype.remove=function(e){var t=this._adjustIndex(e,-1);Pl(this._lContainer,this._hostTNode,t),this._viewRefs.splice(t,1)},n.prototype.detach=function(e){var t=this._adjustIndex(e,-1),n=Al(this._lContainer,t,!!this._hostTNode.detached);return null!=this._viewRefs.splice(t,1)[0]?new sa(n,n[Te],n[Le]):null},n.prototype._adjustIndex=function(e,t){return void 0===t&&(t=0),null==e?this._lContainer[je].length+t:e},n}(e));var r=i[n.index];if(rt(r))(o=r)[Ve]=-1;else{var u=i[ke].createComment("");if(ut(i)){var a=i[ke],s=et(n,i);Ul(a,$l(a,s),u,function(e,t){return xl(e)?e.nextSibling(t):t.nextSibling}(a,s))}else Gl(u,n,i);i[n.index]=o=tr(r,n,i,u,!0),pr(i,n.index,o)}return new ta(o,n,i)}(e,t,Jt(),Qt())},af=au,sf=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return df()},e}(),cf=function(){return ha(Jt(),Qt(),null)},df=function(){for(var e=[],t=0;t-1}(l)||"root"===i.providedIn&&l._def.isRoot))){var c=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:u.factory,deps:[],index:c,token:t.token},e._providers[c]=om,e._providers[c]=pm(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Dt(o)}}function pm(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var i=n.length;switch(i){case 0:return new t;case 1:return new t(dm(e,n[0]));case 2:return new t(dm(e,n[0]),dm(e,n[1]));case 3:return new t(dm(e,n[0]),dm(e,n[1]),dm(e,n[2]));default:for(var o=new Array(i),r=0;r=n.length)&&(t=n.length-1),t<0)return null;var l=n[t];return l.viewContainerParent=null,vm(n,t),cg.dirtyParentQueries(l),gm(l),l}function fm(e,t,n){var l=t?Rg(t,t.def.lastRenderRootNode):e.renderElement,i=n.renderer.parentNode(l),o=n.renderer.nextSibling(l);Hg(n,2,i,o,void 0)}function gm(e){Hg(e,3,null,null,void 0)}function mm(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function vm(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var ym=new Object;function bm(e,t,n,l,i,o){return new wm(e,t,n,l,i,o)}function Cm(e){return e.viewDefFactory}var wm=function(e){function t(t,n,l,i,o,r){var u=e.call(this)||this;return u.selector=t,u.componentType=n,u._inputs=i,u._outputs=o,u.ngContentSelectors=r,u.viewDefFactory=l,u}return Object(l.__extends)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,l){if(!l)throw new Error("ngModule should be provided");var i=jg(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,r=cg.createRootView(e,t||[],n,i,l,ym),u=rg(r,o).instance;return n&&r.renderer.setAttribute(og(r,0).renderElement,"ng-version",Da.full),new _m(r,new Im(r),u)},t}(Qu),_m=function(e){function t(t,n,l){var i=e.call(this)||this;return i._view=t,i._viewRef=n,i._component=l,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=l,i}return Object(l.__extends)(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new fa(og(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Rm(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(Zu);function xm(e,t,n){return new Sm(e,t,n)}var Sm=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new fa(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Rm(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Dg(e),e=e.parent;return e?new Rm(e,t):new Rm(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=hm(this._data,e);cg.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Im(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var l=e.createEmbeddedView(t||{});return this.insert(l,n),l},e.prototype.createComponent=function(e,t,n,l,i){var o=n||this.parentInjector;i||e instanceof ra||(i=o.get(ua));var r=e.create(o,l,void 0,i);return this.insert(r.hostView,t),r},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,l,i,o,r=e;return o=(n=this._data).viewContainer._embeddedViews,null==(l=t)&&(l=o.length),(i=r._view).viewContainerParent=this._view,mm(o,l,i),function(e,t){var n=Tg(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var l=n.template._projectedViews;l||(l=n.template._projectedViews=[]),l.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var l=n.parent;l;)l.childFlags|=4,l=l.parent}}(0,t.parentNodeDef)}}(n,i),cg.dirtyParentQueries(i),fm(n,l>0?o[l-1]:null,i),r.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,l,i,o,r,u=this._embeddedViews.indexOf(e._view);return i=t,r=(o=(n=this._data).viewContainer._embeddedViews)[l=u],vm(o,l),null==i&&(i=o.length),mm(o,i,r),cg.dirtyParentQueries(r),gm(r),fm(n,i>0?o[i-1]:null,r),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=hm(this._data,e);t&&cg.destroyView(t)},e.prototype.detach=function(e){var t=hm(this._data,e);return t?new Im(t):null},e}();function Em(e){return new Im(e)}var Im=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return Hg(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Eg(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{cg.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){cg.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),cg.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,gm(this._view),cg.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Om(e,t){return new Tm(e,t)}var Tm=function(e){function t(t,n){var l=e.call(this)||this;return l._parentView=t,l._def=n,l}return Object(l.__extends)(t,e),t.prototype.createEmbeddedView=function(e){return new Im(cg.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new fa(og(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(mc);function Dm(e,t){return new Rm(e,t)}var Rm=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=fu.THROW_IF_NOT_FOUND),cg.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:mg(e)},t)},e}();function km(e,t){var n=e.def.nodes[t];if(1&n.flags){var l=og(e,n.nodeIndex);return n.element.template?l.template:l.renderElement}if(2&n.flags)return ig(e,n.nodeIndex).renderText;if(20240&n.flags)return rg(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Mm(e){return new Nm(e.renderer)}var Nm=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=Object(l.__read)(Wg(t),2),i=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,i),i},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var l=0;l0,i=t.provider;switch(201347067&t.flags){case 512:return Jm(e,t.parent,n,i.value,i.deps);case 1024:return function(e,t,n,i,o){var r=o.length;switch(r){case 0:return i();case 1:return i(tv(e,t,n,o[0]));case 2:return i(tv(e,t,n,o[0]),tv(e,t,n,o[1]));case 3:return i(tv(e,t,n,o[0]),tv(e,t,n,o[1]),tv(e,t,n,o[2]));default:for(var u=Array(r),a=0;a0)s=g,_v(g)||(c=g);else for(;s&&f===s.nodeIndex+s.childCount;){var y=s.parent;y&&(y.childFlags|=s.childFlags,y.childMatchedQueries|=s.childMatchedQueries),c=(s=y)&&_v(s)?s.renderParent:s}}return{factory:null,nodeFlags:r,rootNodeFlags:u,nodeMatchedQueries:a,flags:e,nodes:t,updateDirectives:n||fg,updateRenderer:l||fg,handleEvent:function(e,n,l,i){return t[n].element.handleEvent(e,l,i)},bindingCount:i,outputCount:o,lastRenderRootNode:h}}function _v(e){return 0!=(1&e.flags)&&null===e.element.name}function xv(e,t,n){var l=t.element&&t.element.template;if(l){if(!l.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(l.lastRenderRootNode&&16777216&l.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var i=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=i&&t.nodeIndex+t.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Sv(e,t,n,l){var i=Ov(e.root,e.renderer,e,t,n);return Tv(i,e.component,l),Dv(i),i}function Ev(e,t,n){var l=Ov(e,e.renderer,null,null,t);return Tv(l,n,n),Dv(l),l}function Iv(e,t,n,l){var i,o=t.element.componentRendererType;return i=o?e.root.rendererFactory.createRenderer(l,o):e.root.renderer,Ov(e.root,i,e,t.element.componentProvider,n)}function Ov(e,t,n,l,i){var o=new Array(i.nodes.length),r=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:l,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:r,initIndex:-1}}function Tv(e,t,n){e.component=t,e.context=n}function Dv(e){var t;Mg(e)&&(t=og(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,l=e.nodes,i=0;i0&&im(e,t,0,n)&&(h=!0),p>1&&im(e,t,1,l)&&(h=!0),p>2&&im(e,t,2,i)&&(h=!0),p>3&&im(e,t,3,o)&&(h=!0),p>4&&im(e,t,4,r)&&(h=!0),p>5&&im(e,t,5,u)&&(h=!0),p>6&&im(e,t,6,a)&&(h=!0),p>7&&im(e,t,7,s)&&(h=!0),p>8&&im(e,t,8,c)&&(h=!0),p>9&&im(e,t,9,d)&&(h=!0),h}(e,t,n,l,i,o,r,u,a,s,c,d);case 2:return function(e,t,n,l,i,o,r,u,a,s,c,d){var p=!1,h=t.bindings,f=h.length;if(f>0&&xg(e,t,0,n)&&(p=!0),f>1&&xg(e,t,1,l)&&(p=!0),f>2&&xg(e,t,2,i)&&(p=!0),f>3&&xg(e,t,3,o)&&(p=!0),f>4&&xg(e,t,4,r)&&(p=!0),f>5&&xg(e,t,5,u)&&(p=!0),f>6&&xg(e,t,6,a)&&(p=!0),f>7&&xg(e,t,7,s)&&(p=!0),f>8&&xg(e,t,8,c)&&(p=!0),f>9&&xg(e,t,9,d)&&(p=!0),p){var g=t.text.prefix;f>0&&(g+=Cv(n,h[0])),f>1&&(g+=Cv(l,h[1])),f>2&&(g+=Cv(i,h[2])),f>3&&(g+=Cv(o,h[3])),f>4&&(g+=Cv(r,h[4])),f>5&&(g+=Cv(u,h[5])),f>6&&(g+=Cv(a,h[6])),f>7&&(g+=Cv(s,h[7])),f>8&&(g+=Cv(c,h[8])),f>9&&(g+=Cv(d,h[9]));var m=ig(e,t.nodeIndex).renderText;e.renderer.setValue(m,g)}return p}(e,t,n,l,i,o,r,u,a,s,c,d);case 16384:return function(e,t,n,l,i,o,r,u,a,s,c,d){var p=rg(e,t.nodeIndex),h=p.instance,f=!1,g=void 0,m=t.bindings.length;return m>0&&_g(e,t,0,n)&&(f=!0,g=lv(e,p,t,0,n,g)),m>1&&_g(e,t,1,l)&&(f=!0,g=lv(e,p,t,1,l,g)),m>2&&_g(e,t,2,i)&&(f=!0,g=lv(e,p,t,2,i,g)),m>3&&_g(e,t,3,o)&&(f=!0,g=lv(e,p,t,3,o,g)),m>4&&_g(e,t,4,r)&&(f=!0,g=lv(e,p,t,4,r,g)),m>5&&_g(e,t,5,u)&&(f=!0,g=lv(e,p,t,5,u,g)),m>6&&_g(e,t,6,a)&&(f=!0,g=lv(e,p,t,6,a,g)),m>7&&_g(e,t,7,s)&&(f=!0,g=lv(e,p,t,7,s,g)),m>8&&_g(e,t,8,c)&&(f=!0,g=lv(e,p,t,8,c,g)),m>9&&_g(e,t,9,d)&&(f=!0,g=lv(e,p,t,9,d,g)),g&&h.ngOnChanges(g),65536&t.flags&&lg(e,256,t.nodeIndex)&&h.ngOnInit(),262144&t.flags&&h.ngDoCheck(),f}(e,t,n,l,i,o,r,u,a,s,c,d);case 32:case 64:case 128:return function(e,t,n,l,i,o,r,u,a,s,c,d){var p=t.bindings,h=!1,f=p.length;if(f>0&&xg(e,t,0,n)&&(h=!0),f>1&&xg(e,t,1,l)&&(h=!0),f>2&&xg(e,t,2,i)&&(h=!0),f>3&&xg(e,t,3,o)&&(h=!0),f>4&&xg(e,t,4,r)&&(h=!0),f>5&&xg(e,t,5,u)&&(h=!0),f>6&&xg(e,t,6,a)&&(h=!0),f>7&&xg(e,t,7,s)&&(h=!0),f>8&&xg(e,t,8,c)&&(h=!0),f>9&&xg(e,t,9,d)&&(h=!0),h){var g=ug(e,t.nodeIndex),m=void 0;switch(201347067&t.flags){case 32:m=new Array(p.length),f>0&&(m[0]=n),f>1&&(m[1]=l),f>2&&(m[2]=i),f>3&&(m[3]=o),f>4&&(m[4]=r),f>5&&(m[5]=u),f>6&&(m[6]=a),f>7&&(m[7]=s),f>8&&(m[8]=c),f>9&&(m[9]=d);break;case 64:m={},f>0&&(m[p[0].name]=n),f>1&&(m[p[1].name]=l),f>2&&(m[p[2].name]=i),f>3&&(m[p[3].name]=o),f>4&&(m[p[4].name]=r),f>5&&(m[p[5].name]=u),f>6&&(m[p[6].name]=a),f>7&&(m[p[7].name]=s),f>8&&(m[p[8].name]=c),f>9&&(m[p[9].name]=d);break;case 128:var v=n;switch(f){case 1:m=v.transform(n);break;case 2:m=v.transform(l);break;case 3:m=v.transform(l,i);break;case 4:m=v.transform(l,i,o);break;case 5:m=v.transform(l,i,o,r);break;case 6:m=v.transform(l,i,o,r,u);break;case 7:m=v.transform(l,i,o,r,u,a);break;case 8:m=v.transform(l,i,o,r,u,a,s);break;case 9:m=v.transform(l,i,o,r,u,a,s,c);break;case 10:m=v.transform(l,i,o,r,u,a,s,c,d)}}g.value=m}return h}(e,t,n,l,i,o,r,u,a,s,c,d);default:throw"unreachable"}}(e,t,i,o,r,u,a,s,c,d,p,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var l=!1,i=0;i0&&Sg(e,t,0,n),p>1&&Sg(e,t,1,l),p>2&&Sg(e,t,2,i),p>3&&Sg(e,t,3,o),p>4&&Sg(e,t,4,r),p>5&&Sg(e,t,5,u),p>6&&Sg(e,t,6,a),p>7&&Sg(e,t,7,s),p>8&&Sg(e,t,8,c),p>9&&Sg(e,t,9,d)}(e,t,l,i,o,r,u,a,s,c,d,p):function(e,t,n){for(var l=0;l0){var o=new Set(e.modules);Xv.forEach(function(t,l){if(o.has(w(l).providedIn)){var i={token:l,flags:t.flags|(n?4096:0),deps:Pg(t.deps),value:t.value,index:e.providers.length};e.providers.push(i),e.providersByKey[mg(l)]=i}})}}(e=e.factory(function(){return fg})),e):e}(l))}var Qv=new Map,Xv=new Map,Jv=new Map;function ey(e){var t;Qv.set(e.token,e),"function"==typeof e.token&&(t=w(e.token))&&"function"==typeof t.providedIn&&Xv.set(e.token,e)}function ty(e,t){var n=jg(Cm(t)),l=jg(n.nodes[0].element.componentView);Jv.set(e,l)}function ny(){Qv.clear(),Xv.clear(),Jv.clear()}function ly(e){if(0===Qv.size)return e;var t=function(e){for(var t=[],n=null,l=0;l",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(s),d=["%","/","?",";","#"].concat(c),p=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n("r8II");function b(e,t,n){if(e&&i.isObject(e)&&e instanceof o)return e;var l=new o;return l.parse(e,t,n),l}o.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),u=-1!==o&&o127?N+="x":N+=M[L];if(!N.match(h)){var P=R.slice(0,O),F=R.slice(O+1),V=M.match(f);V&&(P.push(V[1]),F.unshift(V[2])),F.length&&(b="/"+F.join(".")+b),this.hostname=P.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),D||(this.hostname=l.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!g[_])for(O=0,k=c.length;O0)&&n.host.split("@"))&&(n.auth=O.shift(),n.host=n.hostname=O.shift())),n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!w.length)return n.pathname=null,n.path=n.search?"/"+n.search:null,n.href=n.format(),n;for(var x=w.slice(-1)[0],S=(n.host||e.host||w.length>1)&&("."===x||".."===x)||""===x,E=0,I=w.length;I>=0;I--)"."===(x=w[I])?w.splice(I,1):".."===x?(w.splice(I,1),E++):E&&(w.splice(I,1),E--);if(!b&&!C)for(;E--;E)w.unshift("..");!b||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),S&&"/"!==w.join("/").substr(-1)&&w.push("");var O,T=""===w[0]||w[0]&&"/"===w[0].charAt(0);return _&&(n.hostname=n.host=T?"":w.length?w.shift():"",(O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=O.shift(),n.host=n.hostname=O.shift())),(b=b||n.host&&w.length)&&!T&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=u.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},Czxz:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("7LN8"),a=n("mU/a"),s=n("sdDj"),c=n("P3jN"),d=n("CcnG"),p=n("DtyJ"),h=function(){function e(){this.sortSource=new p.Subject,this.selectionSource=new p.Subject,this.contextMenuSource=new p.Subject,this.valueSource=new p.Subject,this.totalRecordsSource=new p.Subject,this.columnsSource=new p.Subject,this.sortSource$=this.sortSource.asObservable(),this.selectionSource$=this.selectionSource.asObservable(),this.contextMenuSource$=this.contextMenuSource.asObservable(),this.valueSource$=this.valueSource.asObservable(),this.totalRecordsSource$=this.totalRecordsSource.asObservable(),this.columnsSource$=this.columnsSource.asObservable()}return e.prototype.onSort=function(e){this.sortSource.next(e)},e.prototype.onSelectionChange=function(){this.selectionSource.next()},e.prototype.onContextMenu=function(e){this.contextMenuSource.next(e)},e.prototype.onValueChange=function(e){this.valueSource.next(e)},e.prototype.onTotalRecordsChange=function(e){this.totalRecordsSource.next(e)},e.prototype.onColumnsChange=function(e){this.columnsSource.next(e)},l([d.Injectable()],e)}();t.TableService=h;var f=function(){function e(e,t,n){this.el=e,this.zone=t,this.tableService=n,this.first=0,this.pageLinks=5,this.alwaysShowPaginator=!0,this.paginatorPosition="bottom",this.defaultSortOrder=1,this.sortMode="single",this.resetPageOnSort=!0,this.selectionChange=new o.EventEmitter,this.contextMenuSelectionChange=new o.EventEmitter,this.contextMenuSelectionMode="separate",this.rowTrackBy=function(e,t){return t},this.lazy=!1,this.lazyLoadOnInit=!0,this.compareSelectionBy="deepEquals",this.csvSeparator=",",this.exportFilename="download",this.filters={},this.filterDelay=300,this.expandedRowKeys={},this.rowExpandMode="multiple",this.virtualScrollDelay=150,this.virtualRowHeight=28,this.columnResizeMode="fit",this.loadingIcon="pi pi-spinner",this.stateStorage="session",this.onRowSelect=new o.EventEmitter,this.onRowUnselect=new o.EventEmitter,this.onPage=new o.EventEmitter,this.onSort=new o.EventEmitter,this.onFilter=new o.EventEmitter,this.onLazyLoad=new o.EventEmitter,this.onRowExpand=new o.EventEmitter,this.onRowCollapse=new o.EventEmitter,this.onContextMenuSelect=new o.EventEmitter,this.onColResize=new o.EventEmitter,this.onColReorder=new o.EventEmitter,this.onRowReorder=new o.EventEmitter,this.onEditInit=new o.EventEmitter,this.onEditComplete=new o.EventEmitter,this.onEditCancel=new o.EventEmitter,this.onHeaderCheckboxToggle=new o.EventEmitter,this.sortFunction=new o.EventEmitter,this._value=[],this._totalRecords=0,this.selectionKeys={},this._sortOrder=1,this.filterConstraints={startsWith:function(e,t){if(null==t||""===t.trim())return!0;if(null==e)return!1;var n=c.ObjectUtils.removeAccents(t.toString()).toLowerCase();return c.ObjectUtils.removeAccents(e.toString()).toLowerCase().slice(0,n.length)===n},contains:function(e,t){if(null==t||"string"==typeof t&&""===t.trim())return!0;if(null==e)return!1;var n=c.ObjectUtils.removeAccents(t.toString()).toLowerCase();return-1!==c.ObjectUtils.removeAccents(e.toString()).toLowerCase().indexOf(n)},endsWith:function(e,t){if(null==t||""===t.trim())return!0;if(null==e)return!1;var n=c.ObjectUtils.removeAccents(t.toString()).toLowerCase(),l=c.ObjectUtils.removeAccents(e.toString()).toLowerCase();return-1!==l.indexOf(n,l.length-n.length)},equals:function(e,t){return null==t||"string"==typeof t&&""===t.trim()||null!=e&&(e.getTime&&t.getTime?e.getTime()===t.getTime():c.ObjectUtils.removeAccents(e.toString()).toLowerCase()==c.ObjectUtils.removeAccents(t.toString()).toLowerCase())},notEquals:function(e,t){return!(null==t||"string"==typeof t&&""===t.trim()||null!=e&&(e.getTime&&t.getTime?e.getTime()===t.getTime():c.ObjectUtils.removeAccents(e.toString()).toLowerCase()==c.ObjectUtils.removeAccents(t.toString()).toLowerCase()))},in:function(e,t){if(null==t||0===t.length)return!0;for(var n=0;nt.getTime():e>t)},gte:function(e,t){return null==t||null!=e&&(e.getTime&&t.getTime?e.getTime()>=t.getTime():e>=t)}}}return e.prototype.ngOnInit=function(){this.lazy&&this.lazyLoadOnInit&&this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.initialized=!0},e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"caption":e.captionTemplate=t.template;break;case"header":e.headerTemplate=t.template;break;case"body":e.bodyTemplate=t.template;break;case"footer":e.footerTemplate=t.template;break;case"summary":e.summaryTemplate=t.template;break;case"colgroup":e.colGroupTemplate=t.template;break;case"rowexpansion":e.expandedRowTemplate=t.template;break;case"frozenrows":e.frozenRowsTemplate=t.template;break;case"frozenheader":e.frozenHeaderTemplate=t.template;break;case"frozenbody":e.frozenBodyTemplate=t.template;break;case"frozenfooter":e.frozenFooterTemplate=t.template;break;case"frozencolgroup":e.frozenColGroupTemplate=t.template;break;case"emptymessage":e.emptyMessageTemplate=t.template;break;case"paginatorleft":e.paginatorLeftTemplate=t.template;break;case"paginatorright":e.paginatorRightTemplate=t.template}})},e.prototype.ngAfterViewInit=function(){this.isStateful()&&this.resizableColumns&&this.restoreColumnWidths()},Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this.isStateful()&&!this.stateRestored&&this.restoreState(),this._value=e,this.lazy||(this.totalRecords=this._value?this._value.length:0,"single"==this.sortMode&&this.sortField?this.sortSingle():"multiple"==this.sortMode&&this.multiSortMeta?this.sortMultiple():this.hasFilter()&&this._filter()),this.virtualScroll&&this.virtualScrollCallback&&this.virtualScrollCallback(),this.tableService.onValueChange(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columns",{get:function(){return this._columns},set:function(e){this._columns=e,this.tableService.onColumnsChange(e),this._columns&&this.isStateful()&&this.reorderableColumns&&!this.columnOrderStateRestored&&this.restoreColumnOrder()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"totalRecords",{get:function(){return this._totalRecords},set:function(e){this._totalRecords=e,this.tableService.onTotalRecordsChange(this._totalRecords)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sortField",{get:function(){return this._sortField},set:function(e){this._sortField=e,this.lazy&&!this.initialized||"single"===this.sortMode&&this.sortSingle()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sortOrder",{get:function(){return this._sortOrder},set:function(e){this._sortOrder=e,this.lazy&&!this.initialized||"single"===this.sortMode&&this.sortSingle()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiSortMeta",{get:function(){return this._multiSortMeta},set:function(e){this._multiSortMeta=e,"multiple"===this.sortMode&&this.sortMultiple()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selection",{get:function(){return this._selection},set:function(e){this._selection=e,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange()),this.preventSelectionSetterPropagation=!1},enumerable:!0,configurable:!0}),e.prototype.updateSelectionKeys=function(){if(this.dataKey&&this._selection)if(this.selectionKeys={},Array.isArray(this._selection))for(var e=0,t=this._selection;eo?1:0,e.sortOrder*l}),this.hasFilter()&&this._filter());var t={field:this.sortField,order:this.sortOrder};this.onSort.emit(t),this.tableService.onSort(t)}},e.prototype.sortMultiple=function(){var e=this;this.multiSortMeta&&(this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,multiSortMeta:this.multiSortMeta}):this.value.sort(function(t,n){return e.multisortField(t,n,e.multiSortMeta,0)}),this.hasFilter()&&this._filter()),this.onSort.emit({multisortmeta:this.multiSortMeta}),this.tableService.onSort(this.multiSortMeta))},e.prototype.multisortField=function(e,t,n,l){var i=c.ObjectUtils.resolveFieldData(e,n[l].field),o=c.ObjectUtils.resolveFieldData(t,n[l].field),r=null;if(null==i&&null!=o?r=-1:null!=i&&null==o?r=1:null==i&&null==o&&(r=0),"string"==typeof i||i instanceof String){if(i.localeCompare&&i!=o)return n[l].order*i.localeCompare(o)}else r=il?this.multisortField(e,t,n,l+1):0:n[l].order*r},e.prototype.getSortMeta=function(e){if(this.multiSortMeta&&this.multiSortMeta.length)for(var t=0;tt?(n=t,l=this.anchorRowIndex):this.anchorRowIndexthis.anchorRowIndex?(t=this.anchorRowIndex,n=this.rangeRowIndex):this.rangeRowIndex-1:this.equals(e,this.selection))},e.prototype.findIndexInSelection=function(e){var t=-1;if(this.selection&&this.selection.length)for(var n=0;n=i){if("fit"===this.columnResizeMode){for(var r=t.nextElementSibling;!r.offsetParent;)r=r.nextElementSibling;if(r){var u=r.offsetWidth-n;if(o>15&&u>parseInt(r.style.minWidth||15))if(this.scrollable){var a=this.findParentScrollableView(t),c=s.DomHandler.findSingle(a,"table.ui-table-scrollable-body-table"),d=s.DomHandler.findSingle(a,"table.ui-table-scrollable-header-table"),p=s.DomHandler.findSingle(a,"table.ui-table-scrollable-footer-table"),h=s.DomHandler.index(t);this.resizeColGroup(d,h,o,u),this.resizeColGroup(c,h,o,u),this.resizeColGroup(p,h,o,u)}else t.style.width=o+"px",r&&(r.style.width=u+"px")}}else"expand"===this.columnResizeMode&&o>i&&(this.scrollable?(a=this.findParentScrollableView(t),c=s.DomHandler.findSingle(a,"table.ui-table-scrollable-body-table"),d=s.DomHandler.findSingle(a,"table.ui-table-scrollable-header-table"),p=s.DomHandler.findSingle(a,"table.ui-table-scrollable-footer-table"),c.style.width=c.offsetWidth+n+"px",d.style.width=d.offsetWidth+n+"px",p&&(p.style.width=d.offsetWidth+n+"px"),h=s.DomHandler.index(t),this.resizeColGroup(d,h,o,null),this.resizeColGroup(c,h,o,null),this.resizeColGroup(p,h,o,null)):(this.tableViewChild.nativeElement.style.width=this.tableViewChild.nativeElement.offsetWidth+n+"px",t.style.width=o+"px",this.containerViewChild.nativeElement.style.width=this.tableViewChild.nativeElement.style.width+"px"));this.onColResize.emit({element:t,delta:n}),this.isStateful()&&this.saveState()}this.resizeHelperViewChild.nativeElement.style.display="none",s.DomHandler.removeClass(this.containerViewChild.nativeElement,"ui-unselectable-text")},e.prototype.findParentScrollableView=function(e){if(e){for(var t=e.parentElement;t&&!s.DomHandler.hasClass(t,"ui-table-scrollable-view");)t=t.parentElement;return t}return null},e.prototype.resizeColGroup=function(e,t,n,l){if(e){var i="COLGROUP"===e.children[0].nodeName?e.children[0]:null;if(!i)throw"Scrollable tables require a colgroup to support resizable columns";var o=i.children[t],r=o.nextElementSibling;o.style.width=n+"px",r&&l&&(r.style.width=l+"px")}},e.prototype.onColumnDragStart=function(e,t){this.reorderIconWidth=s.DomHandler.getHiddenElementOuterWidth(this.reorderIndicatorUpViewChild.nativeElement),this.reorderIconHeight=s.DomHandler.getHiddenElementOuterHeight(this.reorderIndicatorDownViewChild.nativeElement),this.draggedColumn=t,e.dataTransfer.setData("text","b")},e.prototype.onColumnDragEnter=function(e,t){if(this.reorderableColumns&&this.draggedColumn&&t){e.preventDefault();var n=s.DomHandler.getOffset(this.containerViewChild.nativeElement),l=s.DomHandler.getOffset(t);if(this.draggedColumn!=t){var i=l.left-n.left,o=l.left+t.offsetWidth/2;this.reorderIndicatorUpViewChild.nativeElement.style.top=l.top-n.top-(this.reorderIconHeight-1)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.top=l.top-n.top+t.offsetHeight+"px",e.pageX>o?(this.reorderIndicatorUpViewChild.nativeElement.style.left=i+t.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=i+t.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUpViewChild.nativeElement.style.left=i-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=i-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=-1),this.reorderIndicatorUpViewChild.nativeElement.style.display="block",this.reorderIndicatorDownViewChild.nativeElement.style.display="block"}else e.dataTransfer.dropEffect="none"}},e.prototype.onColumnDragLeave=function(e){this.reorderableColumns&&this.draggedColumn&&(e.preventDefault(),this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none")},e.prototype.onColumnDrop=function(e,t){if(e.preventDefault(),this.draggedColumn){var n=s.DomHandler.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),l=s.DomHandler.indexWithinGroup(t,"preorderablecolumn"),i=n!=l;i&&(l-n==1&&-1===this.dropPosition||n-l==1&&1===this.dropPosition)&&(i=!1),i&&ln&&-1===this.dropPosition&&(l-=1),i&&(c.ObjectUtils.reorderArray(this.columns,n,l),this.onColReorder.emit({dragIndex:n,dropIndex:l,columns:this.columns}),this.isStateful()&&this.saveState()),this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none",this.draggedColumn.draggable=!1,this.draggedColumn=null,this.dropPosition=null}},e.prototype.onRowDragStart=function(e,t){this.rowDragging=!0,this.draggedRowIndex=t,e.dataTransfer.setData("text","b")},e.prototype.onRowDragOver=function(e,t,n){if(this.rowDragging&&this.draggedRowIndex!==t){var l=s.DomHandler.getOffset(n).top+s.DomHandler.getWindowScrollTop(),i=e.pageY,o=l+s.DomHandler.getOuterHeight(n)/2,r=n.previousElementSibling;ithis.droppedRowIndex?this.droppedRowIndex:0===this.droppedRowIndex?0:this.droppedRowIndex-1),this.onRowReorder.emit({dragIndex:this.draggedRowIndex,dropIndex:this.droppedRowIndex})),this.onRowDragLeave(e,t),this.onRowDragEnd(e)},e.prototype.handleVirtualScroll=function(e){var t=this;this.first=(e.page-1)*this.rows,this.virtualScrollCallback=e.callback,this.zone.run(function(){t.virtualScrollTimer&&clearTimeout(t.virtualScrollTimer),t.virtualScrollTimer=setTimeout(function(){t.onLazyLoad.emit(t.createLazyLoadMetadata())},t.virtualScrollDelay)})},e.prototype.isEmpty=function(){var e=this.filteredValue||this.value;return null==e||0==e.length},e.prototype.getBlockableElement=function(){return this.el.nativeElement.children[0]},e.prototype.getStorage=function(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}},e.prototype.isStateful=function(){return null!=this.stateKey},e.prototype.saveState=function(){var e=this.getStorage(),t={};this.paginator&&(t.first=this.first,t.rows=this.rows),this.sortField&&(t.sortField=this.sortField,t.sortOrder=this.sortOrder),this.multiSortMeta&&(t.multiSortMeta=this.multiSortMeta),this.hasFilter()&&(t.filters=this.filters),this.resizableColumns&&this.saveColumnWidths(t),this.reorderableColumns&&this.saveColumnOrder(t),this.selection&&(t.selection=this.selection),Object.keys(this.expandedRowKeys).length&&(t.expandedRowKeys=this.expandedRowKeys),Object.keys(t).length&&e.setItem(this.stateKey,JSON.stringify(t))},e.prototype.clearState=function(){var e=this.getStorage();this.stateKey&&e.removeItem(this.stateKey)},e.prototype.restoreState=function(){var e=this.getStorage().getItem(this.stateKey);if(e){var t=JSON.parse(e);this.paginator&&(this.first=t.first,this.rows=t.rows),t.sortField&&(this.restoringSort=!0,this._sortField=t.sortField,this._sortOrder=t.sortOrder),t.multiSortMeta&&(this.restoringSort=!0,this._multiSortMeta=t.multiSortMeta),t.filters&&(this.restoringFilter=!0,this.filters=t.filters),this.resizableColumns&&(this.columnWidthsState=t.columnWidths,this.tableWidthState=t.tableWidth),t.expandedRowKeys&&(this.expandedRowKeys=t.expandedRowKeys),t.selection&&(this.selection=t.selection),this.stateRestored=!0}},e.prototype.saveColumnWidths=function(e){var t=[];s.DomHandler.find(this.containerViewChild.nativeElement,".ui-table-thead > tr:first-child > th").map(function(e){return t.push(s.DomHandler.getOuterWidth(e))}),e.columnWidths=t.join(","),"expand"===this.columnResizeMode&&(e.tableWidth=this.scrollable?s.DomHandler.findSingle(this.containerViewChild.nativeElement,".ui-table-scrollable-header-table").style.width:s.DomHandler.getOuterWidth(this.tableViewChild.nativeElement)+"px")},e.prototype.restoreColumnWidths=function(){if(this.columnWidthsState){var e=this.columnWidthsState.split(",");if("expand"===this.columnResizeMode&&this.tableWidthState)if(this.scrollable){var t=s.DomHandler.findSingle(this.containerViewChild.nativeElement,".ui-table-scrollable-body-table"),n=s.DomHandler.findSingle(this.containerViewChild.nativeElement,".ui-table-scrollable-header-table"),l=s.DomHandler.findSingle(this.containerViewChild.nativeElement,".ui-table-scrollable-footer-table");t.style.width=this.tableWidthState,n.style.width=this.tableWidthState,l&&(l.style.width=this.tableWidthState)}else this.tableViewChild.nativeElement.style.width=this.tableWidthState,this.containerViewChild.nativeElement.style.width=this.tableWidthState;if(this.scrollable){var i=s.DomHandler.find(this.containerViewChild.nativeElement,".ui-table-scrollable-header-table > colgroup > col"),o=s.DomHandler.find(this.containerViewChild.nativeElement,".ui-table-scrollable-body-table > colgroup > col");i.map(function(t,n){return t.style.width=e[n]+"px"}),o.map(function(t,n){return t.style.width=e[n]+"px"})}else s.DomHandler.find(this.tableViewChild.nativeElement,".ui-table-thead > tr:first-child > th").map(function(t,n){return t.style.width=e[n]+"px"})}},e.prototype.saveColumnOrder=function(e){if(this.columns){var t=[];this.columns.map(function(e){t.push(e.field||e.key)}),e.columnOrder=t}},e.prototype.restoreColumnOrder=function(){var e=this,t=this.getStorage().getItem(this.stateKey);if(t){var n=JSON.parse(t).columnOrder;if(n){var l=[];n.map(function(t){return l.push(e.findColumnByKey(t))}),this.columnOrderStateRestored=!0,this.columns=l}}},e.prototype.findColumnByKey=function(e){if(!this.columns)return null;for(var t=0,n=this.columns;t\n

    \n
    \n \n
    \n
    \n \n
    \n \n \n
    \n \n \n \n \n \n \n \n \n \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n \n
    \n\n \n\n \n \n
    \n ',providers:[h]})],e)}();t.Table=f;var g=function(){function e(e){this.dt=e}return l([o.Input("pTableBody"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Input("pTableBodyTemplate"),i("design:type",o.TemplateRef)],e.prototype,"template",void 0),l([o.Component({selector:"[pTableBody]",template:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n '})],e)}();t.TableBody=g;var m=function(){function e(e,t,n){var l=this;this.dt=e,this.el=t,this.zone=n,this.subscription=this.dt.tableService.valueSource$.subscribe(function(){l.zone.runOutsideAngular(function(){setTimeout(function(){l.alignScrollBar()},50)})}),this.dt.virtualScroll&&(this.totalRecordsSubscription=this.dt.tableService.totalRecordsSource$.subscribe(function(){l.zone.runOutsideAngular(function(){setTimeout(function(){l.setVirtualScrollerHeight()},50)})})),this.initialized=!1}return Object.defineProperty(e.prototype,"scrollHeight",{get:function(){return this._scrollHeight},set:function(e){this._scrollHeight=e,this.setScrollHeight()},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewChecked=function(){!this.initialized&&this.el.nativeElement.offsetParent&&(this.alignScrollBar(),this.setScrollHeight(),this.initialized=!0)},e.prototype.ngAfterViewInit=function(){var e=this;if(this.frozen){this.scrollBodyViewChild.nativeElement.style.marginBottom=s.DomHandler.calculateScrollbarWidth()+"px";var t=this.el.nativeElement.nextElementSibling;t&&(this.scrollableSiblingBody=s.DomHandler.findSingle(t,".ui-table-scrollable-body"))}else{(this.dt.frozenColumns||this.dt.frozenBodyTemplate)&&s.DomHandler.addClass(this.el.nativeElement,"ui-table-unfrozen-view");var n=this.el.nativeElement.previousElementSibling;n&&(this.frozenSiblingBody=s.DomHandler.findSingle(n,".ui-table-scrollable-body"))}this.bindEvents(),this.setScrollHeight(),this.alignScrollBar(),this.frozen&&(this.columnsSubscription=this.dt.tableService.columnsSource$.subscribe(function(){e.zone.runOutsideAngular(function(){setTimeout(function(){e.setScrollHeight()},50)})})),this.dt.virtualScroll&&this.setVirtualScrollerHeight()},e.prototype.bindEvents=function(){var e=this;this.zone.runOutsideAngular(function(){s.DomHandler.calculateScrollbarWidth(),e.scrollHeaderViewChild&&e.scrollHeaderViewChild.nativeElement&&(e.headerScrollListener=e.onHeaderScroll.bind(e),e.scrollHeaderBoxViewChild.nativeElement.addEventListener("scroll",e.headerScrollListener)),e.scrollFooterViewChild&&e.scrollFooterViewChild.nativeElement&&(e.footerScrollListener=e.onFooterScroll.bind(e),e.scrollFooterViewChild.nativeElement.addEventListener("scroll",e.footerScrollListener)),e.frozen||(e.bodyScrollListener=e.onBodyScroll.bind(e),e.scrollBodyViewChild.nativeElement.addEventListener("scroll",e.bodyScrollListener))})},e.prototype.unbindEvents=function(){this.scrollHeaderViewChild&&this.scrollHeaderViewChild.nativeElement&&this.scrollHeaderBoxViewChild.nativeElement.removeEventListener("scroll",this.headerScrollListener),this.scrollFooterViewChild&&this.scrollFooterViewChild.nativeElement&&this.scrollFooterViewChild.nativeElement.removeEventListener("scroll",this.footerScrollListener),this.scrollBodyViewChild.nativeElement.removeEventListener("scroll",this.bodyScrollListener)},e.prototype.onHeaderScroll=function(e){this.scrollHeaderViewChild.nativeElement.scrollLeft=0},e.prototype.onFooterScroll=function(e){this.scrollFooterViewChild.nativeElement.scrollLeft=0},e.prototype.onBodyScroll=function(e){var t=this;if(this.scrollHeaderViewChild&&this.scrollHeaderViewChild.nativeElement&&(this.scrollHeaderBoxViewChild.nativeElement.style.marginLeft=-1*this.scrollBodyViewChild.nativeElement.scrollLeft+"px"),this.scrollFooterViewChild&&this.scrollFooterViewChild.nativeElement&&(this.scrollFooterBoxViewChild.nativeElement.style.marginLeft=-1*this.scrollBodyViewChild.nativeElement.scrollLeft+"px"),this.frozenSiblingBody&&(this.frozenSiblingBody.scrollTop=this.scrollBodyViewChild.nativeElement.scrollTop),this.dt.virtualScroll){var n=s.DomHandler.getOuterHeight(this.scrollBodyViewChild.nativeElement),l=s.DomHandler.getOuterHeight(this.scrollTableViewChild.nativeElement),i=this.dt.virtualRowHeight*this.dt.rows,o=s.DomHandler.getOuterHeight(this.virtualScrollerViewChild.nativeElement)/i||1,r=this.scrollTableViewChild.nativeElement.style.top||"0";if(this.scrollBodyViewChild.nativeElement.scrollTop+n>parseFloat(r)+l||this.scrollBodyViewChild.nativeElement.scrollTops.DomHandler.getOuterHeight(this.scrollBodyViewChild.nativeElement)},e.prototype.alignScrollBar=function(){if(!this.frozen){var e=this.hasVerticalOverflow()?s.DomHandler.calculateScrollbarWidth():0;this.scrollHeaderBoxViewChild.nativeElement.style.marginRight=e+"px",this.scrollFooterBoxViewChild&&this.scrollFooterBoxViewChild.nativeElement&&(this.scrollFooterBoxViewChild.nativeElement.style.marginRight=e+"px")}this.initialized=!1},e.prototype.ngOnDestroy=function(){this.unbindEvents(),this.frozenSiblingBody=null,this.subscription&&this.subscription.unsubscribe(),this.totalRecordsSubscription&&this.totalRecordsSubscription.unsubscribe(),this.columnsSubscription&&this.columnsSubscription.unsubscribe(),this.initialized=!1},l([o.Input("pScrollableView"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.ViewChild("scrollHeader"),i("design:type",o.ElementRef)],e.prototype,"scrollHeaderViewChild",void 0),l([o.ViewChild("scrollHeaderBox"),i("design:type",o.ElementRef)],e.prototype,"scrollHeaderBoxViewChild",void 0),l([o.ViewChild("scrollBody"),i("design:type",o.ElementRef)],e.prototype,"scrollBodyViewChild",void 0),l([o.ViewChild("scrollTable"),i("design:type",o.ElementRef)],e.prototype,"scrollTableViewChild",void 0),l([o.ViewChild("scrollFooter"),i("design:type",o.ElementRef)],e.prototype,"scrollFooterViewChild",void 0),l([o.ViewChild("scrollFooterBox"),i("design:type",o.ElementRef)],e.prototype,"scrollFooterBoxViewChild",void 0),l([o.ViewChild("virtualScroller"),i("design:type",o.ElementRef)],e.prototype,"virtualScrollerViewChild",void 0),l([o.Input(),i("design:type",String),i("design:paramtypes",[String])],e.prototype,"scrollHeight",null),l([o.Component({selector:"[pScrollableView]",template:'\n
    \n
    \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n \n '})],e)}();t.ScrollableView=m;var v=function(){function e(e){var t=this;this.dt=e,this.isEnabled()&&(this.subscription=this.dt.tableService.sortSource$.subscribe(function(e){t.updateSortState()}))}return e.prototype.ngOnInit=function(){this.isEnabled()&&this.updateSortState()},e.prototype.updateSortState=function(){this.sorted=this.dt.isSorted(this.field)},e.prototype.onClick=function(e){this.isEnabled()&&(this.updateSortState(),this.dt.sort({originalEvent:e,field:this.field}),s.DomHandler.clearSelection())},e.prototype.onEnterKey=function(e){this.onClick(e)},e.prototype.isEnabled=function(){return!0!==this.pSortableColumnDisabled},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input("pSortableColumn"),i("design:type",String)],e.prototype,"field",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pSortableColumnDisabled",void 0),l([o.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[MouseEvent]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.HostListener("keydown.enter",["$event"]),i("design:type",Function),i("design:paramtypes",[MouseEvent]),i("design:returntype",void 0)],e.prototype,"onEnterKey",null),l([o.Directive({selector:"[pSortableColumn]",host:{"[class.ui-sortable-column]":"isEnabled()","[class.ui-state-highlight]":"sorted","[attr.tabindex]":'isEnabled() ? "0" : null'}})],e)}();t.SortableColumn=v;var y=function(){function e(e){var t=this;this.dt=e,this.subscription=this.dt.tableService.sortSource$.subscribe(function(e){t.updateSortState()})}return e.prototype.ngOnInit=function(){this.updateSortState()},e.prototype.onClick=function(e){e.preventDefault()},e.prototype.updateSortState=function(){if("single"===this.dt.sortMode)this.sortOrder=this.dt.isSorted(this.field)?this.dt.sortOrder:0;else if("multiple"===this.dt.sortMode){var e=this.dt.getSortMeta(this.field);this.sortOrder=e?e.order:0}},Object.defineProperty(e.prototype,"ariaText",{get:function(){var e;switch(this.sortOrder){case 1:e=this.ariaLabelAsc;break;case-1:e=this.ariaLabelDesc;break;default:e=this.ariaLabel}return e},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input(),i("design:type",String)],e.prototype,"field",void 0),l([o.Input(),i("design:type",String)],e.prototype,"ariaLabel",void 0),l([o.Input(),i("design:type",String)],e.prototype,"ariaLabelDesc",void 0),l([o.Input(),i("design:type",String)],e.prototype,"ariaLabelAsc",void 0),l([o.Component({selector:"p-sortIcon",template:"\n \n "})],e)}();t.SortIcon=y;var b=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.isEnabled()&&(this.subscription=this.dt.tableService.selectionSource$.subscribe(function(){n.selected=n.dt.isSelected(n.data)}))}return e.prototype.ngOnInit=function(){this.isEnabled()&&(this.selected=this.dt.isSelected(this.data))},e.prototype.onClick=function(e){this.isEnabled()&&this.dt.handleRowClick({originalEvent:e,rowData:this.data,rowIndex:this.index})},e.prototype.onTouchEnd=function(e){this.isEnabled()&&this.dt.handleRowTouchEnd(e)},e.prototype.onKeyDown=function(e){if(this.isEnabled()){var t=e.target;switch(e.which){case 40:var n=this.findNextSelectableRow(t);n&&n.focus(),e.preventDefault();break;case 38:var l=this.findPrevSelectableRow(t);l&&l.focus(),e.preventDefault();break;case 13:this.dt.handleRowClick({originalEvent:e,rowData:this.data,rowIndex:this.index})}}},e.prototype.findNextSelectableRow=function(e){var t=e.nextElementSibling;return t?s.DomHandler.hasClass(t,"ui-selectable-row")?t:this.findNextSelectableRow(t):null},e.prototype.findPrevSelectableRow=function(e){var t=e.previousElementSibling;return t?s.DomHandler.hasClass(t,"ui-selectable-row")?t:this.findPrevSelectableRow(t):null},e.prototype.isEnabled=function(){return!0!==this.pSelectableRowDisabled},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input("pSelectableRow"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input("pSelectableRowIndex"),i("design:type",Number)],e.prototype,"index",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pSelectableRowDisabled",void 0),l([o.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.HostListener("touchend",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onTouchEnd",null),l([o.HostListener("keydown",["$event"]),i("design:type",Function),i("design:paramtypes",[KeyboardEvent]),i("design:returntype",void 0)],e.prototype,"onKeyDown",null),l([o.Directive({selector:"[pSelectableRow]",host:{"[class.ui-selectable-row]":"isEnabled()","[class.ui-state-highlight]":"selected","[attr.tabindex]":"isEnabled() ? 0 : undefined"}})],e)}();t.SelectableRow=b;var C=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.isEnabled()&&(this.subscription=this.dt.tableService.selectionSource$.subscribe(function(){n.selected=n.dt.isSelected(n.data)}))}return e.prototype.ngOnInit=function(){this.isEnabled()&&(this.selected=this.dt.isSelected(this.data))},e.prototype.onClick=function(e){this.isEnabled()&&this.dt.handleRowClick({originalEvent:e,rowData:this.data,rowIndex:this.index})},e.prototype.isEnabled=function(){return!0!==this.pSelectableRowDisabled},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input("pSelectableRowDblClick"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input("pSelectableRowIndex"),i("design:type",Number)],e.prototype,"index",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pSelectableRowDisabled",void 0),l([o.HostListener("dblclick",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.Directive({selector:"[pSelectableRowDblClick]",host:{"[class.ui-state-highlight]":"selected"}})],e)}();t.SelectableRowDblClick=C;var w=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.isEnabled()&&(this.subscription=this.dt.tableService.contextMenuSource$.subscribe(function(e){n.selected=n.dt.equals(n.data,e)}))}return e.prototype.onContextMenu=function(e){this.isEnabled()&&(this.dt.handleRowRightClick({originalEvent:e,rowData:this.data}),e.preventDefault())},e.prototype.isEnabled=function(){return!0!==this.pContextMenuRowDisabled},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input("pContextMenuRow"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pContextMenuRowDisabled",void 0),l([o.HostListener("contextmenu",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onContextMenu",null),l([o.Directive({selector:"[pContextMenuRow]",host:{"[class.ui-contextmenu-selected]":"selected"}})],e)}();t.ContextMenuRow=w;var _=function(){function e(e){this.dt=e}return e.prototype.onClick=function(e){this.isEnabled()&&(this.dt.toggleRow(this.data,e),e.preventDefault())},e.prototype.isEnabled=function(){return!0!==this.pRowTogglerDisabled},l([o.Input("pRowToggler"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pRowTogglerDisabled",void 0),l([o.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.Directive({selector:"[pRowToggler]"})],e)}();t.RowToggler=_;var x=function(){function e(e,t,n){this.dt=e,this.el=t,this.zone=n}return e.prototype.ngAfterViewInit=function(){var e=this;this.isEnabled()&&(s.DomHandler.addClass(this.el.nativeElement,"ui-resizable-column"),this.resizer=document.createElement("span"),this.resizer.className="ui-column-resizer ui-clickable",this.el.nativeElement.appendChild(this.resizer),this.zone.runOutsideAngular(function(){e.resizerMouseDownListener=e.onMouseDown.bind(e),e.resizer.addEventListener("mousedown",e.resizerMouseDownListener)}))},e.prototype.bindDocumentEvents=function(){var e=this;this.zone.runOutsideAngular(function(){e.documentMouseMoveListener=e.onDocumentMouseMove.bind(e),document.addEventListener("mousemove",e.documentMouseMoveListener),e.documentMouseUpListener=e.onDocumentMouseUp.bind(e),document.addEventListener("mouseup",e.documentMouseUpListener)})},e.prototype.unbindDocumentEvents=function(){this.documentMouseMoveListener&&(document.removeEventListener("mousemove",this.documentMouseMoveListener),this.documentMouseMoveListener=null),this.documentMouseUpListener&&(document.removeEventListener("mouseup",this.documentMouseUpListener),this.documentMouseUpListener=null)},e.prototype.onMouseDown=function(e){this.dt.onColumnResizeBegin(e),this.bindDocumentEvents()},e.prototype.onDocumentMouseMove=function(e){this.dt.onColumnResize(e)},e.prototype.onDocumentMouseUp=function(e){this.dt.onColumnResizeEnd(e,this.el.nativeElement),this.unbindDocumentEvents()},e.prototype.isEnabled=function(){return!0!==this.pResizableColumnDisabled},e.prototype.ngOnDestroy=function(){this.resizerMouseDownListener&&this.resizer.removeEventListener("mousedown",this.resizerMouseDownListener),this.unbindDocumentEvents()},l([o.Input(),i("design:type",Boolean)],e.prototype,"pResizableColumnDisabled",void 0),l([o.Directive({selector:"[pResizableColumn]"})],e)}();t.ResizableColumn=x;var S=function(){function e(e,t,n){this.dt=e,this.el=t,this.zone=n}return e.prototype.ngAfterViewInit=function(){this.isEnabled()&&this.bindEvents()},e.prototype.bindEvents=function(){var e=this;this.zone.runOutsideAngular(function(){e.mouseDownListener=e.onMouseDown.bind(e),e.el.nativeElement.addEventListener("mousedown",e.mouseDownListener),e.dragStartListener=e.onDragStart.bind(e),e.el.nativeElement.addEventListener("dragstart",e.dragStartListener),e.dragOverListener=e.onDragEnter.bind(e),e.el.nativeElement.addEventListener("dragover",e.dragOverListener),e.dragEnterListener=e.onDragEnter.bind(e),e.el.nativeElement.addEventListener("dragenter",e.dragEnterListener),e.dragLeaveListener=e.onDragLeave.bind(e),e.el.nativeElement.addEventListener("dragleave",e.dragLeaveListener)})},e.prototype.unbindEvents=function(){this.mouseDownListener&&(document.removeEventListener("mousedown",this.mouseDownListener),this.mouseDownListener=null),this.dragOverListener&&(document.removeEventListener("dragover",this.dragOverListener),this.dragOverListener=null),this.dragEnterListener&&(document.removeEventListener("dragenter",this.dragEnterListener),this.dragEnterListener=null),this.dragEnterListener&&(document.removeEventListener("dragenter",this.dragEnterListener),this.dragEnterListener=null),this.dragLeaveListener&&(document.removeEventListener("dragleave",this.dragLeaveListener),this.dragLeaveListener=null)},e.prototype.onMouseDown=function(e){this.el.nativeElement.draggable="INPUT"!==e.target.nodeName&&"TEXTAREA"!==e.target.nodeName&&!s.DomHandler.hasClass(e.target,"ui-column-resizer")},e.prototype.onDragStart=function(e){this.dt.onColumnDragStart(e,this.el.nativeElement)},e.prototype.onDragOver=function(e){e.preventDefault()},e.prototype.onDragEnter=function(e){this.dt.onColumnDragEnter(e,this.el.nativeElement)},e.prototype.onDragLeave=function(e){this.dt.onColumnDragLeave(e)},e.prototype.onDrop=function(e){this.isEnabled()&&this.dt.onColumnDrop(e,this.el.nativeElement)},e.prototype.isEnabled=function(){return!0!==this.pReorderableColumnDisabled},e.prototype.ngOnDestroy=function(){this.unbindEvents()},l([o.Input(),i("design:type",Boolean)],e.prototype,"pReorderableColumnDisabled",void 0),l([o.HostListener("drop",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onDrop",null),l([o.Directive({selector:"[pReorderableColumn]"})],e)}();t.ReorderableColumn=S;var E=function(){function e(e,t,n){this.dt=e,this.el=t,this.zone=n}return e.prototype.ngAfterViewInit=function(){this.isEnabled()&&s.DomHandler.addClass(this.el.nativeElement,"ui-editable-column")},e.prototype.onClick=function(e){if(this.isEnabled())if(this.dt.editingCellClick=!0,this.dt.editingCell){if(this.dt.editingCell!==this.el.nativeElement){if(!this.dt.isEditingCellValid())return;s.DomHandler.removeClass(this.dt.editingCell,"ui-editing-cell"),this.openCell()}}else this.openCell()},e.prototype.openCell=function(){var e=this;this.dt.updateEditingCell(this.el.nativeElement),s.DomHandler.addClass(this.el.nativeElement,"ui-editing-cell"),this.dt.onEditInit.emit({field:this.field,data:this.data}),this.zone.runOutsideAngular(function(){setTimeout(function(){var t=s.DomHandler.findSingle(e.el.nativeElement,"input, textarea");t&&t.focus()},50)})},e.prototype.closeEditingCell=function(){s.DomHandler.removeClass(this.dt.editingCell,"ui-editing-cell"),this.dt.editingCell=null,this.dt.unbindDocumentEditListener()},e.prototype.onKeyDown=function(e){this.isEnabled()&&(13==e.keyCode?(this.dt.isEditingCellValid()&&(this.closeEditingCell(),this.dt.onEditComplete.emit({field:this.field,data:this.data})),e.preventDefault()):27==e.keyCode?(this.dt.isEditingCellValid()&&(this.closeEditingCell(),this.dt.onEditCancel.emit({field:this.field,data:this.data})),e.preventDefault()):9==e.keyCode&&(this.dt.onEditComplete.emit({field:this.field,data:this.data}),e.shiftKey?this.moveToPreviousCell(e):this.moveToNextCell(e)))},e.prototype.findCell=function(e){if(e){for(var t=e;t&&!s.DomHandler.hasClass(t,"ui-editing-cell");)t=t.parentElement;return t}return null},e.prototype.moveToPreviousCell=function(e){var t=this.findCell(e.target),n=this.findPreviousEditableColumn(t);n&&(s.DomHandler.invokeElementMethod(e.target,"blur"),s.DomHandler.invokeElementMethod(n,"click"),e.preventDefault())},e.prototype.moveToNextCell=function(e){var t=this.findCell(e.target),n=this.findNextEditableColumn(t);n&&(s.DomHandler.invokeElementMethod(e.target,"blur"),s.DomHandler.invokeElementMethod(n,"click"),e.preventDefault())},e.prototype.findPreviousEditableColumn=function(e){var t=e.previousElementSibling;if(!t){var n=e.parentElement.previousElementSibling;n&&(t=n.lastElementChild)}return t?s.DomHandler.hasClass(t,"ui-editable-column")?t:this.findPreviousEditableColumn(t):null},e.prototype.findNextEditableColumn=function(e){var t=e.nextElementSibling;if(!t){var n=e.parentElement.nextElementSibling;n&&(t=n.firstElementChild)}return t?s.DomHandler.hasClass(t,"ui-editable-column")?t:this.findNextEditableColumn(t):null},e.prototype.isEnabled=function(){return!0!==this.pEditableColumnDisabled},l([o.Input("pEditableColumn"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input("pEditableColumnField"),i("design:type",Object)],e.prototype,"field",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pEditableColumnDisabled",void 0),l([o.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[MouseEvent]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.HostListener("keydown",["$event"]),i("design:type",Function),i("design:paramtypes",[KeyboardEvent]),i("design:returntype",void 0)],e.prototype,"onKeyDown",null),l([o.Directive({selector:"[pEditableColumn]"})],e)}();t.EditableColumn=E;var I=function(){function e(e,t){this.dt=e,this.editableColumn=t}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"input":e.inputTemplate=t.template;break;case"output":e.outputTemplate=t.template}})},l([o.ContentChildren(u.PrimeTemplate),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.Component({selector:"p-cellEditor",template:'\n \n \n \n \n \n \n '})],e)}();t.CellEditor=I;var O=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.subscription=this.dt.tableService.selectionSource$.subscribe(function(){n.checked=n.dt.isSelected(n.value)})}return e.prototype.ngOnInit=function(){this.checked=this.dt.isSelected(this.value)},e.prototype.onClick=function(e){this.disabled||this.dt.toggleRowWithRadio({originalEvent:e,rowIndex:this.index},this.value),s.DomHandler.clearSelection()},e.prototype.onFocus=function(){s.DomHandler.addClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.onBlur=function(){s.DomHandler.removeClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"value",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"index",void 0),l([o.ViewChild("box"),i("design:type",o.ElementRef)],e.prototype,"boxViewChild",void 0),l([o.Component({selector:"p-tableRadioButton",template:'\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n '})],e)}();t.TableRadioButton=O;var T=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.subscription=this.dt.tableService.selectionSource$.subscribe(function(){n.checked=n.dt.isSelected(n.value)})}return e.prototype.ngOnInit=function(){this.checked=this.dt.isSelected(this.value)},e.prototype.onClick=function(e){this.disabled||this.dt.toggleRowWithCheckbox({originalEvent:e,rowIndex:this.index},this.value),s.DomHandler.clearSelection()},e.prototype.onFocus=function(){s.DomHandler.addClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.onBlur=function(){s.DomHandler.removeClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"value",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"index",void 0),l([o.ViewChild("box"),i("design:type",o.ElementRef)],e.prototype,"boxViewChild",void 0),l([o.Component({selector:"p-tableCheckbox",template:'\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n '})],e)}();t.TableCheckbox=T;var D=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.valueChangeSubscription=this.dt.tableService.valueSource$.subscribe(function(){n.checked=n.updateCheckedState()}),this.selectionChangeSubscription=this.dt.tableService.selectionSource$.subscribe(function(){n.checked=n.updateCheckedState()})}return e.prototype.ngOnInit=function(){this.checked=this.updateCheckedState()},e.prototype.onClick=function(e,t){this.disabled||this.dt.value&&this.dt.value.length>0&&this.dt.toggleRowsWithCheckbox(e,!t),s.DomHandler.clearSelection()},e.prototype.onFocus=function(){s.DomHandler.addClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.onBlur=function(){s.DomHandler.removeClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.isDisabled=function(){return this.disabled||!this.dt.value||!this.dt.value.length},e.prototype.ngOnDestroy=function(){this.selectionChangeSubscription&&this.selectionChangeSubscription.unsubscribe(),this.valueChangeSubscription&&this.valueChangeSubscription.unsubscribe()},e.prototype.updateCheckedState=function(){var e;return this.dt.filteredValue?(e=this.dt.filteredValue)&&e.length>0&&this.dt.selection&&this.dt.selection.length>0&&this.isAllFilteredValuesChecked():(e=this.dt.value)&&e.length>0&&this.dt.selection&&this.dt.selection.length>0&&this.dt.selection.length===e.length},e.prototype.isAllFilteredValuesChecked=function(){if(this.dt.filteredValue){for(var e=0,t=this.dt.filteredValue;e\n
    \n \n
    \n
    \n \n
    \n
    \n '})],e)}();t.TableHeaderCheckbox=D;var R=function(){function e(e){this.el=e}return e.prototype.ngAfterViewInit=function(){s.DomHandler.addClass(this.el.nativeElement,"ui-table-reorderablerow-handle")},l([o.Input("pReorderableRowHandle"),i("design:type",Number)],e.prototype,"index",void 0),l([o.Directive({selector:"[pReorderableRowHandle]"})],e)}();t.ReorderableRowHandle=R;var k=function(){function e(e,t,n){this.dt=e,this.el=t,this.zone=n}return e.prototype.ngAfterViewInit=function(){this.isEnabled()&&(this.el.nativeElement.droppable=!0,this.bindEvents())},e.prototype.bindEvents=function(){var e=this;this.zone.runOutsideAngular(function(){e.mouseDownListener=e.onMouseDown.bind(e),e.el.nativeElement.addEventListener("mousedown",e.mouseDownListener),e.dragStartListener=e.onDragStart.bind(e),e.el.nativeElement.addEventListener("dragstart",e.dragStartListener),e.dragEndListener=e.onDragEnd.bind(e),e.el.nativeElement.addEventListener("dragend",e.dragEndListener),e.dragOverListener=e.onDragOver.bind(e),e.el.nativeElement.addEventListener("dragover",e.dragOverListener),e.dragLeaveListener=e.onDragLeave.bind(e),e.el.nativeElement.addEventListener("dragleave",e.dragLeaveListener)})},e.prototype.unbindEvents=function(){this.mouseDownListener&&(document.removeEventListener("mousedown",this.mouseDownListener),this.mouseDownListener=null),this.dragStartListener&&(document.removeEventListener("dragstart",this.dragStartListener),this.dragStartListener=null),this.dragEndListener&&(document.removeEventListener("dragend",this.dragEndListener),this.dragEndListener=null),this.dragOverListener&&(document.removeEventListener("dragover",this.dragOverListener),this.dragOverListener=null),this.dragLeaveListener&&(document.removeEventListener("dragleave",this.dragLeaveListener),this.dragLeaveListener=null)},e.prototype.onMouseDown=function(e){this.el.nativeElement.draggable=!!s.DomHandler.hasClass(e.target,"ui-table-reorderablerow-handle")},e.prototype.onDragStart=function(e){this.dt.onRowDragStart(e,this.index)},e.prototype.onDragEnd=function(e){this.dt.onRowDragEnd(e),this.el.nativeElement.draggable=!1},e.prototype.onDragOver=function(e){this.dt.onRowDragOver(e,this.index,this.el.nativeElement),e.preventDefault()},e.prototype.onDragLeave=function(e){this.dt.onRowDragLeave(e,this.el.nativeElement)},e.prototype.isEnabled=function(){return!0!==this.pReorderableRowDisabled},e.prototype.onDrop=function(e){this.isEnabled()&&this.dt.rowDragging&&this.dt.onRowDrop(e,this.el.nativeElement),e.preventDefault()},l([o.Input("pReorderableRow"),i("design:type",Number)],e.prototype,"index",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pReorderableRowDisabled",void 0),l([o.HostListener("drop",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onDrop",null),l([o.Directive({selector:"[pReorderableRow]"})],e)}();t.ReorderableRow=k,t.TableModule=function(){return l([o.NgModule({imports:[r.CommonModule,a.PaginatorModule],exports:[f,u.SharedModule,v,b,_,w,x,S,E,I,y,O,T,D,R,k,C],declarations:[f,v,b,_,w,x,S,E,I,g,m,y,O,T,D,R,k,C]})],function(){})}()},DKTb:function(e,t,n){"use strict";function l(e){setTimeout(function(){throw e},0)}n.d(t,"a",function(){return l})},DqLj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=n("sdDj");t.DomHandler=l.DomHandler;var i=n("B58V");t.TreeDragDropService=i.TreeDragDropService;var o=n("oygf");t.ConfirmationService=o.ConfirmationService;var r=n("4Vzq");t.MessageService=r.MessageService;var u=n("6xRK");t.DialogService=u.DialogService;var a=n("V3HQ");t.DynamicDialogConfig=a.DynamicDialogConfig;var s=n("RWz4");t.DynamicDialogRef=s.DynamicDialogRef},DtyJ:function(e,t,n){"use strict";n.r(t),n.d(t,"Observable",function(){return l.a}),n.d(t,"ConnectableObservable",function(){return i.a}),n.d(t,"GroupedObservable",function(){return s}),n.d(t,"observable",function(){return d.a}),n.d(t,"Subject",function(){return a.a}),n.d(t,"BehaviorSubject",function(){return p.a}),n.d(t,"ReplaySubject",function(){return h.a}),n.d(t,"AsyncSubject",function(){return f}),n.d(t,"asapScheduler",function(){return g.a}),n.d(t,"asyncScheduler",function(){return m.a}),n.d(t,"queueScheduler",function(){return v.a}),n.d(t,"animationFrameScheduler",function(){return y.a}),n.d(t,"VirtualTimeScheduler",function(){return C}),n.d(t,"VirtualAction",function(){return w}),n.d(t,"Scheduler",function(){return _.a}),n.d(t,"Subscription",function(){return u.a}),n.d(t,"Subscriber",function(){return r.a}),n.d(t,"Notification",function(){return x.a}),n.d(t,"NotificationKind",function(){return x.b}),n.d(t,"pipe",function(){return S.a}),n.d(t,"noop",function(){return E.a}),n.d(t,"identity",function(){return I.a}),n.d(t,"isObservable",function(){return O.a}),n.d(t,"ArgumentOutOfRangeError",function(){return T.a}),n.d(t,"EmptyError",function(){return D.a}),n.d(t,"ObjectUnsubscribedError",function(){return R.a}),n.d(t,"UnsubscriptionError",function(){return k.a}),n.d(t,"TimeoutError",function(){return N}),n.d(t,"bindCallback",function(){return V}),n.d(t,"bindNodeCallback",function(){return B}),n.d(t,"combineLatest",function(){return G.a}),n.d(t,"concat",function(){return W.a}),n.d(t,"defer",function(){return q.a}),n.d(t,"empty",function(){return K.b}),n.d(t,"forkJoin",function(){return Y.a}),n.d(t,"from",function(){return Z.a}),n.d(t,"fromEvent",function(){return Q.a}),n.d(t,"fromEventPattern",function(){return J}),n.d(t,"generate",function(){return ee}),n.d(t,"iif",function(){return ne}),n.d(t,"interval",function(){return ie}),n.d(t,"merge",function(){return re.a}),n.d(t,"never",function(){return ae}),n.d(t,"of",function(){return se.a}),n.d(t,"onErrorResumeNext",function(){return ce}),n.d(t,"pairs",function(){return de}),n.d(t,"partition",function(){return me}),n.d(t,"race",function(){return Ce}),n.d(t,"range",function(){return xe}),n.d(t,"throwError",function(){return Ee.a}),n.d(t,"timer",function(){return Ie.a}),n.d(t,"using",function(){return Oe}),n.d(t,"zip",function(){return De}),n.d(t,"scheduled",function(){return Ae.a}),n.d(t,"EMPTY",function(){return K.a}),n.d(t,"NEVER",function(){return ue}),n.d(t,"config",function(){return Pe.a});var l=n("6blF"),i=n("KhEm"),o=n("mrSG"),r=n("FFOo"),u=n("pugT"),a=n("K9Ia"),s=function(e){function t(t,n,l){var i=e.call(this)||this;return i.key=t,i.groupSubject=n,i.refCountSubscription=l,i}return o.__extends(t,e),t.prototype._subscribe=function(e){var t=new u.a,n=this.refCountSubscription,l=this.groupSubject;return n&&!n.closed&&t.add(new c(n)),t.add(l.subscribe(e)),t},t}(l.a),c=function(e){function t(t){var n=e.call(this)||this;return n.parent=t,t.count++,n}return o.__extends(t,e),t.prototype.unsubscribe=function(){var t=this.parent;t.closed||this.closed||(e.prototype.unsubscribe.call(this),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())},t}(u.a),d=n("xTla"),p=n("26FU"),h=n("S5bw"),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.value=null,t.hasNext=!1,t.hasCompleted=!1,t}return o.__extends(t,e),t.prototype._subscribe=function(t){return this.hasError?(t.error(this.thrownError),u.a.EMPTY):this.hasCompleted&&this.hasNext?(t.next(this.value),t.complete(),u.a.EMPTY):e.prototype._subscribe.call(this,t)},t.prototype.next=function(e){this.hasCompleted||(this.value=e,this.hasNext=!0)},t.prototype.error=function(t){this.hasCompleted||e.prototype.error.call(this,t)},t.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&e.prototype.next.call(this,this.value),e.prototype.complete.call(this)},t}(a.a),g=n("KQya"),m=n("T1DM"),v=n("zo3G"),y=n("tHPV"),b=n("h9Dq"),C=function(e){function t(t,n){void 0===t&&(t=w),void 0===n&&(n=Number.POSITIVE_INFINITY);var l=e.call(this,t,function(){return l.frame})||this;return l.maxFrames=n,l.frame=0,l.index=-1,l}return o.__extends(t,e),t.prototype.flush=function(){for(var e,t,n=this.actions,l=this.maxFrames;(t=n[0])&&t.delay<=l&&(n.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=n.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(n("CS9Q").a),w=function(e){function t(t,n,l){void 0===l&&(l=t.index+=1);var i=e.call(this,t,n)||this;return i.scheduler=t,i.work=n,i.index=l,i.active=!0,i.index=t.index=l,i}return o.__extends(t,e),t.prototype.schedule=function(n,l){if(void 0===l&&(l=0),!this.id)return e.prototype.schedule.call(this,n,l);this.active=!1;var i=new t(this.scheduler,this.work);return this.add(i),i.schedule(n,l)},t.prototype.requestAsyncId=function(e,n,l){void 0===l&&(l=0),this.delay=e.frame+l;var i=e.actions;return i.push(this),i.sort(t.sortActions),!0},t.prototype.recycleAsyncId=function(e,t,n){void 0===n&&(n=0)},t.prototype._execute=function(t,n){if(!0===this.active)return e.prototype._execute.call(this,t,n)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},t}(b.a),_=n("siIJ"),x=n("60iU"),S=n("y3By"),E=n("+umK"),I=n("mChF"),O=n("zrt+"),T=n("b7mW"),D=n("3fWJ"),R=n("8g8A"),k=n("awvh");function M(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}M.prototype=Object.create(Error.prototype);var N=M,L=n("67Y/"),A=n("1fDf"),P=n("isby"),F=n("nkY7");function V(e,t,n){if(t){if(!Object(F.a)(t))return function(){for(var l=[],i=0;i=t){l.complete();break}if(l.next(o++),l.closed)break}})}function Se(e){var t=e.start,n=e.index,l=e.subscriber;n>=e.count?l.complete():(l.next(t),l.closed||(e.index=n+1,e.start=t+1,this.schedule(e)))}var Ee=n("XlPw"),Ie=n("gI3B");function Oe(e,t){return new l.a(function(n){var l,i;try{l=e()}catch(r){return void n.error(r)}try{i=t(l)}catch(r){return void n.error(r)}var o=(i?Object(Z.a)(i):K.a).subscribe(n);return function(){o.unsubscribe(),l&&l.unsubscribe()}})}var Te=n("En8+");function De(){for(var e=[],t=0;tthis.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),Le=function(e){function t(t,n,l){var i=e.call(this,t)||this;return i.parent=n,i.observable=l,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return o.__extends(t,e),t.prototype[Te.a]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e,t,n,l,i){this.buffer.push(t),this.parent.checkIterators()},t.prototype.subscribe=function(e,t){return Object(be.a)(this,this.observable,this,t)},t}(ye.a),Ae=n("i4X3"),Pe=n("iLxQ")},EBtg:function(e,t,n){"use strict";var l=n("2KeD"),i=n("n73p"),o=n("2qMH"),r=n("LJ/p"),u=n("HZF8"),a=n("90cg"),s=n("yRPT"),c=n("0alx");t.scheduled=function(e,t){if(null!=e){if(u.isInteropObservable(e))return l.scheduleObservable(e,t);if(a.isPromise(e))return i.schedulePromise(e,t);if(s.isArrayLike(e))return o.scheduleArray(e,t);if(c.isIterable(e)||"string"==typeof e)return r.scheduleIterable(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}},EPYN:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("VSng"),a=function(){return l([o.Component({selector:"p-inplaceDisplay",template:""})],function(){})}();t.InplaceDisplay=a;var s=function(){return l([o.Component({selector:"p-inplaceContent",template:""})],function(){})}();t.InplaceContent=s;var c=function(){function e(){this.onActivate=new o.EventEmitter,this.onDeactivate=new o.EventEmitter}return e.prototype.activate=function(e){this.disabled||(this.active=!0,this.onActivate.emit(e))},e.prototype.deactivate=function(e){this.disabled||(this.active=!1,this.hover=!1,this.onDeactivate.emit(e))},l([o.Input(),i("design:type",Boolean)],e.prototype,"active",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"closable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onActivate",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onDeactivate",void 0),l([o.Component({selector:"p-inplace",template:'\n
    \n
    \n \n
    \n
    \n \n \n
    \n
    \n '})],e)}();t.Inplace=c,t.InplaceModule=function(){return l([o.NgModule({imports:[r.CommonModule,u.ButtonModule],exports:[c,a,s,u.ButtonModule],declarations:[c,a,s]})],function(){})}()},EVdn:function(e,t,n){var l;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],r=Object.getPrototypeOf,u=o.slice,a=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},s=o.push,c=o.indexOf,d={},p=d.toString,h=d.hasOwnProperty,f=h.toString,g=f.call(Object),m={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},y=function(e){return null!=e&&e===e.window},b=n.document,C={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var l,i,o=(n=n||b).createElement("script");if(o.text=e,t)for(l in C)(i=t[l]||t.getAttribute&&t.getAttribute(l))&&o.setAttribute(l,i);n.head.appendChild(o).parentNode.removeChild(o)}function _(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[p.call(e)]||"object":typeof e}var x=function(e,t){return new x.fn.init(e,t)};function S(e){var t=!!e&&"length"in e&&e.length,n=_(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:"3.5.0",constructor:x,length:0,toArray:function(){return u.call(this)},get:function(e){return null==e?u.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(x.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+F+")"+F+"*"),G=new RegExp(F+"|>"),W=new RegExp(H),q=new RegExp("^"+V+"$"),K={ID:new RegExp("^#("+V+")"),CLASS:new RegExp("^\\.("+V+")"),TAG:new RegExp("^("+V+"|[*])"),ATTR:new RegExp("^"+j),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+F+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},le=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){p()},re=Ce(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{N.apply(R=L.call(w.childNodes),w.childNodes)}catch(Ee){N={apply:R.length?function(e,t){M.apply(e,L.call(t))}:function(e,t){for(var n=e.length,l=0;e[n++]=t[l++];);e.length=n-1}}}function ue(e,t,l,i){var o,u,s,c,d,f,v,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(l=l||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return l;if(!i&&(p(t),t=t||h,g)){if(11!==w&&(d=J.exec(e)))if(o=d[1]){if(9===w){if(!(s=t.getElementById(o)))return l;if(s.id===o)return l.push(s),l}else if(y&&(s=y.getElementById(o))&&b(t,s)&&s.id===o)return l.push(s),l}else{if(d[2])return N.apply(l,t.getElementsByTagName(e)),l;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return N.apply(l,t.getElementsByClassName(o)),l}if(n.qsa&&!O[e+" "]&&(!m||!m.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===w&&(G.test(e)||$.test(e))){for((y=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((c=t.getAttribute("id"))?c=c.replace(le,ie):t.setAttribute("id",c=C)),u=(f=r(e)).length;u--;)f[u]=(c?"#"+c:":scope")+" "+be(f[u]);v=f.join(",")}try{return N.apply(l,y.querySelectorAll(v)),l}catch(_){O(e,!0)}finally{c===C&&t.removeAttribute("id")}}}return a(e.replace(z,"$1"),t,l,i)}function ae(){var e=[];return function t(n,i){return e.push(n+" ")>l.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function se(e){return e[C]=!0,e}function ce(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(Ee){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=n.length;i--;)l.attrHandle[n[i]]=t}function pe(e,t){var n=t&&e,l=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(l)return l;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ge(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&re(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return se(function(t){return t=+t,se(function(n,l){for(var i,o=e([],n.length,t),r=o.length;r--;)n[i=o[r]]&&(n[i]=!(l[i]=n[i]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ue.support={},o=ue.isXML=function(e){var t=(e.ownerDocument||e).documentElement;return!Y.test(e.namespaceURI||t&&t.nodeName||"HTML")},p=ue.setDocument=function(e){var t,i,r=e?e.ownerDocument||e:w;return r!=h&&9===r.nodeType&&r.documentElement?(f=(h=r).documentElement,g=!o(h),w!=h&&(i=h.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=ce(function(e){return f.appendChild(e).appendChild(h.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),n.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ce(function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=X.test(h.getElementsByClassName),n.getById=ce(function(e){return f.appendChild(e).id=C,!h.getElementsByName||!h.getElementsByName(C).length}),n.getById?(l.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},l.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(l.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},l.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,l,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),l=0;o=i[l++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),l.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,l=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&l.push(n);return l}return o},l.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],m=[],(n.qsa=X.test(h.querySelectorAll))&&(ce(function(e){var t;f.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+F+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+F+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+C+"-]").length||m.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+F+"*name"+F+"*="+F+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+C+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+F+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=X.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ce(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",H)}),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),t=X.test(f.compareDocumentPosition),b=t||X.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,l=t&&t.parentNode;return e===l||!(!l||1!==l.nodeType||!(n.contains?n.contains(l):e.compareDocumentPosition&&16&e.compareDocumentPosition(l)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return d=!0,0;var l=!e.compareDocumentPosition-!t.compareDocumentPosition;return l||(1&(l=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===l?e==h||e.ownerDocument==w&&b(w,e)?-1:t==h||t.ownerDocument==w&&b(w,t)?1:c?A(c,e)-A(c,t):0:4&l?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,l=0,i=e.parentNode,o=t.parentNode,r=[e],u=[t];if(!i||!o)return e==h?-1:t==h?1:i?-1:o?1:c?A(c,e)-A(c,t):0;if(i===o)return pe(e,t);for(n=e;n=n.parentNode;)r.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;r[l]===u[l];)l++;return l?pe(r[l],u[l]):r[l]==w?-1:u[l]==w?1:0},h):h},ue.matches=function(e,t){return ue(e,null,null,t)},ue.matchesSelector=function(e,t){if(p(e),n.matchesSelector&&g&&!O[t+" "]&&(!v||!v.test(t))&&(!m||!m.test(t)))try{var l=y.call(e,t);if(l||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return l}catch(Ee){O(t,!0)}return ue(t,h,null,[e]).length>0},ue.contains=function(e,t){return(e.ownerDocument||e)!=h&&p(e),b(e,t)},ue.attr=function(e,t){(e.ownerDocument||e)!=h&&p(e);var i=l.attrHandle[t.toLowerCase()],o=i&&D.call(l.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ue.escape=function(e){return(e+"").replace(le,ie)},ue.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ue.uniqueSort=function(e){var t,l=[],i=0,o=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(T),d){for(;t=e[o++];)t===e[o]&&(i=l.push(o));for(;i--;)e.splice(l[i],1)}return c=null,e},i=ue.getText=function(e){var t,n="",l=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[l++];)n+=i(t);return n},(l=ue.selectors={cacheLength:50,createPseudo:se,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ue.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ue.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=r(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|"+F+")"+e+"("+F+"|$)"))&&S(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(l){var i=ue.attr(l,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,l,i){var o="nth"!==e.slice(0,3),r="last"!==e.slice(-4),u="of-type"===t;return 1===l&&0===i?function(e){return!!e.parentNode}:function(t,n,a){var s,c,d,p,h,f,g=o!==r?"nextSibling":"previousSibling",m=t.parentNode,v=u&&t.nodeName.toLowerCase(),y=!a&&!u,b=!1;if(m){if(o){for(;g;){for(p=t;p=p[g];)if(u?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;f=g="only"===e&&!f&&"nextSibling"}return!0}if(f=[r?m.firstChild:m.lastChild],r&&y){for(b=(h=(s=(c=(d=(p=m)[C]||(p[C]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===_&&s[1])&&s[2],p=h&&m.childNodes[h];p=++h&&p&&p[g]||(b=h=0)||f.pop();)if(1===p.nodeType&&++b&&p===t){c[e]=[_,h,b];break}}else if(y&&(b=h=(s=(c=(d=(p=t)[C]||(p[C]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===_&&s[1]),!1===b)for(;(p=++h&&p&&p[g]||(b=h=0)||f.pop())&&((u?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++b||(y&&((c=(d=p[C]||(p[C]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[_,b]),p!==t)););return(b-=i)===l||b%l==0&&b/l>=0}}},PSEUDO:function(e,t){var n,i=l.pseudos[e]||l.setFilters[e.toLowerCase()]||ue.error("unsupported pseudo: "+e);return i[C]?i(t):i.length>1?(n=[e,e,"",t],l.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){for(var l,o=i(e,t),r=o.length;r--;)e[l=A(e,o[r])]=!(n[l]=o[r])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],l=u(e.replace(z,"$1"));return l[C]?se(function(e,t,n,i){for(var o,r=l(e,null,i,[]),u=e.length;u--;)(o=r[u])&&(e[u]=!(t[u]=o))}):function(e,i,o){return t[0]=e,l(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return ue(e,t).length>0}}),contains:se(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}}),lang:se(function(e){return q.test(e||"")||ue.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!l.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return Z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me(function(){return[0]}),last:me(function(e,t){return[t-1]}),eq:me(function(e,t,n){return[n<0?n+t:n]}),even:me(function(e,t){for(var n=0;nt?t:n;--l>=0;)e.push(l);return e}),gt:me(function(e,t,n){for(var l=n<0?n+t:n;++l1?function(t,n,l){for(var i=e.length;i--;)if(!e[i](t,n,l))return!1;return!0}:e[0]}function _e(e,t,n,l,i){for(var o,r=[],u=0,a=e.length,s=null!=t;u-1&&(o[s]=!(r[s]=d))}}else v=_e(v===r?v.splice(f,v.length):v),i?i(null,r,v,a):N.apply(r,v)})}function Se(e){for(var t,n,i,o=e.length,r=l.relative[e[0].type],u=r||l.relative[" "],a=r?1:0,c=Ce(function(e){return e===t},u,!0),d=Ce(function(e){return A(t,e)>-1},u,!0),p=[function(e,n,l){var i=!r&&(l||n!==s)||((t=n).nodeType?c(e,n,l):d(e,n,l));return t=null,i}];a1&&we(p),a>1&&be(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(z,"$1"),n,a0,i=e.length>0,o=function(o,r,u,a,c){var d,f,m,v=0,y="0",b=o&&[],C=[],w=s,x=o||i&&l.find.TAG("*",c),S=_+=null==w?1:Math.random()||.1,E=x.length;for(c&&(s=r==h||r||c);y!==E&&null!=(d=x[y]);y++){if(i&&d){for(f=0,r||d.ownerDocument==h||(p(d),u=!g);m=e[f++];)if(m(d,r||h,u)){a.push(d);break}c&&(_=S)}n&&((d=!m&&d)&&v--,o&&b.push(d))}if(v+=y,n&&y!==v){for(f=0;m=t[f++];)m(b,C,r,u);if(o){if(v>0)for(;y--;)b[y]||C[y]||(C[y]=k.call(a));C=_e(C)}N.apply(a,C),c&&!o&&C.length>0&&v+t.length>1&&ue.uniqueSort(a)}return c&&(_=S,s=w),b};return n?se(o):o}(o,i))).selector=e}return u},a=ue.select=function(e,t,n,i){var o,a,s,c,d,p="function"==typeof e&&e,h=!i&&r(e=p.selector||e);if(n=n||[],1===h.length){if((a=h[0]=h[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===t.nodeType&&g&&l.relative[a[1].type]){if(!(t=(l.find.ID(s.matches[0].replace(te,ne),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(o=K.needsContext.test(e)?0:a.length;o--&&!l.relative[c=(s=a[o]).type];)if((d=l.find[c])&&(i=d(s.matches[0].replace(te,ne),ee.test(a[0].type)&&ve(t.parentNode)||t))){if(a.splice(o,1),!(e=i.length&&be(a)))return N.apply(n,i),n;break}}return(p||u(e,h))(i,t,!g,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=C.split("").sort(T).join("")===C,n.detectDuplicates=!!d,p(),n.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))}),ce(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ce(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||de(P,function(e,t,n){var l;if(!n)return!0===e[t]?t.toLowerCase():(l=e.getAttributeNode(t))&&l.specified?l.value:null}),ue}(n);x.find=E,x.expr=E.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=E.uniqueSort,x.text=E.getText,x.isXMLDoc=E.isXML,x.contains=E.contains,x.escapeSelector=E.escape;var I=function(e,t,n){for(var l=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&x(e).is(n))break;l.push(e)}return l},O=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},T=x.expr.match.needsContext;function D(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var R=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function k(e,t,n){return v(t)?x.grep(e,function(e,l){return!!t.call(e,l,e)!==n}):t.nodeType?x.grep(e,function(e){return e===t!==n}):"string"!=typeof t?x.grep(e,function(e){return c.call(t,e)>-1!==n}):x.filter(t,e,n)}x.filter=function(e,t,n){var l=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===l.nodeType?x.find.matchesSelector(l,e)?[l]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},x.fn.extend({find:function(e){var t,n,l=this.length,i=this;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;t1?x.uniqueSort(n):n},filter:function(e){return this.pushStack(k(this,e||[],!1))},not:function(e){return this.pushStack(k(this,e||[],!0))},is:function(e){return!!k(this,"string"==typeof e&&T.test(e)?x(e):e||[],!1).length}});var M,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var l,i;if(!e)return this;if(n=n||M,"string"==typeof e){if(!(l="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:N.exec(e))||!l[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(l[1]){if(x.merge(this,x.parseHTML(l[1],(t=t instanceof x?t[0]:t)&&t.nodeType?t.ownerDocument||t:b,!0)),R.test(l[1])&&x.isPlainObject(t))for(l in t)v(this[l])?this[l](t[l]):this.attr(l,t[l]);return this}return(i=b.getElementById(l[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,M=x(b);var L=/^(?:parents|prev(?:Until|All))/,A={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&x.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?x.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?c.call(x(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return I(e,"parentNode")},parentsUntil:function(e,t,n){return I(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return I(e,"nextSibling")},prevAll:function(e){return I(e,"previousSibling")},nextUntil:function(e,t,n){return I(e,"nextSibling",n)},prevUntil:function(e,t,n){return I(e,"previousSibling",n)},siblings:function(e){return O((e.parentNode||{}).firstChild,e)},children:function(e){return O(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(D(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},function(e,t){x.fn[e]=function(n,l){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(l=n),l&&"string"==typeof l&&(i=x.filter(l,i)),this.length>1&&(A[e]||x.uniqueSort(i),L.test(e)&&i.reverse()),this.pushStack(i)}});var F=/[^\x20\t\r\n\f]+/g;function V(e){return e}function j(e){throw e}function H(e,t,n,l){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(l))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return x.each(e.match(F)||[],function(e,n){t[n]=!0}),t}(e):x.extend({},e);var t,n,l,i,o=[],r=[],u=-1,a=function(){for(i=i||e.once,l=t=!0;r.length;u=-1)for(n=r.shift();++u-1;)o.splice(n,1),n<=u&&u--}),this},has:function(e){return e?x.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=r=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=r=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],r.push(n),t||a()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!l}};return s},x.extend({Deferred:function(e){var t=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],l="pending",i={state:function(){return l},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,l){var i=v(e[l[4]])&&e[l[4]];o[l[1]](function(){var e=i&&i.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[l[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,l,i){var o=0;function r(e,t,l,i){return function(){var u=this,a=arguments,s=function(){var n,s;if(!(e=o&&(l!==j&&(u=void 0,a=[n]),t.rejectWith(u,a))}};e?c():(x.Deferred.getStackHook&&(c.stackTrace=x.Deferred.getStackHook()),n.setTimeout(c))}}return x.Deferred(function(n){t[0][3].add(r(0,n,v(i)?i:V,n.notifyWith)),t[1][3].add(r(0,n,v(e)?e:V)),t[2][3].add(r(0,n,v(l)?l:j))}).promise()},promise:function(e){return null!=e?x.extend(e,i):i}},o={};return x.each(t,function(e,n){var r=n[2],u=n[5];i[n[1]]=r.add,u&&r.add(function(){l=u},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),r.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=r.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,l=Array(n),i=u.call(arguments),o=x.Deferred(),r=function(e){return function(n){l[e]=this,i[e]=arguments.length>1?u.call(arguments):n,--t||o.resolveWith(l,i)}};if(t<=1&&(H(e,o.done(r(n)).resolve,o.reject,!t),"pending"===o.state()||v(i[n]&&i[n].then)))return o.then();for(;n--;)H(i[n],r(n),o.reject);return o.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&B.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){n.setTimeout(function(){throw e})};var z=x.Deferred();function U(){b.removeEventListener("DOMContentLoaded",U),n.removeEventListener("load",U),x.ready()}x.fn.ready=function(e){return z.then(e).catch(function(e){x.readyException(e)}),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||z.resolveWith(b,[x]))}}),x.ready.then=z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(x.ready):(b.addEventListener("DOMContentLoaded",U),n.addEventListener("load",U));var $=function(e,t,n,l,i,o,r){var u=0,a=e.length,s=null==n;if("object"===_(n))for(u in i=!0,n)$(e,t,u,n[u],!0,o,r);else if(void 0!==l&&(i=!0,v(l)||(r=!0),s&&(r?(t.call(e,l),t=null):(s=t,t=function(e,t,n){return s.call(x(e),n)})),t))for(;u1,null,!0)},removeData:function(e){return this.each(function(){X.remove(this,e)})}}),x.extend({queue:function(e,t,n){var l;if(e)return l=Q.get(e,t=(t||"fx")+"queue"),n&&(!l||Array.isArray(n)?l=Q.access(e,t,x.makeArray(n)):l.push(n)),l||[]},dequeue:function(e,t){var n=x.queue(e,t=t||"fx"),l=n.length,i=n.shift(),o=x._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),l--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){x.dequeue(e,t)},o)),!l&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:x.Callbacks("once memory").add(function(){Q.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,ve=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(fe=b.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),he.appendChild(fe),m.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="",m.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="",m.option=!!he.lastChild;var ye={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&D(e,t)?x.merge([e],n):n}function Ce(e,t){for(var n=0,l=e.length;n",""]);var we=/<|&#?\w+;/;function _e(e,t,n,l,i){for(var o,r,u,a,s,c,d=t.createDocumentFragment(),p=[],h=0,f=e.length;h-1)i&&i.push(o);else if(s=re(o),r=be(d.appendChild(o),"script"),s&&Ce(r),n)for(c=0;o=r[c++];)ve.test(o.type||"")&&n.push(o);return d}var xe=/^key/,Se=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function Ie(){return!0}function Oe(){return!1}function Te(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function De(e,t,n,l,i,o){var r,u;if("object"==typeof t){for(u in"string"!=typeof n&&(l=l||n,n=void 0),t)De(e,u,n,l,t[u],o);return e}if(null==l&&null==i?(i=n,l=n=void 0):null==i&&("string"==typeof n?(i=l,l=void 0):(i=l,l=n,n=void 0)),!1===i)i=Oe;else if(!i)return e;return 1===o&&(r=i,(i=function(e){return x().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=x.guid++)),e.each(function(){x.event.add(this,t,i,l,n)})}function Re(e,t,n){n?(Q.set(e,t,!1),x.event.add(e,t,{namespace:!1,handler:function(e){var l,i,o=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(x.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=u.call(arguments),Q.set(this,t,o),l=n(this,t),this[t](),o!==(i=Q.get(this,t))||l?Q.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i.value}else o.length&&(Q.set(this,t,{value:x.event.trigger(x.extend(o[0],x.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&x.event.add(e,t,Ie)}x.event={global:{},add:function(e,t,n,l,i){var o,r,u,a,s,c,d,p,h,f,g,m=Q.get(e);if(Y(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&x.find.matchesSelector(oe,i),n.guid||(n.guid=x.guid++),(a=m.events)||(a=m.events=Object.create(null)),(r=m.handle)||(r=m.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),s=(t=(t||"").match(F)||[""]).length;s--;)h=g=(u=Ee.exec(t[s])||[])[1],f=(u[2]||"").split(".").sort(),h&&(d=x.event.special[h]||{},d=x.event.special[h=(i?d.delegateType:d.bindType)||h]||{},c=x.extend({type:h,origType:g,data:l,handler:n,guid:n.guid,selector:i,needsContext:i&&x.expr.match.needsContext.test(i),namespace:f.join(".")},o),(p=a[h])||((p=a[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,l,f,r)||e.addEventListener&&e.addEventListener(h,r)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),x.event.global[h]=!0)},remove:function(e,t,n,l,i){var o,r,u,a,s,c,d,p,h,f,g,m=Q.hasData(e)&&Q.get(e);if(m&&(a=m.events)){for(s=(t=(t||"").match(F)||[""]).length;s--;)if(h=g=(u=Ee.exec(t[s])||[])[1],f=(u[2]||"").split(".").sort(),h){for(d=x.event.special[h]||{},p=a[h=(l?d.delegateType:d.bindType)||h]||[],u=u[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||u&&!u.test(c.namespace)||l&&l!==c.selector&&("**"!==l||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,d.remove&&d.remove.call(e,c));r&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,f,m.handle)||x.removeEvent(e,h,m.handle),delete a[h])}else for(h in a)x.event.remove(e,h+t[s],n,l,!0);x.isEmptyObject(a)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,l,i,o,r,u=new Array(arguments.length),a=x.event.fix(e),s=(Q.get(this,"events")||Object.create(null))[a.type]||[],c=x.event.special[a.type]||{};for(u[0]=a,t=1;t=1))for(;s!==this;s=s.parentNode||this)if(1===s.nodeType&&("click"!==e.type||!0!==s.disabled)){for(o=[],r={},n=0;n-1:x.find(i,this,null,[s]).length),r[i]&&o.push(l);o.length&&u.push({elem:s,handlers:o})}return s=this,a\s*$/g;function Le(e,t){return D(e,"table")&&D(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Ae(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Pe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,l,i,o,r,u;if(1===t.nodeType){if(Q.hasData(e)&&(u=Q.get(e).events))for(i in Q.remove(t,"handle events"),u)for(n=0,l=u[i].length;n1&&"string"==typeof f&&!m.checkClone&&Me.test(f))return e.each(function(i){var o=e.eq(i);g&&(t[0]=f.call(this,i,o.html())),Ve(o,t,n,l)});if(p&&(o=(i=_e(t,e[0].ownerDocument,!1,e,l)).firstChild,1===i.childNodes.length&&(i=o),o||l)){for(u=(r=x.map(be(i,"script"),Ae)).length;d0&&Ce(r,!d&&be(e,"script")),c},cleanData:function(e){for(var t,n,l,i=x.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[Q.expando]){if(t.events)for(l in t.events)i[l]?x.event.remove(n,l):x.removeEvent(n,l,t.handle);n[Q.expando]=void 0}n[X.expando]&&(n[X.expando]=void 0)}}}),x.fn.extend({detach:function(e){return je(this,e,!0)},remove:function(e){return je(this,e)},text:function(e){return $(this,function(e){return void 0===e?x.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Ve(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Ve(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ve(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ve(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,l=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ke.test(e)&&!ye[(me.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n3,oe.removeChild(e)),u}}))}();var We=["Webkit","Moz","ms"],qe=b.createElement("div").style,Ke={};function Ye(e){return x.cssProps[e]||Ke[e]||(e in qe?e:Ke[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=We.length;n--;)if((e=We[n]+t)in qe)return e}(e)||e)}var Ze=/^(none|table(?!-c[ea]).+)/,Qe=/^--/,Xe={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var l=le.exec(t);return l?Math.max(0,l[2]-(n||0))+(l[3]||"px"):t}function tt(e,t,n,l,i,o){var r="width"===t?1:0,u=0,a=0;if(n===(l?"border":"content"))return 0;for(;r<4;r+=2)"margin"===n&&(a+=x.css(e,n+ie[r],!0,i)),l?("content"===n&&(a-=x.css(e,"padding"+ie[r],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+ie[r]+"Width",!0,i))):(a+=x.css(e,"padding"+ie[r],!0,i),"padding"!==n?a+=x.css(e,"border"+ie[r]+"Width",!0,i):u+=x.css(e,"border"+ie[r]+"Width",!0,i));return!l&&o>=0&&(a+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-a-u-.5))||0),a}function nt(e,t,n){var l=Be(e),i=(!m.boxSizingReliable()||n)&&"border-box"===x.css(e,"boxSizing",!1,l),o=i,r=$e(e,t,l),u="offset"+t[0].toUpperCase()+t.slice(1);if(He.test(r)){if(!n)return r;r="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&D(e,"tr")||"auto"===r||!parseFloat(r)&&"inline"===x.css(e,"display",!1,l))&&e.getClientRects().length&&(i="border-box"===x.css(e,"boxSizing",!1,l),(o=u in e)&&(r=e[u])),(r=parseFloat(r)||0)+tt(e,t,n||(i?"border":"content"),o,l,r)+"px"}function lt(e,t,n,l,i){return new lt.prototype.init(e,t,n,l,i)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=$e(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,l){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,r,u=K(t),a=Qe.test(t),s=e.style;if(a||(t=Ye(u)),r=x.cssHooks[t]||x.cssHooks[u],void 0===n)return r&&"get"in r&&void 0!==(i=r.get(e,!1,l))?i:s[t];"string"==(o=typeof n)&&(i=le.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||a||(n+=i&&i[3]||(x.cssNumber[u]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(s[t]="inherit"),r&&"set"in r&&void 0===(n=r.set(e,n,l))||(a?s.setProperty(t,n):s[t]=n))}},css:function(e,t,n,l){var i,o,r,u=K(t);return Qe.test(t)||(t=Ye(u)),(r=x.cssHooks[t]||x.cssHooks[u])&&"get"in r&&(i=r.get(e,!0,n)),void 0===i&&(i=$e(e,t,l)),"normal"===i&&t in Je&&(i=Je[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),x.each(["height","width"],function(e,t){x.cssHooks[t]={get:function(e,n,l){if(n)return!Ze.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,l):ze(e,Xe,function(){return nt(e,t,l)})},set:function(e,n,l){var i,o=Be(e),r=!m.scrollboxSize()&&"absolute"===o.position,u=(r||l)&&"border-box"===x.css(e,"boxSizing",!1,o),a=l?tt(e,t,l,u,o):0;return u&&r&&(a-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-tt(e,t,"border",!1,o)-.5)),a&&(i=le.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),et(0,n,a)}}}),x.cssHooks.marginLeft=Ge(m.reliableMarginLeft,function(e,t){if(t)return(parseFloat($e(e,"marginLeft"))||e.getBoundingClientRect().left-ze(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){for(var l=0,i={},o="string"==typeof n?n.split(" "):[n];l<4;l++)i[e+ie[l]+t]=o[l]||o[l-2]||o[0];return i}},"margin"!==e&&(x.cssHooks[e+t].set=et)}),x.fn.extend({css:function(e,t){return $(this,function(e,t,n){var l,i,o={},r=0;if(Array.isArray(t)){for(l=Be(e),i=t.length;r1)}}),x.Tween=lt,(lt.prototype={constructor:lt,init:function(e,t,n,l,i,o){this.elem=e,this.prop=n,this.easing=i||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=l,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=lt.propHooks[this.prop];return e&&e.get?e.get(this):lt.propHooks._default.get(this)},run:function(e){var t,n=lt.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):lt.propHooks._default.set(this),this}}).init.prototype=lt.prototype,(lt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[Ye(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=lt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=lt.prototype.init,x.fx.step={};var it,ot,rt=/^(?:toggle|show|hide)$/,ut=/queueHooks$/;function at(){ot&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(at):n.setTimeout(at,x.fx.interval),x.fx.tick())}function st(){return n.setTimeout(function(){it=void 0}),it=Date.now()}function ct(e,t){var n,l=0,i={height:e};for(t=t?1:0;l<4;l+=2-t)i["margin"+(n=ie[l])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function dt(e,t,n){for(var l,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,r=i.length;o1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})}}),x.extend({attr:function(e,t,n){var l,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?x.prop(e,t,n):(1===o&&x.isXMLDoc(e)||(i=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):i&&"set"in i&&void 0!==(l=i.set(e,n,t))?l:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(l=i.get(e,t))?l:null==(l=x.find.attr(e,t))?void 0:l)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&D(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,l=0,i=t&&t.match(F);if(i&&1===e.nodeType)for(;n=i[l++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ft[t]||x.find.attr;ft[t]=function(e,t,l){var i,o,r=t.toLowerCase();return l||(o=ft[r],ft[r]=i,i=null!=n(e,t,l)?r:null,ft[r]=o),i}});var gt=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function vt(e){return(e.match(F)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(F)||[]}x.fn.extend({prop:function(e,t){return $(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})}}),x.extend({prop:function(e,t,n){var l,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&x.isXMLDoc(e)||(i=x.propHooks[t=x.propFix[t]||t]),void 0!==n?i&&"set"in i&&void 0!==(l=i.set(e,n,t))?l:e[t]=n:i&&"get"in i&&null!==(l=i.get(e,t))?l:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(x.propHooks.selected={get:function(e){return null},set:function(e){}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.fn.extend({addClass:function(e){var t,n,l,i,o,r,u,a=0;if(v(e))return this.each(function(t){x(this).addClass(e.call(this,t,yt(this)))});if((t=bt(e)).length)for(;n=this[a++];)if(i=yt(n),l=1===n.nodeType&&" "+vt(i)+" "){for(r=0;o=t[r++];)l.indexOf(" "+o+" ")<0&&(l+=o+" ");i!==(u=vt(l))&&n.setAttribute("class",u)}return this},removeClass:function(e){var t,n,l,i,o,r,u,a=0;if(v(e))return this.each(function(t){x(this).removeClass(e.call(this,t,yt(this)))});if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[a++];)if(i=yt(n),l=1===n.nodeType&&" "+vt(i)+" "){for(r=0;o=t[r++];)for(;l.indexOf(" "+o+" ")>-1;)l=l.replace(" "+o+" "," ");i!==(u=vt(l))&&n.setAttribute("class",u)}return this},toggleClass:function(e,t){var n=typeof e,l="string"===n||Array.isArray(e);return"boolean"==typeof t&&l?t?this.addClass(e):this.removeClass(e):v(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,yt(this),t),t)}):this.each(function(){var t,i,o,r;if(l)for(i=0,o=x(this),r=bt(e);t=r[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))})},hasClass:function(e){var t,n,l=0;for(t=" "+e+" ";n=this[l++];)if(1===n.nodeType&&(" "+vt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var Ct=/\r/g;x.fn.extend({val:function(e){var t,n,l,i=this[0];return arguments.length?(l=v(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=l?e.call(this,n,x(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=x.map(i,function(e){return null==e?"":e+""})),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=x.valHooks[i.type]||x.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Ct,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:vt(x.text(e))}},select:{get:function(e){var t,n,l,i=e.options,o=e.selectedIndex,r="select-one"===e.type,u=r?null:[],a=r?o+1:i.length;for(l=o<0?a:r?o:0;l-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},m.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),m.focusin="onfocusin"in n;var wt=/^(?:focusinfocus|focusoutblur)$/,_t=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(e,t,l,i){var o,r,u,a,s,c,d,p,f=[l||b],g=h.call(e,"type")?e.type:e,m=h.call(e,"namespace")?e.namespace.split("."):[];if(r=p=u=l=l||b,3!==l.nodeType&&8!==l.nodeType&&!wt.test(g+x.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),s=g.indexOf(":")<0&&"on"+g,(e=e[x.expando]?e:new x.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=l),t=null==t?[e]:x.makeArray(t,[e]),d=x.event.special[g]||{},i||!d.trigger||!1!==d.trigger.apply(l,t))){if(!i&&!d.noBubble&&!y(l)){for(wt.test((a=d.delegateType||g)+g)||(r=r.parentNode);r;r=r.parentNode)f.push(r),u=r;u===(l.ownerDocument||b)&&f.push(u.defaultView||u.parentWindow||n)}for(o=0;(r=f[o++])&&!e.isPropagationStopped();)p=r,e.type=o>1?a:d.bindType||g,(c=(Q.get(r,"events")||Object.create(null))[e.type]&&Q.get(r,"handle"))&&c.apply(r,t),(c=s&&r[s])&&c.apply&&Y(r)&&(e.result=c.apply(r,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),t)||!Y(l)||s&&v(l[g])&&!y(l)&&((u=l[s])&&(l[s]=null),x.event.triggered=g,e.isPropagationStopped()&&p.addEventListener(g,_t),l[g](),e.isPropagationStopped()&&p.removeEventListener(g,_t),x.event.triggered=void 0,u&&(l[s]=u)),e.result}},simulate:function(e,t,n){var l=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(l,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),m.focusin||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.event.special[t]={setup:function(){var l=this.ownerDocument||this.document||this,i=Q.access(l,t);i||l.addEventListener(e,n,!0),Q.access(l,t,(i||0)+1)},teardown:function(){var l=this.ownerDocument||this.document||this,i=Q.access(l,t)-1;i?Q.access(l,t,i):(l.removeEventListener(e,n,!0),Q.remove(l,t))}}});var xt=n.location,St={guid:Date.now()},Et=/\?/;x.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(l){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+e),t};var It=/\[\]$/,Ot=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;function Rt(e,t,n,l){var i;if(Array.isArray(t))x.each(t,function(t,i){n||It.test(e)?l(e,i):Rt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,l)});else if(n||"object"!==_(t))l(e,t);else for(i in t)Rt(e+"["+i+"]",t[i],n,l)}x.param=function(e,t){var n,l=[],i=function(e,t){var n=v(t)?t():t;l[l.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){i(this.name,this.value)});else for(n in e)Rt(n,e[n],t,i);return l.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&Dt.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!ge.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(Ot,"\r\n")}}):{name:t.name,value:n.replace(Ot,"\r\n")}}).get()}});var kt=/%20/g,Mt=/#.*$/,Nt=/([?&])_=[^&]*/,Lt=/^(.*?):[ \t]*([^\r\n]*)$/gm,At=/^(?:GET|HEAD)$/,Pt=/^\/\//,Ft={},Vt={},jt="*/".concat("*"),Ht=b.createElement("a");function Bt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var l,i=0,o=t.toLowerCase().match(F)||[];if(v(n))for(;l=o[i++];)"+"===l[0]?(l=l.slice(1)||"*",(e[l]=e[l]||[]).unshift(n)):(e[l]=e[l]||[]).push(n)}}function zt(e,t,n,l){var i={},o=e===Vt;function r(u){var a;return i[u]=!0,x.each(e[u]||[],function(e,u){var s=u(t,n,l);return"string"!=typeof s||o||i[s]?o?!(a=s):void 0:(t.dataTypes.unshift(s),r(s),!1)}),a}return r(t.dataTypes[0])||!i["*"]&&r("*")}function Ut(e,t){var n,l,i=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:l||(l={}))[n]=t[n]);return l&&x.extend(!0,e,l),e}Ht.href=xt.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":jt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,x.ajaxSettings),t):Ut(x.ajaxSettings,e)},ajaxPrefilter:Bt(Ft),ajaxTransport:Bt(Vt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var l,i,o,r,u,a,s,c,d,p,h=x.ajaxSetup({},t=t||{}),f=h.context||h,g=h.context&&(f.nodeType||f.jquery)?x(f):x.event,m=x.Deferred(),v=x.Callbacks("once memory"),y=h.statusCode||{},C={},w={},_="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(s){if(!r)for(r={};t=Lt.exec(o);)r[t[1].toLowerCase()+" "]=(r[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=r[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return s?o:null},setRequestHeader:function(e,t){return null==s&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,C[e]=t),this},overrideMimeType:function(e){return null==s&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(s)S.always(e[S.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||_;return l&&l.abort(t),E(0,t),this}};if(m.promise(S),h.url=((e||h.url||xt.href)+"").replace(Pt,xt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(F)||[""],null==h.crossDomain){a=b.createElement("a");try{a.href=h.url,a.href=a.href,h.crossDomain=Ht.protocol+"//"+Ht.host!=a.protocol+"//"+a.host}catch(I){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=x.param(h.data,h.traditional)),zt(Ft,h,t,S),s)return S;for(d in(c=x.event&&h.global)&&0==x.active++&&x.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!At.test(h.type),i=h.url.replace(Mt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(kt,"+")):(p=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(Et.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Nt,"$1"),p=(Et.test(i)?"&":"?")+"_="+St.guid+++p),h.url=i+p),h.ifModified&&(x.lastModified[i]&&S.setRequestHeader("If-Modified-Since",x.lastModified[i]),x.etag[i]&&S.setRequestHeader("If-None-Match",x.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&S.setRequestHeader("Content-Type",h.contentType),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+jt+"; q=0.01":""):h.accepts["*"]),h.headers)S.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(f,S,h)||s))return S.abort();if(_="abort",v.add(h.complete),S.done(h.success),S.fail(h.error),l=zt(Vt,h,t,S)){if(S.readyState=1,c&&g.trigger("ajaxSend",[S,h]),s)return S;h.async&&h.timeout>0&&(u=n.setTimeout(function(){S.abort("timeout")},h.timeout));try{s=!1,l.send(C,E)}catch(I){if(s)throw I;E(-1,I)}}else E(-1,"No Transport");function E(e,t,r,a){var d,p,b,C,w,_=t;s||(s=!0,u&&n.clearTimeout(u),l=void 0,o=a||"",S.readyState=e>0?4:0,d=e>=200&&e<300||304===e,r&&(C=function(e,t,n){for(var l,i,o,r,u=e.contents,a=e.dataTypes;"*"===a[0];)a.shift(),void 0===l&&(l=e.mimeType||t.getResponseHeader("Content-Type"));if(l)for(i in u)if(u[i]&&u[i].test(l)){a.unshift(i);break}if(a[0]in n)o=a[0];else{for(i in n){if(!a[0]||e.converters[i+" "+a[0]]){o=i;break}r||(r=i)}o=o||r}if(o)return o!==a[0]&&a.unshift(o),n[o]}(h,S,r)),!d&&x.inArray("script",h.dataTypes)>-1&&(h.converters["text script"]=function(){}),C=function(e,t,n,l){var i,o,r,u,a,s={},c=e.dataTypes.slice();if(c[1])for(r in e.converters)s[r.toLowerCase()]=e.converters[r];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!a&&l&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a=o,o=c.shift())if("*"===o)o=a;else if("*"!==a&&a!==o){if(!(r=s[a+" "+o]||s["* "+o]))for(i in s)if((u=i.split(" "))[1]===o&&(r=s[a+" "+u[0]]||s["* "+u[0]])){!0===r?r=s[i]:!0!==s[i]&&(o=u[0],c.unshift(u[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(I){return{state:"parsererror",error:r?I:"No conversion from "+a+" to "+o}}}return{state:"success",data:t}}(h,C,S,d),d?(h.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(x.lastModified[i]=w),(w=S.getResponseHeader("etag"))&&(x.etag[i]=w)),204===e||"HEAD"===h.type?_="nocontent":304===e?_="notmodified":(_=C.state,p=C.data,d=!(b=C.error))):(b=_,!e&&_||(_="error",e<0&&(e=0))),S.status=e,S.statusText=(t||_)+"",d?m.resolveWith(f,[p,_,S]):m.rejectWith(f,[S,_,b]),S.statusCode(y),y=void 0,c&&g.trigger(d?"ajaxSuccess":"ajaxError",[S,h,d?p:b]),v.fireWith(f,[S,_]),c&&(g.trigger("ajaxComplete",[S,h]),--x.active||x.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],function(e,t){x[t]=function(e,n,l,i){return v(n)&&(i=i||l,l=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:i,data:n,success:l},x.isPlainObject(e)&&e))}}),x.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),x._evalUrl=function(e,t,n){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,n)}})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return v(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var $t={0:200,1223:204},Gt=x.ajaxSettings.xhr();m.cors=!!Gt&&"withCredentials"in Gt,m.ajax=Gt=!!Gt,x.ajaxTransport(function(e){var t,l;if(m.cors||Gt&&!e.crossDomain)return{send:function(i,o){var r,u=e.xhr();if(u.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(r in e.xhrFields)u[r]=e.xhrFields[r];for(r in e.mimeType&&u.overrideMimeType&&u.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)u.setRequestHeader(r,i[r]);t=function(e){return function(){t&&(t=l=u.onload=u.onerror=u.onabort=u.ontimeout=u.onreadystatechange=null,"abort"===e?u.abort():"error"===e?"number"!=typeof u.status?o(0,"error"):o(u.status,u.statusText):o($t[u.status]||u.status,u.statusText,"text"!==(u.responseType||"text")||"string"!=typeof u.responseText?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}},u.onload=t(),l=u.onerror=u.ontimeout=t("error"),void 0!==u.onabort?u.onabort=l:u.onreadystatechange=function(){4===u.readyState&&n.setTimeout(function(){t&&l()})},t=t("abort");try{u.send(e.hasContent&&e.data||null)}catch(a){if(t)throw a}},abort:function(){t&&t()}}}),x.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),x.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(l,i){t=x(" + diff --git a/modules/admin/webif/static/main.8c61344e3730c6fd1fdb.js b/modules/admin/webif/static/main.040f38e6795a758872eb.js similarity index 85% rename from modules/admin/webif/static/main.8c61344e3730c6fd1fdb.js rename to modules/admin/webif/static/main.040f38e6795a758872eb.js index 48c487b001..77d8646076 100644 --- a/modules/admin/webif/static/main.8c61344e3730c6fd1fdb.js +++ b/modules/admin/webif/static/main.040f38e6795a758872eb.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+dQi":function(e,t,n){!function(e){"use strict";e.defineMode("javascript",function(t,n){var l,i,o=t.indentUnit,r=n.statementIndent,u=n.jsonld,a=n.json||u,s=n.typescript,c=n.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),l=e("keyword c"),i=e("keyword d"),o=e("operator"),r={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:i,break:i,continue:i,new:e("new"),delete:l,void:l,throw:l,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:r,false:r,null:r,undefined:r,NaN:r,Infinity:r,this:e("this"),class:e("class"),super:e("atom"),yield:l,export:e("export"),import:e("import"),extends:l,await:l}}(),p=/[+\-*&%=<>!?|~^@]/,h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function f(e,t,n){return l=e,i=n,t}function g(e,t){var n,l=e.next();if('"'==l||"'"==l)return t.tokenize=(n=l,function(e,t){var l,i=!1;if(u&&"@"==e.peek()&&e.match(h))return t.tokenize=g,f("jsonld-keyword","meta");for(;null!=(l=e.next())&&(l!=n||i);)i=!i&&"\\"==l;return i||(t.tokenize=g),f("string","string")}),t.tokenize(e,t);if("."==l&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return f("number","number");if("."==l&&e.match(".."))return f("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(l))return f(l);if("="==l&&e.eat(">"))return f("=>","operator");if("0"==l&&e.match(/^(?:x[\da-f]+|o[0-7]+|b[01]+)n?/i))return f("number","number");if(/\d/.test(l))return e.match(/^\d*(?:n|(?:\.\d*)?(?:[eE][+\-]?\d+)?)?/),f("number","number");if("/"==l)return e.eat("*")?(t.tokenize=m,m(e,t)):e.eat("/")?(e.skipToEnd(),f("comment","comment")):Ye(e,t,1)?(function(e){for(var t,n=!1,l=!1;null!=(t=e.next());){if(!n){if("/"==t&&!l)return;"["==t?l=!0:l&&"]"==t&&(l=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),f("regexp","string-2")):(e.eat("="),f("operator","operator",e.current()));if("`"==l)return t.tokenize=v,v(e,t);if("#"==l)return e.skipToEnd(),f("error","error");if(p.test(l))return">"==l&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=l&&"="!=l||e.eat("="):/[<>*+\-]/.test(l)&&(e.eat(l),">"==l&&e.eat(l))),f("operator","operator",e.current());if(c.test(l)){e.eatWhile(c);var i=e.current();if("."!=t.lastType){if(d.propertyIsEnumerable(i)){var o=d[i];return f(o.type,o.style,i)}if("async"==i&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return f("async","keyword",i)}return f("variable","variable",i)}}function m(e,t){for(var n,l=!1;n=e.next();){if("/"==n&&l){t.tokenize=g;break}l="*"==n}return f("comment","comment")}function v(e,t){for(var n,l=!1;null!=(n=e.next());){if(!l&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=g;break}l=!l&&"\\"==n}return f("quasi","string-2",e.current())}var y="([{}])";function b(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(s){var l=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));l&&(n=l.index)}for(var i=0,o=!1,r=n-1;r>=0;--r){var u=e.string.charAt(r),a=y.indexOf(u);if(a>=0&&a<3){if(!i){++r;break}if(0==--i){"("==u&&(o=!0);break}}else if(a>=3&&a<6)++i;else if(c.test(u))o=!0;else{if(/["'\/]/.test(u))return;if(o&&!i){++r;break}}}o&&!i&&(t.fatArrowAt=r)}}var C={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function w(e,t,n,l,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=l&&(this.align=l)}function _(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var l=e.context;l;l=l.prev)for(n=l.vars;n;n=n.next)if(n.name==t)return!0}var x={state:null,column:null,marked:null,cc:null};function S(){for(var e=arguments.length-1;e>=0;e--)x.cc.push(arguments[e])}function E(){return S.apply(null,arguments),!0}function I(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function O(e){var t=x.state;if(x.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var l=function e(t,n){if(n){if(n.block){var l=e(t,n.prev);return l?l==n.prev?n:new D(l,n.vars,!0):null}return I(t,n.vars)?n:new D(n.prev,new R(t,n.vars),!1)}return null}(e,t.context);if(null!=l)return void(t.context=l)}else if(!I(e,t.localVars))return void(t.localVars=new R(e,t.localVars));n.globalVars&&!I(e,t.globalVars)&&(t.globalVars=new R(e,t.globalVars))}function T(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function D(e,t,n){this.prev=e,this.vars=t,this.block=n}function R(e,t){this.name=e,this.next=t}var k=new R("this",new R("arguments",null));function M(){x.state.context=new D(x.state.context,x.state.localVars,!1),x.state.localVars=k}function N(){x.state.context=new D(x.state.context,x.state.localVars,!0),x.state.localVars=null}function L(){x.state.localVars=x.state.context.vars,x.state.context=x.state.context.prev}function A(e,t){var n=function(){var n=x.state,l=n.indented;if("stat"==n.lexical.type)l=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)l=i.indented;n.lexical=new w(l,x.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function P(){var e=x.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function F(e){return function t(n){return n==e?E():";"==e||"}"==n||")"==n||"]"==n?S():E(t)}}function V(e,t){return"var"==e?E(A("vardef",t),ye,F(";"),P):"keyword a"==e?E(A("form"),z,V,P):"keyword b"==e?E(A("form"),V,P):"keyword d"==e?x.stream.match(/^\s*$/,!1)?E():E(A("stat"),$,F(";"),P):"debugger"==e?E(F(";")):"{"==e?E(A("}"),N,re,P,L):";"==e?E():"if"==e?("else"==x.state.lexical.info&&x.state.cc[x.state.cc.length-1]==P&&x.state.cc.pop()(),E(A("form"),z,V,P,Se)):"function"==e?E(Re):"for"==e?E(A("form"),Ee,V,P):"class"==e||s&&"interface"==t?(x.marked="keyword",E(A("form","class"==e?e:t),Ae,P)):"variable"==e?s&&"declare"==t?(x.marked="keyword",E(V)):s&&("module"==t||"enum"==t||"type"==t)&&x.stream.match(/^\s*\w/,!1)?(x.marked="keyword","enum"==t?E(qe):"type"==t?E(Me,F("operator"),ce,F(";")):E(A("form"),be,F("{"),A("}"),re,P,P)):s&&"namespace"==t?(x.marked="keyword",E(A("form"),H,V,P)):s&&"abstract"==t?(x.marked="keyword",E(V)):E(A("stat"),J):"switch"==e?E(A("form"),z,F("{"),A("}","switch"),N,re,P,P,L):"case"==e?E(H,F(":")):"default"==e?E(F(":")):"catch"==e?E(A("form"),M,j,V,P,L):"export"==e?E(A("stat"),je,P):"import"==e?E(A("stat"),Be,P):"async"==e?E(V):"@"==t?E(H,V):S(A("stat"),H,F(";"),P)}function j(e){if("("==e)return E(Ne,F(")"))}function H(e,t){return U(e,t,!1)}function B(e,t){return U(e,t,!0)}function z(e){return"("!=e?S():E(A(")"),H,F(")"),P)}function U(e,t,n){if(x.state.fatArrowAt==x.stream.start){var l=n?Z:Y;if("("==e)return E(M,A(")"),ie(Ne,")"),P,F("=>"),l,L);if("variable"==e)return S(M,be,F("=>"),l,L)}var i=n?W:G;return C.hasOwnProperty(e)?E(i):"function"==e?E(Re,i):"class"==e||s&&"interface"==t?(x.marked="keyword",E(A("form"),Le,P)):"keyword c"==e||"async"==e?E(n?B:H):"("==e?E(A(")"),$,F(")"),P,i):"operator"==e||"spread"==e?E(n?B:H):"["==e?E(A("]"),We,P,i):"{"==e?oe(te,"}",null,i):"quasi"==e?S(q,i):"new"==e?E(function(e){return function(t){return"."==t?E(e?X:Q):"variable"==t&&s?E(ge,e?W:G):S(e?B:H)}}(n)):"import"==e?E(H):E()}function $(e){return e.match(/[;\}\)\],]/)?S():S(H)}function G(e,t){return","==e?E(H):W(e,t,!1)}function W(e,t,n){var l=0==n?G:W,i=0==n?H:B;return"=>"==e?E(M,n?Z:Y,L):"operator"==e?/\+\+|--/.test(t)||s&&"!"==t?E(l):s&&"<"==t&&x.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?E(A(">"),ie(ce,">"),P,l):"?"==t?E(H,F(":"),i):E(i):"quasi"==e?S(q,l):";"!=e?"("==e?oe(B,")","call",l):"."==e?E(ee,l):"["==e?E(A("]"),$,F("]"),P,l):s&&"as"==t?(x.marked="keyword",E(ce,l)):"regexp"==e?(x.state.lastType=x.marked="operator",x.stream.backUp(x.stream.pos-x.stream.start-1),E(i)):void 0:void 0}function q(e,t){return"quasi"!=e?S():"${"!=t.slice(t.length-2)?E(q):E(H,K)}function K(e){if("}"==e)return x.marked="string-2",x.state.tokenize=v,E(q)}function Y(e){return b(x.stream,x.state),S("{"==e?V:H)}function Z(e){return b(x.stream,x.state),S("{"==e?V:B)}function Q(e,t){if("target"==t)return x.marked="keyword",E(G)}function X(e,t){if("target"==t)return x.marked="keyword",E(W)}function J(e){return":"==e?E(P,V):S(G,F(";"),P)}function ee(e){if("variable"==e)return x.marked="property",E()}function te(e,t){return"async"==e?(x.marked="property",E(te)):"variable"==e||"keyword"==x.style?(x.marked="property","get"==t||"set"==t?E(ne):(s&&x.state.fatArrowAt==x.stream.start&&(n=x.stream.match(/^\s*:\s*/,!1))&&(x.state.fatArrowAt=x.stream.pos+n[0].length),E(le))):"number"==e||"string"==e?(x.marked=u?"property":x.style+" property",E(le)):"jsonld-keyword"==e?E(le):s&&T(t)?(x.marked="keyword",E(te)):"["==e?E(H,ue,F("]"),le):"spread"==e?E(B,le):"*"==t?(x.marked="keyword",E(te)):":"==e?S(le):void 0;var n}function ne(e){return"variable"!=e?S(le):(x.marked="property",E(Re))}function le(e){return":"==e?E(B):"("==e?S(Re):void 0}function ie(e,t,n){function l(i,o){if(n?n.indexOf(i)>-1:","==i){var r=x.state.lexical;return"call"==r.info&&(r.pos=(r.pos||0)+1),E(function(n,l){return n==t||l==t?S():S(e)},l)}return i==t||o==t?E():n&&n.indexOf(";")>-1?S(e):E(F(t))}return function(n,i){return n==t||i==t?E():S(e,l)}}function oe(e,t,n){for(var l=3;l"),ce):void 0}function de(e){if("=>"==e)return E(ce)}function pe(e,t){return"variable"==e||"keyword"==x.style?(x.marked="property",E(pe)):"?"==t||"number"==e||"string"==e?E(pe):":"==e?E(ce):"["==e?E(F("variable"),ue,F("]"),pe):"("==e?S(ke,pe):void 0}function he(e,t){return"variable"==e&&x.stream.match(/^\s*[?:]/,!1)||"?"==t?E(he):":"==e?E(ce):"spread"==e?E(he):S(ce)}function fe(e,t){return"<"==t?E(A(">"),ie(ce,">"),P,fe):"|"==t||"."==e||"&"==t?E(ce):"["==e?E(ce,F("]"),fe):"extends"==t||"implements"==t?(x.marked="keyword",E(ce)):"?"==t?E(ce,F(":"),ce):void 0}function ge(e,t){if("<"==t)return E(A(">"),ie(ce,">"),P,fe)}function me(){return S(ce,ve)}function ve(e,t){if("="==t)return E(ce)}function ye(e,t){return"enum"==t?(x.marked="keyword",E(qe)):S(be,ue,_e,xe)}function be(e,t){return s&&T(t)?(x.marked="keyword",E(be)):"variable"==e?(O(t),E()):"spread"==e?E(be):"["==e?oe(we,"]"):"{"==e?oe(Ce,"}"):void 0}function Ce(e,t){return"variable"!=e||x.stream.match(/^\s*:/,!1)?("variable"==e&&(x.marked="property"),"spread"==e?E(be):"}"==e?S():"["==e?E(H,F("]"),F(":"),Ce):E(F(":"),be,_e)):(O(t),E(_e))}function we(){return S(be,_e)}function _e(e,t){if("="==t)return E(B)}function xe(e){if(","==e)return E(ye)}function Se(e,t){if("keyword b"==e&&"else"==t)return E(A("form","else"),V,P)}function Ee(e,t){return"await"==t?E(Ee):"("==e?E(A(")"),Ie,F(")"),P):void 0}function Ie(e){return"var"==e?E(ye,F(";"),Te):";"==e?E(Te):"variable"==e?E(Oe):S(H,F(";"),Te)}function Oe(e,t){return"in"==t||"of"==t?(x.marked="keyword",E(H)):E(G,Te)}function Te(e,t){return";"==e?E(De):"in"==t||"of"==t?(x.marked="keyword",E(H)):S(H,F(";"),De)}function De(e){")"!=e&&E(H)}function Re(e,t){return"*"==t?(x.marked="keyword",E(Re)):"variable"==e?(O(t),E(Re)):"("==e?E(M,A(")"),ie(Ne,")"),P,ae,V,L):s&&"<"==t?E(A(">"),ie(me,">"),P,Re):void 0}function ke(e,t){return"*"==t?(x.marked="keyword",E(ke)):"variable"==e?(O(t),E(ke)):"("==e?E(M,A(")"),ie(Ne,")"),P,ae,L):s&&"<"==t?E(A(">"),ie(me,">"),P,ke):void 0}function Me(e,t){return"keyword"==e||"variable"==e?(x.marked="type",E(Me)):"<"==t?E(A(">"),ie(me,">"),P):void 0}function Ne(e,t){return"@"==t&&E(H,Ne),"spread"==e?E(Ne):s&&T(t)?(x.marked="keyword",E(Ne)):S(be,ue,_e)}function Le(e,t){return"variable"==e?Ae(e,t):Pe(e,t)}function Ae(e,t){if("variable"==e)return O(t),E(Pe)}function Pe(e,t){return"<"==t?E(A(">"),ie(me,">"),P,Pe):"extends"==t||"implements"==t||s&&","==e?("implements"==t&&(x.marked="keyword"),E(s?ce:H,Pe)):"{"==e?E(A("}"),Fe,P):void 0}function Fe(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||s&&T(t))&&x.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(x.marked="keyword",E(Fe)):"variable"==e||"keyword"==x.style?(x.marked="property",E(s?Ve:Re,Fe)):"number"==e||"string"==e?E(s?Ve:Re,Fe):"["==e?E(H,ue,F("]"),s?Ve:Re,Fe):"*"==t?(x.marked="keyword",E(Fe)):s&&"("==e?S(ke,Fe):";"==e||","==e?E(Fe):"}"==e?E():"@"==t?E(H,Fe):void 0}function Ve(e,t){if("?"==t)return E(Ve);if(":"==e)return E(ce,_e);if("="==t)return E(B);var n=x.state.lexical.prev;return S(n&&"interface"==n.info?ke:Re)}function je(e,t){return"*"==t?(x.marked="keyword",E(Ge,F(";"))):"default"==t?(x.marked="keyword",E(H,F(";"))):"{"==e?E(ie(He,"}"),Ge,F(";")):S(V)}function He(e,t){return"as"==t?(x.marked="keyword",E(F("variable"))):"variable"==e?S(B,He):void 0}function Be(e){return"string"==e?E():"("==e?S(H):S(ze,Ue,Ge)}function ze(e,t){return"{"==e?oe(ze,"}"):("variable"==e&&O(t),"*"==t&&(x.marked="keyword"),E($e))}function Ue(e){if(","==e)return E(ze,Ue)}function $e(e,t){if("as"==t)return x.marked="keyword",E(ze)}function Ge(e,t){if("from"==t)return x.marked="keyword",E(H)}function We(e){return"]"==e?E():S(ie(B,"]"))}function qe(){return S(A("form"),be,F("{"),A("}"),ie(Ke,"}"),P,P)}function Ke(){return S(be,_e)}function Ye(e,t,n){return t.tokenize==g&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return L.lex=!0,P.lex=!0,{startState:function(e){var t={tokenize:g,lastType:"sof",cc:[],lexical:new w((e||0)-o,0,"block",!1),localVars:n.localVars,context:n.localVars&&new D(null,null,!1),indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),b(e,t)),t.tokenize!=m&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==l?n:(t.lastType="operator"!=l||"++"!=i&&"--"!=i?l:"incdec",function(e,t,n,l,i){var o=e.cc;for(x.state=e,x.stream=i,x.marked=null,x.cc=o,x.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((o.length?o.pop():a?H:V)(n,l)){for(;o.length&&o[o.length-1].lex;)o.pop()();return x.marked?x.marked:"variable"==n&&_(e,l)?"variable-2":t}}(t,n,l,i,e))},indent:function(t,l){if(t.tokenize==m)return e.Pass;if(t.tokenize!=g)return 0;var i,u=l&&l.charAt(0),a=t.lexical;if(!/^\s*else\b/.test(l))for(var s=t.cc.length-1;s>=0;--s){var c=t.cc[s];if(c==P)a=a.prev;else if(c!=Se)break}for(;("stat"==a.type||"form"==a.type)&&("}"==u||(i=t.cc[t.cc.length-1])&&(i==G||i==W)&&!/^[,\.=+\-*:?[\(]/.test(l));)a=a.prev;r&&")"==a.type&&"stat"==a.prev.type&&(a=a.prev);var d=a.type,h=u==d;return"vardef"==d?a.indented+("operator"==t.lastType||","==t.lastType?a.info.length+1:0):"form"==d&&"{"==u?a.indented:"form"==d?a.indented+o:"stat"==d?a.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||p.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,l)?r||o:0):"switch"!=a.info||h||0==n.doubleIndentSwitch?a.align?a.column+(h?0:1):a.indented+(h?0:o):a.indented+(/^(?:case|default)\b/.test(l)?o:2*o)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:a?null:"/*",blockCommentEnd:a?null:"*/",blockCommentContinue:a?null:" * ",lineComment:a?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:a?"json":"javascript",jsonldMode:u,jsonMode:a,expressionAllowed:Ye,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=H&&t!=B||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(n("VrN/"))},"+tJ4":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var l=function(e){return function(t){for(var n=0,l=e.length;n=0}},"/NBx":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("7LN8"),a=n("Fa87"),s=n("gIcY");t.CHIPS_VALUE_ACCESSOR={provide:s.NG_VALUE_ACCESSOR,useExisting:o.forwardRef(function(){return c}),multi:!0};var c=function(){function e(e){this.el=e,this.allowDuplicate=!0,this.onAdd=new o.EventEmitter,this.onRemove=new o.EventEmitter,this.onFocus=new o.EventEmitter,this.onBlur=new o.EventEmitter,this.onChipClick=new o.EventEmitter,this.onModelChange=function(){},this.onModelTouched=function(){}}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"item":default:e.itemTemplate=t.template}})},e.prototype.onClick=function(e){this.inputViewChild.nativeElement.focus()},e.prototype.onItemClick=function(e,t){this.onChipClick.emit({originalEvent:e,value:t})},e.prototype.writeValue=function(e){this.value=e,this.updateMaxedOut()},e.prototype.registerOnChange=function(e){this.onModelChange=e},e.prototype.registerOnTouched=function(e){this.onModelTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype.resolveFieldData=function(e,t){if(e&&t){if(-1==t.indexOf("."))return e[t];for(var n=t.split("."),l=e,i=0,o=n.length;i0){this.value=this.value.slice();var t=this.value.pop();this.onModelChange(this.value),this.onRemove.emit({originalEvent:e,value:t})}break;case 13:this.addItem(e,this.inputViewChild.nativeElement.value),this.inputViewChild.nativeElement.value="",e.preventDefault();break;case 9:this.addOnTab&&""!==this.inputViewChild.nativeElement.value&&(this.addItem(e,this.inputViewChild.nativeElement.value),this.inputViewChild.nativeElement.value="",e.preventDefault());break;default:this.max&&this.value&&this.max===this.value.length&&e.preventDefault()}},e.prototype.updateMaxedOut=function(){this.inputViewChild&&this.inputViewChild.nativeElement&&(this.inputViewChild.nativeElement.disabled=!(!this.max||!this.value||this.max!==this.value.length)||this.disabled||!1)},l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Input(),i("design:type",String)],e.prototype,"field",void 0),l([o.Input(),i("design:type",String)],e.prototype,"placeholder",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"max",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"tabindex",void 0),l([o.Input(),i("design:type",String)],e.prototype,"inputId",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"allowDuplicate",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"inputStyle",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"inputStyleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"addOnTab",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"addOnBlur",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onAdd",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRemove",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onFocus",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onBlur",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onChipClick",void 0),l([o.ViewChild("inputtext"),i("design:type",o.ElementRef)],e.prototype,"inputViewChild",void 0),l([o.ContentChildren(u.PrimeTemplate),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.Component({selector:"p-chips",template:'\n
    \n
      \n
    • \n \n {{field ? resolveFieldData(item,field) : item}}\n \n
    • \n
    • \n \n
    • \n
    \n
    \n ',providers:[t.CHIPS_VALUE_ACCESSOR]})],e)}();t.Chips=c,t.ChipsModule=function(){return l([o.NgModule({imports:[r.CommonModule,a.InputTextModule,u.SharedModule],exports:[c,a.InputTextModule,u.SharedModule],declarations:[c]})],function(){})}()},"/WYv":function(e,t,n){"use strict";function l(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",function(){return l})},0:function(e,t,n){e.exports=n("zUnb")},"0/uQ":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var l=n("6blF"),i=n("Fxb1"),o=n("i4X3");function r(e,t){return t?Object(o.a)(e,t):e instanceof l.a?e:new l.a(Object(i.a)(e))}},"0alx":function(e,t,n){"use strict";var l=n("VKeD");t.isIterable=function(e){return e&&"function"==typeof e[l.iterator]}},"15JJ":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var l=n("mrSG"),i=n("MGBS"),o=n("rPjj"),r=n("zotm"),u=n("67Y/"),a=n("0/uQ");function s(e,t){return"function"==typeof t?function(n){return n.pipe(s(function(n,l){return Object(a.a)(e(n,l)).pipe(Object(u.a)(function(e,i){return t(n,e,l,i)}))}))}:function(t){return t.lift(new c(e))}}var c=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.project))},e}(),d=function(e){function t(t,n){var l=e.call(this,t)||this;return l.project=n,l.index=0,l}return l.__extends(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(l){return void this.destination.error(l)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var l=this.innerSubscription;l&&l.unsubscribe();var i=new o.a(this,void 0,void 0);this.destination.add(i),this.innerSubscription=Object(r.a)(this,e,t,n,i)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,l,i){this.destination.next(t)},t}(i.a)},"1eCo":function(e,t,n){!function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(l,i){var o,r,u=l.indentUnit,a={},s=i.htmlMode?t:n;for(var c in s)a[c]=s[c];for(var c in i)a[c]=i[c];function d(e,t){function n(n){return t.tokenize=n,n(e,t)}var l=e.next();return"<"==l?e.eat("!")?e.eat("[")?e.match("CDATA[")?n(h("atom","]]>")):null:e.match("--")?n(h("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(function e(t){return function(n,l){for(var i;null!=(i=n.next());){if("<"==i)return l.tokenize=e(t+1),l.tokenize(n,l);if(">"==i){if(1==t){l.tokenize=d;break}return l.tokenize=e(t-1),l.tokenize(n,l)}}return"meta"}}(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=h("meta","?>"),"meta"):(o=e.eat("/")?"closeTag":"openTag",t.tokenize=p,"tag bracket"):"&"==l?(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error":(e.eatWhile(/[^&<]/),null)}function p(e,t){var n,l,i=e.next();if(">"==i||"/"==i&&e.eat(">"))return t.tokenize=d,o=">"==i?"endTag":"selfcloseTag","tag bracket";if("="==i)return o="equals",null;if("<"==i){t.tokenize=d,t.state=v,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(i)?(t.tokenize=(n=i,(l=function(e,t){for(;!e.eol();)if(e.next()==n){t.tokenize=p;break}return"string"}).isInAttribute=!0,l),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function h(e,t){return function(n,l){for(;!n.eol();){if(n.match(t)){l.tokenize=d;break}n.next()}return e}}function f(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(a.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function g(e){e.context&&(e.context=e.context.prev)}function m(e,t){for(var n;;){if(!e.context)return;if(!a.contextGrabbers.hasOwnProperty(n=e.context.tagName)||!a.contextGrabbers[n].hasOwnProperty(t))return;g(e)}}function v(e,t,n){return"openTag"==e?(n.tagStart=t.column(),y):"closeTag"==e?b:v}function y(e,t,n){return"word"==e?(n.tagName=t.current(),r="tag",_):a.allowMissingTagName&&"endTag"==e?(r="tag bracket",_(e,0,n)):(r="error",y)}function b(e,t,n){if("word"==e){var l=t.current();return n.context&&n.context.tagName!=l&&a.implicitlyClosed.hasOwnProperty(n.context.tagName)&&g(n),n.context&&n.context.tagName==l||!1===a.matchClosing?(r="tag",C):(r="tag error",w)}return a.allowMissingTagName&&"endTag"==e?(r="tag bracket",C(e,0,n)):(r="error",w)}function C(e,t,n){return"endTag"!=e?(r="error",C):(g(n),v)}function w(e,t,n){return r="error",C(e,0,n)}function _(e,t,n){if("word"==e)return r="attribute",x;if("endTag"==e||"selfcloseTag"==e){var l=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||a.autoSelfClosers.hasOwnProperty(l)?m(n,l):(m(n,l),n.context=new f(n,l,i==n.indented)),v}return r="error",_}function x(e,t,n){return"equals"==e?S:(a.allowMissing||(r="error"),_(e,0,n))}function S(e,t,n){return"string"==e?E:"word"==e&&a.allowUnquoted?(r="string",_):(r="error",_(e,0,n))}function E(e,t,n){return"string"==e?E:_(e,0,n)}return d.isInText=!0,{startState:function(e){var t={tokenize:d,state:v,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var n=t.tokenize(e,t);return(n||o)&&"comment"!=n&&(r=null,t.state=t.state(o||n,e,t),r&&(n="error"==r?n+" error":r)),n},indent:function(t,n,l){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+u;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=p&&t.tokenize!=d)return l?l.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==a.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+u*(a.multilineTagIndentFactor||1);if(a.alignCDATA&&/$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:a.htmlMode?"html":"xml",helperType:a.htmlMode?"html":"xml",skipAttribute:function(e){e.state==S&&(e.state=_)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}(n("VrN/"))},"1fDf":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var l=n("FFOo");function i(e){for(;e;){var t=e.destination;if(e.closed||e.isStopped)return!1;e=t&&t instanceof l.a?t:null}return!0}},"24Yq":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n("DqLj"))},"25Eh":function(e,t,n){!function(e){"use strict";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var n=t(["and","or","not","is"]),l=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],i=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];function o(e){return e.scopes[e.scopes.length-1]}e.registerHelper("hintWords","python",l.concat(i)),e.defineMode("python",function(r,u){for(var a="error",s=u.delimiters||u.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,c=[u.singleOperators,u.doubleOperators,u.doubleDelimiters,u.tripleDelimiters,u.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@])/],d=0;dl?_(t):i0&&x(e,t)&&(r+=" "+a),r}return w(e,t)}function w(e,t){if(e.eatSpace())return null;if(e.match(/^#.*/))return"comment";if(e.match(/^[0-9\.]/,!1)){var l=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(l=!0),e.match(/^[\d_]+\.\d*/)&&(l=!0),e.match(/^\.\d+/)&&(l=!0),l)return e.eat(/J/i),"number";var i=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(i=!0),e.match(/^0b[01_]+/i)&&(i=!0),e.match(/^0o[0-7_]+/i)&&(i=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),i=!0),e.match(/^0(?![\dx])/i)&&(i=!0),i)return e.eat(/L/i),"number"}if(e.match(v))return-1!==e.current().toLowerCase().indexOf("f")?(t.tokenize=function(e,t){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var n=1==e.length,l="string";function i(e){return function(t,n){var l=w(t,n);return"punctuation"==l&&("{"==t.current()?n.tokenize=i(e+1):"}"==t.current()&&(n.tokenize=e>1?i(e-1):o)),l}}function o(o,r){for(;!o.eol();)if(o.eatWhile(/[^'"\{\}\\]/),o.eat("\\")){if(o.next(),n&&o.eol())return l}else{if(o.match(e))return r.tokenize=t,l;if(o.match("{{"))return l;if(o.match("{",!1))return r.tokenize=i(0),o.current()?l:r.tokenize(o,r);if(o.match("}}"))return l;if(o.match("}"))return a;o.eat(/['"]/)}if(n){if(u.singleLineStringErrors)return a;r.tokenize=t}return l}return o.isString=!0,o}(e.current(),t.tokenize),t.tokenize(e,t)):(t.tokenize=function(e,t){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var n=1==e.length,l="string";function i(i,o){for(;!i.eol();)if(i.eatWhile(/[^'"\\]/),i.eat("\\")){if(i.next(),n&&i.eol())return l}else{if(i.match(e))return o.tokenize=t,l;i.eat(/['"]/)}if(n){if(u.singleLineStringErrors)return a;o.tokenize=t}return l}return i.isString=!0,i}(e.current(),t.tokenize),t.tokenize(e,t));for(var o=0;o1&&o(t).offset>n;){if("py"!=o(t).type)return!0;t.scopes.pop()}return o(t).offset!=n}return{startState:function(e){return{tokenize:C,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,t){var n=t.errorToken;n&&(t.errorToken=!1);var l=function(e,t){e.sol()&&(t.beginningOfLine=!0);var n=t.tokenize(e,t),l=e.current();if(t.beginningOfLine&&"@"==l)return e.match(m,!1)?"meta":g?"operator":a;if(/\S/.test(l)&&(t.beginningOfLine=!1),"variable"!=n&&"builtin"!=n||"meta"!=t.lastToken||(n="meta"),"pass"!=l&&"return"!=l||(t.dedent+=1),"lambda"==l&&(t.lambda=!0),":"!=l||t.lambda||"py"!=o(t).type||_(t),1==l.length&&!/string|comment/.test(n)){var i="[({".indexOf(l);if(-1!=i&&function(e,t,n){var l=e.match(/^([\s\[\{\(]|#.*)*$/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+p,type:n,align:l})}(e,t,"])}".slice(i,i+1)),-1!=(i="])}".indexOf(l))){if(o(t).type!=l)return a;t.indent=t.scopes.pop().offset-p}}return t.dedent>0&&e.eol()&&"py"==o(t).type&&(t.scopes.length>1&&t.scopes.pop(),t.dedent-=1),n}(e,t);return l&&"comment"!=l&&(t.lastToken="keyword"==l||"punctuation"==l?e.current():l),"punctuation"==l&&(l=null),e.eol()&&t.lambda&&(t.lambda=!1),n?l+" "+a:l},indent:function(t,n){if(t.tokenize!=C)return t.tokenize.isString?e.Pass:0;var l=o(t),i=l.type==n.charAt(0);return null!=l.align?l.align-(i?1:0):l.offset-(i?p:0)},electricInput:/^\s*[\}\]\)]$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-python","python"),e.defineMIME("text/x-cython",{name:"python",extra_keywords:"by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE".split(" ")})}(n("VrN/"))},"26FU":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var l=n("mrSG"),i=n("K9Ia"),o=n("8g8A"),r=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return l.__extends(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.a;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(i.a)},"2Bdj":function(e,t,n){"use strict";function l(e){return"function"==typeof e}n.d(t,"a",function(){return l})},"2KeD":function(e,t,n){"use strict";var l=n("Q1FS"),i=n("zB/H"),o=n("zfKp");t.scheduleObservable=function(e,t){return new l.Observable(function(n){var l=new i.Subscription;return l.add(t.schedule(function(){var i=e[o.observable]();l.add(i.subscribe({next:function(e){l.add(t.schedule(function(){return n.next(e)}))},error:function(e){l.add(t.schedule(function(){return n.error(e)}))},complete:function(){l.add(t.schedule(function(){return n.complete()}))}}))})),l})}},"2bbZ":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("ihYY"),u=n("cdZy"),a=(n("V3HQ"),n("Ip0R")),s=n("sdDj"),c=(n("RWz4"),function(){function e(e,t,n,l,i,o){this.componentFactoryResolver=e,this.cd=t,this.renderer=n,this.config=l,this.dialogRef=i,this.zone=o,this.visible=!0}return e.prototype.ngAfterViewInit=function(){this.loadChildComponent(this.childComponentType),this.cd.detectChanges()},e.prototype.onOverlayClicked=function(e){this.dialogRef.close()},e.prototype.onDialogClicked=function(e){e.stopPropagation()},e.prototype.loadChildComponent=function(e){var t=this.componentFactoryResolver.resolveComponentFactory(e),n=this.insertionPoint.viewContainerRef;n.clear(),this.componentRef=n.createComponent(t)},e.prototype.moveOnTop=function(){if(!1!==this.config.autoZIndex){var e=this.config.baseZIndex||++s.DomHandler.zindex+0;this.container.style.zIndex=String(e),this.maskViewChild.nativeElement.style.zIndex=String(e-1)}},e.prototype.onAnimationStart=function(e){switch(e.toState){case"visible":this.container=e.element,this.moveOnTop(),this.bindGlobalListeners(),s.DomHandler.addClass(document.body,"ui-overflow-hidden");break;case"void":this.onContainerDestroy()}},e.prototype.onAnimationEnd=function(e){"void"===e.toState&&this.dialogRef.close()},e.prototype.onContainerDestroy=function(){s.DomHandler.removeClass(document.body,"ui-overflow-hidden"),this.unbindGlobalListeners(),this.container=null},e.prototype.close=function(){this.visible=!1},e.prototype.onMaskClick=function(){this.config.dismissableMask&&this.close()},e.prototype.bindGlobalListeners=function(){!1!==this.config.closeOnEscape&&!1!==this.config.closable&&this.bindDocumentEscapeListener()},e.prototype.unbindGlobalListeners=function(){this.unbindDocumentEscapeListener()},e.prototype.bindDocumentEscapeListener=function(){var e=this;this.documentEscapeListener=this.renderer.listen("document","keydown",function(t){27==t.which&&parseInt(e.container.style.zIndex)==s.DomHandler.zindex&&e.close()})},e.prototype.unbindDocumentEscapeListener=function(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)},e.prototype.ngOnDestroy=function(){this.onContainerDestroy(),this.componentRef&&this.componentRef.destroy()},l([o.ViewChild(u.DynamicDialogContent),i("design:type",u.DynamicDialogContent)],e.prototype,"insertionPoint",void 0),l([o.ViewChild("mask"),i("design:type",o.ElementRef)],e.prototype,"maskViewChild",void 0),l([o.Component({selector:"p-dynamicDialog",template:'\n\t\t
    \n\t\t
    \n
    \n {{config.header}}\n \n \n \n
    \n
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t\n\t\t
    \n\t',animations:[r.trigger("animation",[r.state("void",r.style({transform:"translate3d(-50%, -25%, 0) scale(0.9)",opacity:0})),r.state("visible",r.style({transform:"translateX(-50%) translateY(-50%)",opacity:1})),r.transition("* => *",r.animate("{{transitionParams}}"))])]})],e)}());t.DynamicDialogComponent=c,t.DynamicDialogModule=function(){return l([o.NgModule({imports:[a.CommonModule],declarations:[c,u.DynamicDialogContent],entryComponents:[c]})],function(){})}()},"2ePl":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var l=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},"2m6e":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=(n("gIcY"),n("Ip0R")),u=function(){function e(e,t){this.el=e,this.ngModel=t,this.onResize=new o.EventEmitter}return e.prototype.ngDoCheck=function(){this.updateFilledState(),this.autoResize&&this.resize()},e.prototype.onInput=function(e){this.updateFilledState(),this.autoResize&&this.resize(e)},e.prototype.updateFilledState=function(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model},e.prototype.onFocus=function(e){this.autoResize&&this.resize(e)},e.prototype.onBlur=function(e){this.autoResize&&this.resize(e)},e.prototype.resize=function(e){this.el.nativeElement.style.height="",this.el.nativeElement.style.height=this.el.nativeElement.scrollHeight+"px",parseFloat(this.el.nativeElement.style.height)>=parseFloat(this.el.nativeElement.style.maxHeight)?(this.el.nativeElement.style.overflowY="scroll",this.el.nativeElement.style.height=this.el.nativeElement.style.maxHeight):this.el.nativeElement.style.overflow="hidden",this.onResize.emit(e||{})},l([o.Input(),i("design:type",Boolean)],e.prototype,"autoResize",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onResize",void 0),l([o.HostListener("input",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onInput",null),l([o.HostListener("focus",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onFocus",null),l([o.HostListener("blur",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onBlur",null),l([o.Directive({selector:"[pInputTextarea]",host:{"[class.ui-inputtext]":"true","[class.ui-corner-all]":"true","[class.ui-inputtextarea-resizable]":"autoResize","[class.ui-state-default]":"true","[class.ui-widget]":"true","[class.ui-state-filled]":"filled"}})],e)}();t.InputTextarea=u,t.InputTextareaModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[u],declarations:[u]})],function(){})}()},"2qMH":function(e,t,n){"use strict";var l=n("Q1FS"),i=n("zB/H");t.scheduleArray=function(e,t){return new l.Observable(function(n){var l=new i.Subscription,o=0;return l.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||l.add(this.schedule())):n.complete()})),l})}},"3GNW":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("ihYY"),u=n("Ip0R"),a=n("sdDj"),s=n("7LN8"),c=n("VSng"),d=(n("oygf"),function(){function e(e,t,n,l){var i=this;this.el=e,this.renderer=t,this.confirmationService=n,this.zone=l,this.acceptIcon="pi pi-check",this.acceptLabel="Yes",this.acceptVisible=!0,this.rejectIcon="pi pi-times",this.rejectLabel="No",this.rejectVisible=!0,this.closeOnEscape=!0,this.closable=!0,this.autoZIndex=!0,this.baseZIndex=0,this.transitionOptions="400ms cubic-bezier(0.25, 0.8, 0.25, 1)",this.subscription=this.confirmationService.requireConfirmation$.subscribe(function(e){e.key===i.key&&(i.confirmation=e,i.message=i.confirmation.message||i.message,i.icon=i.confirmation.icon||i.icon,i.header=i.confirmation.header||i.header,i.rejectVisible=null==i.confirmation.rejectVisible?i.rejectVisible:i.confirmation.rejectVisible,i.acceptVisible=null==i.confirmation.acceptVisible?i.acceptVisible:i.confirmation.acceptVisible,i.acceptLabel=i.confirmation.acceptLabel||i.acceptLabel,i.rejectLabel=i.confirmation.rejectLabel||i.rejectLabel,i.confirmation.accept&&(i.confirmation.acceptEvent=new o.EventEmitter,i.confirmation.acceptEvent.subscribe(i.confirmation.accept)),i.confirmation.reject&&(i.confirmation.rejectEvent=new o.EventEmitter,i.confirmation.rejectEvent.subscribe(i.confirmation.reject)),i.visible=!0)})}return Object.defineProperty(e.prototype,"width",{get:function(){return this._width},set:function(e){this._width=e,console.warn("width property is deprecated, use style to define the width of the Dialog.")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},set:function(e){this._height=e,console.warn("height property is deprecated, use style to define the height of the Dialog.")},enumerable:!0,configurable:!0}),e.prototype.onAnimationStart=function(e){switch(e.toState){case"visible":this.container=e.element,this.setDimensions(),this.contentContainer=a.DomHandler.findSingle(this.container,".ui-dialog-content"),a.DomHandler.findSingle(this.container,"button").focus(),this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.enableModality();break;case"void":this.onOverlayHide()}},e.prototype.setDimensions=function(){this.width&&(this.container.style.width=this.width+"px"),this.height&&(this.container.style.height=this.height+"px")},e.prototype.appendContainer=function(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.container):a.DomHandler.appendChild(this.container,this.appendTo))},e.prototype.restoreAppend=function(){this.container&&this.appendTo&&this.el.nativeElement.appendChild(this.container)},e.prototype.enableModality=function(){this.mask||(this.mask=document.createElement("div"),this.mask.style.zIndex=String(parseInt(this.container.style.zIndex)-1),a.DomHandler.addMultipleClasses(this.mask,"ui-widget-overlay ui-dialog-mask"),document.body.appendChild(this.mask),a.DomHandler.addClass(document.body,"ui-overflow-hidden"))},e.prototype.disableModality=function(){this.mask&&(document.body.removeChild(this.mask),a.DomHandler.removeClass(document.body,"ui-overflow-hidden"),this.mask=null)},e.prototype.close=function(e){this.confirmation.rejectEvent&&this.confirmation.rejectEvent.emit(),this.hide(),e.preventDefault()},e.prototype.hide=function(){this.visible=!1},e.prototype.moveOnTop=function(){this.autoZIndex&&(this.container.style.zIndex=String(this.baseZIndex+ ++a.DomHandler.zindex))},e.prototype.bindGlobalListeners=function(){var e=this;this.closeOnEscape&&this.closable&&!this.documentEscapeListener&&(this.documentEscapeListener=this.renderer.listen("document","keydown",function(t){27==t.which&&parseInt(e.container.style.zIndex)===a.DomHandler.zindex&&e.visible&&e.close(t)}))},e.prototype.unbindGlobalListeners=function(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)},e.prototype.onOverlayHide=function(){this.disableModality(),this.unbindGlobalListeners(),this.container=null},e.prototype.ngOnDestroy=function(){this.restoreAppend(),this.onOverlayHide(),this.subscription.unsubscribe()},e.prototype.accept=function(){this.confirmation.acceptEvent&&this.confirmation.acceptEvent.emit(),this.hide(),this.confirmation=null},e.prototype.reject=function(){this.confirmation.rejectEvent&&this.confirmation.rejectEvent.emit(),this.hide(),this.confirmation=null},l([o.Input(),i("design:type",Boolean)],e.prototype,"visible",void 0),l([o.Input(),i("design:type",String)],e.prototype,"header",void 0),l([o.Input(),i("design:type",String)],e.prototype,"icon",void 0),l([o.Input(),i("design:type",String)],e.prototype,"message",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",String)],e.prototype,"acceptIcon",void 0),l([o.Input(),i("design:type",String)],e.prototype,"acceptLabel",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"acceptVisible",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rejectIcon",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rejectLabel",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"rejectVisible",void 0),l([o.Input(),i("design:type",String)],e.prototype,"acceptButtonStyleClass",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rejectButtonStyleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"closeOnEscape",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"rtl",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"closable",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"appendTo",void 0),l([o.Input(),i("design:type",String)],e.prototype,"key",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"autoZIndex",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"baseZIndex",void 0),l([o.Input(),i("design:type",String)],e.prototype,"transitionOptions",void 0),l([o.ContentChild(s.Footer),i("design:type",Object)],e.prototype,"footer",void 0),l([o.ViewChild("content"),i("design:type",o.ElementRef)],e.prototype,"contentViewChild",void 0),l([o.Input(),i("design:type",Object),i("design:paramtypes",[Object])],e.prototype,"width",null),l([o.Input(),i("design:type",Object),i("design:paramtypes",[Object])],e.prototype,"height",null),l([o.Component({selector:"p-confirmDialog",template:'\n
    \n
    \n {{header}}\n \n \n \n
    \n
    \n \n \n
    \n \n \n
    \n ',animations:[r.trigger("animation",[r.state("void",r.style({transform:"translate3d(-50%, -25%, 0) scale(0.9)",opacity:0})),r.state("visible",r.style({transform:"translateX(-50%) translateY(-50%)",opacity:1})),r.transition("* => *",r.animate("{{transitionParams}}"))])]})],e)}());t.ConfirmDialog=d,t.ConfirmDialogModule=function(){return l([o.NgModule({imports:[u.CommonModule,c.ButtonModule],exports:[d,c.ButtonModule,s.SharedModule],declarations:[d]})],function(){})}()},"3PJ4":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("sdDj"),a=function(){function e(e,t){this.el=e,this.zone=t,this.onDragStart=new o.EventEmitter,this.onDragEnd=new o.EventEmitter,this.onDrag=new o.EventEmitter}return e.prototype.ngAfterViewInit=function(){this.pDraggableDisabled||(this.el.nativeElement.draggable=!0,this.bindMouseListeners())},e.prototype.bindDragListener=function(){var e=this;this.dragListener||this.zone.runOutsideAngular(function(){e.dragListener=e.drag.bind(e),e.el.nativeElement.addEventListener("drag",e.dragListener)})},e.prototype.unbindDragListener=function(){var e=this;this.dragListener&&this.zone.runOutsideAngular(function(){e.el.nativeElement.removeEventListener("drag",e.dragListener),e.dragListener=null})},e.prototype.bindMouseListeners=function(){var e=this;this.mouseDownListener||this.mouseUpListener||this.zone.runOutsideAngular(function(){e.mouseDownListener=e.mousedown.bind(e),e.mouseUpListener=e.mouseup.bind(e),e.el.nativeElement.addEventListener("mousedown",e.mouseDownListener),e.el.nativeElement.addEventListener("mouseup",e.mouseUpListener)})},e.prototype.unbindMouseListeners=function(){var e=this;this.mouseDownListener&&this.mouseUpListener&&this.zone.runOutsideAngular(function(){e.el.nativeElement.removeEventListener("mousedown",e.mouseDownListener),e.el.nativeElement.removeEventListener("mouseup",e.mouseUpListener),e.mouseDownListener=null,e.mouseUpListener=null})},e.prototype.drag=function(e){this.onDrag.emit(e)},e.prototype.dragStart=function(e){this.allowDrag()?(this.dragEffect&&(e.dataTransfer.effectAllowed=this.dragEffect),e.dataTransfer.setData("text",this.scope),this.onDragStart.emit(e),this.bindDragListener()):e.preventDefault()},e.prototype.dragEnd=function(e){this.onDragEnd.emit(e),this.unbindDragListener()},e.prototype.mousedown=function(e){this.handle=e.target},e.prototype.mouseup=function(e){this.handle=null},e.prototype.allowDrag=function(){return!this.dragHandle||!this.handle||u.DomHandler.matches(this.handle,this.dragHandle)},e.prototype.ngOnDestroy=function(){this.unbindDragListener(),this.unbindMouseListeners()},l([o.Input("pDraggable"),i("design:type",String)],e.prototype,"scope",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pDraggableDisabled",void 0),l([o.Input(),i("design:type",String)],e.prototype,"dragEffect",void 0),l([o.Input(),i("design:type",String)],e.prototype,"dragHandle",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onDragStart",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onDragEnd",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onDrag",void 0),l([o.HostListener("dragstart",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"dragStart",null),l([o.HostListener("dragend",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"dragEnd",null),l([o.Directive({selector:"[pDraggable]"})],e)}();t.Draggable=a;var s=function(){function e(e,t){this.el=e,this.zone=t,this.onDragEnter=new o.EventEmitter,this.onDragLeave=new o.EventEmitter,this.onDrop=new o.EventEmitter}return e.prototype.ngAfterViewInit=function(){this.pDroppableDisabled||this.bindDragOverListener()},e.prototype.bindDragOverListener=function(){var e=this;this.dragOverListener||this.zone.runOutsideAngular(function(){e.dragOverListener=e.dragOver.bind(e),e.el.nativeElement.addEventListener("dragover",e.dragOverListener)})},e.prototype.unbindDragOverListener=function(){var e=this;this.dragOverListener&&this.zone.runOutsideAngular(function(){e.el.nativeElement.removeEventListener("dragover",e.dragOverListener),e.dragOverListener=null})},e.prototype.dragOver=function(e){e.preventDefault()},e.prototype.drop=function(e){this.allowDrop(e)&&(e.preventDefault(),this.onDrop.emit(e))},e.prototype.dragEnter=function(e){e.preventDefault(),this.dropEffect&&(e.dataTransfer.dropEffect=this.dropEffect),this.onDragEnter.emit(e)},e.prototype.dragLeave=function(e){e.preventDefault(),this.onDragLeave.emit(e)},e.prototype.allowDrop=function(e){var t=e.dataTransfer.getData("text");if("string"==typeof this.scope&&t==this.scope)return!0;if(this.scope instanceof Array)for(var n=0;n\n
    \n \n
    \n
    \n
    {{header}}
    \n
    {{subheader}}
    \n
    \n \n
    \n \n
    \n
    \n '})],e)}();t.Card=a,t.CardModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[a,u.SharedModule],declarations:[a]})],function(){})}()},"5EhP":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicDialogInjector=function(){function e(e,t){this._parentInjector=e,this._additionalTokens=t}return e.prototype.get=function(e,t,n){return this._additionalTokens.get(e)||this._parentInjector.get(e,t)},e}()},"5xuf":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=function(){function e(e,t,n){this.el=e,this.renderer=t,this.viewContainer=n,this.onLoad=new o.EventEmitter}return e.prototype.ngAfterViewInit=function(){var e=this;this.shouldLoad()&&this.load(),this.isLoaded()||(this.documentScrollListener=this.renderer.listen("window","scroll",function(){e.shouldLoad()&&(e.load(),e.documentScrollListener(),e.documentScrollListener=null)}))},e.prototype.shouldLoad=function(){if(this.isLoaded())return!1;var e=this.el.nativeElement.getBoundingClientRect();return document.documentElement.clientHeight>=e.top},e.prototype.load=function(){this.view=this.viewContainer.createEmbeddedView(this.template),this.onLoad.emit()},e.prototype.isLoaded=function(){return null!=this.view},e.prototype.ngOnDestroy=function(){this.view=null,this.documentScrollListener&&this.documentScrollListener()},l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onLoad",void 0),l([o.ContentChild(o.TemplateRef),i("design:type",o.TemplateRef)],e.prototype,"template",void 0),l([o.Directive({selector:"[pDefer]"})],e)}();t.DeferredLoader=u,t.DeferModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[u],declarations:[u]})],function(){})}()},"60iU":function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"a",function(){return u});var l,i=n("G5J1"),o=n("F/XL"),r=n("XlPw");l||(l={});var u=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}},e.prototype.accept=function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)},e.prototype.toObservable=function(){switch(this.kind){case"N":return Object(o.a)(this.value);case"E":return Object(r.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},"66nc":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("ihYY"),u=n("Ip0R"),a=n("sdDj"),s=n("7LN8"),c=0,d=function(){function e(e,t,n){this.el=e,this.renderer=t,this.zone=n,this.draggable=!0,this.resizable=!0,this.closeOnEscape=!0,this.closable=!0,this.responsive=!0,this.showHeader=!0,this.breakpoint=640,this.blockScroll=!1,this.autoZIndex=!0,this.baseZIndex=0,this.minX=0,this.minY=0,this.focusOnShow=!0,this.transitionOptions="400ms cubic-bezier(0.25, 0.8, 0.25, 1)",this.closeIcon="pi pi-times",this.minimizeIcon="pi pi-window-minimize",this.maximizeIcon="pi pi-window-maximize",this.onShow=new o.EventEmitter,this.onHide=new o.EventEmitter,this.visibleChange=new o.EventEmitter,this.id="ui-dialog-"+c++}return Object.defineProperty(e.prototype,"width",{get:function(){return this._width},set:function(e){this._width=e,console.warn("width property is deprecated, use style to define the width of the Dialog.")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},set:function(e){this._height=e,console.warn("height property is deprecated, use style to define the height of the Dialog.")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minWidth",{get:function(){return this._minWidth},set:function(e){this._minWidth=e,console.warn("minWidth property is deprecated, use style to define the minWidth of the Dialog.")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this._minHeight},set:function(e){this._minHeight=e,console.warn("minHeight property is deprecated, use style to define the minHeight of the Dialog.")},enumerable:!0,configurable:!0}),e.prototype.focus=function(){var e=a.DomHandler.findSingle(this.container,"button");e&&this.zone.runOutsideAngular(function(){setTimeout(function(){return e.focus()},5)})},e.prototype.positionOverlay=function(){var e=a.DomHandler.getViewport();a.DomHandler.getOuterHeight(this.container)>e.height?(this.contentViewChild.nativeElement.style.height=.75*e.height+"px",this.container.style.height="auto"):(this.contentViewChild.nativeElement.style.height=null,this.height&&(this.container.style.height=this.height+"px")),this.positionLeft>=0&&this.positionTop>=0?(this.container.style.left=this.positionLeft+"px",this.container.style.top=this.positionTop+"px"):this.positionTop>=0?(this.center(),this.container.style.top=this.positionTop+"px"):this.center()},e.prototype.close=function(e){this.visibleChange.emit(!1),e.preventDefault()},e.prototype.center=function(){var e=a.DomHandler.getOuterWidth(this.container),t=a.DomHandler.getOuterHeight(this.container);0==e&&0==t&&(this.container.style.visibility="hidden",this.container.style.display="block",e=a.DomHandler.getOuterWidth(this.container),t=a.DomHandler.getOuterHeight(this.container),this.container.style.display="none",this.container.style.visibility="visible");var n=a.DomHandler.getViewport(),l=Math.max(Math.floor((n.width-e)/2),0),i=Math.max(Math.floor((n.height-t)/2),0);this.container.style.left=l+"px",this.container.style.top=i+"px"},e.prototype.enableModality=function(){var e=this;if(!this.mask){this.mask=document.createElement("div"),this.mask.style.zIndex=String(parseInt(this.container.style.zIndex)-1);var t="ui-widget-overlay ui-dialog-mask";this.blockScroll&&(t+=" ui-dialog-mask-scrollblocker"),a.DomHandler.addMultipleClasses(this.mask,t),this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.mask,"click",function(t){e.close(t)})),document.body.appendChild(this.mask),this.blockScroll&&a.DomHandler.addClass(document.body,"ui-overflow-hidden")}},e.prototype.disableModality=function(){if(this.mask){if(this.unbindMaskClickListener(),document.body.removeChild(this.mask),this.blockScroll){for(var e=document.body.children,t=void 0,n=0;n=this.minX&&r+t=this.minY&&u+nparseInt(s))&&d.left+rparseInt(c))&&d.top+u\n
    \n {{header}}\n \n \n \n \n \n \n \n \n \n
    \n
    \n \n
    \n \n
    \n
    \n ',animations:[r.trigger("animation",[r.state("void",r.style({transform:"translate3d(0, 25%, 0) scale(0.9)",opacity:0})),r.state("visible",r.style({transform:"none",opacity:1})),r.transition("* => *",r.animate("{{transitionParams}}"))])]})],e)}();t.Dialog=d,t.DialogModule=function(){return l([o.NgModule({imports:[u.CommonModule],exports:[d,s.SharedModule],declarations:[d]})],function(){})}()},"67Y/":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var l=n("mrSG"),i=n("FFOo");function o(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new r(e,t))}}var r=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.project,this.thisArg))},e}(),u=function(e){function t(t,n,l){var i=e.call(this,t)||this;return i.project=n,i.count=0,i.thisArg=l||i,i}return l.__extends(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(i.a)},"6MUB":function(e,t,n){"use strict";var l=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(i){var o=encodeURIComponent(l(i))+n;return Array.isArray(e[i])?e[i].map(function(e){return o+encodeURIComponent(l(e))}).join(t):o+encodeURIComponent(l(e[i]))}).join(t):i?encodeURIComponent(l(i))+n+encodeURIComponent(l(e)):""}},"6ahw":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var l=n("iLxQ"),i=n("DKTb"),o={closed:!0,next:function(e){},error:function(e){if(l.a.useDeprecatedSynchronousErrorHandling)throw e;Object(i.a)(e)},complete:function(){}}},"6blF":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var l=n("1fDf"),i=n("FFOo"),o=n("L/V9"),r=n("6ahw"),u=n("xTla"),a=n("y3By"),s=n("iLxQ"),c=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var l=this.operator,u=function(e,t,n){if(e){if(e instanceof i.a)return e;if(e[o.a])return e[o.a]()}return e||t||n?new i.a(e,t,n):new i.a(r.a)}(e,t,n);if(u.add(l?l.call(u,this.source):this.source||s.a.useDeprecatedSynchronousErrorHandling&&!u.syncErrorThrowable?this._subscribe(u):this._trySubscribe(u)),s.a.useDeprecatedSynchronousErrorHandling&&u.syncErrorThrowable&&(u.syncErrorThrowable=!1,u.syncErrorThrown))throw u.syncErrorValue;return u},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){s.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),Object(l.a)(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=d(t))(function(t,l){var i;i=n.subscribe(function(t){try{e(t)}catch(n){l(n),i&&i.unsubscribe()}},l,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[u.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t\n \n \n '})],e)}();t.Steps=a,t.StepsModule=function(){return l([o.NgModule({imports:[r.CommonModule,u.RouterModule],exports:[a,u.RouterModule],declarations:[a]})],function(){})}()},"7LN8":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("CcnG"),a=function(){return l([u.Component({selector:"p-header",template:""})],function(){})}();t.Header=a;var s=function(){return l([u.Component({selector:"p-footer",template:""})],function(){})}();t.Footer=s;var c=function(){function e(e){this.template=e}return e.prototype.getType=function(){return this.name},l([o.Input(),i("design:type",String)],e.prototype,"type",void 0),l([o.Input("pTemplate"),i("design:type",String)],e.prototype,"name",void 0),l([o.Directive({selector:"[pTemplate]",host:{}})],e)}();t.PrimeTemplate=c;var d=function(){function e(){this.filterType="text",this.exportable=!0,this.resizable=!0,this.sortFunction=new o.EventEmitter}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"header":e.headerTemplate=t.template;break;case"body":e.bodyTemplate=t.template;break;case"footer":e.footerTemplate=t.template;break;case"filter":e.filterTemplate=t.template;break;case"editor":e.editorTemplate=t.template;break;default:e.bodyTemplate=t.template}})},l([o.Input(),i("design:type",String)],e.prototype,"field",void 0),l([o.Input(),i("design:type",String)],e.prototype,"colId",void 0),l([o.Input(),i("design:type",String)],e.prototype,"sortField",void 0),l([o.Input(),i("design:type",String)],e.prototype,"filterField",void 0),l([o.Input(),i("design:type",String)],e.prototype,"header",void 0),l([o.Input(),i("design:type",String)],e.prototype,"footer",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"sortable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"editable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"filter",void 0),l([o.Input(),i("design:type",String)],e.prototype,"filterMatchMode",void 0),l([o.Input(),i("design:type",String)],e.prototype,"filterType",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"excludeGlobalFilter",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"rowspan",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"colspan",void 0),l([o.Input(),i("design:type",String)],e.prototype,"scope",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"exportable",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"headerStyle",void 0),l([o.Input(),i("design:type",String)],e.prototype,"headerStyleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"bodyStyle",void 0),l([o.Input(),i("design:type",String)],e.prototype,"bodyStyleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"footerStyle",void 0),l([o.Input(),i("design:type",String)],e.prototype,"footerStyleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"hidden",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"expander",void 0),l([o.Input(),i("design:type",String)],e.prototype,"selectionMode",void 0),l([o.Input(),i("design:type",String)],e.prototype,"filterPlaceholder",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"filterMaxlength",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"resizable",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"sortFunction",void 0),l([o.ContentChildren(c),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.ContentChild(o.TemplateRef),i("design:type",o.TemplateRef)],e.prototype,"template",void 0),l([u.Component({selector:"p-column",template:""})],e)}();t.Column=d;var p=function(){function e(){}return l([o.ContentChildren(d),i("design:type",o.QueryList)],e.prototype,"columns",void 0),l([u.Component({selector:"p-row",template:""})],e)}();t.Row=p;var h=function(){function e(){}return l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.ContentChildren(p),i("design:type",o.QueryList)],e.prototype,"rows",void 0),l([u.Component({selector:"p-headerColumnGroup",template:""})],e)}();t.HeaderColumnGroup=h;var f=function(){function e(){}return l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.ContentChildren(p),i("design:type",o.QueryList)],e.prototype,"rows",void 0),l([u.Component({selector:"p-footerColumnGroup",template:""})],e)}();t.FooterColumnGroup=f,t.SharedModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[a,s,d,c,p,h,f],declarations:[a,s,d,c,p,h,f]})],function(){})}()},"8EBN":function(e,t,n){!function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"],alias:["objective-c","objc"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var t=0;t-1&&t.substring(i+1,t.length);if(o)return e.findModeByExtension(o)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n\n
    \n \n
    \n
    \n \n
    \n \n '})],e)}();t.DTRadioButton=h;var f=function(){function e(){this.onChange=new o.EventEmitter}return e.prototype.handleClick=function(e){this.disabled||this.onChange.emit({originalEvent:e,checked:!this.checked})},l([o.Input(),i("design:type",Boolean)],e.prototype,"checked",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onChange",void 0),l([o.Component({selector:"p-dtCheckbox",template:'\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n '})],e)}();t.DTCheckbox=f;var g=function(){function e(e){this.dt=e}return l([o.Input("pColumnHeaders"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Component({selector:"[pColumnHeaders]",template:'\n \n \n \n {{col.header}}\n \n \n \n \n \n \n \n \n \n \n \n '})],e)}();t.ColumnHeaders=g;var m=function(){function e(e){this.dt=e}return l([o.Input("pColumnFooters"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Component({selector:"[pColumnFooters]",template:'\n \n {{col.footer}}\n \n \n \n \n '})],e)}();t.ColumnFooters=m;var v=function(){function e(e){this.dt=e}return e.prototype.visibleColumns=function(){return this.columns?this.columns.filter(function(e){return!e.hidden}):[]},l([o.Input("pTableBody"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"data",void 0),l([o.Component({selector:"[pTableBody]",template:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {{col.header}}\n {{dt.resolveFieldData(rowData,col.field)}}\n \n \n \n
    \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n \n \n \n
    \n\n \n \n {{dt.emptyMessage}}\n \n \n \n \n \n '})],e)}();t.TableBody=v;var y=function(){function e(e,t,n,l){this.dt=e,this.el=t,this.renderer=n,this.zone=l,this.onVirtualScroll=new o.EventEmitter}return e.prototype.ngAfterViewInit=function(){this.initScrolling()},e.prototype.ngAfterViewChecked=function(){var e=this;if(this.virtualScroll&&!this.rowHeight){var t=d.DomHandler.findSingle(this.scrollTable,"tr.ui-widget-content:not(.ui-datatable-emptymessage-row)");t&&(this.rowHeight=d.DomHandler.getOuterHeight(t))}this.frozen||this.zone.runOutsideAngular(function(){setTimeout(function(){e.alignScrollBar()},1)})},e.prototype.initScrolling=function(){var e=this;this.scrollHeader=this.scrollHeaderViewChild.nativeElement,this.scrollHeaderBox=this.scrollHeaderBoxViewChild.nativeElement,this.scrollBody=this.scrollBodyViewChild.nativeElement,this.scrollTable=this.scrollTableViewChild.nativeElement,this.scrollTableWrapper=this.scrollTableWrapperViewChild.nativeElement,this.scrollFooter=this.scrollFooterViewChild?this.scrollFooterViewChild.nativeElement:null,this.scrollFooterBox=this.scrollFooterBoxViewChild?this.scrollFooterBoxViewChild.nativeElement:null,this.setScrollHeight(),this.frozen||this.zone.runOutsideAngular(function(){e.scrollHeader.addEventListener("scroll",e.onHeaderScroll.bind(e)),e.scrollBody.addEventListener("scroll",e.onBodyScroll.bind(e))}),this.frozen?this.scrollBody.style.paddingBottom=d.DomHandler.calculateScrollbarWidth()+"px":this.alignScrollBar()},e.prototype.onBodyScroll=function(e){var t=this,n=this.el.nativeElement.previousElementSibling;if(n)var l=d.DomHandler.findSingle(n,".ui-datatable-scrollable-body");if(this.scrollHeaderBox.style.marginLeft=-1*this.scrollBody.scrollLeft+"px",this.scrollFooterBox&&(this.scrollFooterBox.style.marginLeft=-1*this.scrollBody.scrollLeft+"px"),l&&(l.scrollTop=this.scrollBody.scrollTop),this.virtualScroll){var i=d.DomHandler.getOuterHeight(this.scrollBody),o=d.DomHandler.getOuterHeight(this.scrollTable),r=this.rowHeight*this.dt.rows,u=d.DomHandler.getOuterHeight(this.scrollTableWrapper)/r||1;if(this.scrollBody.scrollTop+i>parseFloat(this.scrollTable.style.top)+o||this.scrollBody.scrollTopd.DomHandler.getOuterHeight(this.scrollBody)},e.prototype.alignScrollBar=function(){var e=this.hasVerticalOverflow()?d.DomHandler.calculateScrollbarWidth():0;this.scrollHeaderBox.style.marginRight=e+"px",this.scrollFooterBox&&(this.scrollFooterBox.style.marginRight=e+"px")},e.prototype.ngOnDestroy=function(){this.scrollHeader.removeEventListener("scroll",this.onHeaderScroll),this.scrollBody.removeEventListener("scroll",this.onBodyScroll)},l([o.Input("pScrollableView"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Input(),i("design:type",c.HeaderColumnGroup)],e.prototype,"headerColumnGroup",void 0),l([o.Input(),i("design:type",c.HeaderColumnGroup)],e.prototype,"footerColumnGroup",void 0),l([o.ViewChild("scrollHeader"),i("design:type",o.ElementRef)],e.prototype,"scrollHeaderViewChild",void 0),l([o.ViewChild("scrollHeaderBox"),i("design:type",o.ElementRef)],e.prototype,"scrollHeaderBoxViewChild",void 0),l([o.ViewChild("scrollBody"),i("design:type",o.ElementRef)],e.prototype,"scrollBodyViewChild",void 0),l([o.ViewChild("scrollTable"),i("design:type",o.ElementRef)],e.prototype,"scrollTableViewChild",void 0),l([o.ViewChild("scrollTableWrapper"),i("design:type",o.ElementRef)],e.prototype,"scrollTableWrapperViewChild",void 0),l([o.ViewChild("scrollFooter"),i("design:type",o.ElementRef)],e.prototype,"scrollFooterViewChild",void 0),l([o.ViewChild("scrollFooterBox"),i("design:type",o.ElementRef)],e.prototype,"scrollFooterBoxViewChild",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.Input(),i("design:type",String)],e.prototype,"width",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"virtualScroll",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onVirtualScroll",void 0),l([o.Component({selector:"[pScrollableView]",template:'\n
    \n
    \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n
    \n
    \n
    \n \n '})],e)}();t.ScrollableView=y;var b=function(){function e(e,t,n,l,i){this.el=e,this.differs=t,this.renderer=n,this.changeDetector=l,this.zone=i,this.pageLinks=5,this.selectionChange=new o.EventEmitter,this.showHeaderCheckbox=!0,this.onRowClick=new o.EventEmitter,this.onRowSelect=new o.EventEmitter,this.onRowUnselect=new o.EventEmitter,this.onRowDblclick=new o.EventEmitter,this.onHeaderCheckboxToggle=new o.EventEmitter,this.onContextMenuSelect=new o.EventEmitter,this.filterDelay=300,this.onLazyLoad=new o.EventEmitter,this.columnResizeMode="fit",this.onColResize=new o.EventEmitter,this.onColReorder=new o.EventEmitter,this.sortMode="single",this.defaultSortOrder=1,this.csvSeparator=",",this.exportFilename="download",this.emptyMessage="No records found",this.paginatorPosition="bottom",this.alwaysShowPaginator=!0,this.metaKeySelection=!0,this.rowTrackBy=function(e,t){return t},this.immutable=!0,this.compareSelectionBy="deepEquals",this.onEditInit=new o.EventEmitter,this.onEditComplete=new o.EventEmitter,this.onEdit=new o.EventEmitter,this.onEditCancel=new o.EventEmitter,this.onPage=new o.EventEmitter,this.onSort=new o.EventEmitter,this.onFilter=new o.EventEmitter,this.rowExpandMode="multiple",this.expandedIcon="fa-chevron-circle-down",this.collapsedIcon="fa-chevron-circle-right",this.tabindex=1,this.sortableRowGroup=!0,this.filters={},this.loadingIcon="fa-circle-o-notch",this.virtualScrollDelay=500,this.rowGroupExpandMode="multiple",this.valueChange=new o.EventEmitter,this.firstChange=new o.EventEmitter,this.onRowExpand=new o.EventEmitter,this.onRowCollapse=new o.EventEmitter,this.onRowGroupExpand=new o.EventEmitter,this.onRowGroupCollapse=new o.EventEmitter,this.page=0,this.columnsChanged=!1,this._first=0,this._sortOrder=1,this.filterConstraints={startsWith:function(e,t){if(null==t||""===t.trim())return!0;if(null==e)return!1;var n=t.toLowerCase();return e.toString().toLowerCase().slice(0,n.length)===n},contains:function(e,t){return null==t||"string"==typeof t&&""===t.trim()||null!=e&&-1!==e.toString().toLowerCase().indexOf(t.toLowerCase())},endsWith:function(e,t){if(null==t||""===t.trim())return!0;if(null==e)return!1;var n=t.toString().toLowerCase();return-1!==e.toString().toLowerCase().indexOf(n,e.toString().length-n.length)},equals:function(e,t){return null==t||"string"==typeof t&&""===t.trim()||null!=e&&e.toString().toLowerCase()==t.toString().toLowerCase()},notEquals:function(e,t){return!(null==t||"string"==typeof t&&""===t.trim()||null!=e&&e.toString().toLowerCase()==t.toString().toLowerCase())},in:function(e,t){if(null==t||0===t.length)return!0;if(null==e)return!1;for(var n=0;n=this.totalRecords){var e=Math.ceil(this.totalRecords/this.rows);this._first=Math.max((e-1)*this.rows,0)}},e.prototype.updateTotalRecords=function(){this.totalRecords=this.lazy?this.totalRecords:this.value?this.value.length:0},e.prototype.onPageChange=function(e){this._first=e.first,this.firstChange.emit(this.first),this.rows=e.rows,this.paginate()},e.prototype.paginate=function(){this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.updateDataToRender(this.filteredValue||this.value),this.onPage.emit({first:this.first,rows:this.rows})},e.prototype.updateDataToRender=function(e){if((this.paginator||this.virtualScroll)&&e){this.dataToRender=[];for(var t=this.lazy?0:this.first,n=this.virtualScroll?this.first+2*this.rows:t+this.rows,l=t;l=e.length);l++)this.dataToRender.push(e[l])}else this.dataToRender=e;this.rowGroupMode&&this.updateRowGroupMetadata(),this.changeDetector.markForCheck()},e.prototype.onVirtualScroll=function(e){var t=this;this._first=(e.page-1)*this.rows,this.virtualScrollCallback=e.callback,this.zone.run(function(){t.virtualScrollTimer&&clearTimeout(t.virtualScrollTimer),t.virtualScrollTimer=setTimeout(function(){t.lazy?t.onLazyLoad.emit(t.createLazyLoadMetadata()):t.updateDataToRender(t.filteredValue||t.value)},t.virtualScrollDelay)})},e.prototype.onHeaderKeydown=function(e,t){13==e.keyCode&&(this.sort(e,t),e.preventDefault())},e.prototype.onHeaderMousedown=function(e,t){this.reorderableColumns&&("INPUT"!==e.target.nodeName?t.draggable=!0:"INPUT"===e.target.nodeName&&(t.draggable=!1))},e.prototype.sort=function(e,t){if(t.sortable){var n=e.target;if(d.DomHandler.hasClass(n,"ui-sortable-column")||d.DomHandler.hasClass(n,"ui-column-title")||d.DomHandler.hasClass(n,"ui-sortable-column-icon")){this.immutable||(this.preventSortPropagation=!0);var l=t.sortField||t.field;this._sortOrder=this.sortField===l?-1*this.sortOrder:this.defaultSortOrder,this._sortField=l,this.sortColumn=t,"multiple"==this.sortMode&&(this.multiSortMeta&&(e.metaKey||e.ctrlKey)||(this._multiSortMeta=[]),this.addSortMeta({field:this.sortField,order:this.sortOrder})),this.lazy?(this._first=0,this.onLazyLoad.emit(this.createLazyLoadMetadata())):"multiple"==this.sortMode?this.sortMultiple():this.sortSingle(),this.onSort.emit({field:this.sortField,order:this.sortOrder,multisortmeta:this.multiSortMeta})}this.updateDataToRender(this.filteredValue||this.value)}},e.prototype.sortSingle=function(){var e=this;this.value&&(this.sortColumn&&"custom"===this.sortColumn.sortable?(this.preventSortPropagation=!0,this.sortColumn.sortFunction.emit({field:this.sortField,order:this.sortOrder})):this.value.sort(function(t,n){var l,i=e.resolveFieldData(t,e.sortField),o=e.resolveFieldData(n,e.sortField);return l=null==i&&null!=o?-1:null!=i&&null==o?1:null==i&&null==o?0:"string"==typeof i&&"string"==typeof o?i.localeCompare(o):io?1:0,e.sortOrder*l}),this._first=0,this.hasFilter()&&this._filter())},e.prototype.sortMultiple=function(){var e=this;this.value&&(this.value.sort(function(t,n){return e.multisortField(t,n,e.multiSortMeta,0)}),this.hasFilter()&&this._filter())},e.prototype.multisortField=function(e,t,n,l){var i=this.resolveFieldData(e,n[l].field),o=this.resolveFieldData(t,n[l].field),r=null;if("string"==typeof i||i instanceof String){if(i.localeCompare&&i!=o)return n[l].order*i.localeCompare(o)}else r=il?this.multisortField(e,t,n,l+1):0:n[l].order*r},e.prototype.addSortMeta=function(e){for(var t=-1,n=0;n=0?this.multiSortMeta[t]=e:this.multiSortMeta.push(e)},e.prototype.isSorted=function(e){if(!e.sortable)return!1;var t=e.sortField||e.field;if("single"===this.sortMode)return this.sortField&&t===this.sortField;if("multiple"===this.sortMode){var n=!1;if(this.multiSortMeta)for(var l=0;lthis.anchorRowIndex?(t=this.anchorRowIndex,n=this.rangeRowIndex):this.rangeRowIndext?(n=t,l=this.anchorRowIndex):this.anchorRowIndex-1:this.equals(e,this.selection))},e.prototype.equals=function(e,t){return"equals"===this.compareSelectionBy?e===t:p.ObjectUtils.equals(e,t,this.dataKey)},Object.defineProperty(e.prototype,"allSelected",{get:function(){if(this.headerCheckboxToggleAllPages)return this.selection&&this.value&&this.selection.length===this.value.length;var e=!0;if(this.dataToRender&&this.selection&&this.dataToRender.length<=this.selection.length){for(var t=0,n=this.dataToRender;tparseInt(this.resizeColumn.style.minWidth||15)){if("fit"===this.columnResizeMode){for(var i=this.resizeColumn.nextElementSibling;d.DomHandler.hasClass(i,"ui-helper-hidden");)i=i.nextElementSibling;if(i){var o=i.offsetWidth-t;if(l>15&&o>parseInt(i.style.minWidth||15)&&(this.resizeColumn.style.width=l+"px",i&&(i.style.width=o+"px"),this.scrollable)){var r=d.DomHandler.findSingle(this.el.nativeElement,"colgroup.ui-datatable-scrollable-colgroup"),u=d.DomHandler.index(this.resizeColumn);r.children[u].style.width=l+"px",i&&(r.children[u+1].style.width=o+"px")}}}else if("expand"===this.columnResizeMode){this.tbody.parentElement.style.width=this.tbody.parentElement.offsetWidth+t+"px",this.resizeColumn.style.width=l+"px";var a=this.tbody.parentElement.style.width;this.scrollable?(d.DomHandler.findSingle(this.el.nativeElement,".ui-datatable-scrollable-header-box").children[0].style.width=a,r=d.DomHandler.findSingle(this.el.nativeElement,"colgroup.ui-datatable-scrollable-colgroup"),u=d.DomHandler.index(this.resizeColumn),r.children[u].style.width=l+"px"):this.el.nativeElement.children[0].style.width=a}this.onColResize.emit({element:this.resizeColumn,delta:t})}this.resizerHelper.style.display="none",this.resizeColumn=null,d.DomHandler.removeClass(this.el.nativeElement.children[0],"ui-unselectable-text"),this.unbindColumnResizeEvents()},e.prototype.fixColumnWidths=function(){for(var e,t=d.DomHandler.find(this.el.nativeElement,"th.ui-resizable-column"),n=0;no?(this.reorderIndicatorUp.style.left=i+t.offsetWidth-Math.ceil(this.iconWidth/2)+"px",this.reorderIndicatorDown.style.left=i+t.offsetWidth-Math.ceil(this.iconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUp.style.left=i-Math.ceil(this.iconWidth/2)+"px",this.reorderIndicatorDown.style.left=i-Math.ceil(this.iconWidth/2)+"px",this.dropPosition=-1),this.reorderIndicatorUp.style.display="block",this.reorderIndicatorDown.style.display="block"}else e.dataTransfer.dropEffect="none"}},e.prototype.onColumnDragleave=function(e){this.reorderableColumns&&this.draggedColumn&&(e.preventDefault(),this.reorderIndicatorUp.style.display="none",this.reorderIndicatorDown.style.display="none",window.document.removeEventListener("dragover",this.onColumnDragover))},e.prototype.onColumnDrop=function(e){if(e.preventDefault(),this.draggedColumn){var t=d.DomHandler.index(this.draggedColumn),n=d.DomHandler.index(this.findParentHeader(e.target)),l=t!=n;l&&(n-t==1&&-1===this.dropPosition||t-n==1&&1===this.dropPosition)&&(l=!1),l&&(p.ObjectUtils.reorderArray(this.columns,t,n),this.scrollable&&this.initScrollableColumns(),this.onColReorder.emit({dragIndex:t,dropIndex:n,columns:this.columns})),this.reorderIndicatorUp.style.display="none",this.reorderIndicatorDown.style.display="none",this.draggedColumn.draggable=!1,this.draggedColumn=null,this.dropPosition=null}},e.prototype.initColumnReordering=function(){this.reorderIndicatorUp=d.DomHandler.findSingle(this.el.nativeElement.children[0],"span.ui-datatable-reorder-indicator-up"),this.reorderIndicatorDown=d.DomHandler.findSingle(this.el.nativeElement.children[0],"span.ui-datatable-reorder-indicator-down"),this.iconWidth=d.DomHandler.getHiddenElementOuterWidth(this.reorderIndicatorUp),this.iconHeight=d.DomHandler.getHiddenElementOuterHeight(this.reorderIndicatorUp)},e.prototype.findParentHeader=function(e){if("TH"==e.nodeName)return e;for(var t=e.parentElement;"TH"!=t.nodeName&&(t=t.parentElement););return t},e.prototype.hasFooter=function(){if(this.footerColumnGroups&&this.footerColumnGroups.first)return!0;if(this.columns)for(var e=0;e=0?(this.expandedRowsGroups.splice(n,1),this.onRowGroupCollapse.emit({originalEvent:e,group:l})):("single"===this.rowGroupExpandMode&&(this.expandedRowsGroups=[]),this.expandedRowsGroups.push(l),this.onRowGroupExpand.emit({originalEvent:e,group:l})),e.preventDefault()},e.prototype.reset=function(){this._sortField=null,this._sortOrder=1,this.filteredValue=null,this.filters={},this._first=0,this.firstChange.emit(this._first),this.updateTotalRecords(),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.updateDataToRender(this.value)},e.prototype.exportCSV=function(e){var t=this,n=this.filteredValue||this.value,l="\ufeff";e&&e.selectionOnly&&(n=this.selection||[]);for(var i=0;i0},e.prototype.ngOnDestroy=function(){this.globalFilterFunction&&this.globalFilterFunction(),this.resizableColumns&&this.unbindColumnResizeEvents(),this.unbindDocumentEditListener(),this.columnsSubscription&&this.columnsSubscription.unsubscribe(),this.virtualScrollCallback&&(this.virtualScrollCallback=null)},l([o.Input(),i("design:type",Boolean)],e.prototype,"paginator",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"rows",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"pageLinks",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"rowsPerPageOptions",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"responsive",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"stacked",void 0),l([o.Input(),i("design:type",String)],e.prototype,"selectionMode",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"selectionChange",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"editable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"showHeaderCheckbox",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowClick",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowSelect",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowUnselect",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowDblclick",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onHeaderCheckboxToggle",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"headerCheckboxToggleAllPages",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onContextMenuSelect",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"filterDelay",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"lazy",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onLazyLoad",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"resizableColumns",void 0),l([o.Input(),i("design:type",String)],e.prototype,"columnResizeMode",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onColResize",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"reorderableColumns",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onColReorder",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"scrollable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"virtualScroll",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"scrollHeight",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"scrollWidth",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"frozenWidth",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"unfrozenWidth",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"tableStyle",void 0),l([o.Input(),i("design:type",String)],e.prototype,"tableStyleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"globalFilter",void 0),l([o.Input(),i("design:type",String)],e.prototype,"sortMode",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"defaultSortOrder",void 0),l([o.Input(),i("design:type",String)],e.prototype,"groupField",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"contextMenu",void 0),l([o.Input(),i("design:type",String)],e.prototype,"csvSeparator",void 0),l([o.Input(),i("design:type",String)],e.prototype,"exportFilename",void 0),l([o.Input(),i("design:type",String)],e.prototype,"emptyMessage",void 0),l([o.Input(),i("design:type",String)],e.prototype,"paginatorPosition",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"alwaysShowPaginator",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"metaKeySelection",void 0),l([o.Input(),i("design:type",Function)],e.prototype,"rowTrackBy",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"immutable",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"frozenValue",void 0),l([o.Input(),i("design:type",String)],e.prototype,"compareSelectionBy",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onEditInit",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onEditComplete",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onEdit",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onEditCancel",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onPage",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onSort",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onFilter",void 0),l([o.ContentChild(c.Header),i("design:type",Object)],e.prototype,"header",void 0),l([o.ContentChild(c.Footer),i("design:type",Object)],e.prototype,"footer",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"expandableRows",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"expandedRows",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"expandableRowGroups",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rowExpandMode",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"expandedRowsGroups",void 0),l([o.Input(),i("design:type",String)],e.prototype,"expandedIcon",void 0),l([o.Input(),i("design:type",String)],e.prototype,"collapsedIcon",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"tabindex",void 0),l([o.Input(),i("design:type",Function)],e.prototype,"rowStyleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"rowStyleMap",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rowGroupMode",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"sortableRowGroup",void 0),l([o.Input(),i("design:type",String)],e.prototype,"sortFile",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"rowHover",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"filters",void 0),l([o.Input(),i("design:type",String)],e.prototype,"dataKey",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"loading",void 0),l([o.Input(),i("design:type",String)],e.prototype,"loadingIcon",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"virtualScrollDelay",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rowGroupExpandMode",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"valueChange",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"firstChange",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowExpand",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowCollapse",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowGroupExpand",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowGroupCollapse",void 0),l([o.ContentChildren(c.PrimeTemplate),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.ContentChildren(c.Column),i("design:type",o.QueryList)],e.prototype,"cols",void 0),l([o.ContentChildren(c.HeaderColumnGroup),i("design:type",o.QueryList)],e.prototype,"headerColumnGroups",void 0),l([o.ContentChildren(c.FooterColumnGroup),i("design:type",o.QueryList)],e.prototype,"footerColumnGroups",void 0),l([o.Input(),i("design:type",Array),i("design:paramtypes",[Array])],e.prototype,"multiSortMeta",null),l([o.Input(),i("design:type",String),i("design:paramtypes",[String])],e.prototype,"sortField",null),l([o.Input(),i("design:type",Number),i("design:paramtypes",[Number])],e.prototype,"sortOrder",null),l([o.Input(),i("design:type",Array),i("design:paramtypes",[Array])],e.prototype,"value",null),l([o.Input(),i("design:type",Number),i("design:paramtypes",[Number])],e.prototype,"first",null),l([o.Input(),i("design:type",Number),i("design:paramtypes",[Number])],e.prototype,"totalRecords",null),l([o.Input(),i("design:type",Object),i("design:paramtypes",[Object])],e.prototype,"selection",null),l([o.Component({selector:"p-dataTable",template:'\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n
    \n '})],e)}();t.DataTable=b,t.DataTableModule=function(){return l([o.NgModule({imports:[r.CommonModule,a.SharedModule,s.PaginatorModule,u.FormsModule],exports:[b,a.SharedModule],declarations:[b,h,f,g,m,v,y]})],function(){})}()},ARwZ:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("gIcY");t.RATING_VALUE_ACCESSOR={provide:u.NG_VALUE_ACCESSOR,useExisting:o.forwardRef(function(){return a}),multi:!0};var a=function(){function e(e){this.cd=e,this.stars=5,this.cancel=!0,this.iconOnClass="pi pi-star",this.iconOffClass="pi pi-star-o",this.iconCancelClass="pi pi-ban",this.onRate=new o.EventEmitter,this.onCancel=new o.EventEmitter,this.onModelChange=function(){},this.onModelTouched=function(){}}return e.prototype.ngOnInit=function(){this.starsArray=[];for(var e=0;e\n \n \n \n \n \n \n \n ',providers:[t.RATING_VALUE_ACCESSOR]})],e)}();t.Rating=a,t.RatingModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[a],declarations:[a]})],function(){})}()},Avra:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("gIcY"),u=n("Ip0R"),a=n("sdDj"),s=(n("VeV1"),function(){function e(e,t){var n=this;this.el=e,this.terminalService=t,this.commands=[],this.subscription=t.responseHandler.subscribe(function(e){n.commands[n.commands.length-1].response=e,n.commandProcessed=!0})}return e.prototype.ngAfterViewInit=function(){this.container=a.DomHandler.find(this.el.nativeElement,".ui-terminal")[0]},e.prototype.ngAfterViewChecked=function(){this.commandProcessed&&(this.container.scrollTop=this.container.scrollHeight,this.commandProcessed=!1)},Object.defineProperty(e.prototype,"response",{set:function(e){e&&(this.commands[this.commands.length-1].response=e,this.commandProcessed=!0)},enumerable:!0,configurable:!0}),e.prototype.handleCommand=function(e){13==e.keyCode&&(this.commands.push({text:this.command}),this.terminalService.sendCommand(this.command),this.command="")},e.prototype.focus=function(e){e.focus()},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input(),i("design:type",String)],e.prototype,"welcomeMessage",void 0),l([o.Input(),i("design:type",String)],e.prototype,"prompt",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",String),i("design:paramtypes",[String])],e.prototype,"response",null),l([o.Component({selector:"p-terminal",template:'\n
    \n
    {{welcomeMessage}}
    \n
    \n
    \n {{prompt}}\n {{command.text}}\n
    {{command.response}}
    \n
    \n
    \n
    \n {{prompt}}\n \n
    \n
    \n '})],e)}());t.Terminal=s,t.TerminalModule=function(){return l([o.NgModule({imports:[u.CommonModule,r.FormsModule],exports:[s],declarations:[s]})],function(){})}()},AxiF:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var l=n("mrSG"),i=n("FFOo"),o=n("b7mW"),r=n("G5J1");function u(e){return function(t){return 0===e?Object(r.b)():t.lift(new a(e))}}var a=function(){function e(e){if(this.total=e,this.total<0)throw new o.a}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.total))},e}(),s=function(e){function t(t,n){var l=e.call(this,t)||this;return l.total=n,l.ring=new Array,l.count=0,l}return l.__extends(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,l=this.count++;t.length0)for(var n=this.count>=this.total?this.total:this.count,l=this.ring,i=0;it.cursorCoords(n,"window").top&&((h=l).style.opacity=.4)}))};!function(e,t,n,l,i){e.openDialog(t,f,{value:s,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){d(e)},onKeyDown:i})}(t,p(t),0,0,function(l,i){var o=e.keyName(l),r=t.getOption("extraKeys"),u=r&&r[o]||e.keyMap[t.getOption("keyMap")][o];"findNext"==u||"findPrev"==u||"findPersistentNext"==u||"findPersistentPrev"==u?(e.e_stop(l),a(t,n(t),i),t.execCommand(u)):"find"!=u&&"findPersistent"!=u||(e.e_stop(l),f(i,l))}),r&&s&&(a(t,u,s),c(t,l))}else o(t,p(t),"Search for:",s,function(e){e&&!u.query&&t.operation(function(){a(t,u,e),u.posFrom=u.posTo=t.getCursor(),c(t,l)})})}function c(t,l,o){t.operation(function(){var r=n(t),u=i(t,r.query,l?r.posFrom:r.posTo);(u.find(l)||(u=i(t,r.query,l?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(l))&&(t.setSelection(u.from(),u.to()),t.scrollIntoView({from:u.from(),to:u.to()},20),r.posFrom=u.from(),r.posTo=u.to(),o&&o(u.from(),u.to()))})}function d(e){e.operation(function(){var t=n(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))})}function p(e){return''+e.phrase("Search:")+' '+e.phrase("(Use /re/ syntax for regexp search)")+""}function h(e,t,n){e.operation(function(){for(var l=i(e,t);l.findNext();)if("string"!=typeof t){var o=e.getRange(l.from(),l.to()).match(t);l.replace(n.replace(/\$(\d)/g,function(e,t){return o[t]}))}else l.replace(n)})}function f(e,t){if(!e.getOption("readOnly")){var l=e.getSelection()||n(e).lastQuery,a=''+e.phrase(t?"Replace all:":"Replace:")+"";o(e,a+function(e){return' '+e.phrase("(Use /re/ syntax for regexp search)")+""}(e),a,l,function(n){n&&(n=u(n),o(e,function(e){return''+e.phrase("With:")+' '}(e),e.phrase("Replace with:"),"",function(l){if(l=r(l),t)h(e,n,l);else{d(e);var o=i(e,n,e.getCursor("from")),u=function(){var t,r=o.from();!(t=o.findNext())&&(o=i(e,n),!(t=o.findNext())||r&&o.from().line==r.line&&o.from().ch==r.ch)||(e.setSelection(o.from(),o.to()),e.scrollIntoView({from:o.from(),to:o.to()}),function(e,t,n,l){e.openConfirm?e.openConfirm(t,l):confirm(n)&&l[0]()}(e,function(e){return''+e.phrase("Replace?")+" "}(e),e.phrase("Replace?"),[function(){a(t)},u,function(){h(e,n,l)}]))},a=function(e){o.replace("string"==typeof n?l:l.replace(/\$(\d)/g,function(t,n){return e[n]})),u()};u()}}))})}}e.commands.find=function(e){d(e),s(e)},e.commands.findPersistent=function(e){d(e),s(e,!1,!0)},e.commands.findPersistentNext=function(e){s(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){s(e,!0,!0,!0)},e.commands.findNext=s,e.commands.findPrev=function(e){s(e,!0)},e.commands.clearSearch=d,e.commands.replace=f,e.commands.replaceAll=function(e){f(e,!0)}}(n("VrN/"),n("uTOq"),n("Ku0u"))},CC75:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("7LN8"),a=n("ZYCi"),s=function(){function e(){}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"item":default:e.itemTemplate=t.template}})},e.prototype.itemClick=function(e,t){t.disabled?e.preventDefault():(t.url||e.preventDefault(),t.command&&t.command({originalEvent:e,item:t}),this.activeItem=t)},l([o.Input(),i("design:type",Array)],e.prototype,"model",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"activeItem",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"popup",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.ContentChildren(u.PrimeTemplate),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.Component({selector:"p-tabMenu",template:'\n \n '})],e)}();t.TabMenu=s,t.TabMenuModule=function(){return l([o.NgModule({imports:[r.CommonModule,a.RouterModule],exports:[s,a.RouterModule],declarations:[s]})],function(){})}()},CS9Q:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var l=n("mrSG"),i=n("siIJ"),o=function(e){function t(n,l){void 0===l&&(l=i.a.now);var o=e.call(this,n,function(){return t.delegate&&t.delegate!==o?t.delegate.now():l()})||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return l.__extends(t,e),t.prototype.schedule=function(n,l,i){return void 0===l&&(l=0),t.delegate&&t.delegate!==this?t.delegate.schedule(n,l,i):e.prototype.schedule.call(this,n,l,i)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(i.a)},CcnG:function(e,t,n){"use strict";n.r(t),n.d(t,"\u0275angular_packages_core_core_t",function(){return Xf}),n.d(t,"\u0275angular_packages_core_core_q",function(){return Yf}),n.d(t,"\u0275angular_packages_core_core_r",function(){return Zf}),n.d(t,"\u0275angular_packages_core_core_s",function(){return Qf}),n.d(t,"\u0275angular_packages_core_core_h",function(){return Zp}),n.d(t,"\u0275angular_packages_core_core_o",function(){return Df}),n.d(t,"\u0275angular_packages_core_core_p",function(){return Pf}),n.d(t,"\u0275angular_packages_core_core_n",function(){return mf}),n.d(t,"\u0275angular_packages_core_core_m",function(){return gf}),n.d(t,"\u0275angular_packages_core_core_c",function(){return hu}),n.d(t,"\u0275angular_packages_core_core_d",function(){return kt}),n.d(t,"\u0275angular_packages_core_core_e",function(){return $p}),n.d(t,"\u0275angular_packages_core_core_f",function(){return Mp}),n.d(t,"\u0275angular_packages_core_core_g",function(){return Vp}),n.d(t,"\u0275angular_packages_core_core_l",function(){return od}),n.d(t,"\u0275angular_packages_core_core_u",function(){return Sh}),n.d(t,"\u0275angular_packages_core_core_w",function(){return Ch}),n.d(t,"\u0275angular_packages_core_core_v",function(){return bh}),n.d(t,"\u0275angular_packages_core_core_z",function(){return xh}),n.d(t,"\u0275angular_packages_core_core_x",function(){return wh}),n.d(t,"\u0275angular_packages_core_core_y",function(){return _h}),n.d(t,"\u0275angular_packages_core_core_bc",function(){return Tn}),n.d(t,"\u0275angular_packages_core_core_bj",function(){return h}),n.d(t,"\u0275angular_packages_core_core_bd",function(){return Qt}),n.d(t,"\u0275angular_packages_core_core_be",function(){return Jt}),n.d(t,"\u0275angular_packages_core_core_bf",function(){return vn}),n.d(t,"\u0275angular_packages_core_core_bi",function(){return ii}),n.d(t,"\u0275angular_packages_core_core_bm",function(){return Qe}),n.d(t,"\u0275angular_packages_core_core_i",function(){return da}),n.d(t,"\u0275angular_packages_core_core_j",function(){return pa}),n.d(t,"\u0275angular_packages_core_core_k",function(){return ha}),n.d(t,"\u0275angular_packages_core_core_a",function(){return D}),n.d(t,"\u0275angular_packages_core_core_b",function(){return R}),n.d(t,"\u0275angular_packages_core_core_bk",function(){return s}),n.d(t,"\u0275angular_packages_core_core_ba",function(){return qm}),n.d(t,"\u0275angular_packages_core_core_bb",function(){return sg}),n.d(t,"createPlatform",function(){return Gh}),n.d(t,"assertPlatform",function(){return qh}),n.d(t,"destroyPlatform",function(){return Kh}),n.d(t,"getPlatform",function(){return Yh}),n.d(t,"PlatformRef",function(){return Zh}),n.d(t,"ApplicationRef",function(){return Xh}),n.d(t,"createPlatformFactory",function(){return Wh}),n.d(t,"NgProbeToken",function(){return $h}),n.d(t,"enableProdMode",function(){return Ha}),n.d(t,"isDevMode",function(){return ja}),n.d(t,"APP_ID",function(){return Yp}),n.d(t,"PACKAGE_ROOT_URL",function(){return nh}),n.d(t,"PLATFORM_INITIALIZER",function(){return Jp}),n.d(t,"PLATFORM_ID",function(){return eh}),n.d(t,"APP_BOOTSTRAP_LISTENER",function(){return th}),n.d(t,"APP_INITIALIZER",function(){return qp}),n.d(t,"ApplicationInitStatus",function(){return Kp}),n.d(t,"DebugElement",function(){return Tf}),n.d(t,"DebugNode",function(){return Of}),n.d(t,"asNativeElements",function(){return vf}),n.d(t,"getDebugNode",function(){return Ef}),n.d(t,"Testability",function(){return Fh}),n.d(t,"TestabilityRegistry",function(){return Vh}),n.d(t,"setTestabilityGetter",function(){return jh}),n.d(t,"TRANSLATIONS",function(){return Wf}),n.d(t,"TRANSLATIONS_FORMAT",function(){return qf}),n.d(t,"LOCALE_ID",function(){return Gf}),n.d(t,"MissingTranslationStrategy",function(){return Kf}),n.d(t,"ApplicationModule",function(){return Jf}),n.d(t,"wtfCreateScope",function(){return Ih}),n.d(t,"wtfLeave",function(){return Oh}),n.d(t,"wtfStartTimeRange",function(){return Th}),n.d(t,"wtfEndTimeRange",function(){return Dh}),n.d(t,"Type",function(){return sd}),n.d(t,"EventEmitter",function(){return gc}),n.d(t,"ErrorHandler",function(){return Sp}),n.d(t,"Sanitizer",function(){return Oa}),n.d(t,"SecurityContext",function(){return Ia}),n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return k}),n.d(t,"Attribute",function(){return M}),n.d(t,"ContentChild",function(){return A}),n.d(t,"ContentChildren",function(){return L}),n.d(t,"Query",function(){return N}),n.d(t,"ViewChild",function(){return F}),n.d(t,"ViewChildren",function(){return P}),n.d(t,"Component",function(){return Ud}),n.d(t,"Directive",function(){return zd}),n.d(t,"HostBinding",function(){return Kd}),n.d(t,"HostListener",function(){return Yd}),n.d(t,"Input",function(){return Wd}),n.d(t,"Output",function(){return qd}),n.d(t,"Pipe",function(){return $d}),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",function(){return op}),n.d(t,"NO_ERRORS_SCHEMA",function(){return rp}),n.d(t,"NgModule",function(){return up}),n.d(t,"ViewEncapsulation",function(){return le}),n.d(t,"Version",function(){return Ta}),n.d(t,"VERSION",function(){return Da}),n.d(t,"defineInjectable",function(){return b}),n.d(t,"defineInjector",function(){return C}),n.d(t,"forwardRef",function(){return Q}),n.d(t,"resolveForwardRef",function(){return X}),n.d(t,"Injectable",function(){return gp}),n.d(t,"INJECTOR",function(){return pu}),n.d(t,"Injector",function(){return fu}),n.d(t,"inject",function(){return Mt}),n.d(t,"\u0275inject",function(){return Mt}),n.d(t,"InjectFlags",function(){return Ot}),n.d(t,"ReflectiveInjector",function(){return Up}),n.d(t,"createInjector",function(){return Au}),n.d(t,"ResolvedReflectiveFactory",function(){return Ap}),n.d(t,"ReflectiveKey",function(){return Dp}),n.d(t,"InjectionToken",function(){return x}),n.d(t,"Inject",function(){return _t}),n.d(t,"Optional",function(){return xt}),n.d(t,"Self",function(){return St}),n.d(t,"SkipSelf",function(){return Et}),n.d(t,"Host",function(){return It}),n.d(t,"NgZone",function(){return Rh}),n.d(t,"\u0275NoopNgZone",function(){return Ph}),n.d(t,"RenderComponentType",function(){return va}),n.d(t,"Renderer",function(){return ba}),n.d(t,"Renderer2",function(){return xa}),n.d(t,"RendererFactory2",function(){return wa}),n.d(t,"RendererStyleFlags2",function(){return _a}),n.d(t,"RootRenderer",function(){return Ca}),n.d(t,"COMPILER_OPTIONS",function(){return vh}),n.d(t,"Compiler",function(){return mh}),n.d(t,"CompilerFactory",function(){return yh}),n.d(t,"ModuleWithComponentFactories",function(){return ih}),n.d(t,"ComponentFactory",function(){return Qu}),n.d(t,"\u0275ComponentFactory",function(){return Qu}),n.d(t,"ComponentRef",function(){return Zu}),n.d(t,"ComponentFactoryResolver",function(){return ia}),n.d(t,"ElementRef",function(){return fa}),n.d(t,"NgModuleFactory",function(){return aa}),n.d(t,"NgModuleRef",function(){return ua}),n.d(t,"NgModuleFactoryLoader",function(){return td}),n.d(t,"getModuleFactory",function(){return ud}),n.d(t,"QueryList",function(){return ef}),n.d(t,"SystemJsNgModuleLoader",function(){return lf}),n.d(t,"SystemJsNgModuleLoaderConfig",function(){return tf}),n.d(t,"TemplateRef",function(){return mc}),n.d(t,"ViewContainerRef",function(){return rf}),n.d(t,"EmbeddedViewRef",function(){return hf}),n.d(t,"ViewRef",function(){return pf}),n.d(t,"ChangeDetectionStrategy",function(){return V}),n.d(t,"ChangeDetectorRef",function(){return sf}),n.d(t,"DefaultIterableDiffer",function(){return kf}),n.d(t,"IterableDiffers",function(){return jf}),n.d(t,"KeyValueDiffers",function(){return Hf}),n.d(t,"SimpleChange",function(){return cl}),n.d(t,"WrappedValue",function(){return sl}),n.d(t,"platformCore",function(){return $f}),n.d(t,"\u0275ALLOW_MULTIPLE_PLATFORMS",function(){return Uh}),n.d(t,"\u0275APP_ID_RANDOM_PROVIDER",function(){return Qp}),n.d(t,"\u0275defaultIterableDiffers",function(){return zf}),n.d(t,"\u0275defaultKeyValueDiffers",function(){return Uf}),n.d(t,"\u0275devModeEqual",function(){return al}),n.d(t,"\u0275isListLikeIterable",function(){return dl}),n.d(t,"\u0275ChangeDetectorStatus",function(){return j}),n.d(t,"\u0275isDefaultChangeDetectionStrategy",function(){return H}),n.d(t,"\u0275Console",function(){return lh}),n.d(t,"\u0275getInjectableDef",function(){return w}),n.d(t,"\u0275setCurrentInjector",function(){return Dt}),n.d(t,"\u0275APP_ROOT",function(){return Du}),n.d(t,"\u0275ivyEnabled",function(){return tg}),n.d(t,"\u0275CodegenComponentFactoryResolver",function(){return oa}),n.d(t,"\u0275resolveComponentResources",function(){return J}),n.d(t,"\u0275ReflectionCapabilities",function(){return fd}),n.d(t,"\u0275RenderDebugInfo",function(){return ya}),n.d(t,"\u0275_sanitizeHtml",function(){return as}),n.d(t,"\u0275_sanitizeStyle",function(){return Wc}),n.d(t,"\u0275_sanitizeUrl",function(){return $a}),n.d(t,"\u0275global",function(){return U}),n.d(t,"\u0275looseIdentical",function(){return K}),n.d(t,"\u0275stringify",function(){return Y}),n.d(t,"\u0275makeDecorator",function(){return O}),n.d(t,"\u0275isObservable",function(){return Wp}),n.d(t,"\u0275isPromise",function(){return Gp}),n.d(t,"\u0275clearOverrides",function(){return Dy}),n.d(t,"\u0275initServicesIfNeeded",function(){return $v}),n.d(t,"\u0275overrideComponentView",function(){return Ty}),n.d(t,"\u0275overrideProvider",function(){return Oy}),n.d(t,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return ev}),n.d(t,"\u0275defineBase",function(){return pe}),n.d(t,"\u0275defineComponent",function(){return ue}),n.d(t,"\u0275defineDirective",function(){return he}),n.d(t,"\u0275definePipe",function(){return fe}),n.d(t,"\u0275defineNgModule",function(){return ce}),n.d(t,"\u0275detectChanges",function(){return mr}),n.d(t,"\u0275renderComponent",function(){return Zr}),n.d(t,"\u0275Render3ComponentFactory",function(){return Aa}),n.d(t,"\u0275Render3ComponentRef",function(){return Pa}),n.d(t,"\u0275directiveInject",function(){return Pr}),n.d(t,"\u0275injectAttribute",function(){return Fr}),n.d(t,"\u0275getFactoryOf",function(){return Fn}),n.d(t,"\u0275getInheritedFactory",function(){return Vn}),n.d(t,"\u0275templateRefExtractor",function(){return Ac}),n.d(t,"\u0275ProvidersFeature",function(){return Yu}),n.d(t,"\u0275InheritDefinitionFeature",function(){return lu}),n.d(t,"\u0275NgOnChangesFeature",function(){return ru}),n.d(t,"\u0275LifecycleHooksFeature",function(){return eu}),n.d(t,"\u0275Render3NgModuleRef",function(){return Ks}),n.d(t,"\u0275markDirty",function(){return Cr}),n.d(t,"\u0275NgModuleFactory",function(){return Ys}),n.d(t,"\u0275NO_CHANGE",function(){return fl}),n.d(t,"\u0275container",function(){return lr}),n.d(t,"\u0275nextContext",function(){return po}),n.d(t,"\u0275elementStart",function(){return _o}),n.d(t,"\u0275namespaceHTML",function(){return yo}),n.d(t,"\u0275namespaceMathML",function(){return vo}),n.d(t,"\u0275namespaceSVG",function(){return mo}),n.d(t,"\u0275element",function(){return bo}),n.d(t,"\u0275listener",function(){return Do}),n.d(t,"\u0275text",function(){return Go}),n.d(t,"\u0275embeddedViewStart",function(){return ur}),n.d(t,"\u0275query",function(){return Nc}),n.d(t,"\u0275registerContentQuery",function(){return Vr}),n.d(t,"\u0275projection",function(){return dr}),n.d(t,"\u0275bind",function(){return wr}),n.d(t,"\u0275interpolation1",function(){return Sr}),n.d(t,"\u0275interpolation2",function(){return Er}),n.d(t,"\u0275interpolation3",function(){return Ir}),n.d(t,"\u0275interpolation4",function(){return Or}),n.d(t,"\u0275interpolation5",function(){return Tr}),n.d(t,"\u0275interpolation6",function(){return Dr}),n.d(t,"\u0275interpolation7",function(){return Rr}),n.d(t,"\u0275interpolation8",function(){return kr}),n.d(t,"\u0275interpolationV",function(){return xr}),n.d(t,"\u0275pipeBind1",function(){return ac}),n.d(t,"\u0275pipeBind2",function(){return sc}),n.d(t,"\u0275pipeBind3",function(){return cc}),n.d(t,"\u0275pipeBind4",function(){return dc}),n.d(t,"\u0275pipeBindV",function(){return pc}),n.d(t,"\u0275pureFunction0",function(){return Qs}),n.d(t,"\u0275pureFunction1",function(){return Xs}),n.d(t,"\u0275pureFunction2",function(){return Js}),n.d(t,"\u0275pureFunction3",function(){return ec}),n.d(t,"\u0275pureFunction4",function(){return tc}),n.d(t,"\u0275pureFunction5",function(){return nc}),n.d(t,"\u0275pureFunction6",function(){return lc}),n.d(t,"\u0275pureFunction7",function(){return ic}),n.d(t,"\u0275pureFunction8",function(){return oc}),n.d(t,"\u0275pureFunctionV",function(){return rc}),n.d(t,"\u0275getCurrentView",function(){return Br}),n.d(t,"\u0275getHostElement",function(){return tl}),n.d(t,"\u0275restoreView",function(){return Xt}),n.d(t,"\u0275containerRefreshStart",function(){return or}),n.d(t,"\u0275containerRefreshEnd",function(){return rr}),n.d(t,"\u0275queryRefresh",function(){return Lc}),n.d(t,"\u0275loadQueryList",function(){return Lr}),n.d(t,"\u0275elementEnd",function(){return Ro}),n.d(t,"\u0275elementProperty",function(){return Mo}),n.d(t,"\u0275componentHostSyntheticProperty",function(){return No}),n.d(t,"\u0275projectionDef",function(){return sr}),n.d(t,"\u0275reference",function(){return Nr}),n.d(t,"\u0275enableBindings",function(){return Yt}),n.d(t,"\u0275disableBindings",function(){return Zt}),n.d(t,"\u0275allocHostVars",function(){return _r}),n.d(t,"\u0275elementAttribute",function(){return ko}),n.d(t,"\u0275elementContainerStart",function(){return Co}),n.d(t,"\u0275elementContainerEnd",function(){return wo}),n.d(t,"\u0275elementStyling",function(){return jo}),n.d(t,"\u0275elementHostAttrs",function(){return Ho}),n.d(t,"\u0275elementStylingMap",function(){return $o}),n.d(t,"\u0275elementStyleProp",function(){return zo}),n.d(t,"\u0275elementStylingApply",function(){return Bo}),n.d(t,"\u0275elementClassProp",function(){return Uo}),n.d(t,"\u0275textBinding",function(){return Wo}),n.d(t,"\u0275template",function(){return nr}),n.d(t,"\u0275embeddedViewEnd",function(){return ar}),n.d(t,"\u0275store",function(){return Mr}),n.d(t,"\u0275load",function(){return Ar}),n.d(t,"\u0275pipe",function(){return uc}),n.d(t,"\u0275whenRendered",function(){return tu}),n.d(t,"\u0275i18n",function(){return Ps}),n.d(t,"\u0275i18nAttributes",function(){return Fs}),n.d(t,"\u0275i18nExp",function(){return Hs}),n.d(t,"\u0275i18nStart",function(){return Rs}),n.d(t,"\u0275i18nEnd",function(){return Ns}),n.d(t,"\u0275i18nApply",function(){return Bs}),n.d(t,"\u0275i18nPostprocess",function(){return Ms}),n.d(t,"\u0275setClassMetadata",function(){return Zs}),n.d(t,"\u0275compileComponent",function(){return Ld}),n.d(t,"\u0275compileDirective",function(){return Ad}),n.d(t,"\u0275compileNgModule",function(){return Ed}),n.d(t,"\u0275compileNgModuleDefs",function(){return Id}),n.d(t,"\u0275patchComponentDefWithScope",function(){return Dd}),n.d(t,"\u0275resetCompiledComponents",function(){return Od}),n.d(t,"\u0275compilePipe",function(){return Bd}),n.d(t,"\u0275sanitizeHtml",function(){return qc}),n.d(t,"\u0275sanitizeStyle",function(){return Kc}),n.d(t,"\u0275defaultStyleSanitizer",function(){return Xc}),n.d(t,"\u0275sanitizeScript",function(){return Qc}),n.d(t,"\u0275sanitizeUrl",function(){return Yc}),n.d(t,"\u0275sanitizeResourceUrl",function(){return Zc}),n.d(t,"\u0275bypassSanitizationTrustHtml",function(){return Vc}),n.d(t,"\u0275bypassSanitizationTrustStyle",function(){return jc}),n.d(t,"\u0275bypassSanitizationTrustScript",function(){return Hc}),n.d(t,"\u0275bypassSanitizationTrustUrl",function(){return Bc}),n.d(t,"\u0275bypassSanitizationTrustResourceUrl",function(){return zc}),n.d(t,"\u0275getLContext",function(){return jn}),n.d(t,"\u0275bindPlayerFactory",function(){return li}),n.d(t,"\u0275addPlayer",function(){return $r}),n.d(t,"\u0275getPlayers",function(){return Gr}),n.d(t,"\u0275compileNgModuleFactory__POST_R3__",function(){return zh}),n.d(t,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",function(){return Zd}),n.d(t,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",function(){return Qd}),n.d(t,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",function(){return Xd}),n.d(t,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",function(){return ap}),n.d(t,"\u0275getDebugNode__POST_R3__",function(){return Sf}),n.d(t,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",function(){return mp}),n.d(t,"\u0275SWITCH_IVY_ENABLED__POST_R3__",function(){return eg}),n.d(t,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",function(){return cf}),n.d(t,"\u0275Compiler_compileModuleSync__POST_R3__",function(){return ah}),n.d(t,"\u0275Compiler_compileModuleAsync__POST_R3__",function(){return ch}),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsSync__POST_R3__",function(){return ph}),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsAsync__POST_R3__",function(){return fh}),n.d(t,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",function(){return ga}),n.d(t,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",function(){return vc}),n.d(t,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",function(){return uf}),n.d(t,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",function(){return Sa}),n.d(t,"\u0275getModuleFactory__POST_R3__",function(){return rd}),n.d(t,"\u0275publishGlobalUtil",function(){return Yr}),n.d(t,"\u0275publishDefaultGlobalUtils",function(){return Kr}),n.d(t,"\u0275SWITCH_INJECTOR_FACTORY__POST_R3__",function(){return gu}),n.d(t,"\u0275registerModuleFactory",function(){return ld}),n.d(t,"\u0275EMPTY_ARRAY",function(){return Qg}),n.d(t,"\u0275EMPTY_MAP",function(){return Xg}),n.d(t,"\u0275and",function(){return Jg}),n.d(t,"\u0275ccf",function(){return bm}),n.d(t,"\u0275cmf",function(){return Ry}),n.d(t,"\u0275crt",function(){return Cg}),n.d(t,"\u0275did",function(){return $m}),n.d(t,"\u0275eld",function(){return em}),n.d(t,"\u0275elementEventFullName",function(){return kg}),n.d(t,"\u0275getComponentViewDefinitionFactory",function(){return Cm}),n.d(t,"\u0275inlineInterpolate",function(){return Yg}),n.d(t,"\u0275interpolate",function(){return Kg}),n.d(t,"\u0275mod",function(){return cm}),n.d(t,"\u0275mpd",function(){return sm}),n.d(t,"\u0275ncd",function(){return pv}),n.d(t,"\u0275nov",function(){return km}),n.d(t,"\u0275pid",function(){return Gm}),n.d(t,"\u0275prd",function(){return Wm}),n.d(t,"\u0275pad",function(){return gv}),n.d(t,"\u0275pod",function(){return mv}),n.d(t,"\u0275ppd",function(){return fv}),n.d(t,"\u0275qud",function(){return uv}),n.d(t,"\u0275ted",function(){return yv}),n.d(t,"\u0275unv",function(){return vg}),n.d(t,"\u0275vid",function(){return wv});var l=n("mrSG"),i=n("pugT"),o=n("K9Ia"),r=n("6blF"),u=n("p0ib"),a=n("S1nX");function s(e){for(var t in e)if(e[t]===s)return t;throw Error("Could not find renamed property on target object.")}function c(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}var d=s({ngComponentDef:s}),p=s({ngDirectiveDef:s}),h=s({ngInjectableDef:s}),f=s({ngInjectorDef:s}),g=s({ngPipeDef:s}),m=s({ngModuleDef:s}),v=s({ngBaseDef:s}),y=s({__NG_ELEMENT_ID__:s});function b(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function C(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function w(e){return e&&e.hasOwnProperty(h)?e[h]:null}function _(e){return e&&e.hasOwnProperty(f)?e[f]:null}var x=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?b({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),S="__annotations__",E="__parameters__",I="__prop__metadata__";function O(e,t,n,i,o){var r=T(t);function u(){for(var e,t=[],n=0;n=Fe?n:n[Se]}function lt(e){return 0!=(4&e.flags)}function it(e){return 1==(1&e.flags)}function ot(e){return null!==e.template}function rt(e){return Array.isArray(e)&&e.length===ze}function ut(e){return 0!=(128&e[Ce])}function at(e){for(var t=Array.isArray(e)?e:dt(e);t&&!(128&t[Ce]);)t=t[we];return t}function st(e){return at(e)[Te]}function ct(e){return e[Ue]}function dt(e){var t=ct(e);return t?Array.isArray(t)?t:t.lView:null}function pt(e){return e!==qe}function ht(e){return 32767&e}function ft(e){return e>>16}function gt(e,t){for(var n=ft(e),l=t;n>0;)l=l[Pe],n--;return l}var mt=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(U);function vt(e,t){for(var n=0;n0;)t=t[Pe],e--;return t}(e,rn))[Te]}function yn(e){var t=Wt[be];on(Wt)?Wt[Ce]&=-2:(Bt(Wt,t.viewHooks,t.viewCheckHooks,un),Wt[Ce]&=-11,Wt[Ce]|=32,Wt[Ie]=t.bindingStartIndex),mn(e,null)}var bn=!0;function Cn(e){var t=bn;return bn=e,t}var wn=255,_n=0;function xn(e,t){var n=En(e,t);if(-1!==n)return n;var l=t[be];l.firstTemplatePass&&(e.injectorIndex=t.length,Sn(l.data,e),Sn(t,null),Sn(l.blueprint,null));var i=In(e,t),o=ht(i),r=gt(i,t),u=e.injectorIndex;if(pt(i))for(var a=r[be].data,s=0;s<8;s++)t[u+s]=r[o+s]|a[o+s];return t[u+Ge]=i,u}function Sn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function En(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+Ge]?-1:e.injectorIndex}function In(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[Ee],l=1;n&&-1===n.injectorIndex;)n=(t=t[Pe])?t[Ee]:null,l++;return n?n.injectorIndex|l<<16:-1}function On(e,t,n){!function(e,t,n){var l="string"!=typeof n?n[y]:n.charCodeAt(0)||0;null==l&&(l=n[y]=_n++);var i=l&wn,o=1<>16,c=i?u+s:e.directiveEnd,d=l?u:u+s;d=a&&p.type===n)return d}if(i){var h=r[a];if(h&&ot(h)&&h.type===n)return a}return null}function Nn(e,t,n,l){var i,o=t[n];if(null!=(i=o)&&"object"==typeof i&&Object.getPrototypeOf(i)==Ye){var r=o;if(r.resolving)throw new Error("Circular dep for "+Ze(e[n]));var u=Cn(r.canSeeViewProviders);r.resolving=!0;var a=void 0;r.injectImpl&&(a=Rt(r.injectImpl));var s=Jt(),c=Qt();tn(l,t);try{o=t[n]=r.factory(null,e,t,l)}finally{r.injectImpl&&Rt(a),Cn(u),r.resolving=!1,tn(s,c)}}return o}function Ln(e,t,n){var l=64&e,i=32&e;return!!((128&e?l?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:l?i?n[t+3]:n[t+2]:i?n[t+1]:n[t])&1<=0){var f;zn(f=Xe(l[h]),a=Hn(l,h,f)),n=a;break}}}return n||null}function Hn(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Bn(e){var t,n=ct(e);if(Array.isArray(n)){var l=Gn(n,e);(i=Hn(n,l,(t=nt(l,n))[Se])).component=e,zn(e,i),zn(i.native,i)}else{var i;t=nt((i=n).nodeIndex,i.lView)}return t}function zn(e,t){e[Ue]=t}function Un(e,t){for(var n=e[be].firstChild;n;){if(et(n,e)===t)return n.index;n=$n(n)}return-1}function $n(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Gn(e,t){var n=e[be].components;if(n)for(var l=0;l=0)&&null})}}return i.sort(ol),i}function ol(e,t){return e.name==t.name?0:e.name-1?t[we][n]:null}return t[we][e.parent.index]}function Tl(e,t){var n=Ol(e,t);return n?n[Be]:null}var Dl=[];function Rl(e,t,n,l,i){for(var o=e[be].node,r=-1,u=e,a=o.child;a;){var s=null;if(3===a.type){kl(t,n,l,et(a,u),i);var c=u[a.index];rt(c)&&kl(t,n,l,c[He],i)}else if(0===a.type){var d=u[a.index];kl(t,n,l,d[He],i),l&&(d[Be]=l),d[je].length&&(s=(u=d[je][0])[be].node,i=d[He])}else if(1===a.type){var p=yt(u),h=p[Ee].projection[a.projection];Dl[++r]=a,Dl[++r]=u,h&&(s=(u=p[we])[be].data[h.index])}else s=a.child;if(null===s)for(null===a.next&&2&a.flags&&(u=Dl[r--],a=Dl[r--]),s=a.next;!s;){if(null===(a=a.parent||u[be].node)||a===o)return null;0===a.type&&(i=(u=u[we])[a.index][He]),s=2===a.type&&u[_e]?(u=u[_e])[be].node:a.next}a=s}}function kl(e,t,n,l,i){0===e?xl(t)?t.insertBefore(n,l,i):n.insertBefore(l,i,!0):1===e?xl(t)?t.removeChild(n,l):n.removeChild(l):2===e&&t.destroyNode(l)}function Ml(e,t){return xl(t)?t.createText(Ze(e)):t.createTextNode(Ze(e))}function Nl(e,t,n){var l=Tl(e[be].node,e);l&&Rl(e,t?0:1,e[ke],l,n)}function Ll(e,t,n,l,i){var o=t[je];l>0&&(o[l-1][_e]=e),l-1&&(e[Le]=i,e[we]=n),e[xe]&&e[xe].insertView(l),e[Ce]|=16}function Al(e,t,n){var l=e[je],i=l[t];return t>0&&(l[t-1][_e]=i[_e]),l.splice(t,1),n||Nl(i,!1),i[xe]&&i[xe].removeView(),i[Le]=-1,i[we]=null,i[Ce]&=-17,i}function Pl(e,t,n){var l=e[je][n];Al(e,n,!!t.detached),Vl(l)}function Fl(e){var t=e[be].childIndex;return-1===t?null:e[t]}function Vl(e){var t=e[ke];xl(t)&&t.destroyNode&&Rl(e,2,t,null),function(e){if(-1===e[be].childIndex)return Hl(e);for(var t=Fl(e);t;){var n=null;if(t.length>=Fe?t[be].childIndex>-1&&(n=Fl(t)):t[je].length&&(n=t[je][0]),null==n){for(;t&&!t[_e]&&t!==e;)Hl(t),t=jl(t,e);Hl(t||e),n=t&&t[_e]}t=n}}(e),e[Ce]|=64}function jl(e,t){var n;return e.length>=Fe&&(n=e[Ee])&&2===n.type?Ol(n,e):e[we]===t?null:e[we]}function Hl(e){if(e.length>=Fe){var t=e;!function(e){var t,n=e[be];null!=n&&null!=(t=n.destroyHooks)&&zt(e,t)}(t),(i=(l=t)[be]&&l[be].pipeDestroyHooks)&&zt(l,i),function(e){var t=e[be].cleanup;if(null!=t){for(var n=e[Oe],l=0;l=0?n[r]():n[-r].unsubscribe(),l+=2}else"number"==typeof t[l]?(0,n[t[l]])():t[l].call(n[t[l+1]]);e[Oe]=null}}(t);var n=t[Ee];n&&3===n.type&&xl(t[ke])&&t[ke].destroy()}var l,i}function Bl(e,t){if(zl(e,t)){if(ut(t))return $l(t[ke],et(e,t));var n=t[Ee],l=e.parent;return null!=l&&4===l.type&&(e=Wl(l)),null==e.parent&&2===n.type?Tl(n,t):El(e,t)}return null}function zl(e,t){var n,l=e,i=e.parent;return e.parent&&(4===e.parent.type?i=(l=Wl(e)).parent:5===e.parent.type&&(i=(l=Il(l)).parent)),null===i&&(i=t[Ee]),i&&2===i.type?null!=(n=Ol(i,t))&&null!=n[Be]:null==l.parent||!(3!==l.parent.type||1&l.parent.flags)}function Ul(e,t,n,l){xl(e)?e.insertBefore(t,n,l):t.insertBefore(n,l,!0)}function $l(e,t){return xl(e)?e.parentNode(t):t.parentNode}function Gl(e,t,n){if(void 0===e&&(e=null),null!==e&&zl(t,n)){var l=n[ke],i=El(t,n),o=t.parent||n[Ee];if(2===o.type){var r=Ol(o,n),u=r[je],a=u.indexOf(n);Ul(l,r[Be],e,ql(a,u,r[He]))}else 4===o.type?Ul(l,Bl(t,n),e,i):5===o.type?Ul(l,i,e,et(t.parent,n)):xl(l)?l.appendChild(i,e):i.appendChild(e);return!0}return!1}function Wl(e){for(;null!=e.parent&&4===e.parent.type;)e=e.parent;return e}function ql(e,t,n){if(e+1-1&&f>c?"":s[f+1],8&a&&(o=(l=g).length,u=(r=l.indexOf(i=m))+i.length,-1===r||r>0&&" "!==l[r-1]||u=9?t+0:t;n?e[l]|=1:e[l]&=-2}function _i(e,t){return 1==(1&e[t>=9?t+0:t])}function xi(e,t){return 2==(2&e[t>=9?t+0:t])}function Si(e,t){return 4==(4&e[t>=9?t+0:t])}function Ei(e,t,n){return 63&e|t<<6|n<<20}function Ii(e,t){var n=Oi(t);return(2&t?e[3]:e[2])[n]}function Oi(e){return e>>6&16383}function Ti(e){var t=e>>20&16383;return t>=9?t:-1}function Di(e){return Ti(e[0])}function Ri(e,t,n){e[t+1]=n}function ki(e,t,n){e[t+2]=n}function Mi(e,t,n){var l=e[8];if(t){if(!l||0===n)return!0}else if(!l)return!1;return l[n]!==t}function Ni(e,t,n){var l=e[8]||pi(e);return n>0?l[n]=t:(l.splice(n=l[0],0,t,null),l[0]+=2),n}function Li(e,t,n,l){var i=function(e,t){return n<<16|e}(l);e[t+3]=i}function Ai(e,t){return e[t+3]>>16&65535}function Pi(e,t){var n=Ai(e,t);if(n){var l=e[8];if(l)return l[n]}return null}function Fi(e,t,n){e[0===t?t:t+0]=n}function Vi(e,t){return e[0===t?t:t+0]}function ji(e,t){return e[t+2]}function Hi(e,t){return e[t+1]}function Bi(e){return 16&e[0]}function zi(e,t){wi(e,0,t)}function Ui(e,t){t?e[0]|=8:e[0]&=-9}function $i(e,t,n){for(var l=(n||0)+1;l=0&&Fi(e,s,Ei(c=Vi(e,s),Oi(c),n));var c,d=Ti(a);d>=0&&Fi(e,d,Ei(c=Vi(e,d),Oi(c),t)),ki(e,t,ji(e,n)),Ri(e,t,Hi(e,n)),Fi(e,t,Vi(e,n)),Li(e,t,Ai(e,n),0),ki(e,n,l),Ri(e,n,i),Fi(e,n,o),Li(e,n,r,0)}function Wi(e,t,n,l,i,o,r,u){var a=t0){var o=Oi(Vi(e,i));Fi(e,i,Ei((_i(e,i)?1:0)|(xi(e,i)?2:0)|(Si(e,i)?4:0),o,l))}}}(e)}function qi(e,t){return t?!!e:null!==e}function Ki(e,t,n,l){var i,o=l&&l(t)?4:0;return n?(o|=2,i=eo(e[3],t)):i=eo(e[2],t),Ei(o,i=i>0?i+1:0,0)}function Yi(e,t,n){return!(2&e)&&t&&n&&4&e?t.toString()!==n.toString():t!==n}var Zi=function(){function e(e,t,n){this._element=t,this._type=n,this._values={},this._dirty=!1,this._factory=e}return e.prototype.setValue=function(e,t){this._values[e]!==t&&(this._values[e]=t,this._dirty=!0)},e.prototype.buildPlayer=function(e,t){if(this._dirty){var n=this._factory.fn(this._element,this._type,this._values,t,e||null);return this._values={},this._dirty=!1,n}},e}();function Qi(e,t){return 65535&e[t+3]}function Xi(e,t){var n=Ji(e[1],t);return n>0?n/4:0}function Ji(e,t){for(var n=0;ni)for(var r=0===t,u=n.data,a=i;a=0)return-1;l=r/4,i[r+1]=o,i[r+3]=n||null}return l}(e,t,i);if(-1!==r){var u=e[4],a=u[1],s=u[0],c=4*s,d=9+c,p=d+4*a,h=p+c,f=u.length;u.push(l?l.length:0,n?n.length:0);var g=0,m=[];if(l&&l.length)for(var v=0;v=p,k=D>=(R?h:d),M=Vi(e,D),N=Oi(M),L=Ti(M);Fi(e,D,Ei(M,N,L+=R?k?4*m.length:0:4*T+4*(k?m.length:0)))}for(var A=0;A<4*m.length;A++)e.splice(h,0,null),e.splice(d,0,null),d++,p++,h+=2;for(var P=0;P<4*b.length;P++)e.splice(p,0,null),e.push(null),p++,h++;for(var F=e[3],V=e[2],j=0;j=m.length,B=H?j-m.length:j,z=H?b[B]:m[B],U=void 0,$=void 0;H?(U=h+4*(a+B),$=d+4*(a+B)):(U=p+4*(s+B),$=9+4*(s+B));var G=H?F:V,W=eo(G,z);-1===W?(W=G.length+1,G.push(z,!H&&null)):W+=1;var q=Ki(e,z,H,i||null);Fi(e,$,Ei(q,W,U)),Ri(e,$,z),ki(e,$,null),Li(e,$,0,r),Fi(e,U,Ei(q,W,$)),Ri(e,U,z),ki(e,U,null),Li(e,U,0,r)}u[1]=a+b.length,u[0]=s+m.length,Fi(e,0,Ei(0,0,p)|(o?16:0))}}}(i.stylingTemplate,l||null,e,t,n,hi(i))}function Ho(e,t){var n=Jt();n.stylingTemplate||(n.stylingTemplate=fi(t)),function(e,t,n){var l=e[1];if(-1==Ji(l,n)){l.push(n,-1,!1,null);for(var i=null,o=null,r=-1,u=0;u0&&fr(st(n),2)}function zo(e,t,n,l,i){var o=null;null!==n&&(o=l?Ze(n)+l:n),yi(ai(e+Fe,Qt()),t,o,!1,i)}function Uo(e,t,n,l){var i=n instanceof ii?n:!!n;yi(ai(e+Fe,Qt()),t,i,!0,l)}function $o(e,t,n,l){if(null!=l)return function(e,t,n,l){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var i=Qt(),o=tt(e,i),r=ai(e+Fe,i);if(hi(o)&&t!==fl){var u=lo(r);Fo(i,o.inputs.class,(u.length?u+" ":"")+t)}else!function(e,t,n,l){n=n||null;var i=Xi(e,null),o=e[5],r=t instanceof ii?new Zi(t,o,1):null,u=n instanceof ii?new Zi(n,o,2):null,a=r?t.value:t,s=u?n.value:n,c=Bi(e)||a===fl||a===e[6],d=s===fl||s===e[7];if(!c||!d){e[6]=a,e[7]=s;var p=oe,h=!1,f=!1,g=r?1:0;Mi(e,r,1)&&(Ni(e,r,1),f=!0);var m=u?3:0;Mi(e,u,3)&&(Ni(e,u,3),f=!0),c||("string"==typeof a?(p=a.split(/\s+/),h=!0):p=a?Object.keys(a):oe);for(var v=a||ie,y=s?Object.keys(s):oe,b=s||ie,C=y.length,w=!1,_=Di(e),x=0,S=y.length+p.length;_=C)&&!d||P&&!c){var E=P?x-C:x,I=P?p[E]:y[E],O=P?!!h||v[I]:b[I],T=P?g:m;if((F=Hi(e,_))===I){var D=ji(e,_),R=Vi(e,_);if(Li(e,_,T,i),Yi(R,D,O)){ki(e,_,O),f=f||!!T;var k=Ii(e,R);(null!=D||Yi(R,k,O))&&(wi(e,_,!0),w=!0)}}else{var M=$i(e,I,_);if(M>0){var N=ji(e,M),L=Vi(e,M);Gi(e,_,M),Yi(L,N,O)&&(k=Ii(e,L),ki(e,_,O),(null!=N||Yi(L,k,O))&&(wi(e,_,!0),f=f||!!T,w=!0))}else f=f||!!T,Wi(e,_,P,I,Ki(e,I,P,to(e,i)),O,i,T),w=!0}}_+=4,x++}for(;_=C)&&!d||P&&!c){E=P?x-C:x;var F=P?p[E]:y[E],V=(D=P?!!h||v[F]:b[F],R=1|Ki(e,F,P,A),T=P?g:m,e.length);e.push(R,F,D,0),Li(e,V,T,i),w=!0}x++}w&&(zi(e,!0),no(e,i,!0)),f&&Ui(e,!0)}}(r,t,n)}function Go(e,t){var n=Qt(),l=Ml(t,n[ke]),i=uo(e,3,l,null,null);ln(!1),Gl(l,i,n)}function Wo(e,t){if(t!==fl){var n=Qt(),l=Je(e,n),i=n[ke];xl(i)?i.setValue(l,Ze(t)):l.textContent=Ze(t)}}function qo(e,t,n){var l=-(t.index-Fe),i=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(l,i,n)}function Ko(e,t,n,l){var i=Jt();Yo(e,i,t,n),i&&i.attrs&&function(e,t,l,o){var r=i.initialInputs;(void 0===r||e>=r.length)&&(r=function(e,t,n){var l=n.initialInputs||(n.initialInputs=[]);l[e]=null;for(var i=n.attrs,o=0;o=o.length||null==o[e])&&(o[e]=Io(e,null,t,n,i.directiveRegistry,i.pipeRegistry,null)),o[e]}(e,t,n,o),null,4),r[xe]&&(u[xe]=r[xe].createView()),ao(e,u),mn(u,u[be].node)),r&&(on(u)&&Ll(u,r,l,r[Ve],-1),r[Ve]++),on(u)?3:2}function ar(){var e=Qt(),t=e[Ee];on(e)&&(oo(e),e[Ce]&=-2),oo(e),yn(e[we]),en(t),ln(!1)}function sr(e,t){var n=yt(Qt())[Ee];if(!n.projection)for(var l=n.projection=new Array(e?e.length+1:1).fill(null),i=l.slice(),o=n.child;null!==o;){var r=e?ni(o,e,t):0,u=o.next;i[r]?i[r].next=o:(l[r]=o,o.next=null),i[r]=o,o=u}}var cr=[];function dr(e,t,n){void 0===t&&(t=0);var l=Qt(),i=uo(e,1,null,null,n||null);null===i.projection&&(i.projection=t),ln(!1);for(var o=yt(l),r=o[Ee].projection[t],u=o[we],a=-1;r;){if(1===r.type){var s=yt(u),c=s[Ee].projection[r.projection];if(c){cr[++a]=r,cr[++a]=u,r=c,u=s[we];continue}}else r.flags|=2,Yl(r,i,l,u);null===r.next&&u!==o[we]&&(u=cr[a--],r=cr[a--]),r=r.next}}function pr(e,t,n){var l=e[be],i=dn();return e[Ne]?e[Ne][_e]=n:i&&(l.childIndex=t),e[Ne]=n,n}function hr(e){for(;e&&!(128&e[Ce]);)e[Ce]|=8,e=e[we];e[Ce]|=8,fr(e[Te],1)}function fr(e,t){var n,l=0===e.flags;e.flags|=t,l&&e.clean==io&&(e.clean=new Promise(function(e){return n=e}),e.scheduler(function(){if(1&e.flags&&(e.flags&=-2,gr(e)),2&e.flags){e.flags&=-3;var t=e.playerHandler;t&&t.flushPlayers()}e.clean=io,n(null)}))}function gr(e){for(var t=0;t=2&&l[i-2]===t.hostBindings?l[i-1]=l[i-1]+n:l.push(t.hostBindings,n)}(n,qt,e),function(e,t,n){for(var l=0;l=l.data.length&&(l.data[i]=null),n[i]=t}function Nr(e){return Qe(rn,e)}function Lr(e){return Qt()[Ae][e]}function Ar(e){return Qe(Qt(),e)}function Pr(e,t){return void 0===t&&(t=Ot.Default),e=X(e),Dn(Jt(),Qt(),e,t)}function Fr(e){return Tn(Jt(),e)}function Vr(e,t){var n=Qt(),l=n[be],i=(n[Ae]||(n[Ae]=[])).push(e);if(dn()){var o=l.contentQueries||(l.contentQueries=[]);t!==(l.contentQueries.length?l.contentQueries[l.contentQueries.length-2]:-1)&&o.push(t,i-1)}}var jr=io;function Hr(e){return e?(void 0===e.inputs&&(e.inputs=Vo(e,0)),e.inputs):null}function Br(){return Qt()}function zr(e){return e[Oe]||(e[Oe]=[])}function Ur(e){return e[be].cleanup||(e[be].cleanup=[])}function $r(e,t){var n=jn(e);if(n){var l=n.native,i=n.lView,o=function(e,t){if(!(t=t||jn(l)))return null;var n=ai(t.nodeIndex,t.lView);return di(n)||pi(n)}(0,n),r=Zn(i);ci(o,r,l,t,0,e),fr(r,2)}}function Gr(e){var t=jn(e);if(!t)return[];var n=ai(t.nodeIndex,t.lView),l=n?di(n):null;return l?function(e){for(var t=[],n=e[0],l=2;l ");else if("object"==typeof t){var i=[];for(var o in t)if(t.hasOwnProperty(o)){var r=t[o];i.push(o+":"+("string"==typeof r?JSON.stringify(r):Y(r)))}l="{"+i.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+l+"]: "+e.replace(xu,"\n ")}function Tu(e,t){return new Error(Ou(e,t))}var Du=new x("The presence of this token marks an injector as being the root injector."),Ru={},ku={},Mu=[],Nu=void 0;function Lu(){return void 0===Nu&&(Nu=new hu),Nu}function Au(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||Lu(),new Pu(e,n,t)}var Pu=function(){function e(e,t,n){var l=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var i=[];Hu([e],function(e){return l.processInjectorType(e,[],i)}),t&&Hu(t,function(n){return l.processProvider(n,e,t)}),this.records.set(pu,ju(void 0,this)),this.isRootInjector=this.records.has(Du),this.injectorDefTypes.forEach(function(e){return l.get(e)})}return e.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},e.prototype.get=function(e,t,n){void 0===t&&(t=du),void 0===n&&(n=Ot.Default),this.assertNotDestroyed();var l,i=Dt(this);try{if(!(n&Ot.SkipSelf)){var o=this.records.get(e);if(void 0===o){var r=("function"==typeof(l=e)||"object"==typeof l&&l instanceof x)&&w(e);r&&this.injectableDefInScope(r)&&(o=ju(Fu(e),Ru),this.records.set(e,o))}if(void 0!==o)return this.hydrate(e,o)}return(n&Ot.Self?Lu():this.parent).get(e,t)}finally{Dt(i)}},e.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t,n){var l=this;if(e=X(e)){var i=_(e),o=null==i&&e.ngModule||void 0,r=void 0===o?e:o,u=-1!==n.indexOf(r),a=void 0!==o&&e.providers||Mu;if(void 0!==o&&(i=_(o)),null!=i){if(this.injectorDefTypes.add(r),this.records.set(r,ju(i.factory,Ru)),null!=i.imports&&!u){n.push(r);try{Hu(i.imports,function(e){return l.processInjectorType(e,t,n)})}finally{}}var s=i.providers;if(null!=s&&!u){var c=e;Hu(s,function(e){return l.processProvider(e,c,s)})}var d=e.ngModule;Hu(a,function(e){return l.processProvider(e,d,a)})}}},e.prototype.processProvider=function(e,t,n){var l=zu(e=X(e))?e:X(e&&e.provide),i=function(e,t,n){var l=Vu(e,t,n);return Bu(e)?ju(void 0,e.useValue):ju(l,Ru)}(e,t,n);if(zu(e)||!0!==e.multi){var o=this.records.get(l);if(o&&void 0!==o.multi)throw new Error("Mixed multi-provider for "+Y(l))}else{var r=this.records.get(l);if(r){if(void 0===r.multi)throw new Error("Mixed multi-provider for "+l+".")}else(r=ju(void 0,Ru,!0)).factory=function(){return Lt(r.multi)},this.records.set(l,r);l=e,r.multi.push(e)}this.records.set(l,i)},e.prototype.hydrate=function(e,t){if(t.value===ku)throw new Error("Cannot instantiate cyclic dependency! "+Y(e));var n;return t.value===Ru&&(t.value=ku,t.value=t.factory()),"object"==typeof t.value&&t.value&&"object"==typeof(n=t.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value},e.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},e}();function Fu(e){var t=w(e);if(null===t){var n=_(e);if(null!==n)return n.factory;if(e instanceof x)throw new Error("Token "+Y(e)+" is missing an ngInjectableDef definition.");if(e instanceof Function){var l=e.length;if(l>0){var i=new Array(l).fill("?");throw new Error("Can't resolve all parameters for "+Y(e)+": ("+i.join(", ")+").")}return function(){return new e}}throw new Error("unreachable")}return t.factory}function Vu(e,t,n){var i,o=void 0;if(zu(e))return Fu(X(e));if(Bu(e))o=function(){return X(e.useValue)};else if((i=e)&&i.useExisting)o=function(){return Mt(X(e.useExisting))};else if(e&&e.useFactory)o=function(){return e.useFactory.apply(e,Object(l.__spread)(Lt(e.deps||[])))};else{var r=X(e&&(e.useClass||e.provide));if(!r){var u="";throw t&&n&&(u=" - only instances of Provider and Type are allowed, got: ["+n.map(function(t){return t==e?"?"+e+"?":"..."}).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+Y(t)+"'"+u)}if(!e.deps)return Fu(r);o=function(){return new(r.bind.apply(r,Object(l.__spread)([void 0],Lt(e.deps))))}}return o}function ju(e,t,n){return void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function Hu(e,t){e.forEach(function(e){return Array.isArray(e)?Hu(e,t):t(e)})}function Bu(e){return e&&"object"==typeof e&&wu in e}function zu(e){return"function"==typeof e}function Uu(e,t,n,l,i){if(e=X(e),Array.isArray(e))for(var o=0;o>16;if(zu(e)||!e.multi){var h=new Ke(a,i,Pr),f=Gu(u,t,i?c:c+p,d);-1==f?(On(xn(s,r),r,u),t.push(u),s.directiveStart++,s.directiveEnd++,i&&(s.providerIndexes+=65536),n.push(h),r.push(h)):(n[f]=h,r[f]=h)}else{var g=Gu(u,t,c+p,d),m=Gu(u,t,c,c+p),v=m>=0&&n[m];i&&!v||!i&&!(g>=0&&n[g])?(On(xn(s,r),r,u),h=function(e,t,n,l,i){var o=new Ke(e,n,Pr);return o.multi=[],o.index=t,o.componentProviders=0,$u(o,i,l&&!n),o}(i?qu:Wu,n.length,i,l,a),!i&&v&&(n[m].providerFactory=h),t.push(u),s.directiveStart++,s.directiveEnd++,i&&(s.providerIndexes+=65536),n.push(h),r.push(h)):$u(n[i?m:g],a,!i&&l),!i&&l&&v&&n[m].componentProviders++}}}function $u(e,t,n){e.multi.push(t),n&&e.componentProviders++}function Gu(e,t,n,l){for(var i=n;i-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Vl(this._lView)},e.prototype.onDestroy=function(e){var t,n;n=e,zr(t=this._lView).push(n),t[be].firstTemplatePass&&Ur(t).push(t[Oe].length-1,null)},e.prototype.markForCheck=function(){hr(this._lView)},e.prototype.detach=function(){this._lView[Ce]&=-17},e.prototype.reattach=function(){this._lView[Ce]|=16},e.prototype.detectChanges=function(){vr(this._lView,this.context)},e.prototype.checkNoChanges=function(){!function(e){sn(!0);try{mr(e)}finally{sn(!1)}}(this.context)},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype._lookUpContext=function(){return this._context=this._lView[we][this._componentIndex]},e}(),ca=function(e){function t(t){var n=e.call(this,t,null,-1)||this;return n._view=t,n}return Object(l.__extends)(t,e),t.prototype.detectChanges=function(){yr(this._view)},t.prototype.checkNoChanges=function(){!function(e){sn(!0);try{yr(e)}finally{sn(!1)}}(this._view)},Object.defineProperty(t.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),t}(sa);function da(e,t,n){return Ju||(Ju=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(l.__extends)(t,e),t}(e)),new Ju(et(t,n))}function pa(e,t,n,i){if(ea||(ea=function(e){function t(t,n,l,i,o,r){var u=e.call(this)||this;return u._declarationParentView=t,u.elementRef=n,u._tView=l,u._renderer=i,u._queries=o,u._injectorIndex=r,u}return Object(l.__extends)(t,e),t.prototype.createEmbeddedView=function(e,t,n,l,i){var o=function(e,t,n,l,i,o){var r=nn(),u=Jt();ln(!0),en(null);var a=ro(n,e,t,4);return a[Pe]=n,i&&(a[xe]=i.createView()),ao(-1,a),e.firstTemplatePass&&(e.node.injectorIndex=o),ln(r),en(u),a}(this._tView,e,this._declarationParentView,0,this._queries,this._injectorIndex);t&&Ll(o,t,l,i,n.index),co(o,this._tView,e);var r=new sa(o,e,-1);return r._tViewNode=o[Ee],r},t}(e)),0===n.type){var o=i[n.index];return new ea(i,da(t,n,i),n.tViews,Qt()[ke],o[xe],n.injectorIndex)}return null}function ha(e,t,n){if(it(e)){var l=e.directiveStart,i=nt(e.index,t);return new sa(i,n,l)}if(3===e.type){var o=yt(t);return new sa(o,o[Te],-1)}return null}var fa=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return ma(e)},e}(),ga=function(e){return da(e,Jt(),Qt())},ma=au,va=function(){return function(e,t,n,l,i,o){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=l,this.styles=i,this.animations=o}}(),ya=function(){return function(){}}(),ba=function(){return function(){}}(),Ca=function(){return function(){}}(),wa=function(){return function(){}}(),_a=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),xa=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Ea()},e}(),Sa=function(){return function(e){var t=Qt()[ke];if(xl(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}()},Ea=au,Ia=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({}),Oa=function(){return function(){}}(),Ta=function(){return function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}(),Da=new Ta("7.2.14"),Ra=function(e){function t(t){var n=e.call(this)||this;return n.ngModule=t,n}return Object(l.__extends)(t,e),t.prototype.resolveComponentFactory=function(e){var t=ge(e);return new Aa(t,this.ngModule)},t}(ia);function ka(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var Ma=new x("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Jr(Mt(Na))}}),Na=new x("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return mt}}),La={},Aa=function(e){function t(t,n){var l=e.call(this)||this;return l.componentDef=t,l.ngModule=n,l.componentType=t.type,l.selector=t.selectors[0][0],l.ngContentSelectors=[],l}return Object(l.__extends)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){return ka(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return ka(this.componentDef.outputs)},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,l){var i=void 0===n,o=(l=l||this.ngModule)?function(e,t){return{get:function(n,l){var i=e.get(n,La);return i!==La||l===La?i:t.get(n,l)}}}(e,l.injector):e,r=o.get(wa,Sl),u=o.get(Oa,null),a=i?xo(this.selector,r.createRenderer(null,this.componentDef)):To(r,n),s=this.componentDef.onPush?136:132,c=i?Jr():o.get(Ma),d=r.createRenderer(a,this.componentDef);n&&a&&(xl(d)?d.setAttribute(a,"ng-version",Da.full):a.setAttribute("ng-version",Da.full));var p,h,f=ro(null,Io(-1,null,1,0,null,null,null),c,s,r,d,u,o),g=mn(f,null);try{r.begin&&r.begin();var m=Qr(a,this.componentDef,f,r,d);if(h=tt(0,f),t)for(var v=0,y=f[be],b=h.projection=[],C=0;C',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

    ',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e=""+e+"";try{e=encodeURI(e)}catch(l){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e=""+e+"";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();Ja.hasOwnProperty(t)&&!Ya.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(us(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),os=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rs=/([^\#-~ |!])/g;function us(e){return e.replace(/&/g,"&").replace(os,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(rs,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function as(e,t){var n=null;try{Ka=Ka||new Ba(e);var l=t?String(t):"";n=Ka.getInertBodyElement(l);var i=5,o=l;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,l=o,o=n.innerHTML,n=Ka.getInertBodyElement(l)}while(l!==o);var r=new is,u=r.sanitizeChildren(ss(n)||n);return ja()&&r.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),u}finally{if(n)for(var a=ss(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}function ss(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var cs={marker:"element"},ds={marker:"comment"},ps="\ufffd",hs=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,fs=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,gs=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,ms=/\ufffd(\d+):?\d*\ufffd/gi,vs=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,ys=/\[(\ufffd.+?\ufffd?)\]/g,bs=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Cs=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g;function ws(e){if(!e)return[];var t,n=0,l=[],i=[],o=/[{}]/g;for(o.lastIndex=0;t=o.exec(e);){var r=t.index;if("}"==t[0]){if(l.pop(),0==l.length){var u=e.substring(n,r);hs.test(u)?i.push(_s(u)):u&&i.push(u),n=r+1}}else{if(0==l.length){var a=e.substring(n,r);i.push(a),n=r+1}l.push("{")}}var s=e.substring(n);return""!=s&&i.push(s),i}function _s(e){for(var t=[],n=[],l=1,i=0,o=ws(e=e.replace(hs,function(e,t,n){return l="select"===n?0:1,i=parseInt(t.substr(1),10),""})),r=0;r0&&r!==u&&c.push(r.index<<3|0);for(var d=[],p=[],h=function(e,t){if("number"!=typeof t)return xs(e);var n=e.indexOf(":"+t+ps)+2+t.toString().length,l=e.search(new RegExp(ps+"\\/\\*\\d+:"+t+ps));return xs(e.substring(n,l))}(n,l).split(gs),f=0;f>>17,d=void 0;r=ks(o,d=c===e?l[Ee]:tt(c,l),r),d.next=null;break;case 0:var p=s>>>3;u.push(p),r=o,(o=tt(p,l))&&(en(o),3===o.type&&ln(!0));break;case 5:r=o=tt(s>>>3,l),en(o),ln(!1);break;case 4:ko(s>>>3,t[++a],t[++a]);break;default:throw new Error('Unable to determine the type of mutate operation for "'+s+'"')}else switch(s){case ds:var h=t[++a],f=i.createComment(h);r=o,o=uo(n++,5,f,null,null),zn(f,l),o.activeCaseIndex=null,ln(!1);break;case cs:var g=t[++a];r=o,o=uo(n++,3,i.createElement(g),g,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'+s+'"')}}return ln(!1),u}function As(e,t){var n=tt(e,t);Kl(n,Je(e,t)||null,t),n.detached=!0;var l=Ar(e);if(rt(l)){var i=l;0!==n.type&&Kl(n,i[He]||null,t),i[Be]=null}}function Ps(e,t,n){Rs(e,t,n),Ns()}function Fs(e,t){var n=Qt()[be];n.firstTemplatePass&&null===n.data[e+Fe]&&function(e,t,n){for(var l=Jt().index-Fe,i=[],o=0;o>>2,g=void 0,m=void 0;switch(3&h){case 1:ko(f,t[++p],d,t[++p]);break;case 0:Wo(f,d);break;case 2:if(g=n[t[++p]],null!==(m=tt(f,o)).activeCaseIndex)for(var v=g.remove[m.activeCaseIndex],y=0;y>>3,o);break;case 6:var C=tt(v[y+1]>>>3,o).activeCaseIndex;null!==C&&vt(n[b>>>3].remove[C],v)}}var w=Us(g,d);m.activeCaseIndex=-1!==w?w:null,Ls(-1,g.create[w],g.expandoStartIndex,o),u=!0;break;case 3:g=n[t[++p]],m=tt(f,o),e(g.update[m.activeCaseIndex],n,l,i,o,u)}}}a+=c}}(l,i,t[Ie]-js-1,Vs,t),Vs=0,js=0}}var zs=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({});function Us(e,t){var n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:var l=function(e,n){switch(function(e,t){"string"==typeof t&&(t=parseInt(t,10));var n=t,l=n.toString().replace(/^[^.]*\.?/,""),i=Math.floor(Math.abs(n)),o=l.length,r=parseInt(l,10),u=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(e.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?zs.One:zs.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?zs.One:zs.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===i||1===n?zs.One:zs.Other;case"ar":return 0===n?zs.Zero:1===n?zs.One:2===n?zs.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?zs.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?zs.Many:zs.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===i&&0===o?zs.One:zs.Other;case"be":return n%10==1&&n%100!=11?zs.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?zs.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?zs.Many:zs.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?zs.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?zs.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?zs.Few:0!==n&&n%1e6==0?zs.Many:zs.Other;case"bs":case"hr":case"sr":return 0===o&&i%10==1&&i%100!=11||r%10==1&&r%100!=11?zs.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)||r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?zs.Few:zs.Other;case"cs":case"sk":return 1===i&&0===o?zs.One:i===Math.floor(i)&&i>=2&&i<=4&&0===o?zs.Few:0!==o?zs.Many:zs.Other;case"cy":return 0===n?zs.Zero:1===n?zs.One:2===n?zs.Two:3===n?zs.Few:6===n?zs.Many:zs.Other;case"da":return 1===n||0!==u&&(0===i||1===i)?zs.One:zs.Other;case"dsb":case"hsb":return 0===o&&i%100==1||r%100==1?zs.One:0===o&&i%100==2||r%100==2?zs.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||r%100===Math.floor(r%100)&&r%100>=3&&r%100<=4?zs.Few:zs.Other;case"ff":case"fr":case"hy":case"kab":return 0===i||1===i?zs.One:zs.Other;case"fil":return 0===o&&(1===i||2===i||3===i)||0===o&&i%10!=4&&i%10!=6&&i%10!=9||0!==o&&r%10!=4&&r%10!=6&&r%10!=9?zs.One:zs.Other;case"ga":return 1===n?zs.One:2===n?zs.Two:n===Math.floor(n)&&n>=3&&n<=6?zs.Few:n===Math.floor(n)&&n>=7&&n<=10?zs.Many:zs.Other;case"gd":return 1===n||11===n?zs.One:2===n||12===n?zs.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?zs.Few:zs.Other;case"gv":return 0===o&&i%10==1?zs.One:0===o&&i%10==2?zs.Two:0!==o||i%100!=0&&i%100!=20&&i%100!=40&&i%100!=60&&i%100!=80?0!==o?zs.Many:zs.Other:zs.Few;case"he":return 1===i&&0===o?zs.One:2===i&&0===o?zs.Two:0!==o||n>=0&&n<=10||n%10!=0?zs.Other:zs.Many;case"is":return 0===u&&i%10==1&&i%100!=11||0!==u?zs.One:zs.Other;case"ksh":return 0===n?zs.Zero:1===n?zs.One:zs.Other;case"kw":case"naq":case"se":case"smn":return 1===n?zs.One:2===n?zs.Two:zs.Other;case"lag":return 0===n?zs.Zero:0!==i&&1!==i||0===n?zs.Other:zs.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?zs.Few:0!==r?zs.Many:zs.Other:zs.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===o&&r%100===Math.floor(r%100)&&r%100>=11&&r%100<=19?zs.Zero:n%10==1&&n%100!=11||2===o&&r%10==1&&r%100!=11||2!==o&&r%10==1?zs.One:zs.Other;case"mk":return 0===o&&i%10==1||r%10==1?zs.One:zs.Other;case"mt":return 1===n?zs.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?zs.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?zs.Many:zs.Other;case"pl":return 1===i&&0===o?zs.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?zs.Few:0===o&&1!==i&&i%10===Math.floor(i%10)&&i%10>=0&&i%10<=1||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=12&&i%100<=14?zs.Many:zs.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?zs.One:zs.Other;case"ro":return 1===i&&0===o?zs.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?zs.Few:zs.Other;case"ru":case"uk":return 0===o&&i%10==1&&i%100!=11?zs.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?zs.Few:0===o&&i%10==0||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=14?zs.Many:zs.Other;case"shi":return 0===i||1===n?zs.One:n===Math.floor(n)&&n>=2&&n<=10?zs.Few:zs.Other;case"si":return 0===n||1===n||0===i&&1===r?zs.One:zs.Other;case"sl":return 0===o&&i%100==1?zs.One:0===o&&i%100==2?zs.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||0!==o?zs.Few:zs.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?zs.One:zs.Other;default:return zs.Other}}("en-US",t)){case zs.Zero:return"zero";case zs.One:return"one";case zs.Two:return"two";case zs.Few:return"few";case zs.Many:return"many";default:return"other"}}();-1===(n=e.cases.indexOf(l))&&"other"!==l&&(n=e.cases.indexOf("other"));break;case 0:n=e.cases.indexOf("other")}return n}function $s(e,t,n,i){for(var o=[],r=[],u=[],a=[],s=[],c=0;c=0;n--){var l=t[n];if(e===l.name)return l}throw new Error("The pipe '"+e+"' could not be found!")}(t,l.pipeRegistry),l.data[i]=n,n.onDestroy&&(l.pipeDestroyHooks||(l.pipeDestroyHooks=[])).push(i,n.onDestroy)):n=l.data[i];var o=n.factory(null);return Mr(e,o),o}function ac(e,t,n){var l=Ar(e);return fc(hc(e)?Xs(t,l.transform,n,l):l.transform(n))}function sc(e,t,n,l){var i=Ar(e);return fc(hc(e)?Js(t,i.transform,n,l,i):i.transform(n,l))}function cc(e,t,n,l,i){var o=Ar(e);return fc(hc(e)?ec(t,o.transform,n,l,i,o):o.transform(n,l,i))}function dc(e,t,n,l,i,o){var r=Ar(e);return fc(hc(e)?tc(t,r.transform,n,l,i,o,r):r.transform(n,l,i,o))}function pc(e,t,n){var l=Ar(e);return fc(hc(e)?rc(t,l.transform,n,l):l.transform.apply(l,n))}function hc(e){return Qt()[be].data[e+Fe].pure}function fc(e){return sl.isWrapped(e)&&(e=sl.unwrap(e),Qt()[fn()]=fl),e}var gc=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return Object(l.__extends)(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,l){var o,r=function(e){return null},u=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(r=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(u=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(r=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),l&&(u=this.__isAsync?function(){setTimeout(function(){return l()})}:function(){l()}));var a=e.prototype.subscribe.call(this,o,r,u);return t instanceof i.a&&t.add(a),a},t}(o.a),mc=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return yc(e,fa)},e}(),vc=function(e,t){return pa(e,t,Jt(),Qt())},yc=au,bc=function(){function e(e,t,n){this.parent=e,this.shallow=t,this.deep=n}return e.prototype.track=function(e,t,n,l){n?this.deep=kc(this.deep,e,t,null!=l?l:null):this.shallow=kc(this.shallow,e,t,null!=l?l:null)},e.prototype.clone=function(){return new e(this,null,this.deep)},e.prototype.container=function(){var t=Cc(this.shallow),n=Cc(this.deep);return t||n?new e(this,t,n):null},e.prototype.createView=function(){var t=wc(this.shallow),n=wc(this.deep);return t||n?new e(this,t,n):null},e.prototype.insertView=function(e){_c(e,this.shallow),_c(e,this.deep)},e.prototype.addNode=function(e){return Tc(this.deep,e),lt(e)?(Tc(this.shallow,e),e.parent&<(e.parent)&&Tc(this.parent.shallow,e),this.parent):(function(e){return null===e.parent||lt(e.parent)}(e)&&Tc(this.shallow,e),this)},e.prototype.removeView=function(){xc(this.shallow),xc(this.deep)},e}();function Cc(e){for(var t=null;e;){var n=[];e.values.push(n),t={next:t,list:e.list,predicate:e.predicate,values:n,containerValues:null},e=e.next}return t}function wc(e){for(var t=null;e;)t={next:t,list:e.list,predicate:e.predicate,values:[],containerValues:e.values},e=e.next;return t}function _c(e,t){for(;t;)t.containerValues.splice(e,0,t.values),t=t.next}function xc(e){for(;e;){var t=e.containerValues,n=t.indexOf(e.values);t.splice(n,1)[0].length&&e.list.setDirty(),e=e.next}}function Sc(e,t){var n=e.localNames;if(n)for(var l=0;l-1?Nn(t[be].data,t,l,e):function(e,t){return 3===e.type||4===e.type?da(fa,e,t):0===e.type?pa(mc,fa,e,t):null}(e,t)}function Tc(e,t){for(var n=Qt();e;){var l=e.predicate,i=l.type;if(i){var o=null;i===mc?o=Ic(i,t,n,l.read):null!==(a=Mn(t,n,i,!1,!1))&&(o=Oc(t,n,l.read,a)),null!==o&&Dc(e,o)}else for(var r=l.selector,u=0;u0?(e=l.concat(e.slice(n+1)),n=0):n++:(t.push(l),n++)}return t}(e),this.dirty=!1},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}();function Nc(e,t,n,l){var i,o,r,u=new Mc;return(i=bc,o=Qt(),r=o[xe],$t&&$t!==o[Ee]&&!lt($t)&&(r&&(r=o[xe]=r.clone()),$t.flags|=4),r||(o[xe]=new i(null,null,null))).track(u,t,n,l),function(e,t,n){var l=zr(e);l.push(t),e[be].firstTemplatePass&&Ur(e).push(n,l.length-1)}(Qt(),u,u.destroy),null!=e&&Mr(e,u),u}function Lc(e){return!!e.dirty&&(e.reset(e._valuesTree),e.notifyOnChanges(),!0)}function Ac(e,t){return pa(mc,fa,e,t)}var Pc="__SANITIZER_TRUSTED_BRAND__";function Fc(e,t){return e instanceof String&&e[Pc]===t}function Vc(e){return Uc(e,"Html")}function jc(e){return Uc(e,"Style")}function Hc(e){return Uc(e,"Script")}function Bc(e){return Uc(e,"Url")}function zc(e){return Uc(e,"ResourceUrl")}function Uc(e,t){var n=new String(e);return n[Pc]=t,n}var $c=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Gc=/^url\(([^)]+)\)$/;function Wc(e){if(!(e=String(e).trim()))return"";var t=e.match(Gc);return t&&$a(t[1])===t[1]||e.match($c)&&function(e){for(var t=!0,n=!0,l=0;l=0;e--){var t=_d[e],n=t.moduleType,l=t.ngModule;l.declarations&&l.declarations.every(Sd)&&(_d.splice(e,1),Td(n,l))}}finally{xd=!1}}}(),void 0!==e.ngSelectorScope){var u=Rd(e.ngSelectorScope);Dd(n,u)}}return n},configurable:!1})}function Ad(e,t){var n=null;Object.defineProperty(e,p,{get:function(){if(null===n){var l=Fd(e,t);n=bt().compileDirective(ed,"ng://"+(e&&e.name)+"/ngDirectiveDef.js",l)}return n},configurable:!1})}function Pd(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Fd(e,t){var n=yd().propMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:t.selector,deps:bd(e),host:t.host||ie,propMetadata:n,inputs:t.inputs||oe,outputs:t.outputs||oe,queries:Vd(e,n,jd),lifecycle:{usesOnChanges:void 0!==e.prototype.ngOnChanges},typeSourceSpan:null,usesInheritance:!Pd(e),exportAs:t.exportAs||null,providers:t.providers||null}}function Vd(e,t,n){var l=[],i=function(i){t.hasOwnProperty(i)&&t[i].forEach(function(t){if(n(t)){if(!t.selector)throw new Error("Can't construct a query for the property \""+i+'" of "'+Ze(e)+"\" since the query selector wasn't defined.");l.push(function(e,t){return{propertyName:i,predicate:(n=t.selector,"string"==typeof n?n.split(",").map(function(e){return e.trim()}):X(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null};var n}(0,t))}})};for(var o in t)i(o);return l}function jd(e){var t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Hd(e){var t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Bd(e,t){var n=null;Object.defineProperty(e,g,{get:function(){return null===n&&(n=bt().compilePipe(ed,"ng://"+Ze(e)+"/ngPipeDef.js",{type:e,name:e.name,deps:bd(e),pipeName:t.name,pure:void 0===t.pure||t.pure})),n},configurable:!1})}var zd=O("Directive",function(e){return void 0===e&&(e={}),e},void 0,void 0,function(e,t){return ep(e,t)}),Ud=O("Component",function(e){return void 0===e&&(e={}),Object(l.__assign)({changeDetection:V.Default},e)},zd,void 0,function(e,t){return Jd(e,t)}),$d=O("Pipe",function(e){return Object(l.__assign)({pure:!0},e)},void 0,void 0,function(e,t){return tp(e,t)}),Gd=function(e){return function(t,n){for(var l=[],i=2;i1?" ("+function(e){for(var t=[],n=0;n-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(function(e){return Y(e.token)}).join(" -> ")+")":""}function Ip(e,t,n,l){var i=[t],o=n(i),r=l?function(e,t){var n=o+" caused by: "+(t instanceof Error?t.message:t),l=Error(n);return l[bp]=t,l}(0,l):Error(o);return r.addKey=Op,r.keys=i,r.injectors=[e],r.constructResolvingMessage=n,r[bp]=l,r}function Op(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Tp(e,t){for(var n=[],l=0,i=t.length;l=this._providers.length)throw function(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},e.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw Ip(this,e.key,function(e){return"Cannot instantiate cyclic dependency!"+Ep(e)});return this._instantiateProvider(e)},e.prototype._getMaxNumberOfObjects=function(){return this.objs.length},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=new Array(e.resolvedFactories.length),n=0;n0&&(i=setTimeout(function(){l._callbacks=l._callbacks.filter(function(e){return e.timeoutId!==i}),e(l._didWork,l.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),Vh=function(){function e(){this._applications=new Map,Bh.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),Bh.findTestabilityInTree(this,e,t)},Object(l.__decorate)([Object(l.__metadata)("design:paramtypes",[])],e)}();function jh(e){Bh=e}var Hh,Bh=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}());function zh(e,t,n){return Promise.resolve(new Ys(n))}var Uh=new x("AllowMultipleToken"),$h=function(){return function(e,t){this.name=e,this.token=t}}();function Gh(e){if(Hh&&!Hh.destroyed&&!Hh.injector.get(Uh,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Hh=e.get(Zh);var t=e.get(Jp,null);return t&&t.forEach(function(e){return e()}),Hh}function Wh(e,t,n){void 0===n&&(n=[]);var l="Platform: "+t,i=new x(l);return function(t){void 0===t&&(t=[]);var o=Yh();if(!o||o.injector.get(Uh,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var r=n.concat(t).concat({provide:i,useValue:!0});Gh(fu.create({providers:r,name:l}))}return qh(i)}}function qh(e){var t=Yh();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function Kh(){Hh&&!Hh.destroyed&&Hh.destroy()}function Yh(){return Hh&&!Hh.destroyed?Hh:null}var Zh=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,l=this,i="noop"===(n=t?t.ngZone:void 0)?new Ph:("zone.js"===n?void 0:n)||new Rh({enableLongStackTrace:ja()}),o=[{provide:Rh,useValue:i}];return i.run(function(){var t=fu.create({providers:o,parent:l.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(Sp,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return Jh(l._modules,n)}),i.runOutsideAngular(function(){return i.onError.subscribe({next:function(e){r.handleError(e)}})}),function(e,t,i){try{var o=((r=n.injector.get(Kp)).runInitializers(),r.donePromise.then(function(){return l._moduleDoBootstrap(n),n}));return Gp(o)?o.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):o}catch(u){throw t.runOutsideAngular(function(){return e.handleError(u)}),u}var r}(r,i)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var l=Qh({},t);return function(e,t,n){return e.get(yh).createCompiler([t]).compileModuleAsync(n)}(this.injector,l,e).then(function(e){return n.bootstrapModuleFactory(e,l)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Xh);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Y(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function Qh(e,t){return Array.isArray(t)?t.reduce(Qh,e):Object(l.__assign)({},e,t)}var Xh=function(){function e(e,t,n,l,i,o){var s=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=l,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ja(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var c=new r.a(function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){e.next(s._stable),e.complete()})}),d=new r.a(function(e){var t;s._zone.runOutsideAngular(function(){t=s._zone.onStable.subscribe(function(){Rh.assertNotInAngularZone(),q(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){Rh.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(u.a)(c,d.pipe(Object(a.a)()))}var t;return t=e,e.prototype.bootstrap=function(e,t){var n,l=this;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.");n=e instanceof Qu?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n instanceof ra?null:this._injector.get(ua),o=n.create(fu.NULL,[],t||n.selector,i);o.onDestroy(function(){l._unloadComponent(o)});var r=o.injector.get(Fh,null);return r&&o.injector.get(Vh).registerApplication(o.location.nativeElement,r),this._loadComponent(o),ja()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},e.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(l){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(l)})}finally{this._runningTick=!1,Oh(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Jh(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(th,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Jh(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=Ih("ApplicationRef#tick()"),e}();function Jh(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var ef=function(){function e(){this.dirty=!0,this._results=[],this.changes=new gc,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[W()]=function(){return this._results[W()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var l=Array.isArray(n)?e(n):n;return t.concat(l)},[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),tf=function(){return function(){}}(),nf={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},lf=function(){function e(e,t){this._compiler=e,this._config=t||nf}return e.prototype.load=function(e){return this._compiler instanceof mh?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,i=Object(l.__read)(e.split("#"),2),o=i[0],r=i[1];return void 0===r&&(r="default"),n("crnd")(o).then(function(e){return e[r]}).then(function(e){return of(e,o,r)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=Object(l.__read)(e.split("#"),2),i=t[0],o=t[1],r="NgFactory";return void 0===o&&(o="default",r=""),n("crnd")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(e){return e[o+r]}).then(function(e){return of(e,i,o)})},e}();function of(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var rf=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return af(e,fa)},e}(),uf=function(e,t){return function(e,t,n,i){var o;ta||(ta=function(e){function n(t,n,l){var i=e.call(this)||this;return i._lContainer=t,i._hostTNode=n,i._hostView=l,i._viewRefs=[],i}return Object(l.__extends)(n,e),Object.defineProperty(n.prototype,"element",{get:function(){return da(t,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new Pn(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var e=In(this._hostTNode,this._hostView),t=gt(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var l=n.parent.injectorIndex,i=n.parent;null!=i.parent&&l==i.injectorIndex;)i=i.parent;return i}for(var o=ft(e),r=t,u=t[Ee];o>1;)u=(r=r[Pe])[Ee],o--;return u}(e,this._hostView,this._hostTNode);return pt(e)&&null!=n?new Pn(n,t):new Pn(null,this._hostView)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(;this._lContainer[je].length;)this.remove(0)},n.prototype.get=function(e){return this._viewRefs[e]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer[je].length},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(e,t,n){var l=this._adjustIndex(n),i=e.createEmbeddedView(t||{},this._lContainer,this._hostTNode,this._hostView,l);return i.attachToViewContainerRef(this),this._viewRefs.splice(l,0,i),i},n.prototype.createComponent=function(e,t,n,l,i){var o=n||this.parentInjector;!i&&null==e.ngModule&&o&&(i=o.get(ua,null));var r=e.create(o,l,void 0,i);return this.insert(r.hostView,t),r},n.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e._lView,l=this._adjustIndex(t);return Ll(n,this._lContainer,this._hostView,l,this._hostTNode.index),Nl(n,!0,ql(l,this._lContainer[je],this._lContainer[He])),e.attachToViewContainerRef(this),this._viewRefs.splice(l,0,e),e},n.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this.indexOf(e);return this.detach(n),this.insert(e,this._adjustIndex(t)),e},n.prototype.indexOf=function(e){return this._viewRefs.indexOf(e)},n.prototype.remove=function(e){var t=this._adjustIndex(e,-1);Pl(this._lContainer,this._hostTNode,t),this._viewRefs.splice(t,1)},n.prototype.detach=function(e){var t=this._adjustIndex(e,-1),n=Al(this._lContainer,t,!!this._hostTNode.detached);return null!=this._viewRefs.splice(t,1)[0]?new sa(n,n[Te],n[Le]):null},n.prototype._adjustIndex=function(e,t){return void 0===t&&(t=0),null==e?this._lContainer[je].length+t:e},n}(e));var r=i[n.index];if(rt(r))(o=r)[Ve]=-1;else{var u=i[ke].createComment("");if(ut(i)){var a=i[ke],s=et(n,i);Ul(a,$l(a,s),u,function(e,t){return xl(e)?e.nextSibling(t):t.nextSibling}(a,s))}else Gl(u,n,i);i[n.index]=o=tr(r,n,i,u,!0),pr(i,n.index,o)}return new ta(o,n,i)}(e,t,Jt(),Qt())},af=au,sf=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return df()},e}(),cf=function(){return ha(Jt(),Qt(),null)},df=function(){for(var e=[],t=0;t-1}(l)||"root"===i.providedIn&&l._def.isRoot))){var c=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:u.factory,deps:[],index:c,token:t.token},e._providers[c]=om,e._providers[c]=pm(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Dt(o)}}function pm(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var i=n.length;switch(i){case 0:return new t;case 1:return new t(dm(e,n[0]));case 2:return new t(dm(e,n[0]),dm(e,n[1]));case 3:return new t(dm(e,n[0]),dm(e,n[1]),dm(e,n[2]));default:for(var o=new Array(i),r=0;r=n.length)&&(t=n.length-1),t<0)return null;var l=n[t];return l.viewContainerParent=null,vm(n,t),cg.dirtyParentQueries(l),gm(l),l}function fm(e,t,n){var l=t?Rg(t,t.def.lastRenderRootNode):e.renderElement,i=n.renderer.parentNode(l),o=n.renderer.nextSibling(l);Hg(n,2,i,o,void 0)}function gm(e){Hg(e,3,null,null,void 0)}function mm(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function vm(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var ym=new Object;function bm(e,t,n,l,i,o){return new wm(e,t,n,l,i,o)}function Cm(e){return e.viewDefFactory}var wm=function(e){function t(t,n,l,i,o,r){var u=e.call(this)||this;return u.selector=t,u.componentType=n,u._inputs=i,u._outputs=o,u.ngContentSelectors=r,u.viewDefFactory=l,u}return Object(l.__extends)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,l){if(!l)throw new Error("ngModule should be provided");var i=jg(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,r=cg.createRootView(e,t||[],n,i,l,ym),u=rg(r,o).instance;return n&&r.renderer.setAttribute(og(r,0).renderElement,"ng-version",Da.full),new _m(r,new Im(r),u)},t}(Qu),_m=function(e){function t(t,n,l){var i=e.call(this)||this;return i._view=t,i._viewRef=n,i._component=l,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=l,i}return Object(l.__extends)(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new fa(og(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Rm(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(Zu);function xm(e,t,n){return new Sm(e,t,n)}var Sm=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new fa(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Rm(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Dg(e),e=e.parent;return e?new Rm(e,t):new Rm(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=hm(this._data,e);cg.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Im(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var l=e.createEmbeddedView(t||{});return this.insert(l,n),l},e.prototype.createComponent=function(e,t,n,l,i){var o=n||this.parentInjector;i||e instanceof ra||(i=o.get(ua));var r=e.create(o,l,void 0,i);return this.insert(r.hostView,t),r},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,l,i,o,r=e;return o=(n=this._data).viewContainer._embeddedViews,null==(l=t)&&(l=o.length),(i=r._view).viewContainerParent=this._view,mm(o,l,i),function(e,t){var n=Tg(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var l=n.template._projectedViews;l||(l=n.template._projectedViews=[]),l.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var l=n.parent;l;)l.childFlags|=4,l=l.parent}}(0,t.parentNodeDef)}}(n,i),cg.dirtyParentQueries(i),fm(n,l>0?o[l-1]:null,i),r.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,l,i,o,r,u=this._embeddedViews.indexOf(e._view);return i=t,r=(o=(n=this._data).viewContainer._embeddedViews)[l=u],vm(o,l),null==i&&(i=o.length),mm(o,i,r),cg.dirtyParentQueries(r),gm(r),fm(n,i>0?o[i-1]:null,r),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=hm(this._data,e);t&&cg.destroyView(t)},e.prototype.detach=function(e){var t=hm(this._data,e);return t?new Im(t):null},e}();function Em(e){return new Im(e)}var Im=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return Hg(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Eg(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{cg.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){cg.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),cg.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,gm(this._view),cg.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Om(e,t){return new Tm(e,t)}var Tm=function(e){function t(t,n){var l=e.call(this)||this;return l._parentView=t,l._def=n,l}return Object(l.__extends)(t,e),t.prototype.createEmbeddedView=function(e){return new Im(cg.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new fa(og(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(mc);function Dm(e,t){return new Rm(e,t)}var Rm=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=fu.THROW_IF_NOT_FOUND),cg.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:mg(e)},t)},e}();function km(e,t){var n=e.def.nodes[t];if(1&n.flags){var l=og(e,n.nodeIndex);return n.element.template?l.template:l.renderElement}if(2&n.flags)return ig(e,n.nodeIndex).renderText;if(20240&n.flags)return rg(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Mm(e){return new Nm(e.renderer)}var Nm=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=Object(l.__read)(Wg(t),2),i=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,i),i},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var l=0;l0,i=t.provider;switch(201347067&t.flags){case 512:return Jm(e,t.parent,n,i.value,i.deps);case 1024:return function(e,t,n,i,o){var r=o.length;switch(r){case 0:return i();case 1:return i(tv(e,t,n,o[0]));case 2:return i(tv(e,t,n,o[0]),tv(e,t,n,o[1]));case 3:return i(tv(e,t,n,o[0]),tv(e,t,n,o[1]),tv(e,t,n,o[2]));default:for(var u=Array(r),a=0;a0)s=g,_v(g)||(c=g);else for(;s&&f===s.nodeIndex+s.childCount;){var y=s.parent;y&&(y.childFlags|=s.childFlags,y.childMatchedQueries|=s.childMatchedQueries),c=(s=y)&&_v(s)?s.renderParent:s}}return{factory:null,nodeFlags:r,rootNodeFlags:u,nodeMatchedQueries:a,flags:e,nodes:t,updateDirectives:n||fg,updateRenderer:l||fg,handleEvent:function(e,n,l,i){return t[n].element.handleEvent(e,l,i)},bindingCount:i,outputCount:o,lastRenderRootNode:h}}function _v(e){return 0!=(1&e.flags)&&null===e.element.name}function xv(e,t,n){var l=t.element&&t.element.template;if(l){if(!l.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(l.lastRenderRootNode&&16777216&l.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var i=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=i&&t.nodeIndex+t.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Sv(e,t,n,l){var i=Ov(e.root,e.renderer,e,t,n);return Tv(i,e.component,l),Dv(i),i}function Ev(e,t,n){var l=Ov(e,e.renderer,null,null,t);return Tv(l,n,n),Dv(l),l}function Iv(e,t,n,l){var i,o=t.element.componentRendererType;return i=o?e.root.rendererFactory.createRenderer(l,o):e.root.renderer,Ov(e.root,i,e,t.element.componentProvider,n)}function Ov(e,t,n,l,i){var o=new Array(i.nodes.length),r=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:l,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:r,initIndex:-1}}function Tv(e,t,n){e.component=t,e.context=n}function Dv(e){var t;Mg(e)&&(t=og(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,l=e.nodes,i=0;i0&&im(e,t,0,n)&&(h=!0),p>1&&im(e,t,1,l)&&(h=!0),p>2&&im(e,t,2,i)&&(h=!0),p>3&&im(e,t,3,o)&&(h=!0),p>4&&im(e,t,4,r)&&(h=!0),p>5&&im(e,t,5,u)&&(h=!0),p>6&&im(e,t,6,a)&&(h=!0),p>7&&im(e,t,7,s)&&(h=!0),p>8&&im(e,t,8,c)&&(h=!0),p>9&&im(e,t,9,d)&&(h=!0),h}(e,t,n,l,i,o,r,u,a,s,c,d);case 2:return function(e,t,n,l,i,o,r,u,a,s,c,d){var p=!1,h=t.bindings,f=h.length;if(f>0&&xg(e,t,0,n)&&(p=!0),f>1&&xg(e,t,1,l)&&(p=!0),f>2&&xg(e,t,2,i)&&(p=!0),f>3&&xg(e,t,3,o)&&(p=!0),f>4&&xg(e,t,4,r)&&(p=!0),f>5&&xg(e,t,5,u)&&(p=!0),f>6&&xg(e,t,6,a)&&(p=!0),f>7&&xg(e,t,7,s)&&(p=!0),f>8&&xg(e,t,8,c)&&(p=!0),f>9&&xg(e,t,9,d)&&(p=!0),p){var g=t.text.prefix;f>0&&(g+=Cv(n,h[0])),f>1&&(g+=Cv(l,h[1])),f>2&&(g+=Cv(i,h[2])),f>3&&(g+=Cv(o,h[3])),f>4&&(g+=Cv(r,h[4])),f>5&&(g+=Cv(u,h[5])),f>6&&(g+=Cv(a,h[6])),f>7&&(g+=Cv(s,h[7])),f>8&&(g+=Cv(c,h[8])),f>9&&(g+=Cv(d,h[9]));var m=ig(e,t.nodeIndex).renderText;e.renderer.setValue(m,g)}return p}(e,t,n,l,i,o,r,u,a,s,c,d);case 16384:return function(e,t,n,l,i,o,r,u,a,s,c,d){var p=rg(e,t.nodeIndex),h=p.instance,f=!1,g=void 0,m=t.bindings.length;return m>0&&_g(e,t,0,n)&&(f=!0,g=lv(e,p,t,0,n,g)),m>1&&_g(e,t,1,l)&&(f=!0,g=lv(e,p,t,1,l,g)),m>2&&_g(e,t,2,i)&&(f=!0,g=lv(e,p,t,2,i,g)),m>3&&_g(e,t,3,o)&&(f=!0,g=lv(e,p,t,3,o,g)),m>4&&_g(e,t,4,r)&&(f=!0,g=lv(e,p,t,4,r,g)),m>5&&_g(e,t,5,u)&&(f=!0,g=lv(e,p,t,5,u,g)),m>6&&_g(e,t,6,a)&&(f=!0,g=lv(e,p,t,6,a,g)),m>7&&_g(e,t,7,s)&&(f=!0,g=lv(e,p,t,7,s,g)),m>8&&_g(e,t,8,c)&&(f=!0,g=lv(e,p,t,8,c,g)),m>9&&_g(e,t,9,d)&&(f=!0,g=lv(e,p,t,9,d,g)),g&&h.ngOnChanges(g),65536&t.flags&&lg(e,256,t.nodeIndex)&&h.ngOnInit(),262144&t.flags&&h.ngDoCheck(),f}(e,t,n,l,i,o,r,u,a,s,c,d);case 32:case 64:case 128:return function(e,t,n,l,i,o,r,u,a,s,c,d){var p=t.bindings,h=!1,f=p.length;if(f>0&&xg(e,t,0,n)&&(h=!0),f>1&&xg(e,t,1,l)&&(h=!0),f>2&&xg(e,t,2,i)&&(h=!0),f>3&&xg(e,t,3,o)&&(h=!0),f>4&&xg(e,t,4,r)&&(h=!0),f>5&&xg(e,t,5,u)&&(h=!0),f>6&&xg(e,t,6,a)&&(h=!0),f>7&&xg(e,t,7,s)&&(h=!0),f>8&&xg(e,t,8,c)&&(h=!0),f>9&&xg(e,t,9,d)&&(h=!0),h){var g=ug(e,t.nodeIndex),m=void 0;switch(201347067&t.flags){case 32:m=new Array(p.length),f>0&&(m[0]=n),f>1&&(m[1]=l),f>2&&(m[2]=i),f>3&&(m[3]=o),f>4&&(m[4]=r),f>5&&(m[5]=u),f>6&&(m[6]=a),f>7&&(m[7]=s),f>8&&(m[8]=c),f>9&&(m[9]=d);break;case 64:m={},f>0&&(m[p[0].name]=n),f>1&&(m[p[1].name]=l),f>2&&(m[p[2].name]=i),f>3&&(m[p[3].name]=o),f>4&&(m[p[4].name]=r),f>5&&(m[p[5].name]=u),f>6&&(m[p[6].name]=a),f>7&&(m[p[7].name]=s),f>8&&(m[p[8].name]=c),f>9&&(m[p[9].name]=d);break;case 128:var v=n;switch(f){case 1:m=v.transform(n);break;case 2:m=v.transform(l);break;case 3:m=v.transform(l,i);break;case 4:m=v.transform(l,i,o);break;case 5:m=v.transform(l,i,o,r);break;case 6:m=v.transform(l,i,o,r,u);break;case 7:m=v.transform(l,i,o,r,u,a);break;case 8:m=v.transform(l,i,o,r,u,a,s);break;case 9:m=v.transform(l,i,o,r,u,a,s,c);break;case 10:m=v.transform(l,i,o,r,u,a,s,c,d)}}g.value=m}return h}(e,t,n,l,i,o,r,u,a,s,c,d);default:throw"unreachable"}}(e,t,i,o,r,u,a,s,c,d,p,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var l=!1,i=0;i0&&Sg(e,t,0,n),p>1&&Sg(e,t,1,l),p>2&&Sg(e,t,2,i),p>3&&Sg(e,t,3,o),p>4&&Sg(e,t,4,r),p>5&&Sg(e,t,5,u),p>6&&Sg(e,t,6,a),p>7&&Sg(e,t,7,s),p>8&&Sg(e,t,8,c),p>9&&Sg(e,t,9,d)}(e,t,l,i,o,r,u,a,s,c,d,p):function(e,t,n){for(var l=0;l0){var o=new Set(e.modules);Xv.forEach(function(t,l){if(o.has(w(l).providedIn)){var i={token:l,flags:t.flags|(n?4096:0),deps:Pg(t.deps),value:t.value,index:e.providers.length};e.providers.push(i),e.providersByKey[mg(l)]=i}})}}(e=e.factory(function(){return fg})),e):e}(l))}var Qv=new Map,Xv=new Map,Jv=new Map;function ey(e){var t;Qv.set(e.token,e),"function"==typeof e.token&&(t=w(e.token))&&"function"==typeof t.providedIn&&Xv.set(e.token,e)}function ty(e,t){var n=jg(Cm(t)),l=jg(n.nodes[0].element.componentView);Jv.set(e,l)}function ny(){Qv.clear(),Xv.clear(),Jv.clear()}function ly(e){if(0===Qv.size)return e;var t=function(e){for(var t=[],n=null,l=0;l",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(s),d=["%","/","?",";","#"].concat(c),p=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n("r8II");function b(e,t,n){if(e&&i.isObject(e)&&e instanceof o)return e;var l=new o;return l.parse(e,t,n),l}o.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),u=-1!==o&&o127?N+="x":N+=M[L];if(!N.match(h)){var P=R.slice(0,O),F=R.slice(O+1),V=M.match(f);V&&(P.push(V[1]),F.unshift(V[2])),F.length&&(b="/"+F.join(".")+b),this.hostname=P.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),D||(this.hostname=l.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!g[_])for(O=0,k=c.length;O0)&&n.host.split("@"))&&(n.auth=O.shift(),n.host=n.hostname=O.shift())),n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!w.length)return n.pathname=null,n.path=n.search?"/"+n.search:null,n.href=n.format(),n;for(var x=w.slice(-1)[0],S=(n.host||e.host||w.length>1)&&("."===x||".."===x)||""===x,E=0,I=w.length;I>=0;I--)"."===(x=w[I])?w.splice(I,1):".."===x?(w.splice(I,1),E++):E&&(w.splice(I,1),E--);if(!b&&!C)for(;E--;E)w.unshift("..");!b||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),S&&"/"!==w.join("/").substr(-1)&&w.push("");var O,T=""===w[0]||w[0]&&"/"===w[0].charAt(0);return _&&(n.hostname=n.host=T?"":w.length?w.shift():"",(O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=O.shift(),n.host=n.hostname=O.shift())),(b=b||n.host&&w.length)&&!T&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=u.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},Czxz:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("7LN8"),a=n("mU/a"),s=n("sdDj"),c=n("P3jN"),d=n("CcnG"),p=n("DtyJ"),h=function(){function e(){this.sortSource=new p.Subject,this.selectionSource=new p.Subject,this.contextMenuSource=new p.Subject,this.valueSource=new p.Subject,this.totalRecordsSource=new p.Subject,this.columnsSource=new p.Subject,this.sortSource$=this.sortSource.asObservable(),this.selectionSource$=this.selectionSource.asObservable(),this.contextMenuSource$=this.contextMenuSource.asObservable(),this.valueSource$=this.valueSource.asObservable(),this.totalRecordsSource$=this.totalRecordsSource.asObservable(),this.columnsSource$=this.columnsSource.asObservable()}return e.prototype.onSort=function(e){this.sortSource.next(e)},e.prototype.onSelectionChange=function(){this.selectionSource.next()},e.prototype.onContextMenu=function(e){this.contextMenuSource.next(e)},e.prototype.onValueChange=function(e){this.valueSource.next(e)},e.prototype.onTotalRecordsChange=function(e){this.totalRecordsSource.next(e)},e.prototype.onColumnsChange=function(e){this.columnsSource.next(e)},l([d.Injectable()],e)}();t.TableService=h;var f=function(){function e(e,t,n){this.el=e,this.zone=t,this.tableService=n,this.first=0,this.pageLinks=5,this.alwaysShowPaginator=!0,this.paginatorPosition="bottom",this.defaultSortOrder=1,this.sortMode="single",this.resetPageOnSort=!0,this.selectionChange=new o.EventEmitter,this.contextMenuSelectionChange=new o.EventEmitter,this.contextMenuSelectionMode="separate",this.rowTrackBy=function(e,t){return t},this.lazy=!1,this.lazyLoadOnInit=!0,this.compareSelectionBy="deepEquals",this.csvSeparator=",",this.exportFilename="download",this.filters={},this.filterDelay=300,this.expandedRowKeys={},this.rowExpandMode="multiple",this.virtualScrollDelay=150,this.virtualRowHeight=28,this.columnResizeMode="fit",this.loadingIcon="pi pi-spinner",this.stateStorage="session",this.onRowSelect=new o.EventEmitter,this.onRowUnselect=new o.EventEmitter,this.onPage=new o.EventEmitter,this.onSort=new o.EventEmitter,this.onFilter=new o.EventEmitter,this.onLazyLoad=new o.EventEmitter,this.onRowExpand=new o.EventEmitter,this.onRowCollapse=new o.EventEmitter,this.onContextMenuSelect=new o.EventEmitter,this.onColResize=new o.EventEmitter,this.onColReorder=new o.EventEmitter,this.onRowReorder=new o.EventEmitter,this.onEditInit=new o.EventEmitter,this.onEditComplete=new o.EventEmitter,this.onEditCancel=new o.EventEmitter,this.onHeaderCheckboxToggle=new o.EventEmitter,this.sortFunction=new o.EventEmitter,this._value=[],this._totalRecords=0,this.selectionKeys={},this._sortOrder=1,this.filterConstraints={startsWith:function(e,t){if(null==t||""===t.trim())return!0;if(null==e)return!1;var n=c.ObjectUtils.removeAccents(t.toString()).toLowerCase();return c.ObjectUtils.removeAccents(e.toString()).toLowerCase().slice(0,n.length)===n},contains:function(e,t){if(null==t||"string"==typeof t&&""===t.trim())return!0;if(null==e)return!1;var n=c.ObjectUtils.removeAccents(t.toString()).toLowerCase();return-1!==c.ObjectUtils.removeAccents(e.toString()).toLowerCase().indexOf(n)},endsWith:function(e,t){if(null==t||""===t.trim())return!0;if(null==e)return!1;var n=c.ObjectUtils.removeAccents(t.toString()).toLowerCase(),l=c.ObjectUtils.removeAccents(e.toString()).toLowerCase();return-1!==l.indexOf(n,l.length-n.length)},equals:function(e,t){return null==t||"string"==typeof t&&""===t.trim()||null!=e&&(e.getTime&&t.getTime?e.getTime()===t.getTime():c.ObjectUtils.removeAccents(e.toString()).toLowerCase()==c.ObjectUtils.removeAccents(t.toString()).toLowerCase())},notEquals:function(e,t){return!(null==t||"string"==typeof t&&""===t.trim()||null!=e&&(e.getTime&&t.getTime?e.getTime()===t.getTime():c.ObjectUtils.removeAccents(e.toString()).toLowerCase()==c.ObjectUtils.removeAccents(t.toString()).toLowerCase()))},in:function(e,t){if(null==t||0===t.length)return!0;for(var n=0;nt.getTime():e>t)},gte:function(e,t){return null==t||null!=e&&(e.getTime&&t.getTime?e.getTime()>=t.getTime():e>=t)}}}return e.prototype.ngOnInit=function(){this.lazy&&this.lazyLoadOnInit&&this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.initialized=!0},e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"caption":e.captionTemplate=t.template;break;case"header":e.headerTemplate=t.template;break;case"body":e.bodyTemplate=t.template;break;case"footer":e.footerTemplate=t.template;break;case"summary":e.summaryTemplate=t.template;break;case"colgroup":e.colGroupTemplate=t.template;break;case"rowexpansion":e.expandedRowTemplate=t.template;break;case"frozenrows":e.frozenRowsTemplate=t.template;break;case"frozenheader":e.frozenHeaderTemplate=t.template;break;case"frozenbody":e.frozenBodyTemplate=t.template;break;case"frozenfooter":e.frozenFooterTemplate=t.template;break;case"frozencolgroup":e.frozenColGroupTemplate=t.template;break;case"emptymessage":e.emptyMessageTemplate=t.template;break;case"paginatorleft":e.paginatorLeftTemplate=t.template;break;case"paginatorright":e.paginatorRightTemplate=t.template}})},e.prototype.ngAfterViewInit=function(){this.isStateful()&&this.resizableColumns&&this.restoreColumnWidths()},Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this.isStateful()&&!this.stateRestored&&this.restoreState(),this._value=e,this.lazy||(this.totalRecords=this._value?this._value.length:0,"single"==this.sortMode&&this.sortField?this.sortSingle():"multiple"==this.sortMode&&this.multiSortMeta?this.sortMultiple():this.hasFilter()&&this._filter()),this.virtualScroll&&this.virtualScrollCallback&&this.virtualScrollCallback(),this.tableService.onValueChange(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columns",{get:function(){return this._columns},set:function(e){this._columns=e,this.tableService.onColumnsChange(e),this._columns&&this.isStateful()&&this.reorderableColumns&&!this.columnOrderStateRestored&&this.restoreColumnOrder()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"totalRecords",{get:function(){return this._totalRecords},set:function(e){this._totalRecords=e,this.tableService.onTotalRecordsChange(this._totalRecords)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sortField",{get:function(){return this._sortField},set:function(e){this._sortField=e,this.lazy&&!this.initialized||"single"===this.sortMode&&this.sortSingle()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sortOrder",{get:function(){return this._sortOrder},set:function(e){this._sortOrder=e,this.lazy&&!this.initialized||"single"===this.sortMode&&this.sortSingle()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiSortMeta",{get:function(){return this._multiSortMeta},set:function(e){this._multiSortMeta=e,"multiple"===this.sortMode&&this.sortMultiple()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selection",{get:function(){return this._selection},set:function(e){this._selection=e,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange()),this.preventSelectionSetterPropagation=!1},enumerable:!0,configurable:!0}),e.prototype.updateSelectionKeys=function(){if(this.dataKey&&this._selection)if(this.selectionKeys={},Array.isArray(this._selection))for(var e=0,t=this._selection;eo?1:0,e.sortOrder*l}),this.hasFilter()&&this._filter());var t={field:this.sortField,order:this.sortOrder};this.onSort.emit(t),this.tableService.onSort(t)}},e.prototype.sortMultiple=function(){var e=this;this.multiSortMeta&&(this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,multiSortMeta:this.multiSortMeta}):this.value.sort(function(t,n){return e.multisortField(t,n,e.multiSortMeta,0)}),this.hasFilter()&&this._filter()),this.onSort.emit({multisortmeta:this.multiSortMeta}),this.tableService.onSort(this.multiSortMeta))},e.prototype.multisortField=function(e,t,n,l){var i=c.ObjectUtils.resolveFieldData(e,n[l].field),o=c.ObjectUtils.resolveFieldData(t,n[l].field),r=null;if(null==i&&null!=o?r=-1:null!=i&&null==o?r=1:null==i&&null==o&&(r=0),"string"==typeof i||i instanceof String){if(i.localeCompare&&i!=o)return n[l].order*i.localeCompare(o)}else r=il?this.multisortField(e,t,n,l+1):0:n[l].order*r},e.prototype.getSortMeta=function(e){if(this.multiSortMeta&&this.multiSortMeta.length)for(var t=0;tt?(n=t,l=this.anchorRowIndex):this.anchorRowIndexthis.anchorRowIndex?(t=this.anchorRowIndex,n=this.rangeRowIndex):this.rangeRowIndex-1:this.equals(e,this.selection))},e.prototype.findIndexInSelection=function(e){var t=-1;if(this.selection&&this.selection.length)for(var n=0;n=i){if("fit"===this.columnResizeMode){for(var r=t.nextElementSibling;!r.offsetParent;)r=r.nextElementSibling;if(r){var u=r.offsetWidth-n;if(o>15&&u>parseInt(r.style.minWidth||15))if(this.scrollable){var a=this.findParentScrollableView(t),c=s.DomHandler.findSingle(a,"table.ui-table-scrollable-body-table"),d=s.DomHandler.findSingle(a,"table.ui-table-scrollable-header-table"),p=s.DomHandler.findSingle(a,"table.ui-table-scrollable-footer-table"),h=s.DomHandler.index(t);this.resizeColGroup(d,h,o,u),this.resizeColGroup(c,h,o,u),this.resizeColGroup(p,h,o,u)}else t.style.width=o+"px",r&&(r.style.width=u+"px")}}else"expand"===this.columnResizeMode&&o>i&&(this.scrollable?(a=this.findParentScrollableView(t),c=s.DomHandler.findSingle(a,"table.ui-table-scrollable-body-table"),d=s.DomHandler.findSingle(a,"table.ui-table-scrollable-header-table"),p=s.DomHandler.findSingle(a,"table.ui-table-scrollable-footer-table"),c.style.width=c.offsetWidth+n+"px",d.style.width=d.offsetWidth+n+"px",p&&(p.style.width=d.offsetWidth+n+"px"),h=s.DomHandler.index(t),this.resizeColGroup(d,h,o,null),this.resizeColGroup(c,h,o,null),this.resizeColGroup(p,h,o,null)):(this.tableViewChild.nativeElement.style.width=this.tableViewChild.nativeElement.offsetWidth+n+"px",t.style.width=o+"px",this.containerViewChild.nativeElement.style.width=this.tableViewChild.nativeElement.style.width+"px"));this.onColResize.emit({element:t,delta:n}),this.isStateful()&&this.saveState()}this.resizeHelperViewChild.nativeElement.style.display="none",s.DomHandler.removeClass(this.containerViewChild.nativeElement,"ui-unselectable-text")},e.prototype.findParentScrollableView=function(e){if(e){for(var t=e.parentElement;t&&!s.DomHandler.hasClass(t,"ui-table-scrollable-view");)t=t.parentElement;return t}return null},e.prototype.resizeColGroup=function(e,t,n,l){if(e){var i="COLGROUP"===e.children[0].nodeName?e.children[0]:null;if(!i)throw"Scrollable tables require a colgroup to support resizable columns";var o=i.children[t],r=o.nextElementSibling;o.style.width=n+"px",r&&l&&(r.style.width=l+"px")}},e.prototype.onColumnDragStart=function(e,t){this.reorderIconWidth=s.DomHandler.getHiddenElementOuterWidth(this.reorderIndicatorUpViewChild.nativeElement),this.reorderIconHeight=s.DomHandler.getHiddenElementOuterHeight(this.reorderIndicatorDownViewChild.nativeElement),this.draggedColumn=t,e.dataTransfer.setData("text","b")},e.prototype.onColumnDragEnter=function(e,t){if(this.reorderableColumns&&this.draggedColumn&&t){e.preventDefault();var n=s.DomHandler.getOffset(this.containerViewChild.nativeElement),l=s.DomHandler.getOffset(t);if(this.draggedColumn!=t){var i=l.left-n.left,o=l.left+t.offsetWidth/2;this.reorderIndicatorUpViewChild.nativeElement.style.top=l.top-n.top-(this.reorderIconHeight-1)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.top=l.top-n.top+t.offsetHeight+"px",e.pageX>o?(this.reorderIndicatorUpViewChild.nativeElement.style.left=i+t.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=i+t.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUpViewChild.nativeElement.style.left=i-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=i-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=-1),this.reorderIndicatorUpViewChild.nativeElement.style.display="block",this.reorderIndicatorDownViewChild.nativeElement.style.display="block"}else e.dataTransfer.dropEffect="none"}},e.prototype.onColumnDragLeave=function(e){this.reorderableColumns&&this.draggedColumn&&(e.preventDefault(),this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none")},e.prototype.onColumnDrop=function(e,t){if(e.preventDefault(),this.draggedColumn){var n=s.DomHandler.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),l=s.DomHandler.indexWithinGroup(t,"preorderablecolumn"),i=n!=l;i&&(l-n==1&&-1===this.dropPosition||n-l==1&&1===this.dropPosition)&&(i=!1),i&&ln&&-1===this.dropPosition&&(l-=1),i&&(c.ObjectUtils.reorderArray(this.columns,n,l),this.onColReorder.emit({dragIndex:n,dropIndex:l,columns:this.columns}),this.isStateful()&&this.saveState()),this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none",this.draggedColumn.draggable=!1,this.draggedColumn=null,this.dropPosition=null}},e.prototype.onRowDragStart=function(e,t){this.rowDragging=!0,this.draggedRowIndex=t,e.dataTransfer.setData("text","b")},e.prototype.onRowDragOver=function(e,t,n){if(this.rowDragging&&this.draggedRowIndex!==t){var l=s.DomHandler.getOffset(n).top+s.DomHandler.getWindowScrollTop(),i=e.pageY,o=l+s.DomHandler.getOuterHeight(n)/2,r=n.previousElementSibling;ithis.droppedRowIndex?this.droppedRowIndex:0===this.droppedRowIndex?0:this.droppedRowIndex-1),this.onRowReorder.emit({dragIndex:this.draggedRowIndex,dropIndex:this.droppedRowIndex})),this.onRowDragLeave(e,t),this.onRowDragEnd(e)},e.prototype.handleVirtualScroll=function(e){var t=this;this.first=(e.page-1)*this.rows,this.virtualScrollCallback=e.callback,this.zone.run(function(){t.virtualScrollTimer&&clearTimeout(t.virtualScrollTimer),t.virtualScrollTimer=setTimeout(function(){t.onLazyLoad.emit(t.createLazyLoadMetadata())},t.virtualScrollDelay)})},e.prototype.isEmpty=function(){var e=this.filteredValue||this.value;return null==e||0==e.length},e.prototype.getBlockableElement=function(){return this.el.nativeElement.children[0]},e.prototype.getStorage=function(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}},e.prototype.isStateful=function(){return null!=this.stateKey},e.prototype.saveState=function(){var e=this.getStorage(),t={};this.paginator&&(t.first=this.first,t.rows=this.rows),this.sortField&&(t.sortField=this.sortField,t.sortOrder=this.sortOrder),this.multiSortMeta&&(t.multiSortMeta=this.multiSortMeta),this.hasFilter()&&(t.filters=this.filters),this.resizableColumns&&this.saveColumnWidths(t),this.reorderableColumns&&this.saveColumnOrder(t),this.selection&&(t.selection=this.selection),Object.keys(this.expandedRowKeys).length&&(t.expandedRowKeys=this.expandedRowKeys),Object.keys(t).length&&e.setItem(this.stateKey,JSON.stringify(t))},e.prototype.clearState=function(){var e=this.getStorage();this.stateKey&&e.removeItem(this.stateKey)},e.prototype.restoreState=function(){var e=this.getStorage().getItem(this.stateKey);if(e){var t=JSON.parse(e);this.paginator&&(this.first=t.first,this.rows=t.rows),t.sortField&&(this.restoringSort=!0,this._sortField=t.sortField,this._sortOrder=t.sortOrder),t.multiSortMeta&&(this.restoringSort=!0,this._multiSortMeta=t.multiSortMeta),t.filters&&(this.restoringFilter=!0,this.filters=t.filters),this.resizableColumns&&(this.columnWidthsState=t.columnWidths,this.tableWidthState=t.tableWidth),t.expandedRowKeys&&(this.expandedRowKeys=t.expandedRowKeys),t.selection&&(this.selection=t.selection),this.stateRestored=!0}},e.prototype.saveColumnWidths=function(e){var t=[];s.DomHandler.find(this.containerViewChild.nativeElement,".ui-table-thead > tr:first-child > th").map(function(e){return t.push(s.DomHandler.getOuterWidth(e))}),e.columnWidths=t.join(","),"expand"===this.columnResizeMode&&(e.tableWidth=this.scrollable?s.DomHandler.findSingle(this.containerViewChild.nativeElement,".ui-table-scrollable-header-table").style.width:s.DomHandler.getOuterWidth(this.tableViewChild.nativeElement)+"px")},e.prototype.restoreColumnWidths=function(){if(this.columnWidthsState){var e=this.columnWidthsState.split(",");if("expand"===this.columnResizeMode&&this.tableWidthState)if(this.scrollable){var t=s.DomHandler.findSingle(this.containerViewChild.nativeElement,".ui-table-scrollable-body-table"),n=s.DomHandler.findSingle(this.containerViewChild.nativeElement,".ui-table-scrollable-header-table"),l=s.DomHandler.findSingle(this.containerViewChild.nativeElement,".ui-table-scrollable-footer-table");t.style.width=this.tableWidthState,n.style.width=this.tableWidthState,l&&(l.style.width=this.tableWidthState)}else this.tableViewChild.nativeElement.style.width=this.tableWidthState,this.containerViewChild.nativeElement.style.width=this.tableWidthState;if(this.scrollable){var i=s.DomHandler.find(this.containerViewChild.nativeElement,".ui-table-scrollable-header-table > colgroup > col"),o=s.DomHandler.find(this.containerViewChild.nativeElement,".ui-table-scrollable-body-table > colgroup > col");i.map(function(t,n){return t.style.width=e[n]+"px"}),o.map(function(t,n){return t.style.width=e[n]+"px"})}else s.DomHandler.find(this.tableViewChild.nativeElement,".ui-table-thead > tr:first-child > th").map(function(t,n){return t.style.width=e[n]+"px"})}},e.prototype.saveColumnOrder=function(e){if(this.columns){var t=[];this.columns.map(function(e){t.push(e.field||e.key)}),e.columnOrder=t}},e.prototype.restoreColumnOrder=function(){var e=this,t=this.getStorage().getItem(this.stateKey);if(t){var n=JSON.parse(t).columnOrder;if(n){var l=[];n.map(function(t){return l.push(e.findColumnByKey(t))}),this.columnOrderStateRestored=!0,this.columns=l}}},e.prototype.findColumnByKey=function(e){if(!this.columns)return null;for(var t=0,n=this.columns;t\n

    \n
    \n \n
    \n
    \n \n
    \n \n \n
    \n \n \n \n \n \n \n \n \n \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n \n
    \n\n \n\n \n \n \n ',providers:[h]})],e)}();t.Table=f;var g=function(){function e(e){this.dt=e}return l([o.Input("pTableBody"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Input("pTableBodyTemplate"),i("design:type",o.TemplateRef)],e.prototype,"template",void 0),l([o.Component({selector:"[pTableBody]",template:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n '})],e)}();t.TableBody=g;var m=function(){function e(e,t,n){var l=this;this.dt=e,this.el=t,this.zone=n,this.subscription=this.dt.tableService.valueSource$.subscribe(function(){l.zone.runOutsideAngular(function(){setTimeout(function(){l.alignScrollBar()},50)})}),this.dt.virtualScroll&&(this.totalRecordsSubscription=this.dt.tableService.totalRecordsSource$.subscribe(function(){l.zone.runOutsideAngular(function(){setTimeout(function(){l.setVirtualScrollerHeight()},50)})})),this.initialized=!1}return Object.defineProperty(e.prototype,"scrollHeight",{get:function(){return this._scrollHeight},set:function(e){this._scrollHeight=e,this.setScrollHeight()},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewChecked=function(){!this.initialized&&this.el.nativeElement.offsetParent&&(this.alignScrollBar(),this.setScrollHeight(),this.initialized=!0)},e.prototype.ngAfterViewInit=function(){var e=this;if(this.frozen){this.scrollBodyViewChild.nativeElement.style.marginBottom=s.DomHandler.calculateScrollbarWidth()+"px";var t=this.el.nativeElement.nextElementSibling;t&&(this.scrollableSiblingBody=s.DomHandler.findSingle(t,".ui-table-scrollable-body"))}else{(this.dt.frozenColumns||this.dt.frozenBodyTemplate)&&s.DomHandler.addClass(this.el.nativeElement,"ui-table-unfrozen-view");var n=this.el.nativeElement.previousElementSibling;n&&(this.frozenSiblingBody=s.DomHandler.findSingle(n,".ui-table-scrollable-body"))}this.bindEvents(),this.setScrollHeight(),this.alignScrollBar(),this.frozen&&(this.columnsSubscription=this.dt.tableService.columnsSource$.subscribe(function(){e.zone.runOutsideAngular(function(){setTimeout(function(){e.setScrollHeight()},50)})})),this.dt.virtualScroll&&this.setVirtualScrollerHeight()},e.prototype.bindEvents=function(){var e=this;this.zone.runOutsideAngular(function(){s.DomHandler.calculateScrollbarWidth(),e.scrollHeaderViewChild&&e.scrollHeaderViewChild.nativeElement&&(e.headerScrollListener=e.onHeaderScroll.bind(e),e.scrollHeaderBoxViewChild.nativeElement.addEventListener("scroll",e.headerScrollListener)),e.scrollFooterViewChild&&e.scrollFooterViewChild.nativeElement&&(e.footerScrollListener=e.onFooterScroll.bind(e),e.scrollFooterViewChild.nativeElement.addEventListener("scroll",e.footerScrollListener)),e.frozen||(e.bodyScrollListener=e.onBodyScroll.bind(e),e.scrollBodyViewChild.nativeElement.addEventListener("scroll",e.bodyScrollListener))})},e.prototype.unbindEvents=function(){this.scrollHeaderViewChild&&this.scrollHeaderViewChild.nativeElement&&this.scrollHeaderBoxViewChild.nativeElement.removeEventListener("scroll",this.headerScrollListener),this.scrollFooterViewChild&&this.scrollFooterViewChild.nativeElement&&this.scrollFooterViewChild.nativeElement.removeEventListener("scroll",this.footerScrollListener),this.scrollBodyViewChild.nativeElement.removeEventListener("scroll",this.bodyScrollListener)},e.prototype.onHeaderScroll=function(e){this.scrollHeaderViewChild.nativeElement.scrollLeft=0},e.prototype.onFooterScroll=function(e){this.scrollFooterViewChild.nativeElement.scrollLeft=0},e.prototype.onBodyScroll=function(e){var t=this;if(this.scrollHeaderViewChild&&this.scrollHeaderViewChild.nativeElement&&(this.scrollHeaderBoxViewChild.nativeElement.style.marginLeft=-1*this.scrollBodyViewChild.nativeElement.scrollLeft+"px"),this.scrollFooterViewChild&&this.scrollFooterViewChild.nativeElement&&(this.scrollFooterBoxViewChild.nativeElement.style.marginLeft=-1*this.scrollBodyViewChild.nativeElement.scrollLeft+"px"),this.frozenSiblingBody&&(this.frozenSiblingBody.scrollTop=this.scrollBodyViewChild.nativeElement.scrollTop),this.dt.virtualScroll){var n=s.DomHandler.getOuterHeight(this.scrollBodyViewChild.nativeElement),l=s.DomHandler.getOuterHeight(this.scrollTableViewChild.nativeElement),i=this.dt.virtualRowHeight*this.dt.rows,o=s.DomHandler.getOuterHeight(this.virtualScrollerViewChild.nativeElement)/i||1,r=this.scrollTableViewChild.nativeElement.style.top||"0";if(this.scrollBodyViewChild.nativeElement.scrollTop+n>parseFloat(r)+l||this.scrollBodyViewChild.nativeElement.scrollTops.DomHandler.getOuterHeight(this.scrollBodyViewChild.nativeElement)},e.prototype.alignScrollBar=function(){if(!this.frozen){var e=this.hasVerticalOverflow()?s.DomHandler.calculateScrollbarWidth():0;this.scrollHeaderBoxViewChild.nativeElement.style.marginRight=e+"px",this.scrollFooterBoxViewChild&&this.scrollFooterBoxViewChild.nativeElement&&(this.scrollFooterBoxViewChild.nativeElement.style.marginRight=e+"px")}this.initialized=!1},e.prototype.ngOnDestroy=function(){this.unbindEvents(),this.frozenSiblingBody=null,this.subscription&&this.subscription.unsubscribe(),this.totalRecordsSubscription&&this.totalRecordsSubscription.unsubscribe(),this.columnsSubscription&&this.columnsSubscription.unsubscribe(),this.initialized=!1},l([o.Input("pScrollableView"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.ViewChild("scrollHeader"),i("design:type",o.ElementRef)],e.prototype,"scrollHeaderViewChild",void 0),l([o.ViewChild("scrollHeaderBox"),i("design:type",o.ElementRef)],e.prototype,"scrollHeaderBoxViewChild",void 0),l([o.ViewChild("scrollBody"),i("design:type",o.ElementRef)],e.prototype,"scrollBodyViewChild",void 0),l([o.ViewChild("scrollTable"),i("design:type",o.ElementRef)],e.prototype,"scrollTableViewChild",void 0),l([o.ViewChild("scrollFooter"),i("design:type",o.ElementRef)],e.prototype,"scrollFooterViewChild",void 0),l([o.ViewChild("scrollFooterBox"),i("design:type",o.ElementRef)],e.prototype,"scrollFooterBoxViewChild",void 0),l([o.ViewChild("virtualScroller"),i("design:type",o.ElementRef)],e.prototype,"virtualScrollerViewChild",void 0),l([o.Input(),i("design:type",String),i("design:paramtypes",[String])],e.prototype,"scrollHeight",null),l([o.Component({selector:"[pScrollableView]",template:'\n
    \n
    \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n \n '})],e)}();t.ScrollableView=m;var v=function(){function e(e){var t=this;this.dt=e,this.isEnabled()&&(this.subscription=this.dt.tableService.sortSource$.subscribe(function(e){t.updateSortState()}))}return e.prototype.ngOnInit=function(){this.isEnabled()&&this.updateSortState()},e.prototype.updateSortState=function(){this.sorted=this.dt.isSorted(this.field)},e.prototype.onClick=function(e){this.isEnabled()&&(this.updateSortState(),this.dt.sort({originalEvent:e,field:this.field}),s.DomHandler.clearSelection())},e.prototype.onEnterKey=function(e){this.onClick(e)},e.prototype.isEnabled=function(){return!0!==this.pSortableColumnDisabled},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input("pSortableColumn"),i("design:type",String)],e.prototype,"field",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pSortableColumnDisabled",void 0),l([o.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[MouseEvent]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.HostListener("keydown.enter",["$event"]),i("design:type",Function),i("design:paramtypes",[MouseEvent]),i("design:returntype",void 0)],e.prototype,"onEnterKey",null),l([o.Directive({selector:"[pSortableColumn]",host:{"[class.ui-sortable-column]":"isEnabled()","[class.ui-state-highlight]":"sorted","[attr.tabindex]":'isEnabled() ? "0" : null'}})],e)}();t.SortableColumn=v;var y=function(){function e(e){var t=this;this.dt=e,this.subscription=this.dt.tableService.sortSource$.subscribe(function(e){t.updateSortState()})}return e.prototype.ngOnInit=function(){this.updateSortState()},e.prototype.onClick=function(e){e.preventDefault()},e.prototype.updateSortState=function(){if("single"===this.dt.sortMode)this.sortOrder=this.dt.isSorted(this.field)?this.dt.sortOrder:0;else if("multiple"===this.dt.sortMode){var e=this.dt.getSortMeta(this.field);this.sortOrder=e?e.order:0}},Object.defineProperty(e.prototype,"ariaText",{get:function(){var e;switch(this.sortOrder){case 1:e=this.ariaLabelAsc;break;case-1:e=this.ariaLabelDesc;break;default:e=this.ariaLabel}return e},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input(),i("design:type",String)],e.prototype,"field",void 0),l([o.Input(),i("design:type",String)],e.prototype,"ariaLabel",void 0),l([o.Input(),i("design:type",String)],e.prototype,"ariaLabelDesc",void 0),l([o.Input(),i("design:type",String)],e.prototype,"ariaLabelAsc",void 0),l([o.Component({selector:"p-sortIcon",template:"\n \n "})],e)}();t.SortIcon=y;var b=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.isEnabled()&&(this.subscription=this.dt.tableService.selectionSource$.subscribe(function(){n.selected=n.dt.isSelected(n.data)}))}return e.prototype.ngOnInit=function(){this.isEnabled()&&(this.selected=this.dt.isSelected(this.data))},e.prototype.onClick=function(e){this.isEnabled()&&this.dt.handleRowClick({originalEvent:e,rowData:this.data,rowIndex:this.index})},e.prototype.onTouchEnd=function(e){this.isEnabled()&&this.dt.handleRowTouchEnd(e)},e.prototype.onKeyDown=function(e){if(this.isEnabled()){var t=e.target;switch(e.which){case 40:var n=this.findNextSelectableRow(t);n&&n.focus(),e.preventDefault();break;case 38:var l=this.findPrevSelectableRow(t);l&&l.focus(),e.preventDefault();break;case 13:this.dt.handleRowClick({originalEvent:e,rowData:this.data,rowIndex:this.index})}}},e.prototype.findNextSelectableRow=function(e){var t=e.nextElementSibling;return t?s.DomHandler.hasClass(t,"ui-selectable-row")?t:this.findNextSelectableRow(t):null},e.prototype.findPrevSelectableRow=function(e){var t=e.previousElementSibling;return t?s.DomHandler.hasClass(t,"ui-selectable-row")?t:this.findPrevSelectableRow(t):null},e.prototype.isEnabled=function(){return!0!==this.pSelectableRowDisabled},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input("pSelectableRow"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input("pSelectableRowIndex"),i("design:type",Number)],e.prototype,"index",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pSelectableRowDisabled",void 0),l([o.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.HostListener("touchend",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onTouchEnd",null),l([o.HostListener("keydown",["$event"]),i("design:type",Function),i("design:paramtypes",[KeyboardEvent]),i("design:returntype",void 0)],e.prototype,"onKeyDown",null),l([o.Directive({selector:"[pSelectableRow]",host:{"[class.ui-selectable-row]":"isEnabled()","[class.ui-state-highlight]":"selected","[attr.tabindex]":"isEnabled() ? 0 : undefined"}})],e)}();t.SelectableRow=b;var C=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.isEnabled()&&(this.subscription=this.dt.tableService.selectionSource$.subscribe(function(){n.selected=n.dt.isSelected(n.data)}))}return e.prototype.ngOnInit=function(){this.isEnabled()&&(this.selected=this.dt.isSelected(this.data))},e.prototype.onClick=function(e){this.isEnabled()&&this.dt.handleRowClick({originalEvent:e,rowData:this.data,rowIndex:this.index})},e.prototype.isEnabled=function(){return!0!==this.pSelectableRowDisabled},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input("pSelectableRowDblClick"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input("pSelectableRowIndex"),i("design:type",Number)],e.prototype,"index",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pSelectableRowDisabled",void 0),l([o.HostListener("dblclick",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.Directive({selector:"[pSelectableRowDblClick]",host:{"[class.ui-state-highlight]":"selected"}})],e)}();t.SelectableRowDblClick=C;var w=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.isEnabled()&&(this.subscription=this.dt.tableService.contextMenuSource$.subscribe(function(e){n.selected=n.dt.equals(n.data,e)}))}return e.prototype.onContextMenu=function(e){this.isEnabled()&&(this.dt.handleRowRightClick({originalEvent:e,rowData:this.data}),e.preventDefault())},e.prototype.isEnabled=function(){return!0!==this.pContextMenuRowDisabled},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input("pContextMenuRow"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pContextMenuRowDisabled",void 0),l([o.HostListener("contextmenu",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onContextMenu",null),l([o.Directive({selector:"[pContextMenuRow]",host:{"[class.ui-contextmenu-selected]":"selected"}})],e)}();t.ContextMenuRow=w;var _=function(){function e(e){this.dt=e}return e.prototype.onClick=function(e){this.isEnabled()&&(this.dt.toggleRow(this.data,e),e.preventDefault())},e.prototype.isEnabled=function(){return!0!==this.pRowTogglerDisabled},l([o.Input("pRowToggler"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pRowTogglerDisabled",void 0),l([o.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.Directive({selector:"[pRowToggler]"})],e)}();t.RowToggler=_;var x=function(){function e(e,t,n){this.dt=e,this.el=t,this.zone=n}return e.prototype.ngAfterViewInit=function(){var e=this;this.isEnabled()&&(s.DomHandler.addClass(this.el.nativeElement,"ui-resizable-column"),this.resizer=document.createElement("span"),this.resizer.className="ui-column-resizer ui-clickable",this.el.nativeElement.appendChild(this.resizer),this.zone.runOutsideAngular(function(){e.resizerMouseDownListener=e.onMouseDown.bind(e),e.resizer.addEventListener("mousedown",e.resizerMouseDownListener)}))},e.prototype.bindDocumentEvents=function(){var e=this;this.zone.runOutsideAngular(function(){e.documentMouseMoveListener=e.onDocumentMouseMove.bind(e),document.addEventListener("mousemove",e.documentMouseMoveListener),e.documentMouseUpListener=e.onDocumentMouseUp.bind(e),document.addEventListener("mouseup",e.documentMouseUpListener)})},e.prototype.unbindDocumentEvents=function(){this.documentMouseMoveListener&&(document.removeEventListener("mousemove",this.documentMouseMoveListener),this.documentMouseMoveListener=null),this.documentMouseUpListener&&(document.removeEventListener("mouseup",this.documentMouseUpListener),this.documentMouseUpListener=null)},e.prototype.onMouseDown=function(e){this.dt.onColumnResizeBegin(e),this.bindDocumentEvents()},e.prototype.onDocumentMouseMove=function(e){this.dt.onColumnResize(e)},e.prototype.onDocumentMouseUp=function(e){this.dt.onColumnResizeEnd(e,this.el.nativeElement),this.unbindDocumentEvents()},e.prototype.isEnabled=function(){return!0!==this.pResizableColumnDisabled},e.prototype.ngOnDestroy=function(){this.resizerMouseDownListener&&this.resizer.removeEventListener("mousedown",this.resizerMouseDownListener),this.unbindDocumentEvents()},l([o.Input(),i("design:type",Boolean)],e.prototype,"pResizableColumnDisabled",void 0),l([o.Directive({selector:"[pResizableColumn]"})],e)}();t.ResizableColumn=x;var S=function(){function e(e,t,n){this.dt=e,this.el=t,this.zone=n}return e.prototype.ngAfterViewInit=function(){this.isEnabled()&&this.bindEvents()},e.prototype.bindEvents=function(){var e=this;this.zone.runOutsideAngular(function(){e.mouseDownListener=e.onMouseDown.bind(e),e.el.nativeElement.addEventListener("mousedown",e.mouseDownListener),e.dragStartListener=e.onDragStart.bind(e),e.el.nativeElement.addEventListener("dragstart",e.dragStartListener),e.dragOverListener=e.onDragEnter.bind(e),e.el.nativeElement.addEventListener("dragover",e.dragOverListener),e.dragEnterListener=e.onDragEnter.bind(e),e.el.nativeElement.addEventListener("dragenter",e.dragEnterListener),e.dragLeaveListener=e.onDragLeave.bind(e),e.el.nativeElement.addEventListener("dragleave",e.dragLeaveListener)})},e.prototype.unbindEvents=function(){this.mouseDownListener&&(document.removeEventListener("mousedown",this.mouseDownListener),this.mouseDownListener=null),this.dragOverListener&&(document.removeEventListener("dragover",this.dragOverListener),this.dragOverListener=null),this.dragEnterListener&&(document.removeEventListener("dragenter",this.dragEnterListener),this.dragEnterListener=null),this.dragEnterListener&&(document.removeEventListener("dragenter",this.dragEnterListener),this.dragEnterListener=null),this.dragLeaveListener&&(document.removeEventListener("dragleave",this.dragLeaveListener),this.dragLeaveListener=null)},e.prototype.onMouseDown=function(e){this.el.nativeElement.draggable="INPUT"!==e.target.nodeName&&"TEXTAREA"!==e.target.nodeName&&!s.DomHandler.hasClass(e.target,"ui-column-resizer")},e.prototype.onDragStart=function(e){this.dt.onColumnDragStart(e,this.el.nativeElement)},e.prototype.onDragOver=function(e){e.preventDefault()},e.prototype.onDragEnter=function(e){this.dt.onColumnDragEnter(e,this.el.nativeElement)},e.prototype.onDragLeave=function(e){this.dt.onColumnDragLeave(e)},e.prototype.onDrop=function(e){this.isEnabled()&&this.dt.onColumnDrop(e,this.el.nativeElement)},e.prototype.isEnabled=function(){return!0!==this.pReorderableColumnDisabled},e.prototype.ngOnDestroy=function(){this.unbindEvents()},l([o.Input(),i("design:type",Boolean)],e.prototype,"pReorderableColumnDisabled",void 0),l([o.HostListener("drop",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onDrop",null),l([o.Directive({selector:"[pReorderableColumn]"})],e)}();t.ReorderableColumn=S;var E=function(){function e(e,t,n){this.dt=e,this.el=t,this.zone=n}return e.prototype.ngAfterViewInit=function(){this.isEnabled()&&s.DomHandler.addClass(this.el.nativeElement,"ui-editable-column")},e.prototype.onClick=function(e){if(this.isEnabled())if(this.dt.editingCellClick=!0,this.dt.editingCell){if(this.dt.editingCell!==this.el.nativeElement){if(!this.dt.isEditingCellValid())return;s.DomHandler.removeClass(this.dt.editingCell,"ui-editing-cell"),this.openCell()}}else this.openCell()},e.prototype.openCell=function(){var e=this;this.dt.updateEditingCell(this.el.nativeElement),s.DomHandler.addClass(this.el.nativeElement,"ui-editing-cell"),this.dt.onEditInit.emit({field:this.field,data:this.data}),this.zone.runOutsideAngular(function(){setTimeout(function(){var t=s.DomHandler.findSingle(e.el.nativeElement,"input, textarea");t&&t.focus()},50)})},e.prototype.closeEditingCell=function(){s.DomHandler.removeClass(this.dt.editingCell,"ui-editing-cell"),this.dt.editingCell=null,this.dt.unbindDocumentEditListener()},e.prototype.onKeyDown=function(e){this.isEnabled()&&(13==e.keyCode?(this.dt.isEditingCellValid()&&(this.closeEditingCell(),this.dt.onEditComplete.emit({field:this.field,data:this.data})),e.preventDefault()):27==e.keyCode?(this.dt.isEditingCellValid()&&(this.closeEditingCell(),this.dt.onEditCancel.emit({field:this.field,data:this.data})),e.preventDefault()):9==e.keyCode&&(this.dt.onEditComplete.emit({field:this.field,data:this.data}),e.shiftKey?this.moveToPreviousCell(e):this.moveToNextCell(e)))},e.prototype.findCell=function(e){if(e){for(var t=e;t&&!s.DomHandler.hasClass(t,"ui-editing-cell");)t=t.parentElement;return t}return null},e.prototype.moveToPreviousCell=function(e){var t=this.findCell(e.target),n=this.findPreviousEditableColumn(t);n&&(s.DomHandler.invokeElementMethod(e.target,"blur"),s.DomHandler.invokeElementMethod(n,"click"),e.preventDefault())},e.prototype.moveToNextCell=function(e){var t=this.findCell(e.target),n=this.findNextEditableColumn(t);n&&(s.DomHandler.invokeElementMethod(e.target,"blur"),s.DomHandler.invokeElementMethod(n,"click"),e.preventDefault())},e.prototype.findPreviousEditableColumn=function(e){var t=e.previousElementSibling;if(!t){var n=e.parentElement.previousElementSibling;n&&(t=n.lastElementChild)}return t?s.DomHandler.hasClass(t,"ui-editable-column")?t:this.findPreviousEditableColumn(t):null},e.prototype.findNextEditableColumn=function(e){var t=e.nextElementSibling;if(!t){var n=e.parentElement.nextElementSibling;n&&(t=n.firstElementChild)}return t?s.DomHandler.hasClass(t,"ui-editable-column")?t:this.findNextEditableColumn(t):null},e.prototype.isEnabled=function(){return!0!==this.pEditableColumnDisabled},l([o.Input("pEditableColumn"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input("pEditableColumnField"),i("design:type",Object)],e.prototype,"field",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pEditableColumnDisabled",void 0),l([o.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[MouseEvent]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.HostListener("keydown",["$event"]),i("design:type",Function),i("design:paramtypes",[KeyboardEvent]),i("design:returntype",void 0)],e.prototype,"onKeyDown",null),l([o.Directive({selector:"[pEditableColumn]"})],e)}();t.EditableColumn=E;var I=function(){function e(e,t){this.dt=e,this.editableColumn=t}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"input":e.inputTemplate=t.template;break;case"output":e.outputTemplate=t.template}})},l([o.ContentChildren(u.PrimeTemplate),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.Component({selector:"p-cellEditor",template:'\n \n \n \n \n \n \n '})],e)}();t.CellEditor=I;var O=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.subscription=this.dt.tableService.selectionSource$.subscribe(function(){n.checked=n.dt.isSelected(n.value)})}return e.prototype.ngOnInit=function(){this.checked=this.dt.isSelected(this.value)},e.prototype.onClick=function(e){this.disabled||this.dt.toggleRowWithRadio({originalEvent:e,rowIndex:this.index},this.value),s.DomHandler.clearSelection()},e.prototype.onFocus=function(){s.DomHandler.addClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.onBlur=function(){s.DomHandler.removeClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"value",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"index",void 0),l([o.ViewChild("box"),i("design:type",o.ElementRef)],e.prototype,"boxViewChild",void 0),l([o.Component({selector:"p-tableRadioButton",template:'\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n '})],e)}();t.TableRadioButton=O;var T=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.subscription=this.dt.tableService.selectionSource$.subscribe(function(){n.checked=n.dt.isSelected(n.value)})}return e.prototype.ngOnInit=function(){this.checked=this.dt.isSelected(this.value)},e.prototype.onClick=function(e){this.disabled||this.dt.toggleRowWithCheckbox({originalEvent:e,rowIndex:this.index},this.value),s.DomHandler.clearSelection()},e.prototype.onFocus=function(){s.DomHandler.addClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.onBlur=function(){s.DomHandler.removeClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"value",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"index",void 0),l([o.ViewChild("box"),i("design:type",o.ElementRef)],e.prototype,"boxViewChild",void 0),l([o.Component({selector:"p-tableCheckbox",template:'\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n '})],e)}();t.TableCheckbox=T;var D=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.valueChangeSubscription=this.dt.tableService.valueSource$.subscribe(function(){n.checked=n.updateCheckedState()}),this.selectionChangeSubscription=this.dt.tableService.selectionSource$.subscribe(function(){n.checked=n.updateCheckedState()})}return e.prototype.ngOnInit=function(){this.checked=this.updateCheckedState()},e.prototype.onClick=function(e,t){this.disabled||this.dt.value&&this.dt.value.length>0&&this.dt.toggleRowsWithCheckbox(e,!t),s.DomHandler.clearSelection()},e.prototype.onFocus=function(){s.DomHandler.addClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.onBlur=function(){s.DomHandler.removeClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.isDisabled=function(){return this.disabled||!this.dt.value||!this.dt.value.length},e.prototype.ngOnDestroy=function(){this.selectionChangeSubscription&&this.selectionChangeSubscription.unsubscribe(),this.valueChangeSubscription&&this.valueChangeSubscription.unsubscribe()},e.prototype.updateCheckedState=function(){var e;return this.dt.filteredValue?(e=this.dt.filteredValue)&&e.length>0&&this.dt.selection&&this.dt.selection.length>0&&this.isAllFilteredValuesChecked():(e=this.dt.value)&&e.length>0&&this.dt.selection&&this.dt.selection.length>0&&this.dt.selection.length===e.length},e.prototype.isAllFilteredValuesChecked=function(){if(this.dt.filteredValue){for(var e=0,t=this.dt.filteredValue;e\n
    \n \n
    \n
    \n \n
    \n \n '})],e)}();t.TableHeaderCheckbox=D;var R=function(){function e(e){this.el=e}return e.prototype.ngAfterViewInit=function(){s.DomHandler.addClass(this.el.nativeElement,"ui-table-reorderablerow-handle")},l([o.Input("pReorderableRowHandle"),i("design:type",Number)],e.prototype,"index",void 0),l([o.Directive({selector:"[pReorderableRowHandle]"})],e)}();t.ReorderableRowHandle=R;var k=function(){function e(e,t,n){this.dt=e,this.el=t,this.zone=n}return e.prototype.ngAfterViewInit=function(){this.isEnabled()&&(this.el.nativeElement.droppable=!0,this.bindEvents())},e.prototype.bindEvents=function(){var e=this;this.zone.runOutsideAngular(function(){e.mouseDownListener=e.onMouseDown.bind(e),e.el.nativeElement.addEventListener("mousedown",e.mouseDownListener),e.dragStartListener=e.onDragStart.bind(e),e.el.nativeElement.addEventListener("dragstart",e.dragStartListener),e.dragEndListener=e.onDragEnd.bind(e),e.el.nativeElement.addEventListener("dragend",e.dragEndListener),e.dragOverListener=e.onDragOver.bind(e),e.el.nativeElement.addEventListener("dragover",e.dragOverListener),e.dragLeaveListener=e.onDragLeave.bind(e),e.el.nativeElement.addEventListener("dragleave",e.dragLeaveListener)})},e.prototype.unbindEvents=function(){this.mouseDownListener&&(document.removeEventListener("mousedown",this.mouseDownListener),this.mouseDownListener=null),this.dragStartListener&&(document.removeEventListener("dragstart",this.dragStartListener),this.dragStartListener=null),this.dragEndListener&&(document.removeEventListener("dragend",this.dragEndListener),this.dragEndListener=null),this.dragOverListener&&(document.removeEventListener("dragover",this.dragOverListener),this.dragOverListener=null),this.dragLeaveListener&&(document.removeEventListener("dragleave",this.dragLeaveListener),this.dragLeaveListener=null)},e.prototype.onMouseDown=function(e){this.el.nativeElement.draggable=!!s.DomHandler.hasClass(e.target,"ui-table-reorderablerow-handle")},e.prototype.onDragStart=function(e){this.dt.onRowDragStart(e,this.index)},e.prototype.onDragEnd=function(e){this.dt.onRowDragEnd(e),this.el.nativeElement.draggable=!1},e.prototype.onDragOver=function(e){this.dt.onRowDragOver(e,this.index,this.el.nativeElement),e.preventDefault()},e.prototype.onDragLeave=function(e){this.dt.onRowDragLeave(e,this.el.nativeElement)},e.prototype.isEnabled=function(){return!0!==this.pReorderableRowDisabled},e.prototype.onDrop=function(e){this.isEnabled()&&this.dt.rowDragging&&this.dt.onRowDrop(e,this.el.nativeElement),e.preventDefault()},l([o.Input("pReorderableRow"),i("design:type",Number)],e.prototype,"index",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pReorderableRowDisabled",void 0),l([o.HostListener("drop",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onDrop",null),l([o.Directive({selector:"[pReorderableRow]"})],e)}();t.ReorderableRow=k,t.TableModule=function(){return l([o.NgModule({imports:[r.CommonModule,a.PaginatorModule],exports:[f,u.SharedModule,v,b,_,w,x,S,E,I,y,O,T,D,R,k,C],declarations:[f,v,b,_,w,x,S,E,I,g,m,y,O,T,D,R,k,C]})],function(){})}()},DKTb:function(e,t,n){"use strict";function l(e){setTimeout(function(){throw e},0)}n.d(t,"a",function(){return l})},DqLj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=n("sdDj");t.DomHandler=l.DomHandler;var i=n("B58V");t.TreeDragDropService=i.TreeDragDropService;var o=n("oygf");t.ConfirmationService=o.ConfirmationService;var r=n("4Vzq");t.MessageService=r.MessageService;var u=n("6xRK");t.DialogService=u.DialogService;var a=n("V3HQ");t.DynamicDialogConfig=a.DynamicDialogConfig;var s=n("RWz4");t.DynamicDialogRef=s.DynamicDialogRef},DtyJ:function(e,t,n){"use strict";n.r(t),n.d(t,"Observable",function(){return l.a}),n.d(t,"ConnectableObservable",function(){return i.a}),n.d(t,"GroupedObservable",function(){return s}),n.d(t,"observable",function(){return d.a}),n.d(t,"Subject",function(){return a.a}),n.d(t,"BehaviorSubject",function(){return p.a}),n.d(t,"ReplaySubject",function(){return h.a}),n.d(t,"AsyncSubject",function(){return f}),n.d(t,"asapScheduler",function(){return g.a}),n.d(t,"asyncScheduler",function(){return m.a}),n.d(t,"queueScheduler",function(){return v.a}),n.d(t,"animationFrameScheduler",function(){return y.a}),n.d(t,"VirtualTimeScheduler",function(){return C}),n.d(t,"VirtualAction",function(){return w}),n.d(t,"Scheduler",function(){return _.a}),n.d(t,"Subscription",function(){return u.a}),n.d(t,"Subscriber",function(){return r.a}),n.d(t,"Notification",function(){return x.a}),n.d(t,"NotificationKind",function(){return x.b}),n.d(t,"pipe",function(){return S.a}),n.d(t,"noop",function(){return E.a}),n.d(t,"identity",function(){return I.a}),n.d(t,"isObservable",function(){return O.a}),n.d(t,"ArgumentOutOfRangeError",function(){return T.a}),n.d(t,"EmptyError",function(){return D.a}),n.d(t,"ObjectUnsubscribedError",function(){return R.a}),n.d(t,"UnsubscriptionError",function(){return k.a}),n.d(t,"TimeoutError",function(){return N}),n.d(t,"bindCallback",function(){return V}),n.d(t,"bindNodeCallback",function(){return B}),n.d(t,"combineLatest",function(){return G.a}),n.d(t,"concat",function(){return W.a}),n.d(t,"defer",function(){return q.a}),n.d(t,"empty",function(){return K.b}),n.d(t,"forkJoin",function(){return Y.a}),n.d(t,"from",function(){return Z.a}),n.d(t,"fromEvent",function(){return Q.a}),n.d(t,"fromEventPattern",function(){return J}),n.d(t,"generate",function(){return ee}),n.d(t,"iif",function(){return ne}),n.d(t,"interval",function(){return ie}),n.d(t,"merge",function(){return re.a}),n.d(t,"never",function(){return ae}),n.d(t,"of",function(){return se.a}),n.d(t,"onErrorResumeNext",function(){return ce}),n.d(t,"pairs",function(){return de}),n.d(t,"partition",function(){return me}),n.d(t,"race",function(){return Ce}),n.d(t,"range",function(){return xe}),n.d(t,"throwError",function(){return Ee.a}),n.d(t,"timer",function(){return Ie.a}),n.d(t,"using",function(){return Oe}),n.d(t,"zip",function(){return De}),n.d(t,"scheduled",function(){return Ae.a}),n.d(t,"EMPTY",function(){return K.a}),n.d(t,"NEVER",function(){return ue}),n.d(t,"config",function(){return Pe.a});var l=n("6blF"),i=n("KhEm"),o=n("mrSG"),r=n("FFOo"),u=n("pugT"),a=n("K9Ia"),s=function(e){function t(t,n,l){var i=e.call(this)||this;return i.key=t,i.groupSubject=n,i.refCountSubscription=l,i}return o.__extends(t,e),t.prototype._subscribe=function(e){var t=new u.a,n=this.refCountSubscription,l=this.groupSubject;return n&&!n.closed&&t.add(new c(n)),t.add(l.subscribe(e)),t},t}(l.a),c=function(e){function t(t){var n=e.call(this)||this;return n.parent=t,t.count++,n}return o.__extends(t,e),t.prototype.unsubscribe=function(){var t=this.parent;t.closed||this.closed||(e.prototype.unsubscribe.call(this),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())},t}(u.a),d=n("xTla"),p=n("26FU"),h=n("S5bw"),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.value=null,t.hasNext=!1,t.hasCompleted=!1,t}return o.__extends(t,e),t.prototype._subscribe=function(t){return this.hasError?(t.error(this.thrownError),u.a.EMPTY):this.hasCompleted&&this.hasNext?(t.next(this.value),t.complete(),u.a.EMPTY):e.prototype._subscribe.call(this,t)},t.prototype.next=function(e){this.hasCompleted||(this.value=e,this.hasNext=!0)},t.prototype.error=function(t){this.hasCompleted||e.prototype.error.call(this,t)},t.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&e.prototype.next.call(this,this.value),e.prototype.complete.call(this)},t}(a.a),g=n("KQya"),m=n("T1DM"),v=n("zo3G"),y=n("tHPV"),b=n("h9Dq"),C=function(e){function t(t,n){void 0===t&&(t=w),void 0===n&&(n=Number.POSITIVE_INFINITY);var l=e.call(this,t,function(){return l.frame})||this;return l.maxFrames=n,l.frame=0,l.index=-1,l}return o.__extends(t,e),t.prototype.flush=function(){for(var e,t,n=this.actions,l=this.maxFrames;(t=n[0])&&t.delay<=l&&(n.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=n.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(n("CS9Q").a),w=function(e){function t(t,n,l){void 0===l&&(l=t.index+=1);var i=e.call(this,t,n)||this;return i.scheduler=t,i.work=n,i.index=l,i.active=!0,i.index=t.index=l,i}return o.__extends(t,e),t.prototype.schedule=function(n,l){if(void 0===l&&(l=0),!this.id)return e.prototype.schedule.call(this,n,l);this.active=!1;var i=new t(this.scheduler,this.work);return this.add(i),i.schedule(n,l)},t.prototype.requestAsyncId=function(e,n,l){void 0===l&&(l=0),this.delay=e.frame+l;var i=e.actions;return i.push(this),i.sort(t.sortActions),!0},t.prototype.recycleAsyncId=function(e,t,n){void 0===n&&(n=0)},t.prototype._execute=function(t,n){if(!0===this.active)return e.prototype._execute.call(this,t,n)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},t}(b.a),_=n("siIJ"),x=n("60iU"),S=n("y3By"),E=n("+umK"),I=n("mChF"),O=n("zrt+"),T=n("b7mW"),D=n("3fWJ"),R=n("8g8A"),k=n("awvh");function M(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}M.prototype=Object.create(Error.prototype);var N=M,L=n("67Y/"),A=n("1fDf"),P=n("isby"),F=n("nkY7");function V(e,t,n){if(t){if(!Object(F.a)(t))return function(){for(var l=[],i=0;i=t){l.complete();break}if(l.next(o++),l.closed)break}})}function Se(e){var t=e.start,n=e.index,l=e.subscriber;n>=e.count?l.complete():(l.next(t),l.closed||(e.index=n+1,e.start=t+1,this.schedule(e)))}var Ee=n("XlPw"),Ie=n("gI3B");function Oe(e,t){return new l.a(function(n){var l,i;try{l=e()}catch(r){return void n.error(r)}try{i=t(l)}catch(r){return void n.error(r)}var o=(i?Object(Z.a)(i):K.a).subscribe(n);return function(){o.unsubscribe(),l&&l.unsubscribe()}})}var Te=n("En8+");function De(){for(var e=[],t=0;tthis.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),Le=function(e){function t(t,n,l){var i=e.call(this,t)||this;return i.parent=n,i.observable=l,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return o.__extends(t,e),t.prototype[Te.a]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e,t,n,l,i){this.buffer.push(t),this.parent.checkIterators()},t.prototype.subscribe=function(e,t){return Object(be.a)(this,this.observable,this,t)},t}(ye.a),Ae=n("i4X3"),Pe=n("iLxQ")},EBtg:function(e,t,n){"use strict";var l=n("2KeD"),i=n("n73p"),o=n("2qMH"),r=n("LJ/p"),u=n("HZF8"),a=n("90cg"),s=n("yRPT"),c=n("0alx");t.scheduled=function(e,t){if(null!=e){if(u.isInteropObservable(e))return l.scheduleObservable(e,t);if(a.isPromise(e))return i.schedulePromise(e,t);if(s.isArrayLike(e))return o.scheduleArray(e,t);if(c.isIterable(e)||"string"==typeof e)return r.scheduleIterable(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}},EPYN:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("VSng"),a=function(){return l([o.Component({selector:"p-inplaceDisplay",template:""})],function(){})}();t.InplaceDisplay=a;var s=function(){return l([o.Component({selector:"p-inplaceContent",template:""})],function(){})}();t.InplaceContent=s;var c=function(){function e(){this.onActivate=new o.EventEmitter,this.onDeactivate=new o.EventEmitter}return e.prototype.activate=function(e){this.disabled||(this.active=!0,this.onActivate.emit(e))},e.prototype.deactivate=function(e){this.disabled||(this.active=!1,this.hover=!1,this.onDeactivate.emit(e))},l([o.Input(),i("design:type",Boolean)],e.prototype,"active",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"closable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onActivate",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onDeactivate",void 0),l([o.Component({selector:"p-inplace",template:'\n
    \n
    \n \n
    \n
    \n \n \n
    \n
    \n '})],e)}();t.Inplace=c,t.InplaceModule=function(){return l([o.NgModule({imports:[r.CommonModule,u.ButtonModule],exports:[c,a,s,u.ButtonModule],declarations:[c,a,s]})],function(){})}()},EVdn:function(e,t,n){var l;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],r=Object.getPrototypeOf,u=o.slice,a=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},s=o.push,c=o.indexOf,d={},p=d.toString,h=d.hasOwnProperty,f=h.toString,g=f.call(Object),m={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},y=function(e){return null!=e&&e===e.window},b=n.document,C={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var l,i,o=(n=n||b).createElement("script");if(o.text=e,t)for(l in C)(i=t[l]||t.getAttribute&&t.getAttribute(l))&&o.setAttribute(l,i);n.head.appendChild(o).parentNode.removeChild(o)}function _(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[p.call(e)]||"object":typeof e}var x=function(e,t){return new x.fn.init(e,t)};function S(e){var t=!!e&&"length"in e&&e.length,n=_(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:"3.5.0",constructor:x,length:0,toArray:function(){return u.call(this)},get:function(e){return null==e?u.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(x.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+F+")"+F+"*"),G=new RegExp(F+"|>"),W=new RegExp(H),q=new RegExp("^"+V+"$"),K={ID:new RegExp("^#("+V+")"),CLASS:new RegExp("^\\.("+V+")"),TAG:new RegExp("^("+V+"|[*])"),ATTR:new RegExp("^"+j),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+F+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},le=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){p()},re=Ce(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{N.apply(R=L.call(w.childNodes),w.childNodes)}catch(Ee){N={apply:R.length?function(e,t){M.apply(e,L.call(t))}:function(e,t){for(var n=e.length,l=0;e[n++]=t[l++];);e.length=n-1}}}function ue(e,t,l,i){var o,u,s,c,d,f,v,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(l=l||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return l;if(!i&&(p(t),t=t||h,g)){if(11!==w&&(d=J.exec(e)))if(o=d[1]){if(9===w){if(!(s=t.getElementById(o)))return l;if(s.id===o)return l.push(s),l}else if(y&&(s=y.getElementById(o))&&b(t,s)&&s.id===o)return l.push(s),l}else{if(d[2])return N.apply(l,t.getElementsByTagName(e)),l;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return N.apply(l,t.getElementsByClassName(o)),l}if(n.qsa&&!O[e+" "]&&(!m||!m.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===w&&(G.test(e)||$.test(e))){for((y=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((c=t.getAttribute("id"))?c=c.replace(le,ie):t.setAttribute("id",c=C)),u=(f=r(e)).length;u--;)f[u]=(c?"#"+c:":scope")+" "+be(f[u]);v=f.join(",")}try{return N.apply(l,y.querySelectorAll(v)),l}catch(_){O(e,!0)}finally{c===C&&t.removeAttribute("id")}}}return a(e.replace(z,"$1"),t,l,i)}function ae(){var e=[];return function t(n,i){return e.push(n+" ")>l.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function se(e){return e[C]=!0,e}function ce(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(Ee){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=n.length;i--;)l.attrHandle[n[i]]=t}function pe(e,t){var n=t&&e,l=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(l)return l;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ge(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&re(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return se(function(t){return t=+t,se(function(n,l){for(var i,o=e([],n.length,t),r=o.length;r--;)n[i=o[r]]&&(n[i]=!(l[i]=n[i]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ue.support={},o=ue.isXML=function(e){var t=(e.ownerDocument||e).documentElement;return!Y.test(e.namespaceURI||t&&t.nodeName||"HTML")},p=ue.setDocument=function(e){var t,i,r=e?e.ownerDocument||e:w;return r!=h&&9===r.nodeType&&r.documentElement?(f=(h=r).documentElement,g=!o(h),w!=h&&(i=h.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=ce(function(e){return f.appendChild(e).appendChild(h.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),n.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ce(function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=X.test(h.getElementsByClassName),n.getById=ce(function(e){return f.appendChild(e).id=C,!h.getElementsByName||!h.getElementsByName(C).length}),n.getById?(l.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},l.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(l.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},l.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,l,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),l=0;o=i[l++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),l.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,l=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&l.push(n);return l}return o},l.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],m=[],(n.qsa=X.test(h.querySelectorAll))&&(ce(function(e){var t;f.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+F+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+F+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+C+"-]").length||m.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+F+"*name"+F+"*="+F+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+C+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+F+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=X.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ce(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",H)}),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),t=X.test(f.compareDocumentPosition),b=t||X.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,l=t&&t.parentNode;return e===l||!(!l||1!==l.nodeType||!(n.contains?n.contains(l):e.compareDocumentPosition&&16&e.compareDocumentPosition(l)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return d=!0,0;var l=!e.compareDocumentPosition-!t.compareDocumentPosition;return l||(1&(l=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===l?e==h||e.ownerDocument==w&&b(w,e)?-1:t==h||t.ownerDocument==w&&b(w,t)?1:c?A(c,e)-A(c,t):0:4&l?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,l=0,i=e.parentNode,o=t.parentNode,r=[e],u=[t];if(!i||!o)return e==h?-1:t==h?1:i?-1:o?1:c?A(c,e)-A(c,t):0;if(i===o)return pe(e,t);for(n=e;n=n.parentNode;)r.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;r[l]===u[l];)l++;return l?pe(r[l],u[l]):r[l]==w?-1:u[l]==w?1:0},h):h},ue.matches=function(e,t){return ue(e,null,null,t)},ue.matchesSelector=function(e,t){if(p(e),n.matchesSelector&&g&&!O[t+" "]&&(!v||!v.test(t))&&(!m||!m.test(t)))try{var l=y.call(e,t);if(l||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return l}catch(Ee){O(t,!0)}return ue(t,h,null,[e]).length>0},ue.contains=function(e,t){return(e.ownerDocument||e)!=h&&p(e),b(e,t)},ue.attr=function(e,t){(e.ownerDocument||e)!=h&&p(e);var i=l.attrHandle[t.toLowerCase()],o=i&&D.call(l.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ue.escape=function(e){return(e+"").replace(le,ie)},ue.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ue.uniqueSort=function(e){var t,l=[],i=0,o=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(T),d){for(;t=e[o++];)t===e[o]&&(i=l.push(o));for(;i--;)e.splice(l[i],1)}return c=null,e},i=ue.getText=function(e){var t,n="",l=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[l++];)n+=i(t);return n},(l=ue.selectors={cacheLength:50,createPseudo:se,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ue.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ue.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=r(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|"+F+")"+e+"("+F+"|$)"))&&S(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(l){var i=ue.attr(l,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,l,i){var o="nth"!==e.slice(0,3),r="last"!==e.slice(-4),u="of-type"===t;return 1===l&&0===i?function(e){return!!e.parentNode}:function(t,n,a){var s,c,d,p,h,f,g=o!==r?"nextSibling":"previousSibling",m=t.parentNode,v=u&&t.nodeName.toLowerCase(),y=!a&&!u,b=!1;if(m){if(o){for(;g;){for(p=t;p=p[g];)if(u?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;f=g="only"===e&&!f&&"nextSibling"}return!0}if(f=[r?m.firstChild:m.lastChild],r&&y){for(b=(h=(s=(c=(d=(p=m)[C]||(p[C]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===_&&s[1])&&s[2],p=h&&m.childNodes[h];p=++h&&p&&p[g]||(b=h=0)||f.pop();)if(1===p.nodeType&&++b&&p===t){c[e]=[_,h,b];break}}else if(y&&(b=h=(s=(c=(d=(p=t)[C]||(p[C]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===_&&s[1]),!1===b)for(;(p=++h&&p&&p[g]||(b=h=0)||f.pop())&&((u?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++b||(y&&((c=(d=p[C]||(p[C]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[_,b]),p!==t)););return(b-=i)===l||b%l==0&&b/l>=0}}},PSEUDO:function(e,t){var n,i=l.pseudos[e]||l.setFilters[e.toLowerCase()]||ue.error("unsupported pseudo: "+e);return i[C]?i(t):i.length>1?(n=[e,e,"",t],l.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){for(var l,o=i(e,t),r=o.length;r--;)e[l=A(e,o[r])]=!(n[l]=o[r])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],l=u(e.replace(z,"$1"));return l[C]?se(function(e,t,n,i){for(var o,r=l(e,null,i,[]),u=e.length;u--;)(o=r[u])&&(e[u]=!(t[u]=o))}):function(e,i,o){return t[0]=e,l(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return ue(e,t).length>0}}),contains:se(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}}),lang:se(function(e){return q.test(e||"")||ue.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!l.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return Z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me(function(){return[0]}),last:me(function(e,t){return[t-1]}),eq:me(function(e,t,n){return[n<0?n+t:n]}),even:me(function(e,t){for(var n=0;nt?t:n;--l>=0;)e.push(l);return e}),gt:me(function(e,t,n){for(var l=n<0?n+t:n;++l1?function(t,n,l){for(var i=e.length;i--;)if(!e[i](t,n,l))return!1;return!0}:e[0]}function _e(e,t,n,l,i){for(var o,r=[],u=0,a=e.length,s=null!=t;u-1&&(o[s]=!(r[s]=d))}}else v=_e(v===r?v.splice(f,v.length):v),i?i(null,r,v,a):N.apply(r,v)})}function Se(e){for(var t,n,i,o=e.length,r=l.relative[e[0].type],u=r||l.relative[" "],a=r?1:0,c=Ce(function(e){return e===t},u,!0),d=Ce(function(e){return A(t,e)>-1},u,!0),p=[function(e,n,l){var i=!r&&(l||n!==s)||((t=n).nodeType?c(e,n,l):d(e,n,l));return t=null,i}];a1&&we(p),a>1&&be(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(z,"$1"),n,a0,i=e.length>0,o=function(o,r,u,a,c){var d,f,m,v=0,y="0",b=o&&[],C=[],w=s,x=o||i&&l.find.TAG("*",c),S=_+=null==w?1:Math.random()||.1,E=x.length;for(c&&(s=r==h||r||c);y!==E&&null!=(d=x[y]);y++){if(i&&d){for(f=0,r||d.ownerDocument==h||(p(d),u=!g);m=e[f++];)if(m(d,r||h,u)){a.push(d);break}c&&(_=S)}n&&((d=!m&&d)&&v--,o&&b.push(d))}if(v+=y,n&&y!==v){for(f=0;m=t[f++];)m(b,C,r,u);if(o){if(v>0)for(;y--;)b[y]||C[y]||(C[y]=k.call(a));C=_e(C)}N.apply(a,C),c&&!o&&C.length>0&&v+t.length>1&&ue.uniqueSort(a)}return c&&(_=S,s=w),b};return n?se(o):o}(o,i))).selector=e}return u},a=ue.select=function(e,t,n,i){var o,a,s,c,d,p="function"==typeof e&&e,h=!i&&r(e=p.selector||e);if(n=n||[],1===h.length){if((a=h[0]=h[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===t.nodeType&&g&&l.relative[a[1].type]){if(!(t=(l.find.ID(s.matches[0].replace(te,ne),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(o=K.needsContext.test(e)?0:a.length;o--&&!l.relative[c=(s=a[o]).type];)if((d=l.find[c])&&(i=d(s.matches[0].replace(te,ne),ee.test(a[0].type)&&ve(t.parentNode)||t))){if(a.splice(o,1),!(e=i.length&&be(a)))return N.apply(n,i),n;break}}return(p||u(e,h))(i,t,!g,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=C.split("").sort(T).join("")===C,n.detectDuplicates=!!d,p(),n.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))}),ce(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ce(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||de(P,function(e,t,n){var l;if(!n)return!0===e[t]?t.toLowerCase():(l=e.getAttributeNode(t))&&l.specified?l.value:null}),ue}(n);x.find=E,x.expr=E.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=E.uniqueSort,x.text=E.getText,x.isXMLDoc=E.isXML,x.contains=E.contains,x.escapeSelector=E.escape;var I=function(e,t,n){for(var l=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&x(e).is(n))break;l.push(e)}return l},O=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},T=x.expr.match.needsContext;function D(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var R=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function k(e,t,n){return v(t)?x.grep(e,function(e,l){return!!t.call(e,l,e)!==n}):t.nodeType?x.grep(e,function(e){return e===t!==n}):"string"!=typeof t?x.grep(e,function(e){return c.call(t,e)>-1!==n}):x.filter(t,e,n)}x.filter=function(e,t,n){var l=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===l.nodeType?x.find.matchesSelector(l,e)?[l]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},x.fn.extend({find:function(e){var t,n,l=this.length,i=this;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;t1?x.uniqueSort(n):n},filter:function(e){return this.pushStack(k(this,e||[],!1))},not:function(e){return this.pushStack(k(this,e||[],!0))},is:function(e){return!!k(this,"string"==typeof e&&T.test(e)?x(e):e||[],!1).length}});var M,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var l,i;if(!e)return this;if(n=n||M,"string"==typeof e){if(!(l="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:N.exec(e))||!l[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(l[1]){if(x.merge(this,x.parseHTML(l[1],(t=t instanceof x?t[0]:t)&&t.nodeType?t.ownerDocument||t:b,!0)),R.test(l[1])&&x.isPlainObject(t))for(l in t)v(this[l])?this[l](t[l]):this.attr(l,t[l]);return this}return(i=b.getElementById(l[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,M=x(b);var L=/^(?:parents|prev(?:Until|All))/,A={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&x.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?x.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?c.call(x(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return I(e,"parentNode")},parentsUntil:function(e,t,n){return I(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return I(e,"nextSibling")},prevAll:function(e){return I(e,"previousSibling")},nextUntil:function(e,t,n){return I(e,"nextSibling",n)},prevUntil:function(e,t,n){return I(e,"previousSibling",n)},siblings:function(e){return O((e.parentNode||{}).firstChild,e)},children:function(e){return O(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(D(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},function(e,t){x.fn[e]=function(n,l){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(l=n),l&&"string"==typeof l&&(i=x.filter(l,i)),this.length>1&&(A[e]||x.uniqueSort(i),L.test(e)&&i.reverse()),this.pushStack(i)}});var F=/[^\x20\t\r\n\f]+/g;function V(e){return e}function j(e){throw e}function H(e,t,n,l){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(l))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return x.each(e.match(F)||[],function(e,n){t[n]=!0}),t}(e):x.extend({},e);var t,n,l,i,o=[],r=[],u=-1,a=function(){for(i=i||e.once,l=t=!0;r.length;u=-1)for(n=r.shift();++u-1;)o.splice(n,1),n<=u&&u--}),this},has:function(e){return e?x.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=r=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=r=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],r.push(n),t||a()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!l}};return s},x.extend({Deferred:function(e){var t=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],l="pending",i={state:function(){return l},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,l){var i=v(e[l[4]])&&e[l[4]];o[l[1]](function(){var e=i&&i.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[l[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,l,i){var o=0;function r(e,t,l,i){return function(){var u=this,a=arguments,s=function(){var n,s;if(!(e=o&&(l!==j&&(u=void 0,a=[n]),t.rejectWith(u,a))}};e?c():(x.Deferred.getStackHook&&(c.stackTrace=x.Deferred.getStackHook()),n.setTimeout(c))}}return x.Deferred(function(n){t[0][3].add(r(0,n,v(i)?i:V,n.notifyWith)),t[1][3].add(r(0,n,v(e)?e:V)),t[2][3].add(r(0,n,v(l)?l:j))}).promise()},promise:function(e){return null!=e?x.extend(e,i):i}},o={};return x.each(t,function(e,n){var r=n[2],u=n[5];i[n[1]]=r.add,u&&r.add(function(){l=u},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),r.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=r.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,l=Array(n),i=u.call(arguments),o=x.Deferred(),r=function(e){return function(n){l[e]=this,i[e]=arguments.length>1?u.call(arguments):n,--t||o.resolveWith(l,i)}};if(t<=1&&(H(e,o.done(r(n)).resolve,o.reject,!t),"pending"===o.state()||v(i[n]&&i[n].then)))return o.then();for(;n--;)H(i[n],r(n),o.reject);return o.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&B.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){n.setTimeout(function(){throw e})};var z=x.Deferred();function U(){b.removeEventListener("DOMContentLoaded",U),n.removeEventListener("load",U),x.ready()}x.fn.ready=function(e){return z.then(e).catch(function(e){x.readyException(e)}),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||z.resolveWith(b,[x]))}}),x.ready.then=z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(x.ready):(b.addEventListener("DOMContentLoaded",U),n.addEventListener("load",U));var $=function(e,t,n,l,i,o,r){var u=0,a=e.length,s=null==n;if("object"===_(n))for(u in i=!0,n)$(e,t,u,n[u],!0,o,r);else if(void 0!==l&&(i=!0,v(l)||(r=!0),s&&(r?(t.call(e,l),t=null):(s=t,t=function(e,t,n){return s.call(x(e),n)})),t))for(;u1,null,!0)},removeData:function(e){return this.each(function(){X.remove(this,e)})}}),x.extend({queue:function(e,t,n){var l;if(e)return l=Q.get(e,t=(t||"fx")+"queue"),n&&(!l||Array.isArray(n)?l=Q.access(e,t,x.makeArray(n)):l.push(n)),l||[]},dequeue:function(e,t){var n=x.queue(e,t=t||"fx"),l=n.length,i=n.shift(),o=x._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),l--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){x.dequeue(e,t)},o)),!l&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:x.Callbacks("once memory").add(function(){Q.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,ve=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(fe=b.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),he.appendChild(fe),m.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="",m.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="",m.option=!!he.lastChild;var ye={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&D(e,t)?x.merge([e],n):n}function Ce(e,t){for(var n=0,l=e.length;n",""]);var we=/<|&#?\w+;/;function _e(e,t,n,l,i){for(var o,r,u,a,s,c,d=t.createDocumentFragment(),p=[],h=0,f=e.length;h-1)i&&i.push(o);else if(s=re(o),r=be(d.appendChild(o),"script"),s&&Ce(r),n)for(c=0;o=r[c++];)ve.test(o.type||"")&&n.push(o);return d}var xe=/^key/,Se=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function Ie(){return!0}function Oe(){return!1}function Te(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function De(e,t,n,l,i,o){var r,u;if("object"==typeof t){for(u in"string"!=typeof n&&(l=l||n,n=void 0),t)De(e,u,n,l,t[u],o);return e}if(null==l&&null==i?(i=n,l=n=void 0):null==i&&("string"==typeof n?(i=l,l=void 0):(i=l,l=n,n=void 0)),!1===i)i=Oe;else if(!i)return e;return 1===o&&(r=i,(i=function(e){return x().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=x.guid++)),e.each(function(){x.event.add(this,t,i,l,n)})}function Re(e,t,n){n?(Q.set(e,t,!1),x.event.add(e,t,{namespace:!1,handler:function(e){var l,i,o=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(x.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=u.call(arguments),Q.set(this,t,o),l=n(this,t),this[t](),o!==(i=Q.get(this,t))||l?Q.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i.value}else o.length&&(Q.set(this,t,{value:x.event.trigger(x.extend(o[0],x.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&x.event.add(e,t,Ie)}x.event={global:{},add:function(e,t,n,l,i){var o,r,u,a,s,c,d,p,h,f,g,m=Q.get(e);if(Y(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&x.find.matchesSelector(oe,i),n.guid||(n.guid=x.guid++),(a=m.events)||(a=m.events=Object.create(null)),(r=m.handle)||(r=m.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),s=(t=(t||"").match(F)||[""]).length;s--;)h=g=(u=Ee.exec(t[s])||[])[1],f=(u[2]||"").split(".").sort(),h&&(d=x.event.special[h]||{},d=x.event.special[h=(i?d.delegateType:d.bindType)||h]||{},c=x.extend({type:h,origType:g,data:l,handler:n,guid:n.guid,selector:i,needsContext:i&&x.expr.match.needsContext.test(i),namespace:f.join(".")},o),(p=a[h])||((p=a[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,l,f,r)||e.addEventListener&&e.addEventListener(h,r)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),x.event.global[h]=!0)},remove:function(e,t,n,l,i){var o,r,u,a,s,c,d,p,h,f,g,m=Q.hasData(e)&&Q.get(e);if(m&&(a=m.events)){for(s=(t=(t||"").match(F)||[""]).length;s--;)if(h=g=(u=Ee.exec(t[s])||[])[1],f=(u[2]||"").split(".").sort(),h){for(d=x.event.special[h]||{},p=a[h=(l?d.delegateType:d.bindType)||h]||[],u=u[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||u&&!u.test(c.namespace)||l&&l!==c.selector&&("**"!==l||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,d.remove&&d.remove.call(e,c));r&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,f,m.handle)||x.removeEvent(e,h,m.handle),delete a[h])}else for(h in a)x.event.remove(e,h+t[s],n,l,!0);x.isEmptyObject(a)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,l,i,o,r,u=new Array(arguments.length),a=x.event.fix(e),s=(Q.get(this,"events")||Object.create(null))[a.type]||[],c=x.event.special[a.type]||{};for(u[0]=a,t=1;t=1))for(;s!==this;s=s.parentNode||this)if(1===s.nodeType&&("click"!==e.type||!0!==s.disabled)){for(o=[],r={},n=0;n-1:x.find(i,this,null,[s]).length),r[i]&&o.push(l);o.length&&u.push({elem:s,handlers:o})}return s=this,a\s*$/g;function Le(e,t){return D(e,"table")&&D(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Ae(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Pe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,l,i,o,r,u;if(1===t.nodeType){if(Q.hasData(e)&&(u=Q.get(e).events))for(i in Q.remove(t,"handle events"),u)for(n=0,l=u[i].length;n1&&"string"==typeof f&&!m.checkClone&&Me.test(f))return e.each(function(i){var o=e.eq(i);g&&(t[0]=f.call(this,i,o.html())),Ve(o,t,n,l)});if(p&&(o=(i=_e(t,e[0].ownerDocument,!1,e,l)).firstChild,1===i.childNodes.length&&(i=o),o||l)){for(u=(r=x.map(be(i,"script"),Ae)).length;d0&&Ce(r,!d&&be(e,"script")),c},cleanData:function(e){for(var t,n,l,i=x.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[Q.expando]){if(t.events)for(l in t.events)i[l]?x.event.remove(n,l):x.removeEvent(n,l,t.handle);n[Q.expando]=void 0}n[X.expando]&&(n[X.expando]=void 0)}}}),x.fn.extend({detach:function(e){return je(this,e,!0)},remove:function(e){return je(this,e)},text:function(e){return $(this,function(e){return void 0===e?x.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Ve(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Ve(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ve(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ve(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,l=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ke.test(e)&&!ye[(me.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n3,oe.removeChild(e)),u}}))}();var We=["Webkit","Moz","ms"],qe=b.createElement("div").style,Ke={};function Ye(e){return x.cssProps[e]||Ke[e]||(e in qe?e:Ke[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=We.length;n--;)if((e=We[n]+t)in qe)return e}(e)||e)}var Ze=/^(none|table(?!-c[ea]).+)/,Qe=/^--/,Xe={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var l=le.exec(t);return l?Math.max(0,l[2]-(n||0))+(l[3]||"px"):t}function tt(e,t,n,l,i,o){var r="width"===t?1:0,u=0,a=0;if(n===(l?"border":"content"))return 0;for(;r<4;r+=2)"margin"===n&&(a+=x.css(e,n+ie[r],!0,i)),l?("content"===n&&(a-=x.css(e,"padding"+ie[r],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+ie[r]+"Width",!0,i))):(a+=x.css(e,"padding"+ie[r],!0,i),"padding"!==n?a+=x.css(e,"border"+ie[r]+"Width",!0,i):u+=x.css(e,"border"+ie[r]+"Width",!0,i));return!l&&o>=0&&(a+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-a-u-.5))||0),a}function nt(e,t,n){var l=Be(e),i=(!m.boxSizingReliable()||n)&&"border-box"===x.css(e,"boxSizing",!1,l),o=i,r=$e(e,t,l),u="offset"+t[0].toUpperCase()+t.slice(1);if(He.test(r)){if(!n)return r;r="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&D(e,"tr")||"auto"===r||!parseFloat(r)&&"inline"===x.css(e,"display",!1,l))&&e.getClientRects().length&&(i="border-box"===x.css(e,"boxSizing",!1,l),(o=u in e)&&(r=e[u])),(r=parseFloat(r)||0)+tt(e,t,n||(i?"border":"content"),o,l,r)+"px"}function lt(e,t,n,l,i){return new lt.prototype.init(e,t,n,l,i)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=$e(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,l){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,r,u=K(t),a=Qe.test(t),s=e.style;if(a||(t=Ye(u)),r=x.cssHooks[t]||x.cssHooks[u],void 0===n)return r&&"get"in r&&void 0!==(i=r.get(e,!1,l))?i:s[t];"string"==(o=typeof n)&&(i=le.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||a||(n+=i&&i[3]||(x.cssNumber[u]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(s[t]="inherit"),r&&"set"in r&&void 0===(n=r.set(e,n,l))||(a?s.setProperty(t,n):s[t]=n))}},css:function(e,t,n,l){var i,o,r,u=K(t);return Qe.test(t)||(t=Ye(u)),(r=x.cssHooks[t]||x.cssHooks[u])&&"get"in r&&(i=r.get(e,!0,n)),void 0===i&&(i=$e(e,t,l)),"normal"===i&&t in Je&&(i=Je[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),x.each(["height","width"],function(e,t){x.cssHooks[t]={get:function(e,n,l){if(n)return!Ze.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,l):ze(e,Xe,function(){return nt(e,t,l)})},set:function(e,n,l){var i,o=Be(e),r=!m.scrollboxSize()&&"absolute"===o.position,u=(r||l)&&"border-box"===x.css(e,"boxSizing",!1,o),a=l?tt(e,t,l,u,o):0;return u&&r&&(a-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-tt(e,t,"border",!1,o)-.5)),a&&(i=le.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),et(0,n,a)}}}),x.cssHooks.marginLeft=Ge(m.reliableMarginLeft,function(e,t){if(t)return(parseFloat($e(e,"marginLeft"))||e.getBoundingClientRect().left-ze(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){for(var l=0,i={},o="string"==typeof n?n.split(" "):[n];l<4;l++)i[e+ie[l]+t]=o[l]||o[l-2]||o[0];return i}},"margin"!==e&&(x.cssHooks[e+t].set=et)}),x.fn.extend({css:function(e,t){return $(this,function(e,t,n){var l,i,o={},r=0;if(Array.isArray(t)){for(l=Be(e),i=t.length;r1)}}),x.Tween=lt,(lt.prototype={constructor:lt,init:function(e,t,n,l,i,o){this.elem=e,this.prop=n,this.easing=i||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=l,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=lt.propHooks[this.prop];return e&&e.get?e.get(this):lt.propHooks._default.get(this)},run:function(e){var t,n=lt.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):lt.propHooks._default.set(this),this}}).init.prototype=lt.prototype,(lt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[Ye(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=lt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=lt.prototype.init,x.fx.step={};var it,ot,rt=/^(?:toggle|show|hide)$/,ut=/queueHooks$/;function at(){ot&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(at):n.setTimeout(at,x.fx.interval),x.fx.tick())}function st(){return n.setTimeout(function(){it=void 0}),it=Date.now()}function ct(e,t){var n,l=0,i={height:e};for(t=t?1:0;l<4;l+=2-t)i["margin"+(n=ie[l])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function dt(e,t,n){for(var l,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,r=i.length;o1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})}}),x.extend({attr:function(e,t,n){var l,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?x.prop(e,t,n):(1===o&&x.isXMLDoc(e)||(i=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):i&&"set"in i&&void 0!==(l=i.set(e,n,t))?l:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(l=i.get(e,t))?l:null==(l=x.find.attr(e,t))?void 0:l)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&D(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,l=0,i=t&&t.match(F);if(i&&1===e.nodeType)for(;n=i[l++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ft[t]||x.find.attr;ft[t]=function(e,t,l){var i,o,r=t.toLowerCase();return l||(o=ft[r],ft[r]=i,i=null!=n(e,t,l)?r:null,ft[r]=o),i}});var gt=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function vt(e){return(e.match(F)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(F)||[]}x.fn.extend({prop:function(e,t){return $(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})}}),x.extend({prop:function(e,t,n){var l,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&x.isXMLDoc(e)||(i=x.propHooks[t=x.propFix[t]||t]),void 0!==n?i&&"set"in i&&void 0!==(l=i.set(e,n,t))?l:e[t]=n:i&&"get"in i&&null!==(l=i.get(e,t))?l:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(x.propHooks.selected={get:function(e){return null},set:function(e){}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.fn.extend({addClass:function(e){var t,n,l,i,o,r,u,a=0;if(v(e))return this.each(function(t){x(this).addClass(e.call(this,t,yt(this)))});if((t=bt(e)).length)for(;n=this[a++];)if(i=yt(n),l=1===n.nodeType&&" "+vt(i)+" "){for(r=0;o=t[r++];)l.indexOf(" "+o+" ")<0&&(l+=o+" ");i!==(u=vt(l))&&n.setAttribute("class",u)}return this},removeClass:function(e){var t,n,l,i,o,r,u,a=0;if(v(e))return this.each(function(t){x(this).removeClass(e.call(this,t,yt(this)))});if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[a++];)if(i=yt(n),l=1===n.nodeType&&" "+vt(i)+" "){for(r=0;o=t[r++];)for(;l.indexOf(" "+o+" ")>-1;)l=l.replace(" "+o+" "," ");i!==(u=vt(l))&&n.setAttribute("class",u)}return this},toggleClass:function(e,t){var n=typeof e,l="string"===n||Array.isArray(e);return"boolean"==typeof t&&l?t?this.addClass(e):this.removeClass(e):v(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,yt(this),t),t)}):this.each(function(){var t,i,o,r;if(l)for(i=0,o=x(this),r=bt(e);t=r[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))})},hasClass:function(e){var t,n,l=0;for(t=" "+e+" ";n=this[l++];)if(1===n.nodeType&&(" "+vt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var Ct=/\r/g;x.fn.extend({val:function(e){var t,n,l,i=this[0];return arguments.length?(l=v(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=l?e.call(this,n,x(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=x.map(i,function(e){return null==e?"":e+""})),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=x.valHooks[i.type]||x.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Ct,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:vt(x.text(e))}},select:{get:function(e){var t,n,l,i=e.options,o=e.selectedIndex,r="select-one"===e.type,u=r?null:[],a=r?o+1:i.length;for(l=o<0?a:r?o:0;l-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},m.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),m.focusin="onfocusin"in n;var wt=/^(?:focusinfocus|focusoutblur)$/,_t=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(e,t,l,i){var o,r,u,a,s,c,d,p,f=[l||b],g=h.call(e,"type")?e.type:e,m=h.call(e,"namespace")?e.namespace.split("."):[];if(r=p=u=l=l||b,3!==l.nodeType&&8!==l.nodeType&&!wt.test(g+x.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),s=g.indexOf(":")<0&&"on"+g,(e=e[x.expando]?e:new x.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=l),t=null==t?[e]:x.makeArray(t,[e]),d=x.event.special[g]||{},i||!d.trigger||!1!==d.trigger.apply(l,t))){if(!i&&!d.noBubble&&!y(l)){for(wt.test((a=d.delegateType||g)+g)||(r=r.parentNode);r;r=r.parentNode)f.push(r),u=r;u===(l.ownerDocument||b)&&f.push(u.defaultView||u.parentWindow||n)}for(o=0;(r=f[o++])&&!e.isPropagationStopped();)p=r,e.type=o>1?a:d.bindType||g,(c=(Q.get(r,"events")||Object.create(null))[e.type]&&Q.get(r,"handle"))&&c.apply(r,t),(c=s&&r[s])&&c.apply&&Y(r)&&(e.result=c.apply(r,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),t)||!Y(l)||s&&v(l[g])&&!y(l)&&((u=l[s])&&(l[s]=null),x.event.triggered=g,e.isPropagationStopped()&&p.addEventListener(g,_t),l[g](),e.isPropagationStopped()&&p.removeEventListener(g,_t),x.event.triggered=void 0,u&&(l[s]=u)),e.result}},simulate:function(e,t,n){var l=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(l,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),m.focusin||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.event.special[t]={setup:function(){var l=this.ownerDocument||this.document||this,i=Q.access(l,t);i||l.addEventListener(e,n,!0),Q.access(l,t,(i||0)+1)},teardown:function(){var l=this.ownerDocument||this.document||this,i=Q.access(l,t)-1;i?Q.access(l,t,i):(l.removeEventListener(e,n,!0),Q.remove(l,t))}}});var xt=n.location,St={guid:Date.now()},Et=/\?/;x.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(l){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+e),t};var It=/\[\]$/,Ot=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;function Rt(e,t,n,l){var i;if(Array.isArray(t))x.each(t,function(t,i){n||It.test(e)?l(e,i):Rt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,l)});else if(n||"object"!==_(t))l(e,t);else for(i in t)Rt(e+"["+i+"]",t[i],n,l)}x.param=function(e,t){var n,l=[],i=function(e,t){var n=v(t)?t():t;l[l.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){i(this.name,this.value)});else for(n in e)Rt(n,e[n],t,i);return l.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&Dt.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!ge.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(Ot,"\r\n")}}):{name:t.name,value:n.replace(Ot,"\r\n")}}).get()}});var kt=/%20/g,Mt=/#.*$/,Nt=/([?&])_=[^&]*/,Lt=/^(.*?):[ \t]*([^\r\n]*)$/gm,At=/^(?:GET|HEAD)$/,Pt=/^\/\//,Ft={},Vt={},jt="*/".concat("*"),Ht=b.createElement("a");function Bt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var l,i=0,o=t.toLowerCase().match(F)||[];if(v(n))for(;l=o[i++];)"+"===l[0]?(l=l.slice(1)||"*",(e[l]=e[l]||[]).unshift(n)):(e[l]=e[l]||[]).push(n)}}function zt(e,t,n,l){var i={},o=e===Vt;function r(u){var a;return i[u]=!0,x.each(e[u]||[],function(e,u){var s=u(t,n,l);return"string"!=typeof s||o||i[s]?o?!(a=s):void 0:(t.dataTypes.unshift(s),r(s),!1)}),a}return r(t.dataTypes[0])||!i["*"]&&r("*")}function Ut(e,t){var n,l,i=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:l||(l={}))[n]=t[n]);return l&&x.extend(!0,e,l),e}Ht.href=xt.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":jt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,x.ajaxSettings),t):Ut(x.ajaxSettings,e)},ajaxPrefilter:Bt(Ft),ajaxTransport:Bt(Vt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var l,i,o,r,u,a,s,c,d,p,h=x.ajaxSetup({},t=t||{}),f=h.context||h,g=h.context&&(f.nodeType||f.jquery)?x(f):x.event,m=x.Deferred(),v=x.Callbacks("once memory"),y=h.statusCode||{},C={},w={},_="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(s){if(!r)for(r={};t=Lt.exec(o);)r[t[1].toLowerCase()+" "]=(r[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=r[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return s?o:null},setRequestHeader:function(e,t){return null==s&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,C[e]=t),this},overrideMimeType:function(e){return null==s&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(s)S.always(e[S.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||_;return l&&l.abort(t),E(0,t),this}};if(m.promise(S),h.url=((e||h.url||xt.href)+"").replace(Pt,xt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(F)||[""],null==h.crossDomain){a=b.createElement("a");try{a.href=h.url,a.href=a.href,h.crossDomain=Ht.protocol+"//"+Ht.host!=a.protocol+"//"+a.host}catch(I){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=x.param(h.data,h.traditional)),zt(Ft,h,t,S),s)return S;for(d in(c=x.event&&h.global)&&0==x.active++&&x.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!At.test(h.type),i=h.url.replace(Mt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(kt,"+")):(p=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(Et.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Nt,"$1"),p=(Et.test(i)?"&":"?")+"_="+St.guid+++p),h.url=i+p),h.ifModified&&(x.lastModified[i]&&S.setRequestHeader("If-Modified-Since",x.lastModified[i]),x.etag[i]&&S.setRequestHeader("If-None-Match",x.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&S.setRequestHeader("Content-Type",h.contentType),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+jt+"; q=0.01":""):h.accepts["*"]),h.headers)S.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(f,S,h)||s))return S.abort();if(_="abort",v.add(h.complete),S.done(h.success),S.fail(h.error),l=zt(Vt,h,t,S)){if(S.readyState=1,c&&g.trigger("ajaxSend",[S,h]),s)return S;h.async&&h.timeout>0&&(u=n.setTimeout(function(){S.abort("timeout")},h.timeout));try{s=!1,l.send(C,E)}catch(I){if(s)throw I;E(-1,I)}}else E(-1,"No Transport");function E(e,t,r,a){var d,p,b,C,w,_=t;s||(s=!0,u&&n.clearTimeout(u),l=void 0,o=a||"",S.readyState=e>0?4:0,d=e>=200&&e<300||304===e,r&&(C=function(e,t,n){for(var l,i,o,r,u=e.contents,a=e.dataTypes;"*"===a[0];)a.shift(),void 0===l&&(l=e.mimeType||t.getResponseHeader("Content-Type"));if(l)for(i in u)if(u[i]&&u[i].test(l)){a.unshift(i);break}if(a[0]in n)o=a[0];else{for(i in n){if(!a[0]||e.converters[i+" "+a[0]]){o=i;break}r||(r=i)}o=o||r}if(o)return o!==a[0]&&a.unshift(o),n[o]}(h,S,r)),!d&&x.inArray("script",h.dataTypes)>-1&&(h.converters["text script"]=function(){}),C=function(e,t,n,l){var i,o,r,u,a,s={},c=e.dataTypes.slice();if(c[1])for(r in e.converters)s[r.toLowerCase()]=e.converters[r];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!a&&l&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a=o,o=c.shift())if("*"===o)o=a;else if("*"!==a&&a!==o){if(!(r=s[a+" "+o]||s["* "+o]))for(i in s)if((u=i.split(" "))[1]===o&&(r=s[a+" "+u[0]]||s["* "+u[0]])){!0===r?r=s[i]:!0!==s[i]&&(o=u[0],c.unshift(u[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(I){return{state:"parsererror",error:r?I:"No conversion from "+a+" to "+o}}}return{state:"success",data:t}}(h,C,S,d),d?(h.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(x.lastModified[i]=w),(w=S.getResponseHeader("etag"))&&(x.etag[i]=w)),204===e||"HEAD"===h.type?_="nocontent":304===e?_="notmodified":(_=C.state,p=C.data,d=!(b=C.error))):(b=_,!e&&_||(_="error",e<0&&(e=0))),S.status=e,S.statusText=(t||_)+"",d?m.resolveWith(f,[p,_,S]):m.rejectWith(f,[S,_,b]),S.statusCode(y),y=void 0,c&&g.trigger(d?"ajaxSuccess":"ajaxError",[S,h,d?p:b]),v.fireWith(f,[S,_]),c&&(g.trigger("ajaxComplete",[S,h]),--x.active||x.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],function(e,t){x[t]=function(e,n,l,i){return v(n)&&(i=i||l,l=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:i,data:n,success:l},x.isPlainObject(e)&&e))}}),x.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),x._evalUrl=function(e,t,n){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,n)}})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return v(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var $t={0:200,1223:204},Gt=x.ajaxSettings.xhr();m.cors=!!Gt&&"withCredentials"in Gt,m.ajax=Gt=!!Gt,x.ajaxTransport(function(e){var t,l;if(m.cors||Gt&&!e.crossDomain)return{send:function(i,o){var r,u=e.xhr();if(u.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(r in e.xhrFields)u[r]=e.xhrFields[r];for(r in e.mimeType&&u.overrideMimeType&&u.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)u.setRequestHeader(r,i[r]);t=function(e){return function(){t&&(t=l=u.onload=u.onerror=u.onabort=u.ontimeout=u.onreadystatechange=null,"abort"===e?u.abort():"error"===e?"number"!=typeof u.status?o(0,"error"):o(u.status,u.statusText):o($t[u.status]||u.status,u.statusText,"text"!==(u.responseType||"text")||"string"!=typeof u.responseText?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}},u.onload=t(),l=u.onerror=u.ontimeout=t("error"),void 0!==u.onabort?u.onabort=l:u.onreadystatechange=function(){4===u.readyState&&n.setTimeout(function(){t&&l()})},t=t("abort");try{u.send(e.hasContent&&e.data||null)}catch(a){if(t)throw a}},abort:function(){t&&t()}}}),x.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),x.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(l,i){t=x(" + diff --git a/modules/admin/webif/static/main.040f38e6795a758872eb.js b/modules/admin/webif/static/main.37f60420aef7bed9011e.js similarity index 67% rename from modules/admin/webif/static/main.040f38e6795a758872eb.js rename to modules/admin/webif/static/main.37f60420aef7bed9011e.js index 77d8646076..6660d5691f 100644 --- a/modules/admin/webif/static/main.040f38e6795a758872eb.js +++ b/modules/admin/webif/static/main.37f60420aef7bed9011e.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+dQi":function(e,t,n){!function(e){"use strict";e.defineMode("javascript",function(t,n){var l,i,o=t.indentUnit,r=n.statementIndent,u=n.jsonld,a=n.json||u,s=n.typescript,c=n.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),l=e("keyword c"),i=e("keyword d"),o=e("operator"),r={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:i,break:i,continue:i,new:e("new"),delete:l,void:l,throw:l,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:r,false:r,null:r,undefined:r,NaN:r,Infinity:r,this:e("this"),class:e("class"),super:e("atom"),yield:l,export:e("export"),import:e("import"),extends:l,await:l}}(),p=/[+\-*&%=<>!?|~^@]/,h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function f(e,t,n){return l=e,i=n,t}function g(e,t){var n,l=e.next();if('"'==l||"'"==l)return t.tokenize=(n=l,function(e,t){var l,i=!1;if(u&&"@"==e.peek()&&e.match(h))return t.tokenize=g,f("jsonld-keyword","meta");for(;null!=(l=e.next())&&(l!=n||i);)i=!i&&"\\"==l;return i||(t.tokenize=g),f("string","string")}),t.tokenize(e,t);if("."==l&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return f("number","number");if("."==l&&e.match(".."))return f("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(l))return f(l);if("="==l&&e.eat(">"))return f("=>","operator");if("0"==l&&e.match(/^(?:x[\da-f]+|o[0-7]+|b[01]+)n?/i))return f("number","number");if(/\d/.test(l))return e.match(/^\d*(?:n|(?:\.\d*)?(?:[eE][+\-]?\d+)?)?/),f("number","number");if("/"==l)return e.eat("*")?(t.tokenize=m,m(e,t)):e.eat("/")?(e.skipToEnd(),f("comment","comment")):Ye(e,t,1)?(function(e){for(var t,n=!1,l=!1;null!=(t=e.next());){if(!n){if("/"==t&&!l)return;"["==t?l=!0:l&&"]"==t&&(l=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),f("regexp","string-2")):(e.eat("="),f("operator","operator",e.current()));if("`"==l)return t.tokenize=v,v(e,t);if("#"==l)return e.skipToEnd(),f("error","error");if(p.test(l))return">"==l&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=l&&"="!=l||e.eat("="):/[<>*+\-]/.test(l)&&(e.eat(l),">"==l&&e.eat(l))),f("operator","operator",e.current());if(c.test(l)){e.eatWhile(c);var i=e.current();if("."!=t.lastType){if(d.propertyIsEnumerable(i)){var o=d[i];return f(o.type,o.style,i)}if("async"==i&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return f("async","keyword",i)}return f("variable","variable",i)}}function m(e,t){for(var n,l=!1;n=e.next();){if("/"==n&&l){t.tokenize=g;break}l="*"==n}return f("comment","comment")}function v(e,t){for(var n,l=!1;null!=(n=e.next());){if(!l&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=g;break}l=!l&&"\\"==n}return f("quasi","string-2",e.current())}var y="([{}])";function b(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(s){var l=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));l&&(n=l.index)}for(var i=0,o=!1,r=n-1;r>=0;--r){var u=e.string.charAt(r),a=y.indexOf(u);if(a>=0&&a<3){if(!i){++r;break}if(0==--i){"("==u&&(o=!0);break}}else if(a>=3&&a<6)++i;else if(c.test(u))o=!0;else{if(/["'\/]/.test(u))return;if(o&&!i){++r;break}}}o&&!i&&(t.fatArrowAt=r)}}var C={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function w(e,t,n,l,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=l&&(this.align=l)}function _(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var l=e.context;l;l=l.prev)for(n=l.vars;n;n=n.next)if(n.name==t)return!0}var x={state:null,column:null,marked:null,cc:null};function S(){for(var e=arguments.length-1;e>=0;e--)x.cc.push(arguments[e])}function E(){return S.apply(null,arguments),!0}function I(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function O(e){var t=x.state;if(x.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var l=function e(t,n){if(n){if(n.block){var l=e(t,n.prev);return l?l==n.prev?n:new D(l,n.vars,!0):null}return I(t,n.vars)?n:new D(n.prev,new R(t,n.vars),!1)}return null}(e,t.context);if(null!=l)return void(t.context=l)}else if(!I(e,t.localVars))return void(t.localVars=new R(e,t.localVars));n.globalVars&&!I(e,t.globalVars)&&(t.globalVars=new R(e,t.globalVars))}function T(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function D(e,t,n){this.prev=e,this.vars=t,this.block=n}function R(e,t){this.name=e,this.next=t}var k=new R("this",new R("arguments",null));function M(){x.state.context=new D(x.state.context,x.state.localVars,!1),x.state.localVars=k}function N(){x.state.context=new D(x.state.context,x.state.localVars,!0),x.state.localVars=null}function L(){x.state.localVars=x.state.context.vars,x.state.context=x.state.context.prev}function A(e,t){var n=function(){var n=x.state,l=n.indented;if("stat"==n.lexical.type)l=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)l=i.indented;n.lexical=new w(l,x.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function P(){var e=x.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function F(e){return function t(n){return n==e?E():";"==e||"}"==n||")"==n||"]"==n?S():E(t)}}function V(e,t){return"var"==e?E(A("vardef",t),ye,F(";"),P):"keyword a"==e?E(A("form"),z,V,P):"keyword b"==e?E(A("form"),V,P):"keyword d"==e?x.stream.match(/^\s*$/,!1)?E():E(A("stat"),$,F(";"),P):"debugger"==e?E(F(";")):"{"==e?E(A("}"),N,re,P,L):";"==e?E():"if"==e?("else"==x.state.lexical.info&&x.state.cc[x.state.cc.length-1]==P&&x.state.cc.pop()(),E(A("form"),z,V,P,Se)):"function"==e?E(Re):"for"==e?E(A("form"),Ee,V,P):"class"==e||s&&"interface"==t?(x.marked="keyword",E(A("form","class"==e?e:t),Ae,P)):"variable"==e?s&&"declare"==t?(x.marked="keyword",E(V)):s&&("module"==t||"enum"==t||"type"==t)&&x.stream.match(/^\s*\w/,!1)?(x.marked="keyword","enum"==t?E(qe):"type"==t?E(Me,F("operator"),ce,F(";")):E(A("form"),be,F("{"),A("}"),re,P,P)):s&&"namespace"==t?(x.marked="keyword",E(A("form"),H,V,P)):s&&"abstract"==t?(x.marked="keyword",E(V)):E(A("stat"),J):"switch"==e?E(A("form"),z,F("{"),A("}","switch"),N,re,P,P,L):"case"==e?E(H,F(":")):"default"==e?E(F(":")):"catch"==e?E(A("form"),M,j,V,P,L):"export"==e?E(A("stat"),je,P):"import"==e?E(A("stat"),Be,P):"async"==e?E(V):"@"==t?E(H,V):S(A("stat"),H,F(";"),P)}function j(e){if("("==e)return E(Ne,F(")"))}function H(e,t){return U(e,t,!1)}function B(e,t){return U(e,t,!0)}function z(e){return"("!=e?S():E(A(")"),H,F(")"),P)}function U(e,t,n){if(x.state.fatArrowAt==x.stream.start){var l=n?Z:Y;if("("==e)return E(M,A(")"),ie(Ne,")"),P,F("=>"),l,L);if("variable"==e)return S(M,be,F("=>"),l,L)}var i=n?W:G;return C.hasOwnProperty(e)?E(i):"function"==e?E(Re,i):"class"==e||s&&"interface"==t?(x.marked="keyword",E(A("form"),Le,P)):"keyword c"==e||"async"==e?E(n?B:H):"("==e?E(A(")"),$,F(")"),P,i):"operator"==e||"spread"==e?E(n?B:H):"["==e?E(A("]"),We,P,i):"{"==e?oe(te,"}",null,i):"quasi"==e?S(q,i):"new"==e?E(function(e){return function(t){return"."==t?E(e?X:Q):"variable"==t&&s?E(ge,e?W:G):S(e?B:H)}}(n)):"import"==e?E(H):E()}function $(e){return e.match(/[;\}\)\],]/)?S():S(H)}function G(e,t){return","==e?E(H):W(e,t,!1)}function W(e,t,n){var l=0==n?G:W,i=0==n?H:B;return"=>"==e?E(M,n?Z:Y,L):"operator"==e?/\+\+|--/.test(t)||s&&"!"==t?E(l):s&&"<"==t&&x.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?E(A(">"),ie(ce,">"),P,l):"?"==t?E(H,F(":"),i):E(i):"quasi"==e?S(q,l):";"!=e?"("==e?oe(B,")","call",l):"."==e?E(ee,l):"["==e?E(A("]"),$,F("]"),P,l):s&&"as"==t?(x.marked="keyword",E(ce,l)):"regexp"==e?(x.state.lastType=x.marked="operator",x.stream.backUp(x.stream.pos-x.stream.start-1),E(i)):void 0:void 0}function q(e,t){return"quasi"!=e?S():"${"!=t.slice(t.length-2)?E(q):E(H,K)}function K(e){if("}"==e)return x.marked="string-2",x.state.tokenize=v,E(q)}function Y(e){return b(x.stream,x.state),S("{"==e?V:H)}function Z(e){return b(x.stream,x.state),S("{"==e?V:B)}function Q(e,t){if("target"==t)return x.marked="keyword",E(G)}function X(e,t){if("target"==t)return x.marked="keyword",E(W)}function J(e){return":"==e?E(P,V):S(G,F(";"),P)}function ee(e){if("variable"==e)return x.marked="property",E()}function te(e,t){return"async"==e?(x.marked="property",E(te)):"variable"==e||"keyword"==x.style?(x.marked="property","get"==t||"set"==t?E(ne):(s&&x.state.fatArrowAt==x.stream.start&&(n=x.stream.match(/^\s*:\s*/,!1))&&(x.state.fatArrowAt=x.stream.pos+n[0].length),E(le))):"number"==e||"string"==e?(x.marked=u?"property":x.style+" property",E(le)):"jsonld-keyword"==e?E(le):s&&T(t)?(x.marked="keyword",E(te)):"["==e?E(H,ue,F("]"),le):"spread"==e?E(B,le):"*"==t?(x.marked="keyword",E(te)):":"==e?S(le):void 0;var n}function ne(e){return"variable"!=e?S(le):(x.marked="property",E(Re))}function le(e){return":"==e?E(B):"("==e?S(Re):void 0}function ie(e,t,n){function l(i,o){if(n?n.indexOf(i)>-1:","==i){var r=x.state.lexical;return"call"==r.info&&(r.pos=(r.pos||0)+1),E(function(n,l){return n==t||l==t?S():S(e)},l)}return i==t||o==t?E():n&&n.indexOf(";")>-1?S(e):E(F(t))}return function(n,i){return n==t||i==t?E():S(e,l)}}function oe(e,t,n){for(var l=3;l"),ce):void 0}function de(e){if("=>"==e)return E(ce)}function pe(e,t){return"variable"==e||"keyword"==x.style?(x.marked="property",E(pe)):"?"==t||"number"==e||"string"==e?E(pe):":"==e?E(ce):"["==e?E(F("variable"),ue,F("]"),pe):"("==e?S(ke,pe):void 0}function he(e,t){return"variable"==e&&x.stream.match(/^\s*[?:]/,!1)||"?"==t?E(he):":"==e?E(ce):"spread"==e?E(he):S(ce)}function fe(e,t){return"<"==t?E(A(">"),ie(ce,">"),P,fe):"|"==t||"."==e||"&"==t?E(ce):"["==e?E(ce,F("]"),fe):"extends"==t||"implements"==t?(x.marked="keyword",E(ce)):"?"==t?E(ce,F(":"),ce):void 0}function ge(e,t){if("<"==t)return E(A(">"),ie(ce,">"),P,fe)}function me(){return S(ce,ve)}function ve(e,t){if("="==t)return E(ce)}function ye(e,t){return"enum"==t?(x.marked="keyword",E(qe)):S(be,ue,_e,xe)}function be(e,t){return s&&T(t)?(x.marked="keyword",E(be)):"variable"==e?(O(t),E()):"spread"==e?E(be):"["==e?oe(we,"]"):"{"==e?oe(Ce,"}"):void 0}function Ce(e,t){return"variable"!=e||x.stream.match(/^\s*:/,!1)?("variable"==e&&(x.marked="property"),"spread"==e?E(be):"}"==e?S():"["==e?E(H,F("]"),F(":"),Ce):E(F(":"),be,_e)):(O(t),E(_e))}function we(){return S(be,_e)}function _e(e,t){if("="==t)return E(B)}function xe(e){if(","==e)return E(ye)}function Se(e,t){if("keyword b"==e&&"else"==t)return E(A("form","else"),V,P)}function Ee(e,t){return"await"==t?E(Ee):"("==e?E(A(")"),Ie,F(")"),P):void 0}function Ie(e){return"var"==e?E(ye,F(";"),Te):";"==e?E(Te):"variable"==e?E(Oe):S(H,F(";"),Te)}function Oe(e,t){return"in"==t||"of"==t?(x.marked="keyword",E(H)):E(G,Te)}function Te(e,t){return";"==e?E(De):"in"==t||"of"==t?(x.marked="keyword",E(H)):S(H,F(";"),De)}function De(e){")"!=e&&E(H)}function Re(e,t){return"*"==t?(x.marked="keyword",E(Re)):"variable"==e?(O(t),E(Re)):"("==e?E(M,A(")"),ie(Ne,")"),P,ae,V,L):s&&"<"==t?E(A(">"),ie(me,">"),P,Re):void 0}function ke(e,t){return"*"==t?(x.marked="keyword",E(ke)):"variable"==e?(O(t),E(ke)):"("==e?E(M,A(")"),ie(Ne,")"),P,ae,L):s&&"<"==t?E(A(">"),ie(me,">"),P,ke):void 0}function Me(e,t){return"keyword"==e||"variable"==e?(x.marked="type",E(Me)):"<"==t?E(A(">"),ie(me,">"),P):void 0}function Ne(e,t){return"@"==t&&E(H,Ne),"spread"==e?E(Ne):s&&T(t)?(x.marked="keyword",E(Ne)):S(be,ue,_e)}function Le(e,t){return"variable"==e?Ae(e,t):Pe(e,t)}function Ae(e,t){if("variable"==e)return O(t),E(Pe)}function Pe(e,t){return"<"==t?E(A(">"),ie(me,">"),P,Pe):"extends"==t||"implements"==t||s&&","==e?("implements"==t&&(x.marked="keyword"),E(s?ce:H,Pe)):"{"==e?E(A("}"),Fe,P):void 0}function Fe(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||s&&T(t))&&x.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(x.marked="keyword",E(Fe)):"variable"==e||"keyword"==x.style?(x.marked="property",E(s?Ve:Re,Fe)):"number"==e||"string"==e?E(s?Ve:Re,Fe):"["==e?E(H,ue,F("]"),s?Ve:Re,Fe):"*"==t?(x.marked="keyword",E(Fe)):s&&"("==e?S(ke,Fe):";"==e||","==e?E(Fe):"}"==e?E():"@"==t?E(H,Fe):void 0}function Ve(e,t){if("?"==t)return E(Ve);if(":"==e)return E(ce,_e);if("="==t)return E(B);var n=x.state.lexical.prev;return S(n&&"interface"==n.info?ke:Re)}function je(e,t){return"*"==t?(x.marked="keyword",E(Ge,F(";"))):"default"==t?(x.marked="keyword",E(H,F(";"))):"{"==e?E(ie(He,"}"),Ge,F(";")):S(V)}function He(e,t){return"as"==t?(x.marked="keyword",E(F("variable"))):"variable"==e?S(B,He):void 0}function Be(e){return"string"==e?E():"("==e?S(H):S(ze,Ue,Ge)}function ze(e,t){return"{"==e?oe(ze,"}"):("variable"==e&&O(t),"*"==t&&(x.marked="keyword"),E($e))}function Ue(e){if(","==e)return E(ze,Ue)}function $e(e,t){if("as"==t)return x.marked="keyword",E(ze)}function Ge(e,t){if("from"==t)return x.marked="keyword",E(H)}function We(e){return"]"==e?E():S(ie(B,"]"))}function qe(){return S(A("form"),be,F("{"),A("}"),ie(Ke,"}"),P,P)}function Ke(){return S(be,_e)}function Ye(e,t,n){return t.tokenize==g&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return L.lex=!0,P.lex=!0,{startState:function(e){var t={tokenize:g,lastType:"sof",cc:[],lexical:new w((e||0)-o,0,"block",!1),localVars:n.localVars,context:n.localVars&&new D(null,null,!1),indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),b(e,t)),t.tokenize!=m&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==l?n:(t.lastType="operator"!=l||"++"!=i&&"--"!=i?l:"incdec",function(e,t,n,l,i){var o=e.cc;for(x.state=e,x.stream=i,x.marked=null,x.cc=o,x.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((o.length?o.pop():a?H:V)(n,l)){for(;o.length&&o[o.length-1].lex;)o.pop()();return x.marked?x.marked:"variable"==n&&_(e,l)?"variable-2":t}}(t,n,l,i,e))},indent:function(t,l){if(t.tokenize==m)return e.Pass;if(t.tokenize!=g)return 0;var i,u=l&&l.charAt(0),a=t.lexical;if(!/^\s*else\b/.test(l))for(var s=t.cc.length-1;s>=0;--s){var c=t.cc[s];if(c==P)a=a.prev;else if(c!=Se)break}for(;("stat"==a.type||"form"==a.type)&&("}"==u||(i=t.cc[t.cc.length-1])&&(i==G||i==W)&&!/^[,\.=+\-*:?[\(]/.test(l));)a=a.prev;r&&")"==a.type&&"stat"==a.prev.type&&(a=a.prev);var d=a.type,h=u==d;return"vardef"==d?a.indented+("operator"==t.lastType||","==t.lastType?a.info.length+1:0):"form"==d&&"{"==u?a.indented:"form"==d?a.indented+o:"stat"==d?a.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||p.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,l)?r||o:0):"switch"!=a.info||h||0==n.doubleIndentSwitch?a.align?a.column+(h?0:1):a.indented+(h?0:o):a.indented+(/^(?:case|default)\b/.test(l)?o:2*o)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:a?null:"/*",blockCommentEnd:a?null:"*/",blockCommentContinue:a?null:" * ",lineComment:a?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:a?"json":"javascript",jsonldMode:u,jsonMode:a,expressionAllowed:Ye,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=H&&t!=B||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(n("VrN/"))},"+tJ4":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var l=function(e){return function(t){for(var n=0,l=e.length;n=0}},"/NBx":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("7LN8"),a=n("Fa87"),s=n("gIcY");t.CHIPS_VALUE_ACCESSOR={provide:s.NG_VALUE_ACCESSOR,useExisting:o.forwardRef(function(){return c}),multi:!0};var c=function(){function e(e){this.el=e,this.allowDuplicate=!0,this.onAdd=new o.EventEmitter,this.onRemove=new o.EventEmitter,this.onFocus=new o.EventEmitter,this.onBlur=new o.EventEmitter,this.onChipClick=new o.EventEmitter,this.onModelChange=function(){},this.onModelTouched=function(){}}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"item":default:e.itemTemplate=t.template}})},e.prototype.onClick=function(e){this.inputViewChild.nativeElement.focus()},e.prototype.onItemClick=function(e,t){this.onChipClick.emit({originalEvent:e,value:t})},e.prototype.writeValue=function(e){this.value=e,this.updateMaxedOut()},e.prototype.registerOnChange=function(e){this.onModelChange=e},e.prototype.registerOnTouched=function(e){this.onModelTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype.resolveFieldData=function(e,t){if(e&&t){if(-1==t.indexOf("."))return e[t];for(var n=t.split("."),l=e,i=0,o=n.length;i0){this.value=this.value.slice();var t=this.value.pop();this.onModelChange(this.value),this.onRemove.emit({originalEvent:e,value:t})}break;case 13:this.addItem(e,this.inputViewChild.nativeElement.value),this.inputViewChild.nativeElement.value="",e.preventDefault();break;case 9:this.addOnTab&&""!==this.inputViewChild.nativeElement.value&&(this.addItem(e,this.inputViewChild.nativeElement.value),this.inputViewChild.nativeElement.value="",e.preventDefault());break;default:this.max&&this.value&&this.max===this.value.length&&e.preventDefault()}},e.prototype.updateMaxedOut=function(){this.inputViewChild&&this.inputViewChild.nativeElement&&(this.inputViewChild.nativeElement.disabled=!(!this.max||!this.value||this.max!==this.value.length)||this.disabled||!1)},l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Input(),i("design:type",String)],e.prototype,"field",void 0),l([o.Input(),i("design:type",String)],e.prototype,"placeholder",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"max",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"tabindex",void 0),l([o.Input(),i("design:type",String)],e.prototype,"inputId",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"allowDuplicate",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"inputStyle",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"inputStyleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"addOnTab",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"addOnBlur",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onAdd",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRemove",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onFocus",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onBlur",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onChipClick",void 0),l([o.ViewChild("inputtext"),i("design:type",o.ElementRef)],e.prototype,"inputViewChild",void 0),l([o.ContentChildren(u.PrimeTemplate),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.Component({selector:"p-chips",template:'\n
    \n
      \n
    • \n \n {{field ? resolveFieldData(item,field) : item}}\n \n
    • \n
    • \n \n
    • \n
    \n
    \n ',providers:[t.CHIPS_VALUE_ACCESSOR]})],e)}();t.Chips=c,t.ChipsModule=function(){return l([o.NgModule({imports:[r.CommonModule,a.InputTextModule,u.SharedModule],exports:[c,a.InputTextModule,u.SharedModule],declarations:[c]})],function(){})}()},"/WYv":function(e,t,n){"use strict";function l(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",function(){return l})},0:function(e,t,n){e.exports=n("zUnb")},"0/uQ":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var l=n("6blF"),i=n("Fxb1"),o=n("i4X3");function r(e,t){return t?Object(o.a)(e,t):e instanceof l.a?e:new l.a(Object(i.a)(e))}},"0alx":function(e,t,n){"use strict";var l=n("VKeD");t.isIterable=function(e){return e&&"function"==typeof e[l.iterator]}},"15JJ":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var l=n("mrSG"),i=n("MGBS"),o=n("rPjj"),r=n("zotm"),u=n("67Y/"),a=n("0/uQ");function s(e,t){return"function"==typeof t?function(n){return n.pipe(s(function(n,l){return Object(a.a)(e(n,l)).pipe(Object(u.a)(function(e,i){return t(n,e,l,i)}))}))}:function(t){return t.lift(new c(e))}}var c=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.project))},e}(),d=function(e){function t(t,n){var l=e.call(this,t)||this;return l.project=n,l.index=0,l}return l.__extends(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(l){return void this.destination.error(l)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var l=this.innerSubscription;l&&l.unsubscribe();var i=new o.a(this,void 0,void 0);this.destination.add(i),this.innerSubscription=Object(r.a)(this,e,t,n,i)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,l,i){this.destination.next(t)},t}(i.a)},"1eCo":function(e,t,n){!function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(l,i){var o,r,u=l.indentUnit,a={},s=i.htmlMode?t:n;for(var c in s)a[c]=s[c];for(var c in i)a[c]=i[c];function d(e,t){function n(n){return t.tokenize=n,n(e,t)}var l=e.next();return"<"==l?e.eat("!")?e.eat("[")?e.match("CDATA[")?n(h("atom","]]>")):null:e.match("--")?n(h("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(function e(t){return function(n,l){for(var i;null!=(i=n.next());){if("<"==i)return l.tokenize=e(t+1),l.tokenize(n,l);if(">"==i){if(1==t){l.tokenize=d;break}return l.tokenize=e(t-1),l.tokenize(n,l)}}return"meta"}}(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=h("meta","?>"),"meta"):(o=e.eat("/")?"closeTag":"openTag",t.tokenize=p,"tag bracket"):"&"==l?(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error":(e.eatWhile(/[^&<]/),null)}function p(e,t){var n,l,i=e.next();if(">"==i||"/"==i&&e.eat(">"))return t.tokenize=d,o=">"==i?"endTag":"selfcloseTag","tag bracket";if("="==i)return o="equals",null;if("<"==i){t.tokenize=d,t.state=v,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(i)?(t.tokenize=(n=i,(l=function(e,t){for(;!e.eol();)if(e.next()==n){t.tokenize=p;break}return"string"}).isInAttribute=!0,l),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function h(e,t){return function(n,l){for(;!n.eol();){if(n.match(t)){l.tokenize=d;break}n.next()}return e}}function f(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(a.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function g(e){e.context&&(e.context=e.context.prev)}function m(e,t){for(var n;;){if(!e.context)return;if(!a.contextGrabbers.hasOwnProperty(n=e.context.tagName)||!a.contextGrabbers[n].hasOwnProperty(t))return;g(e)}}function v(e,t,n){return"openTag"==e?(n.tagStart=t.column(),y):"closeTag"==e?b:v}function y(e,t,n){return"word"==e?(n.tagName=t.current(),r="tag",_):a.allowMissingTagName&&"endTag"==e?(r="tag bracket",_(e,0,n)):(r="error",y)}function b(e,t,n){if("word"==e){var l=t.current();return n.context&&n.context.tagName!=l&&a.implicitlyClosed.hasOwnProperty(n.context.tagName)&&g(n),n.context&&n.context.tagName==l||!1===a.matchClosing?(r="tag",C):(r="tag error",w)}return a.allowMissingTagName&&"endTag"==e?(r="tag bracket",C(e,0,n)):(r="error",w)}function C(e,t,n){return"endTag"!=e?(r="error",C):(g(n),v)}function w(e,t,n){return r="error",C(e,0,n)}function _(e,t,n){if("word"==e)return r="attribute",x;if("endTag"==e||"selfcloseTag"==e){var l=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||a.autoSelfClosers.hasOwnProperty(l)?m(n,l):(m(n,l),n.context=new f(n,l,i==n.indented)),v}return r="error",_}function x(e,t,n){return"equals"==e?S:(a.allowMissing||(r="error"),_(e,0,n))}function S(e,t,n){return"string"==e?E:"word"==e&&a.allowUnquoted?(r="string",_):(r="error",_(e,0,n))}function E(e,t,n){return"string"==e?E:_(e,0,n)}return d.isInText=!0,{startState:function(e){var t={tokenize:d,state:v,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var n=t.tokenize(e,t);return(n||o)&&"comment"!=n&&(r=null,t.state=t.state(o||n,e,t),r&&(n="error"==r?n+" error":r)),n},indent:function(t,n,l){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+u;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=p&&t.tokenize!=d)return l?l.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==a.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+u*(a.multilineTagIndentFactor||1);if(a.alignCDATA&&/$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:a.htmlMode?"html":"xml",helperType:a.htmlMode?"html":"xml",skipAttribute:function(e){e.state==S&&(e.state=_)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}(n("VrN/"))},"1fDf":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var l=n("FFOo");function i(e){for(;e;){var t=e.destination;if(e.closed||e.isStopped)return!1;e=t&&t instanceof l.a?t:null}return!0}},"24Yq":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n("DqLj"))},"25Eh":function(e,t,n){!function(e){"use strict";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var n=t(["and","or","not","is"]),l=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],i=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];function o(e){return e.scopes[e.scopes.length-1]}e.registerHelper("hintWords","python",l.concat(i)),e.defineMode("python",function(r,u){for(var a="error",s=u.delimiters||u.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,c=[u.singleOperators,u.doubleOperators,u.doubleDelimiters,u.tripleDelimiters,u.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@])/],d=0;dl?_(t):i0&&x(e,t)&&(r+=" "+a),r}return w(e,t)}function w(e,t){if(e.eatSpace())return null;if(e.match(/^#.*/))return"comment";if(e.match(/^[0-9\.]/,!1)){var l=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(l=!0),e.match(/^[\d_]+\.\d*/)&&(l=!0),e.match(/^\.\d+/)&&(l=!0),l)return e.eat(/J/i),"number";var i=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(i=!0),e.match(/^0b[01_]+/i)&&(i=!0),e.match(/^0o[0-7_]+/i)&&(i=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),i=!0),e.match(/^0(?![\dx])/i)&&(i=!0),i)return e.eat(/L/i),"number"}if(e.match(v))return-1!==e.current().toLowerCase().indexOf("f")?(t.tokenize=function(e,t){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var n=1==e.length,l="string";function i(e){return function(t,n){var l=w(t,n);return"punctuation"==l&&("{"==t.current()?n.tokenize=i(e+1):"}"==t.current()&&(n.tokenize=e>1?i(e-1):o)),l}}function o(o,r){for(;!o.eol();)if(o.eatWhile(/[^'"\{\}\\]/),o.eat("\\")){if(o.next(),n&&o.eol())return l}else{if(o.match(e))return r.tokenize=t,l;if(o.match("{{"))return l;if(o.match("{",!1))return r.tokenize=i(0),o.current()?l:r.tokenize(o,r);if(o.match("}}"))return l;if(o.match("}"))return a;o.eat(/['"]/)}if(n){if(u.singleLineStringErrors)return a;r.tokenize=t}return l}return o.isString=!0,o}(e.current(),t.tokenize),t.tokenize(e,t)):(t.tokenize=function(e,t){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var n=1==e.length,l="string";function i(i,o){for(;!i.eol();)if(i.eatWhile(/[^'"\\]/),i.eat("\\")){if(i.next(),n&&i.eol())return l}else{if(i.match(e))return o.tokenize=t,l;i.eat(/['"]/)}if(n){if(u.singleLineStringErrors)return a;o.tokenize=t}return l}return i.isString=!0,i}(e.current(),t.tokenize),t.tokenize(e,t));for(var o=0;o1&&o(t).offset>n;){if("py"!=o(t).type)return!0;t.scopes.pop()}return o(t).offset!=n}return{startState:function(e){return{tokenize:C,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,t){var n=t.errorToken;n&&(t.errorToken=!1);var l=function(e,t){e.sol()&&(t.beginningOfLine=!0);var n=t.tokenize(e,t),l=e.current();if(t.beginningOfLine&&"@"==l)return e.match(m,!1)?"meta":g?"operator":a;if(/\S/.test(l)&&(t.beginningOfLine=!1),"variable"!=n&&"builtin"!=n||"meta"!=t.lastToken||(n="meta"),"pass"!=l&&"return"!=l||(t.dedent+=1),"lambda"==l&&(t.lambda=!0),":"!=l||t.lambda||"py"!=o(t).type||_(t),1==l.length&&!/string|comment/.test(n)){var i="[({".indexOf(l);if(-1!=i&&function(e,t,n){var l=e.match(/^([\s\[\{\(]|#.*)*$/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+p,type:n,align:l})}(e,t,"])}".slice(i,i+1)),-1!=(i="])}".indexOf(l))){if(o(t).type!=l)return a;t.indent=t.scopes.pop().offset-p}}return t.dedent>0&&e.eol()&&"py"==o(t).type&&(t.scopes.length>1&&t.scopes.pop(),t.dedent-=1),n}(e,t);return l&&"comment"!=l&&(t.lastToken="keyword"==l||"punctuation"==l?e.current():l),"punctuation"==l&&(l=null),e.eol()&&t.lambda&&(t.lambda=!1),n?l+" "+a:l},indent:function(t,n){if(t.tokenize!=C)return t.tokenize.isString?e.Pass:0;var l=o(t),i=l.type==n.charAt(0);return null!=l.align?l.align-(i?1:0):l.offset-(i?p:0)},electricInput:/^\s*[\}\]\)]$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-python","python"),e.defineMIME("text/x-cython",{name:"python",extra_keywords:"by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE".split(" ")})}(n("VrN/"))},"26FU":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var l=n("mrSG"),i=n("K9Ia"),o=n("8g8A"),r=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return l.__extends(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.a;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(i.a)},"2Bdj":function(e,t,n){"use strict";function l(e){return"function"==typeof e}n.d(t,"a",function(){return l})},"2KeD":function(e,t,n){"use strict";var l=n("Q1FS"),i=n("zB/H"),o=n("zfKp");t.scheduleObservable=function(e,t){return new l.Observable(function(n){var l=new i.Subscription;return l.add(t.schedule(function(){var i=e[o.observable]();l.add(i.subscribe({next:function(e){l.add(t.schedule(function(){return n.next(e)}))},error:function(e){l.add(t.schedule(function(){return n.error(e)}))},complete:function(){l.add(t.schedule(function(){return n.complete()}))}}))})),l})}},"2bbZ":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("ihYY"),u=n("cdZy"),a=(n("V3HQ"),n("Ip0R")),s=n("sdDj"),c=(n("RWz4"),function(){function e(e,t,n,l,i,o){this.componentFactoryResolver=e,this.cd=t,this.renderer=n,this.config=l,this.dialogRef=i,this.zone=o,this.visible=!0}return e.prototype.ngAfterViewInit=function(){this.loadChildComponent(this.childComponentType),this.cd.detectChanges()},e.prototype.onOverlayClicked=function(e){this.dialogRef.close()},e.prototype.onDialogClicked=function(e){e.stopPropagation()},e.prototype.loadChildComponent=function(e){var t=this.componentFactoryResolver.resolveComponentFactory(e),n=this.insertionPoint.viewContainerRef;n.clear(),this.componentRef=n.createComponent(t)},e.prototype.moveOnTop=function(){if(!1!==this.config.autoZIndex){var e=this.config.baseZIndex||++s.DomHandler.zindex+0;this.container.style.zIndex=String(e),this.maskViewChild.nativeElement.style.zIndex=String(e-1)}},e.prototype.onAnimationStart=function(e){switch(e.toState){case"visible":this.container=e.element,this.moveOnTop(),this.bindGlobalListeners(),s.DomHandler.addClass(document.body,"ui-overflow-hidden");break;case"void":this.onContainerDestroy()}},e.prototype.onAnimationEnd=function(e){"void"===e.toState&&this.dialogRef.close()},e.prototype.onContainerDestroy=function(){s.DomHandler.removeClass(document.body,"ui-overflow-hidden"),this.unbindGlobalListeners(),this.container=null},e.prototype.close=function(){this.visible=!1},e.prototype.onMaskClick=function(){this.config.dismissableMask&&this.close()},e.prototype.bindGlobalListeners=function(){!1!==this.config.closeOnEscape&&!1!==this.config.closable&&this.bindDocumentEscapeListener()},e.prototype.unbindGlobalListeners=function(){this.unbindDocumentEscapeListener()},e.prototype.bindDocumentEscapeListener=function(){var e=this;this.documentEscapeListener=this.renderer.listen("document","keydown",function(t){27==t.which&&parseInt(e.container.style.zIndex)==s.DomHandler.zindex&&e.close()})},e.prototype.unbindDocumentEscapeListener=function(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)},e.prototype.ngOnDestroy=function(){this.onContainerDestroy(),this.componentRef&&this.componentRef.destroy()},l([o.ViewChild(u.DynamicDialogContent),i("design:type",u.DynamicDialogContent)],e.prototype,"insertionPoint",void 0),l([o.ViewChild("mask"),i("design:type",o.ElementRef)],e.prototype,"maskViewChild",void 0),l([o.Component({selector:"p-dynamicDialog",template:'\n\t\t
    \n\t\t
    \n
    \n {{config.header}}\n \n \n \n
    \n
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t\n\t\t
    \n\t',animations:[r.trigger("animation",[r.state("void",r.style({transform:"translate3d(-50%, -25%, 0) scale(0.9)",opacity:0})),r.state("visible",r.style({transform:"translateX(-50%) translateY(-50%)",opacity:1})),r.transition("* => *",r.animate("{{transitionParams}}"))])]})],e)}());t.DynamicDialogComponent=c,t.DynamicDialogModule=function(){return l([o.NgModule({imports:[a.CommonModule],declarations:[c,u.DynamicDialogContent],entryComponents:[c]})],function(){})}()},"2ePl":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var l=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},"2m6e":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=(n("gIcY"),n("Ip0R")),u=function(){function e(e,t){this.el=e,this.ngModel=t,this.onResize=new o.EventEmitter}return e.prototype.ngDoCheck=function(){this.updateFilledState(),this.autoResize&&this.resize()},e.prototype.onInput=function(e){this.updateFilledState(),this.autoResize&&this.resize(e)},e.prototype.updateFilledState=function(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model},e.prototype.onFocus=function(e){this.autoResize&&this.resize(e)},e.prototype.onBlur=function(e){this.autoResize&&this.resize(e)},e.prototype.resize=function(e){this.el.nativeElement.style.height="",this.el.nativeElement.style.height=this.el.nativeElement.scrollHeight+"px",parseFloat(this.el.nativeElement.style.height)>=parseFloat(this.el.nativeElement.style.maxHeight)?(this.el.nativeElement.style.overflowY="scroll",this.el.nativeElement.style.height=this.el.nativeElement.style.maxHeight):this.el.nativeElement.style.overflow="hidden",this.onResize.emit(e||{})},l([o.Input(),i("design:type",Boolean)],e.prototype,"autoResize",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onResize",void 0),l([o.HostListener("input",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onInput",null),l([o.HostListener("focus",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onFocus",null),l([o.HostListener("blur",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onBlur",null),l([o.Directive({selector:"[pInputTextarea]",host:{"[class.ui-inputtext]":"true","[class.ui-corner-all]":"true","[class.ui-inputtextarea-resizable]":"autoResize","[class.ui-state-default]":"true","[class.ui-widget]":"true","[class.ui-state-filled]":"filled"}})],e)}();t.InputTextarea=u,t.InputTextareaModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[u],declarations:[u]})],function(){})}()},"2qMH":function(e,t,n){"use strict";var l=n("Q1FS"),i=n("zB/H");t.scheduleArray=function(e,t){return new l.Observable(function(n){var l=new i.Subscription,o=0;return l.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||l.add(this.schedule())):n.complete()})),l})}},"3GNW":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("ihYY"),u=n("Ip0R"),a=n("sdDj"),s=n("7LN8"),c=n("VSng"),d=(n("oygf"),function(){function e(e,t,n,l){var i=this;this.el=e,this.renderer=t,this.confirmationService=n,this.zone=l,this.acceptIcon="pi pi-check",this.acceptLabel="Yes",this.acceptVisible=!0,this.rejectIcon="pi pi-times",this.rejectLabel="No",this.rejectVisible=!0,this.closeOnEscape=!0,this.closable=!0,this.autoZIndex=!0,this.baseZIndex=0,this.transitionOptions="400ms cubic-bezier(0.25, 0.8, 0.25, 1)",this.subscription=this.confirmationService.requireConfirmation$.subscribe(function(e){e.key===i.key&&(i.confirmation=e,i.message=i.confirmation.message||i.message,i.icon=i.confirmation.icon||i.icon,i.header=i.confirmation.header||i.header,i.rejectVisible=null==i.confirmation.rejectVisible?i.rejectVisible:i.confirmation.rejectVisible,i.acceptVisible=null==i.confirmation.acceptVisible?i.acceptVisible:i.confirmation.acceptVisible,i.acceptLabel=i.confirmation.acceptLabel||i.acceptLabel,i.rejectLabel=i.confirmation.rejectLabel||i.rejectLabel,i.confirmation.accept&&(i.confirmation.acceptEvent=new o.EventEmitter,i.confirmation.acceptEvent.subscribe(i.confirmation.accept)),i.confirmation.reject&&(i.confirmation.rejectEvent=new o.EventEmitter,i.confirmation.rejectEvent.subscribe(i.confirmation.reject)),i.visible=!0)})}return Object.defineProperty(e.prototype,"width",{get:function(){return this._width},set:function(e){this._width=e,console.warn("width property is deprecated, use style to define the width of the Dialog.")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},set:function(e){this._height=e,console.warn("height property is deprecated, use style to define the height of the Dialog.")},enumerable:!0,configurable:!0}),e.prototype.onAnimationStart=function(e){switch(e.toState){case"visible":this.container=e.element,this.setDimensions(),this.contentContainer=a.DomHandler.findSingle(this.container,".ui-dialog-content"),a.DomHandler.findSingle(this.container,"button").focus(),this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.enableModality();break;case"void":this.onOverlayHide()}},e.prototype.setDimensions=function(){this.width&&(this.container.style.width=this.width+"px"),this.height&&(this.container.style.height=this.height+"px")},e.prototype.appendContainer=function(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.container):a.DomHandler.appendChild(this.container,this.appendTo))},e.prototype.restoreAppend=function(){this.container&&this.appendTo&&this.el.nativeElement.appendChild(this.container)},e.prototype.enableModality=function(){this.mask||(this.mask=document.createElement("div"),this.mask.style.zIndex=String(parseInt(this.container.style.zIndex)-1),a.DomHandler.addMultipleClasses(this.mask,"ui-widget-overlay ui-dialog-mask"),document.body.appendChild(this.mask),a.DomHandler.addClass(document.body,"ui-overflow-hidden"))},e.prototype.disableModality=function(){this.mask&&(document.body.removeChild(this.mask),a.DomHandler.removeClass(document.body,"ui-overflow-hidden"),this.mask=null)},e.prototype.close=function(e){this.confirmation.rejectEvent&&this.confirmation.rejectEvent.emit(),this.hide(),e.preventDefault()},e.prototype.hide=function(){this.visible=!1},e.prototype.moveOnTop=function(){this.autoZIndex&&(this.container.style.zIndex=String(this.baseZIndex+ ++a.DomHandler.zindex))},e.prototype.bindGlobalListeners=function(){var e=this;this.closeOnEscape&&this.closable&&!this.documentEscapeListener&&(this.documentEscapeListener=this.renderer.listen("document","keydown",function(t){27==t.which&&parseInt(e.container.style.zIndex)===a.DomHandler.zindex&&e.visible&&e.close(t)}))},e.prototype.unbindGlobalListeners=function(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)},e.prototype.onOverlayHide=function(){this.disableModality(),this.unbindGlobalListeners(),this.container=null},e.prototype.ngOnDestroy=function(){this.restoreAppend(),this.onOverlayHide(),this.subscription.unsubscribe()},e.prototype.accept=function(){this.confirmation.acceptEvent&&this.confirmation.acceptEvent.emit(),this.hide(),this.confirmation=null},e.prototype.reject=function(){this.confirmation.rejectEvent&&this.confirmation.rejectEvent.emit(),this.hide(),this.confirmation=null},l([o.Input(),i("design:type",Boolean)],e.prototype,"visible",void 0),l([o.Input(),i("design:type",String)],e.prototype,"header",void 0),l([o.Input(),i("design:type",String)],e.prototype,"icon",void 0),l([o.Input(),i("design:type",String)],e.prototype,"message",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",String)],e.prototype,"acceptIcon",void 0),l([o.Input(),i("design:type",String)],e.prototype,"acceptLabel",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"acceptVisible",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rejectIcon",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rejectLabel",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"rejectVisible",void 0),l([o.Input(),i("design:type",String)],e.prototype,"acceptButtonStyleClass",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rejectButtonStyleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"closeOnEscape",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"rtl",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"closable",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"appendTo",void 0),l([o.Input(),i("design:type",String)],e.prototype,"key",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"autoZIndex",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"baseZIndex",void 0),l([o.Input(),i("design:type",String)],e.prototype,"transitionOptions",void 0),l([o.ContentChild(s.Footer),i("design:type",Object)],e.prototype,"footer",void 0),l([o.ViewChild("content"),i("design:type",o.ElementRef)],e.prototype,"contentViewChild",void 0),l([o.Input(),i("design:type",Object),i("design:paramtypes",[Object])],e.prototype,"width",null),l([o.Input(),i("design:type",Object),i("design:paramtypes",[Object])],e.prototype,"height",null),l([o.Component({selector:"p-confirmDialog",template:'\n
    \n
    \n {{header}}\n \n \n \n
    \n
    \n \n \n
    \n \n \n
    \n ',animations:[r.trigger("animation",[r.state("void",r.style({transform:"translate3d(-50%, -25%, 0) scale(0.9)",opacity:0})),r.state("visible",r.style({transform:"translateX(-50%) translateY(-50%)",opacity:1})),r.transition("* => *",r.animate("{{transitionParams}}"))])]})],e)}());t.ConfirmDialog=d,t.ConfirmDialogModule=function(){return l([o.NgModule({imports:[u.CommonModule,c.ButtonModule],exports:[d,c.ButtonModule,s.SharedModule],declarations:[d]})],function(){})}()},"3PJ4":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("sdDj"),a=function(){function e(e,t){this.el=e,this.zone=t,this.onDragStart=new o.EventEmitter,this.onDragEnd=new o.EventEmitter,this.onDrag=new o.EventEmitter}return e.prototype.ngAfterViewInit=function(){this.pDraggableDisabled||(this.el.nativeElement.draggable=!0,this.bindMouseListeners())},e.prototype.bindDragListener=function(){var e=this;this.dragListener||this.zone.runOutsideAngular(function(){e.dragListener=e.drag.bind(e),e.el.nativeElement.addEventListener("drag",e.dragListener)})},e.prototype.unbindDragListener=function(){var e=this;this.dragListener&&this.zone.runOutsideAngular(function(){e.el.nativeElement.removeEventListener("drag",e.dragListener),e.dragListener=null})},e.prototype.bindMouseListeners=function(){var e=this;this.mouseDownListener||this.mouseUpListener||this.zone.runOutsideAngular(function(){e.mouseDownListener=e.mousedown.bind(e),e.mouseUpListener=e.mouseup.bind(e),e.el.nativeElement.addEventListener("mousedown",e.mouseDownListener),e.el.nativeElement.addEventListener("mouseup",e.mouseUpListener)})},e.prototype.unbindMouseListeners=function(){var e=this;this.mouseDownListener&&this.mouseUpListener&&this.zone.runOutsideAngular(function(){e.el.nativeElement.removeEventListener("mousedown",e.mouseDownListener),e.el.nativeElement.removeEventListener("mouseup",e.mouseUpListener),e.mouseDownListener=null,e.mouseUpListener=null})},e.prototype.drag=function(e){this.onDrag.emit(e)},e.prototype.dragStart=function(e){this.allowDrag()?(this.dragEffect&&(e.dataTransfer.effectAllowed=this.dragEffect),e.dataTransfer.setData("text",this.scope),this.onDragStart.emit(e),this.bindDragListener()):e.preventDefault()},e.prototype.dragEnd=function(e){this.onDragEnd.emit(e),this.unbindDragListener()},e.prototype.mousedown=function(e){this.handle=e.target},e.prototype.mouseup=function(e){this.handle=null},e.prototype.allowDrag=function(){return!this.dragHandle||!this.handle||u.DomHandler.matches(this.handle,this.dragHandle)},e.prototype.ngOnDestroy=function(){this.unbindDragListener(),this.unbindMouseListeners()},l([o.Input("pDraggable"),i("design:type",String)],e.prototype,"scope",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pDraggableDisabled",void 0),l([o.Input(),i("design:type",String)],e.prototype,"dragEffect",void 0),l([o.Input(),i("design:type",String)],e.prototype,"dragHandle",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onDragStart",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onDragEnd",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onDrag",void 0),l([o.HostListener("dragstart",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"dragStart",null),l([o.HostListener("dragend",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"dragEnd",null),l([o.Directive({selector:"[pDraggable]"})],e)}();t.Draggable=a;var s=function(){function e(e,t){this.el=e,this.zone=t,this.onDragEnter=new o.EventEmitter,this.onDragLeave=new o.EventEmitter,this.onDrop=new o.EventEmitter}return e.prototype.ngAfterViewInit=function(){this.pDroppableDisabled||this.bindDragOverListener()},e.prototype.bindDragOverListener=function(){var e=this;this.dragOverListener||this.zone.runOutsideAngular(function(){e.dragOverListener=e.dragOver.bind(e),e.el.nativeElement.addEventListener("dragover",e.dragOverListener)})},e.prototype.unbindDragOverListener=function(){var e=this;this.dragOverListener&&this.zone.runOutsideAngular(function(){e.el.nativeElement.removeEventListener("dragover",e.dragOverListener),e.dragOverListener=null})},e.prototype.dragOver=function(e){e.preventDefault()},e.prototype.drop=function(e){this.allowDrop(e)&&(e.preventDefault(),this.onDrop.emit(e))},e.prototype.dragEnter=function(e){e.preventDefault(),this.dropEffect&&(e.dataTransfer.dropEffect=this.dropEffect),this.onDragEnter.emit(e)},e.prototype.dragLeave=function(e){e.preventDefault(),this.onDragLeave.emit(e)},e.prototype.allowDrop=function(e){var t=e.dataTransfer.getData("text");if("string"==typeof this.scope&&t==this.scope)return!0;if(this.scope instanceof Array)for(var n=0;n\n
    \n \n
    \n
    \n
    {{header}}
    \n
    {{subheader}}
    \n
    \n \n
    \n \n
    \n \n '})],e)}();t.Card=a,t.CardModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[a,u.SharedModule],declarations:[a]})],function(){})}()},"5EhP":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicDialogInjector=function(){function e(e,t){this._parentInjector=e,this._additionalTokens=t}return e.prototype.get=function(e,t,n){return this._additionalTokens.get(e)||this._parentInjector.get(e,t)},e}()},"5xuf":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=function(){function e(e,t,n){this.el=e,this.renderer=t,this.viewContainer=n,this.onLoad=new o.EventEmitter}return e.prototype.ngAfterViewInit=function(){var e=this;this.shouldLoad()&&this.load(),this.isLoaded()||(this.documentScrollListener=this.renderer.listen("window","scroll",function(){e.shouldLoad()&&(e.load(),e.documentScrollListener(),e.documentScrollListener=null)}))},e.prototype.shouldLoad=function(){if(this.isLoaded())return!1;var e=this.el.nativeElement.getBoundingClientRect();return document.documentElement.clientHeight>=e.top},e.prototype.load=function(){this.view=this.viewContainer.createEmbeddedView(this.template),this.onLoad.emit()},e.prototype.isLoaded=function(){return null!=this.view},e.prototype.ngOnDestroy=function(){this.view=null,this.documentScrollListener&&this.documentScrollListener()},l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onLoad",void 0),l([o.ContentChild(o.TemplateRef),i("design:type",o.TemplateRef)],e.prototype,"template",void 0),l([o.Directive({selector:"[pDefer]"})],e)}();t.DeferredLoader=u,t.DeferModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[u],declarations:[u]})],function(){})}()},"60iU":function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"a",function(){return u});var l,i=n("G5J1"),o=n("F/XL"),r=n("XlPw");l||(l={});var u=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}},e.prototype.accept=function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)},e.prototype.toObservable=function(){switch(this.kind){case"N":return Object(o.a)(this.value);case"E":return Object(r.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},"66nc":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("ihYY"),u=n("Ip0R"),a=n("sdDj"),s=n("7LN8"),c=0,d=function(){function e(e,t,n){this.el=e,this.renderer=t,this.zone=n,this.draggable=!0,this.resizable=!0,this.closeOnEscape=!0,this.closable=!0,this.responsive=!0,this.showHeader=!0,this.breakpoint=640,this.blockScroll=!1,this.autoZIndex=!0,this.baseZIndex=0,this.minX=0,this.minY=0,this.focusOnShow=!0,this.transitionOptions="400ms cubic-bezier(0.25, 0.8, 0.25, 1)",this.closeIcon="pi pi-times",this.minimizeIcon="pi pi-window-minimize",this.maximizeIcon="pi pi-window-maximize",this.onShow=new o.EventEmitter,this.onHide=new o.EventEmitter,this.visibleChange=new o.EventEmitter,this.id="ui-dialog-"+c++}return Object.defineProperty(e.prototype,"width",{get:function(){return this._width},set:function(e){this._width=e,console.warn("width property is deprecated, use style to define the width of the Dialog.")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},set:function(e){this._height=e,console.warn("height property is deprecated, use style to define the height of the Dialog.")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minWidth",{get:function(){return this._minWidth},set:function(e){this._minWidth=e,console.warn("minWidth property is deprecated, use style to define the minWidth of the Dialog.")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this._minHeight},set:function(e){this._minHeight=e,console.warn("minHeight property is deprecated, use style to define the minHeight of the Dialog.")},enumerable:!0,configurable:!0}),e.prototype.focus=function(){var e=a.DomHandler.findSingle(this.container,"button");e&&this.zone.runOutsideAngular(function(){setTimeout(function(){return e.focus()},5)})},e.prototype.positionOverlay=function(){var e=a.DomHandler.getViewport();a.DomHandler.getOuterHeight(this.container)>e.height?(this.contentViewChild.nativeElement.style.height=.75*e.height+"px",this.container.style.height="auto"):(this.contentViewChild.nativeElement.style.height=null,this.height&&(this.container.style.height=this.height+"px")),this.positionLeft>=0&&this.positionTop>=0?(this.container.style.left=this.positionLeft+"px",this.container.style.top=this.positionTop+"px"):this.positionTop>=0?(this.center(),this.container.style.top=this.positionTop+"px"):this.center()},e.prototype.close=function(e){this.visibleChange.emit(!1),e.preventDefault()},e.prototype.center=function(){var e=a.DomHandler.getOuterWidth(this.container),t=a.DomHandler.getOuterHeight(this.container);0==e&&0==t&&(this.container.style.visibility="hidden",this.container.style.display="block",e=a.DomHandler.getOuterWidth(this.container),t=a.DomHandler.getOuterHeight(this.container),this.container.style.display="none",this.container.style.visibility="visible");var n=a.DomHandler.getViewport(),l=Math.max(Math.floor((n.width-e)/2),0),i=Math.max(Math.floor((n.height-t)/2),0);this.container.style.left=l+"px",this.container.style.top=i+"px"},e.prototype.enableModality=function(){var e=this;if(!this.mask){this.mask=document.createElement("div"),this.mask.style.zIndex=String(parseInt(this.container.style.zIndex)-1);var t="ui-widget-overlay ui-dialog-mask";this.blockScroll&&(t+=" ui-dialog-mask-scrollblocker"),a.DomHandler.addMultipleClasses(this.mask,t),this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.mask,"click",function(t){e.close(t)})),document.body.appendChild(this.mask),this.blockScroll&&a.DomHandler.addClass(document.body,"ui-overflow-hidden")}},e.prototype.disableModality=function(){if(this.mask){if(this.unbindMaskClickListener(),document.body.removeChild(this.mask),this.blockScroll){for(var e=document.body.children,t=void 0,n=0;n=this.minX&&r+t=this.minY&&u+nparseInt(s))&&d.left+rparseInt(c))&&d.top+u\n
    \n {{header}}\n \n \n \n \n \n \n \n \n \n
    \n
    \n \n
    \n \n
    \n \n ',animations:[r.trigger("animation",[r.state("void",r.style({transform:"translate3d(0, 25%, 0) scale(0.9)",opacity:0})),r.state("visible",r.style({transform:"none",opacity:1})),r.transition("* => *",r.animate("{{transitionParams}}"))])]})],e)}();t.Dialog=d,t.DialogModule=function(){return l([o.NgModule({imports:[u.CommonModule],exports:[d,s.SharedModule],declarations:[d]})],function(){})}()},"67Y/":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var l=n("mrSG"),i=n("FFOo");function o(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new r(e,t))}}var r=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.project,this.thisArg))},e}(),u=function(e){function t(t,n,l){var i=e.call(this,t)||this;return i.project=n,i.count=0,i.thisArg=l||i,i}return l.__extends(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(i.a)},"6MUB":function(e,t,n){"use strict";var l=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(i){var o=encodeURIComponent(l(i))+n;return Array.isArray(e[i])?e[i].map(function(e){return o+encodeURIComponent(l(e))}).join(t):o+encodeURIComponent(l(e[i]))}).join(t):i?encodeURIComponent(l(i))+n+encodeURIComponent(l(e)):""}},"6ahw":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var l=n("iLxQ"),i=n("DKTb"),o={closed:!0,next:function(e){},error:function(e){if(l.a.useDeprecatedSynchronousErrorHandling)throw e;Object(i.a)(e)},complete:function(){}}},"6blF":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var l=n("1fDf"),i=n("FFOo"),o=n("L/V9"),r=n("6ahw"),u=n("xTla"),a=n("y3By"),s=n("iLxQ"),c=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var l=this.operator,u=function(e,t,n){if(e){if(e instanceof i.a)return e;if(e[o.a])return e[o.a]()}return e||t||n?new i.a(e,t,n):new i.a(r.a)}(e,t,n);if(u.add(l?l.call(u,this.source):this.source||s.a.useDeprecatedSynchronousErrorHandling&&!u.syncErrorThrowable?this._subscribe(u):this._trySubscribe(u)),s.a.useDeprecatedSynchronousErrorHandling&&u.syncErrorThrowable&&(u.syncErrorThrowable=!1,u.syncErrorThrown))throw u.syncErrorValue;return u},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){s.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),Object(l.a)(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=d(t))(function(t,l){var i;i=n.subscribe(function(t){try{e(t)}catch(n){l(n),i&&i.unsubscribe()}},l,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[u.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t\n \n \n '})],e)}();t.Steps=a,t.StepsModule=function(){return l([o.NgModule({imports:[r.CommonModule,u.RouterModule],exports:[a,u.RouterModule],declarations:[a]})],function(){})}()},"7LN8":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("CcnG"),a=function(){return l([u.Component({selector:"p-header",template:""})],function(){})}();t.Header=a;var s=function(){return l([u.Component({selector:"p-footer",template:""})],function(){})}();t.Footer=s;var c=function(){function e(e){this.template=e}return e.prototype.getType=function(){return this.name},l([o.Input(),i("design:type",String)],e.prototype,"type",void 0),l([o.Input("pTemplate"),i("design:type",String)],e.prototype,"name",void 0),l([o.Directive({selector:"[pTemplate]",host:{}})],e)}();t.PrimeTemplate=c;var d=function(){function e(){this.filterType="text",this.exportable=!0,this.resizable=!0,this.sortFunction=new o.EventEmitter}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"header":e.headerTemplate=t.template;break;case"body":e.bodyTemplate=t.template;break;case"footer":e.footerTemplate=t.template;break;case"filter":e.filterTemplate=t.template;break;case"editor":e.editorTemplate=t.template;break;default:e.bodyTemplate=t.template}})},l([o.Input(),i("design:type",String)],e.prototype,"field",void 0),l([o.Input(),i("design:type",String)],e.prototype,"colId",void 0),l([o.Input(),i("design:type",String)],e.prototype,"sortField",void 0),l([o.Input(),i("design:type",String)],e.prototype,"filterField",void 0),l([o.Input(),i("design:type",String)],e.prototype,"header",void 0),l([o.Input(),i("design:type",String)],e.prototype,"footer",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"sortable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"editable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"filter",void 0),l([o.Input(),i("design:type",String)],e.prototype,"filterMatchMode",void 0),l([o.Input(),i("design:type",String)],e.prototype,"filterType",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"excludeGlobalFilter",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"rowspan",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"colspan",void 0),l([o.Input(),i("design:type",String)],e.prototype,"scope",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"exportable",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"headerStyle",void 0),l([o.Input(),i("design:type",String)],e.prototype,"headerStyleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"bodyStyle",void 0),l([o.Input(),i("design:type",String)],e.prototype,"bodyStyleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"footerStyle",void 0),l([o.Input(),i("design:type",String)],e.prototype,"footerStyleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"hidden",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"expander",void 0),l([o.Input(),i("design:type",String)],e.prototype,"selectionMode",void 0),l([o.Input(),i("design:type",String)],e.prototype,"filterPlaceholder",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"filterMaxlength",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"resizable",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"sortFunction",void 0),l([o.ContentChildren(c),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.ContentChild(o.TemplateRef),i("design:type",o.TemplateRef)],e.prototype,"template",void 0),l([u.Component({selector:"p-column",template:""})],e)}();t.Column=d;var p=function(){function e(){}return l([o.ContentChildren(d),i("design:type",o.QueryList)],e.prototype,"columns",void 0),l([u.Component({selector:"p-row",template:""})],e)}();t.Row=p;var h=function(){function e(){}return l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.ContentChildren(p),i("design:type",o.QueryList)],e.prototype,"rows",void 0),l([u.Component({selector:"p-headerColumnGroup",template:""})],e)}();t.HeaderColumnGroup=h;var f=function(){function e(){}return l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.ContentChildren(p),i("design:type",o.QueryList)],e.prototype,"rows",void 0),l([u.Component({selector:"p-footerColumnGroup",template:""})],e)}();t.FooterColumnGroup=f,t.SharedModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[a,s,d,c,p,h,f],declarations:[a,s,d,c,p,h,f]})],function(){})}()},"8EBN":function(e,t,n){!function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"],alias:["objective-c","objc"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var t=0;t-1&&t.substring(i+1,t.length);if(o)return e.findModeByExtension(o)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n\n
    \n \n
    \n
    \n \n
    \n \n '})],e)}();t.DTRadioButton=h;var f=function(){function e(){this.onChange=new o.EventEmitter}return e.prototype.handleClick=function(e){this.disabled||this.onChange.emit({originalEvent:e,checked:!this.checked})},l([o.Input(),i("design:type",Boolean)],e.prototype,"checked",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onChange",void 0),l([o.Component({selector:"p-dtCheckbox",template:'\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n '})],e)}();t.DTCheckbox=f;var g=function(){function e(e){this.dt=e}return l([o.Input("pColumnHeaders"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Component({selector:"[pColumnHeaders]",template:'\n \n \n \n {{col.header}}\n \n \n \n \n \n \n \n \n \n \n \n '})],e)}();t.ColumnHeaders=g;var m=function(){function e(e){this.dt=e}return l([o.Input("pColumnFooters"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Component({selector:"[pColumnFooters]",template:'\n \n {{col.footer}}\n \n \n \n \n '})],e)}();t.ColumnFooters=m;var v=function(){function e(e){this.dt=e}return e.prototype.visibleColumns=function(){return this.columns?this.columns.filter(function(e){return!e.hidden}):[]},l([o.Input("pTableBody"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"data",void 0),l([o.Component({selector:"[pTableBody]",template:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {{col.header}}\n {{dt.resolveFieldData(rowData,col.field)}}\n \n \n \n
    \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n \n \n \n
    \n\n \n \n {{dt.emptyMessage}}\n \n \n \n \n \n '})],e)}();t.TableBody=v;var y=function(){function e(e,t,n,l){this.dt=e,this.el=t,this.renderer=n,this.zone=l,this.onVirtualScroll=new o.EventEmitter}return e.prototype.ngAfterViewInit=function(){this.initScrolling()},e.prototype.ngAfterViewChecked=function(){var e=this;if(this.virtualScroll&&!this.rowHeight){var t=d.DomHandler.findSingle(this.scrollTable,"tr.ui-widget-content:not(.ui-datatable-emptymessage-row)");t&&(this.rowHeight=d.DomHandler.getOuterHeight(t))}this.frozen||this.zone.runOutsideAngular(function(){setTimeout(function(){e.alignScrollBar()},1)})},e.prototype.initScrolling=function(){var e=this;this.scrollHeader=this.scrollHeaderViewChild.nativeElement,this.scrollHeaderBox=this.scrollHeaderBoxViewChild.nativeElement,this.scrollBody=this.scrollBodyViewChild.nativeElement,this.scrollTable=this.scrollTableViewChild.nativeElement,this.scrollTableWrapper=this.scrollTableWrapperViewChild.nativeElement,this.scrollFooter=this.scrollFooterViewChild?this.scrollFooterViewChild.nativeElement:null,this.scrollFooterBox=this.scrollFooterBoxViewChild?this.scrollFooterBoxViewChild.nativeElement:null,this.setScrollHeight(),this.frozen||this.zone.runOutsideAngular(function(){e.scrollHeader.addEventListener("scroll",e.onHeaderScroll.bind(e)),e.scrollBody.addEventListener("scroll",e.onBodyScroll.bind(e))}),this.frozen?this.scrollBody.style.paddingBottom=d.DomHandler.calculateScrollbarWidth()+"px":this.alignScrollBar()},e.prototype.onBodyScroll=function(e){var t=this,n=this.el.nativeElement.previousElementSibling;if(n)var l=d.DomHandler.findSingle(n,".ui-datatable-scrollable-body");if(this.scrollHeaderBox.style.marginLeft=-1*this.scrollBody.scrollLeft+"px",this.scrollFooterBox&&(this.scrollFooterBox.style.marginLeft=-1*this.scrollBody.scrollLeft+"px"),l&&(l.scrollTop=this.scrollBody.scrollTop),this.virtualScroll){var i=d.DomHandler.getOuterHeight(this.scrollBody),o=d.DomHandler.getOuterHeight(this.scrollTable),r=this.rowHeight*this.dt.rows,u=d.DomHandler.getOuterHeight(this.scrollTableWrapper)/r||1;if(this.scrollBody.scrollTop+i>parseFloat(this.scrollTable.style.top)+o||this.scrollBody.scrollTopd.DomHandler.getOuterHeight(this.scrollBody)},e.prototype.alignScrollBar=function(){var e=this.hasVerticalOverflow()?d.DomHandler.calculateScrollbarWidth():0;this.scrollHeaderBox.style.marginRight=e+"px",this.scrollFooterBox&&(this.scrollFooterBox.style.marginRight=e+"px")},e.prototype.ngOnDestroy=function(){this.scrollHeader.removeEventListener("scroll",this.onHeaderScroll),this.scrollBody.removeEventListener("scroll",this.onBodyScroll)},l([o.Input("pScrollableView"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Input(),i("design:type",c.HeaderColumnGroup)],e.prototype,"headerColumnGroup",void 0),l([o.Input(),i("design:type",c.HeaderColumnGroup)],e.prototype,"footerColumnGroup",void 0),l([o.ViewChild("scrollHeader"),i("design:type",o.ElementRef)],e.prototype,"scrollHeaderViewChild",void 0),l([o.ViewChild("scrollHeaderBox"),i("design:type",o.ElementRef)],e.prototype,"scrollHeaderBoxViewChild",void 0),l([o.ViewChild("scrollBody"),i("design:type",o.ElementRef)],e.prototype,"scrollBodyViewChild",void 0),l([o.ViewChild("scrollTable"),i("design:type",o.ElementRef)],e.prototype,"scrollTableViewChild",void 0),l([o.ViewChild("scrollTableWrapper"),i("design:type",o.ElementRef)],e.prototype,"scrollTableWrapperViewChild",void 0),l([o.ViewChild("scrollFooter"),i("design:type",o.ElementRef)],e.prototype,"scrollFooterViewChild",void 0),l([o.ViewChild("scrollFooterBox"),i("design:type",o.ElementRef)],e.prototype,"scrollFooterBoxViewChild",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.Input(),i("design:type",String)],e.prototype,"width",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"virtualScroll",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onVirtualScroll",void 0),l([o.Component({selector:"[pScrollableView]",template:'\n
    \n
    \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n
    \n
    \n
    \n \n '})],e)}();t.ScrollableView=y;var b=function(){function e(e,t,n,l,i){this.el=e,this.differs=t,this.renderer=n,this.changeDetector=l,this.zone=i,this.pageLinks=5,this.selectionChange=new o.EventEmitter,this.showHeaderCheckbox=!0,this.onRowClick=new o.EventEmitter,this.onRowSelect=new o.EventEmitter,this.onRowUnselect=new o.EventEmitter,this.onRowDblclick=new o.EventEmitter,this.onHeaderCheckboxToggle=new o.EventEmitter,this.onContextMenuSelect=new o.EventEmitter,this.filterDelay=300,this.onLazyLoad=new o.EventEmitter,this.columnResizeMode="fit",this.onColResize=new o.EventEmitter,this.onColReorder=new o.EventEmitter,this.sortMode="single",this.defaultSortOrder=1,this.csvSeparator=",",this.exportFilename="download",this.emptyMessage="No records found",this.paginatorPosition="bottom",this.alwaysShowPaginator=!0,this.metaKeySelection=!0,this.rowTrackBy=function(e,t){return t},this.immutable=!0,this.compareSelectionBy="deepEquals",this.onEditInit=new o.EventEmitter,this.onEditComplete=new o.EventEmitter,this.onEdit=new o.EventEmitter,this.onEditCancel=new o.EventEmitter,this.onPage=new o.EventEmitter,this.onSort=new o.EventEmitter,this.onFilter=new o.EventEmitter,this.rowExpandMode="multiple",this.expandedIcon="fa-chevron-circle-down",this.collapsedIcon="fa-chevron-circle-right",this.tabindex=1,this.sortableRowGroup=!0,this.filters={},this.loadingIcon="fa-circle-o-notch",this.virtualScrollDelay=500,this.rowGroupExpandMode="multiple",this.valueChange=new o.EventEmitter,this.firstChange=new o.EventEmitter,this.onRowExpand=new o.EventEmitter,this.onRowCollapse=new o.EventEmitter,this.onRowGroupExpand=new o.EventEmitter,this.onRowGroupCollapse=new o.EventEmitter,this.page=0,this.columnsChanged=!1,this._first=0,this._sortOrder=1,this.filterConstraints={startsWith:function(e,t){if(null==t||""===t.trim())return!0;if(null==e)return!1;var n=t.toLowerCase();return e.toString().toLowerCase().slice(0,n.length)===n},contains:function(e,t){return null==t||"string"==typeof t&&""===t.trim()||null!=e&&-1!==e.toString().toLowerCase().indexOf(t.toLowerCase())},endsWith:function(e,t){if(null==t||""===t.trim())return!0;if(null==e)return!1;var n=t.toString().toLowerCase();return-1!==e.toString().toLowerCase().indexOf(n,e.toString().length-n.length)},equals:function(e,t){return null==t||"string"==typeof t&&""===t.trim()||null!=e&&e.toString().toLowerCase()==t.toString().toLowerCase()},notEquals:function(e,t){return!(null==t||"string"==typeof t&&""===t.trim()||null!=e&&e.toString().toLowerCase()==t.toString().toLowerCase())},in:function(e,t){if(null==t||0===t.length)return!0;if(null==e)return!1;for(var n=0;n=this.totalRecords){var e=Math.ceil(this.totalRecords/this.rows);this._first=Math.max((e-1)*this.rows,0)}},e.prototype.updateTotalRecords=function(){this.totalRecords=this.lazy?this.totalRecords:this.value?this.value.length:0},e.prototype.onPageChange=function(e){this._first=e.first,this.firstChange.emit(this.first),this.rows=e.rows,this.paginate()},e.prototype.paginate=function(){this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.updateDataToRender(this.filteredValue||this.value),this.onPage.emit({first:this.first,rows:this.rows})},e.prototype.updateDataToRender=function(e){if((this.paginator||this.virtualScroll)&&e){this.dataToRender=[];for(var t=this.lazy?0:this.first,n=this.virtualScroll?this.first+2*this.rows:t+this.rows,l=t;l=e.length);l++)this.dataToRender.push(e[l])}else this.dataToRender=e;this.rowGroupMode&&this.updateRowGroupMetadata(),this.changeDetector.markForCheck()},e.prototype.onVirtualScroll=function(e){var t=this;this._first=(e.page-1)*this.rows,this.virtualScrollCallback=e.callback,this.zone.run(function(){t.virtualScrollTimer&&clearTimeout(t.virtualScrollTimer),t.virtualScrollTimer=setTimeout(function(){t.lazy?t.onLazyLoad.emit(t.createLazyLoadMetadata()):t.updateDataToRender(t.filteredValue||t.value)},t.virtualScrollDelay)})},e.prototype.onHeaderKeydown=function(e,t){13==e.keyCode&&(this.sort(e,t),e.preventDefault())},e.prototype.onHeaderMousedown=function(e,t){this.reorderableColumns&&("INPUT"!==e.target.nodeName?t.draggable=!0:"INPUT"===e.target.nodeName&&(t.draggable=!1))},e.prototype.sort=function(e,t){if(t.sortable){var n=e.target;if(d.DomHandler.hasClass(n,"ui-sortable-column")||d.DomHandler.hasClass(n,"ui-column-title")||d.DomHandler.hasClass(n,"ui-sortable-column-icon")){this.immutable||(this.preventSortPropagation=!0);var l=t.sortField||t.field;this._sortOrder=this.sortField===l?-1*this.sortOrder:this.defaultSortOrder,this._sortField=l,this.sortColumn=t,"multiple"==this.sortMode&&(this.multiSortMeta&&(e.metaKey||e.ctrlKey)||(this._multiSortMeta=[]),this.addSortMeta({field:this.sortField,order:this.sortOrder})),this.lazy?(this._first=0,this.onLazyLoad.emit(this.createLazyLoadMetadata())):"multiple"==this.sortMode?this.sortMultiple():this.sortSingle(),this.onSort.emit({field:this.sortField,order:this.sortOrder,multisortmeta:this.multiSortMeta})}this.updateDataToRender(this.filteredValue||this.value)}},e.prototype.sortSingle=function(){var e=this;this.value&&(this.sortColumn&&"custom"===this.sortColumn.sortable?(this.preventSortPropagation=!0,this.sortColumn.sortFunction.emit({field:this.sortField,order:this.sortOrder})):this.value.sort(function(t,n){var l,i=e.resolveFieldData(t,e.sortField),o=e.resolveFieldData(n,e.sortField);return l=null==i&&null!=o?-1:null!=i&&null==o?1:null==i&&null==o?0:"string"==typeof i&&"string"==typeof o?i.localeCompare(o):io?1:0,e.sortOrder*l}),this._first=0,this.hasFilter()&&this._filter())},e.prototype.sortMultiple=function(){var e=this;this.value&&(this.value.sort(function(t,n){return e.multisortField(t,n,e.multiSortMeta,0)}),this.hasFilter()&&this._filter())},e.prototype.multisortField=function(e,t,n,l){var i=this.resolveFieldData(e,n[l].field),o=this.resolveFieldData(t,n[l].field),r=null;if("string"==typeof i||i instanceof String){if(i.localeCompare&&i!=o)return n[l].order*i.localeCompare(o)}else r=il?this.multisortField(e,t,n,l+1):0:n[l].order*r},e.prototype.addSortMeta=function(e){for(var t=-1,n=0;n=0?this.multiSortMeta[t]=e:this.multiSortMeta.push(e)},e.prototype.isSorted=function(e){if(!e.sortable)return!1;var t=e.sortField||e.field;if("single"===this.sortMode)return this.sortField&&t===this.sortField;if("multiple"===this.sortMode){var n=!1;if(this.multiSortMeta)for(var l=0;lthis.anchorRowIndex?(t=this.anchorRowIndex,n=this.rangeRowIndex):this.rangeRowIndext?(n=t,l=this.anchorRowIndex):this.anchorRowIndex-1:this.equals(e,this.selection))},e.prototype.equals=function(e,t){return"equals"===this.compareSelectionBy?e===t:p.ObjectUtils.equals(e,t,this.dataKey)},Object.defineProperty(e.prototype,"allSelected",{get:function(){if(this.headerCheckboxToggleAllPages)return this.selection&&this.value&&this.selection.length===this.value.length;var e=!0;if(this.dataToRender&&this.selection&&this.dataToRender.length<=this.selection.length){for(var t=0,n=this.dataToRender;tparseInt(this.resizeColumn.style.minWidth||15)){if("fit"===this.columnResizeMode){for(var i=this.resizeColumn.nextElementSibling;d.DomHandler.hasClass(i,"ui-helper-hidden");)i=i.nextElementSibling;if(i){var o=i.offsetWidth-t;if(l>15&&o>parseInt(i.style.minWidth||15)&&(this.resizeColumn.style.width=l+"px",i&&(i.style.width=o+"px"),this.scrollable)){var r=d.DomHandler.findSingle(this.el.nativeElement,"colgroup.ui-datatable-scrollable-colgroup"),u=d.DomHandler.index(this.resizeColumn);r.children[u].style.width=l+"px",i&&(r.children[u+1].style.width=o+"px")}}}else if("expand"===this.columnResizeMode){this.tbody.parentElement.style.width=this.tbody.parentElement.offsetWidth+t+"px",this.resizeColumn.style.width=l+"px";var a=this.tbody.parentElement.style.width;this.scrollable?(d.DomHandler.findSingle(this.el.nativeElement,".ui-datatable-scrollable-header-box").children[0].style.width=a,r=d.DomHandler.findSingle(this.el.nativeElement,"colgroup.ui-datatable-scrollable-colgroup"),u=d.DomHandler.index(this.resizeColumn),r.children[u].style.width=l+"px"):this.el.nativeElement.children[0].style.width=a}this.onColResize.emit({element:this.resizeColumn,delta:t})}this.resizerHelper.style.display="none",this.resizeColumn=null,d.DomHandler.removeClass(this.el.nativeElement.children[0],"ui-unselectable-text"),this.unbindColumnResizeEvents()},e.prototype.fixColumnWidths=function(){for(var e,t=d.DomHandler.find(this.el.nativeElement,"th.ui-resizable-column"),n=0;no?(this.reorderIndicatorUp.style.left=i+t.offsetWidth-Math.ceil(this.iconWidth/2)+"px",this.reorderIndicatorDown.style.left=i+t.offsetWidth-Math.ceil(this.iconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUp.style.left=i-Math.ceil(this.iconWidth/2)+"px",this.reorderIndicatorDown.style.left=i-Math.ceil(this.iconWidth/2)+"px",this.dropPosition=-1),this.reorderIndicatorUp.style.display="block",this.reorderIndicatorDown.style.display="block"}else e.dataTransfer.dropEffect="none"}},e.prototype.onColumnDragleave=function(e){this.reorderableColumns&&this.draggedColumn&&(e.preventDefault(),this.reorderIndicatorUp.style.display="none",this.reorderIndicatorDown.style.display="none",window.document.removeEventListener("dragover",this.onColumnDragover))},e.prototype.onColumnDrop=function(e){if(e.preventDefault(),this.draggedColumn){var t=d.DomHandler.index(this.draggedColumn),n=d.DomHandler.index(this.findParentHeader(e.target)),l=t!=n;l&&(n-t==1&&-1===this.dropPosition||t-n==1&&1===this.dropPosition)&&(l=!1),l&&(p.ObjectUtils.reorderArray(this.columns,t,n),this.scrollable&&this.initScrollableColumns(),this.onColReorder.emit({dragIndex:t,dropIndex:n,columns:this.columns})),this.reorderIndicatorUp.style.display="none",this.reorderIndicatorDown.style.display="none",this.draggedColumn.draggable=!1,this.draggedColumn=null,this.dropPosition=null}},e.prototype.initColumnReordering=function(){this.reorderIndicatorUp=d.DomHandler.findSingle(this.el.nativeElement.children[0],"span.ui-datatable-reorder-indicator-up"),this.reorderIndicatorDown=d.DomHandler.findSingle(this.el.nativeElement.children[0],"span.ui-datatable-reorder-indicator-down"),this.iconWidth=d.DomHandler.getHiddenElementOuterWidth(this.reorderIndicatorUp),this.iconHeight=d.DomHandler.getHiddenElementOuterHeight(this.reorderIndicatorUp)},e.prototype.findParentHeader=function(e){if("TH"==e.nodeName)return e;for(var t=e.parentElement;"TH"!=t.nodeName&&(t=t.parentElement););return t},e.prototype.hasFooter=function(){if(this.footerColumnGroups&&this.footerColumnGroups.first)return!0;if(this.columns)for(var e=0;e=0?(this.expandedRowsGroups.splice(n,1),this.onRowGroupCollapse.emit({originalEvent:e,group:l})):("single"===this.rowGroupExpandMode&&(this.expandedRowsGroups=[]),this.expandedRowsGroups.push(l),this.onRowGroupExpand.emit({originalEvent:e,group:l})),e.preventDefault()},e.prototype.reset=function(){this._sortField=null,this._sortOrder=1,this.filteredValue=null,this.filters={},this._first=0,this.firstChange.emit(this._first),this.updateTotalRecords(),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.updateDataToRender(this.value)},e.prototype.exportCSV=function(e){var t=this,n=this.filteredValue||this.value,l="\ufeff";e&&e.selectionOnly&&(n=this.selection||[]);for(var i=0;i0},e.prototype.ngOnDestroy=function(){this.globalFilterFunction&&this.globalFilterFunction(),this.resizableColumns&&this.unbindColumnResizeEvents(),this.unbindDocumentEditListener(),this.columnsSubscription&&this.columnsSubscription.unsubscribe(),this.virtualScrollCallback&&(this.virtualScrollCallback=null)},l([o.Input(),i("design:type",Boolean)],e.prototype,"paginator",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"rows",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"pageLinks",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"rowsPerPageOptions",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"responsive",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"stacked",void 0),l([o.Input(),i("design:type",String)],e.prototype,"selectionMode",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"selectionChange",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"editable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"showHeaderCheckbox",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowClick",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowSelect",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowUnselect",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowDblclick",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onHeaderCheckboxToggle",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"headerCheckboxToggleAllPages",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onContextMenuSelect",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"filterDelay",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"lazy",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onLazyLoad",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"resizableColumns",void 0),l([o.Input(),i("design:type",String)],e.prototype,"columnResizeMode",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onColResize",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"reorderableColumns",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onColReorder",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"scrollable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"virtualScroll",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"scrollHeight",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"scrollWidth",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"frozenWidth",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"unfrozenWidth",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"tableStyle",void 0),l([o.Input(),i("design:type",String)],e.prototype,"tableStyleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"globalFilter",void 0),l([o.Input(),i("design:type",String)],e.prototype,"sortMode",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"defaultSortOrder",void 0),l([o.Input(),i("design:type",String)],e.prototype,"groupField",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"contextMenu",void 0),l([o.Input(),i("design:type",String)],e.prototype,"csvSeparator",void 0),l([o.Input(),i("design:type",String)],e.prototype,"exportFilename",void 0),l([o.Input(),i("design:type",String)],e.prototype,"emptyMessage",void 0),l([o.Input(),i("design:type",String)],e.prototype,"paginatorPosition",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"alwaysShowPaginator",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"metaKeySelection",void 0),l([o.Input(),i("design:type",Function)],e.prototype,"rowTrackBy",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"immutable",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"frozenValue",void 0),l([o.Input(),i("design:type",String)],e.prototype,"compareSelectionBy",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onEditInit",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onEditComplete",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onEdit",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onEditCancel",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onPage",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onSort",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onFilter",void 0),l([o.ContentChild(c.Header),i("design:type",Object)],e.prototype,"header",void 0),l([o.ContentChild(c.Footer),i("design:type",Object)],e.prototype,"footer",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"expandableRows",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"expandedRows",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"expandableRowGroups",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rowExpandMode",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"expandedRowsGroups",void 0),l([o.Input(),i("design:type",String)],e.prototype,"expandedIcon",void 0),l([o.Input(),i("design:type",String)],e.prototype,"collapsedIcon",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"tabindex",void 0),l([o.Input(),i("design:type",Function)],e.prototype,"rowStyleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"rowStyleMap",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rowGroupMode",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"sortableRowGroup",void 0),l([o.Input(),i("design:type",String)],e.prototype,"sortFile",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"rowHover",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"filters",void 0),l([o.Input(),i("design:type",String)],e.prototype,"dataKey",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"loading",void 0),l([o.Input(),i("design:type",String)],e.prototype,"loadingIcon",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"virtualScrollDelay",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rowGroupExpandMode",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"valueChange",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"firstChange",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowExpand",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowCollapse",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowGroupExpand",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowGroupCollapse",void 0),l([o.ContentChildren(c.PrimeTemplate),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.ContentChildren(c.Column),i("design:type",o.QueryList)],e.prototype,"cols",void 0),l([o.ContentChildren(c.HeaderColumnGroup),i("design:type",o.QueryList)],e.prototype,"headerColumnGroups",void 0),l([o.ContentChildren(c.FooterColumnGroup),i("design:type",o.QueryList)],e.prototype,"footerColumnGroups",void 0),l([o.Input(),i("design:type",Array),i("design:paramtypes",[Array])],e.prototype,"multiSortMeta",null),l([o.Input(),i("design:type",String),i("design:paramtypes",[String])],e.prototype,"sortField",null),l([o.Input(),i("design:type",Number),i("design:paramtypes",[Number])],e.prototype,"sortOrder",null),l([o.Input(),i("design:type",Array),i("design:paramtypes",[Array])],e.prototype,"value",null),l([o.Input(),i("design:type",Number),i("design:paramtypes",[Number])],e.prototype,"first",null),l([o.Input(),i("design:type",Number),i("design:paramtypes",[Number])],e.prototype,"totalRecords",null),l([o.Input(),i("design:type",Object),i("design:paramtypes",[Object])],e.prototype,"selection",null),l([o.Component({selector:"p-dataTable",template:'\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n
    \n '})],e)}();t.DataTable=b,t.DataTableModule=function(){return l([o.NgModule({imports:[r.CommonModule,a.SharedModule,s.PaginatorModule,u.FormsModule],exports:[b,a.SharedModule],declarations:[b,h,f,g,m,v,y]})],function(){})}()},ARwZ:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("gIcY");t.RATING_VALUE_ACCESSOR={provide:u.NG_VALUE_ACCESSOR,useExisting:o.forwardRef(function(){return a}),multi:!0};var a=function(){function e(e){this.cd=e,this.stars=5,this.cancel=!0,this.iconOnClass="pi pi-star",this.iconOffClass="pi pi-star-o",this.iconCancelClass="pi pi-ban",this.onRate=new o.EventEmitter,this.onCancel=new o.EventEmitter,this.onModelChange=function(){},this.onModelTouched=function(){}}return e.prototype.ngOnInit=function(){this.starsArray=[];for(var e=0;e\n \n \n \n \n \n \n \n ',providers:[t.RATING_VALUE_ACCESSOR]})],e)}();t.Rating=a,t.RatingModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[a],declarations:[a]})],function(){})}()},Avra:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("gIcY"),u=n("Ip0R"),a=n("sdDj"),s=(n("VeV1"),function(){function e(e,t){var n=this;this.el=e,this.terminalService=t,this.commands=[],this.subscription=t.responseHandler.subscribe(function(e){n.commands[n.commands.length-1].response=e,n.commandProcessed=!0})}return e.prototype.ngAfterViewInit=function(){this.container=a.DomHandler.find(this.el.nativeElement,".ui-terminal")[0]},e.prototype.ngAfterViewChecked=function(){this.commandProcessed&&(this.container.scrollTop=this.container.scrollHeight,this.commandProcessed=!1)},Object.defineProperty(e.prototype,"response",{set:function(e){e&&(this.commands[this.commands.length-1].response=e,this.commandProcessed=!0)},enumerable:!0,configurable:!0}),e.prototype.handleCommand=function(e){13==e.keyCode&&(this.commands.push({text:this.command}),this.terminalService.sendCommand(this.command),this.command="")},e.prototype.focus=function(e){e.focus()},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input(),i("design:type",String)],e.prototype,"welcomeMessage",void 0),l([o.Input(),i("design:type",String)],e.prototype,"prompt",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",String),i("design:paramtypes",[String])],e.prototype,"response",null),l([o.Component({selector:"p-terminal",template:'\n
    \n
    {{welcomeMessage}}
    \n
    \n
    \n {{prompt}}\n {{command.text}}\n
    {{command.response}}
    \n
    \n
    \n
    \n {{prompt}}\n \n
    \n
    \n '})],e)}());t.Terminal=s,t.TerminalModule=function(){return l([o.NgModule({imports:[u.CommonModule,r.FormsModule],exports:[s],declarations:[s]})],function(){})}()},AxiF:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var l=n("mrSG"),i=n("FFOo"),o=n("b7mW"),r=n("G5J1");function u(e){return function(t){return 0===e?Object(r.b)():t.lift(new a(e))}}var a=function(){function e(e){if(this.total=e,this.total<0)throw new o.a}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.total))},e}(),s=function(e){function t(t,n){var l=e.call(this,t)||this;return l.total=n,l.ring=new Array,l.count=0,l}return l.__extends(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,l=this.count++;t.length0)for(var n=this.count>=this.total?this.total:this.count,l=this.ring,i=0;it.cursorCoords(n,"window").top&&((h=l).style.opacity=.4)}))};!function(e,t,n,l,i){e.openDialog(t,f,{value:s,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){d(e)},onKeyDown:i})}(t,p(t),0,0,function(l,i){var o=e.keyName(l),r=t.getOption("extraKeys"),u=r&&r[o]||e.keyMap[t.getOption("keyMap")][o];"findNext"==u||"findPrev"==u||"findPersistentNext"==u||"findPersistentPrev"==u?(e.e_stop(l),a(t,n(t),i),t.execCommand(u)):"find"!=u&&"findPersistent"!=u||(e.e_stop(l),f(i,l))}),r&&s&&(a(t,u,s),c(t,l))}else o(t,p(t),"Search for:",s,function(e){e&&!u.query&&t.operation(function(){a(t,u,e),u.posFrom=u.posTo=t.getCursor(),c(t,l)})})}function c(t,l,o){t.operation(function(){var r=n(t),u=i(t,r.query,l?r.posFrom:r.posTo);(u.find(l)||(u=i(t,r.query,l?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(l))&&(t.setSelection(u.from(),u.to()),t.scrollIntoView({from:u.from(),to:u.to()},20),r.posFrom=u.from(),r.posTo=u.to(),o&&o(u.from(),u.to()))})}function d(e){e.operation(function(){var t=n(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))})}function p(e){return''+e.phrase("Search:")+' '+e.phrase("(Use /re/ syntax for regexp search)")+""}function h(e,t,n){e.operation(function(){for(var l=i(e,t);l.findNext();)if("string"!=typeof t){var o=e.getRange(l.from(),l.to()).match(t);l.replace(n.replace(/\$(\d)/g,function(e,t){return o[t]}))}else l.replace(n)})}function f(e,t){if(!e.getOption("readOnly")){var l=e.getSelection()||n(e).lastQuery,a=''+e.phrase(t?"Replace all:":"Replace:")+"";o(e,a+function(e){return' '+e.phrase("(Use /re/ syntax for regexp search)")+""}(e),a,l,function(n){n&&(n=u(n),o(e,function(e){return''+e.phrase("With:")+' '}(e),e.phrase("Replace with:"),"",function(l){if(l=r(l),t)h(e,n,l);else{d(e);var o=i(e,n,e.getCursor("from")),u=function(){var t,r=o.from();!(t=o.findNext())&&(o=i(e,n),!(t=o.findNext())||r&&o.from().line==r.line&&o.from().ch==r.ch)||(e.setSelection(o.from(),o.to()),e.scrollIntoView({from:o.from(),to:o.to()}),function(e,t,n,l){e.openConfirm?e.openConfirm(t,l):confirm(n)&&l[0]()}(e,function(e){return''+e.phrase("Replace?")+" "}(e),e.phrase("Replace?"),[function(){a(t)},u,function(){h(e,n,l)}]))},a=function(e){o.replace("string"==typeof n?l:l.replace(/\$(\d)/g,function(t,n){return e[n]})),u()};u()}}))})}}e.commands.find=function(e){d(e),s(e)},e.commands.findPersistent=function(e){d(e),s(e,!1,!0)},e.commands.findPersistentNext=function(e){s(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){s(e,!0,!0,!0)},e.commands.findNext=s,e.commands.findPrev=function(e){s(e,!0)},e.commands.clearSearch=d,e.commands.replace=f,e.commands.replaceAll=function(e){f(e,!0)}}(n("VrN/"),n("uTOq"),n("Ku0u"))},CC75:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("7LN8"),a=n("ZYCi"),s=function(){function e(){}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"item":default:e.itemTemplate=t.template}})},e.prototype.itemClick=function(e,t){t.disabled?e.preventDefault():(t.url||e.preventDefault(),t.command&&t.command({originalEvent:e,item:t}),this.activeItem=t)},l([o.Input(),i("design:type",Array)],e.prototype,"model",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"activeItem",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"popup",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.ContentChildren(u.PrimeTemplate),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.Component({selector:"p-tabMenu",template:'\n \n '})],e)}();t.TabMenu=s,t.TabMenuModule=function(){return l([o.NgModule({imports:[r.CommonModule,a.RouterModule],exports:[s,a.RouterModule],declarations:[s]})],function(){})}()},CS9Q:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var l=n("mrSG"),i=n("siIJ"),o=function(e){function t(n,l){void 0===l&&(l=i.a.now);var o=e.call(this,n,function(){return t.delegate&&t.delegate!==o?t.delegate.now():l()})||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return l.__extends(t,e),t.prototype.schedule=function(n,l,i){return void 0===l&&(l=0),t.delegate&&t.delegate!==this?t.delegate.schedule(n,l,i):e.prototype.schedule.call(this,n,l,i)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(i.a)},CcnG:function(e,t,n){"use strict";n.r(t),n.d(t,"\u0275angular_packages_core_core_t",function(){return Xf}),n.d(t,"\u0275angular_packages_core_core_q",function(){return Yf}),n.d(t,"\u0275angular_packages_core_core_r",function(){return Zf}),n.d(t,"\u0275angular_packages_core_core_s",function(){return Qf}),n.d(t,"\u0275angular_packages_core_core_h",function(){return Zp}),n.d(t,"\u0275angular_packages_core_core_o",function(){return Df}),n.d(t,"\u0275angular_packages_core_core_p",function(){return Pf}),n.d(t,"\u0275angular_packages_core_core_n",function(){return mf}),n.d(t,"\u0275angular_packages_core_core_m",function(){return gf}),n.d(t,"\u0275angular_packages_core_core_c",function(){return hu}),n.d(t,"\u0275angular_packages_core_core_d",function(){return kt}),n.d(t,"\u0275angular_packages_core_core_e",function(){return $p}),n.d(t,"\u0275angular_packages_core_core_f",function(){return Mp}),n.d(t,"\u0275angular_packages_core_core_g",function(){return Vp}),n.d(t,"\u0275angular_packages_core_core_l",function(){return od}),n.d(t,"\u0275angular_packages_core_core_u",function(){return Sh}),n.d(t,"\u0275angular_packages_core_core_w",function(){return Ch}),n.d(t,"\u0275angular_packages_core_core_v",function(){return bh}),n.d(t,"\u0275angular_packages_core_core_z",function(){return xh}),n.d(t,"\u0275angular_packages_core_core_x",function(){return wh}),n.d(t,"\u0275angular_packages_core_core_y",function(){return _h}),n.d(t,"\u0275angular_packages_core_core_bc",function(){return Tn}),n.d(t,"\u0275angular_packages_core_core_bj",function(){return h}),n.d(t,"\u0275angular_packages_core_core_bd",function(){return Qt}),n.d(t,"\u0275angular_packages_core_core_be",function(){return Jt}),n.d(t,"\u0275angular_packages_core_core_bf",function(){return vn}),n.d(t,"\u0275angular_packages_core_core_bi",function(){return ii}),n.d(t,"\u0275angular_packages_core_core_bm",function(){return Qe}),n.d(t,"\u0275angular_packages_core_core_i",function(){return da}),n.d(t,"\u0275angular_packages_core_core_j",function(){return pa}),n.d(t,"\u0275angular_packages_core_core_k",function(){return ha}),n.d(t,"\u0275angular_packages_core_core_a",function(){return D}),n.d(t,"\u0275angular_packages_core_core_b",function(){return R}),n.d(t,"\u0275angular_packages_core_core_bk",function(){return s}),n.d(t,"\u0275angular_packages_core_core_ba",function(){return qm}),n.d(t,"\u0275angular_packages_core_core_bb",function(){return sg}),n.d(t,"createPlatform",function(){return Gh}),n.d(t,"assertPlatform",function(){return qh}),n.d(t,"destroyPlatform",function(){return Kh}),n.d(t,"getPlatform",function(){return Yh}),n.d(t,"PlatformRef",function(){return Zh}),n.d(t,"ApplicationRef",function(){return Xh}),n.d(t,"createPlatformFactory",function(){return Wh}),n.d(t,"NgProbeToken",function(){return $h}),n.d(t,"enableProdMode",function(){return Ha}),n.d(t,"isDevMode",function(){return ja}),n.d(t,"APP_ID",function(){return Yp}),n.d(t,"PACKAGE_ROOT_URL",function(){return nh}),n.d(t,"PLATFORM_INITIALIZER",function(){return Jp}),n.d(t,"PLATFORM_ID",function(){return eh}),n.d(t,"APP_BOOTSTRAP_LISTENER",function(){return th}),n.d(t,"APP_INITIALIZER",function(){return qp}),n.d(t,"ApplicationInitStatus",function(){return Kp}),n.d(t,"DebugElement",function(){return Tf}),n.d(t,"DebugNode",function(){return Of}),n.d(t,"asNativeElements",function(){return vf}),n.d(t,"getDebugNode",function(){return Ef}),n.d(t,"Testability",function(){return Fh}),n.d(t,"TestabilityRegistry",function(){return Vh}),n.d(t,"setTestabilityGetter",function(){return jh}),n.d(t,"TRANSLATIONS",function(){return Wf}),n.d(t,"TRANSLATIONS_FORMAT",function(){return qf}),n.d(t,"LOCALE_ID",function(){return Gf}),n.d(t,"MissingTranslationStrategy",function(){return Kf}),n.d(t,"ApplicationModule",function(){return Jf}),n.d(t,"wtfCreateScope",function(){return Ih}),n.d(t,"wtfLeave",function(){return Oh}),n.d(t,"wtfStartTimeRange",function(){return Th}),n.d(t,"wtfEndTimeRange",function(){return Dh}),n.d(t,"Type",function(){return sd}),n.d(t,"EventEmitter",function(){return gc}),n.d(t,"ErrorHandler",function(){return Sp}),n.d(t,"Sanitizer",function(){return Oa}),n.d(t,"SecurityContext",function(){return Ia}),n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return k}),n.d(t,"Attribute",function(){return M}),n.d(t,"ContentChild",function(){return A}),n.d(t,"ContentChildren",function(){return L}),n.d(t,"Query",function(){return N}),n.d(t,"ViewChild",function(){return F}),n.d(t,"ViewChildren",function(){return P}),n.d(t,"Component",function(){return Ud}),n.d(t,"Directive",function(){return zd}),n.d(t,"HostBinding",function(){return Kd}),n.d(t,"HostListener",function(){return Yd}),n.d(t,"Input",function(){return Wd}),n.d(t,"Output",function(){return qd}),n.d(t,"Pipe",function(){return $d}),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",function(){return op}),n.d(t,"NO_ERRORS_SCHEMA",function(){return rp}),n.d(t,"NgModule",function(){return up}),n.d(t,"ViewEncapsulation",function(){return le}),n.d(t,"Version",function(){return Ta}),n.d(t,"VERSION",function(){return Da}),n.d(t,"defineInjectable",function(){return b}),n.d(t,"defineInjector",function(){return C}),n.d(t,"forwardRef",function(){return Q}),n.d(t,"resolveForwardRef",function(){return X}),n.d(t,"Injectable",function(){return gp}),n.d(t,"INJECTOR",function(){return pu}),n.d(t,"Injector",function(){return fu}),n.d(t,"inject",function(){return Mt}),n.d(t,"\u0275inject",function(){return Mt}),n.d(t,"InjectFlags",function(){return Ot}),n.d(t,"ReflectiveInjector",function(){return Up}),n.d(t,"createInjector",function(){return Au}),n.d(t,"ResolvedReflectiveFactory",function(){return Ap}),n.d(t,"ReflectiveKey",function(){return Dp}),n.d(t,"InjectionToken",function(){return x}),n.d(t,"Inject",function(){return _t}),n.d(t,"Optional",function(){return xt}),n.d(t,"Self",function(){return St}),n.d(t,"SkipSelf",function(){return Et}),n.d(t,"Host",function(){return It}),n.d(t,"NgZone",function(){return Rh}),n.d(t,"\u0275NoopNgZone",function(){return Ph}),n.d(t,"RenderComponentType",function(){return va}),n.d(t,"Renderer",function(){return ba}),n.d(t,"Renderer2",function(){return xa}),n.d(t,"RendererFactory2",function(){return wa}),n.d(t,"RendererStyleFlags2",function(){return _a}),n.d(t,"RootRenderer",function(){return Ca}),n.d(t,"COMPILER_OPTIONS",function(){return vh}),n.d(t,"Compiler",function(){return mh}),n.d(t,"CompilerFactory",function(){return yh}),n.d(t,"ModuleWithComponentFactories",function(){return ih}),n.d(t,"ComponentFactory",function(){return Qu}),n.d(t,"\u0275ComponentFactory",function(){return Qu}),n.d(t,"ComponentRef",function(){return Zu}),n.d(t,"ComponentFactoryResolver",function(){return ia}),n.d(t,"ElementRef",function(){return fa}),n.d(t,"NgModuleFactory",function(){return aa}),n.d(t,"NgModuleRef",function(){return ua}),n.d(t,"NgModuleFactoryLoader",function(){return td}),n.d(t,"getModuleFactory",function(){return ud}),n.d(t,"QueryList",function(){return ef}),n.d(t,"SystemJsNgModuleLoader",function(){return lf}),n.d(t,"SystemJsNgModuleLoaderConfig",function(){return tf}),n.d(t,"TemplateRef",function(){return mc}),n.d(t,"ViewContainerRef",function(){return rf}),n.d(t,"EmbeddedViewRef",function(){return hf}),n.d(t,"ViewRef",function(){return pf}),n.d(t,"ChangeDetectionStrategy",function(){return V}),n.d(t,"ChangeDetectorRef",function(){return sf}),n.d(t,"DefaultIterableDiffer",function(){return kf}),n.d(t,"IterableDiffers",function(){return jf}),n.d(t,"KeyValueDiffers",function(){return Hf}),n.d(t,"SimpleChange",function(){return cl}),n.d(t,"WrappedValue",function(){return sl}),n.d(t,"platformCore",function(){return $f}),n.d(t,"\u0275ALLOW_MULTIPLE_PLATFORMS",function(){return Uh}),n.d(t,"\u0275APP_ID_RANDOM_PROVIDER",function(){return Qp}),n.d(t,"\u0275defaultIterableDiffers",function(){return zf}),n.d(t,"\u0275defaultKeyValueDiffers",function(){return Uf}),n.d(t,"\u0275devModeEqual",function(){return al}),n.d(t,"\u0275isListLikeIterable",function(){return dl}),n.d(t,"\u0275ChangeDetectorStatus",function(){return j}),n.d(t,"\u0275isDefaultChangeDetectionStrategy",function(){return H}),n.d(t,"\u0275Console",function(){return lh}),n.d(t,"\u0275getInjectableDef",function(){return w}),n.d(t,"\u0275setCurrentInjector",function(){return Dt}),n.d(t,"\u0275APP_ROOT",function(){return Du}),n.d(t,"\u0275ivyEnabled",function(){return tg}),n.d(t,"\u0275CodegenComponentFactoryResolver",function(){return oa}),n.d(t,"\u0275resolveComponentResources",function(){return J}),n.d(t,"\u0275ReflectionCapabilities",function(){return fd}),n.d(t,"\u0275RenderDebugInfo",function(){return ya}),n.d(t,"\u0275_sanitizeHtml",function(){return as}),n.d(t,"\u0275_sanitizeStyle",function(){return Wc}),n.d(t,"\u0275_sanitizeUrl",function(){return $a}),n.d(t,"\u0275global",function(){return U}),n.d(t,"\u0275looseIdentical",function(){return K}),n.d(t,"\u0275stringify",function(){return Y}),n.d(t,"\u0275makeDecorator",function(){return O}),n.d(t,"\u0275isObservable",function(){return Wp}),n.d(t,"\u0275isPromise",function(){return Gp}),n.d(t,"\u0275clearOverrides",function(){return Dy}),n.d(t,"\u0275initServicesIfNeeded",function(){return $v}),n.d(t,"\u0275overrideComponentView",function(){return Ty}),n.d(t,"\u0275overrideProvider",function(){return Oy}),n.d(t,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return ev}),n.d(t,"\u0275defineBase",function(){return pe}),n.d(t,"\u0275defineComponent",function(){return ue}),n.d(t,"\u0275defineDirective",function(){return he}),n.d(t,"\u0275definePipe",function(){return fe}),n.d(t,"\u0275defineNgModule",function(){return ce}),n.d(t,"\u0275detectChanges",function(){return mr}),n.d(t,"\u0275renderComponent",function(){return Zr}),n.d(t,"\u0275Render3ComponentFactory",function(){return Aa}),n.d(t,"\u0275Render3ComponentRef",function(){return Pa}),n.d(t,"\u0275directiveInject",function(){return Pr}),n.d(t,"\u0275injectAttribute",function(){return Fr}),n.d(t,"\u0275getFactoryOf",function(){return Fn}),n.d(t,"\u0275getInheritedFactory",function(){return Vn}),n.d(t,"\u0275templateRefExtractor",function(){return Ac}),n.d(t,"\u0275ProvidersFeature",function(){return Yu}),n.d(t,"\u0275InheritDefinitionFeature",function(){return lu}),n.d(t,"\u0275NgOnChangesFeature",function(){return ru}),n.d(t,"\u0275LifecycleHooksFeature",function(){return eu}),n.d(t,"\u0275Render3NgModuleRef",function(){return Ks}),n.d(t,"\u0275markDirty",function(){return Cr}),n.d(t,"\u0275NgModuleFactory",function(){return Ys}),n.d(t,"\u0275NO_CHANGE",function(){return fl}),n.d(t,"\u0275container",function(){return lr}),n.d(t,"\u0275nextContext",function(){return po}),n.d(t,"\u0275elementStart",function(){return _o}),n.d(t,"\u0275namespaceHTML",function(){return yo}),n.d(t,"\u0275namespaceMathML",function(){return vo}),n.d(t,"\u0275namespaceSVG",function(){return mo}),n.d(t,"\u0275element",function(){return bo}),n.d(t,"\u0275listener",function(){return Do}),n.d(t,"\u0275text",function(){return Go}),n.d(t,"\u0275embeddedViewStart",function(){return ur}),n.d(t,"\u0275query",function(){return Nc}),n.d(t,"\u0275registerContentQuery",function(){return Vr}),n.d(t,"\u0275projection",function(){return dr}),n.d(t,"\u0275bind",function(){return wr}),n.d(t,"\u0275interpolation1",function(){return Sr}),n.d(t,"\u0275interpolation2",function(){return Er}),n.d(t,"\u0275interpolation3",function(){return Ir}),n.d(t,"\u0275interpolation4",function(){return Or}),n.d(t,"\u0275interpolation5",function(){return Tr}),n.d(t,"\u0275interpolation6",function(){return Dr}),n.d(t,"\u0275interpolation7",function(){return Rr}),n.d(t,"\u0275interpolation8",function(){return kr}),n.d(t,"\u0275interpolationV",function(){return xr}),n.d(t,"\u0275pipeBind1",function(){return ac}),n.d(t,"\u0275pipeBind2",function(){return sc}),n.d(t,"\u0275pipeBind3",function(){return cc}),n.d(t,"\u0275pipeBind4",function(){return dc}),n.d(t,"\u0275pipeBindV",function(){return pc}),n.d(t,"\u0275pureFunction0",function(){return Qs}),n.d(t,"\u0275pureFunction1",function(){return Xs}),n.d(t,"\u0275pureFunction2",function(){return Js}),n.d(t,"\u0275pureFunction3",function(){return ec}),n.d(t,"\u0275pureFunction4",function(){return tc}),n.d(t,"\u0275pureFunction5",function(){return nc}),n.d(t,"\u0275pureFunction6",function(){return lc}),n.d(t,"\u0275pureFunction7",function(){return ic}),n.d(t,"\u0275pureFunction8",function(){return oc}),n.d(t,"\u0275pureFunctionV",function(){return rc}),n.d(t,"\u0275getCurrentView",function(){return Br}),n.d(t,"\u0275getHostElement",function(){return tl}),n.d(t,"\u0275restoreView",function(){return Xt}),n.d(t,"\u0275containerRefreshStart",function(){return or}),n.d(t,"\u0275containerRefreshEnd",function(){return rr}),n.d(t,"\u0275queryRefresh",function(){return Lc}),n.d(t,"\u0275loadQueryList",function(){return Lr}),n.d(t,"\u0275elementEnd",function(){return Ro}),n.d(t,"\u0275elementProperty",function(){return Mo}),n.d(t,"\u0275componentHostSyntheticProperty",function(){return No}),n.d(t,"\u0275projectionDef",function(){return sr}),n.d(t,"\u0275reference",function(){return Nr}),n.d(t,"\u0275enableBindings",function(){return Yt}),n.d(t,"\u0275disableBindings",function(){return Zt}),n.d(t,"\u0275allocHostVars",function(){return _r}),n.d(t,"\u0275elementAttribute",function(){return ko}),n.d(t,"\u0275elementContainerStart",function(){return Co}),n.d(t,"\u0275elementContainerEnd",function(){return wo}),n.d(t,"\u0275elementStyling",function(){return jo}),n.d(t,"\u0275elementHostAttrs",function(){return Ho}),n.d(t,"\u0275elementStylingMap",function(){return $o}),n.d(t,"\u0275elementStyleProp",function(){return zo}),n.d(t,"\u0275elementStylingApply",function(){return Bo}),n.d(t,"\u0275elementClassProp",function(){return Uo}),n.d(t,"\u0275textBinding",function(){return Wo}),n.d(t,"\u0275template",function(){return nr}),n.d(t,"\u0275embeddedViewEnd",function(){return ar}),n.d(t,"\u0275store",function(){return Mr}),n.d(t,"\u0275load",function(){return Ar}),n.d(t,"\u0275pipe",function(){return uc}),n.d(t,"\u0275whenRendered",function(){return tu}),n.d(t,"\u0275i18n",function(){return Ps}),n.d(t,"\u0275i18nAttributes",function(){return Fs}),n.d(t,"\u0275i18nExp",function(){return Hs}),n.d(t,"\u0275i18nStart",function(){return Rs}),n.d(t,"\u0275i18nEnd",function(){return Ns}),n.d(t,"\u0275i18nApply",function(){return Bs}),n.d(t,"\u0275i18nPostprocess",function(){return Ms}),n.d(t,"\u0275setClassMetadata",function(){return Zs}),n.d(t,"\u0275compileComponent",function(){return Ld}),n.d(t,"\u0275compileDirective",function(){return Ad}),n.d(t,"\u0275compileNgModule",function(){return Ed}),n.d(t,"\u0275compileNgModuleDefs",function(){return Id}),n.d(t,"\u0275patchComponentDefWithScope",function(){return Dd}),n.d(t,"\u0275resetCompiledComponents",function(){return Od}),n.d(t,"\u0275compilePipe",function(){return Bd}),n.d(t,"\u0275sanitizeHtml",function(){return qc}),n.d(t,"\u0275sanitizeStyle",function(){return Kc}),n.d(t,"\u0275defaultStyleSanitizer",function(){return Xc}),n.d(t,"\u0275sanitizeScript",function(){return Qc}),n.d(t,"\u0275sanitizeUrl",function(){return Yc}),n.d(t,"\u0275sanitizeResourceUrl",function(){return Zc}),n.d(t,"\u0275bypassSanitizationTrustHtml",function(){return Vc}),n.d(t,"\u0275bypassSanitizationTrustStyle",function(){return jc}),n.d(t,"\u0275bypassSanitizationTrustScript",function(){return Hc}),n.d(t,"\u0275bypassSanitizationTrustUrl",function(){return Bc}),n.d(t,"\u0275bypassSanitizationTrustResourceUrl",function(){return zc}),n.d(t,"\u0275getLContext",function(){return jn}),n.d(t,"\u0275bindPlayerFactory",function(){return li}),n.d(t,"\u0275addPlayer",function(){return $r}),n.d(t,"\u0275getPlayers",function(){return Gr}),n.d(t,"\u0275compileNgModuleFactory__POST_R3__",function(){return zh}),n.d(t,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",function(){return Zd}),n.d(t,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",function(){return Qd}),n.d(t,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",function(){return Xd}),n.d(t,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",function(){return ap}),n.d(t,"\u0275getDebugNode__POST_R3__",function(){return Sf}),n.d(t,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",function(){return mp}),n.d(t,"\u0275SWITCH_IVY_ENABLED__POST_R3__",function(){return eg}),n.d(t,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",function(){return cf}),n.d(t,"\u0275Compiler_compileModuleSync__POST_R3__",function(){return ah}),n.d(t,"\u0275Compiler_compileModuleAsync__POST_R3__",function(){return ch}),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsSync__POST_R3__",function(){return ph}),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsAsync__POST_R3__",function(){return fh}),n.d(t,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",function(){return ga}),n.d(t,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",function(){return vc}),n.d(t,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",function(){return uf}),n.d(t,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",function(){return Sa}),n.d(t,"\u0275getModuleFactory__POST_R3__",function(){return rd}),n.d(t,"\u0275publishGlobalUtil",function(){return Yr}),n.d(t,"\u0275publishDefaultGlobalUtils",function(){return Kr}),n.d(t,"\u0275SWITCH_INJECTOR_FACTORY__POST_R3__",function(){return gu}),n.d(t,"\u0275registerModuleFactory",function(){return ld}),n.d(t,"\u0275EMPTY_ARRAY",function(){return Qg}),n.d(t,"\u0275EMPTY_MAP",function(){return Xg}),n.d(t,"\u0275and",function(){return Jg}),n.d(t,"\u0275ccf",function(){return bm}),n.d(t,"\u0275cmf",function(){return Ry}),n.d(t,"\u0275crt",function(){return Cg}),n.d(t,"\u0275did",function(){return $m}),n.d(t,"\u0275eld",function(){return em}),n.d(t,"\u0275elementEventFullName",function(){return kg}),n.d(t,"\u0275getComponentViewDefinitionFactory",function(){return Cm}),n.d(t,"\u0275inlineInterpolate",function(){return Yg}),n.d(t,"\u0275interpolate",function(){return Kg}),n.d(t,"\u0275mod",function(){return cm}),n.d(t,"\u0275mpd",function(){return sm}),n.d(t,"\u0275ncd",function(){return pv}),n.d(t,"\u0275nov",function(){return km}),n.d(t,"\u0275pid",function(){return Gm}),n.d(t,"\u0275prd",function(){return Wm}),n.d(t,"\u0275pad",function(){return gv}),n.d(t,"\u0275pod",function(){return mv}),n.d(t,"\u0275ppd",function(){return fv}),n.d(t,"\u0275qud",function(){return uv}),n.d(t,"\u0275ted",function(){return yv}),n.d(t,"\u0275unv",function(){return vg}),n.d(t,"\u0275vid",function(){return wv});var l=n("mrSG"),i=n("pugT"),o=n("K9Ia"),r=n("6blF"),u=n("p0ib"),a=n("S1nX");function s(e){for(var t in e)if(e[t]===s)return t;throw Error("Could not find renamed property on target object.")}function c(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}var d=s({ngComponentDef:s}),p=s({ngDirectiveDef:s}),h=s({ngInjectableDef:s}),f=s({ngInjectorDef:s}),g=s({ngPipeDef:s}),m=s({ngModuleDef:s}),v=s({ngBaseDef:s}),y=s({__NG_ELEMENT_ID__:s});function b(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function C(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function w(e){return e&&e.hasOwnProperty(h)?e[h]:null}function _(e){return e&&e.hasOwnProperty(f)?e[f]:null}var x=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?b({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),S="__annotations__",E="__parameters__",I="__prop__metadata__";function O(e,t,n,i,o){var r=T(t);function u(){for(var e,t=[],n=0;n=Fe?n:n[Se]}function lt(e){return 0!=(4&e.flags)}function it(e){return 1==(1&e.flags)}function ot(e){return null!==e.template}function rt(e){return Array.isArray(e)&&e.length===ze}function ut(e){return 0!=(128&e[Ce])}function at(e){for(var t=Array.isArray(e)?e:dt(e);t&&!(128&t[Ce]);)t=t[we];return t}function st(e){return at(e)[Te]}function ct(e){return e[Ue]}function dt(e){var t=ct(e);return t?Array.isArray(t)?t:t.lView:null}function pt(e){return e!==qe}function ht(e){return 32767&e}function ft(e){return e>>16}function gt(e,t){for(var n=ft(e),l=t;n>0;)l=l[Pe],n--;return l}var mt=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(U);function vt(e,t){for(var n=0;n0;)t=t[Pe],e--;return t}(e,rn))[Te]}function yn(e){var t=Wt[be];on(Wt)?Wt[Ce]&=-2:(Bt(Wt,t.viewHooks,t.viewCheckHooks,un),Wt[Ce]&=-11,Wt[Ce]|=32,Wt[Ie]=t.bindingStartIndex),mn(e,null)}var bn=!0;function Cn(e){var t=bn;return bn=e,t}var wn=255,_n=0;function xn(e,t){var n=En(e,t);if(-1!==n)return n;var l=t[be];l.firstTemplatePass&&(e.injectorIndex=t.length,Sn(l.data,e),Sn(t,null),Sn(l.blueprint,null));var i=In(e,t),o=ht(i),r=gt(i,t),u=e.injectorIndex;if(pt(i))for(var a=r[be].data,s=0;s<8;s++)t[u+s]=r[o+s]|a[o+s];return t[u+Ge]=i,u}function Sn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function En(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+Ge]?-1:e.injectorIndex}function In(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[Ee],l=1;n&&-1===n.injectorIndex;)n=(t=t[Pe])?t[Ee]:null,l++;return n?n.injectorIndex|l<<16:-1}function On(e,t,n){!function(e,t,n){var l="string"!=typeof n?n[y]:n.charCodeAt(0)||0;null==l&&(l=n[y]=_n++);var i=l&wn,o=1<>16,c=i?u+s:e.directiveEnd,d=l?u:u+s;d=a&&p.type===n)return d}if(i){var h=r[a];if(h&&ot(h)&&h.type===n)return a}return null}function Nn(e,t,n,l){var i,o=t[n];if(null!=(i=o)&&"object"==typeof i&&Object.getPrototypeOf(i)==Ye){var r=o;if(r.resolving)throw new Error("Circular dep for "+Ze(e[n]));var u=Cn(r.canSeeViewProviders);r.resolving=!0;var a=void 0;r.injectImpl&&(a=Rt(r.injectImpl));var s=Jt(),c=Qt();tn(l,t);try{o=t[n]=r.factory(null,e,t,l)}finally{r.injectImpl&&Rt(a),Cn(u),r.resolving=!1,tn(s,c)}}return o}function Ln(e,t,n){var l=64&e,i=32&e;return!!((128&e?l?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:l?i?n[t+3]:n[t+2]:i?n[t+1]:n[t])&1<=0){var f;zn(f=Xe(l[h]),a=Hn(l,h,f)),n=a;break}}}return n||null}function Hn(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Bn(e){var t,n=ct(e);if(Array.isArray(n)){var l=Gn(n,e);(i=Hn(n,l,(t=nt(l,n))[Se])).component=e,zn(e,i),zn(i.native,i)}else{var i;t=nt((i=n).nodeIndex,i.lView)}return t}function zn(e,t){e[Ue]=t}function Un(e,t){for(var n=e[be].firstChild;n;){if(et(n,e)===t)return n.index;n=$n(n)}return-1}function $n(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Gn(e,t){var n=e[be].components;if(n)for(var l=0;l=0)&&null})}}return i.sort(ol),i}function ol(e,t){return e.name==t.name?0:e.name-1?t[we][n]:null}return t[we][e.parent.index]}function Tl(e,t){var n=Ol(e,t);return n?n[Be]:null}var Dl=[];function Rl(e,t,n,l,i){for(var o=e[be].node,r=-1,u=e,a=o.child;a;){var s=null;if(3===a.type){kl(t,n,l,et(a,u),i);var c=u[a.index];rt(c)&&kl(t,n,l,c[He],i)}else if(0===a.type){var d=u[a.index];kl(t,n,l,d[He],i),l&&(d[Be]=l),d[je].length&&(s=(u=d[je][0])[be].node,i=d[He])}else if(1===a.type){var p=yt(u),h=p[Ee].projection[a.projection];Dl[++r]=a,Dl[++r]=u,h&&(s=(u=p[we])[be].data[h.index])}else s=a.child;if(null===s)for(null===a.next&&2&a.flags&&(u=Dl[r--],a=Dl[r--]),s=a.next;!s;){if(null===(a=a.parent||u[be].node)||a===o)return null;0===a.type&&(i=(u=u[we])[a.index][He]),s=2===a.type&&u[_e]?(u=u[_e])[be].node:a.next}a=s}}function kl(e,t,n,l,i){0===e?xl(t)?t.insertBefore(n,l,i):n.insertBefore(l,i,!0):1===e?xl(t)?t.removeChild(n,l):n.removeChild(l):2===e&&t.destroyNode(l)}function Ml(e,t){return xl(t)?t.createText(Ze(e)):t.createTextNode(Ze(e))}function Nl(e,t,n){var l=Tl(e[be].node,e);l&&Rl(e,t?0:1,e[ke],l,n)}function Ll(e,t,n,l,i){var o=t[je];l>0&&(o[l-1][_e]=e),l-1&&(e[Le]=i,e[we]=n),e[xe]&&e[xe].insertView(l),e[Ce]|=16}function Al(e,t,n){var l=e[je],i=l[t];return t>0&&(l[t-1][_e]=i[_e]),l.splice(t,1),n||Nl(i,!1),i[xe]&&i[xe].removeView(),i[Le]=-1,i[we]=null,i[Ce]&=-17,i}function Pl(e,t,n){var l=e[je][n];Al(e,n,!!t.detached),Vl(l)}function Fl(e){var t=e[be].childIndex;return-1===t?null:e[t]}function Vl(e){var t=e[ke];xl(t)&&t.destroyNode&&Rl(e,2,t,null),function(e){if(-1===e[be].childIndex)return Hl(e);for(var t=Fl(e);t;){var n=null;if(t.length>=Fe?t[be].childIndex>-1&&(n=Fl(t)):t[je].length&&(n=t[je][0]),null==n){for(;t&&!t[_e]&&t!==e;)Hl(t),t=jl(t,e);Hl(t||e),n=t&&t[_e]}t=n}}(e),e[Ce]|=64}function jl(e,t){var n;return e.length>=Fe&&(n=e[Ee])&&2===n.type?Ol(n,e):e[we]===t?null:e[we]}function Hl(e){if(e.length>=Fe){var t=e;!function(e){var t,n=e[be];null!=n&&null!=(t=n.destroyHooks)&&zt(e,t)}(t),(i=(l=t)[be]&&l[be].pipeDestroyHooks)&&zt(l,i),function(e){var t=e[be].cleanup;if(null!=t){for(var n=e[Oe],l=0;l=0?n[r]():n[-r].unsubscribe(),l+=2}else"number"==typeof t[l]?(0,n[t[l]])():t[l].call(n[t[l+1]]);e[Oe]=null}}(t);var n=t[Ee];n&&3===n.type&&xl(t[ke])&&t[ke].destroy()}var l,i}function Bl(e,t){if(zl(e,t)){if(ut(t))return $l(t[ke],et(e,t));var n=t[Ee],l=e.parent;return null!=l&&4===l.type&&(e=Wl(l)),null==e.parent&&2===n.type?Tl(n,t):El(e,t)}return null}function zl(e,t){var n,l=e,i=e.parent;return e.parent&&(4===e.parent.type?i=(l=Wl(e)).parent:5===e.parent.type&&(i=(l=Il(l)).parent)),null===i&&(i=t[Ee]),i&&2===i.type?null!=(n=Ol(i,t))&&null!=n[Be]:null==l.parent||!(3!==l.parent.type||1&l.parent.flags)}function Ul(e,t,n,l){xl(e)?e.insertBefore(t,n,l):t.insertBefore(n,l,!0)}function $l(e,t){return xl(e)?e.parentNode(t):t.parentNode}function Gl(e,t,n){if(void 0===e&&(e=null),null!==e&&zl(t,n)){var l=n[ke],i=El(t,n),o=t.parent||n[Ee];if(2===o.type){var r=Ol(o,n),u=r[je],a=u.indexOf(n);Ul(l,r[Be],e,ql(a,u,r[He]))}else 4===o.type?Ul(l,Bl(t,n),e,i):5===o.type?Ul(l,i,e,et(t.parent,n)):xl(l)?l.appendChild(i,e):i.appendChild(e);return!0}return!1}function Wl(e){for(;null!=e.parent&&4===e.parent.type;)e=e.parent;return e}function ql(e,t,n){if(e+1-1&&f>c?"":s[f+1],8&a&&(o=(l=g).length,u=(r=l.indexOf(i=m))+i.length,-1===r||r>0&&" "!==l[r-1]||u=9?t+0:t;n?e[l]|=1:e[l]&=-2}function _i(e,t){return 1==(1&e[t>=9?t+0:t])}function xi(e,t){return 2==(2&e[t>=9?t+0:t])}function Si(e,t){return 4==(4&e[t>=9?t+0:t])}function Ei(e,t,n){return 63&e|t<<6|n<<20}function Ii(e,t){var n=Oi(t);return(2&t?e[3]:e[2])[n]}function Oi(e){return e>>6&16383}function Ti(e){var t=e>>20&16383;return t>=9?t:-1}function Di(e){return Ti(e[0])}function Ri(e,t,n){e[t+1]=n}function ki(e,t,n){e[t+2]=n}function Mi(e,t,n){var l=e[8];if(t){if(!l||0===n)return!0}else if(!l)return!1;return l[n]!==t}function Ni(e,t,n){var l=e[8]||pi(e);return n>0?l[n]=t:(l.splice(n=l[0],0,t,null),l[0]+=2),n}function Li(e,t,n,l){var i=function(e,t){return n<<16|e}(l);e[t+3]=i}function Ai(e,t){return e[t+3]>>16&65535}function Pi(e,t){var n=Ai(e,t);if(n){var l=e[8];if(l)return l[n]}return null}function Fi(e,t,n){e[0===t?t:t+0]=n}function Vi(e,t){return e[0===t?t:t+0]}function ji(e,t){return e[t+2]}function Hi(e,t){return e[t+1]}function Bi(e){return 16&e[0]}function zi(e,t){wi(e,0,t)}function Ui(e,t){t?e[0]|=8:e[0]&=-9}function $i(e,t,n){for(var l=(n||0)+1;l=0&&Fi(e,s,Ei(c=Vi(e,s),Oi(c),n));var c,d=Ti(a);d>=0&&Fi(e,d,Ei(c=Vi(e,d),Oi(c),t)),ki(e,t,ji(e,n)),Ri(e,t,Hi(e,n)),Fi(e,t,Vi(e,n)),Li(e,t,Ai(e,n),0),ki(e,n,l),Ri(e,n,i),Fi(e,n,o),Li(e,n,r,0)}function Wi(e,t,n,l,i,o,r,u){var a=t0){var o=Oi(Vi(e,i));Fi(e,i,Ei((_i(e,i)?1:0)|(xi(e,i)?2:0)|(Si(e,i)?4:0),o,l))}}}(e)}function qi(e,t){return t?!!e:null!==e}function Ki(e,t,n,l){var i,o=l&&l(t)?4:0;return n?(o|=2,i=eo(e[3],t)):i=eo(e[2],t),Ei(o,i=i>0?i+1:0,0)}function Yi(e,t,n){return!(2&e)&&t&&n&&4&e?t.toString()!==n.toString():t!==n}var Zi=function(){function e(e,t,n){this._element=t,this._type=n,this._values={},this._dirty=!1,this._factory=e}return e.prototype.setValue=function(e,t){this._values[e]!==t&&(this._values[e]=t,this._dirty=!0)},e.prototype.buildPlayer=function(e,t){if(this._dirty){var n=this._factory.fn(this._element,this._type,this._values,t,e||null);return this._values={},this._dirty=!1,n}},e}();function Qi(e,t){return 65535&e[t+3]}function Xi(e,t){var n=Ji(e[1],t);return n>0?n/4:0}function Ji(e,t){for(var n=0;ni)for(var r=0===t,u=n.data,a=i;a=0)return-1;l=r/4,i[r+1]=o,i[r+3]=n||null}return l}(e,t,i);if(-1!==r){var u=e[4],a=u[1],s=u[0],c=4*s,d=9+c,p=d+4*a,h=p+c,f=u.length;u.push(l?l.length:0,n?n.length:0);var g=0,m=[];if(l&&l.length)for(var v=0;v=p,k=D>=(R?h:d),M=Vi(e,D),N=Oi(M),L=Ti(M);Fi(e,D,Ei(M,N,L+=R?k?4*m.length:0:4*T+4*(k?m.length:0)))}for(var A=0;A<4*m.length;A++)e.splice(h,0,null),e.splice(d,0,null),d++,p++,h+=2;for(var P=0;P<4*b.length;P++)e.splice(p,0,null),e.push(null),p++,h++;for(var F=e[3],V=e[2],j=0;j=m.length,B=H?j-m.length:j,z=H?b[B]:m[B],U=void 0,$=void 0;H?(U=h+4*(a+B),$=d+4*(a+B)):(U=p+4*(s+B),$=9+4*(s+B));var G=H?F:V,W=eo(G,z);-1===W?(W=G.length+1,G.push(z,!H&&null)):W+=1;var q=Ki(e,z,H,i||null);Fi(e,$,Ei(q,W,U)),Ri(e,$,z),ki(e,$,null),Li(e,$,0,r),Fi(e,U,Ei(q,W,$)),Ri(e,U,z),ki(e,U,null),Li(e,U,0,r)}u[1]=a+b.length,u[0]=s+m.length,Fi(e,0,Ei(0,0,p)|(o?16:0))}}}(i.stylingTemplate,l||null,e,t,n,hi(i))}function Ho(e,t){var n=Jt();n.stylingTemplate||(n.stylingTemplate=fi(t)),function(e,t,n){var l=e[1];if(-1==Ji(l,n)){l.push(n,-1,!1,null);for(var i=null,o=null,r=-1,u=0;u0&&fr(st(n),2)}function zo(e,t,n,l,i){var o=null;null!==n&&(o=l?Ze(n)+l:n),yi(ai(e+Fe,Qt()),t,o,!1,i)}function Uo(e,t,n,l){var i=n instanceof ii?n:!!n;yi(ai(e+Fe,Qt()),t,i,!0,l)}function $o(e,t,n,l){if(null!=l)return function(e,t,n,l){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var i=Qt(),o=tt(e,i),r=ai(e+Fe,i);if(hi(o)&&t!==fl){var u=lo(r);Fo(i,o.inputs.class,(u.length?u+" ":"")+t)}else!function(e,t,n,l){n=n||null;var i=Xi(e,null),o=e[5],r=t instanceof ii?new Zi(t,o,1):null,u=n instanceof ii?new Zi(n,o,2):null,a=r?t.value:t,s=u?n.value:n,c=Bi(e)||a===fl||a===e[6],d=s===fl||s===e[7];if(!c||!d){e[6]=a,e[7]=s;var p=oe,h=!1,f=!1,g=r?1:0;Mi(e,r,1)&&(Ni(e,r,1),f=!0);var m=u?3:0;Mi(e,u,3)&&(Ni(e,u,3),f=!0),c||("string"==typeof a?(p=a.split(/\s+/),h=!0):p=a?Object.keys(a):oe);for(var v=a||ie,y=s?Object.keys(s):oe,b=s||ie,C=y.length,w=!1,_=Di(e),x=0,S=y.length+p.length;_=C)&&!d||P&&!c){var E=P?x-C:x,I=P?p[E]:y[E],O=P?!!h||v[I]:b[I],T=P?g:m;if((F=Hi(e,_))===I){var D=ji(e,_),R=Vi(e,_);if(Li(e,_,T,i),Yi(R,D,O)){ki(e,_,O),f=f||!!T;var k=Ii(e,R);(null!=D||Yi(R,k,O))&&(wi(e,_,!0),w=!0)}}else{var M=$i(e,I,_);if(M>0){var N=ji(e,M),L=Vi(e,M);Gi(e,_,M),Yi(L,N,O)&&(k=Ii(e,L),ki(e,_,O),(null!=N||Yi(L,k,O))&&(wi(e,_,!0),f=f||!!T,w=!0))}else f=f||!!T,Wi(e,_,P,I,Ki(e,I,P,to(e,i)),O,i,T),w=!0}}_+=4,x++}for(;_=C)&&!d||P&&!c){E=P?x-C:x;var F=P?p[E]:y[E],V=(D=P?!!h||v[F]:b[F],R=1|Ki(e,F,P,A),T=P?g:m,e.length);e.push(R,F,D,0),Li(e,V,T,i),w=!0}x++}w&&(zi(e,!0),no(e,i,!0)),f&&Ui(e,!0)}}(r,t,n)}function Go(e,t){var n=Qt(),l=Ml(t,n[ke]),i=uo(e,3,l,null,null);ln(!1),Gl(l,i,n)}function Wo(e,t){if(t!==fl){var n=Qt(),l=Je(e,n),i=n[ke];xl(i)?i.setValue(l,Ze(t)):l.textContent=Ze(t)}}function qo(e,t,n){var l=-(t.index-Fe),i=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(l,i,n)}function Ko(e,t,n,l){var i=Jt();Yo(e,i,t,n),i&&i.attrs&&function(e,t,l,o){var r=i.initialInputs;(void 0===r||e>=r.length)&&(r=function(e,t,n){var l=n.initialInputs||(n.initialInputs=[]);l[e]=null;for(var i=n.attrs,o=0;o=o.length||null==o[e])&&(o[e]=Io(e,null,t,n,i.directiveRegistry,i.pipeRegistry,null)),o[e]}(e,t,n,o),null,4),r[xe]&&(u[xe]=r[xe].createView()),ao(e,u),mn(u,u[be].node)),r&&(on(u)&&Ll(u,r,l,r[Ve],-1),r[Ve]++),on(u)?3:2}function ar(){var e=Qt(),t=e[Ee];on(e)&&(oo(e),e[Ce]&=-2),oo(e),yn(e[we]),en(t),ln(!1)}function sr(e,t){var n=yt(Qt())[Ee];if(!n.projection)for(var l=n.projection=new Array(e?e.length+1:1).fill(null),i=l.slice(),o=n.child;null!==o;){var r=e?ni(o,e,t):0,u=o.next;i[r]?i[r].next=o:(l[r]=o,o.next=null),i[r]=o,o=u}}var cr=[];function dr(e,t,n){void 0===t&&(t=0);var l=Qt(),i=uo(e,1,null,null,n||null);null===i.projection&&(i.projection=t),ln(!1);for(var o=yt(l),r=o[Ee].projection[t],u=o[we],a=-1;r;){if(1===r.type){var s=yt(u),c=s[Ee].projection[r.projection];if(c){cr[++a]=r,cr[++a]=u,r=c,u=s[we];continue}}else r.flags|=2,Yl(r,i,l,u);null===r.next&&u!==o[we]&&(u=cr[a--],r=cr[a--]),r=r.next}}function pr(e,t,n){var l=e[be],i=dn();return e[Ne]?e[Ne][_e]=n:i&&(l.childIndex=t),e[Ne]=n,n}function hr(e){for(;e&&!(128&e[Ce]);)e[Ce]|=8,e=e[we];e[Ce]|=8,fr(e[Te],1)}function fr(e,t){var n,l=0===e.flags;e.flags|=t,l&&e.clean==io&&(e.clean=new Promise(function(e){return n=e}),e.scheduler(function(){if(1&e.flags&&(e.flags&=-2,gr(e)),2&e.flags){e.flags&=-3;var t=e.playerHandler;t&&t.flushPlayers()}e.clean=io,n(null)}))}function gr(e){for(var t=0;t=2&&l[i-2]===t.hostBindings?l[i-1]=l[i-1]+n:l.push(t.hostBindings,n)}(n,qt,e),function(e,t,n){for(var l=0;l=l.data.length&&(l.data[i]=null),n[i]=t}function Nr(e){return Qe(rn,e)}function Lr(e){return Qt()[Ae][e]}function Ar(e){return Qe(Qt(),e)}function Pr(e,t){return void 0===t&&(t=Ot.Default),e=X(e),Dn(Jt(),Qt(),e,t)}function Fr(e){return Tn(Jt(),e)}function Vr(e,t){var n=Qt(),l=n[be],i=(n[Ae]||(n[Ae]=[])).push(e);if(dn()){var o=l.contentQueries||(l.contentQueries=[]);t!==(l.contentQueries.length?l.contentQueries[l.contentQueries.length-2]:-1)&&o.push(t,i-1)}}var jr=io;function Hr(e){return e?(void 0===e.inputs&&(e.inputs=Vo(e,0)),e.inputs):null}function Br(){return Qt()}function zr(e){return e[Oe]||(e[Oe]=[])}function Ur(e){return e[be].cleanup||(e[be].cleanup=[])}function $r(e,t){var n=jn(e);if(n){var l=n.native,i=n.lView,o=function(e,t){if(!(t=t||jn(l)))return null;var n=ai(t.nodeIndex,t.lView);return di(n)||pi(n)}(0,n),r=Zn(i);ci(o,r,l,t,0,e),fr(r,2)}}function Gr(e){var t=jn(e);if(!t)return[];var n=ai(t.nodeIndex,t.lView),l=n?di(n):null;return l?function(e){for(var t=[],n=e[0],l=2;l ");else if("object"==typeof t){var i=[];for(var o in t)if(t.hasOwnProperty(o)){var r=t[o];i.push(o+":"+("string"==typeof r?JSON.stringify(r):Y(r)))}l="{"+i.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+l+"]: "+e.replace(xu,"\n ")}function Tu(e,t){return new Error(Ou(e,t))}var Du=new x("The presence of this token marks an injector as being the root injector."),Ru={},ku={},Mu=[],Nu=void 0;function Lu(){return void 0===Nu&&(Nu=new hu),Nu}function Au(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||Lu(),new Pu(e,n,t)}var Pu=function(){function e(e,t,n){var l=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var i=[];Hu([e],function(e){return l.processInjectorType(e,[],i)}),t&&Hu(t,function(n){return l.processProvider(n,e,t)}),this.records.set(pu,ju(void 0,this)),this.isRootInjector=this.records.has(Du),this.injectorDefTypes.forEach(function(e){return l.get(e)})}return e.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},e.prototype.get=function(e,t,n){void 0===t&&(t=du),void 0===n&&(n=Ot.Default),this.assertNotDestroyed();var l,i=Dt(this);try{if(!(n&Ot.SkipSelf)){var o=this.records.get(e);if(void 0===o){var r=("function"==typeof(l=e)||"object"==typeof l&&l instanceof x)&&w(e);r&&this.injectableDefInScope(r)&&(o=ju(Fu(e),Ru),this.records.set(e,o))}if(void 0!==o)return this.hydrate(e,o)}return(n&Ot.Self?Lu():this.parent).get(e,t)}finally{Dt(i)}},e.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t,n){var l=this;if(e=X(e)){var i=_(e),o=null==i&&e.ngModule||void 0,r=void 0===o?e:o,u=-1!==n.indexOf(r),a=void 0!==o&&e.providers||Mu;if(void 0!==o&&(i=_(o)),null!=i){if(this.injectorDefTypes.add(r),this.records.set(r,ju(i.factory,Ru)),null!=i.imports&&!u){n.push(r);try{Hu(i.imports,function(e){return l.processInjectorType(e,t,n)})}finally{}}var s=i.providers;if(null!=s&&!u){var c=e;Hu(s,function(e){return l.processProvider(e,c,s)})}var d=e.ngModule;Hu(a,function(e){return l.processProvider(e,d,a)})}}},e.prototype.processProvider=function(e,t,n){var l=zu(e=X(e))?e:X(e&&e.provide),i=function(e,t,n){var l=Vu(e,t,n);return Bu(e)?ju(void 0,e.useValue):ju(l,Ru)}(e,t,n);if(zu(e)||!0!==e.multi){var o=this.records.get(l);if(o&&void 0!==o.multi)throw new Error("Mixed multi-provider for "+Y(l))}else{var r=this.records.get(l);if(r){if(void 0===r.multi)throw new Error("Mixed multi-provider for "+l+".")}else(r=ju(void 0,Ru,!0)).factory=function(){return Lt(r.multi)},this.records.set(l,r);l=e,r.multi.push(e)}this.records.set(l,i)},e.prototype.hydrate=function(e,t){if(t.value===ku)throw new Error("Cannot instantiate cyclic dependency! "+Y(e));var n;return t.value===Ru&&(t.value=ku,t.value=t.factory()),"object"==typeof t.value&&t.value&&"object"==typeof(n=t.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value},e.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},e}();function Fu(e){var t=w(e);if(null===t){var n=_(e);if(null!==n)return n.factory;if(e instanceof x)throw new Error("Token "+Y(e)+" is missing an ngInjectableDef definition.");if(e instanceof Function){var l=e.length;if(l>0){var i=new Array(l).fill("?");throw new Error("Can't resolve all parameters for "+Y(e)+": ("+i.join(", ")+").")}return function(){return new e}}throw new Error("unreachable")}return t.factory}function Vu(e,t,n){var i,o=void 0;if(zu(e))return Fu(X(e));if(Bu(e))o=function(){return X(e.useValue)};else if((i=e)&&i.useExisting)o=function(){return Mt(X(e.useExisting))};else if(e&&e.useFactory)o=function(){return e.useFactory.apply(e,Object(l.__spread)(Lt(e.deps||[])))};else{var r=X(e&&(e.useClass||e.provide));if(!r){var u="";throw t&&n&&(u=" - only instances of Provider and Type are allowed, got: ["+n.map(function(t){return t==e?"?"+e+"?":"..."}).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+Y(t)+"'"+u)}if(!e.deps)return Fu(r);o=function(){return new(r.bind.apply(r,Object(l.__spread)([void 0],Lt(e.deps))))}}return o}function ju(e,t,n){return void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function Hu(e,t){e.forEach(function(e){return Array.isArray(e)?Hu(e,t):t(e)})}function Bu(e){return e&&"object"==typeof e&&wu in e}function zu(e){return"function"==typeof e}function Uu(e,t,n,l,i){if(e=X(e),Array.isArray(e))for(var o=0;o>16;if(zu(e)||!e.multi){var h=new Ke(a,i,Pr),f=Gu(u,t,i?c:c+p,d);-1==f?(On(xn(s,r),r,u),t.push(u),s.directiveStart++,s.directiveEnd++,i&&(s.providerIndexes+=65536),n.push(h),r.push(h)):(n[f]=h,r[f]=h)}else{var g=Gu(u,t,c+p,d),m=Gu(u,t,c,c+p),v=m>=0&&n[m];i&&!v||!i&&!(g>=0&&n[g])?(On(xn(s,r),r,u),h=function(e,t,n,l,i){var o=new Ke(e,n,Pr);return o.multi=[],o.index=t,o.componentProviders=0,$u(o,i,l&&!n),o}(i?qu:Wu,n.length,i,l,a),!i&&v&&(n[m].providerFactory=h),t.push(u),s.directiveStart++,s.directiveEnd++,i&&(s.providerIndexes+=65536),n.push(h),r.push(h)):$u(n[i?m:g],a,!i&&l),!i&&l&&v&&n[m].componentProviders++}}}function $u(e,t,n){e.multi.push(t),n&&e.componentProviders++}function Gu(e,t,n,l){for(var i=n;i-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Vl(this._lView)},e.prototype.onDestroy=function(e){var t,n;n=e,zr(t=this._lView).push(n),t[be].firstTemplatePass&&Ur(t).push(t[Oe].length-1,null)},e.prototype.markForCheck=function(){hr(this._lView)},e.prototype.detach=function(){this._lView[Ce]&=-17},e.prototype.reattach=function(){this._lView[Ce]|=16},e.prototype.detectChanges=function(){vr(this._lView,this.context)},e.prototype.checkNoChanges=function(){!function(e){sn(!0);try{mr(e)}finally{sn(!1)}}(this.context)},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype._lookUpContext=function(){return this._context=this._lView[we][this._componentIndex]},e}(),ca=function(e){function t(t){var n=e.call(this,t,null,-1)||this;return n._view=t,n}return Object(l.__extends)(t,e),t.prototype.detectChanges=function(){yr(this._view)},t.prototype.checkNoChanges=function(){!function(e){sn(!0);try{yr(e)}finally{sn(!1)}}(this._view)},Object.defineProperty(t.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),t}(sa);function da(e,t,n){return Ju||(Ju=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(l.__extends)(t,e),t}(e)),new Ju(et(t,n))}function pa(e,t,n,i){if(ea||(ea=function(e){function t(t,n,l,i,o,r){var u=e.call(this)||this;return u._declarationParentView=t,u.elementRef=n,u._tView=l,u._renderer=i,u._queries=o,u._injectorIndex=r,u}return Object(l.__extends)(t,e),t.prototype.createEmbeddedView=function(e,t,n,l,i){var o=function(e,t,n,l,i,o){var r=nn(),u=Jt();ln(!0),en(null);var a=ro(n,e,t,4);return a[Pe]=n,i&&(a[xe]=i.createView()),ao(-1,a),e.firstTemplatePass&&(e.node.injectorIndex=o),ln(r),en(u),a}(this._tView,e,this._declarationParentView,0,this._queries,this._injectorIndex);t&&Ll(o,t,l,i,n.index),co(o,this._tView,e);var r=new sa(o,e,-1);return r._tViewNode=o[Ee],r},t}(e)),0===n.type){var o=i[n.index];return new ea(i,da(t,n,i),n.tViews,Qt()[ke],o[xe],n.injectorIndex)}return null}function ha(e,t,n){if(it(e)){var l=e.directiveStart,i=nt(e.index,t);return new sa(i,n,l)}if(3===e.type){var o=yt(t);return new sa(o,o[Te],-1)}return null}var fa=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return ma(e)},e}(),ga=function(e){return da(e,Jt(),Qt())},ma=au,va=function(){return function(e,t,n,l,i,o){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=l,this.styles=i,this.animations=o}}(),ya=function(){return function(){}}(),ba=function(){return function(){}}(),Ca=function(){return function(){}}(),wa=function(){return function(){}}(),_a=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),xa=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Ea()},e}(),Sa=function(){return function(e){var t=Qt()[ke];if(xl(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}()},Ea=au,Ia=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({}),Oa=function(){return function(){}}(),Ta=function(){return function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}(),Da=new Ta("7.2.14"),Ra=function(e){function t(t){var n=e.call(this)||this;return n.ngModule=t,n}return Object(l.__extends)(t,e),t.prototype.resolveComponentFactory=function(e){var t=ge(e);return new Aa(t,this.ngModule)},t}(ia);function ka(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var Ma=new x("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Jr(Mt(Na))}}),Na=new x("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return mt}}),La={},Aa=function(e){function t(t,n){var l=e.call(this)||this;return l.componentDef=t,l.ngModule=n,l.componentType=t.type,l.selector=t.selectors[0][0],l.ngContentSelectors=[],l}return Object(l.__extends)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){return ka(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return ka(this.componentDef.outputs)},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,l){var i=void 0===n,o=(l=l||this.ngModule)?function(e,t){return{get:function(n,l){var i=e.get(n,La);return i!==La||l===La?i:t.get(n,l)}}}(e,l.injector):e,r=o.get(wa,Sl),u=o.get(Oa,null),a=i?xo(this.selector,r.createRenderer(null,this.componentDef)):To(r,n),s=this.componentDef.onPush?136:132,c=i?Jr():o.get(Ma),d=r.createRenderer(a,this.componentDef);n&&a&&(xl(d)?d.setAttribute(a,"ng-version",Da.full):a.setAttribute("ng-version",Da.full));var p,h,f=ro(null,Io(-1,null,1,0,null,null,null),c,s,r,d,u,o),g=mn(f,null);try{r.begin&&r.begin();var m=Qr(a,this.componentDef,f,r,d);if(h=tt(0,f),t)for(var v=0,y=f[be],b=h.projection=[],C=0;C',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

    ',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e=""+e+"";try{e=encodeURI(e)}catch(l){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e=""+e+"";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();Ja.hasOwnProperty(t)&&!Ya.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(us(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),os=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rs=/([^\#-~ |!])/g;function us(e){return e.replace(/&/g,"&").replace(os,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(rs,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function as(e,t){var n=null;try{Ka=Ka||new Ba(e);var l=t?String(t):"";n=Ka.getInertBodyElement(l);var i=5,o=l;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,l=o,o=n.innerHTML,n=Ka.getInertBodyElement(l)}while(l!==o);var r=new is,u=r.sanitizeChildren(ss(n)||n);return ja()&&r.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),u}finally{if(n)for(var a=ss(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}function ss(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var cs={marker:"element"},ds={marker:"comment"},ps="\ufffd",hs=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,fs=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,gs=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,ms=/\ufffd(\d+):?\d*\ufffd/gi,vs=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,ys=/\[(\ufffd.+?\ufffd?)\]/g,bs=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Cs=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g;function ws(e){if(!e)return[];var t,n=0,l=[],i=[],o=/[{}]/g;for(o.lastIndex=0;t=o.exec(e);){var r=t.index;if("}"==t[0]){if(l.pop(),0==l.length){var u=e.substring(n,r);hs.test(u)?i.push(_s(u)):u&&i.push(u),n=r+1}}else{if(0==l.length){var a=e.substring(n,r);i.push(a),n=r+1}l.push("{")}}var s=e.substring(n);return""!=s&&i.push(s),i}function _s(e){for(var t=[],n=[],l=1,i=0,o=ws(e=e.replace(hs,function(e,t,n){return l="select"===n?0:1,i=parseInt(t.substr(1),10),""})),r=0;r0&&r!==u&&c.push(r.index<<3|0);for(var d=[],p=[],h=function(e,t){if("number"!=typeof t)return xs(e);var n=e.indexOf(":"+t+ps)+2+t.toString().length,l=e.search(new RegExp(ps+"\\/\\*\\d+:"+t+ps));return xs(e.substring(n,l))}(n,l).split(gs),f=0;f>>17,d=void 0;r=ks(o,d=c===e?l[Ee]:tt(c,l),r),d.next=null;break;case 0:var p=s>>>3;u.push(p),r=o,(o=tt(p,l))&&(en(o),3===o.type&&ln(!0));break;case 5:r=o=tt(s>>>3,l),en(o),ln(!1);break;case 4:ko(s>>>3,t[++a],t[++a]);break;default:throw new Error('Unable to determine the type of mutate operation for "'+s+'"')}else switch(s){case ds:var h=t[++a],f=i.createComment(h);r=o,o=uo(n++,5,f,null,null),zn(f,l),o.activeCaseIndex=null,ln(!1);break;case cs:var g=t[++a];r=o,o=uo(n++,3,i.createElement(g),g,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'+s+'"')}}return ln(!1),u}function As(e,t){var n=tt(e,t);Kl(n,Je(e,t)||null,t),n.detached=!0;var l=Ar(e);if(rt(l)){var i=l;0!==n.type&&Kl(n,i[He]||null,t),i[Be]=null}}function Ps(e,t,n){Rs(e,t,n),Ns()}function Fs(e,t){var n=Qt()[be];n.firstTemplatePass&&null===n.data[e+Fe]&&function(e,t,n){for(var l=Jt().index-Fe,i=[],o=0;o>>2,g=void 0,m=void 0;switch(3&h){case 1:ko(f,t[++p],d,t[++p]);break;case 0:Wo(f,d);break;case 2:if(g=n[t[++p]],null!==(m=tt(f,o)).activeCaseIndex)for(var v=g.remove[m.activeCaseIndex],y=0;y>>3,o);break;case 6:var C=tt(v[y+1]>>>3,o).activeCaseIndex;null!==C&&vt(n[b>>>3].remove[C],v)}}var w=Us(g,d);m.activeCaseIndex=-1!==w?w:null,Ls(-1,g.create[w],g.expandoStartIndex,o),u=!0;break;case 3:g=n[t[++p]],m=tt(f,o),e(g.update[m.activeCaseIndex],n,l,i,o,u)}}}a+=c}}(l,i,t[Ie]-js-1,Vs,t),Vs=0,js=0}}var zs=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({});function Us(e,t){var n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:var l=function(e,n){switch(function(e,t){"string"==typeof t&&(t=parseInt(t,10));var n=t,l=n.toString().replace(/^[^.]*\.?/,""),i=Math.floor(Math.abs(n)),o=l.length,r=parseInt(l,10),u=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(e.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?zs.One:zs.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?zs.One:zs.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===i||1===n?zs.One:zs.Other;case"ar":return 0===n?zs.Zero:1===n?zs.One:2===n?zs.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?zs.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?zs.Many:zs.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===i&&0===o?zs.One:zs.Other;case"be":return n%10==1&&n%100!=11?zs.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?zs.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?zs.Many:zs.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?zs.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?zs.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?zs.Few:0!==n&&n%1e6==0?zs.Many:zs.Other;case"bs":case"hr":case"sr":return 0===o&&i%10==1&&i%100!=11||r%10==1&&r%100!=11?zs.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)||r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?zs.Few:zs.Other;case"cs":case"sk":return 1===i&&0===o?zs.One:i===Math.floor(i)&&i>=2&&i<=4&&0===o?zs.Few:0!==o?zs.Many:zs.Other;case"cy":return 0===n?zs.Zero:1===n?zs.One:2===n?zs.Two:3===n?zs.Few:6===n?zs.Many:zs.Other;case"da":return 1===n||0!==u&&(0===i||1===i)?zs.One:zs.Other;case"dsb":case"hsb":return 0===o&&i%100==1||r%100==1?zs.One:0===o&&i%100==2||r%100==2?zs.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||r%100===Math.floor(r%100)&&r%100>=3&&r%100<=4?zs.Few:zs.Other;case"ff":case"fr":case"hy":case"kab":return 0===i||1===i?zs.One:zs.Other;case"fil":return 0===o&&(1===i||2===i||3===i)||0===o&&i%10!=4&&i%10!=6&&i%10!=9||0!==o&&r%10!=4&&r%10!=6&&r%10!=9?zs.One:zs.Other;case"ga":return 1===n?zs.One:2===n?zs.Two:n===Math.floor(n)&&n>=3&&n<=6?zs.Few:n===Math.floor(n)&&n>=7&&n<=10?zs.Many:zs.Other;case"gd":return 1===n||11===n?zs.One:2===n||12===n?zs.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?zs.Few:zs.Other;case"gv":return 0===o&&i%10==1?zs.One:0===o&&i%10==2?zs.Two:0!==o||i%100!=0&&i%100!=20&&i%100!=40&&i%100!=60&&i%100!=80?0!==o?zs.Many:zs.Other:zs.Few;case"he":return 1===i&&0===o?zs.One:2===i&&0===o?zs.Two:0!==o||n>=0&&n<=10||n%10!=0?zs.Other:zs.Many;case"is":return 0===u&&i%10==1&&i%100!=11||0!==u?zs.One:zs.Other;case"ksh":return 0===n?zs.Zero:1===n?zs.One:zs.Other;case"kw":case"naq":case"se":case"smn":return 1===n?zs.One:2===n?zs.Two:zs.Other;case"lag":return 0===n?zs.Zero:0!==i&&1!==i||0===n?zs.Other:zs.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?zs.Few:0!==r?zs.Many:zs.Other:zs.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===o&&r%100===Math.floor(r%100)&&r%100>=11&&r%100<=19?zs.Zero:n%10==1&&n%100!=11||2===o&&r%10==1&&r%100!=11||2!==o&&r%10==1?zs.One:zs.Other;case"mk":return 0===o&&i%10==1||r%10==1?zs.One:zs.Other;case"mt":return 1===n?zs.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?zs.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?zs.Many:zs.Other;case"pl":return 1===i&&0===o?zs.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?zs.Few:0===o&&1!==i&&i%10===Math.floor(i%10)&&i%10>=0&&i%10<=1||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=12&&i%100<=14?zs.Many:zs.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?zs.One:zs.Other;case"ro":return 1===i&&0===o?zs.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?zs.Few:zs.Other;case"ru":case"uk":return 0===o&&i%10==1&&i%100!=11?zs.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?zs.Few:0===o&&i%10==0||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=14?zs.Many:zs.Other;case"shi":return 0===i||1===n?zs.One:n===Math.floor(n)&&n>=2&&n<=10?zs.Few:zs.Other;case"si":return 0===n||1===n||0===i&&1===r?zs.One:zs.Other;case"sl":return 0===o&&i%100==1?zs.One:0===o&&i%100==2?zs.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||0!==o?zs.Few:zs.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?zs.One:zs.Other;default:return zs.Other}}("en-US",t)){case zs.Zero:return"zero";case zs.One:return"one";case zs.Two:return"two";case zs.Few:return"few";case zs.Many:return"many";default:return"other"}}();-1===(n=e.cases.indexOf(l))&&"other"!==l&&(n=e.cases.indexOf("other"));break;case 0:n=e.cases.indexOf("other")}return n}function $s(e,t,n,i){for(var o=[],r=[],u=[],a=[],s=[],c=0;c=0;n--){var l=t[n];if(e===l.name)return l}throw new Error("The pipe '"+e+"' could not be found!")}(t,l.pipeRegistry),l.data[i]=n,n.onDestroy&&(l.pipeDestroyHooks||(l.pipeDestroyHooks=[])).push(i,n.onDestroy)):n=l.data[i];var o=n.factory(null);return Mr(e,o),o}function ac(e,t,n){var l=Ar(e);return fc(hc(e)?Xs(t,l.transform,n,l):l.transform(n))}function sc(e,t,n,l){var i=Ar(e);return fc(hc(e)?Js(t,i.transform,n,l,i):i.transform(n,l))}function cc(e,t,n,l,i){var o=Ar(e);return fc(hc(e)?ec(t,o.transform,n,l,i,o):o.transform(n,l,i))}function dc(e,t,n,l,i,o){var r=Ar(e);return fc(hc(e)?tc(t,r.transform,n,l,i,o,r):r.transform(n,l,i,o))}function pc(e,t,n){var l=Ar(e);return fc(hc(e)?rc(t,l.transform,n,l):l.transform.apply(l,n))}function hc(e){return Qt()[be].data[e+Fe].pure}function fc(e){return sl.isWrapped(e)&&(e=sl.unwrap(e),Qt()[fn()]=fl),e}var gc=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return Object(l.__extends)(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,l){var o,r=function(e){return null},u=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(r=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(u=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(r=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),l&&(u=this.__isAsync?function(){setTimeout(function(){return l()})}:function(){l()}));var a=e.prototype.subscribe.call(this,o,r,u);return t instanceof i.a&&t.add(a),a},t}(o.a),mc=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return yc(e,fa)},e}(),vc=function(e,t){return pa(e,t,Jt(),Qt())},yc=au,bc=function(){function e(e,t,n){this.parent=e,this.shallow=t,this.deep=n}return e.prototype.track=function(e,t,n,l){n?this.deep=kc(this.deep,e,t,null!=l?l:null):this.shallow=kc(this.shallow,e,t,null!=l?l:null)},e.prototype.clone=function(){return new e(this,null,this.deep)},e.prototype.container=function(){var t=Cc(this.shallow),n=Cc(this.deep);return t||n?new e(this,t,n):null},e.prototype.createView=function(){var t=wc(this.shallow),n=wc(this.deep);return t||n?new e(this,t,n):null},e.prototype.insertView=function(e){_c(e,this.shallow),_c(e,this.deep)},e.prototype.addNode=function(e){return Tc(this.deep,e),lt(e)?(Tc(this.shallow,e),e.parent&<(e.parent)&&Tc(this.parent.shallow,e),this.parent):(function(e){return null===e.parent||lt(e.parent)}(e)&&Tc(this.shallow,e),this)},e.prototype.removeView=function(){xc(this.shallow),xc(this.deep)},e}();function Cc(e){for(var t=null;e;){var n=[];e.values.push(n),t={next:t,list:e.list,predicate:e.predicate,values:n,containerValues:null},e=e.next}return t}function wc(e){for(var t=null;e;)t={next:t,list:e.list,predicate:e.predicate,values:[],containerValues:e.values},e=e.next;return t}function _c(e,t){for(;t;)t.containerValues.splice(e,0,t.values),t=t.next}function xc(e){for(;e;){var t=e.containerValues,n=t.indexOf(e.values);t.splice(n,1)[0].length&&e.list.setDirty(),e=e.next}}function Sc(e,t){var n=e.localNames;if(n)for(var l=0;l-1?Nn(t[be].data,t,l,e):function(e,t){return 3===e.type||4===e.type?da(fa,e,t):0===e.type?pa(mc,fa,e,t):null}(e,t)}function Tc(e,t){for(var n=Qt();e;){var l=e.predicate,i=l.type;if(i){var o=null;i===mc?o=Ic(i,t,n,l.read):null!==(a=Mn(t,n,i,!1,!1))&&(o=Oc(t,n,l.read,a)),null!==o&&Dc(e,o)}else for(var r=l.selector,u=0;u0?(e=l.concat(e.slice(n+1)),n=0):n++:(t.push(l),n++)}return t}(e),this.dirty=!1},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}();function Nc(e,t,n,l){var i,o,r,u=new Mc;return(i=bc,o=Qt(),r=o[xe],$t&&$t!==o[Ee]&&!lt($t)&&(r&&(r=o[xe]=r.clone()),$t.flags|=4),r||(o[xe]=new i(null,null,null))).track(u,t,n,l),function(e,t,n){var l=zr(e);l.push(t),e[be].firstTemplatePass&&Ur(e).push(n,l.length-1)}(Qt(),u,u.destroy),null!=e&&Mr(e,u),u}function Lc(e){return!!e.dirty&&(e.reset(e._valuesTree),e.notifyOnChanges(),!0)}function Ac(e,t){return pa(mc,fa,e,t)}var Pc="__SANITIZER_TRUSTED_BRAND__";function Fc(e,t){return e instanceof String&&e[Pc]===t}function Vc(e){return Uc(e,"Html")}function jc(e){return Uc(e,"Style")}function Hc(e){return Uc(e,"Script")}function Bc(e){return Uc(e,"Url")}function zc(e){return Uc(e,"ResourceUrl")}function Uc(e,t){var n=new String(e);return n[Pc]=t,n}var $c=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Gc=/^url\(([^)]+)\)$/;function Wc(e){if(!(e=String(e).trim()))return"";var t=e.match(Gc);return t&&$a(t[1])===t[1]||e.match($c)&&function(e){for(var t=!0,n=!0,l=0;l=0;e--){var t=_d[e],n=t.moduleType,l=t.ngModule;l.declarations&&l.declarations.every(Sd)&&(_d.splice(e,1),Td(n,l))}}finally{xd=!1}}}(),void 0!==e.ngSelectorScope){var u=Rd(e.ngSelectorScope);Dd(n,u)}}return n},configurable:!1})}function Ad(e,t){var n=null;Object.defineProperty(e,p,{get:function(){if(null===n){var l=Fd(e,t);n=bt().compileDirective(ed,"ng://"+(e&&e.name)+"/ngDirectiveDef.js",l)}return n},configurable:!1})}function Pd(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Fd(e,t){var n=yd().propMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:t.selector,deps:bd(e),host:t.host||ie,propMetadata:n,inputs:t.inputs||oe,outputs:t.outputs||oe,queries:Vd(e,n,jd),lifecycle:{usesOnChanges:void 0!==e.prototype.ngOnChanges},typeSourceSpan:null,usesInheritance:!Pd(e),exportAs:t.exportAs||null,providers:t.providers||null}}function Vd(e,t,n){var l=[],i=function(i){t.hasOwnProperty(i)&&t[i].forEach(function(t){if(n(t)){if(!t.selector)throw new Error("Can't construct a query for the property \""+i+'" of "'+Ze(e)+"\" since the query selector wasn't defined.");l.push(function(e,t){return{propertyName:i,predicate:(n=t.selector,"string"==typeof n?n.split(",").map(function(e){return e.trim()}):X(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null};var n}(0,t))}})};for(var o in t)i(o);return l}function jd(e){var t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Hd(e){var t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Bd(e,t){var n=null;Object.defineProperty(e,g,{get:function(){return null===n&&(n=bt().compilePipe(ed,"ng://"+Ze(e)+"/ngPipeDef.js",{type:e,name:e.name,deps:bd(e),pipeName:t.name,pure:void 0===t.pure||t.pure})),n},configurable:!1})}var zd=O("Directive",function(e){return void 0===e&&(e={}),e},void 0,void 0,function(e,t){return ep(e,t)}),Ud=O("Component",function(e){return void 0===e&&(e={}),Object(l.__assign)({changeDetection:V.Default},e)},zd,void 0,function(e,t){return Jd(e,t)}),$d=O("Pipe",function(e){return Object(l.__assign)({pure:!0},e)},void 0,void 0,function(e,t){return tp(e,t)}),Gd=function(e){return function(t,n){for(var l=[],i=2;i1?" ("+function(e){for(var t=[],n=0;n-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(function(e){return Y(e.token)}).join(" -> ")+")":""}function Ip(e,t,n,l){var i=[t],o=n(i),r=l?function(e,t){var n=o+" caused by: "+(t instanceof Error?t.message:t),l=Error(n);return l[bp]=t,l}(0,l):Error(o);return r.addKey=Op,r.keys=i,r.injectors=[e],r.constructResolvingMessage=n,r[bp]=l,r}function Op(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Tp(e,t){for(var n=[],l=0,i=t.length;l=this._providers.length)throw function(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},e.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw Ip(this,e.key,function(e){return"Cannot instantiate cyclic dependency!"+Ep(e)});return this._instantiateProvider(e)},e.prototype._getMaxNumberOfObjects=function(){return this.objs.length},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=new Array(e.resolvedFactories.length),n=0;n0&&(i=setTimeout(function(){l._callbacks=l._callbacks.filter(function(e){return e.timeoutId!==i}),e(l._didWork,l.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),Vh=function(){function e(){this._applications=new Map,Bh.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),Bh.findTestabilityInTree(this,e,t)},Object(l.__decorate)([Object(l.__metadata)("design:paramtypes",[])],e)}();function jh(e){Bh=e}var Hh,Bh=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}());function zh(e,t,n){return Promise.resolve(new Ys(n))}var Uh=new x("AllowMultipleToken"),$h=function(){return function(e,t){this.name=e,this.token=t}}();function Gh(e){if(Hh&&!Hh.destroyed&&!Hh.injector.get(Uh,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Hh=e.get(Zh);var t=e.get(Jp,null);return t&&t.forEach(function(e){return e()}),Hh}function Wh(e,t,n){void 0===n&&(n=[]);var l="Platform: "+t,i=new x(l);return function(t){void 0===t&&(t=[]);var o=Yh();if(!o||o.injector.get(Uh,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var r=n.concat(t).concat({provide:i,useValue:!0});Gh(fu.create({providers:r,name:l}))}return qh(i)}}function qh(e){var t=Yh();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function Kh(){Hh&&!Hh.destroyed&&Hh.destroy()}function Yh(){return Hh&&!Hh.destroyed?Hh:null}var Zh=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,l=this,i="noop"===(n=t?t.ngZone:void 0)?new Ph:("zone.js"===n?void 0:n)||new Rh({enableLongStackTrace:ja()}),o=[{provide:Rh,useValue:i}];return i.run(function(){var t=fu.create({providers:o,parent:l.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(Sp,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return Jh(l._modules,n)}),i.runOutsideAngular(function(){return i.onError.subscribe({next:function(e){r.handleError(e)}})}),function(e,t,i){try{var o=((r=n.injector.get(Kp)).runInitializers(),r.donePromise.then(function(){return l._moduleDoBootstrap(n),n}));return Gp(o)?o.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):o}catch(u){throw t.runOutsideAngular(function(){return e.handleError(u)}),u}var r}(r,i)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var l=Qh({},t);return function(e,t,n){return e.get(yh).createCompiler([t]).compileModuleAsync(n)}(this.injector,l,e).then(function(e){return n.bootstrapModuleFactory(e,l)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Xh);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Y(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function Qh(e,t){return Array.isArray(t)?t.reduce(Qh,e):Object(l.__assign)({},e,t)}var Xh=function(){function e(e,t,n,l,i,o){var s=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=l,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ja(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var c=new r.a(function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){e.next(s._stable),e.complete()})}),d=new r.a(function(e){var t;s._zone.runOutsideAngular(function(){t=s._zone.onStable.subscribe(function(){Rh.assertNotInAngularZone(),q(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){Rh.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(u.a)(c,d.pipe(Object(a.a)()))}var t;return t=e,e.prototype.bootstrap=function(e,t){var n,l=this;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.");n=e instanceof Qu?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n instanceof ra?null:this._injector.get(ua),o=n.create(fu.NULL,[],t||n.selector,i);o.onDestroy(function(){l._unloadComponent(o)});var r=o.injector.get(Fh,null);return r&&o.injector.get(Vh).registerApplication(o.location.nativeElement,r),this._loadComponent(o),ja()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},e.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(l){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(l)})}finally{this._runningTick=!1,Oh(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Jh(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(th,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Jh(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=Ih("ApplicationRef#tick()"),e}();function Jh(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var ef=function(){function e(){this.dirty=!0,this._results=[],this.changes=new gc,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[W()]=function(){return this._results[W()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var l=Array.isArray(n)?e(n):n;return t.concat(l)},[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),tf=function(){return function(){}}(),nf={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},lf=function(){function e(e,t){this._compiler=e,this._config=t||nf}return e.prototype.load=function(e){return this._compiler instanceof mh?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,i=Object(l.__read)(e.split("#"),2),o=i[0],r=i[1];return void 0===r&&(r="default"),n("crnd")(o).then(function(e){return e[r]}).then(function(e){return of(e,o,r)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=Object(l.__read)(e.split("#"),2),i=t[0],o=t[1],r="NgFactory";return void 0===o&&(o="default",r=""),n("crnd")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(e){return e[o+r]}).then(function(e){return of(e,i,o)})},e}();function of(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var rf=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return af(e,fa)},e}(),uf=function(e,t){return function(e,t,n,i){var o;ta||(ta=function(e){function n(t,n,l){var i=e.call(this)||this;return i._lContainer=t,i._hostTNode=n,i._hostView=l,i._viewRefs=[],i}return Object(l.__extends)(n,e),Object.defineProperty(n.prototype,"element",{get:function(){return da(t,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new Pn(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var e=In(this._hostTNode,this._hostView),t=gt(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var l=n.parent.injectorIndex,i=n.parent;null!=i.parent&&l==i.injectorIndex;)i=i.parent;return i}for(var o=ft(e),r=t,u=t[Ee];o>1;)u=(r=r[Pe])[Ee],o--;return u}(e,this._hostView,this._hostTNode);return pt(e)&&null!=n?new Pn(n,t):new Pn(null,this._hostView)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(;this._lContainer[je].length;)this.remove(0)},n.prototype.get=function(e){return this._viewRefs[e]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer[je].length},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(e,t,n){var l=this._adjustIndex(n),i=e.createEmbeddedView(t||{},this._lContainer,this._hostTNode,this._hostView,l);return i.attachToViewContainerRef(this),this._viewRefs.splice(l,0,i),i},n.prototype.createComponent=function(e,t,n,l,i){var o=n||this.parentInjector;!i&&null==e.ngModule&&o&&(i=o.get(ua,null));var r=e.create(o,l,void 0,i);return this.insert(r.hostView,t),r},n.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e._lView,l=this._adjustIndex(t);return Ll(n,this._lContainer,this._hostView,l,this._hostTNode.index),Nl(n,!0,ql(l,this._lContainer[je],this._lContainer[He])),e.attachToViewContainerRef(this),this._viewRefs.splice(l,0,e),e},n.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this.indexOf(e);return this.detach(n),this.insert(e,this._adjustIndex(t)),e},n.prototype.indexOf=function(e){return this._viewRefs.indexOf(e)},n.prototype.remove=function(e){var t=this._adjustIndex(e,-1);Pl(this._lContainer,this._hostTNode,t),this._viewRefs.splice(t,1)},n.prototype.detach=function(e){var t=this._adjustIndex(e,-1),n=Al(this._lContainer,t,!!this._hostTNode.detached);return null!=this._viewRefs.splice(t,1)[0]?new sa(n,n[Te],n[Le]):null},n.prototype._adjustIndex=function(e,t){return void 0===t&&(t=0),null==e?this._lContainer[je].length+t:e},n}(e));var r=i[n.index];if(rt(r))(o=r)[Ve]=-1;else{var u=i[ke].createComment("");if(ut(i)){var a=i[ke],s=et(n,i);Ul(a,$l(a,s),u,function(e,t){return xl(e)?e.nextSibling(t):t.nextSibling}(a,s))}else Gl(u,n,i);i[n.index]=o=tr(r,n,i,u,!0),pr(i,n.index,o)}return new ta(o,n,i)}(e,t,Jt(),Qt())},af=au,sf=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return df()},e}(),cf=function(){return ha(Jt(),Qt(),null)},df=function(){for(var e=[],t=0;t-1}(l)||"root"===i.providedIn&&l._def.isRoot))){var c=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:u.factory,deps:[],index:c,token:t.token},e._providers[c]=om,e._providers[c]=pm(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Dt(o)}}function pm(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var i=n.length;switch(i){case 0:return new t;case 1:return new t(dm(e,n[0]));case 2:return new t(dm(e,n[0]),dm(e,n[1]));case 3:return new t(dm(e,n[0]),dm(e,n[1]),dm(e,n[2]));default:for(var o=new Array(i),r=0;r=n.length)&&(t=n.length-1),t<0)return null;var l=n[t];return l.viewContainerParent=null,vm(n,t),cg.dirtyParentQueries(l),gm(l),l}function fm(e,t,n){var l=t?Rg(t,t.def.lastRenderRootNode):e.renderElement,i=n.renderer.parentNode(l),o=n.renderer.nextSibling(l);Hg(n,2,i,o,void 0)}function gm(e){Hg(e,3,null,null,void 0)}function mm(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function vm(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var ym=new Object;function bm(e,t,n,l,i,o){return new wm(e,t,n,l,i,o)}function Cm(e){return e.viewDefFactory}var wm=function(e){function t(t,n,l,i,o,r){var u=e.call(this)||this;return u.selector=t,u.componentType=n,u._inputs=i,u._outputs=o,u.ngContentSelectors=r,u.viewDefFactory=l,u}return Object(l.__extends)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,l){if(!l)throw new Error("ngModule should be provided");var i=jg(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,r=cg.createRootView(e,t||[],n,i,l,ym),u=rg(r,o).instance;return n&&r.renderer.setAttribute(og(r,0).renderElement,"ng-version",Da.full),new _m(r,new Im(r),u)},t}(Qu),_m=function(e){function t(t,n,l){var i=e.call(this)||this;return i._view=t,i._viewRef=n,i._component=l,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=l,i}return Object(l.__extends)(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new fa(og(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Rm(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(Zu);function xm(e,t,n){return new Sm(e,t,n)}var Sm=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new fa(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Rm(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Dg(e),e=e.parent;return e?new Rm(e,t):new Rm(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=hm(this._data,e);cg.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Im(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var l=e.createEmbeddedView(t||{});return this.insert(l,n),l},e.prototype.createComponent=function(e,t,n,l,i){var o=n||this.parentInjector;i||e instanceof ra||(i=o.get(ua));var r=e.create(o,l,void 0,i);return this.insert(r.hostView,t),r},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,l,i,o,r=e;return o=(n=this._data).viewContainer._embeddedViews,null==(l=t)&&(l=o.length),(i=r._view).viewContainerParent=this._view,mm(o,l,i),function(e,t){var n=Tg(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var l=n.template._projectedViews;l||(l=n.template._projectedViews=[]),l.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var l=n.parent;l;)l.childFlags|=4,l=l.parent}}(0,t.parentNodeDef)}}(n,i),cg.dirtyParentQueries(i),fm(n,l>0?o[l-1]:null,i),r.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,l,i,o,r,u=this._embeddedViews.indexOf(e._view);return i=t,r=(o=(n=this._data).viewContainer._embeddedViews)[l=u],vm(o,l),null==i&&(i=o.length),mm(o,i,r),cg.dirtyParentQueries(r),gm(r),fm(n,i>0?o[i-1]:null,r),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=hm(this._data,e);t&&cg.destroyView(t)},e.prototype.detach=function(e){var t=hm(this._data,e);return t?new Im(t):null},e}();function Em(e){return new Im(e)}var Im=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return Hg(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Eg(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{cg.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){cg.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),cg.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,gm(this._view),cg.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Om(e,t){return new Tm(e,t)}var Tm=function(e){function t(t,n){var l=e.call(this)||this;return l._parentView=t,l._def=n,l}return Object(l.__extends)(t,e),t.prototype.createEmbeddedView=function(e){return new Im(cg.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new fa(og(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(mc);function Dm(e,t){return new Rm(e,t)}var Rm=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=fu.THROW_IF_NOT_FOUND),cg.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:mg(e)},t)},e}();function km(e,t){var n=e.def.nodes[t];if(1&n.flags){var l=og(e,n.nodeIndex);return n.element.template?l.template:l.renderElement}if(2&n.flags)return ig(e,n.nodeIndex).renderText;if(20240&n.flags)return rg(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Mm(e){return new Nm(e.renderer)}var Nm=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=Object(l.__read)(Wg(t),2),i=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,i),i},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var l=0;l0,i=t.provider;switch(201347067&t.flags){case 512:return Jm(e,t.parent,n,i.value,i.deps);case 1024:return function(e,t,n,i,o){var r=o.length;switch(r){case 0:return i();case 1:return i(tv(e,t,n,o[0]));case 2:return i(tv(e,t,n,o[0]),tv(e,t,n,o[1]));case 3:return i(tv(e,t,n,o[0]),tv(e,t,n,o[1]),tv(e,t,n,o[2]));default:for(var u=Array(r),a=0;a0)s=g,_v(g)||(c=g);else for(;s&&f===s.nodeIndex+s.childCount;){var y=s.parent;y&&(y.childFlags|=s.childFlags,y.childMatchedQueries|=s.childMatchedQueries),c=(s=y)&&_v(s)?s.renderParent:s}}return{factory:null,nodeFlags:r,rootNodeFlags:u,nodeMatchedQueries:a,flags:e,nodes:t,updateDirectives:n||fg,updateRenderer:l||fg,handleEvent:function(e,n,l,i){return t[n].element.handleEvent(e,l,i)},bindingCount:i,outputCount:o,lastRenderRootNode:h}}function _v(e){return 0!=(1&e.flags)&&null===e.element.name}function xv(e,t,n){var l=t.element&&t.element.template;if(l){if(!l.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(l.lastRenderRootNode&&16777216&l.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var i=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=i&&t.nodeIndex+t.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Sv(e,t,n,l){var i=Ov(e.root,e.renderer,e,t,n);return Tv(i,e.component,l),Dv(i),i}function Ev(e,t,n){var l=Ov(e,e.renderer,null,null,t);return Tv(l,n,n),Dv(l),l}function Iv(e,t,n,l){var i,o=t.element.componentRendererType;return i=o?e.root.rendererFactory.createRenderer(l,o):e.root.renderer,Ov(e.root,i,e,t.element.componentProvider,n)}function Ov(e,t,n,l,i){var o=new Array(i.nodes.length),r=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:l,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:r,initIndex:-1}}function Tv(e,t,n){e.component=t,e.context=n}function Dv(e){var t;Mg(e)&&(t=og(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,l=e.nodes,i=0;i0&&im(e,t,0,n)&&(h=!0),p>1&&im(e,t,1,l)&&(h=!0),p>2&&im(e,t,2,i)&&(h=!0),p>3&&im(e,t,3,o)&&(h=!0),p>4&&im(e,t,4,r)&&(h=!0),p>5&&im(e,t,5,u)&&(h=!0),p>6&&im(e,t,6,a)&&(h=!0),p>7&&im(e,t,7,s)&&(h=!0),p>8&&im(e,t,8,c)&&(h=!0),p>9&&im(e,t,9,d)&&(h=!0),h}(e,t,n,l,i,o,r,u,a,s,c,d);case 2:return function(e,t,n,l,i,o,r,u,a,s,c,d){var p=!1,h=t.bindings,f=h.length;if(f>0&&xg(e,t,0,n)&&(p=!0),f>1&&xg(e,t,1,l)&&(p=!0),f>2&&xg(e,t,2,i)&&(p=!0),f>3&&xg(e,t,3,o)&&(p=!0),f>4&&xg(e,t,4,r)&&(p=!0),f>5&&xg(e,t,5,u)&&(p=!0),f>6&&xg(e,t,6,a)&&(p=!0),f>7&&xg(e,t,7,s)&&(p=!0),f>8&&xg(e,t,8,c)&&(p=!0),f>9&&xg(e,t,9,d)&&(p=!0),p){var g=t.text.prefix;f>0&&(g+=Cv(n,h[0])),f>1&&(g+=Cv(l,h[1])),f>2&&(g+=Cv(i,h[2])),f>3&&(g+=Cv(o,h[3])),f>4&&(g+=Cv(r,h[4])),f>5&&(g+=Cv(u,h[5])),f>6&&(g+=Cv(a,h[6])),f>7&&(g+=Cv(s,h[7])),f>8&&(g+=Cv(c,h[8])),f>9&&(g+=Cv(d,h[9]));var m=ig(e,t.nodeIndex).renderText;e.renderer.setValue(m,g)}return p}(e,t,n,l,i,o,r,u,a,s,c,d);case 16384:return function(e,t,n,l,i,o,r,u,a,s,c,d){var p=rg(e,t.nodeIndex),h=p.instance,f=!1,g=void 0,m=t.bindings.length;return m>0&&_g(e,t,0,n)&&(f=!0,g=lv(e,p,t,0,n,g)),m>1&&_g(e,t,1,l)&&(f=!0,g=lv(e,p,t,1,l,g)),m>2&&_g(e,t,2,i)&&(f=!0,g=lv(e,p,t,2,i,g)),m>3&&_g(e,t,3,o)&&(f=!0,g=lv(e,p,t,3,o,g)),m>4&&_g(e,t,4,r)&&(f=!0,g=lv(e,p,t,4,r,g)),m>5&&_g(e,t,5,u)&&(f=!0,g=lv(e,p,t,5,u,g)),m>6&&_g(e,t,6,a)&&(f=!0,g=lv(e,p,t,6,a,g)),m>7&&_g(e,t,7,s)&&(f=!0,g=lv(e,p,t,7,s,g)),m>8&&_g(e,t,8,c)&&(f=!0,g=lv(e,p,t,8,c,g)),m>9&&_g(e,t,9,d)&&(f=!0,g=lv(e,p,t,9,d,g)),g&&h.ngOnChanges(g),65536&t.flags&&lg(e,256,t.nodeIndex)&&h.ngOnInit(),262144&t.flags&&h.ngDoCheck(),f}(e,t,n,l,i,o,r,u,a,s,c,d);case 32:case 64:case 128:return function(e,t,n,l,i,o,r,u,a,s,c,d){var p=t.bindings,h=!1,f=p.length;if(f>0&&xg(e,t,0,n)&&(h=!0),f>1&&xg(e,t,1,l)&&(h=!0),f>2&&xg(e,t,2,i)&&(h=!0),f>3&&xg(e,t,3,o)&&(h=!0),f>4&&xg(e,t,4,r)&&(h=!0),f>5&&xg(e,t,5,u)&&(h=!0),f>6&&xg(e,t,6,a)&&(h=!0),f>7&&xg(e,t,7,s)&&(h=!0),f>8&&xg(e,t,8,c)&&(h=!0),f>9&&xg(e,t,9,d)&&(h=!0),h){var g=ug(e,t.nodeIndex),m=void 0;switch(201347067&t.flags){case 32:m=new Array(p.length),f>0&&(m[0]=n),f>1&&(m[1]=l),f>2&&(m[2]=i),f>3&&(m[3]=o),f>4&&(m[4]=r),f>5&&(m[5]=u),f>6&&(m[6]=a),f>7&&(m[7]=s),f>8&&(m[8]=c),f>9&&(m[9]=d);break;case 64:m={},f>0&&(m[p[0].name]=n),f>1&&(m[p[1].name]=l),f>2&&(m[p[2].name]=i),f>3&&(m[p[3].name]=o),f>4&&(m[p[4].name]=r),f>5&&(m[p[5].name]=u),f>6&&(m[p[6].name]=a),f>7&&(m[p[7].name]=s),f>8&&(m[p[8].name]=c),f>9&&(m[p[9].name]=d);break;case 128:var v=n;switch(f){case 1:m=v.transform(n);break;case 2:m=v.transform(l);break;case 3:m=v.transform(l,i);break;case 4:m=v.transform(l,i,o);break;case 5:m=v.transform(l,i,o,r);break;case 6:m=v.transform(l,i,o,r,u);break;case 7:m=v.transform(l,i,o,r,u,a);break;case 8:m=v.transform(l,i,o,r,u,a,s);break;case 9:m=v.transform(l,i,o,r,u,a,s,c);break;case 10:m=v.transform(l,i,o,r,u,a,s,c,d)}}g.value=m}return h}(e,t,n,l,i,o,r,u,a,s,c,d);default:throw"unreachable"}}(e,t,i,o,r,u,a,s,c,d,p,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var l=!1,i=0;i0&&Sg(e,t,0,n),p>1&&Sg(e,t,1,l),p>2&&Sg(e,t,2,i),p>3&&Sg(e,t,3,o),p>4&&Sg(e,t,4,r),p>5&&Sg(e,t,5,u),p>6&&Sg(e,t,6,a),p>7&&Sg(e,t,7,s),p>8&&Sg(e,t,8,c),p>9&&Sg(e,t,9,d)}(e,t,l,i,o,r,u,a,s,c,d,p):function(e,t,n){for(var l=0;l0){var o=new Set(e.modules);Xv.forEach(function(t,l){if(o.has(w(l).providedIn)){var i={token:l,flags:t.flags|(n?4096:0),deps:Pg(t.deps),value:t.value,index:e.providers.length};e.providers.push(i),e.providersByKey[mg(l)]=i}})}}(e=e.factory(function(){return fg})),e):e}(l))}var Qv=new Map,Xv=new Map,Jv=new Map;function ey(e){var t;Qv.set(e.token,e),"function"==typeof e.token&&(t=w(e.token))&&"function"==typeof t.providedIn&&Xv.set(e.token,e)}function ty(e,t){var n=jg(Cm(t)),l=jg(n.nodes[0].element.componentView);Jv.set(e,l)}function ny(){Qv.clear(),Xv.clear(),Jv.clear()}function ly(e){if(0===Qv.size)return e;var t=function(e){for(var t=[],n=null,l=0;l",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(s),d=["%","/","?",";","#"].concat(c),p=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n("r8II");function b(e,t,n){if(e&&i.isObject(e)&&e instanceof o)return e;var l=new o;return l.parse(e,t,n),l}o.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),u=-1!==o&&o127?N+="x":N+=M[L];if(!N.match(h)){var P=R.slice(0,O),F=R.slice(O+1),V=M.match(f);V&&(P.push(V[1]),F.unshift(V[2])),F.length&&(b="/"+F.join(".")+b),this.hostname=P.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),D||(this.hostname=l.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!g[_])for(O=0,k=c.length;O0)&&n.host.split("@"))&&(n.auth=O.shift(),n.host=n.hostname=O.shift())),n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!w.length)return n.pathname=null,n.path=n.search?"/"+n.search:null,n.href=n.format(),n;for(var x=w.slice(-1)[0],S=(n.host||e.host||w.length>1)&&("."===x||".."===x)||""===x,E=0,I=w.length;I>=0;I--)"."===(x=w[I])?w.splice(I,1):".."===x?(w.splice(I,1),E++):E&&(w.splice(I,1),E--);if(!b&&!C)for(;E--;E)w.unshift("..");!b||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),S&&"/"!==w.join("/").substr(-1)&&w.push("");var O,T=""===w[0]||w[0]&&"/"===w[0].charAt(0);return _&&(n.hostname=n.host=T?"":w.length?w.shift():"",(O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=O.shift(),n.host=n.hostname=O.shift())),(b=b||n.host&&w.length)&&!T&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=u.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},Czxz:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("7LN8"),a=n("mU/a"),s=n("sdDj"),c=n("P3jN"),d=n("CcnG"),p=n("DtyJ"),h=function(){function e(){this.sortSource=new p.Subject,this.selectionSource=new p.Subject,this.contextMenuSource=new p.Subject,this.valueSource=new p.Subject,this.totalRecordsSource=new p.Subject,this.columnsSource=new p.Subject,this.sortSource$=this.sortSource.asObservable(),this.selectionSource$=this.selectionSource.asObservable(),this.contextMenuSource$=this.contextMenuSource.asObservable(),this.valueSource$=this.valueSource.asObservable(),this.totalRecordsSource$=this.totalRecordsSource.asObservable(),this.columnsSource$=this.columnsSource.asObservable()}return e.prototype.onSort=function(e){this.sortSource.next(e)},e.prototype.onSelectionChange=function(){this.selectionSource.next()},e.prototype.onContextMenu=function(e){this.contextMenuSource.next(e)},e.prototype.onValueChange=function(e){this.valueSource.next(e)},e.prototype.onTotalRecordsChange=function(e){this.totalRecordsSource.next(e)},e.prototype.onColumnsChange=function(e){this.columnsSource.next(e)},l([d.Injectable()],e)}();t.TableService=h;var f=function(){function e(e,t,n){this.el=e,this.zone=t,this.tableService=n,this.first=0,this.pageLinks=5,this.alwaysShowPaginator=!0,this.paginatorPosition="bottom",this.defaultSortOrder=1,this.sortMode="single",this.resetPageOnSort=!0,this.selectionChange=new o.EventEmitter,this.contextMenuSelectionChange=new o.EventEmitter,this.contextMenuSelectionMode="separate",this.rowTrackBy=function(e,t){return t},this.lazy=!1,this.lazyLoadOnInit=!0,this.compareSelectionBy="deepEquals",this.csvSeparator=",",this.exportFilename="download",this.filters={},this.filterDelay=300,this.expandedRowKeys={},this.rowExpandMode="multiple",this.virtualScrollDelay=150,this.virtualRowHeight=28,this.columnResizeMode="fit",this.loadingIcon="pi pi-spinner",this.stateStorage="session",this.onRowSelect=new o.EventEmitter,this.onRowUnselect=new o.EventEmitter,this.onPage=new o.EventEmitter,this.onSort=new o.EventEmitter,this.onFilter=new o.EventEmitter,this.onLazyLoad=new o.EventEmitter,this.onRowExpand=new o.EventEmitter,this.onRowCollapse=new o.EventEmitter,this.onContextMenuSelect=new o.EventEmitter,this.onColResize=new o.EventEmitter,this.onColReorder=new o.EventEmitter,this.onRowReorder=new o.EventEmitter,this.onEditInit=new o.EventEmitter,this.onEditComplete=new o.EventEmitter,this.onEditCancel=new o.EventEmitter,this.onHeaderCheckboxToggle=new o.EventEmitter,this.sortFunction=new o.EventEmitter,this._value=[],this._totalRecords=0,this.selectionKeys={},this._sortOrder=1,this.filterConstraints={startsWith:function(e,t){if(null==t||""===t.trim())return!0;if(null==e)return!1;var n=c.ObjectUtils.removeAccents(t.toString()).toLowerCase();return c.ObjectUtils.removeAccents(e.toString()).toLowerCase().slice(0,n.length)===n},contains:function(e,t){if(null==t||"string"==typeof t&&""===t.trim())return!0;if(null==e)return!1;var n=c.ObjectUtils.removeAccents(t.toString()).toLowerCase();return-1!==c.ObjectUtils.removeAccents(e.toString()).toLowerCase().indexOf(n)},endsWith:function(e,t){if(null==t||""===t.trim())return!0;if(null==e)return!1;var n=c.ObjectUtils.removeAccents(t.toString()).toLowerCase(),l=c.ObjectUtils.removeAccents(e.toString()).toLowerCase();return-1!==l.indexOf(n,l.length-n.length)},equals:function(e,t){return null==t||"string"==typeof t&&""===t.trim()||null!=e&&(e.getTime&&t.getTime?e.getTime()===t.getTime():c.ObjectUtils.removeAccents(e.toString()).toLowerCase()==c.ObjectUtils.removeAccents(t.toString()).toLowerCase())},notEquals:function(e,t){return!(null==t||"string"==typeof t&&""===t.trim()||null!=e&&(e.getTime&&t.getTime?e.getTime()===t.getTime():c.ObjectUtils.removeAccents(e.toString()).toLowerCase()==c.ObjectUtils.removeAccents(t.toString()).toLowerCase()))},in:function(e,t){if(null==t||0===t.length)return!0;for(var n=0;nt.getTime():e>t)},gte:function(e,t){return null==t||null!=e&&(e.getTime&&t.getTime?e.getTime()>=t.getTime():e>=t)}}}return e.prototype.ngOnInit=function(){this.lazy&&this.lazyLoadOnInit&&this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.initialized=!0},e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"caption":e.captionTemplate=t.template;break;case"header":e.headerTemplate=t.template;break;case"body":e.bodyTemplate=t.template;break;case"footer":e.footerTemplate=t.template;break;case"summary":e.summaryTemplate=t.template;break;case"colgroup":e.colGroupTemplate=t.template;break;case"rowexpansion":e.expandedRowTemplate=t.template;break;case"frozenrows":e.frozenRowsTemplate=t.template;break;case"frozenheader":e.frozenHeaderTemplate=t.template;break;case"frozenbody":e.frozenBodyTemplate=t.template;break;case"frozenfooter":e.frozenFooterTemplate=t.template;break;case"frozencolgroup":e.frozenColGroupTemplate=t.template;break;case"emptymessage":e.emptyMessageTemplate=t.template;break;case"paginatorleft":e.paginatorLeftTemplate=t.template;break;case"paginatorright":e.paginatorRightTemplate=t.template}})},e.prototype.ngAfterViewInit=function(){this.isStateful()&&this.resizableColumns&&this.restoreColumnWidths()},Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this.isStateful()&&!this.stateRestored&&this.restoreState(),this._value=e,this.lazy||(this.totalRecords=this._value?this._value.length:0,"single"==this.sortMode&&this.sortField?this.sortSingle():"multiple"==this.sortMode&&this.multiSortMeta?this.sortMultiple():this.hasFilter()&&this._filter()),this.virtualScroll&&this.virtualScrollCallback&&this.virtualScrollCallback(),this.tableService.onValueChange(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columns",{get:function(){return this._columns},set:function(e){this._columns=e,this.tableService.onColumnsChange(e),this._columns&&this.isStateful()&&this.reorderableColumns&&!this.columnOrderStateRestored&&this.restoreColumnOrder()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"totalRecords",{get:function(){return this._totalRecords},set:function(e){this._totalRecords=e,this.tableService.onTotalRecordsChange(this._totalRecords)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sortField",{get:function(){return this._sortField},set:function(e){this._sortField=e,this.lazy&&!this.initialized||"single"===this.sortMode&&this.sortSingle()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sortOrder",{get:function(){return this._sortOrder},set:function(e){this._sortOrder=e,this.lazy&&!this.initialized||"single"===this.sortMode&&this.sortSingle()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiSortMeta",{get:function(){return this._multiSortMeta},set:function(e){this._multiSortMeta=e,"multiple"===this.sortMode&&this.sortMultiple()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selection",{get:function(){return this._selection},set:function(e){this._selection=e,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange()),this.preventSelectionSetterPropagation=!1},enumerable:!0,configurable:!0}),e.prototype.updateSelectionKeys=function(){if(this.dataKey&&this._selection)if(this.selectionKeys={},Array.isArray(this._selection))for(var e=0,t=this._selection;eo?1:0,e.sortOrder*l}),this.hasFilter()&&this._filter());var t={field:this.sortField,order:this.sortOrder};this.onSort.emit(t),this.tableService.onSort(t)}},e.prototype.sortMultiple=function(){var e=this;this.multiSortMeta&&(this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,multiSortMeta:this.multiSortMeta}):this.value.sort(function(t,n){return e.multisortField(t,n,e.multiSortMeta,0)}),this.hasFilter()&&this._filter()),this.onSort.emit({multisortmeta:this.multiSortMeta}),this.tableService.onSort(this.multiSortMeta))},e.prototype.multisortField=function(e,t,n,l){var i=c.ObjectUtils.resolveFieldData(e,n[l].field),o=c.ObjectUtils.resolveFieldData(t,n[l].field),r=null;if(null==i&&null!=o?r=-1:null!=i&&null==o?r=1:null==i&&null==o&&(r=0),"string"==typeof i||i instanceof String){if(i.localeCompare&&i!=o)return n[l].order*i.localeCompare(o)}else r=il?this.multisortField(e,t,n,l+1):0:n[l].order*r},e.prototype.getSortMeta=function(e){if(this.multiSortMeta&&this.multiSortMeta.length)for(var t=0;tt?(n=t,l=this.anchorRowIndex):this.anchorRowIndexthis.anchorRowIndex?(t=this.anchorRowIndex,n=this.rangeRowIndex):this.rangeRowIndex-1:this.equals(e,this.selection))},e.prototype.findIndexInSelection=function(e){var t=-1;if(this.selection&&this.selection.length)for(var n=0;n=i){if("fit"===this.columnResizeMode){for(var r=t.nextElementSibling;!r.offsetParent;)r=r.nextElementSibling;if(r){var u=r.offsetWidth-n;if(o>15&&u>parseInt(r.style.minWidth||15))if(this.scrollable){var a=this.findParentScrollableView(t),c=s.DomHandler.findSingle(a,"table.ui-table-scrollable-body-table"),d=s.DomHandler.findSingle(a,"table.ui-table-scrollable-header-table"),p=s.DomHandler.findSingle(a,"table.ui-table-scrollable-footer-table"),h=s.DomHandler.index(t);this.resizeColGroup(d,h,o,u),this.resizeColGroup(c,h,o,u),this.resizeColGroup(p,h,o,u)}else t.style.width=o+"px",r&&(r.style.width=u+"px")}}else"expand"===this.columnResizeMode&&o>i&&(this.scrollable?(a=this.findParentScrollableView(t),c=s.DomHandler.findSingle(a,"table.ui-table-scrollable-body-table"),d=s.DomHandler.findSingle(a,"table.ui-table-scrollable-header-table"),p=s.DomHandler.findSingle(a,"table.ui-table-scrollable-footer-table"),c.style.width=c.offsetWidth+n+"px",d.style.width=d.offsetWidth+n+"px",p&&(p.style.width=d.offsetWidth+n+"px"),h=s.DomHandler.index(t),this.resizeColGroup(d,h,o,null),this.resizeColGroup(c,h,o,null),this.resizeColGroup(p,h,o,null)):(this.tableViewChild.nativeElement.style.width=this.tableViewChild.nativeElement.offsetWidth+n+"px",t.style.width=o+"px",this.containerViewChild.nativeElement.style.width=this.tableViewChild.nativeElement.style.width+"px"));this.onColResize.emit({element:t,delta:n}),this.isStateful()&&this.saveState()}this.resizeHelperViewChild.nativeElement.style.display="none",s.DomHandler.removeClass(this.containerViewChild.nativeElement,"ui-unselectable-text")},e.prototype.findParentScrollableView=function(e){if(e){for(var t=e.parentElement;t&&!s.DomHandler.hasClass(t,"ui-table-scrollable-view");)t=t.parentElement;return t}return null},e.prototype.resizeColGroup=function(e,t,n,l){if(e){var i="COLGROUP"===e.children[0].nodeName?e.children[0]:null;if(!i)throw"Scrollable tables require a colgroup to support resizable columns";var o=i.children[t],r=o.nextElementSibling;o.style.width=n+"px",r&&l&&(r.style.width=l+"px")}},e.prototype.onColumnDragStart=function(e,t){this.reorderIconWidth=s.DomHandler.getHiddenElementOuterWidth(this.reorderIndicatorUpViewChild.nativeElement),this.reorderIconHeight=s.DomHandler.getHiddenElementOuterHeight(this.reorderIndicatorDownViewChild.nativeElement),this.draggedColumn=t,e.dataTransfer.setData("text","b")},e.prototype.onColumnDragEnter=function(e,t){if(this.reorderableColumns&&this.draggedColumn&&t){e.preventDefault();var n=s.DomHandler.getOffset(this.containerViewChild.nativeElement),l=s.DomHandler.getOffset(t);if(this.draggedColumn!=t){var i=l.left-n.left,o=l.left+t.offsetWidth/2;this.reorderIndicatorUpViewChild.nativeElement.style.top=l.top-n.top-(this.reorderIconHeight-1)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.top=l.top-n.top+t.offsetHeight+"px",e.pageX>o?(this.reorderIndicatorUpViewChild.nativeElement.style.left=i+t.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=i+t.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUpViewChild.nativeElement.style.left=i-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=i-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=-1),this.reorderIndicatorUpViewChild.nativeElement.style.display="block",this.reorderIndicatorDownViewChild.nativeElement.style.display="block"}else e.dataTransfer.dropEffect="none"}},e.prototype.onColumnDragLeave=function(e){this.reorderableColumns&&this.draggedColumn&&(e.preventDefault(),this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none")},e.prototype.onColumnDrop=function(e,t){if(e.preventDefault(),this.draggedColumn){var n=s.DomHandler.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),l=s.DomHandler.indexWithinGroup(t,"preorderablecolumn"),i=n!=l;i&&(l-n==1&&-1===this.dropPosition||n-l==1&&1===this.dropPosition)&&(i=!1),i&&ln&&-1===this.dropPosition&&(l-=1),i&&(c.ObjectUtils.reorderArray(this.columns,n,l),this.onColReorder.emit({dragIndex:n,dropIndex:l,columns:this.columns}),this.isStateful()&&this.saveState()),this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none",this.draggedColumn.draggable=!1,this.draggedColumn=null,this.dropPosition=null}},e.prototype.onRowDragStart=function(e,t){this.rowDragging=!0,this.draggedRowIndex=t,e.dataTransfer.setData("text","b")},e.prototype.onRowDragOver=function(e,t,n){if(this.rowDragging&&this.draggedRowIndex!==t){var l=s.DomHandler.getOffset(n).top+s.DomHandler.getWindowScrollTop(),i=e.pageY,o=l+s.DomHandler.getOuterHeight(n)/2,r=n.previousElementSibling;ithis.droppedRowIndex?this.droppedRowIndex:0===this.droppedRowIndex?0:this.droppedRowIndex-1),this.onRowReorder.emit({dragIndex:this.draggedRowIndex,dropIndex:this.droppedRowIndex})),this.onRowDragLeave(e,t),this.onRowDragEnd(e)},e.prototype.handleVirtualScroll=function(e){var t=this;this.first=(e.page-1)*this.rows,this.virtualScrollCallback=e.callback,this.zone.run(function(){t.virtualScrollTimer&&clearTimeout(t.virtualScrollTimer),t.virtualScrollTimer=setTimeout(function(){t.onLazyLoad.emit(t.createLazyLoadMetadata())},t.virtualScrollDelay)})},e.prototype.isEmpty=function(){var e=this.filteredValue||this.value;return null==e||0==e.length},e.prototype.getBlockableElement=function(){return this.el.nativeElement.children[0]},e.prototype.getStorage=function(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}},e.prototype.isStateful=function(){return null!=this.stateKey},e.prototype.saveState=function(){var e=this.getStorage(),t={};this.paginator&&(t.first=this.first,t.rows=this.rows),this.sortField&&(t.sortField=this.sortField,t.sortOrder=this.sortOrder),this.multiSortMeta&&(t.multiSortMeta=this.multiSortMeta),this.hasFilter()&&(t.filters=this.filters),this.resizableColumns&&this.saveColumnWidths(t),this.reorderableColumns&&this.saveColumnOrder(t),this.selection&&(t.selection=this.selection),Object.keys(this.expandedRowKeys).length&&(t.expandedRowKeys=this.expandedRowKeys),Object.keys(t).length&&e.setItem(this.stateKey,JSON.stringify(t))},e.prototype.clearState=function(){var e=this.getStorage();this.stateKey&&e.removeItem(this.stateKey)},e.prototype.restoreState=function(){var e=this.getStorage().getItem(this.stateKey);if(e){var t=JSON.parse(e);this.paginator&&(this.first=t.first,this.rows=t.rows),t.sortField&&(this.restoringSort=!0,this._sortField=t.sortField,this._sortOrder=t.sortOrder),t.multiSortMeta&&(this.restoringSort=!0,this._multiSortMeta=t.multiSortMeta),t.filters&&(this.restoringFilter=!0,this.filters=t.filters),this.resizableColumns&&(this.columnWidthsState=t.columnWidths,this.tableWidthState=t.tableWidth),t.expandedRowKeys&&(this.expandedRowKeys=t.expandedRowKeys),t.selection&&(this.selection=t.selection),this.stateRestored=!0}},e.prototype.saveColumnWidths=function(e){var t=[];s.DomHandler.find(this.containerViewChild.nativeElement,".ui-table-thead > tr:first-child > th").map(function(e){return t.push(s.DomHandler.getOuterWidth(e))}),e.columnWidths=t.join(","),"expand"===this.columnResizeMode&&(e.tableWidth=this.scrollable?s.DomHandler.findSingle(this.containerViewChild.nativeElement,".ui-table-scrollable-header-table").style.width:s.DomHandler.getOuterWidth(this.tableViewChild.nativeElement)+"px")},e.prototype.restoreColumnWidths=function(){if(this.columnWidthsState){var e=this.columnWidthsState.split(",");if("expand"===this.columnResizeMode&&this.tableWidthState)if(this.scrollable){var t=s.DomHandler.findSingle(this.containerViewChild.nativeElement,".ui-table-scrollable-body-table"),n=s.DomHandler.findSingle(this.containerViewChild.nativeElement,".ui-table-scrollable-header-table"),l=s.DomHandler.findSingle(this.containerViewChild.nativeElement,".ui-table-scrollable-footer-table");t.style.width=this.tableWidthState,n.style.width=this.tableWidthState,l&&(l.style.width=this.tableWidthState)}else this.tableViewChild.nativeElement.style.width=this.tableWidthState,this.containerViewChild.nativeElement.style.width=this.tableWidthState;if(this.scrollable){var i=s.DomHandler.find(this.containerViewChild.nativeElement,".ui-table-scrollable-header-table > colgroup > col"),o=s.DomHandler.find(this.containerViewChild.nativeElement,".ui-table-scrollable-body-table > colgroup > col");i.map(function(t,n){return t.style.width=e[n]+"px"}),o.map(function(t,n){return t.style.width=e[n]+"px"})}else s.DomHandler.find(this.tableViewChild.nativeElement,".ui-table-thead > tr:first-child > th").map(function(t,n){return t.style.width=e[n]+"px"})}},e.prototype.saveColumnOrder=function(e){if(this.columns){var t=[];this.columns.map(function(e){t.push(e.field||e.key)}),e.columnOrder=t}},e.prototype.restoreColumnOrder=function(){var e=this,t=this.getStorage().getItem(this.stateKey);if(t){var n=JSON.parse(t).columnOrder;if(n){var l=[];n.map(function(t){return l.push(e.findColumnByKey(t))}),this.columnOrderStateRestored=!0,this.columns=l}}},e.prototype.findColumnByKey=function(e){if(!this.columns)return null;for(var t=0,n=this.columns;t\n

    \n
    \n \n
    \n
    \n \n
    \n \n \n
    \n \n \n \n \n \n \n \n \n \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n \n
    \n\n \n\n \n \n \n ',providers:[h]})],e)}();t.Table=f;var g=function(){function e(e){this.dt=e}return l([o.Input("pTableBody"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Input("pTableBodyTemplate"),i("design:type",o.TemplateRef)],e.prototype,"template",void 0),l([o.Component({selector:"[pTableBody]",template:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n '})],e)}();t.TableBody=g;var m=function(){function e(e,t,n){var l=this;this.dt=e,this.el=t,this.zone=n,this.subscription=this.dt.tableService.valueSource$.subscribe(function(){l.zone.runOutsideAngular(function(){setTimeout(function(){l.alignScrollBar()},50)})}),this.dt.virtualScroll&&(this.totalRecordsSubscription=this.dt.tableService.totalRecordsSource$.subscribe(function(){l.zone.runOutsideAngular(function(){setTimeout(function(){l.setVirtualScrollerHeight()},50)})})),this.initialized=!1}return Object.defineProperty(e.prototype,"scrollHeight",{get:function(){return this._scrollHeight},set:function(e){this._scrollHeight=e,this.setScrollHeight()},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewChecked=function(){!this.initialized&&this.el.nativeElement.offsetParent&&(this.alignScrollBar(),this.setScrollHeight(),this.initialized=!0)},e.prototype.ngAfterViewInit=function(){var e=this;if(this.frozen){this.scrollBodyViewChild.nativeElement.style.marginBottom=s.DomHandler.calculateScrollbarWidth()+"px";var t=this.el.nativeElement.nextElementSibling;t&&(this.scrollableSiblingBody=s.DomHandler.findSingle(t,".ui-table-scrollable-body"))}else{(this.dt.frozenColumns||this.dt.frozenBodyTemplate)&&s.DomHandler.addClass(this.el.nativeElement,"ui-table-unfrozen-view");var n=this.el.nativeElement.previousElementSibling;n&&(this.frozenSiblingBody=s.DomHandler.findSingle(n,".ui-table-scrollable-body"))}this.bindEvents(),this.setScrollHeight(),this.alignScrollBar(),this.frozen&&(this.columnsSubscription=this.dt.tableService.columnsSource$.subscribe(function(){e.zone.runOutsideAngular(function(){setTimeout(function(){e.setScrollHeight()},50)})})),this.dt.virtualScroll&&this.setVirtualScrollerHeight()},e.prototype.bindEvents=function(){var e=this;this.zone.runOutsideAngular(function(){s.DomHandler.calculateScrollbarWidth(),e.scrollHeaderViewChild&&e.scrollHeaderViewChild.nativeElement&&(e.headerScrollListener=e.onHeaderScroll.bind(e),e.scrollHeaderBoxViewChild.nativeElement.addEventListener("scroll",e.headerScrollListener)),e.scrollFooterViewChild&&e.scrollFooterViewChild.nativeElement&&(e.footerScrollListener=e.onFooterScroll.bind(e),e.scrollFooterViewChild.nativeElement.addEventListener("scroll",e.footerScrollListener)),e.frozen||(e.bodyScrollListener=e.onBodyScroll.bind(e),e.scrollBodyViewChild.nativeElement.addEventListener("scroll",e.bodyScrollListener))})},e.prototype.unbindEvents=function(){this.scrollHeaderViewChild&&this.scrollHeaderViewChild.nativeElement&&this.scrollHeaderBoxViewChild.nativeElement.removeEventListener("scroll",this.headerScrollListener),this.scrollFooterViewChild&&this.scrollFooterViewChild.nativeElement&&this.scrollFooterViewChild.nativeElement.removeEventListener("scroll",this.footerScrollListener),this.scrollBodyViewChild.nativeElement.removeEventListener("scroll",this.bodyScrollListener)},e.prototype.onHeaderScroll=function(e){this.scrollHeaderViewChild.nativeElement.scrollLeft=0},e.prototype.onFooterScroll=function(e){this.scrollFooterViewChild.nativeElement.scrollLeft=0},e.prototype.onBodyScroll=function(e){var t=this;if(this.scrollHeaderViewChild&&this.scrollHeaderViewChild.nativeElement&&(this.scrollHeaderBoxViewChild.nativeElement.style.marginLeft=-1*this.scrollBodyViewChild.nativeElement.scrollLeft+"px"),this.scrollFooterViewChild&&this.scrollFooterViewChild.nativeElement&&(this.scrollFooterBoxViewChild.nativeElement.style.marginLeft=-1*this.scrollBodyViewChild.nativeElement.scrollLeft+"px"),this.frozenSiblingBody&&(this.frozenSiblingBody.scrollTop=this.scrollBodyViewChild.nativeElement.scrollTop),this.dt.virtualScroll){var n=s.DomHandler.getOuterHeight(this.scrollBodyViewChild.nativeElement),l=s.DomHandler.getOuterHeight(this.scrollTableViewChild.nativeElement),i=this.dt.virtualRowHeight*this.dt.rows,o=s.DomHandler.getOuterHeight(this.virtualScrollerViewChild.nativeElement)/i||1,r=this.scrollTableViewChild.nativeElement.style.top||"0";if(this.scrollBodyViewChild.nativeElement.scrollTop+n>parseFloat(r)+l||this.scrollBodyViewChild.nativeElement.scrollTops.DomHandler.getOuterHeight(this.scrollBodyViewChild.nativeElement)},e.prototype.alignScrollBar=function(){if(!this.frozen){var e=this.hasVerticalOverflow()?s.DomHandler.calculateScrollbarWidth():0;this.scrollHeaderBoxViewChild.nativeElement.style.marginRight=e+"px",this.scrollFooterBoxViewChild&&this.scrollFooterBoxViewChild.nativeElement&&(this.scrollFooterBoxViewChild.nativeElement.style.marginRight=e+"px")}this.initialized=!1},e.prototype.ngOnDestroy=function(){this.unbindEvents(),this.frozenSiblingBody=null,this.subscription&&this.subscription.unsubscribe(),this.totalRecordsSubscription&&this.totalRecordsSubscription.unsubscribe(),this.columnsSubscription&&this.columnsSubscription.unsubscribe(),this.initialized=!1},l([o.Input("pScrollableView"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.ViewChild("scrollHeader"),i("design:type",o.ElementRef)],e.prototype,"scrollHeaderViewChild",void 0),l([o.ViewChild("scrollHeaderBox"),i("design:type",o.ElementRef)],e.prototype,"scrollHeaderBoxViewChild",void 0),l([o.ViewChild("scrollBody"),i("design:type",o.ElementRef)],e.prototype,"scrollBodyViewChild",void 0),l([o.ViewChild("scrollTable"),i("design:type",o.ElementRef)],e.prototype,"scrollTableViewChild",void 0),l([o.ViewChild("scrollFooter"),i("design:type",o.ElementRef)],e.prototype,"scrollFooterViewChild",void 0),l([o.ViewChild("scrollFooterBox"),i("design:type",o.ElementRef)],e.prototype,"scrollFooterBoxViewChild",void 0),l([o.ViewChild("virtualScroller"),i("design:type",o.ElementRef)],e.prototype,"virtualScrollerViewChild",void 0),l([o.Input(),i("design:type",String),i("design:paramtypes",[String])],e.prototype,"scrollHeight",null),l([o.Component({selector:"[pScrollableView]",template:'\n
    \n
    \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n \n '})],e)}();t.ScrollableView=m;var v=function(){function e(e){var t=this;this.dt=e,this.isEnabled()&&(this.subscription=this.dt.tableService.sortSource$.subscribe(function(e){t.updateSortState()}))}return e.prototype.ngOnInit=function(){this.isEnabled()&&this.updateSortState()},e.prototype.updateSortState=function(){this.sorted=this.dt.isSorted(this.field)},e.prototype.onClick=function(e){this.isEnabled()&&(this.updateSortState(),this.dt.sort({originalEvent:e,field:this.field}),s.DomHandler.clearSelection())},e.prototype.onEnterKey=function(e){this.onClick(e)},e.prototype.isEnabled=function(){return!0!==this.pSortableColumnDisabled},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input("pSortableColumn"),i("design:type",String)],e.prototype,"field",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pSortableColumnDisabled",void 0),l([o.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[MouseEvent]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.HostListener("keydown.enter",["$event"]),i("design:type",Function),i("design:paramtypes",[MouseEvent]),i("design:returntype",void 0)],e.prototype,"onEnterKey",null),l([o.Directive({selector:"[pSortableColumn]",host:{"[class.ui-sortable-column]":"isEnabled()","[class.ui-state-highlight]":"sorted","[attr.tabindex]":'isEnabled() ? "0" : null'}})],e)}();t.SortableColumn=v;var y=function(){function e(e){var t=this;this.dt=e,this.subscription=this.dt.tableService.sortSource$.subscribe(function(e){t.updateSortState()})}return e.prototype.ngOnInit=function(){this.updateSortState()},e.prototype.onClick=function(e){e.preventDefault()},e.prototype.updateSortState=function(){if("single"===this.dt.sortMode)this.sortOrder=this.dt.isSorted(this.field)?this.dt.sortOrder:0;else if("multiple"===this.dt.sortMode){var e=this.dt.getSortMeta(this.field);this.sortOrder=e?e.order:0}},Object.defineProperty(e.prototype,"ariaText",{get:function(){var e;switch(this.sortOrder){case 1:e=this.ariaLabelAsc;break;case-1:e=this.ariaLabelDesc;break;default:e=this.ariaLabel}return e},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input(),i("design:type",String)],e.prototype,"field",void 0),l([o.Input(),i("design:type",String)],e.prototype,"ariaLabel",void 0),l([o.Input(),i("design:type",String)],e.prototype,"ariaLabelDesc",void 0),l([o.Input(),i("design:type",String)],e.prototype,"ariaLabelAsc",void 0),l([o.Component({selector:"p-sortIcon",template:"\n \n "})],e)}();t.SortIcon=y;var b=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.isEnabled()&&(this.subscription=this.dt.tableService.selectionSource$.subscribe(function(){n.selected=n.dt.isSelected(n.data)}))}return e.prototype.ngOnInit=function(){this.isEnabled()&&(this.selected=this.dt.isSelected(this.data))},e.prototype.onClick=function(e){this.isEnabled()&&this.dt.handleRowClick({originalEvent:e,rowData:this.data,rowIndex:this.index})},e.prototype.onTouchEnd=function(e){this.isEnabled()&&this.dt.handleRowTouchEnd(e)},e.prototype.onKeyDown=function(e){if(this.isEnabled()){var t=e.target;switch(e.which){case 40:var n=this.findNextSelectableRow(t);n&&n.focus(),e.preventDefault();break;case 38:var l=this.findPrevSelectableRow(t);l&&l.focus(),e.preventDefault();break;case 13:this.dt.handleRowClick({originalEvent:e,rowData:this.data,rowIndex:this.index})}}},e.prototype.findNextSelectableRow=function(e){var t=e.nextElementSibling;return t?s.DomHandler.hasClass(t,"ui-selectable-row")?t:this.findNextSelectableRow(t):null},e.prototype.findPrevSelectableRow=function(e){var t=e.previousElementSibling;return t?s.DomHandler.hasClass(t,"ui-selectable-row")?t:this.findPrevSelectableRow(t):null},e.prototype.isEnabled=function(){return!0!==this.pSelectableRowDisabled},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input("pSelectableRow"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input("pSelectableRowIndex"),i("design:type",Number)],e.prototype,"index",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pSelectableRowDisabled",void 0),l([o.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.HostListener("touchend",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onTouchEnd",null),l([o.HostListener("keydown",["$event"]),i("design:type",Function),i("design:paramtypes",[KeyboardEvent]),i("design:returntype",void 0)],e.prototype,"onKeyDown",null),l([o.Directive({selector:"[pSelectableRow]",host:{"[class.ui-selectable-row]":"isEnabled()","[class.ui-state-highlight]":"selected","[attr.tabindex]":"isEnabled() ? 0 : undefined"}})],e)}();t.SelectableRow=b;var C=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.isEnabled()&&(this.subscription=this.dt.tableService.selectionSource$.subscribe(function(){n.selected=n.dt.isSelected(n.data)}))}return e.prototype.ngOnInit=function(){this.isEnabled()&&(this.selected=this.dt.isSelected(this.data))},e.prototype.onClick=function(e){this.isEnabled()&&this.dt.handleRowClick({originalEvent:e,rowData:this.data,rowIndex:this.index})},e.prototype.isEnabled=function(){return!0!==this.pSelectableRowDisabled},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input("pSelectableRowDblClick"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input("pSelectableRowIndex"),i("design:type",Number)],e.prototype,"index",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pSelectableRowDisabled",void 0),l([o.HostListener("dblclick",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.Directive({selector:"[pSelectableRowDblClick]",host:{"[class.ui-state-highlight]":"selected"}})],e)}();t.SelectableRowDblClick=C;var w=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.isEnabled()&&(this.subscription=this.dt.tableService.contextMenuSource$.subscribe(function(e){n.selected=n.dt.equals(n.data,e)}))}return e.prototype.onContextMenu=function(e){this.isEnabled()&&(this.dt.handleRowRightClick({originalEvent:e,rowData:this.data}),e.preventDefault())},e.prototype.isEnabled=function(){return!0!==this.pContextMenuRowDisabled},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input("pContextMenuRow"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pContextMenuRowDisabled",void 0),l([o.HostListener("contextmenu",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onContextMenu",null),l([o.Directive({selector:"[pContextMenuRow]",host:{"[class.ui-contextmenu-selected]":"selected"}})],e)}();t.ContextMenuRow=w;var _=function(){function e(e){this.dt=e}return e.prototype.onClick=function(e){this.isEnabled()&&(this.dt.toggleRow(this.data,e),e.preventDefault())},e.prototype.isEnabled=function(){return!0!==this.pRowTogglerDisabled},l([o.Input("pRowToggler"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pRowTogglerDisabled",void 0),l([o.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.Directive({selector:"[pRowToggler]"})],e)}();t.RowToggler=_;var x=function(){function e(e,t,n){this.dt=e,this.el=t,this.zone=n}return e.prototype.ngAfterViewInit=function(){var e=this;this.isEnabled()&&(s.DomHandler.addClass(this.el.nativeElement,"ui-resizable-column"),this.resizer=document.createElement("span"),this.resizer.className="ui-column-resizer ui-clickable",this.el.nativeElement.appendChild(this.resizer),this.zone.runOutsideAngular(function(){e.resizerMouseDownListener=e.onMouseDown.bind(e),e.resizer.addEventListener("mousedown",e.resizerMouseDownListener)}))},e.prototype.bindDocumentEvents=function(){var e=this;this.zone.runOutsideAngular(function(){e.documentMouseMoveListener=e.onDocumentMouseMove.bind(e),document.addEventListener("mousemove",e.documentMouseMoveListener),e.documentMouseUpListener=e.onDocumentMouseUp.bind(e),document.addEventListener("mouseup",e.documentMouseUpListener)})},e.prototype.unbindDocumentEvents=function(){this.documentMouseMoveListener&&(document.removeEventListener("mousemove",this.documentMouseMoveListener),this.documentMouseMoveListener=null),this.documentMouseUpListener&&(document.removeEventListener("mouseup",this.documentMouseUpListener),this.documentMouseUpListener=null)},e.prototype.onMouseDown=function(e){this.dt.onColumnResizeBegin(e),this.bindDocumentEvents()},e.prototype.onDocumentMouseMove=function(e){this.dt.onColumnResize(e)},e.prototype.onDocumentMouseUp=function(e){this.dt.onColumnResizeEnd(e,this.el.nativeElement),this.unbindDocumentEvents()},e.prototype.isEnabled=function(){return!0!==this.pResizableColumnDisabled},e.prototype.ngOnDestroy=function(){this.resizerMouseDownListener&&this.resizer.removeEventListener("mousedown",this.resizerMouseDownListener),this.unbindDocumentEvents()},l([o.Input(),i("design:type",Boolean)],e.prototype,"pResizableColumnDisabled",void 0),l([o.Directive({selector:"[pResizableColumn]"})],e)}();t.ResizableColumn=x;var S=function(){function e(e,t,n){this.dt=e,this.el=t,this.zone=n}return e.prototype.ngAfterViewInit=function(){this.isEnabled()&&this.bindEvents()},e.prototype.bindEvents=function(){var e=this;this.zone.runOutsideAngular(function(){e.mouseDownListener=e.onMouseDown.bind(e),e.el.nativeElement.addEventListener("mousedown",e.mouseDownListener),e.dragStartListener=e.onDragStart.bind(e),e.el.nativeElement.addEventListener("dragstart",e.dragStartListener),e.dragOverListener=e.onDragEnter.bind(e),e.el.nativeElement.addEventListener("dragover",e.dragOverListener),e.dragEnterListener=e.onDragEnter.bind(e),e.el.nativeElement.addEventListener("dragenter",e.dragEnterListener),e.dragLeaveListener=e.onDragLeave.bind(e),e.el.nativeElement.addEventListener("dragleave",e.dragLeaveListener)})},e.prototype.unbindEvents=function(){this.mouseDownListener&&(document.removeEventListener("mousedown",this.mouseDownListener),this.mouseDownListener=null),this.dragOverListener&&(document.removeEventListener("dragover",this.dragOverListener),this.dragOverListener=null),this.dragEnterListener&&(document.removeEventListener("dragenter",this.dragEnterListener),this.dragEnterListener=null),this.dragEnterListener&&(document.removeEventListener("dragenter",this.dragEnterListener),this.dragEnterListener=null),this.dragLeaveListener&&(document.removeEventListener("dragleave",this.dragLeaveListener),this.dragLeaveListener=null)},e.prototype.onMouseDown=function(e){this.el.nativeElement.draggable="INPUT"!==e.target.nodeName&&"TEXTAREA"!==e.target.nodeName&&!s.DomHandler.hasClass(e.target,"ui-column-resizer")},e.prototype.onDragStart=function(e){this.dt.onColumnDragStart(e,this.el.nativeElement)},e.prototype.onDragOver=function(e){e.preventDefault()},e.prototype.onDragEnter=function(e){this.dt.onColumnDragEnter(e,this.el.nativeElement)},e.prototype.onDragLeave=function(e){this.dt.onColumnDragLeave(e)},e.prototype.onDrop=function(e){this.isEnabled()&&this.dt.onColumnDrop(e,this.el.nativeElement)},e.prototype.isEnabled=function(){return!0!==this.pReorderableColumnDisabled},e.prototype.ngOnDestroy=function(){this.unbindEvents()},l([o.Input(),i("design:type",Boolean)],e.prototype,"pReorderableColumnDisabled",void 0),l([o.HostListener("drop",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onDrop",null),l([o.Directive({selector:"[pReorderableColumn]"})],e)}();t.ReorderableColumn=S;var E=function(){function e(e,t,n){this.dt=e,this.el=t,this.zone=n}return e.prototype.ngAfterViewInit=function(){this.isEnabled()&&s.DomHandler.addClass(this.el.nativeElement,"ui-editable-column")},e.prototype.onClick=function(e){if(this.isEnabled())if(this.dt.editingCellClick=!0,this.dt.editingCell){if(this.dt.editingCell!==this.el.nativeElement){if(!this.dt.isEditingCellValid())return;s.DomHandler.removeClass(this.dt.editingCell,"ui-editing-cell"),this.openCell()}}else this.openCell()},e.prototype.openCell=function(){var e=this;this.dt.updateEditingCell(this.el.nativeElement),s.DomHandler.addClass(this.el.nativeElement,"ui-editing-cell"),this.dt.onEditInit.emit({field:this.field,data:this.data}),this.zone.runOutsideAngular(function(){setTimeout(function(){var t=s.DomHandler.findSingle(e.el.nativeElement,"input, textarea");t&&t.focus()},50)})},e.prototype.closeEditingCell=function(){s.DomHandler.removeClass(this.dt.editingCell,"ui-editing-cell"),this.dt.editingCell=null,this.dt.unbindDocumentEditListener()},e.prototype.onKeyDown=function(e){this.isEnabled()&&(13==e.keyCode?(this.dt.isEditingCellValid()&&(this.closeEditingCell(),this.dt.onEditComplete.emit({field:this.field,data:this.data})),e.preventDefault()):27==e.keyCode?(this.dt.isEditingCellValid()&&(this.closeEditingCell(),this.dt.onEditCancel.emit({field:this.field,data:this.data})),e.preventDefault()):9==e.keyCode&&(this.dt.onEditComplete.emit({field:this.field,data:this.data}),e.shiftKey?this.moveToPreviousCell(e):this.moveToNextCell(e)))},e.prototype.findCell=function(e){if(e){for(var t=e;t&&!s.DomHandler.hasClass(t,"ui-editing-cell");)t=t.parentElement;return t}return null},e.prototype.moveToPreviousCell=function(e){var t=this.findCell(e.target),n=this.findPreviousEditableColumn(t);n&&(s.DomHandler.invokeElementMethod(e.target,"blur"),s.DomHandler.invokeElementMethod(n,"click"),e.preventDefault())},e.prototype.moveToNextCell=function(e){var t=this.findCell(e.target),n=this.findNextEditableColumn(t);n&&(s.DomHandler.invokeElementMethod(e.target,"blur"),s.DomHandler.invokeElementMethod(n,"click"),e.preventDefault())},e.prototype.findPreviousEditableColumn=function(e){var t=e.previousElementSibling;if(!t){var n=e.parentElement.previousElementSibling;n&&(t=n.lastElementChild)}return t?s.DomHandler.hasClass(t,"ui-editable-column")?t:this.findPreviousEditableColumn(t):null},e.prototype.findNextEditableColumn=function(e){var t=e.nextElementSibling;if(!t){var n=e.parentElement.nextElementSibling;n&&(t=n.firstElementChild)}return t?s.DomHandler.hasClass(t,"ui-editable-column")?t:this.findNextEditableColumn(t):null},e.prototype.isEnabled=function(){return!0!==this.pEditableColumnDisabled},l([o.Input("pEditableColumn"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input("pEditableColumnField"),i("design:type",Object)],e.prototype,"field",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pEditableColumnDisabled",void 0),l([o.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[MouseEvent]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.HostListener("keydown",["$event"]),i("design:type",Function),i("design:paramtypes",[KeyboardEvent]),i("design:returntype",void 0)],e.prototype,"onKeyDown",null),l([o.Directive({selector:"[pEditableColumn]"})],e)}();t.EditableColumn=E;var I=function(){function e(e,t){this.dt=e,this.editableColumn=t}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"input":e.inputTemplate=t.template;break;case"output":e.outputTemplate=t.template}})},l([o.ContentChildren(u.PrimeTemplate),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.Component({selector:"p-cellEditor",template:'\n \n \n \n \n \n \n '})],e)}();t.CellEditor=I;var O=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.subscription=this.dt.tableService.selectionSource$.subscribe(function(){n.checked=n.dt.isSelected(n.value)})}return e.prototype.ngOnInit=function(){this.checked=this.dt.isSelected(this.value)},e.prototype.onClick=function(e){this.disabled||this.dt.toggleRowWithRadio({originalEvent:e,rowIndex:this.index},this.value),s.DomHandler.clearSelection()},e.prototype.onFocus=function(){s.DomHandler.addClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.onBlur=function(){s.DomHandler.removeClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"value",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"index",void 0),l([o.ViewChild("box"),i("design:type",o.ElementRef)],e.prototype,"boxViewChild",void 0),l([o.Component({selector:"p-tableRadioButton",template:'\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n '})],e)}();t.TableRadioButton=O;var T=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.subscription=this.dt.tableService.selectionSource$.subscribe(function(){n.checked=n.dt.isSelected(n.value)})}return e.prototype.ngOnInit=function(){this.checked=this.dt.isSelected(this.value)},e.prototype.onClick=function(e){this.disabled||this.dt.toggleRowWithCheckbox({originalEvent:e,rowIndex:this.index},this.value),s.DomHandler.clearSelection()},e.prototype.onFocus=function(){s.DomHandler.addClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.onBlur=function(){s.DomHandler.removeClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"value",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"index",void 0),l([o.ViewChild("box"),i("design:type",o.ElementRef)],e.prototype,"boxViewChild",void 0),l([o.Component({selector:"p-tableCheckbox",template:'\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n '})],e)}();t.TableCheckbox=T;var D=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.valueChangeSubscription=this.dt.tableService.valueSource$.subscribe(function(){n.checked=n.updateCheckedState()}),this.selectionChangeSubscription=this.dt.tableService.selectionSource$.subscribe(function(){n.checked=n.updateCheckedState()})}return e.prototype.ngOnInit=function(){this.checked=this.updateCheckedState()},e.prototype.onClick=function(e,t){this.disabled||this.dt.value&&this.dt.value.length>0&&this.dt.toggleRowsWithCheckbox(e,!t),s.DomHandler.clearSelection()},e.prototype.onFocus=function(){s.DomHandler.addClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.onBlur=function(){s.DomHandler.removeClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.isDisabled=function(){return this.disabled||!this.dt.value||!this.dt.value.length},e.prototype.ngOnDestroy=function(){this.selectionChangeSubscription&&this.selectionChangeSubscription.unsubscribe(),this.valueChangeSubscription&&this.valueChangeSubscription.unsubscribe()},e.prototype.updateCheckedState=function(){var e;return this.dt.filteredValue?(e=this.dt.filteredValue)&&e.length>0&&this.dt.selection&&this.dt.selection.length>0&&this.isAllFilteredValuesChecked():(e=this.dt.value)&&e.length>0&&this.dt.selection&&this.dt.selection.length>0&&this.dt.selection.length===e.length},e.prototype.isAllFilteredValuesChecked=function(){if(this.dt.filteredValue){for(var e=0,t=this.dt.filteredValue;e\n
    \n \n
    \n
    \n \n
    \n \n '})],e)}();t.TableHeaderCheckbox=D;var R=function(){function e(e){this.el=e}return e.prototype.ngAfterViewInit=function(){s.DomHandler.addClass(this.el.nativeElement,"ui-table-reorderablerow-handle")},l([o.Input("pReorderableRowHandle"),i("design:type",Number)],e.prototype,"index",void 0),l([o.Directive({selector:"[pReorderableRowHandle]"})],e)}();t.ReorderableRowHandle=R;var k=function(){function e(e,t,n){this.dt=e,this.el=t,this.zone=n}return e.prototype.ngAfterViewInit=function(){this.isEnabled()&&(this.el.nativeElement.droppable=!0,this.bindEvents())},e.prototype.bindEvents=function(){var e=this;this.zone.runOutsideAngular(function(){e.mouseDownListener=e.onMouseDown.bind(e),e.el.nativeElement.addEventListener("mousedown",e.mouseDownListener),e.dragStartListener=e.onDragStart.bind(e),e.el.nativeElement.addEventListener("dragstart",e.dragStartListener),e.dragEndListener=e.onDragEnd.bind(e),e.el.nativeElement.addEventListener("dragend",e.dragEndListener),e.dragOverListener=e.onDragOver.bind(e),e.el.nativeElement.addEventListener("dragover",e.dragOverListener),e.dragLeaveListener=e.onDragLeave.bind(e),e.el.nativeElement.addEventListener("dragleave",e.dragLeaveListener)})},e.prototype.unbindEvents=function(){this.mouseDownListener&&(document.removeEventListener("mousedown",this.mouseDownListener),this.mouseDownListener=null),this.dragStartListener&&(document.removeEventListener("dragstart",this.dragStartListener),this.dragStartListener=null),this.dragEndListener&&(document.removeEventListener("dragend",this.dragEndListener),this.dragEndListener=null),this.dragOverListener&&(document.removeEventListener("dragover",this.dragOverListener),this.dragOverListener=null),this.dragLeaveListener&&(document.removeEventListener("dragleave",this.dragLeaveListener),this.dragLeaveListener=null)},e.prototype.onMouseDown=function(e){this.el.nativeElement.draggable=!!s.DomHandler.hasClass(e.target,"ui-table-reorderablerow-handle")},e.prototype.onDragStart=function(e){this.dt.onRowDragStart(e,this.index)},e.prototype.onDragEnd=function(e){this.dt.onRowDragEnd(e),this.el.nativeElement.draggable=!1},e.prototype.onDragOver=function(e){this.dt.onRowDragOver(e,this.index,this.el.nativeElement),e.preventDefault()},e.prototype.onDragLeave=function(e){this.dt.onRowDragLeave(e,this.el.nativeElement)},e.prototype.isEnabled=function(){return!0!==this.pReorderableRowDisabled},e.prototype.onDrop=function(e){this.isEnabled()&&this.dt.rowDragging&&this.dt.onRowDrop(e,this.el.nativeElement),e.preventDefault()},l([o.Input("pReorderableRow"),i("design:type",Number)],e.prototype,"index",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pReorderableRowDisabled",void 0),l([o.HostListener("drop",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onDrop",null),l([o.Directive({selector:"[pReorderableRow]"})],e)}();t.ReorderableRow=k,t.TableModule=function(){return l([o.NgModule({imports:[r.CommonModule,a.PaginatorModule],exports:[f,u.SharedModule,v,b,_,w,x,S,E,I,y,O,T,D,R,k,C],declarations:[f,v,b,_,w,x,S,E,I,g,m,y,O,T,D,R,k,C]})],function(){})}()},DKTb:function(e,t,n){"use strict";function l(e){setTimeout(function(){throw e},0)}n.d(t,"a",function(){return l})},DqLj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=n("sdDj");t.DomHandler=l.DomHandler;var i=n("B58V");t.TreeDragDropService=i.TreeDragDropService;var o=n("oygf");t.ConfirmationService=o.ConfirmationService;var r=n("4Vzq");t.MessageService=r.MessageService;var u=n("6xRK");t.DialogService=u.DialogService;var a=n("V3HQ");t.DynamicDialogConfig=a.DynamicDialogConfig;var s=n("RWz4");t.DynamicDialogRef=s.DynamicDialogRef},DtyJ:function(e,t,n){"use strict";n.r(t),n.d(t,"Observable",function(){return l.a}),n.d(t,"ConnectableObservable",function(){return i.a}),n.d(t,"GroupedObservable",function(){return s}),n.d(t,"observable",function(){return d.a}),n.d(t,"Subject",function(){return a.a}),n.d(t,"BehaviorSubject",function(){return p.a}),n.d(t,"ReplaySubject",function(){return h.a}),n.d(t,"AsyncSubject",function(){return f}),n.d(t,"asapScheduler",function(){return g.a}),n.d(t,"asyncScheduler",function(){return m.a}),n.d(t,"queueScheduler",function(){return v.a}),n.d(t,"animationFrameScheduler",function(){return y.a}),n.d(t,"VirtualTimeScheduler",function(){return C}),n.d(t,"VirtualAction",function(){return w}),n.d(t,"Scheduler",function(){return _.a}),n.d(t,"Subscription",function(){return u.a}),n.d(t,"Subscriber",function(){return r.a}),n.d(t,"Notification",function(){return x.a}),n.d(t,"NotificationKind",function(){return x.b}),n.d(t,"pipe",function(){return S.a}),n.d(t,"noop",function(){return E.a}),n.d(t,"identity",function(){return I.a}),n.d(t,"isObservable",function(){return O.a}),n.d(t,"ArgumentOutOfRangeError",function(){return T.a}),n.d(t,"EmptyError",function(){return D.a}),n.d(t,"ObjectUnsubscribedError",function(){return R.a}),n.d(t,"UnsubscriptionError",function(){return k.a}),n.d(t,"TimeoutError",function(){return N}),n.d(t,"bindCallback",function(){return V}),n.d(t,"bindNodeCallback",function(){return B}),n.d(t,"combineLatest",function(){return G.a}),n.d(t,"concat",function(){return W.a}),n.d(t,"defer",function(){return q.a}),n.d(t,"empty",function(){return K.b}),n.d(t,"forkJoin",function(){return Y.a}),n.d(t,"from",function(){return Z.a}),n.d(t,"fromEvent",function(){return Q.a}),n.d(t,"fromEventPattern",function(){return J}),n.d(t,"generate",function(){return ee}),n.d(t,"iif",function(){return ne}),n.d(t,"interval",function(){return ie}),n.d(t,"merge",function(){return re.a}),n.d(t,"never",function(){return ae}),n.d(t,"of",function(){return se.a}),n.d(t,"onErrorResumeNext",function(){return ce}),n.d(t,"pairs",function(){return de}),n.d(t,"partition",function(){return me}),n.d(t,"race",function(){return Ce}),n.d(t,"range",function(){return xe}),n.d(t,"throwError",function(){return Ee.a}),n.d(t,"timer",function(){return Ie.a}),n.d(t,"using",function(){return Oe}),n.d(t,"zip",function(){return De}),n.d(t,"scheduled",function(){return Ae.a}),n.d(t,"EMPTY",function(){return K.a}),n.d(t,"NEVER",function(){return ue}),n.d(t,"config",function(){return Pe.a});var l=n("6blF"),i=n("KhEm"),o=n("mrSG"),r=n("FFOo"),u=n("pugT"),a=n("K9Ia"),s=function(e){function t(t,n,l){var i=e.call(this)||this;return i.key=t,i.groupSubject=n,i.refCountSubscription=l,i}return o.__extends(t,e),t.prototype._subscribe=function(e){var t=new u.a,n=this.refCountSubscription,l=this.groupSubject;return n&&!n.closed&&t.add(new c(n)),t.add(l.subscribe(e)),t},t}(l.a),c=function(e){function t(t){var n=e.call(this)||this;return n.parent=t,t.count++,n}return o.__extends(t,e),t.prototype.unsubscribe=function(){var t=this.parent;t.closed||this.closed||(e.prototype.unsubscribe.call(this),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())},t}(u.a),d=n("xTla"),p=n("26FU"),h=n("S5bw"),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.value=null,t.hasNext=!1,t.hasCompleted=!1,t}return o.__extends(t,e),t.prototype._subscribe=function(t){return this.hasError?(t.error(this.thrownError),u.a.EMPTY):this.hasCompleted&&this.hasNext?(t.next(this.value),t.complete(),u.a.EMPTY):e.prototype._subscribe.call(this,t)},t.prototype.next=function(e){this.hasCompleted||(this.value=e,this.hasNext=!0)},t.prototype.error=function(t){this.hasCompleted||e.prototype.error.call(this,t)},t.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&e.prototype.next.call(this,this.value),e.prototype.complete.call(this)},t}(a.a),g=n("KQya"),m=n("T1DM"),v=n("zo3G"),y=n("tHPV"),b=n("h9Dq"),C=function(e){function t(t,n){void 0===t&&(t=w),void 0===n&&(n=Number.POSITIVE_INFINITY);var l=e.call(this,t,function(){return l.frame})||this;return l.maxFrames=n,l.frame=0,l.index=-1,l}return o.__extends(t,e),t.prototype.flush=function(){for(var e,t,n=this.actions,l=this.maxFrames;(t=n[0])&&t.delay<=l&&(n.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=n.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(n("CS9Q").a),w=function(e){function t(t,n,l){void 0===l&&(l=t.index+=1);var i=e.call(this,t,n)||this;return i.scheduler=t,i.work=n,i.index=l,i.active=!0,i.index=t.index=l,i}return o.__extends(t,e),t.prototype.schedule=function(n,l){if(void 0===l&&(l=0),!this.id)return e.prototype.schedule.call(this,n,l);this.active=!1;var i=new t(this.scheduler,this.work);return this.add(i),i.schedule(n,l)},t.prototype.requestAsyncId=function(e,n,l){void 0===l&&(l=0),this.delay=e.frame+l;var i=e.actions;return i.push(this),i.sort(t.sortActions),!0},t.prototype.recycleAsyncId=function(e,t,n){void 0===n&&(n=0)},t.prototype._execute=function(t,n){if(!0===this.active)return e.prototype._execute.call(this,t,n)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},t}(b.a),_=n("siIJ"),x=n("60iU"),S=n("y3By"),E=n("+umK"),I=n("mChF"),O=n("zrt+"),T=n("b7mW"),D=n("3fWJ"),R=n("8g8A"),k=n("awvh");function M(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}M.prototype=Object.create(Error.prototype);var N=M,L=n("67Y/"),A=n("1fDf"),P=n("isby"),F=n("nkY7");function V(e,t,n){if(t){if(!Object(F.a)(t))return function(){for(var l=[],i=0;i=t){l.complete();break}if(l.next(o++),l.closed)break}})}function Se(e){var t=e.start,n=e.index,l=e.subscriber;n>=e.count?l.complete():(l.next(t),l.closed||(e.index=n+1,e.start=t+1,this.schedule(e)))}var Ee=n("XlPw"),Ie=n("gI3B");function Oe(e,t){return new l.a(function(n){var l,i;try{l=e()}catch(r){return void n.error(r)}try{i=t(l)}catch(r){return void n.error(r)}var o=(i?Object(Z.a)(i):K.a).subscribe(n);return function(){o.unsubscribe(),l&&l.unsubscribe()}})}var Te=n("En8+");function De(){for(var e=[],t=0;tthis.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),Le=function(e){function t(t,n,l){var i=e.call(this,t)||this;return i.parent=n,i.observable=l,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return o.__extends(t,e),t.prototype[Te.a]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e,t,n,l,i){this.buffer.push(t),this.parent.checkIterators()},t.prototype.subscribe=function(e,t){return Object(be.a)(this,this.observable,this,t)},t}(ye.a),Ae=n("i4X3"),Pe=n("iLxQ")},EBtg:function(e,t,n){"use strict";var l=n("2KeD"),i=n("n73p"),o=n("2qMH"),r=n("LJ/p"),u=n("HZF8"),a=n("90cg"),s=n("yRPT"),c=n("0alx");t.scheduled=function(e,t){if(null!=e){if(u.isInteropObservable(e))return l.scheduleObservable(e,t);if(a.isPromise(e))return i.schedulePromise(e,t);if(s.isArrayLike(e))return o.scheduleArray(e,t);if(c.isIterable(e)||"string"==typeof e)return r.scheduleIterable(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}},EPYN:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("VSng"),a=function(){return l([o.Component({selector:"p-inplaceDisplay",template:""})],function(){})}();t.InplaceDisplay=a;var s=function(){return l([o.Component({selector:"p-inplaceContent",template:""})],function(){})}();t.InplaceContent=s;var c=function(){function e(){this.onActivate=new o.EventEmitter,this.onDeactivate=new o.EventEmitter}return e.prototype.activate=function(e){this.disabled||(this.active=!0,this.onActivate.emit(e))},e.prototype.deactivate=function(e){this.disabled||(this.active=!1,this.hover=!1,this.onDeactivate.emit(e))},l([o.Input(),i("design:type",Boolean)],e.prototype,"active",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"closable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onActivate",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onDeactivate",void 0),l([o.Component({selector:"p-inplace",template:'\n
    \n
    \n \n
    \n
    \n \n \n
    \n
    \n '})],e)}();t.Inplace=c,t.InplaceModule=function(){return l([o.NgModule({imports:[r.CommonModule,u.ButtonModule],exports:[c,a,s,u.ButtonModule],declarations:[c,a,s]})],function(){})}()},EVdn:function(e,t,n){var l;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],r=Object.getPrototypeOf,u=o.slice,a=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},s=o.push,c=o.indexOf,d={},p=d.toString,h=d.hasOwnProperty,f=h.toString,g=f.call(Object),m={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},y=function(e){return null!=e&&e===e.window},b=n.document,C={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var l,i,o=(n=n||b).createElement("script");if(o.text=e,t)for(l in C)(i=t[l]||t.getAttribute&&t.getAttribute(l))&&o.setAttribute(l,i);n.head.appendChild(o).parentNode.removeChild(o)}function _(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[p.call(e)]||"object":typeof e}var x=function(e,t){return new x.fn.init(e,t)};function S(e){var t=!!e&&"length"in e&&e.length,n=_(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:"3.5.0",constructor:x,length:0,toArray:function(){return u.call(this)},get:function(e){return null==e?u.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(x.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+F+")"+F+"*"),G=new RegExp(F+"|>"),W=new RegExp(H),q=new RegExp("^"+V+"$"),K={ID:new RegExp("^#("+V+")"),CLASS:new RegExp("^\\.("+V+")"),TAG:new RegExp("^("+V+"|[*])"),ATTR:new RegExp("^"+j),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+F+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},le=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){p()},re=Ce(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{N.apply(R=L.call(w.childNodes),w.childNodes)}catch(Ee){N={apply:R.length?function(e,t){M.apply(e,L.call(t))}:function(e,t){for(var n=e.length,l=0;e[n++]=t[l++];);e.length=n-1}}}function ue(e,t,l,i){var o,u,s,c,d,f,v,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(l=l||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return l;if(!i&&(p(t),t=t||h,g)){if(11!==w&&(d=J.exec(e)))if(o=d[1]){if(9===w){if(!(s=t.getElementById(o)))return l;if(s.id===o)return l.push(s),l}else if(y&&(s=y.getElementById(o))&&b(t,s)&&s.id===o)return l.push(s),l}else{if(d[2])return N.apply(l,t.getElementsByTagName(e)),l;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return N.apply(l,t.getElementsByClassName(o)),l}if(n.qsa&&!O[e+" "]&&(!m||!m.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===w&&(G.test(e)||$.test(e))){for((y=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((c=t.getAttribute("id"))?c=c.replace(le,ie):t.setAttribute("id",c=C)),u=(f=r(e)).length;u--;)f[u]=(c?"#"+c:":scope")+" "+be(f[u]);v=f.join(",")}try{return N.apply(l,y.querySelectorAll(v)),l}catch(_){O(e,!0)}finally{c===C&&t.removeAttribute("id")}}}return a(e.replace(z,"$1"),t,l,i)}function ae(){var e=[];return function t(n,i){return e.push(n+" ")>l.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function se(e){return e[C]=!0,e}function ce(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(Ee){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=n.length;i--;)l.attrHandle[n[i]]=t}function pe(e,t){var n=t&&e,l=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(l)return l;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ge(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&re(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return se(function(t){return t=+t,se(function(n,l){for(var i,o=e([],n.length,t),r=o.length;r--;)n[i=o[r]]&&(n[i]=!(l[i]=n[i]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ue.support={},o=ue.isXML=function(e){var t=(e.ownerDocument||e).documentElement;return!Y.test(e.namespaceURI||t&&t.nodeName||"HTML")},p=ue.setDocument=function(e){var t,i,r=e?e.ownerDocument||e:w;return r!=h&&9===r.nodeType&&r.documentElement?(f=(h=r).documentElement,g=!o(h),w!=h&&(i=h.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=ce(function(e){return f.appendChild(e).appendChild(h.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),n.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ce(function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=X.test(h.getElementsByClassName),n.getById=ce(function(e){return f.appendChild(e).id=C,!h.getElementsByName||!h.getElementsByName(C).length}),n.getById?(l.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},l.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(l.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},l.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,l,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),l=0;o=i[l++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),l.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,l=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&l.push(n);return l}return o},l.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],m=[],(n.qsa=X.test(h.querySelectorAll))&&(ce(function(e){var t;f.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+F+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+F+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+C+"-]").length||m.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+F+"*name"+F+"*="+F+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+C+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+F+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=X.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ce(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",H)}),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),t=X.test(f.compareDocumentPosition),b=t||X.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,l=t&&t.parentNode;return e===l||!(!l||1!==l.nodeType||!(n.contains?n.contains(l):e.compareDocumentPosition&&16&e.compareDocumentPosition(l)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return d=!0,0;var l=!e.compareDocumentPosition-!t.compareDocumentPosition;return l||(1&(l=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===l?e==h||e.ownerDocument==w&&b(w,e)?-1:t==h||t.ownerDocument==w&&b(w,t)?1:c?A(c,e)-A(c,t):0:4&l?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,l=0,i=e.parentNode,o=t.parentNode,r=[e],u=[t];if(!i||!o)return e==h?-1:t==h?1:i?-1:o?1:c?A(c,e)-A(c,t):0;if(i===o)return pe(e,t);for(n=e;n=n.parentNode;)r.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;r[l]===u[l];)l++;return l?pe(r[l],u[l]):r[l]==w?-1:u[l]==w?1:0},h):h},ue.matches=function(e,t){return ue(e,null,null,t)},ue.matchesSelector=function(e,t){if(p(e),n.matchesSelector&&g&&!O[t+" "]&&(!v||!v.test(t))&&(!m||!m.test(t)))try{var l=y.call(e,t);if(l||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return l}catch(Ee){O(t,!0)}return ue(t,h,null,[e]).length>0},ue.contains=function(e,t){return(e.ownerDocument||e)!=h&&p(e),b(e,t)},ue.attr=function(e,t){(e.ownerDocument||e)!=h&&p(e);var i=l.attrHandle[t.toLowerCase()],o=i&&D.call(l.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ue.escape=function(e){return(e+"").replace(le,ie)},ue.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ue.uniqueSort=function(e){var t,l=[],i=0,o=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(T),d){for(;t=e[o++];)t===e[o]&&(i=l.push(o));for(;i--;)e.splice(l[i],1)}return c=null,e},i=ue.getText=function(e){var t,n="",l=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[l++];)n+=i(t);return n},(l=ue.selectors={cacheLength:50,createPseudo:se,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ue.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ue.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=r(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|"+F+")"+e+"("+F+"|$)"))&&S(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(l){var i=ue.attr(l,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,l,i){var o="nth"!==e.slice(0,3),r="last"!==e.slice(-4),u="of-type"===t;return 1===l&&0===i?function(e){return!!e.parentNode}:function(t,n,a){var s,c,d,p,h,f,g=o!==r?"nextSibling":"previousSibling",m=t.parentNode,v=u&&t.nodeName.toLowerCase(),y=!a&&!u,b=!1;if(m){if(o){for(;g;){for(p=t;p=p[g];)if(u?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;f=g="only"===e&&!f&&"nextSibling"}return!0}if(f=[r?m.firstChild:m.lastChild],r&&y){for(b=(h=(s=(c=(d=(p=m)[C]||(p[C]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===_&&s[1])&&s[2],p=h&&m.childNodes[h];p=++h&&p&&p[g]||(b=h=0)||f.pop();)if(1===p.nodeType&&++b&&p===t){c[e]=[_,h,b];break}}else if(y&&(b=h=(s=(c=(d=(p=t)[C]||(p[C]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===_&&s[1]),!1===b)for(;(p=++h&&p&&p[g]||(b=h=0)||f.pop())&&((u?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++b||(y&&((c=(d=p[C]||(p[C]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[_,b]),p!==t)););return(b-=i)===l||b%l==0&&b/l>=0}}},PSEUDO:function(e,t){var n,i=l.pseudos[e]||l.setFilters[e.toLowerCase()]||ue.error("unsupported pseudo: "+e);return i[C]?i(t):i.length>1?(n=[e,e,"",t],l.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){for(var l,o=i(e,t),r=o.length;r--;)e[l=A(e,o[r])]=!(n[l]=o[r])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],l=u(e.replace(z,"$1"));return l[C]?se(function(e,t,n,i){for(var o,r=l(e,null,i,[]),u=e.length;u--;)(o=r[u])&&(e[u]=!(t[u]=o))}):function(e,i,o){return t[0]=e,l(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return ue(e,t).length>0}}),contains:se(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}}),lang:se(function(e){return q.test(e||"")||ue.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!l.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return Z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me(function(){return[0]}),last:me(function(e,t){return[t-1]}),eq:me(function(e,t,n){return[n<0?n+t:n]}),even:me(function(e,t){for(var n=0;nt?t:n;--l>=0;)e.push(l);return e}),gt:me(function(e,t,n){for(var l=n<0?n+t:n;++l1?function(t,n,l){for(var i=e.length;i--;)if(!e[i](t,n,l))return!1;return!0}:e[0]}function _e(e,t,n,l,i){for(var o,r=[],u=0,a=e.length,s=null!=t;u-1&&(o[s]=!(r[s]=d))}}else v=_e(v===r?v.splice(f,v.length):v),i?i(null,r,v,a):N.apply(r,v)})}function Se(e){for(var t,n,i,o=e.length,r=l.relative[e[0].type],u=r||l.relative[" "],a=r?1:0,c=Ce(function(e){return e===t},u,!0),d=Ce(function(e){return A(t,e)>-1},u,!0),p=[function(e,n,l){var i=!r&&(l||n!==s)||((t=n).nodeType?c(e,n,l):d(e,n,l));return t=null,i}];a1&&we(p),a>1&&be(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(z,"$1"),n,a0,i=e.length>0,o=function(o,r,u,a,c){var d,f,m,v=0,y="0",b=o&&[],C=[],w=s,x=o||i&&l.find.TAG("*",c),S=_+=null==w?1:Math.random()||.1,E=x.length;for(c&&(s=r==h||r||c);y!==E&&null!=(d=x[y]);y++){if(i&&d){for(f=0,r||d.ownerDocument==h||(p(d),u=!g);m=e[f++];)if(m(d,r||h,u)){a.push(d);break}c&&(_=S)}n&&((d=!m&&d)&&v--,o&&b.push(d))}if(v+=y,n&&y!==v){for(f=0;m=t[f++];)m(b,C,r,u);if(o){if(v>0)for(;y--;)b[y]||C[y]||(C[y]=k.call(a));C=_e(C)}N.apply(a,C),c&&!o&&C.length>0&&v+t.length>1&&ue.uniqueSort(a)}return c&&(_=S,s=w),b};return n?se(o):o}(o,i))).selector=e}return u},a=ue.select=function(e,t,n,i){var o,a,s,c,d,p="function"==typeof e&&e,h=!i&&r(e=p.selector||e);if(n=n||[],1===h.length){if((a=h[0]=h[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===t.nodeType&&g&&l.relative[a[1].type]){if(!(t=(l.find.ID(s.matches[0].replace(te,ne),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(o=K.needsContext.test(e)?0:a.length;o--&&!l.relative[c=(s=a[o]).type];)if((d=l.find[c])&&(i=d(s.matches[0].replace(te,ne),ee.test(a[0].type)&&ve(t.parentNode)||t))){if(a.splice(o,1),!(e=i.length&&be(a)))return N.apply(n,i),n;break}}return(p||u(e,h))(i,t,!g,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=C.split("").sort(T).join("")===C,n.detectDuplicates=!!d,p(),n.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))}),ce(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ce(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||de(P,function(e,t,n){var l;if(!n)return!0===e[t]?t.toLowerCase():(l=e.getAttributeNode(t))&&l.specified?l.value:null}),ue}(n);x.find=E,x.expr=E.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=E.uniqueSort,x.text=E.getText,x.isXMLDoc=E.isXML,x.contains=E.contains,x.escapeSelector=E.escape;var I=function(e,t,n){for(var l=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&x(e).is(n))break;l.push(e)}return l},O=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},T=x.expr.match.needsContext;function D(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var R=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function k(e,t,n){return v(t)?x.grep(e,function(e,l){return!!t.call(e,l,e)!==n}):t.nodeType?x.grep(e,function(e){return e===t!==n}):"string"!=typeof t?x.grep(e,function(e){return c.call(t,e)>-1!==n}):x.filter(t,e,n)}x.filter=function(e,t,n){var l=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===l.nodeType?x.find.matchesSelector(l,e)?[l]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},x.fn.extend({find:function(e){var t,n,l=this.length,i=this;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;t1?x.uniqueSort(n):n},filter:function(e){return this.pushStack(k(this,e||[],!1))},not:function(e){return this.pushStack(k(this,e||[],!0))},is:function(e){return!!k(this,"string"==typeof e&&T.test(e)?x(e):e||[],!1).length}});var M,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var l,i;if(!e)return this;if(n=n||M,"string"==typeof e){if(!(l="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:N.exec(e))||!l[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(l[1]){if(x.merge(this,x.parseHTML(l[1],(t=t instanceof x?t[0]:t)&&t.nodeType?t.ownerDocument||t:b,!0)),R.test(l[1])&&x.isPlainObject(t))for(l in t)v(this[l])?this[l](t[l]):this.attr(l,t[l]);return this}return(i=b.getElementById(l[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,M=x(b);var L=/^(?:parents|prev(?:Until|All))/,A={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&x.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?x.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?c.call(x(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return I(e,"parentNode")},parentsUntil:function(e,t,n){return I(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return I(e,"nextSibling")},prevAll:function(e){return I(e,"previousSibling")},nextUntil:function(e,t,n){return I(e,"nextSibling",n)},prevUntil:function(e,t,n){return I(e,"previousSibling",n)},siblings:function(e){return O((e.parentNode||{}).firstChild,e)},children:function(e){return O(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(D(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},function(e,t){x.fn[e]=function(n,l){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(l=n),l&&"string"==typeof l&&(i=x.filter(l,i)),this.length>1&&(A[e]||x.uniqueSort(i),L.test(e)&&i.reverse()),this.pushStack(i)}});var F=/[^\x20\t\r\n\f]+/g;function V(e){return e}function j(e){throw e}function H(e,t,n,l){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(l))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return x.each(e.match(F)||[],function(e,n){t[n]=!0}),t}(e):x.extend({},e);var t,n,l,i,o=[],r=[],u=-1,a=function(){for(i=i||e.once,l=t=!0;r.length;u=-1)for(n=r.shift();++u-1;)o.splice(n,1),n<=u&&u--}),this},has:function(e){return e?x.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=r=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=r=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],r.push(n),t||a()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!l}};return s},x.extend({Deferred:function(e){var t=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],l="pending",i={state:function(){return l},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,l){var i=v(e[l[4]])&&e[l[4]];o[l[1]](function(){var e=i&&i.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[l[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,l,i){var o=0;function r(e,t,l,i){return function(){var u=this,a=arguments,s=function(){var n,s;if(!(e=o&&(l!==j&&(u=void 0,a=[n]),t.rejectWith(u,a))}};e?c():(x.Deferred.getStackHook&&(c.stackTrace=x.Deferred.getStackHook()),n.setTimeout(c))}}return x.Deferred(function(n){t[0][3].add(r(0,n,v(i)?i:V,n.notifyWith)),t[1][3].add(r(0,n,v(e)?e:V)),t[2][3].add(r(0,n,v(l)?l:j))}).promise()},promise:function(e){return null!=e?x.extend(e,i):i}},o={};return x.each(t,function(e,n){var r=n[2],u=n[5];i[n[1]]=r.add,u&&r.add(function(){l=u},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),r.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=r.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,l=Array(n),i=u.call(arguments),o=x.Deferred(),r=function(e){return function(n){l[e]=this,i[e]=arguments.length>1?u.call(arguments):n,--t||o.resolveWith(l,i)}};if(t<=1&&(H(e,o.done(r(n)).resolve,o.reject,!t),"pending"===o.state()||v(i[n]&&i[n].then)))return o.then();for(;n--;)H(i[n],r(n),o.reject);return o.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&B.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){n.setTimeout(function(){throw e})};var z=x.Deferred();function U(){b.removeEventListener("DOMContentLoaded",U),n.removeEventListener("load",U),x.ready()}x.fn.ready=function(e){return z.then(e).catch(function(e){x.readyException(e)}),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||z.resolveWith(b,[x]))}}),x.ready.then=z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(x.ready):(b.addEventListener("DOMContentLoaded",U),n.addEventListener("load",U));var $=function(e,t,n,l,i,o,r){var u=0,a=e.length,s=null==n;if("object"===_(n))for(u in i=!0,n)$(e,t,u,n[u],!0,o,r);else if(void 0!==l&&(i=!0,v(l)||(r=!0),s&&(r?(t.call(e,l),t=null):(s=t,t=function(e,t,n){return s.call(x(e),n)})),t))for(;u1,null,!0)},removeData:function(e){return this.each(function(){X.remove(this,e)})}}),x.extend({queue:function(e,t,n){var l;if(e)return l=Q.get(e,t=(t||"fx")+"queue"),n&&(!l||Array.isArray(n)?l=Q.access(e,t,x.makeArray(n)):l.push(n)),l||[]},dequeue:function(e,t){var n=x.queue(e,t=t||"fx"),l=n.length,i=n.shift(),o=x._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),l--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){x.dequeue(e,t)},o)),!l&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:x.Callbacks("once memory").add(function(){Q.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,ve=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(fe=b.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),he.appendChild(fe),m.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="",m.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="",m.option=!!he.lastChild;var ye={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&D(e,t)?x.merge([e],n):n}function Ce(e,t){for(var n=0,l=e.length;n",""]);var we=/<|&#?\w+;/;function _e(e,t,n,l,i){for(var o,r,u,a,s,c,d=t.createDocumentFragment(),p=[],h=0,f=e.length;h-1)i&&i.push(o);else if(s=re(o),r=be(d.appendChild(o),"script"),s&&Ce(r),n)for(c=0;o=r[c++];)ve.test(o.type||"")&&n.push(o);return d}var xe=/^key/,Se=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function Ie(){return!0}function Oe(){return!1}function Te(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function De(e,t,n,l,i,o){var r,u;if("object"==typeof t){for(u in"string"!=typeof n&&(l=l||n,n=void 0),t)De(e,u,n,l,t[u],o);return e}if(null==l&&null==i?(i=n,l=n=void 0):null==i&&("string"==typeof n?(i=l,l=void 0):(i=l,l=n,n=void 0)),!1===i)i=Oe;else if(!i)return e;return 1===o&&(r=i,(i=function(e){return x().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=x.guid++)),e.each(function(){x.event.add(this,t,i,l,n)})}function Re(e,t,n){n?(Q.set(e,t,!1),x.event.add(e,t,{namespace:!1,handler:function(e){var l,i,o=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(x.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=u.call(arguments),Q.set(this,t,o),l=n(this,t),this[t](),o!==(i=Q.get(this,t))||l?Q.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i.value}else o.length&&(Q.set(this,t,{value:x.event.trigger(x.extend(o[0],x.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&x.event.add(e,t,Ie)}x.event={global:{},add:function(e,t,n,l,i){var o,r,u,a,s,c,d,p,h,f,g,m=Q.get(e);if(Y(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&x.find.matchesSelector(oe,i),n.guid||(n.guid=x.guid++),(a=m.events)||(a=m.events=Object.create(null)),(r=m.handle)||(r=m.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),s=(t=(t||"").match(F)||[""]).length;s--;)h=g=(u=Ee.exec(t[s])||[])[1],f=(u[2]||"").split(".").sort(),h&&(d=x.event.special[h]||{},d=x.event.special[h=(i?d.delegateType:d.bindType)||h]||{},c=x.extend({type:h,origType:g,data:l,handler:n,guid:n.guid,selector:i,needsContext:i&&x.expr.match.needsContext.test(i),namespace:f.join(".")},o),(p=a[h])||((p=a[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,l,f,r)||e.addEventListener&&e.addEventListener(h,r)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),x.event.global[h]=!0)},remove:function(e,t,n,l,i){var o,r,u,a,s,c,d,p,h,f,g,m=Q.hasData(e)&&Q.get(e);if(m&&(a=m.events)){for(s=(t=(t||"").match(F)||[""]).length;s--;)if(h=g=(u=Ee.exec(t[s])||[])[1],f=(u[2]||"").split(".").sort(),h){for(d=x.event.special[h]||{},p=a[h=(l?d.delegateType:d.bindType)||h]||[],u=u[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||u&&!u.test(c.namespace)||l&&l!==c.selector&&("**"!==l||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,d.remove&&d.remove.call(e,c));r&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,f,m.handle)||x.removeEvent(e,h,m.handle),delete a[h])}else for(h in a)x.event.remove(e,h+t[s],n,l,!0);x.isEmptyObject(a)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,l,i,o,r,u=new Array(arguments.length),a=x.event.fix(e),s=(Q.get(this,"events")||Object.create(null))[a.type]||[],c=x.event.special[a.type]||{};for(u[0]=a,t=1;t=1))for(;s!==this;s=s.parentNode||this)if(1===s.nodeType&&("click"!==e.type||!0!==s.disabled)){for(o=[],r={},n=0;n-1:x.find(i,this,null,[s]).length),r[i]&&o.push(l);o.length&&u.push({elem:s,handlers:o})}return s=this,a\s*$/g;function Le(e,t){return D(e,"table")&&D(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Ae(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Pe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,l,i,o,r,u;if(1===t.nodeType){if(Q.hasData(e)&&(u=Q.get(e).events))for(i in Q.remove(t,"handle events"),u)for(n=0,l=u[i].length;n1&&"string"==typeof f&&!m.checkClone&&Me.test(f))return e.each(function(i){var o=e.eq(i);g&&(t[0]=f.call(this,i,o.html())),Ve(o,t,n,l)});if(p&&(o=(i=_e(t,e[0].ownerDocument,!1,e,l)).firstChild,1===i.childNodes.length&&(i=o),o||l)){for(u=(r=x.map(be(i,"script"),Ae)).length;d0&&Ce(r,!d&&be(e,"script")),c},cleanData:function(e){for(var t,n,l,i=x.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[Q.expando]){if(t.events)for(l in t.events)i[l]?x.event.remove(n,l):x.removeEvent(n,l,t.handle);n[Q.expando]=void 0}n[X.expando]&&(n[X.expando]=void 0)}}}),x.fn.extend({detach:function(e){return je(this,e,!0)},remove:function(e){return je(this,e)},text:function(e){return $(this,function(e){return void 0===e?x.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Ve(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Ve(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ve(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ve(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,l=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ke.test(e)&&!ye[(me.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n3,oe.removeChild(e)),u}}))}();var We=["Webkit","Moz","ms"],qe=b.createElement("div").style,Ke={};function Ye(e){return x.cssProps[e]||Ke[e]||(e in qe?e:Ke[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=We.length;n--;)if((e=We[n]+t)in qe)return e}(e)||e)}var Ze=/^(none|table(?!-c[ea]).+)/,Qe=/^--/,Xe={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var l=le.exec(t);return l?Math.max(0,l[2]-(n||0))+(l[3]||"px"):t}function tt(e,t,n,l,i,o){var r="width"===t?1:0,u=0,a=0;if(n===(l?"border":"content"))return 0;for(;r<4;r+=2)"margin"===n&&(a+=x.css(e,n+ie[r],!0,i)),l?("content"===n&&(a-=x.css(e,"padding"+ie[r],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+ie[r]+"Width",!0,i))):(a+=x.css(e,"padding"+ie[r],!0,i),"padding"!==n?a+=x.css(e,"border"+ie[r]+"Width",!0,i):u+=x.css(e,"border"+ie[r]+"Width",!0,i));return!l&&o>=0&&(a+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-a-u-.5))||0),a}function nt(e,t,n){var l=Be(e),i=(!m.boxSizingReliable()||n)&&"border-box"===x.css(e,"boxSizing",!1,l),o=i,r=$e(e,t,l),u="offset"+t[0].toUpperCase()+t.slice(1);if(He.test(r)){if(!n)return r;r="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&D(e,"tr")||"auto"===r||!parseFloat(r)&&"inline"===x.css(e,"display",!1,l))&&e.getClientRects().length&&(i="border-box"===x.css(e,"boxSizing",!1,l),(o=u in e)&&(r=e[u])),(r=parseFloat(r)||0)+tt(e,t,n||(i?"border":"content"),o,l,r)+"px"}function lt(e,t,n,l,i){return new lt.prototype.init(e,t,n,l,i)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=$e(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,l){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,r,u=K(t),a=Qe.test(t),s=e.style;if(a||(t=Ye(u)),r=x.cssHooks[t]||x.cssHooks[u],void 0===n)return r&&"get"in r&&void 0!==(i=r.get(e,!1,l))?i:s[t];"string"==(o=typeof n)&&(i=le.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||a||(n+=i&&i[3]||(x.cssNumber[u]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(s[t]="inherit"),r&&"set"in r&&void 0===(n=r.set(e,n,l))||(a?s.setProperty(t,n):s[t]=n))}},css:function(e,t,n,l){var i,o,r,u=K(t);return Qe.test(t)||(t=Ye(u)),(r=x.cssHooks[t]||x.cssHooks[u])&&"get"in r&&(i=r.get(e,!0,n)),void 0===i&&(i=$e(e,t,l)),"normal"===i&&t in Je&&(i=Je[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),x.each(["height","width"],function(e,t){x.cssHooks[t]={get:function(e,n,l){if(n)return!Ze.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,l):ze(e,Xe,function(){return nt(e,t,l)})},set:function(e,n,l){var i,o=Be(e),r=!m.scrollboxSize()&&"absolute"===o.position,u=(r||l)&&"border-box"===x.css(e,"boxSizing",!1,o),a=l?tt(e,t,l,u,o):0;return u&&r&&(a-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-tt(e,t,"border",!1,o)-.5)),a&&(i=le.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),et(0,n,a)}}}),x.cssHooks.marginLeft=Ge(m.reliableMarginLeft,function(e,t){if(t)return(parseFloat($e(e,"marginLeft"))||e.getBoundingClientRect().left-ze(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){for(var l=0,i={},o="string"==typeof n?n.split(" "):[n];l<4;l++)i[e+ie[l]+t]=o[l]||o[l-2]||o[0];return i}},"margin"!==e&&(x.cssHooks[e+t].set=et)}),x.fn.extend({css:function(e,t){return $(this,function(e,t,n){var l,i,o={},r=0;if(Array.isArray(t)){for(l=Be(e),i=t.length;r1)}}),x.Tween=lt,(lt.prototype={constructor:lt,init:function(e,t,n,l,i,o){this.elem=e,this.prop=n,this.easing=i||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=l,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=lt.propHooks[this.prop];return e&&e.get?e.get(this):lt.propHooks._default.get(this)},run:function(e){var t,n=lt.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):lt.propHooks._default.set(this),this}}).init.prototype=lt.prototype,(lt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[Ye(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=lt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=lt.prototype.init,x.fx.step={};var it,ot,rt=/^(?:toggle|show|hide)$/,ut=/queueHooks$/;function at(){ot&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(at):n.setTimeout(at,x.fx.interval),x.fx.tick())}function st(){return n.setTimeout(function(){it=void 0}),it=Date.now()}function ct(e,t){var n,l=0,i={height:e};for(t=t?1:0;l<4;l+=2-t)i["margin"+(n=ie[l])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function dt(e,t,n){for(var l,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,r=i.length;o1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})}}),x.extend({attr:function(e,t,n){var l,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?x.prop(e,t,n):(1===o&&x.isXMLDoc(e)||(i=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):i&&"set"in i&&void 0!==(l=i.set(e,n,t))?l:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(l=i.get(e,t))?l:null==(l=x.find.attr(e,t))?void 0:l)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&D(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,l=0,i=t&&t.match(F);if(i&&1===e.nodeType)for(;n=i[l++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ft[t]||x.find.attr;ft[t]=function(e,t,l){var i,o,r=t.toLowerCase();return l||(o=ft[r],ft[r]=i,i=null!=n(e,t,l)?r:null,ft[r]=o),i}});var gt=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function vt(e){return(e.match(F)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(F)||[]}x.fn.extend({prop:function(e,t){return $(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})}}),x.extend({prop:function(e,t,n){var l,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&x.isXMLDoc(e)||(i=x.propHooks[t=x.propFix[t]||t]),void 0!==n?i&&"set"in i&&void 0!==(l=i.set(e,n,t))?l:e[t]=n:i&&"get"in i&&null!==(l=i.get(e,t))?l:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(x.propHooks.selected={get:function(e){return null},set:function(e){}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.fn.extend({addClass:function(e){var t,n,l,i,o,r,u,a=0;if(v(e))return this.each(function(t){x(this).addClass(e.call(this,t,yt(this)))});if((t=bt(e)).length)for(;n=this[a++];)if(i=yt(n),l=1===n.nodeType&&" "+vt(i)+" "){for(r=0;o=t[r++];)l.indexOf(" "+o+" ")<0&&(l+=o+" ");i!==(u=vt(l))&&n.setAttribute("class",u)}return this},removeClass:function(e){var t,n,l,i,o,r,u,a=0;if(v(e))return this.each(function(t){x(this).removeClass(e.call(this,t,yt(this)))});if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[a++];)if(i=yt(n),l=1===n.nodeType&&" "+vt(i)+" "){for(r=0;o=t[r++];)for(;l.indexOf(" "+o+" ")>-1;)l=l.replace(" "+o+" "," ");i!==(u=vt(l))&&n.setAttribute("class",u)}return this},toggleClass:function(e,t){var n=typeof e,l="string"===n||Array.isArray(e);return"boolean"==typeof t&&l?t?this.addClass(e):this.removeClass(e):v(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,yt(this),t),t)}):this.each(function(){var t,i,o,r;if(l)for(i=0,o=x(this),r=bt(e);t=r[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))})},hasClass:function(e){var t,n,l=0;for(t=" "+e+" ";n=this[l++];)if(1===n.nodeType&&(" "+vt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var Ct=/\r/g;x.fn.extend({val:function(e){var t,n,l,i=this[0];return arguments.length?(l=v(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=l?e.call(this,n,x(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=x.map(i,function(e){return null==e?"":e+""})),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=x.valHooks[i.type]||x.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Ct,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:vt(x.text(e))}},select:{get:function(e){var t,n,l,i=e.options,o=e.selectedIndex,r="select-one"===e.type,u=r?null:[],a=r?o+1:i.length;for(l=o<0?a:r?o:0;l-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},m.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),m.focusin="onfocusin"in n;var wt=/^(?:focusinfocus|focusoutblur)$/,_t=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(e,t,l,i){var o,r,u,a,s,c,d,p,f=[l||b],g=h.call(e,"type")?e.type:e,m=h.call(e,"namespace")?e.namespace.split("."):[];if(r=p=u=l=l||b,3!==l.nodeType&&8!==l.nodeType&&!wt.test(g+x.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),s=g.indexOf(":")<0&&"on"+g,(e=e[x.expando]?e:new x.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=l),t=null==t?[e]:x.makeArray(t,[e]),d=x.event.special[g]||{},i||!d.trigger||!1!==d.trigger.apply(l,t))){if(!i&&!d.noBubble&&!y(l)){for(wt.test((a=d.delegateType||g)+g)||(r=r.parentNode);r;r=r.parentNode)f.push(r),u=r;u===(l.ownerDocument||b)&&f.push(u.defaultView||u.parentWindow||n)}for(o=0;(r=f[o++])&&!e.isPropagationStopped();)p=r,e.type=o>1?a:d.bindType||g,(c=(Q.get(r,"events")||Object.create(null))[e.type]&&Q.get(r,"handle"))&&c.apply(r,t),(c=s&&r[s])&&c.apply&&Y(r)&&(e.result=c.apply(r,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),t)||!Y(l)||s&&v(l[g])&&!y(l)&&((u=l[s])&&(l[s]=null),x.event.triggered=g,e.isPropagationStopped()&&p.addEventListener(g,_t),l[g](),e.isPropagationStopped()&&p.removeEventListener(g,_t),x.event.triggered=void 0,u&&(l[s]=u)),e.result}},simulate:function(e,t,n){var l=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(l,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),m.focusin||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.event.special[t]={setup:function(){var l=this.ownerDocument||this.document||this,i=Q.access(l,t);i||l.addEventListener(e,n,!0),Q.access(l,t,(i||0)+1)},teardown:function(){var l=this.ownerDocument||this.document||this,i=Q.access(l,t)-1;i?Q.access(l,t,i):(l.removeEventListener(e,n,!0),Q.remove(l,t))}}});var xt=n.location,St={guid:Date.now()},Et=/\?/;x.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(l){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+e),t};var It=/\[\]$/,Ot=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;function Rt(e,t,n,l){var i;if(Array.isArray(t))x.each(t,function(t,i){n||It.test(e)?l(e,i):Rt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,l)});else if(n||"object"!==_(t))l(e,t);else for(i in t)Rt(e+"["+i+"]",t[i],n,l)}x.param=function(e,t){var n,l=[],i=function(e,t){var n=v(t)?t():t;l[l.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){i(this.name,this.value)});else for(n in e)Rt(n,e[n],t,i);return l.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&Dt.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!ge.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(Ot,"\r\n")}}):{name:t.name,value:n.replace(Ot,"\r\n")}}).get()}});var kt=/%20/g,Mt=/#.*$/,Nt=/([?&])_=[^&]*/,Lt=/^(.*?):[ \t]*([^\r\n]*)$/gm,At=/^(?:GET|HEAD)$/,Pt=/^\/\//,Ft={},Vt={},jt="*/".concat("*"),Ht=b.createElement("a");function Bt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var l,i=0,o=t.toLowerCase().match(F)||[];if(v(n))for(;l=o[i++];)"+"===l[0]?(l=l.slice(1)||"*",(e[l]=e[l]||[]).unshift(n)):(e[l]=e[l]||[]).push(n)}}function zt(e,t,n,l){var i={},o=e===Vt;function r(u){var a;return i[u]=!0,x.each(e[u]||[],function(e,u){var s=u(t,n,l);return"string"!=typeof s||o||i[s]?o?!(a=s):void 0:(t.dataTypes.unshift(s),r(s),!1)}),a}return r(t.dataTypes[0])||!i["*"]&&r("*")}function Ut(e,t){var n,l,i=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:l||(l={}))[n]=t[n]);return l&&x.extend(!0,e,l),e}Ht.href=xt.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":jt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,x.ajaxSettings),t):Ut(x.ajaxSettings,e)},ajaxPrefilter:Bt(Ft),ajaxTransport:Bt(Vt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var l,i,o,r,u,a,s,c,d,p,h=x.ajaxSetup({},t=t||{}),f=h.context||h,g=h.context&&(f.nodeType||f.jquery)?x(f):x.event,m=x.Deferred(),v=x.Callbacks("once memory"),y=h.statusCode||{},C={},w={},_="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(s){if(!r)for(r={};t=Lt.exec(o);)r[t[1].toLowerCase()+" "]=(r[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=r[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return s?o:null},setRequestHeader:function(e,t){return null==s&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,C[e]=t),this},overrideMimeType:function(e){return null==s&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(s)S.always(e[S.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||_;return l&&l.abort(t),E(0,t),this}};if(m.promise(S),h.url=((e||h.url||xt.href)+"").replace(Pt,xt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(F)||[""],null==h.crossDomain){a=b.createElement("a");try{a.href=h.url,a.href=a.href,h.crossDomain=Ht.protocol+"//"+Ht.host!=a.protocol+"//"+a.host}catch(I){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=x.param(h.data,h.traditional)),zt(Ft,h,t,S),s)return S;for(d in(c=x.event&&h.global)&&0==x.active++&&x.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!At.test(h.type),i=h.url.replace(Mt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(kt,"+")):(p=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(Et.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Nt,"$1"),p=(Et.test(i)?"&":"?")+"_="+St.guid+++p),h.url=i+p),h.ifModified&&(x.lastModified[i]&&S.setRequestHeader("If-Modified-Since",x.lastModified[i]),x.etag[i]&&S.setRequestHeader("If-None-Match",x.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&S.setRequestHeader("Content-Type",h.contentType),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+jt+"; q=0.01":""):h.accepts["*"]),h.headers)S.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(f,S,h)||s))return S.abort();if(_="abort",v.add(h.complete),S.done(h.success),S.fail(h.error),l=zt(Vt,h,t,S)){if(S.readyState=1,c&&g.trigger("ajaxSend",[S,h]),s)return S;h.async&&h.timeout>0&&(u=n.setTimeout(function(){S.abort("timeout")},h.timeout));try{s=!1,l.send(C,E)}catch(I){if(s)throw I;E(-1,I)}}else E(-1,"No Transport");function E(e,t,r,a){var d,p,b,C,w,_=t;s||(s=!0,u&&n.clearTimeout(u),l=void 0,o=a||"",S.readyState=e>0?4:0,d=e>=200&&e<300||304===e,r&&(C=function(e,t,n){for(var l,i,o,r,u=e.contents,a=e.dataTypes;"*"===a[0];)a.shift(),void 0===l&&(l=e.mimeType||t.getResponseHeader("Content-Type"));if(l)for(i in u)if(u[i]&&u[i].test(l)){a.unshift(i);break}if(a[0]in n)o=a[0];else{for(i in n){if(!a[0]||e.converters[i+" "+a[0]]){o=i;break}r||(r=i)}o=o||r}if(o)return o!==a[0]&&a.unshift(o),n[o]}(h,S,r)),!d&&x.inArray("script",h.dataTypes)>-1&&(h.converters["text script"]=function(){}),C=function(e,t,n,l){var i,o,r,u,a,s={},c=e.dataTypes.slice();if(c[1])for(r in e.converters)s[r.toLowerCase()]=e.converters[r];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!a&&l&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a=o,o=c.shift())if("*"===o)o=a;else if("*"!==a&&a!==o){if(!(r=s[a+" "+o]||s["* "+o]))for(i in s)if((u=i.split(" "))[1]===o&&(r=s[a+" "+u[0]]||s["* "+u[0]])){!0===r?r=s[i]:!0!==s[i]&&(o=u[0],c.unshift(u[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(I){return{state:"parsererror",error:r?I:"No conversion from "+a+" to "+o}}}return{state:"success",data:t}}(h,C,S,d),d?(h.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(x.lastModified[i]=w),(w=S.getResponseHeader("etag"))&&(x.etag[i]=w)),204===e||"HEAD"===h.type?_="nocontent":304===e?_="notmodified":(_=C.state,p=C.data,d=!(b=C.error))):(b=_,!e&&_||(_="error",e<0&&(e=0))),S.status=e,S.statusText=(t||_)+"",d?m.resolveWith(f,[p,_,S]):m.rejectWith(f,[S,_,b]),S.statusCode(y),y=void 0,c&&g.trigger(d?"ajaxSuccess":"ajaxError",[S,h,d?p:b]),v.fireWith(f,[S,_]),c&&(g.trigger("ajaxComplete",[S,h]),--x.active||x.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],function(e,t){x[t]=function(e,n,l,i){return v(n)&&(i=i||l,l=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:i,data:n,success:l},x.isPlainObject(e)&&e))}}),x.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),x._evalUrl=function(e,t,n){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,n)}})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return v(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var $t={0:200,1223:204},Gt=x.ajaxSettings.xhr();m.cors=!!Gt&&"withCredentials"in Gt,m.ajax=Gt=!!Gt,x.ajaxTransport(function(e){var t,l;if(m.cors||Gt&&!e.crossDomain)return{send:function(i,o){var r,u=e.xhr();if(u.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(r in e.xhrFields)u[r]=e.xhrFields[r];for(r in e.mimeType&&u.overrideMimeType&&u.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)u.setRequestHeader(r,i[r]);t=function(e){return function(){t&&(t=l=u.onload=u.onerror=u.onabort=u.ontimeout=u.onreadystatechange=null,"abort"===e?u.abort():"error"===e?"number"!=typeof u.status?o(0,"error"):o(u.status,u.statusText):o($t[u.status]||u.status,u.statusText,"text"!==(u.responseType||"text")||"string"!=typeof u.responseText?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}},u.onload=t(),l=u.onerror=u.ontimeout=t("error"),void 0!==u.onabort?u.onabort=l:u.onreadystatechange=function(){4===u.readyState&&n.setTimeout(function(){t&&l()})},t=t("abort");try{u.send(e.hasContent&&e.data||null)}catch(a){if(t)throw a}},abort:function(){t&&t()}}}),x.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),x.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(l,i){t=x(" + diff --git a/modules/admin/webif/static/main.37f60420aef7bed9011e.js b/modules/admin/webif/static/main.866b2cb95a0aef5453fe.js similarity index 85% rename from modules/admin/webif/static/main.37f60420aef7bed9011e.js rename to modules/admin/webif/static/main.866b2cb95a0aef5453fe.js index 6660d5691f..721fa10b88 100644 --- a/modules/admin/webif/static/main.37f60420aef7bed9011e.js +++ b/modules/admin/webif/static/main.866b2cb95a0aef5453fe.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+dQi":function(e,t,n){!function(e){"use strict";e.defineMode("javascript",function(t,n){var l,i,o=t.indentUnit,r=n.statementIndent,u=n.jsonld,a=n.json||u,s=n.typescript,c=n.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),l=e("keyword c"),i=e("keyword d"),o=e("operator"),r={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:i,break:i,continue:i,new:e("new"),delete:l,void:l,throw:l,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:r,false:r,null:r,undefined:r,NaN:r,Infinity:r,this:e("this"),class:e("class"),super:e("atom"),yield:l,export:e("export"),import:e("import"),extends:l,await:l}}(),p=/[+\-*&%=<>!?|~^@]/,h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function f(e,t,n){return l=e,i=n,t}function g(e,t){var n,l=e.next();if('"'==l||"'"==l)return t.tokenize=(n=l,function(e,t){var l,i=!1;if(u&&"@"==e.peek()&&e.match(h))return t.tokenize=g,f("jsonld-keyword","meta");for(;null!=(l=e.next())&&(l!=n||i);)i=!i&&"\\"==l;return i||(t.tokenize=g),f("string","string")}),t.tokenize(e,t);if("."==l&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return f("number","number");if("."==l&&e.match(".."))return f("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(l))return f(l);if("="==l&&e.eat(">"))return f("=>","operator");if("0"==l&&e.match(/^(?:x[\da-f]+|o[0-7]+|b[01]+)n?/i))return f("number","number");if(/\d/.test(l))return e.match(/^\d*(?:n|(?:\.\d*)?(?:[eE][+\-]?\d+)?)?/),f("number","number");if("/"==l)return e.eat("*")?(t.tokenize=m,m(e,t)):e.eat("/")?(e.skipToEnd(),f("comment","comment")):Ye(e,t,1)?(function(e){for(var t,n=!1,l=!1;null!=(t=e.next());){if(!n){if("/"==t&&!l)return;"["==t?l=!0:l&&"]"==t&&(l=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),f("regexp","string-2")):(e.eat("="),f("operator","operator",e.current()));if("`"==l)return t.tokenize=v,v(e,t);if("#"==l)return e.skipToEnd(),f("error","error");if(p.test(l))return">"==l&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=l&&"="!=l||e.eat("="):/[<>*+\-]/.test(l)&&(e.eat(l),">"==l&&e.eat(l))),f("operator","operator",e.current());if(c.test(l)){e.eatWhile(c);var i=e.current();if("."!=t.lastType){if(d.propertyIsEnumerable(i)){var o=d[i];return f(o.type,o.style,i)}if("async"==i&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return f("async","keyword",i)}return f("variable","variable",i)}}function m(e,t){for(var n,l=!1;n=e.next();){if("/"==n&&l){t.tokenize=g;break}l="*"==n}return f("comment","comment")}function v(e,t){for(var n,l=!1;null!=(n=e.next());){if(!l&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=g;break}l=!l&&"\\"==n}return f("quasi","string-2",e.current())}var y="([{}])";function b(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(s){var l=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));l&&(n=l.index)}for(var i=0,o=!1,r=n-1;r>=0;--r){var u=e.string.charAt(r),a=y.indexOf(u);if(a>=0&&a<3){if(!i){++r;break}if(0==--i){"("==u&&(o=!0);break}}else if(a>=3&&a<6)++i;else if(c.test(u))o=!0;else{if(/["'\/]/.test(u))return;if(o&&!i){++r;break}}}o&&!i&&(t.fatArrowAt=r)}}var C={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function w(e,t,n,l,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=l&&(this.align=l)}function _(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var l=e.context;l;l=l.prev)for(n=l.vars;n;n=n.next)if(n.name==t)return!0}var x={state:null,column:null,marked:null,cc:null};function S(){for(var e=arguments.length-1;e>=0;e--)x.cc.push(arguments[e])}function E(){return S.apply(null,arguments),!0}function I(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function O(e){var t=x.state;if(x.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var l=function e(t,n){if(n){if(n.block){var l=e(t,n.prev);return l?l==n.prev?n:new D(l,n.vars,!0):null}return I(t,n.vars)?n:new D(n.prev,new R(t,n.vars),!1)}return null}(e,t.context);if(null!=l)return void(t.context=l)}else if(!I(e,t.localVars))return void(t.localVars=new R(e,t.localVars));n.globalVars&&!I(e,t.globalVars)&&(t.globalVars=new R(e,t.globalVars))}function T(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function D(e,t,n){this.prev=e,this.vars=t,this.block=n}function R(e,t){this.name=e,this.next=t}var k=new R("this",new R("arguments",null));function N(){x.state.context=new D(x.state.context,x.state.localVars,!1),x.state.localVars=k}function M(){x.state.context=new D(x.state.context,x.state.localVars,!0),x.state.localVars=null}function L(){x.state.localVars=x.state.context.vars,x.state.context=x.state.context.prev}function A(e,t){var n=function(){var n=x.state,l=n.indented;if("stat"==n.lexical.type)l=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)l=i.indented;n.lexical=new w(l,x.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function P(){var e=x.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function F(e){return function t(n){return n==e?E():";"==e||"}"==n||")"==n||"]"==n?S():E(t)}}function V(e,t){return"var"==e?E(A("vardef",t),ye,F(";"),P):"keyword a"==e?E(A("form"),z,V,P):"keyword b"==e?E(A("form"),V,P):"keyword d"==e?x.stream.match(/^\s*$/,!1)?E():E(A("stat"),$,F(";"),P):"debugger"==e?E(F(";")):"{"==e?E(A("}"),M,re,P,L):";"==e?E():"if"==e?("else"==x.state.lexical.info&&x.state.cc[x.state.cc.length-1]==P&&x.state.cc.pop()(),E(A("form"),z,V,P,Se)):"function"==e?E(Re):"for"==e?E(A("form"),Ee,V,P):"class"==e||s&&"interface"==t?(x.marked="keyword",E(A("form","class"==e?e:t),Ae,P)):"variable"==e?s&&"declare"==t?(x.marked="keyword",E(V)):s&&("module"==t||"enum"==t||"type"==t)&&x.stream.match(/^\s*\w/,!1)?(x.marked="keyword","enum"==t?E(qe):"type"==t?E(Ne,F("operator"),ce,F(";")):E(A("form"),be,F("{"),A("}"),re,P,P)):s&&"namespace"==t?(x.marked="keyword",E(A("form"),H,V,P)):s&&"abstract"==t?(x.marked="keyword",E(V)):E(A("stat"),J):"switch"==e?E(A("form"),z,F("{"),A("}","switch"),M,re,P,P,L):"case"==e?E(H,F(":")):"default"==e?E(F(":")):"catch"==e?E(A("form"),N,j,V,P,L):"export"==e?E(A("stat"),je,P):"import"==e?E(A("stat"),Be,P):"async"==e?E(V):"@"==t?E(H,V):S(A("stat"),H,F(";"),P)}function j(e){if("("==e)return E(Me,F(")"))}function H(e,t){return U(e,t,!1)}function B(e,t){return U(e,t,!0)}function z(e){return"("!=e?S():E(A(")"),H,F(")"),P)}function U(e,t,n){if(x.state.fatArrowAt==x.stream.start){var l=n?Z:Y;if("("==e)return E(N,A(")"),ie(Me,")"),P,F("=>"),l,L);if("variable"==e)return S(N,be,F("=>"),l,L)}var i=n?W:G;return C.hasOwnProperty(e)?E(i):"function"==e?E(Re,i):"class"==e||s&&"interface"==t?(x.marked="keyword",E(A("form"),Le,P)):"keyword c"==e||"async"==e?E(n?B:H):"("==e?E(A(")"),$,F(")"),P,i):"operator"==e||"spread"==e?E(n?B:H):"["==e?E(A("]"),We,P,i):"{"==e?oe(te,"}",null,i):"quasi"==e?S(q,i):"new"==e?E(function(e){return function(t){return"."==t?E(e?X:Q):"variable"==t&&s?E(ge,e?W:G):S(e?B:H)}}(n)):"import"==e?E(H):E()}function $(e){return e.match(/[;\}\)\],]/)?S():S(H)}function G(e,t){return","==e?E(H):W(e,t,!1)}function W(e,t,n){var l=0==n?G:W,i=0==n?H:B;return"=>"==e?E(N,n?Z:Y,L):"operator"==e?/\+\+|--/.test(t)||s&&"!"==t?E(l):s&&"<"==t&&x.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?E(A(">"),ie(ce,">"),P,l):"?"==t?E(H,F(":"),i):E(i):"quasi"==e?S(q,l):";"!=e?"("==e?oe(B,")","call",l):"."==e?E(ee,l):"["==e?E(A("]"),$,F("]"),P,l):s&&"as"==t?(x.marked="keyword",E(ce,l)):"regexp"==e?(x.state.lastType=x.marked="operator",x.stream.backUp(x.stream.pos-x.stream.start-1),E(i)):void 0:void 0}function q(e,t){return"quasi"!=e?S():"${"!=t.slice(t.length-2)?E(q):E(H,K)}function K(e){if("}"==e)return x.marked="string-2",x.state.tokenize=v,E(q)}function Y(e){return b(x.stream,x.state),S("{"==e?V:H)}function Z(e){return b(x.stream,x.state),S("{"==e?V:B)}function Q(e,t){if("target"==t)return x.marked="keyword",E(G)}function X(e,t){if("target"==t)return x.marked="keyword",E(W)}function J(e){return":"==e?E(P,V):S(G,F(";"),P)}function ee(e){if("variable"==e)return x.marked="property",E()}function te(e,t){return"async"==e?(x.marked="property",E(te)):"variable"==e||"keyword"==x.style?(x.marked="property","get"==t||"set"==t?E(ne):(s&&x.state.fatArrowAt==x.stream.start&&(n=x.stream.match(/^\s*:\s*/,!1))&&(x.state.fatArrowAt=x.stream.pos+n[0].length),E(le))):"number"==e||"string"==e?(x.marked=u?"property":x.style+" property",E(le)):"jsonld-keyword"==e?E(le):s&&T(t)?(x.marked="keyword",E(te)):"["==e?E(H,ue,F("]"),le):"spread"==e?E(B,le):"*"==t?(x.marked="keyword",E(te)):":"==e?S(le):void 0;var n}function ne(e){return"variable"!=e?S(le):(x.marked="property",E(Re))}function le(e){return":"==e?E(B):"("==e?S(Re):void 0}function ie(e,t,n){function l(i,o){if(n?n.indexOf(i)>-1:","==i){var r=x.state.lexical;return"call"==r.info&&(r.pos=(r.pos||0)+1),E(function(n,l){return n==t||l==t?S():S(e)},l)}return i==t||o==t?E():n&&n.indexOf(";")>-1?S(e):E(F(t))}return function(n,i){return n==t||i==t?E():S(e,l)}}function oe(e,t,n){for(var l=3;l"),ce):void 0}function de(e){if("=>"==e)return E(ce)}function pe(e,t){return"variable"==e||"keyword"==x.style?(x.marked="property",E(pe)):"?"==t||"number"==e||"string"==e?E(pe):":"==e?E(ce):"["==e?E(F("variable"),ue,F("]"),pe):"("==e?S(ke,pe):void 0}function he(e,t){return"variable"==e&&x.stream.match(/^\s*[?:]/,!1)||"?"==t?E(he):":"==e?E(ce):"spread"==e?E(he):S(ce)}function fe(e,t){return"<"==t?E(A(">"),ie(ce,">"),P,fe):"|"==t||"."==e||"&"==t?E(ce):"["==e?E(ce,F("]"),fe):"extends"==t||"implements"==t?(x.marked="keyword",E(ce)):"?"==t?E(ce,F(":"),ce):void 0}function ge(e,t){if("<"==t)return E(A(">"),ie(ce,">"),P,fe)}function me(){return S(ce,ve)}function ve(e,t){if("="==t)return E(ce)}function ye(e,t){return"enum"==t?(x.marked="keyword",E(qe)):S(be,ue,_e,xe)}function be(e,t){return s&&T(t)?(x.marked="keyword",E(be)):"variable"==e?(O(t),E()):"spread"==e?E(be):"["==e?oe(we,"]"):"{"==e?oe(Ce,"}"):void 0}function Ce(e,t){return"variable"!=e||x.stream.match(/^\s*:/,!1)?("variable"==e&&(x.marked="property"),"spread"==e?E(be):"}"==e?S():"["==e?E(H,F("]"),F(":"),Ce):E(F(":"),be,_e)):(O(t),E(_e))}function we(){return S(be,_e)}function _e(e,t){if("="==t)return E(B)}function xe(e){if(","==e)return E(ye)}function Se(e,t){if("keyword b"==e&&"else"==t)return E(A("form","else"),V,P)}function Ee(e,t){return"await"==t?E(Ee):"("==e?E(A(")"),Ie,F(")"),P):void 0}function Ie(e){return"var"==e?E(ye,F(";"),Te):";"==e?E(Te):"variable"==e?E(Oe):S(H,F(";"),Te)}function Oe(e,t){return"in"==t||"of"==t?(x.marked="keyword",E(H)):E(G,Te)}function Te(e,t){return";"==e?E(De):"in"==t||"of"==t?(x.marked="keyword",E(H)):S(H,F(";"),De)}function De(e){")"!=e&&E(H)}function Re(e,t){return"*"==t?(x.marked="keyword",E(Re)):"variable"==e?(O(t),E(Re)):"("==e?E(N,A(")"),ie(Me,")"),P,ae,V,L):s&&"<"==t?E(A(">"),ie(me,">"),P,Re):void 0}function ke(e,t){return"*"==t?(x.marked="keyword",E(ke)):"variable"==e?(O(t),E(ke)):"("==e?E(N,A(")"),ie(Me,")"),P,ae,L):s&&"<"==t?E(A(">"),ie(me,">"),P,ke):void 0}function Ne(e,t){return"keyword"==e||"variable"==e?(x.marked="type",E(Ne)):"<"==t?E(A(">"),ie(me,">"),P):void 0}function Me(e,t){return"@"==t&&E(H,Me),"spread"==e?E(Me):s&&T(t)?(x.marked="keyword",E(Me)):S(be,ue,_e)}function Le(e,t){return"variable"==e?Ae(e,t):Pe(e,t)}function Ae(e,t){if("variable"==e)return O(t),E(Pe)}function Pe(e,t){return"<"==t?E(A(">"),ie(me,">"),P,Pe):"extends"==t||"implements"==t||s&&","==e?("implements"==t&&(x.marked="keyword"),E(s?ce:H,Pe)):"{"==e?E(A("}"),Fe,P):void 0}function Fe(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||s&&T(t))&&x.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(x.marked="keyword",E(Fe)):"variable"==e||"keyword"==x.style?(x.marked="property",E(s?Ve:Re,Fe)):"number"==e||"string"==e?E(s?Ve:Re,Fe):"["==e?E(H,ue,F("]"),s?Ve:Re,Fe):"*"==t?(x.marked="keyword",E(Fe)):s&&"("==e?S(ke,Fe):";"==e||","==e?E(Fe):"}"==e?E():"@"==t?E(H,Fe):void 0}function Ve(e,t){if("?"==t)return E(Ve);if(":"==e)return E(ce,_e);if("="==t)return E(B);var n=x.state.lexical.prev;return S(n&&"interface"==n.info?ke:Re)}function je(e,t){return"*"==t?(x.marked="keyword",E(Ge,F(";"))):"default"==t?(x.marked="keyword",E(H,F(";"))):"{"==e?E(ie(He,"}"),Ge,F(";")):S(V)}function He(e,t){return"as"==t?(x.marked="keyword",E(F("variable"))):"variable"==e?S(B,He):void 0}function Be(e){return"string"==e?E():"("==e?S(H):S(ze,Ue,Ge)}function ze(e,t){return"{"==e?oe(ze,"}"):("variable"==e&&O(t),"*"==t&&(x.marked="keyword"),E($e))}function Ue(e){if(","==e)return E(ze,Ue)}function $e(e,t){if("as"==t)return x.marked="keyword",E(ze)}function Ge(e,t){if("from"==t)return x.marked="keyword",E(H)}function We(e){return"]"==e?E():S(ie(B,"]"))}function qe(){return S(A("form"),be,F("{"),A("}"),ie(Ke,"}"),P,P)}function Ke(){return S(be,_e)}function Ye(e,t,n){return t.tokenize==g&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return L.lex=!0,P.lex=!0,{startState:function(e){var t={tokenize:g,lastType:"sof",cc:[],lexical:new w((e||0)-o,0,"block",!1),localVars:n.localVars,context:n.localVars&&new D(null,null,!1),indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),b(e,t)),t.tokenize!=m&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==l?n:(t.lastType="operator"!=l||"++"!=i&&"--"!=i?l:"incdec",function(e,t,n,l,i){var o=e.cc;for(x.state=e,x.stream=i,x.marked=null,x.cc=o,x.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((o.length?o.pop():a?H:V)(n,l)){for(;o.length&&o[o.length-1].lex;)o.pop()();return x.marked?x.marked:"variable"==n&&_(e,l)?"variable-2":t}}(t,n,l,i,e))},indent:function(t,l){if(t.tokenize==m)return e.Pass;if(t.tokenize!=g)return 0;var i,u=l&&l.charAt(0),a=t.lexical;if(!/^\s*else\b/.test(l))for(var s=t.cc.length-1;s>=0;--s){var c=t.cc[s];if(c==P)a=a.prev;else if(c!=Se)break}for(;("stat"==a.type||"form"==a.type)&&("}"==u||(i=t.cc[t.cc.length-1])&&(i==G||i==W)&&!/^[,\.=+\-*:?[\(]/.test(l));)a=a.prev;r&&")"==a.type&&"stat"==a.prev.type&&(a=a.prev);var d=a.type,h=u==d;return"vardef"==d?a.indented+("operator"==t.lastType||","==t.lastType?a.info.length+1:0):"form"==d&&"{"==u?a.indented:"form"==d?a.indented+o:"stat"==d?a.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||p.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,l)?r||o:0):"switch"!=a.info||h||0==n.doubleIndentSwitch?a.align?a.column+(h?0:1):a.indented+(h?0:o):a.indented+(/^(?:case|default)\b/.test(l)?o:2*o)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:a?null:"/*",blockCommentEnd:a?null:"*/",blockCommentContinue:a?null:" * ",lineComment:a?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:a?"json":"javascript",jsonldMode:u,jsonMode:a,expressionAllowed:Ye,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=H&&t!=B||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(n("VrN/"))},"+tJ4":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var l=function(e){return function(t){for(var n=0,l=e.length;n=0}},"/NBx":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("7LN8"),a=n("Fa87"),s=n("gIcY");t.CHIPS_VALUE_ACCESSOR={provide:s.NG_VALUE_ACCESSOR,useExisting:o.forwardRef(function(){return c}),multi:!0};var c=function(){function e(e){this.el=e,this.allowDuplicate=!0,this.onAdd=new o.EventEmitter,this.onRemove=new o.EventEmitter,this.onFocus=new o.EventEmitter,this.onBlur=new o.EventEmitter,this.onChipClick=new o.EventEmitter,this.onModelChange=function(){},this.onModelTouched=function(){}}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"item":default:e.itemTemplate=t.template}})},e.prototype.onClick=function(e){this.inputViewChild.nativeElement.focus()},e.prototype.onItemClick=function(e,t){this.onChipClick.emit({originalEvent:e,value:t})},e.prototype.writeValue=function(e){this.value=e,this.updateMaxedOut()},e.prototype.registerOnChange=function(e){this.onModelChange=e},e.prototype.registerOnTouched=function(e){this.onModelTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype.resolveFieldData=function(e,t){if(e&&t){if(-1==t.indexOf("."))return e[t];for(var n=t.split("."),l=e,i=0,o=n.length;i0){this.value=this.value.slice();var t=this.value.pop();this.onModelChange(this.value),this.onRemove.emit({originalEvent:e,value:t})}break;case 13:this.addItem(e,this.inputViewChild.nativeElement.value),this.inputViewChild.nativeElement.value="",e.preventDefault();break;case 9:this.addOnTab&&""!==this.inputViewChild.nativeElement.value&&(this.addItem(e,this.inputViewChild.nativeElement.value),this.inputViewChild.nativeElement.value="",e.preventDefault());break;default:this.max&&this.value&&this.max===this.value.length&&e.preventDefault()}},e.prototype.updateMaxedOut=function(){this.inputViewChild&&this.inputViewChild.nativeElement&&(this.inputViewChild.nativeElement.disabled=!(!this.max||!this.value||this.max!==this.value.length)||this.disabled||!1)},l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Input(),i("design:type",String)],e.prototype,"field",void 0),l([o.Input(),i("design:type",String)],e.prototype,"placeholder",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"max",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"tabindex",void 0),l([o.Input(),i("design:type",String)],e.prototype,"inputId",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"allowDuplicate",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"inputStyle",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"inputStyleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"addOnTab",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"addOnBlur",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onAdd",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRemove",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onFocus",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onBlur",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onChipClick",void 0),l([o.ViewChild("inputtext"),i("design:type",o.ElementRef)],e.prototype,"inputViewChild",void 0),l([o.ContentChildren(u.PrimeTemplate),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.Component({selector:"p-chips",template:'\n
    \n
      \n
    • \n \n {{field ? resolveFieldData(item,field) : item}}\n \n
    • \n
    • \n \n
    • \n
    \n
    \n ',providers:[t.CHIPS_VALUE_ACCESSOR]})],e)}();t.Chips=c,t.ChipsModule=function(){return l([o.NgModule({imports:[r.CommonModule,a.InputTextModule,u.SharedModule],exports:[c,a.InputTextModule,u.SharedModule],declarations:[c]})],function(){})}()},"/WYv":function(e,t,n){"use strict";function l(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",function(){return l})},0:function(e,t,n){e.exports=n("zUnb")},"0/uQ":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var l=n("6blF"),i=n("Fxb1"),o=n("i4X3");function r(e,t){return t?Object(o.a)(e,t):e instanceof l.a?e:new l.a(Object(i.a)(e))}},"0alx":function(e,t,n){"use strict";var l=n("VKeD");t.isIterable=function(e){return e&&"function"==typeof e[l.iterator]}},"15JJ":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var l=n("mrSG"),i=n("MGBS"),o=n("rPjj"),r=n("zotm"),u=n("67Y/"),a=n("0/uQ");function s(e,t){return"function"==typeof t?function(n){return n.pipe(s(function(n,l){return Object(a.a)(e(n,l)).pipe(Object(u.a)(function(e,i){return t(n,e,l,i)}))}))}:function(t){return t.lift(new c(e))}}var c=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.project))},e}(),d=function(e){function t(t,n){var l=e.call(this,t)||this;return l.project=n,l.index=0,l}return l.__extends(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(l){return void this.destination.error(l)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var l=this.innerSubscription;l&&l.unsubscribe();var i=new o.a(this,void 0,void 0);this.destination.add(i),this.innerSubscription=Object(r.a)(this,e,t,n,i)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,l,i){this.destination.next(t)},t}(i.a)},"1eCo":function(e,t,n){!function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(l,i){var o,r,u=l.indentUnit,a={},s=i.htmlMode?t:n;for(var c in s)a[c]=s[c];for(var c in i)a[c]=i[c];function d(e,t){function n(n){return t.tokenize=n,n(e,t)}var l=e.next();return"<"==l?e.eat("!")?e.eat("[")?e.match("CDATA[")?n(h("atom","]]>")):null:e.match("--")?n(h("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(function e(t){return function(n,l){for(var i;null!=(i=n.next());){if("<"==i)return l.tokenize=e(t+1),l.tokenize(n,l);if(">"==i){if(1==t){l.tokenize=d;break}return l.tokenize=e(t-1),l.tokenize(n,l)}}return"meta"}}(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=h("meta","?>"),"meta"):(o=e.eat("/")?"closeTag":"openTag",t.tokenize=p,"tag bracket"):"&"==l?(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error":(e.eatWhile(/[^&<]/),null)}function p(e,t){var n,l,i=e.next();if(">"==i||"/"==i&&e.eat(">"))return t.tokenize=d,o=">"==i?"endTag":"selfcloseTag","tag bracket";if("="==i)return o="equals",null;if("<"==i){t.tokenize=d,t.state=v,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(i)?(t.tokenize=(n=i,(l=function(e,t){for(;!e.eol();)if(e.next()==n){t.tokenize=p;break}return"string"}).isInAttribute=!0,l),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function h(e,t){return function(n,l){for(;!n.eol();){if(n.match(t)){l.tokenize=d;break}n.next()}return e}}function f(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(a.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function g(e){e.context&&(e.context=e.context.prev)}function m(e,t){for(var n;;){if(!e.context)return;if(!a.contextGrabbers.hasOwnProperty(n=e.context.tagName)||!a.contextGrabbers[n].hasOwnProperty(t))return;g(e)}}function v(e,t,n){return"openTag"==e?(n.tagStart=t.column(),y):"closeTag"==e?b:v}function y(e,t,n){return"word"==e?(n.tagName=t.current(),r="tag",_):a.allowMissingTagName&&"endTag"==e?(r="tag bracket",_(e,0,n)):(r="error",y)}function b(e,t,n){if("word"==e){var l=t.current();return n.context&&n.context.tagName!=l&&a.implicitlyClosed.hasOwnProperty(n.context.tagName)&&g(n),n.context&&n.context.tagName==l||!1===a.matchClosing?(r="tag",C):(r="tag error",w)}return a.allowMissingTagName&&"endTag"==e?(r="tag bracket",C(e,0,n)):(r="error",w)}function C(e,t,n){return"endTag"!=e?(r="error",C):(g(n),v)}function w(e,t,n){return r="error",C(e,0,n)}function _(e,t,n){if("word"==e)return r="attribute",x;if("endTag"==e||"selfcloseTag"==e){var l=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||a.autoSelfClosers.hasOwnProperty(l)?m(n,l):(m(n,l),n.context=new f(n,l,i==n.indented)),v}return r="error",_}function x(e,t,n){return"equals"==e?S:(a.allowMissing||(r="error"),_(e,0,n))}function S(e,t,n){return"string"==e?E:"word"==e&&a.allowUnquoted?(r="string",_):(r="error",_(e,0,n))}function E(e,t,n){return"string"==e?E:_(e,0,n)}return d.isInText=!0,{startState:function(e){var t={tokenize:d,state:v,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var n=t.tokenize(e,t);return(n||o)&&"comment"!=n&&(r=null,t.state=t.state(o||n,e,t),r&&(n="error"==r?n+" error":r)),n},indent:function(t,n,l){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+u;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=p&&t.tokenize!=d)return l?l.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==a.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+u*(a.multilineTagIndentFactor||1);if(a.alignCDATA&&/$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:a.htmlMode?"html":"xml",helperType:a.htmlMode?"html":"xml",skipAttribute:function(e){e.state==S&&(e.state=_)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}(n("VrN/"))},"1fDf":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var l=n("FFOo");function i(e){for(;e;){var t=e.destination;if(e.closed||e.isStopped)return!1;e=t&&t instanceof l.a?t:null}return!0}},"24Yq":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n("DqLj"))},"25Eh":function(e,t,n){!function(e){"use strict";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var n=t(["and","or","not","is"]),l=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],i=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];function o(e){return e.scopes[e.scopes.length-1]}e.registerHelper("hintWords","python",l.concat(i)),e.defineMode("python",function(r,u){for(var a="error",s=u.delimiters||u.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,c=[u.singleOperators,u.doubleOperators,u.doubleDelimiters,u.tripleDelimiters,u.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@])/],d=0;dl?_(t):i0&&x(e,t)&&(r+=" "+a),r}return w(e,t)}function w(e,t){if(e.eatSpace())return null;if(e.match(/^#.*/))return"comment";if(e.match(/^[0-9\.]/,!1)){var l=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(l=!0),e.match(/^[\d_]+\.\d*/)&&(l=!0),e.match(/^\.\d+/)&&(l=!0),l)return e.eat(/J/i),"number";var i=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(i=!0),e.match(/^0b[01_]+/i)&&(i=!0),e.match(/^0o[0-7_]+/i)&&(i=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),i=!0),e.match(/^0(?![\dx])/i)&&(i=!0),i)return e.eat(/L/i),"number"}if(e.match(v))return-1!==e.current().toLowerCase().indexOf("f")?(t.tokenize=function(e,t){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var n=1==e.length,l="string";function i(e){return function(t,n){var l=w(t,n);return"punctuation"==l&&("{"==t.current()?n.tokenize=i(e+1):"}"==t.current()&&(n.tokenize=e>1?i(e-1):o)),l}}function o(o,r){for(;!o.eol();)if(o.eatWhile(/[^'"\{\}\\]/),o.eat("\\")){if(o.next(),n&&o.eol())return l}else{if(o.match(e))return r.tokenize=t,l;if(o.match("{{"))return l;if(o.match("{",!1))return r.tokenize=i(0),o.current()?l:r.tokenize(o,r);if(o.match("}}"))return l;if(o.match("}"))return a;o.eat(/['"]/)}if(n){if(u.singleLineStringErrors)return a;r.tokenize=t}return l}return o.isString=!0,o}(e.current(),t.tokenize),t.tokenize(e,t)):(t.tokenize=function(e,t){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var n=1==e.length,l="string";function i(i,o){for(;!i.eol();)if(i.eatWhile(/[^'"\\]/),i.eat("\\")){if(i.next(),n&&i.eol())return l}else{if(i.match(e))return o.tokenize=t,l;i.eat(/['"]/)}if(n){if(u.singleLineStringErrors)return a;o.tokenize=t}return l}return i.isString=!0,i}(e.current(),t.tokenize),t.tokenize(e,t));for(var o=0;o1&&o(t).offset>n;){if("py"!=o(t).type)return!0;t.scopes.pop()}return o(t).offset!=n}return{startState:function(e){return{tokenize:C,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,t){var n=t.errorToken;n&&(t.errorToken=!1);var l=function(e,t){e.sol()&&(t.beginningOfLine=!0);var n=t.tokenize(e,t),l=e.current();if(t.beginningOfLine&&"@"==l)return e.match(m,!1)?"meta":g?"operator":a;if(/\S/.test(l)&&(t.beginningOfLine=!1),"variable"!=n&&"builtin"!=n||"meta"!=t.lastToken||(n="meta"),"pass"!=l&&"return"!=l||(t.dedent+=1),"lambda"==l&&(t.lambda=!0),":"!=l||t.lambda||"py"!=o(t).type||_(t),1==l.length&&!/string|comment/.test(n)){var i="[({".indexOf(l);if(-1!=i&&function(e,t,n){var l=e.match(/^([\s\[\{\(]|#.*)*$/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+p,type:n,align:l})}(e,t,"])}".slice(i,i+1)),-1!=(i="])}".indexOf(l))){if(o(t).type!=l)return a;t.indent=t.scopes.pop().offset-p}}return t.dedent>0&&e.eol()&&"py"==o(t).type&&(t.scopes.length>1&&t.scopes.pop(),t.dedent-=1),n}(e,t);return l&&"comment"!=l&&(t.lastToken="keyword"==l||"punctuation"==l?e.current():l),"punctuation"==l&&(l=null),e.eol()&&t.lambda&&(t.lambda=!1),n?l+" "+a:l},indent:function(t,n){if(t.tokenize!=C)return t.tokenize.isString?e.Pass:0;var l=o(t),i=l.type==n.charAt(0);return null!=l.align?l.align-(i?1:0):l.offset-(i?p:0)},electricInput:/^\s*[\}\]\)]$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-python","python"),e.defineMIME("text/x-cython",{name:"python",extra_keywords:"by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE".split(" ")})}(n("VrN/"))},"26FU":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var l=n("mrSG"),i=n("K9Ia"),o=n("8g8A"),r=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return l.__extends(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.a;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(i.a)},"2Bdj":function(e,t,n){"use strict";function l(e){return"function"==typeof e}n.d(t,"a",function(){return l})},"2KeD":function(e,t,n){"use strict";var l=n("Q1FS"),i=n("zB/H"),o=n("zfKp");t.scheduleObservable=function(e,t){return new l.Observable(function(n){var l=new i.Subscription;return l.add(t.schedule(function(){var i=e[o.observable]();l.add(i.subscribe({next:function(e){l.add(t.schedule(function(){return n.next(e)}))},error:function(e){l.add(t.schedule(function(){return n.error(e)}))},complete:function(){l.add(t.schedule(function(){return n.complete()}))}}))})),l})}},"2bbZ":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("ihYY"),u=n("cdZy"),a=(n("V3HQ"),n("Ip0R")),s=n("sdDj"),c=(n("RWz4"),function(){function e(e,t,n,l,i,o){this.componentFactoryResolver=e,this.cd=t,this.renderer=n,this.config=l,this.dialogRef=i,this.zone=o,this.visible=!0}return e.prototype.ngAfterViewInit=function(){this.loadChildComponent(this.childComponentType),this.cd.detectChanges()},e.prototype.onOverlayClicked=function(e){this.dialogRef.close()},e.prototype.onDialogClicked=function(e){e.stopPropagation()},e.prototype.loadChildComponent=function(e){var t=this.componentFactoryResolver.resolveComponentFactory(e),n=this.insertionPoint.viewContainerRef;n.clear(),this.componentRef=n.createComponent(t)},e.prototype.moveOnTop=function(){if(!1!==this.config.autoZIndex){var e=this.config.baseZIndex||++s.DomHandler.zindex+0;this.container.style.zIndex=String(e),this.maskViewChild.nativeElement.style.zIndex=String(e-1)}},e.prototype.onAnimationStart=function(e){switch(e.toState){case"visible":this.container=e.element,this.moveOnTop(),this.bindGlobalListeners(),s.DomHandler.addClass(document.body,"ui-overflow-hidden");break;case"void":this.onContainerDestroy()}},e.prototype.onAnimationEnd=function(e){"void"===e.toState&&this.dialogRef.close()},e.prototype.onContainerDestroy=function(){s.DomHandler.removeClass(document.body,"ui-overflow-hidden"),this.unbindGlobalListeners(),this.container=null},e.prototype.close=function(){this.visible=!1},e.prototype.onMaskClick=function(){this.config.dismissableMask&&this.close()},e.prototype.bindGlobalListeners=function(){!1!==this.config.closeOnEscape&&!1!==this.config.closable&&this.bindDocumentEscapeListener()},e.prototype.unbindGlobalListeners=function(){this.unbindDocumentEscapeListener()},e.prototype.bindDocumentEscapeListener=function(){var e=this;this.documentEscapeListener=this.renderer.listen("document","keydown",function(t){27==t.which&&parseInt(e.container.style.zIndex)==s.DomHandler.zindex&&e.close()})},e.prototype.unbindDocumentEscapeListener=function(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)},e.prototype.ngOnDestroy=function(){this.onContainerDestroy(),this.componentRef&&this.componentRef.destroy()},l([o.ViewChild(u.DynamicDialogContent),i("design:type",u.DynamicDialogContent)],e.prototype,"insertionPoint",void 0),l([o.ViewChild("mask"),i("design:type",o.ElementRef)],e.prototype,"maskViewChild",void 0),l([o.Component({selector:"p-dynamicDialog",template:'\n\t\t
    \n\t\t
    \n
    \n {{config.header}}\n \n \n \n
    \n
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t\n\t\t
    \n\t',animations:[r.trigger("animation",[r.state("void",r.style({transform:"translate3d(-50%, -25%, 0) scale(0.9)",opacity:0})),r.state("visible",r.style({transform:"translateX(-50%) translateY(-50%)",opacity:1})),r.transition("* => *",r.animate("{{transitionParams}}"))])]})],e)}());t.DynamicDialogComponent=c,t.DynamicDialogModule=function(){return l([o.NgModule({imports:[a.CommonModule],declarations:[c,u.DynamicDialogContent],entryComponents:[c]})],function(){})}()},"2ePl":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var l=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},"2m6e":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=(n("gIcY"),n("Ip0R")),u=function(){function e(e,t){this.el=e,this.ngModel=t,this.onResize=new o.EventEmitter}return e.prototype.ngDoCheck=function(){this.updateFilledState(),this.autoResize&&this.resize()},e.prototype.onInput=function(e){this.updateFilledState(),this.autoResize&&this.resize(e)},e.prototype.updateFilledState=function(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model},e.prototype.onFocus=function(e){this.autoResize&&this.resize(e)},e.prototype.onBlur=function(e){this.autoResize&&this.resize(e)},e.prototype.resize=function(e){this.el.nativeElement.style.height="",this.el.nativeElement.style.height=this.el.nativeElement.scrollHeight+"px",parseFloat(this.el.nativeElement.style.height)>=parseFloat(this.el.nativeElement.style.maxHeight)?(this.el.nativeElement.style.overflowY="scroll",this.el.nativeElement.style.height=this.el.nativeElement.style.maxHeight):this.el.nativeElement.style.overflow="hidden",this.onResize.emit(e||{})},l([o.Input(),i("design:type",Boolean)],e.prototype,"autoResize",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onResize",void 0),l([o.HostListener("input",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onInput",null),l([o.HostListener("focus",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onFocus",null),l([o.HostListener("blur",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onBlur",null),l([o.Directive({selector:"[pInputTextarea]",host:{"[class.ui-inputtext]":"true","[class.ui-corner-all]":"true","[class.ui-inputtextarea-resizable]":"autoResize","[class.ui-state-default]":"true","[class.ui-widget]":"true","[class.ui-state-filled]":"filled"}})],e)}();t.InputTextarea=u,t.InputTextareaModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[u],declarations:[u]})],function(){})}()},"2qMH":function(e,t,n){"use strict";var l=n("Q1FS"),i=n("zB/H");t.scheduleArray=function(e,t){return new l.Observable(function(n){var l=new i.Subscription,o=0;return l.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||l.add(this.schedule())):n.complete()})),l})}},"3GNW":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("ihYY"),u=n("Ip0R"),a=n("sdDj"),s=n("7LN8"),c=n("VSng"),d=(n("oygf"),function(){function e(e,t,n,l){var i=this;this.el=e,this.renderer=t,this.confirmationService=n,this.zone=l,this.acceptIcon="pi pi-check",this.acceptLabel="Yes",this.acceptVisible=!0,this.rejectIcon="pi pi-times",this.rejectLabel="No",this.rejectVisible=!0,this.closeOnEscape=!0,this.closable=!0,this.autoZIndex=!0,this.baseZIndex=0,this.transitionOptions="400ms cubic-bezier(0.25, 0.8, 0.25, 1)",this.subscription=this.confirmationService.requireConfirmation$.subscribe(function(e){e.key===i.key&&(i.confirmation=e,i.message=i.confirmation.message||i.message,i.icon=i.confirmation.icon||i.icon,i.header=i.confirmation.header||i.header,i.rejectVisible=null==i.confirmation.rejectVisible?i.rejectVisible:i.confirmation.rejectVisible,i.acceptVisible=null==i.confirmation.acceptVisible?i.acceptVisible:i.confirmation.acceptVisible,i.acceptLabel=i.confirmation.acceptLabel||i.acceptLabel,i.rejectLabel=i.confirmation.rejectLabel||i.rejectLabel,i.confirmation.accept&&(i.confirmation.acceptEvent=new o.EventEmitter,i.confirmation.acceptEvent.subscribe(i.confirmation.accept)),i.confirmation.reject&&(i.confirmation.rejectEvent=new o.EventEmitter,i.confirmation.rejectEvent.subscribe(i.confirmation.reject)),i.visible=!0)})}return Object.defineProperty(e.prototype,"width",{get:function(){return this._width},set:function(e){this._width=e,console.warn("width property is deprecated, use style to define the width of the Dialog.")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},set:function(e){this._height=e,console.warn("height property is deprecated, use style to define the height of the Dialog.")},enumerable:!0,configurable:!0}),e.prototype.onAnimationStart=function(e){switch(e.toState){case"visible":this.container=e.element,this.setDimensions(),this.contentContainer=a.DomHandler.findSingle(this.container,".ui-dialog-content"),a.DomHandler.findSingle(this.container,"button").focus(),this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.enableModality();break;case"void":this.onOverlayHide()}},e.prototype.setDimensions=function(){this.width&&(this.container.style.width=this.width+"px"),this.height&&(this.container.style.height=this.height+"px")},e.prototype.appendContainer=function(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.container):a.DomHandler.appendChild(this.container,this.appendTo))},e.prototype.restoreAppend=function(){this.container&&this.appendTo&&this.el.nativeElement.appendChild(this.container)},e.prototype.enableModality=function(){this.mask||(this.mask=document.createElement("div"),this.mask.style.zIndex=String(parseInt(this.container.style.zIndex)-1),a.DomHandler.addMultipleClasses(this.mask,"ui-widget-overlay ui-dialog-mask"),document.body.appendChild(this.mask),a.DomHandler.addClass(document.body,"ui-overflow-hidden"))},e.prototype.disableModality=function(){this.mask&&(document.body.removeChild(this.mask),a.DomHandler.removeClass(document.body,"ui-overflow-hidden"),this.mask=null)},e.prototype.close=function(e){this.confirmation.rejectEvent&&this.confirmation.rejectEvent.emit(),this.hide(),e.preventDefault()},e.prototype.hide=function(){this.visible=!1},e.prototype.moveOnTop=function(){this.autoZIndex&&(this.container.style.zIndex=String(this.baseZIndex+ ++a.DomHandler.zindex))},e.prototype.bindGlobalListeners=function(){var e=this;this.closeOnEscape&&this.closable&&!this.documentEscapeListener&&(this.documentEscapeListener=this.renderer.listen("document","keydown",function(t){27==t.which&&parseInt(e.container.style.zIndex)===a.DomHandler.zindex&&e.visible&&e.close(t)}))},e.prototype.unbindGlobalListeners=function(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)},e.prototype.onOverlayHide=function(){this.disableModality(),this.unbindGlobalListeners(),this.container=null},e.prototype.ngOnDestroy=function(){this.restoreAppend(),this.onOverlayHide(),this.subscription.unsubscribe()},e.prototype.accept=function(){this.confirmation.acceptEvent&&this.confirmation.acceptEvent.emit(),this.hide(),this.confirmation=null},e.prototype.reject=function(){this.confirmation.rejectEvent&&this.confirmation.rejectEvent.emit(),this.hide(),this.confirmation=null},l([o.Input(),i("design:type",Boolean)],e.prototype,"visible",void 0),l([o.Input(),i("design:type",String)],e.prototype,"header",void 0),l([o.Input(),i("design:type",String)],e.prototype,"icon",void 0),l([o.Input(),i("design:type",String)],e.prototype,"message",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",String)],e.prototype,"acceptIcon",void 0),l([o.Input(),i("design:type",String)],e.prototype,"acceptLabel",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"acceptVisible",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rejectIcon",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rejectLabel",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"rejectVisible",void 0),l([o.Input(),i("design:type",String)],e.prototype,"acceptButtonStyleClass",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rejectButtonStyleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"closeOnEscape",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"rtl",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"closable",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"appendTo",void 0),l([o.Input(),i("design:type",String)],e.prototype,"key",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"autoZIndex",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"baseZIndex",void 0),l([o.Input(),i("design:type",String)],e.prototype,"transitionOptions",void 0),l([o.ContentChild(s.Footer),i("design:type",Object)],e.prototype,"footer",void 0),l([o.ViewChild("content"),i("design:type",o.ElementRef)],e.prototype,"contentViewChild",void 0),l([o.Input(),i("design:type",Object),i("design:paramtypes",[Object])],e.prototype,"width",null),l([o.Input(),i("design:type",Object),i("design:paramtypes",[Object])],e.prototype,"height",null),l([o.Component({selector:"p-confirmDialog",template:'\n
    \n
    \n {{header}}\n \n \n \n
    \n
    \n \n \n
    \n \n \n
    \n ',animations:[r.trigger("animation",[r.state("void",r.style({transform:"translate3d(-50%, -25%, 0) scale(0.9)",opacity:0})),r.state("visible",r.style({transform:"translateX(-50%) translateY(-50%)",opacity:1})),r.transition("* => *",r.animate("{{transitionParams}}"))])]})],e)}());t.ConfirmDialog=d,t.ConfirmDialogModule=function(){return l([o.NgModule({imports:[u.CommonModule,c.ButtonModule],exports:[d,c.ButtonModule,s.SharedModule],declarations:[d]})],function(){})}()},"3PJ4":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("sdDj"),a=function(){function e(e,t){this.el=e,this.zone=t,this.onDragStart=new o.EventEmitter,this.onDragEnd=new o.EventEmitter,this.onDrag=new o.EventEmitter}return e.prototype.ngAfterViewInit=function(){this.pDraggableDisabled||(this.el.nativeElement.draggable=!0,this.bindMouseListeners())},e.prototype.bindDragListener=function(){var e=this;this.dragListener||this.zone.runOutsideAngular(function(){e.dragListener=e.drag.bind(e),e.el.nativeElement.addEventListener("drag",e.dragListener)})},e.prototype.unbindDragListener=function(){var e=this;this.dragListener&&this.zone.runOutsideAngular(function(){e.el.nativeElement.removeEventListener("drag",e.dragListener),e.dragListener=null})},e.prototype.bindMouseListeners=function(){var e=this;this.mouseDownListener||this.mouseUpListener||this.zone.runOutsideAngular(function(){e.mouseDownListener=e.mousedown.bind(e),e.mouseUpListener=e.mouseup.bind(e),e.el.nativeElement.addEventListener("mousedown",e.mouseDownListener),e.el.nativeElement.addEventListener("mouseup",e.mouseUpListener)})},e.prototype.unbindMouseListeners=function(){var e=this;this.mouseDownListener&&this.mouseUpListener&&this.zone.runOutsideAngular(function(){e.el.nativeElement.removeEventListener("mousedown",e.mouseDownListener),e.el.nativeElement.removeEventListener("mouseup",e.mouseUpListener),e.mouseDownListener=null,e.mouseUpListener=null})},e.prototype.drag=function(e){this.onDrag.emit(e)},e.prototype.dragStart=function(e){this.allowDrag()?(this.dragEffect&&(e.dataTransfer.effectAllowed=this.dragEffect),e.dataTransfer.setData("text",this.scope),this.onDragStart.emit(e),this.bindDragListener()):e.preventDefault()},e.prototype.dragEnd=function(e){this.onDragEnd.emit(e),this.unbindDragListener()},e.prototype.mousedown=function(e){this.handle=e.target},e.prototype.mouseup=function(e){this.handle=null},e.prototype.allowDrag=function(){return!this.dragHandle||!this.handle||u.DomHandler.matches(this.handle,this.dragHandle)},e.prototype.ngOnDestroy=function(){this.unbindDragListener(),this.unbindMouseListeners()},l([o.Input("pDraggable"),i("design:type",String)],e.prototype,"scope",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pDraggableDisabled",void 0),l([o.Input(),i("design:type",String)],e.prototype,"dragEffect",void 0),l([o.Input(),i("design:type",String)],e.prototype,"dragHandle",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onDragStart",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onDragEnd",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onDrag",void 0),l([o.HostListener("dragstart",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"dragStart",null),l([o.HostListener("dragend",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"dragEnd",null),l([o.Directive({selector:"[pDraggable]"})],e)}();t.Draggable=a;var s=function(){function e(e,t){this.el=e,this.zone=t,this.onDragEnter=new o.EventEmitter,this.onDragLeave=new o.EventEmitter,this.onDrop=new o.EventEmitter}return e.prototype.ngAfterViewInit=function(){this.pDroppableDisabled||this.bindDragOverListener()},e.prototype.bindDragOverListener=function(){var e=this;this.dragOverListener||this.zone.runOutsideAngular(function(){e.dragOverListener=e.dragOver.bind(e),e.el.nativeElement.addEventListener("dragover",e.dragOverListener)})},e.prototype.unbindDragOverListener=function(){var e=this;this.dragOverListener&&this.zone.runOutsideAngular(function(){e.el.nativeElement.removeEventListener("dragover",e.dragOverListener),e.dragOverListener=null})},e.prototype.dragOver=function(e){e.preventDefault()},e.prototype.drop=function(e){this.allowDrop(e)&&(e.preventDefault(),this.onDrop.emit(e))},e.prototype.dragEnter=function(e){e.preventDefault(),this.dropEffect&&(e.dataTransfer.dropEffect=this.dropEffect),this.onDragEnter.emit(e)},e.prototype.dragLeave=function(e){e.preventDefault(),this.onDragLeave.emit(e)},e.prototype.allowDrop=function(e){var t=e.dataTransfer.getData("text");if("string"==typeof this.scope&&t==this.scope)return!0;if(this.scope instanceof Array)for(var n=0;n\n
    \n \n
    \n
    \n
    {{header}}
    \n
    {{subheader}}
    \n
    \n \n
    \n \n
    \n \n '})],e)}();t.Card=a,t.CardModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[a,u.SharedModule],declarations:[a]})],function(){})}()},"5EhP":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicDialogInjector=function(){function e(e,t){this._parentInjector=e,this._additionalTokens=t}return e.prototype.get=function(e,t,n){return this._additionalTokens.get(e)||this._parentInjector.get(e,t)},e}()},"5xuf":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=function(){function e(e,t,n){this.el=e,this.renderer=t,this.viewContainer=n,this.onLoad=new o.EventEmitter}return e.prototype.ngAfterViewInit=function(){var e=this;this.shouldLoad()&&this.load(),this.isLoaded()||(this.documentScrollListener=this.renderer.listen("window","scroll",function(){e.shouldLoad()&&(e.load(),e.documentScrollListener(),e.documentScrollListener=null)}))},e.prototype.shouldLoad=function(){if(this.isLoaded())return!1;var e=this.el.nativeElement.getBoundingClientRect();return document.documentElement.clientHeight>=e.top},e.prototype.load=function(){this.view=this.viewContainer.createEmbeddedView(this.template),this.onLoad.emit()},e.prototype.isLoaded=function(){return null!=this.view},e.prototype.ngOnDestroy=function(){this.view=null,this.documentScrollListener&&this.documentScrollListener()},l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onLoad",void 0),l([o.ContentChild(o.TemplateRef),i("design:type",o.TemplateRef)],e.prototype,"template",void 0),l([o.Directive({selector:"[pDefer]"})],e)}();t.DeferredLoader=u,t.DeferModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[u],declarations:[u]})],function(){})}()},"60iU":function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"a",function(){return u});var l,i=n("G5J1"),o=n("F/XL"),r=n("XlPw");l||(l={});var u=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}},e.prototype.accept=function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)},e.prototype.toObservable=function(){switch(this.kind){case"N":return Object(o.a)(this.value);case"E":return Object(r.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},"66nc":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("ihYY"),u=n("Ip0R"),a=n("sdDj"),s=n("7LN8"),c=0,d=function(){function e(e,t,n){this.el=e,this.renderer=t,this.zone=n,this.draggable=!0,this.resizable=!0,this.closeOnEscape=!0,this.closable=!0,this.responsive=!0,this.showHeader=!0,this.breakpoint=640,this.blockScroll=!1,this.autoZIndex=!0,this.baseZIndex=0,this.minX=0,this.minY=0,this.focusOnShow=!0,this.transitionOptions="400ms cubic-bezier(0.25, 0.8, 0.25, 1)",this.closeIcon="pi pi-times",this.minimizeIcon="pi pi-window-minimize",this.maximizeIcon="pi pi-window-maximize",this.onShow=new o.EventEmitter,this.onHide=new o.EventEmitter,this.visibleChange=new o.EventEmitter,this.id="ui-dialog-"+c++}return Object.defineProperty(e.prototype,"width",{get:function(){return this._width},set:function(e){this._width=e,console.warn("width property is deprecated, use style to define the width of the Dialog.")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},set:function(e){this._height=e,console.warn("height property is deprecated, use style to define the height of the Dialog.")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minWidth",{get:function(){return this._minWidth},set:function(e){this._minWidth=e,console.warn("minWidth property is deprecated, use style to define the minWidth of the Dialog.")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this._minHeight},set:function(e){this._minHeight=e,console.warn("minHeight property is deprecated, use style to define the minHeight of the Dialog.")},enumerable:!0,configurable:!0}),e.prototype.focus=function(){var e=a.DomHandler.findSingle(this.container,"button");e&&this.zone.runOutsideAngular(function(){setTimeout(function(){return e.focus()},5)})},e.prototype.positionOverlay=function(){var e=a.DomHandler.getViewport();a.DomHandler.getOuterHeight(this.container)>e.height?(this.contentViewChild.nativeElement.style.height=.75*e.height+"px",this.container.style.height="auto"):(this.contentViewChild.nativeElement.style.height=null,this.height&&(this.container.style.height=this.height+"px")),this.positionLeft>=0&&this.positionTop>=0?(this.container.style.left=this.positionLeft+"px",this.container.style.top=this.positionTop+"px"):this.positionTop>=0?(this.center(),this.container.style.top=this.positionTop+"px"):this.center()},e.prototype.close=function(e){this.visibleChange.emit(!1),e.preventDefault()},e.prototype.center=function(){var e=a.DomHandler.getOuterWidth(this.container),t=a.DomHandler.getOuterHeight(this.container);0==e&&0==t&&(this.container.style.visibility="hidden",this.container.style.display="block",e=a.DomHandler.getOuterWidth(this.container),t=a.DomHandler.getOuterHeight(this.container),this.container.style.display="none",this.container.style.visibility="visible");var n=a.DomHandler.getViewport(),l=Math.max(Math.floor((n.width-e)/2),0),i=Math.max(Math.floor((n.height-t)/2),0);this.container.style.left=l+"px",this.container.style.top=i+"px"},e.prototype.enableModality=function(){var e=this;if(!this.mask){this.mask=document.createElement("div"),this.mask.style.zIndex=String(parseInt(this.container.style.zIndex)-1);var t="ui-widget-overlay ui-dialog-mask";this.blockScroll&&(t+=" ui-dialog-mask-scrollblocker"),a.DomHandler.addMultipleClasses(this.mask,t),this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.mask,"click",function(t){e.close(t)})),document.body.appendChild(this.mask),this.blockScroll&&a.DomHandler.addClass(document.body,"ui-overflow-hidden")}},e.prototype.disableModality=function(){if(this.mask){if(this.unbindMaskClickListener(),document.body.removeChild(this.mask),this.blockScroll){for(var e=document.body.children,t=void 0,n=0;n=this.minX&&r+t=this.minY&&u+nparseInt(s))&&d.left+rparseInt(c))&&d.top+u\n
    \n {{header}}\n \n \n \n \n \n \n \n \n \n
    \n
    \n \n
    \n \n
    \n \n ',animations:[r.trigger("animation",[r.state("void",r.style({transform:"translate3d(0, 25%, 0) scale(0.9)",opacity:0})),r.state("visible",r.style({transform:"none",opacity:1})),r.transition("* => *",r.animate("{{transitionParams}}"))])]})],e)}();t.Dialog=d,t.DialogModule=function(){return l([o.NgModule({imports:[u.CommonModule],exports:[d,s.SharedModule],declarations:[d]})],function(){})}()},"67Y/":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var l=n("mrSG"),i=n("FFOo");function o(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new r(e,t))}}var r=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.project,this.thisArg))},e}(),u=function(e){function t(t,n,l){var i=e.call(this,t)||this;return i.project=n,i.count=0,i.thisArg=l||i,i}return l.__extends(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(i.a)},"6MUB":function(e,t,n){"use strict";var l=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(i){var o=encodeURIComponent(l(i))+n;return Array.isArray(e[i])?e[i].map(function(e){return o+encodeURIComponent(l(e))}).join(t):o+encodeURIComponent(l(e[i]))}).join(t):i?encodeURIComponent(l(i))+n+encodeURIComponent(l(e)):""}},"6ahw":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var l=n("iLxQ"),i=n("DKTb"),o={closed:!0,next:function(e){},error:function(e){if(l.a.useDeprecatedSynchronousErrorHandling)throw e;Object(i.a)(e)},complete:function(){}}},"6blF":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var l=n("1fDf"),i=n("FFOo"),o=n("L/V9"),r=n("6ahw"),u=n("xTla"),a=n("y3By"),s=n("iLxQ"),c=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var l=this.operator,u=function(e,t,n){if(e){if(e instanceof i.a)return e;if(e[o.a])return e[o.a]()}return e||t||n?new i.a(e,t,n):new i.a(r.a)}(e,t,n);if(u.add(l?l.call(u,this.source):this.source||s.a.useDeprecatedSynchronousErrorHandling&&!u.syncErrorThrowable?this._subscribe(u):this._trySubscribe(u)),s.a.useDeprecatedSynchronousErrorHandling&&u.syncErrorThrowable&&(u.syncErrorThrowable=!1,u.syncErrorThrown))throw u.syncErrorValue;return u},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){s.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),Object(l.a)(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=d(t))(function(t,l){var i;i=n.subscribe(function(t){try{e(t)}catch(n){l(n),i&&i.unsubscribe()}},l,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[u.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t\n \n \n '})],e)}();t.Steps=a,t.StepsModule=function(){return l([o.NgModule({imports:[r.CommonModule,u.RouterModule],exports:[a,u.RouterModule],declarations:[a]})],function(){})}()},"7LN8":function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("CcnG"),a=function(){return l([u.Component({selector:"p-header",template:""})],function(){})}();t.Header=a;var s=function(){return l([u.Component({selector:"p-footer",template:""})],function(){})}();t.Footer=s;var c=function(){function e(e){this.template=e}return e.prototype.getType=function(){return this.name},l([o.Input(),i("design:type",String)],e.prototype,"type",void 0),l([o.Input("pTemplate"),i("design:type",String)],e.prototype,"name",void 0),l([o.Directive({selector:"[pTemplate]",host:{}})],e)}();t.PrimeTemplate=c;var d=function(){function e(){this.filterType="text",this.exportable=!0,this.resizable=!0,this.sortFunction=new o.EventEmitter}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"header":e.headerTemplate=t.template;break;case"body":e.bodyTemplate=t.template;break;case"footer":e.footerTemplate=t.template;break;case"filter":e.filterTemplate=t.template;break;case"editor":e.editorTemplate=t.template;break;default:e.bodyTemplate=t.template}})},l([o.Input(),i("design:type",String)],e.prototype,"field",void 0),l([o.Input(),i("design:type",String)],e.prototype,"colId",void 0),l([o.Input(),i("design:type",String)],e.prototype,"sortField",void 0),l([o.Input(),i("design:type",String)],e.prototype,"filterField",void 0),l([o.Input(),i("design:type",String)],e.prototype,"header",void 0),l([o.Input(),i("design:type",String)],e.prototype,"footer",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"sortable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"editable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"filter",void 0),l([o.Input(),i("design:type",String)],e.prototype,"filterMatchMode",void 0),l([o.Input(),i("design:type",String)],e.prototype,"filterType",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"excludeGlobalFilter",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"rowspan",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"colspan",void 0),l([o.Input(),i("design:type",String)],e.prototype,"scope",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"exportable",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"headerStyle",void 0),l([o.Input(),i("design:type",String)],e.prototype,"headerStyleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"bodyStyle",void 0),l([o.Input(),i("design:type",String)],e.prototype,"bodyStyleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"footerStyle",void 0),l([o.Input(),i("design:type",String)],e.prototype,"footerStyleClass",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"hidden",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"expander",void 0),l([o.Input(),i("design:type",String)],e.prototype,"selectionMode",void 0),l([o.Input(),i("design:type",String)],e.prototype,"filterPlaceholder",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"filterMaxlength",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"resizable",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"sortFunction",void 0),l([o.ContentChildren(c),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.ContentChild(o.TemplateRef),i("design:type",o.TemplateRef)],e.prototype,"template",void 0),l([u.Component({selector:"p-column",template:""})],e)}();t.Column=d;var p=function(){function e(){}return l([o.ContentChildren(d),i("design:type",o.QueryList)],e.prototype,"columns",void 0),l([u.Component({selector:"p-row",template:""})],e)}();t.Row=p;var h=function(){function e(){}return l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.ContentChildren(p),i("design:type",o.QueryList)],e.prototype,"rows",void 0),l([u.Component({selector:"p-headerColumnGroup",template:""})],e)}();t.HeaderColumnGroup=h;var f=function(){function e(){}return l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.ContentChildren(p),i("design:type",o.QueryList)],e.prototype,"rows",void 0),l([u.Component({selector:"p-footerColumnGroup",template:""})],e)}();t.FooterColumnGroup=f,t.SharedModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[a,s,d,c,p,h,f],declarations:[a,s,d,c,p,h,f]})],function(){})}()},"8EBN":function(e,t,n){!function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"],alias:["objective-c","objc"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var t=0;t-1&&t.substring(i+1,t.length);if(o)return e.findModeByExtension(o)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n\n
    \n \n
    \n
    \n \n
    \n \n '})],e)}();t.DTRadioButton=h;var f=function(){function e(){this.onChange=new o.EventEmitter}return e.prototype.handleClick=function(e){this.disabled||this.onChange.emit({originalEvent:e,checked:!this.checked})},l([o.Input(),i("design:type",Boolean)],e.prototype,"checked",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onChange",void 0),l([o.Component({selector:"p-dtCheckbox",template:'\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n '})],e)}();t.DTCheckbox=f;var g=function(){function e(e){this.dt=e}return l([o.Input("pColumnHeaders"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Component({selector:"[pColumnHeaders]",template:'\n \n \n \n {{col.header}}\n \n \n \n \n \n \n \n \n \n \n \n '})],e)}();t.ColumnHeaders=g;var m=function(){function e(e){this.dt=e}return l([o.Input("pColumnFooters"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Component({selector:"[pColumnFooters]",template:'\n \n {{col.footer}}\n \n \n \n \n '})],e)}();t.ColumnFooters=m;var v=function(){function e(e){this.dt=e}return e.prototype.visibleColumns=function(){return this.columns?this.columns.filter(function(e){return!e.hidden}):[]},l([o.Input("pTableBody"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"data",void 0),l([o.Component({selector:"[pTableBody]",template:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {{col.header}}\n {{dt.resolveFieldData(rowData,col.field)}}\n \n \n \n
    \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n \n \n \n
    \n\n \n \n {{dt.emptyMessage}}\n \n \n \n \n \n '})],e)}();t.TableBody=v;var y=function(){function e(e,t,n,l){this.dt=e,this.el=t,this.renderer=n,this.zone=l,this.onVirtualScroll=new o.EventEmitter}return e.prototype.ngAfterViewInit=function(){this.initScrolling()},e.prototype.ngAfterViewChecked=function(){var e=this;if(this.virtualScroll&&!this.rowHeight){var t=d.DomHandler.findSingle(this.scrollTable,"tr.ui-widget-content:not(.ui-datatable-emptymessage-row)");t&&(this.rowHeight=d.DomHandler.getOuterHeight(t))}this.frozen||this.zone.runOutsideAngular(function(){setTimeout(function(){e.alignScrollBar()},1)})},e.prototype.initScrolling=function(){var e=this;this.scrollHeader=this.scrollHeaderViewChild.nativeElement,this.scrollHeaderBox=this.scrollHeaderBoxViewChild.nativeElement,this.scrollBody=this.scrollBodyViewChild.nativeElement,this.scrollTable=this.scrollTableViewChild.nativeElement,this.scrollTableWrapper=this.scrollTableWrapperViewChild.nativeElement,this.scrollFooter=this.scrollFooterViewChild?this.scrollFooterViewChild.nativeElement:null,this.scrollFooterBox=this.scrollFooterBoxViewChild?this.scrollFooterBoxViewChild.nativeElement:null,this.setScrollHeight(),this.frozen||this.zone.runOutsideAngular(function(){e.scrollHeader.addEventListener("scroll",e.onHeaderScroll.bind(e)),e.scrollBody.addEventListener("scroll",e.onBodyScroll.bind(e))}),this.frozen?this.scrollBody.style.paddingBottom=d.DomHandler.calculateScrollbarWidth()+"px":this.alignScrollBar()},e.prototype.onBodyScroll=function(e){var t=this,n=this.el.nativeElement.previousElementSibling;if(n)var l=d.DomHandler.findSingle(n,".ui-datatable-scrollable-body");if(this.scrollHeaderBox.style.marginLeft=-1*this.scrollBody.scrollLeft+"px",this.scrollFooterBox&&(this.scrollFooterBox.style.marginLeft=-1*this.scrollBody.scrollLeft+"px"),l&&(l.scrollTop=this.scrollBody.scrollTop),this.virtualScroll){var i=d.DomHandler.getOuterHeight(this.scrollBody),o=d.DomHandler.getOuterHeight(this.scrollTable),r=this.rowHeight*this.dt.rows,u=d.DomHandler.getOuterHeight(this.scrollTableWrapper)/r||1;if(this.scrollBody.scrollTop+i>parseFloat(this.scrollTable.style.top)+o||this.scrollBody.scrollTopd.DomHandler.getOuterHeight(this.scrollBody)},e.prototype.alignScrollBar=function(){var e=this.hasVerticalOverflow()?d.DomHandler.calculateScrollbarWidth():0;this.scrollHeaderBox.style.marginRight=e+"px",this.scrollFooterBox&&(this.scrollFooterBox.style.marginRight=e+"px")},e.prototype.ngOnDestroy=function(){this.scrollHeader.removeEventListener("scroll",this.onHeaderScroll),this.scrollBody.removeEventListener("scroll",this.onBodyScroll)},l([o.Input("pScrollableView"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Input(),i("design:type",c.HeaderColumnGroup)],e.prototype,"headerColumnGroup",void 0),l([o.Input(),i("design:type",c.HeaderColumnGroup)],e.prototype,"footerColumnGroup",void 0),l([o.ViewChild("scrollHeader"),i("design:type",o.ElementRef)],e.prototype,"scrollHeaderViewChild",void 0),l([o.ViewChild("scrollHeaderBox"),i("design:type",o.ElementRef)],e.prototype,"scrollHeaderBoxViewChild",void 0),l([o.ViewChild("scrollBody"),i("design:type",o.ElementRef)],e.prototype,"scrollBodyViewChild",void 0),l([o.ViewChild("scrollTable"),i("design:type",o.ElementRef)],e.prototype,"scrollTableViewChild",void 0),l([o.ViewChild("scrollTableWrapper"),i("design:type",o.ElementRef)],e.prototype,"scrollTableWrapperViewChild",void 0),l([o.ViewChild("scrollFooter"),i("design:type",o.ElementRef)],e.prototype,"scrollFooterViewChild",void 0),l([o.ViewChild("scrollFooterBox"),i("design:type",o.ElementRef)],e.prototype,"scrollFooterBoxViewChild",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.Input(),i("design:type",String)],e.prototype,"width",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"virtualScroll",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onVirtualScroll",void 0),l([o.Component({selector:"[pScrollableView]",template:'\n
    \n
    \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n
    \n
    \n
    \n \n '})],e)}();t.ScrollableView=y;var b=function(){function e(e,t,n,l,i){this.el=e,this.differs=t,this.renderer=n,this.changeDetector=l,this.zone=i,this.pageLinks=5,this.selectionChange=new o.EventEmitter,this.showHeaderCheckbox=!0,this.onRowClick=new o.EventEmitter,this.onRowSelect=new o.EventEmitter,this.onRowUnselect=new o.EventEmitter,this.onRowDblclick=new o.EventEmitter,this.onHeaderCheckboxToggle=new o.EventEmitter,this.onContextMenuSelect=new o.EventEmitter,this.filterDelay=300,this.onLazyLoad=new o.EventEmitter,this.columnResizeMode="fit",this.onColResize=new o.EventEmitter,this.onColReorder=new o.EventEmitter,this.sortMode="single",this.defaultSortOrder=1,this.csvSeparator=",",this.exportFilename="download",this.emptyMessage="No records found",this.paginatorPosition="bottom",this.alwaysShowPaginator=!0,this.metaKeySelection=!0,this.rowTrackBy=function(e,t){return t},this.immutable=!0,this.compareSelectionBy="deepEquals",this.onEditInit=new o.EventEmitter,this.onEditComplete=new o.EventEmitter,this.onEdit=new o.EventEmitter,this.onEditCancel=new o.EventEmitter,this.onPage=new o.EventEmitter,this.onSort=new o.EventEmitter,this.onFilter=new o.EventEmitter,this.rowExpandMode="multiple",this.expandedIcon="fa-chevron-circle-down",this.collapsedIcon="fa-chevron-circle-right",this.tabindex=1,this.sortableRowGroup=!0,this.filters={},this.loadingIcon="fa-circle-o-notch",this.virtualScrollDelay=500,this.rowGroupExpandMode="multiple",this.valueChange=new o.EventEmitter,this.firstChange=new o.EventEmitter,this.onRowExpand=new o.EventEmitter,this.onRowCollapse=new o.EventEmitter,this.onRowGroupExpand=new o.EventEmitter,this.onRowGroupCollapse=new o.EventEmitter,this.page=0,this.columnsChanged=!1,this._first=0,this._sortOrder=1,this.filterConstraints={startsWith:function(e,t){if(null==t||""===t.trim())return!0;if(null==e)return!1;var n=t.toLowerCase();return e.toString().toLowerCase().slice(0,n.length)===n},contains:function(e,t){return null==t||"string"==typeof t&&""===t.trim()||null!=e&&-1!==e.toString().toLowerCase().indexOf(t.toLowerCase())},endsWith:function(e,t){if(null==t||""===t.trim())return!0;if(null==e)return!1;var n=t.toString().toLowerCase();return-1!==e.toString().toLowerCase().indexOf(n,e.toString().length-n.length)},equals:function(e,t){return null==t||"string"==typeof t&&""===t.trim()||null!=e&&e.toString().toLowerCase()==t.toString().toLowerCase()},notEquals:function(e,t){return!(null==t||"string"==typeof t&&""===t.trim()||null!=e&&e.toString().toLowerCase()==t.toString().toLowerCase())},in:function(e,t){if(null==t||0===t.length)return!0;if(null==e)return!1;for(var n=0;n=this.totalRecords){var e=Math.ceil(this.totalRecords/this.rows);this._first=Math.max((e-1)*this.rows,0)}},e.prototype.updateTotalRecords=function(){this.totalRecords=this.lazy?this.totalRecords:this.value?this.value.length:0},e.prototype.onPageChange=function(e){this._first=e.first,this.firstChange.emit(this.first),this.rows=e.rows,this.paginate()},e.prototype.paginate=function(){this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.updateDataToRender(this.filteredValue||this.value),this.onPage.emit({first:this.first,rows:this.rows})},e.prototype.updateDataToRender=function(e){if((this.paginator||this.virtualScroll)&&e){this.dataToRender=[];for(var t=this.lazy?0:this.first,n=this.virtualScroll?this.first+2*this.rows:t+this.rows,l=t;l=e.length);l++)this.dataToRender.push(e[l])}else this.dataToRender=e;this.rowGroupMode&&this.updateRowGroupMetadata(),this.changeDetector.markForCheck()},e.prototype.onVirtualScroll=function(e){var t=this;this._first=(e.page-1)*this.rows,this.virtualScrollCallback=e.callback,this.zone.run(function(){t.virtualScrollTimer&&clearTimeout(t.virtualScrollTimer),t.virtualScrollTimer=setTimeout(function(){t.lazy?t.onLazyLoad.emit(t.createLazyLoadMetadata()):t.updateDataToRender(t.filteredValue||t.value)},t.virtualScrollDelay)})},e.prototype.onHeaderKeydown=function(e,t){13==e.keyCode&&(this.sort(e,t),e.preventDefault())},e.prototype.onHeaderMousedown=function(e,t){this.reorderableColumns&&("INPUT"!==e.target.nodeName?t.draggable=!0:"INPUT"===e.target.nodeName&&(t.draggable=!1))},e.prototype.sort=function(e,t){if(t.sortable){var n=e.target;if(d.DomHandler.hasClass(n,"ui-sortable-column")||d.DomHandler.hasClass(n,"ui-column-title")||d.DomHandler.hasClass(n,"ui-sortable-column-icon")){this.immutable||(this.preventSortPropagation=!0);var l=t.sortField||t.field;this._sortOrder=this.sortField===l?-1*this.sortOrder:this.defaultSortOrder,this._sortField=l,this.sortColumn=t,"multiple"==this.sortMode&&(this.multiSortMeta&&(e.metaKey||e.ctrlKey)||(this._multiSortMeta=[]),this.addSortMeta({field:this.sortField,order:this.sortOrder})),this.lazy?(this._first=0,this.onLazyLoad.emit(this.createLazyLoadMetadata())):"multiple"==this.sortMode?this.sortMultiple():this.sortSingle(),this.onSort.emit({field:this.sortField,order:this.sortOrder,multisortmeta:this.multiSortMeta})}this.updateDataToRender(this.filteredValue||this.value)}},e.prototype.sortSingle=function(){var e=this;this.value&&(this.sortColumn&&"custom"===this.sortColumn.sortable?(this.preventSortPropagation=!0,this.sortColumn.sortFunction.emit({field:this.sortField,order:this.sortOrder})):this.value.sort(function(t,n){var l,i=e.resolveFieldData(t,e.sortField),o=e.resolveFieldData(n,e.sortField);return l=null==i&&null!=o?-1:null!=i&&null==o?1:null==i&&null==o?0:"string"==typeof i&&"string"==typeof o?i.localeCompare(o):io?1:0,e.sortOrder*l}),this._first=0,this.hasFilter()&&this._filter())},e.prototype.sortMultiple=function(){var e=this;this.value&&(this.value.sort(function(t,n){return e.multisortField(t,n,e.multiSortMeta,0)}),this.hasFilter()&&this._filter())},e.prototype.multisortField=function(e,t,n,l){var i=this.resolveFieldData(e,n[l].field),o=this.resolveFieldData(t,n[l].field),r=null;if("string"==typeof i||i instanceof String){if(i.localeCompare&&i!=o)return n[l].order*i.localeCompare(o)}else r=il?this.multisortField(e,t,n,l+1):0:n[l].order*r},e.prototype.addSortMeta=function(e){for(var t=-1,n=0;n=0?this.multiSortMeta[t]=e:this.multiSortMeta.push(e)},e.prototype.isSorted=function(e){if(!e.sortable)return!1;var t=e.sortField||e.field;if("single"===this.sortMode)return this.sortField&&t===this.sortField;if("multiple"===this.sortMode){var n=!1;if(this.multiSortMeta)for(var l=0;lthis.anchorRowIndex?(t=this.anchorRowIndex,n=this.rangeRowIndex):this.rangeRowIndext?(n=t,l=this.anchorRowIndex):this.anchorRowIndex-1:this.equals(e,this.selection))},e.prototype.equals=function(e,t){return"equals"===this.compareSelectionBy?e===t:p.ObjectUtils.equals(e,t,this.dataKey)},Object.defineProperty(e.prototype,"allSelected",{get:function(){if(this.headerCheckboxToggleAllPages)return this.selection&&this.value&&this.selection.length===this.value.length;var e=!0;if(this.dataToRender&&this.selection&&this.dataToRender.length<=this.selection.length){for(var t=0,n=this.dataToRender;tparseInt(this.resizeColumn.style.minWidth||15)){if("fit"===this.columnResizeMode){for(var i=this.resizeColumn.nextElementSibling;d.DomHandler.hasClass(i,"ui-helper-hidden");)i=i.nextElementSibling;if(i){var o=i.offsetWidth-t;if(l>15&&o>parseInt(i.style.minWidth||15)&&(this.resizeColumn.style.width=l+"px",i&&(i.style.width=o+"px"),this.scrollable)){var r=d.DomHandler.findSingle(this.el.nativeElement,"colgroup.ui-datatable-scrollable-colgroup"),u=d.DomHandler.index(this.resizeColumn);r.children[u].style.width=l+"px",i&&(r.children[u+1].style.width=o+"px")}}}else if("expand"===this.columnResizeMode){this.tbody.parentElement.style.width=this.tbody.parentElement.offsetWidth+t+"px",this.resizeColumn.style.width=l+"px";var a=this.tbody.parentElement.style.width;this.scrollable?(d.DomHandler.findSingle(this.el.nativeElement,".ui-datatable-scrollable-header-box").children[0].style.width=a,r=d.DomHandler.findSingle(this.el.nativeElement,"colgroup.ui-datatable-scrollable-colgroup"),u=d.DomHandler.index(this.resizeColumn),r.children[u].style.width=l+"px"):this.el.nativeElement.children[0].style.width=a}this.onColResize.emit({element:this.resizeColumn,delta:t})}this.resizerHelper.style.display="none",this.resizeColumn=null,d.DomHandler.removeClass(this.el.nativeElement.children[0],"ui-unselectable-text"),this.unbindColumnResizeEvents()},e.prototype.fixColumnWidths=function(){for(var e,t=d.DomHandler.find(this.el.nativeElement,"th.ui-resizable-column"),n=0;no?(this.reorderIndicatorUp.style.left=i+t.offsetWidth-Math.ceil(this.iconWidth/2)+"px",this.reorderIndicatorDown.style.left=i+t.offsetWidth-Math.ceil(this.iconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUp.style.left=i-Math.ceil(this.iconWidth/2)+"px",this.reorderIndicatorDown.style.left=i-Math.ceil(this.iconWidth/2)+"px",this.dropPosition=-1),this.reorderIndicatorUp.style.display="block",this.reorderIndicatorDown.style.display="block"}else e.dataTransfer.dropEffect="none"}},e.prototype.onColumnDragleave=function(e){this.reorderableColumns&&this.draggedColumn&&(e.preventDefault(),this.reorderIndicatorUp.style.display="none",this.reorderIndicatorDown.style.display="none",window.document.removeEventListener("dragover",this.onColumnDragover))},e.prototype.onColumnDrop=function(e){if(e.preventDefault(),this.draggedColumn){var t=d.DomHandler.index(this.draggedColumn),n=d.DomHandler.index(this.findParentHeader(e.target)),l=t!=n;l&&(n-t==1&&-1===this.dropPosition||t-n==1&&1===this.dropPosition)&&(l=!1),l&&(p.ObjectUtils.reorderArray(this.columns,t,n),this.scrollable&&this.initScrollableColumns(),this.onColReorder.emit({dragIndex:t,dropIndex:n,columns:this.columns})),this.reorderIndicatorUp.style.display="none",this.reorderIndicatorDown.style.display="none",this.draggedColumn.draggable=!1,this.draggedColumn=null,this.dropPosition=null}},e.prototype.initColumnReordering=function(){this.reorderIndicatorUp=d.DomHandler.findSingle(this.el.nativeElement.children[0],"span.ui-datatable-reorder-indicator-up"),this.reorderIndicatorDown=d.DomHandler.findSingle(this.el.nativeElement.children[0],"span.ui-datatable-reorder-indicator-down"),this.iconWidth=d.DomHandler.getHiddenElementOuterWidth(this.reorderIndicatorUp),this.iconHeight=d.DomHandler.getHiddenElementOuterHeight(this.reorderIndicatorUp)},e.prototype.findParentHeader=function(e){if("TH"==e.nodeName)return e;for(var t=e.parentElement;"TH"!=t.nodeName&&(t=t.parentElement););return t},e.prototype.hasFooter=function(){if(this.footerColumnGroups&&this.footerColumnGroups.first)return!0;if(this.columns)for(var e=0;e=0?(this.expandedRowsGroups.splice(n,1),this.onRowGroupCollapse.emit({originalEvent:e,group:l})):("single"===this.rowGroupExpandMode&&(this.expandedRowsGroups=[]),this.expandedRowsGroups.push(l),this.onRowGroupExpand.emit({originalEvent:e,group:l})),e.preventDefault()},e.prototype.reset=function(){this._sortField=null,this._sortOrder=1,this.filteredValue=null,this.filters={},this._first=0,this.firstChange.emit(this._first),this.updateTotalRecords(),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.updateDataToRender(this.value)},e.prototype.exportCSV=function(e){var t=this,n=this.filteredValue||this.value,l="\ufeff";e&&e.selectionOnly&&(n=this.selection||[]);for(var i=0;i0},e.prototype.ngOnDestroy=function(){this.globalFilterFunction&&this.globalFilterFunction(),this.resizableColumns&&this.unbindColumnResizeEvents(),this.unbindDocumentEditListener(),this.columnsSubscription&&this.columnsSubscription.unsubscribe(),this.virtualScrollCallback&&(this.virtualScrollCallback=null)},l([o.Input(),i("design:type",Boolean)],e.prototype,"paginator",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"rows",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"pageLinks",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"rowsPerPageOptions",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"responsive",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"stacked",void 0),l([o.Input(),i("design:type",String)],e.prototype,"selectionMode",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"selectionChange",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"editable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"showHeaderCheckbox",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowClick",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowSelect",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowUnselect",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowDblclick",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onHeaderCheckboxToggle",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"headerCheckboxToggleAllPages",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onContextMenuSelect",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"filterDelay",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"lazy",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onLazyLoad",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"resizableColumns",void 0),l([o.Input(),i("design:type",String)],e.prototype,"columnResizeMode",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onColResize",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"reorderableColumns",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onColReorder",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"scrollable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"virtualScroll",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"scrollHeight",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"scrollWidth",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"frozenWidth",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"unfrozenWidth",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"tableStyle",void 0),l([o.Input(),i("design:type",String)],e.prototype,"tableStyleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"globalFilter",void 0),l([o.Input(),i("design:type",String)],e.prototype,"sortMode",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"defaultSortOrder",void 0),l([o.Input(),i("design:type",String)],e.prototype,"groupField",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"contextMenu",void 0),l([o.Input(),i("design:type",String)],e.prototype,"csvSeparator",void 0),l([o.Input(),i("design:type",String)],e.prototype,"exportFilename",void 0),l([o.Input(),i("design:type",String)],e.prototype,"emptyMessage",void 0),l([o.Input(),i("design:type",String)],e.prototype,"paginatorPosition",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"alwaysShowPaginator",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"metaKeySelection",void 0),l([o.Input(),i("design:type",Function)],e.prototype,"rowTrackBy",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"immutable",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"frozenValue",void 0),l([o.Input(),i("design:type",String)],e.prototype,"compareSelectionBy",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onEditInit",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onEditComplete",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onEdit",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onEditCancel",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onPage",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onSort",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onFilter",void 0),l([o.ContentChild(c.Header),i("design:type",Object)],e.prototype,"header",void 0),l([o.ContentChild(c.Footer),i("design:type",Object)],e.prototype,"footer",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"expandableRows",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"expandedRows",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"expandableRowGroups",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rowExpandMode",void 0),l([o.Input(),i("design:type",Array)],e.prototype,"expandedRowsGroups",void 0),l([o.Input(),i("design:type",String)],e.prototype,"expandedIcon",void 0),l([o.Input(),i("design:type",String)],e.prototype,"collapsedIcon",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"tabindex",void 0),l([o.Input(),i("design:type",Function)],e.prototype,"rowStyleClass",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"rowStyleMap",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rowGroupMode",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"sortableRowGroup",void 0),l([o.Input(),i("design:type",String)],e.prototype,"sortFile",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"rowHover",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"filters",void 0),l([o.Input(),i("design:type",String)],e.prototype,"dataKey",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"loading",void 0),l([o.Input(),i("design:type",String)],e.prototype,"loadingIcon",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"virtualScrollDelay",void 0),l([o.Input(),i("design:type",String)],e.prototype,"rowGroupExpandMode",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"valueChange",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"firstChange",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowExpand",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowCollapse",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowGroupExpand",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onRowGroupCollapse",void 0),l([o.ContentChildren(c.PrimeTemplate),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.ContentChildren(c.Column),i("design:type",o.QueryList)],e.prototype,"cols",void 0),l([o.ContentChildren(c.HeaderColumnGroup),i("design:type",o.QueryList)],e.prototype,"headerColumnGroups",void 0),l([o.ContentChildren(c.FooterColumnGroup),i("design:type",o.QueryList)],e.prototype,"footerColumnGroups",void 0),l([o.Input(),i("design:type",Array),i("design:paramtypes",[Array])],e.prototype,"multiSortMeta",null),l([o.Input(),i("design:type",String),i("design:paramtypes",[String])],e.prototype,"sortField",null),l([o.Input(),i("design:type",Number),i("design:paramtypes",[Number])],e.prototype,"sortOrder",null),l([o.Input(),i("design:type",Array),i("design:paramtypes",[Array])],e.prototype,"value",null),l([o.Input(),i("design:type",Number),i("design:paramtypes",[Number])],e.prototype,"first",null),l([o.Input(),i("design:type",Number),i("design:paramtypes",[Number])],e.prototype,"totalRecords",null),l([o.Input(),i("design:type",Object),i("design:paramtypes",[Object])],e.prototype,"selection",null),l([o.Component({selector:"p-dataTable",template:'\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n \n
    \n '})],e)}();t.DataTable=b,t.DataTableModule=function(){return l([o.NgModule({imports:[r.CommonModule,a.SharedModule,s.PaginatorModule,u.FormsModule],exports:[b,a.SharedModule],declarations:[b,h,f,g,m,v,y]})],function(){})}()},ARwZ:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("gIcY");t.RATING_VALUE_ACCESSOR={provide:u.NG_VALUE_ACCESSOR,useExisting:o.forwardRef(function(){return a}),multi:!0};var a=function(){function e(e){this.cd=e,this.stars=5,this.cancel=!0,this.iconOnClass="pi pi-star",this.iconOffClass="pi pi-star-o",this.iconCancelClass="pi pi-ban",this.onRate=new o.EventEmitter,this.onCancel=new o.EventEmitter,this.onModelChange=function(){},this.onModelTouched=function(){}}return e.prototype.ngOnInit=function(){this.starsArray=[];for(var e=0;e\n \n \n \n \n \n \n \n ',providers:[t.RATING_VALUE_ACCESSOR]})],e)}();t.Rating=a,t.RatingModule=function(){return l([o.NgModule({imports:[r.CommonModule],exports:[a],declarations:[a]})],function(){})}()},Avra:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("gIcY"),u=n("Ip0R"),a=n("sdDj"),s=(n("VeV1"),function(){function e(e,t){var n=this;this.el=e,this.terminalService=t,this.commands=[],this.subscription=t.responseHandler.subscribe(function(e){n.commands[n.commands.length-1].response=e,n.commandProcessed=!0})}return e.prototype.ngAfterViewInit=function(){this.container=a.DomHandler.find(this.el.nativeElement,".ui-terminal")[0]},e.prototype.ngAfterViewChecked=function(){this.commandProcessed&&(this.container.scrollTop=this.container.scrollHeight,this.commandProcessed=!1)},Object.defineProperty(e.prototype,"response",{set:function(e){e&&(this.commands[this.commands.length-1].response=e,this.commandProcessed=!0)},enumerable:!0,configurable:!0}),e.prototype.handleCommand=function(e){13==e.keyCode&&(this.commands.push({text:this.command}),this.terminalService.sendCommand(this.command),this.command="")},e.prototype.focus=function(e){e.focus()},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input(),i("design:type",String)],e.prototype,"welcomeMessage",void 0),l([o.Input(),i("design:type",String)],e.prototype,"prompt",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Input(),i("design:type",String),i("design:paramtypes",[String])],e.prototype,"response",null),l([o.Component({selector:"p-terminal",template:'\n
    \n
    {{welcomeMessage}}
    \n
    \n
    \n {{prompt}}\n {{command.text}}\n
    {{command.response}}
    \n
    \n
    \n
    \n {{prompt}}\n \n
    \n
    \n '})],e)}());t.Terminal=s,t.TerminalModule=function(){return l([o.NgModule({imports:[u.CommonModule,r.FormsModule],exports:[s],declarations:[s]})],function(){})}()},AxiF:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var l=n("mrSG"),i=n("FFOo"),o=n("b7mW"),r=n("G5J1");function u(e){return function(t){return 0===e?Object(r.b)():t.lift(new a(e))}}var a=function(){function e(e){if(this.total=e,this.total<0)throw new o.a}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.total))},e}(),s=function(e){function t(t,n){var l=e.call(this,t)||this;return l.total=n,l.ring=new Array,l.count=0,l}return l.__extends(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,l=this.count++;t.length0)for(var n=this.count>=this.total?this.total:this.count,l=this.ring,i=0;it.cursorCoords(n,"window").top&&((h=l).style.opacity=.4)}))};!function(e,t,n,l,i){e.openDialog(t,f,{value:s,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){d(e)},onKeyDown:i})}(t,p(t),0,0,function(l,i){var o=e.keyName(l),r=t.getOption("extraKeys"),u=r&&r[o]||e.keyMap[t.getOption("keyMap")][o];"findNext"==u||"findPrev"==u||"findPersistentNext"==u||"findPersistentPrev"==u?(e.e_stop(l),a(t,n(t),i),t.execCommand(u)):"find"!=u&&"findPersistent"!=u||(e.e_stop(l),f(i,l))}),r&&s&&(a(t,u,s),c(t,l))}else o(t,p(t),"Search for:",s,function(e){e&&!u.query&&t.operation(function(){a(t,u,e),u.posFrom=u.posTo=t.getCursor(),c(t,l)})})}function c(t,l,o){t.operation(function(){var r=n(t),u=i(t,r.query,l?r.posFrom:r.posTo);(u.find(l)||(u=i(t,r.query,l?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(l))&&(t.setSelection(u.from(),u.to()),t.scrollIntoView({from:u.from(),to:u.to()},20),r.posFrom=u.from(),r.posTo=u.to(),o&&o(u.from(),u.to()))})}function d(e){e.operation(function(){var t=n(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))})}function p(e){return''+e.phrase("Search:")+' '+e.phrase("(Use /re/ syntax for regexp search)")+""}function h(e,t,n){e.operation(function(){for(var l=i(e,t);l.findNext();)if("string"!=typeof t){var o=e.getRange(l.from(),l.to()).match(t);l.replace(n.replace(/\$(\d)/g,function(e,t){return o[t]}))}else l.replace(n)})}function f(e,t){if(!e.getOption("readOnly")){var l=e.getSelection()||n(e).lastQuery,a=''+e.phrase(t?"Replace all:":"Replace:")+"";o(e,a+function(e){return' '+e.phrase("(Use /re/ syntax for regexp search)")+""}(e),a,l,function(n){n&&(n=u(n),o(e,function(e){return''+e.phrase("With:")+' '}(e),e.phrase("Replace with:"),"",function(l){if(l=r(l),t)h(e,n,l);else{d(e);var o=i(e,n,e.getCursor("from")),u=function(){var t,r=o.from();!(t=o.findNext())&&(o=i(e,n),!(t=o.findNext())||r&&o.from().line==r.line&&o.from().ch==r.ch)||(e.setSelection(o.from(),o.to()),e.scrollIntoView({from:o.from(),to:o.to()}),function(e,t,n,l){e.openConfirm?e.openConfirm(t,l):confirm(n)&&l[0]()}(e,function(e){return''+e.phrase("Replace?")+" "}(e),e.phrase("Replace?"),[function(){a(t)},u,function(){h(e,n,l)}]))},a=function(e){o.replace("string"==typeof n?l:l.replace(/\$(\d)/g,function(t,n){return e[n]})),u()};u()}}))})}}e.commands.find=function(e){d(e),s(e)},e.commands.findPersistent=function(e){d(e),s(e,!1,!0)},e.commands.findPersistentNext=function(e){s(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){s(e,!0,!0,!0)},e.commands.findNext=s,e.commands.findPrev=function(e){s(e,!0)},e.commands.clearSearch=d,e.commands.replace=f,e.commands.replaceAll=function(e){f(e,!0)}}(n("VrN/"),n("uTOq"),n("Ku0u"))},CC75:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("7LN8"),a=n("ZYCi"),s=function(){function e(){}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"item":default:e.itemTemplate=t.template}})},e.prototype.itemClick=function(e,t){t.disabled?e.preventDefault():(t.url||e.preventDefault(),t.command&&t.command({originalEvent:e,item:t}),this.activeItem=t)},l([o.Input(),i("design:type",Array)],e.prototype,"model",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"activeItem",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"popup",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.ContentChildren(u.PrimeTemplate),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.Component({selector:"p-tabMenu",template:'\n \n '})],e)}();t.TabMenu=s,t.TabMenuModule=function(){return l([o.NgModule({imports:[r.CommonModule,a.RouterModule],exports:[s,a.RouterModule],declarations:[s]})],function(){})}()},CS9Q:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var l=n("mrSG"),i=n("siIJ"),o=function(e){function t(n,l){void 0===l&&(l=i.a.now);var o=e.call(this,n,function(){return t.delegate&&t.delegate!==o?t.delegate.now():l()})||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return l.__extends(t,e),t.prototype.schedule=function(n,l,i){return void 0===l&&(l=0),t.delegate&&t.delegate!==this?t.delegate.schedule(n,l,i):e.prototype.schedule.call(this,n,l,i)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(i.a)},CcnG:function(e,t,n){"use strict";n.r(t),n.d(t,"\u0275angular_packages_core_core_t",function(){return Xf}),n.d(t,"\u0275angular_packages_core_core_q",function(){return Yf}),n.d(t,"\u0275angular_packages_core_core_r",function(){return Zf}),n.d(t,"\u0275angular_packages_core_core_s",function(){return Qf}),n.d(t,"\u0275angular_packages_core_core_h",function(){return Zp}),n.d(t,"\u0275angular_packages_core_core_o",function(){return Df}),n.d(t,"\u0275angular_packages_core_core_p",function(){return Pf}),n.d(t,"\u0275angular_packages_core_core_n",function(){return mf}),n.d(t,"\u0275angular_packages_core_core_m",function(){return gf}),n.d(t,"\u0275angular_packages_core_core_c",function(){return hu}),n.d(t,"\u0275angular_packages_core_core_d",function(){return kt}),n.d(t,"\u0275angular_packages_core_core_e",function(){return $p}),n.d(t,"\u0275angular_packages_core_core_f",function(){return Np}),n.d(t,"\u0275angular_packages_core_core_g",function(){return Vp}),n.d(t,"\u0275angular_packages_core_core_l",function(){return od}),n.d(t,"\u0275angular_packages_core_core_u",function(){return Sh}),n.d(t,"\u0275angular_packages_core_core_w",function(){return Ch}),n.d(t,"\u0275angular_packages_core_core_v",function(){return bh}),n.d(t,"\u0275angular_packages_core_core_z",function(){return xh}),n.d(t,"\u0275angular_packages_core_core_x",function(){return wh}),n.d(t,"\u0275angular_packages_core_core_y",function(){return _h}),n.d(t,"\u0275angular_packages_core_core_bc",function(){return Tn}),n.d(t,"\u0275angular_packages_core_core_bj",function(){return h}),n.d(t,"\u0275angular_packages_core_core_bd",function(){return Qt}),n.d(t,"\u0275angular_packages_core_core_be",function(){return Jt}),n.d(t,"\u0275angular_packages_core_core_bf",function(){return vn}),n.d(t,"\u0275angular_packages_core_core_bi",function(){return ii}),n.d(t,"\u0275angular_packages_core_core_bm",function(){return Qe}),n.d(t,"\u0275angular_packages_core_core_i",function(){return da}),n.d(t,"\u0275angular_packages_core_core_j",function(){return pa}),n.d(t,"\u0275angular_packages_core_core_k",function(){return ha}),n.d(t,"\u0275angular_packages_core_core_a",function(){return D}),n.d(t,"\u0275angular_packages_core_core_b",function(){return R}),n.d(t,"\u0275angular_packages_core_core_bk",function(){return s}),n.d(t,"\u0275angular_packages_core_core_ba",function(){return qm}),n.d(t,"\u0275angular_packages_core_core_bb",function(){return sg}),n.d(t,"createPlatform",function(){return Gh}),n.d(t,"assertPlatform",function(){return qh}),n.d(t,"destroyPlatform",function(){return Kh}),n.d(t,"getPlatform",function(){return Yh}),n.d(t,"PlatformRef",function(){return Zh}),n.d(t,"ApplicationRef",function(){return Xh}),n.d(t,"createPlatformFactory",function(){return Wh}),n.d(t,"NgProbeToken",function(){return $h}),n.d(t,"enableProdMode",function(){return Ha}),n.d(t,"isDevMode",function(){return ja}),n.d(t,"APP_ID",function(){return Yp}),n.d(t,"PACKAGE_ROOT_URL",function(){return nh}),n.d(t,"PLATFORM_INITIALIZER",function(){return Jp}),n.d(t,"PLATFORM_ID",function(){return eh}),n.d(t,"APP_BOOTSTRAP_LISTENER",function(){return th}),n.d(t,"APP_INITIALIZER",function(){return qp}),n.d(t,"ApplicationInitStatus",function(){return Kp}),n.d(t,"DebugElement",function(){return Tf}),n.d(t,"DebugNode",function(){return Of}),n.d(t,"asNativeElements",function(){return vf}),n.d(t,"getDebugNode",function(){return Ef}),n.d(t,"Testability",function(){return Fh}),n.d(t,"TestabilityRegistry",function(){return Vh}),n.d(t,"setTestabilityGetter",function(){return jh}),n.d(t,"TRANSLATIONS",function(){return Wf}),n.d(t,"TRANSLATIONS_FORMAT",function(){return qf}),n.d(t,"LOCALE_ID",function(){return Gf}),n.d(t,"MissingTranslationStrategy",function(){return Kf}),n.d(t,"ApplicationModule",function(){return Jf}),n.d(t,"wtfCreateScope",function(){return Ih}),n.d(t,"wtfLeave",function(){return Oh}),n.d(t,"wtfStartTimeRange",function(){return Th}),n.d(t,"wtfEndTimeRange",function(){return Dh}),n.d(t,"Type",function(){return sd}),n.d(t,"EventEmitter",function(){return gc}),n.d(t,"ErrorHandler",function(){return Sp}),n.d(t,"Sanitizer",function(){return Oa}),n.d(t,"SecurityContext",function(){return Ia}),n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return k}),n.d(t,"Attribute",function(){return N}),n.d(t,"ContentChild",function(){return A}),n.d(t,"ContentChildren",function(){return L}),n.d(t,"Query",function(){return M}),n.d(t,"ViewChild",function(){return F}),n.d(t,"ViewChildren",function(){return P}),n.d(t,"Component",function(){return Ud}),n.d(t,"Directive",function(){return zd}),n.d(t,"HostBinding",function(){return Kd}),n.d(t,"HostListener",function(){return Yd}),n.d(t,"Input",function(){return Wd}),n.d(t,"Output",function(){return qd}),n.d(t,"Pipe",function(){return $d}),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",function(){return op}),n.d(t,"NO_ERRORS_SCHEMA",function(){return rp}),n.d(t,"NgModule",function(){return up}),n.d(t,"ViewEncapsulation",function(){return le}),n.d(t,"Version",function(){return Ta}),n.d(t,"VERSION",function(){return Da}),n.d(t,"defineInjectable",function(){return b}),n.d(t,"defineInjector",function(){return C}),n.d(t,"forwardRef",function(){return Q}),n.d(t,"resolveForwardRef",function(){return X}),n.d(t,"Injectable",function(){return gp}),n.d(t,"INJECTOR",function(){return pu}),n.d(t,"Injector",function(){return fu}),n.d(t,"inject",function(){return Nt}),n.d(t,"\u0275inject",function(){return Nt}),n.d(t,"InjectFlags",function(){return Ot}),n.d(t,"ReflectiveInjector",function(){return Up}),n.d(t,"createInjector",function(){return Au}),n.d(t,"ResolvedReflectiveFactory",function(){return Ap}),n.d(t,"ReflectiveKey",function(){return Dp}),n.d(t,"InjectionToken",function(){return x}),n.d(t,"Inject",function(){return _t}),n.d(t,"Optional",function(){return xt}),n.d(t,"Self",function(){return St}),n.d(t,"SkipSelf",function(){return Et}),n.d(t,"Host",function(){return It}),n.d(t,"NgZone",function(){return Rh}),n.d(t,"\u0275NoopNgZone",function(){return Ph}),n.d(t,"RenderComponentType",function(){return va}),n.d(t,"Renderer",function(){return ba}),n.d(t,"Renderer2",function(){return xa}),n.d(t,"RendererFactory2",function(){return wa}),n.d(t,"RendererStyleFlags2",function(){return _a}),n.d(t,"RootRenderer",function(){return Ca}),n.d(t,"COMPILER_OPTIONS",function(){return vh}),n.d(t,"Compiler",function(){return mh}),n.d(t,"CompilerFactory",function(){return yh}),n.d(t,"ModuleWithComponentFactories",function(){return ih}),n.d(t,"ComponentFactory",function(){return Qu}),n.d(t,"\u0275ComponentFactory",function(){return Qu}),n.d(t,"ComponentRef",function(){return Zu}),n.d(t,"ComponentFactoryResolver",function(){return ia}),n.d(t,"ElementRef",function(){return fa}),n.d(t,"NgModuleFactory",function(){return aa}),n.d(t,"NgModuleRef",function(){return ua}),n.d(t,"NgModuleFactoryLoader",function(){return td}),n.d(t,"getModuleFactory",function(){return ud}),n.d(t,"QueryList",function(){return ef}),n.d(t,"SystemJsNgModuleLoader",function(){return lf}),n.d(t,"SystemJsNgModuleLoaderConfig",function(){return tf}),n.d(t,"TemplateRef",function(){return mc}),n.d(t,"ViewContainerRef",function(){return rf}),n.d(t,"EmbeddedViewRef",function(){return hf}),n.d(t,"ViewRef",function(){return pf}),n.d(t,"ChangeDetectionStrategy",function(){return V}),n.d(t,"ChangeDetectorRef",function(){return sf}),n.d(t,"DefaultIterableDiffer",function(){return kf}),n.d(t,"IterableDiffers",function(){return jf}),n.d(t,"KeyValueDiffers",function(){return Hf}),n.d(t,"SimpleChange",function(){return cl}),n.d(t,"WrappedValue",function(){return sl}),n.d(t,"platformCore",function(){return $f}),n.d(t,"\u0275ALLOW_MULTIPLE_PLATFORMS",function(){return Uh}),n.d(t,"\u0275APP_ID_RANDOM_PROVIDER",function(){return Qp}),n.d(t,"\u0275defaultIterableDiffers",function(){return zf}),n.d(t,"\u0275defaultKeyValueDiffers",function(){return Uf}),n.d(t,"\u0275devModeEqual",function(){return al}),n.d(t,"\u0275isListLikeIterable",function(){return dl}),n.d(t,"\u0275ChangeDetectorStatus",function(){return j}),n.d(t,"\u0275isDefaultChangeDetectionStrategy",function(){return H}),n.d(t,"\u0275Console",function(){return lh}),n.d(t,"\u0275getInjectableDef",function(){return w}),n.d(t,"\u0275setCurrentInjector",function(){return Dt}),n.d(t,"\u0275APP_ROOT",function(){return Du}),n.d(t,"\u0275ivyEnabled",function(){return tg}),n.d(t,"\u0275CodegenComponentFactoryResolver",function(){return oa}),n.d(t,"\u0275resolveComponentResources",function(){return J}),n.d(t,"\u0275ReflectionCapabilities",function(){return fd}),n.d(t,"\u0275RenderDebugInfo",function(){return ya}),n.d(t,"\u0275_sanitizeHtml",function(){return as}),n.d(t,"\u0275_sanitizeStyle",function(){return Wc}),n.d(t,"\u0275_sanitizeUrl",function(){return $a}),n.d(t,"\u0275global",function(){return U}),n.d(t,"\u0275looseIdentical",function(){return K}),n.d(t,"\u0275stringify",function(){return Y}),n.d(t,"\u0275makeDecorator",function(){return O}),n.d(t,"\u0275isObservable",function(){return Wp}),n.d(t,"\u0275isPromise",function(){return Gp}),n.d(t,"\u0275clearOverrides",function(){return Dy}),n.d(t,"\u0275initServicesIfNeeded",function(){return $v}),n.d(t,"\u0275overrideComponentView",function(){return Ty}),n.d(t,"\u0275overrideProvider",function(){return Oy}),n.d(t,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return ev}),n.d(t,"\u0275defineBase",function(){return pe}),n.d(t,"\u0275defineComponent",function(){return ue}),n.d(t,"\u0275defineDirective",function(){return he}),n.d(t,"\u0275definePipe",function(){return fe}),n.d(t,"\u0275defineNgModule",function(){return ce}),n.d(t,"\u0275detectChanges",function(){return mr}),n.d(t,"\u0275renderComponent",function(){return Zr}),n.d(t,"\u0275Render3ComponentFactory",function(){return Aa}),n.d(t,"\u0275Render3ComponentRef",function(){return Pa}),n.d(t,"\u0275directiveInject",function(){return Pr}),n.d(t,"\u0275injectAttribute",function(){return Fr}),n.d(t,"\u0275getFactoryOf",function(){return Fn}),n.d(t,"\u0275getInheritedFactory",function(){return Vn}),n.d(t,"\u0275templateRefExtractor",function(){return Ac}),n.d(t,"\u0275ProvidersFeature",function(){return Yu}),n.d(t,"\u0275InheritDefinitionFeature",function(){return lu}),n.d(t,"\u0275NgOnChangesFeature",function(){return ru}),n.d(t,"\u0275LifecycleHooksFeature",function(){return eu}),n.d(t,"\u0275Render3NgModuleRef",function(){return Ks}),n.d(t,"\u0275markDirty",function(){return Cr}),n.d(t,"\u0275NgModuleFactory",function(){return Ys}),n.d(t,"\u0275NO_CHANGE",function(){return fl}),n.d(t,"\u0275container",function(){return lr}),n.d(t,"\u0275nextContext",function(){return po}),n.d(t,"\u0275elementStart",function(){return _o}),n.d(t,"\u0275namespaceHTML",function(){return yo}),n.d(t,"\u0275namespaceMathML",function(){return vo}),n.d(t,"\u0275namespaceSVG",function(){return mo}),n.d(t,"\u0275element",function(){return bo}),n.d(t,"\u0275listener",function(){return Do}),n.d(t,"\u0275text",function(){return Go}),n.d(t,"\u0275embeddedViewStart",function(){return ur}),n.d(t,"\u0275query",function(){return Mc}),n.d(t,"\u0275registerContentQuery",function(){return Vr}),n.d(t,"\u0275projection",function(){return dr}),n.d(t,"\u0275bind",function(){return wr}),n.d(t,"\u0275interpolation1",function(){return Sr}),n.d(t,"\u0275interpolation2",function(){return Er}),n.d(t,"\u0275interpolation3",function(){return Ir}),n.d(t,"\u0275interpolation4",function(){return Or}),n.d(t,"\u0275interpolation5",function(){return Tr}),n.d(t,"\u0275interpolation6",function(){return Dr}),n.d(t,"\u0275interpolation7",function(){return Rr}),n.d(t,"\u0275interpolation8",function(){return kr}),n.d(t,"\u0275interpolationV",function(){return xr}),n.d(t,"\u0275pipeBind1",function(){return ac}),n.d(t,"\u0275pipeBind2",function(){return sc}),n.d(t,"\u0275pipeBind3",function(){return cc}),n.d(t,"\u0275pipeBind4",function(){return dc}),n.d(t,"\u0275pipeBindV",function(){return pc}),n.d(t,"\u0275pureFunction0",function(){return Qs}),n.d(t,"\u0275pureFunction1",function(){return Xs}),n.d(t,"\u0275pureFunction2",function(){return Js}),n.d(t,"\u0275pureFunction3",function(){return ec}),n.d(t,"\u0275pureFunction4",function(){return tc}),n.d(t,"\u0275pureFunction5",function(){return nc}),n.d(t,"\u0275pureFunction6",function(){return lc}),n.d(t,"\u0275pureFunction7",function(){return ic}),n.d(t,"\u0275pureFunction8",function(){return oc}),n.d(t,"\u0275pureFunctionV",function(){return rc}),n.d(t,"\u0275getCurrentView",function(){return Br}),n.d(t,"\u0275getHostElement",function(){return tl}),n.d(t,"\u0275restoreView",function(){return Xt}),n.d(t,"\u0275containerRefreshStart",function(){return or}),n.d(t,"\u0275containerRefreshEnd",function(){return rr}),n.d(t,"\u0275queryRefresh",function(){return Lc}),n.d(t,"\u0275loadQueryList",function(){return Lr}),n.d(t,"\u0275elementEnd",function(){return Ro}),n.d(t,"\u0275elementProperty",function(){return No}),n.d(t,"\u0275componentHostSyntheticProperty",function(){return Mo}),n.d(t,"\u0275projectionDef",function(){return sr}),n.d(t,"\u0275reference",function(){return Mr}),n.d(t,"\u0275enableBindings",function(){return Yt}),n.d(t,"\u0275disableBindings",function(){return Zt}),n.d(t,"\u0275allocHostVars",function(){return _r}),n.d(t,"\u0275elementAttribute",function(){return ko}),n.d(t,"\u0275elementContainerStart",function(){return Co}),n.d(t,"\u0275elementContainerEnd",function(){return wo}),n.d(t,"\u0275elementStyling",function(){return jo}),n.d(t,"\u0275elementHostAttrs",function(){return Ho}),n.d(t,"\u0275elementStylingMap",function(){return $o}),n.d(t,"\u0275elementStyleProp",function(){return zo}),n.d(t,"\u0275elementStylingApply",function(){return Bo}),n.d(t,"\u0275elementClassProp",function(){return Uo}),n.d(t,"\u0275textBinding",function(){return Wo}),n.d(t,"\u0275template",function(){return nr}),n.d(t,"\u0275embeddedViewEnd",function(){return ar}),n.d(t,"\u0275store",function(){return Nr}),n.d(t,"\u0275load",function(){return Ar}),n.d(t,"\u0275pipe",function(){return uc}),n.d(t,"\u0275whenRendered",function(){return tu}),n.d(t,"\u0275i18n",function(){return Ps}),n.d(t,"\u0275i18nAttributes",function(){return Fs}),n.d(t,"\u0275i18nExp",function(){return Hs}),n.d(t,"\u0275i18nStart",function(){return Rs}),n.d(t,"\u0275i18nEnd",function(){return Ms}),n.d(t,"\u0275i18nApply",function(){return Bs}),n.d(t,"\u0275i18nPostprocess",function(){return Ns}),n.d(t,"\u0275setClassMetadata",function(){return Zs}),n.d(t,"\u0275compileComponent",function(){return Ld}),n.d(t,"\u0275compileDirective",function(){return Ad}),n.d(t,"\u0275compileNgModule",function(){return Ed}),n.d(t,"\u0275compileNgModuleDefs",function(){return Id}),n.d(t,"\u0275patchComponentDefWithScope",function(){return Dd}),n.d(t,"\u0275resetCompiledComponents",function(){return Od}),n.d(t,"\u0275compilePipe",function(){return Bd}),n.d(t,"\u0275sanitizeHtml",function(){return qc}),n.d(t,"\u0275sanitizeStyle",function(){return Kc}),n.d(t,"\u0275defaultStyleSanitizer",function(){return Xc}),n.d(t,"\u0275sanitizeScript",function(){return Qc}),n.d(t,"\u0275sanitizeUrl",function(){return Yc}),n.d(t,"\u0275sanitizeResourceUrl",function(){return Zc}),n.d(t,"\u0275bypassSanitizationTrustHtml",function(){return Vc}),n.d(t,"\u0275bypassSanitizationTrustStyle",function(){return jc}),n.d(t,"\u0275bypassSanitizationTrustScript",function(){return Hc}),n.d(t,"\u0275bypassSanitizationTrustUrl",function(){return Bc}),n.d(t,"\u0275bypassSanitizationTrustResourceUrl",function(){return zc}),n.d(t,"\u0275getLContext",function(){return jn}),n.d(t,"\u0275bindPlayerFactory",function(){return li}),n.d(t,"\u0275addPlayer",function(){return $r}),n.d(t,"\u0275getPlayers",function(){return Gr}),n.d(t,"\u0275compileNgModuleFactory__POST_R3__",function(){return zh}),n.d(t,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",function(){return Zd}),n.d(t,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",function(){return Qd}),n.d(t,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",function(){return Xd}),n.d(t,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",function(){return ap}),n.d(t,"\u0275getDebugNode__POST_R3__",function(){return Sf}),n.d(t,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",function(){return mp}),n.d(t,"\u0275SWITCH_IVY_ENABLED__POST_R3__",function(){return eg}),n.d(t,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",function(){return cf}),n.d(t,"\u0275Compiler_compileModuleSync__POST_R3__",function(){return ah}),n.d(t,"\u0275Compiler_compileModuleAsync__POST_R3__",function(){return ch}),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsSync__POST_R3__",function(){return ph}),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsAsync__POST_R3__",function(){return fh}),n.d(t,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",function(){return ga}),n.d(t,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",function(){return vc}),n.d(t,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",function(){return uf}),n.d(t,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",function(){return Sa}),n.d(t,"\u0275getModuleFactory__POST_R3__",function(){return rd}),n.d(t,"\u0275publishGlobalUtil",function(){return Yr}),n.d(t,"\u0275publishDefaultGlobalUtils",function(){return Kr}),n.d(t,"\u0275SWITCH_INJECTOR_FACTORY__POST_R3__",function(){return gu}),n.d(t,"\u0275registerModuleFactory",function(){return ld}),n.d(t,"\u0275EMPTY_ARRAY",function(){return Qg}),n.d(t,"\u0275EMPTY_MAP",function(){return Xg}),n.d(t,"\u0275and",function(){return Jg}),n.d(t,"\u0275ccf",function(){return bm}),n.d(t,"\u0275cmf",function(){return Ry}),n.d(t,"\u0275crt",function(){return Cg}),n.d(t,"\u0275did",function(){return $m}),n.d(t,"\u0275eld",function(){return em}),n.d(t,"\u0275elementEventFullName",function(){return kg}),n.d(t,"\u0275getComponentViewDefinitionFactory",function(){return Cm}),n.d(t,"\u0275inlineInterpolate",function(){return Yg}),n.d(t,"\u0275interpolate",function(){return Kg}),n.d(t,"\u0275mod",function(){return cm}),n.d(t,"\u0275mpd",function(){return sm}),n.d(t,"\u0275ncd",function(){return pv}),n.d(t,"\u0275nov",function(){return km}),n.d(t,"\u0275pid",function(){return Gm}),n.d(t,"\u0275prd",function(){return Wm}),n.d(t,"\u0275pad",function(){return gv}),n.d(t,"\u0275pod",function(){return mv}),n.d(t,"\u0275ppd",function(){return fv}),n.d(t,"\u0275qud",function(){return uv}),n.d(t,"\u0275ted",function(){return yv}),n.d(t,"\u0275unv",function(){return vg}),n.d(t,"\u0275vid",function(){return wv});var l=n("mrSG"),i=n("pugT"),o=n("K9Ia"),r=n("6blF"),u=n("p0ib"),a=n("S1nX");function s(e){for(var t in e)if(e[t]===s)return t;throw Error("Could not find renamed property on target object.")}function c(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}var d=s({ngComponentDef:s}),p=s({ngDirectiveDef:s}),h=s({ngInjectableDef:s}),f=s({ngInjectorDef:s}),g=s({ngPipeDef:s}),m=s({ngModuleDef:s}),v=s({ngBaseDef:s}),y=s({__NG_ELEMENT_ID__:s});function b(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function C(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function w(e){return e&&e.hasOwnProperty(h)?e[h]:null}function _(e){return e&&e.hasOwnProperty(f)?e[f]:null}var x=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?b({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),S="__annotations__",E="__parameters__",I="__prop__metadata__";function O(e,t,n,i,o){var r=T(t);function u(){for(var e,t=[],n=0;n=Fe?n:n[Se]}function lt(e){return 0!=(4&e.flags)}function it(e){return 1==(1&e.flags)}function ot(e){return null!==e.template}function rt(e){return Array.isArray(e)&&e.length===ze}function ut(e){return 0!=(128&e[Ce])}function at(e){for(var t=Array.isArray(e)?e:dt(e);t&&!(128&t[Ce]);)t=t[we];return t}function st(e){return at(e)[Te]}function ct(e){return e[Ue]}function dt(e){var t=ct(e);return t?Array.isArray(t)?t:t.lView:null}function pt(e){return e!==qe}function ht(e){return 32767&e}function ft(e){return e>>16}function gt(e,t){for(var n=ft(e),l=t;n>0;)l=l[Pe],n--;return l}var mt=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(U);function vt(e,t){for(var n=0;n0;)t=t[Pe],e--;return t}(e,rn))[Te]}function yn(e){var t=Wt[be];on(Wt)?Wt[Ce]&=-2:(Bt(Wt,t.viewHooks,t.viewCheckHooks,un),Wt[Ce]&=-11,Wt[Ce]|=32,Wt[Ie]=t.bindingStartIndex),mn(e,null)}var bn=!0;function Cn(e){var t=bn;return bn=e,t}var wn=255,_n=0;function xn(e,t){var n=En(e,t);if(-1!==n)return n;var l=t[be];l.firstTemplatePass&&(e.injectorIndex=t.length,Sn(l.data,e),Sn(t,null),Sn(l.blueprint,null));var i=In(e,t),o=ht(i),r=gt(i,t),u=e.injectorIndex;if(pt(i))for(var a=r[be].data,s=0;s<8;s++)t[u+s]=r[o+s]|a[o+s];return t[u+Ge]=i,u}function Sn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function En(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+Ge]?-1:e.injectorIndex}function In(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[Ee],l=1;n&&-1===n.injectorIndex;)n=(t=t[Pe])?t[Ee]:null,l++;return n?n.injectorIndex|l<<16:-1}function On(e,t,n){!function(e,t,n){var l="string"!=typeof n?n[y]:n.charCodeAt(0)||0;null==l&&(l=n[y]=_n++);var i=l&wn,o=1<>16,c=i?u+s:e.directiveEnd,d=l?u:u+s;d=a&&p.type===n)return d}if(i){var h=r[a];if(h&&ot(h)&&h.type===n)return a}return null}function Mn(e,t,n,l){var i,o=t[n];if(null!=(i=o)&&"object"==typeof i&&Object.getPrototypeOf(i)==Ye){var r=o;if(r.resolving)throw new Error("Circular dep for "+Ze(e[n]));var u=Cn(r.canSeeViewProviders);r.resolving=!0;var a=void 0;r.injectImpl&&(a=Rt(r.injectImpl));var s=Jt(),c=Qt();tn(l,t);try{o=t[n]=r.factory(null,e,t,l)}finally{r.injectImpl&&Rt(a),Cn(u),r.resolving=!1,tn(s,c)}}return o}function Ln(e,t,n){var l=64&e,i=32&e;return!!((128&e?l?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:l?i?n[t+3]:n[t+2]:i?n[t+1]:n[t])&1<=0){var f;zn(f=Xe(l[h]),a=Hn(l,h,f)),n=a;break}}}return n||null}function Hn(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Bn(e){var t,n=ct(e);if(Array.isArray(n)){var l=Gn(n,e);(i=Hn(n,l,(t=nt(l,n))[Se])).component=e,zn(e,i),zn(i.native,i)}else{var i;t=nt((i=n).nodeIndex,i.lView)}return t}function zn(e,t){e[Ue]=t}function Un(e,t){for(var n=e[be].firstChild;n;){if(et(n,e)===t)return n.index;n=$n(n)}return-1}function $n(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Gn(e,t){var n=e[be].components;if(n)for(var l=0;l=0)&&null})}}return i.sort(ol),i}function ol(e,t){return e.name==t.name?0:e.name-1?t[we][n]:null}return t[we][e.parent.index]}function Tl(e,t){var n=Ol(e,t);return n?n[Be]:null}var Dl=[];function Rl(e,t,n,l,i){for(var o=e[be].node,r=-1,u=e,a=o.child;a;){var s=null;if(3===a.type){kl(t,n,l,et(a,u),i);var c=u[a.index];rt(c)&&kl(t,n,l,c[He],i)}else if(0===a.type){var d=u[a.index];kl(t,n,l,d[He],i),l&&(d[Be]=l),d[je].length&&(s=(u=d[je][0])[be].node,i=d[He])}else if(1===a.type){var p=yt(u),h=p[Ee].projection[a.projection];Dl[++r]=a,Dl[++r]=u,h&&(s=(u=p[we])[be].data[h.index])}else s=a.child;if(null===s)for(null===a.next&&2&a.flags&&(u=Dl[r--],a=Dl[r--]),s=a.next;!s;){if(null===(a=a.parent||u[be].node)||a===o)return null;0===a.type&&(i=(u=u[we])[a.index][He]),s=2===a.type&&u[_e]?(u=u[_e])[be].node:a.next}a=s}}function kl(e,t,n,l,i){0===e?xl(t)?t.insertBefore(n,l,i):n.insertBefore(l,i,!0):1===e?xl(t)?t.removeChild(n,l):n.removeChild(l):2===e&&t.destroyNode(l)}function Nl(e,t){return xl(t)?t.createText(Ze(e)):t.createTextNode(Ze(e))}function Ml(e,t,n){var l=Tl(e[be].node,e);l&&Rl(e,t?0:1,e[ke],l,n)}function Ll(e,t,n,l,i){var o=t[je];l>0&&(o[l-1][_e]=e),l-1&&(e[Le]=i,e[we]=n),e[xe]&&e[xe].insertView(l),e[Ce]|=16}function Al(e,t,n){var l=e[je],i=l[t];return t>0&&(l[t-1][_e]=i[_e]),l.splice(t,1),n||Ml(i,!1),i[xe]&&i[xe].removeView(),i[Le]=-1,i[we]=null,i[Ce]&=-17,i}function Pl(e,t,n){var l=e[je][n];Al(e,n,!!t.detached),Vl(l)}function Fl(e){var t=e[be].childIndex;return-1===t?null:e[t]}function Vl(e){var t=e[ke];xl(t)&&t.destroyNode&&Rl(e,2,t,null),function(e){if(-1===e[be].childIndex)return Hl(e);for(var t=Fl(e);t;){var n=null;if(t.length>=Fe?t[be].childIndex>-1&&(n=Fl(t)):t[je].length&&(n=t[je][0]),null==n){for(;t&&!t[_e]&&t!==e;)Hl(t),t=jl(t,e);Hl(t||e),n=t&&t[_e]}t=n}}(e),e[Ce]|=64}function jl(e,t){var n;return e.length>=Fe&&(n=e[Ee])&&2===n.type?Ol(n,e):e[we]===t?null:e[we]}function Hl(e){if(e.length>=Fe){var t=e;!function(e){var t,n=e[be];null!=n&&null!=(t=n.destroyHooks)&&zt(e,t)}(t),(i=(l=t)[be]&&l[be].pipeDestroyHooks)&&zt(l,i),function(e){var t=e[be].cleanup;if(null!=t){for(var n=e[Oe],l=0;l=0?n[r]():n[-r].unsubscribe(),l+=2}else"number"==typeof t[l]?(0,n[t[l]])():t[l].call(n[t[l+1]]);e[Oe]=null}}(t);var n=t[Ee];n&&3===n.type&&xl(t[ke])&&t[ke].destroy()}var l,i}function Bl(e,t){if(zl(e,t)){if(ut(t))return $l(t[ke],et(e,t));var n=t[Ee],l=e.parent;return null!=l&&4===l.type&&(e=Wl(l)),null==e.parent&&2===n.type?Tl(n,t):El(e,t)}return null}function zl(e,t){var n,l=e,i=e.parent;return e.parent&&(4===e.parent.type?i=(l=Wl(e)).parent:5===e.parent.type&&(i=(l=Il(l)).parent)),null===i&&(i=t[Ee]),i&&2===i.type?null!=(n=Ol(i,t))&&null!=n[Be]:null==l.parent||!(3!==l.parent.type||1&l.parent.flags)}function Ul(e,t,n,l){xl(e)?e.insertBefore(t,n,l):t.insertBefore(n,l,!0)}function $l(e,t){return xl(e)?e.parentNode(t):t.parentNode}function Gl(e,t,n){if(void 0===e&&(e=null),null!==e&&zl(t,n)){var l=n[ke],i=El(t,n),o=t.parent||n[Ee];if(2===o.type){var r=Ol(o,n),u=r[je],a=u.indexOf(n);Ul(l,r[Be],e,ql(a,u,r[He]))}else 4===o.type?Ul(l,Bl(t,n),e,i):5===o.type?Ul(l,i,e,et(t.parent,n)):xl(l)?l.appendChild(i,e):i.appendChild(e);return!0}return!1}function Wl(e){for(;null!=e.parent&&4===e.parent.type;)e=e.parent;return e}function ql(e,t,n){if(e+1-1&&f>c?"":s[f+1],8&a&&(o=(l=g).length,u=(r=l.indexOf(i=m))+i.length,-1===r||r>0&&" "!==l[r-1]||u=9?t+0:t;n?e[l]|=1:e[l]&=-2}function _i(e,t){return 1==(1&e[t>=9?t+0:t])}function xi(e,t){return 2==(2&e[t>=9?t+0:t])}function Si(e,t){return 4==(4&e[t>=9?t+0:t])}function Ei(e,t,n){return 63&e|t<<6|n<<20}function Ii(e,t){var n=Oi(t);return(2&t?e[3]:e[2])[n]}function Oi(e){return e>>6&16383}function Ti(e){var t=e>>20&16383;return t>=9?t:-1}function Di(e){return Ti(e[0])}function Ri(e,t,n){e[t+1]=n}function ki(e,t,n){e[t+2]=n}function Ni(e,t,n){var l=e[8];if(t){if(!l||0===n)return!0}else if(!l)return!1;return l[n]!==t}function Mi(e,t,n){var l=e[8]||pi(e);return n>0?l[n]=t:(l.splice(n=l[0],0,t,null),l[0]+=2),n}function Li(e,t,n,l){var i=function(e,t){return n<<16|e}(l);e[t+3]=i}function Ai(e,t){return e[t+3]>>16&65535}function Pi(e,t){var n=Ai(e,t);if(n){var l=e[8];if(l)return l[n]}return null}function Fi(e,t,n){e[0===t?t:t+0]=n}function Vi(e,t){return e[0===t?t:t+0]}function ji(e,t){return e[t+2]}function Hi(e,t){return e[t+1]}function Bi(e){return 16&e[0]}function zi(e,t){wi(e,0,t)}function Ui(e,t){t?e[0]|=8:e[0]&=-9}function $i(e,t,n){for(var l=(n||0)+1;l=0&&Fi(e,s,Ei(c=Vi(e,s),Oi(c),n));var c,d=Ti(a);d>=0&&Fi(e,d,Ei(c=Vi(e,d),Oi(c),t)),ki(e,t,ji(e,n)),Ri(e,t,Hi(e,n)),Fi(e,t,Vi(e,n)),Li(e,t,Ai(e,n),0),ki(e,n,l),Ri(e,n,i),Fi(e,n,o),Li(e,n,r,0)}function Wi(e,t,n,l,i,o,r,u){var a=t0){var o=Oi(Vi(e,i));Fi(e,i,Ei((_i(e,i)?1:0)|(xi(e,i)?2:0)|(Si(e,i)?4:0),o,l))}}}(e)}function qi(e,t){return t?!!e:null!==e}function Ki(e,t,n,l){var i,o=l&&l(t)?4:0;return n?(o|=2,i=eo(e[3],t)):i=eo(e[2],t),Ei(o,i=i>0?i+1:0,0)}function Yi(e,t,n){return!(2&e)&&t&&n&&4&e?t.toString()!==n.toString():t!==n}var Zi=function(){function e(e,t,n){this._element=t,this._type=n,this._values={},this._dirty=!1,this._factory=e}return e.prototype.setValue=function(e,t){this._values[e]!==t&&(this._values[e]=t,this._dirty=!0)},e.prototype.buildPlayer=function(e,t){if(this._dirty){var n=this._factory.fn(this._element,this._type,this._values,t,e||null);return this._values={},this._dirty=!1,n}},e}();function Qi(e,t){return 65535&e[t+3]}function Xi(e,t){var n=Ji(e[1],t);return n>0?n/4:0}function Ji(e,t){for(var n=0;ni)for(var r=0===t,u=n.data,a=i;a=0)return-1;l=r/4,i[r+1]=o,i[r+3]=n||null}return l}(e,t,i);if(-1!==r){var u=e[4],a=u[1],s=u[0],c=4*s,d=9+c,p=d+4*a,h=p+c,f=u.length;u.push(l?l.length:0,n?n.length:0);var g=0,m=[];if(l&&l.length)for(var v=0;v=p,k=D>=(R?h:d),N=Vi(e,D),M=Oi(N),L=Ti(N);Fi(e,D,Ei(N,M,L+=R?k?4*m.length:0:4*T+4*(k?m.length:0)))}for(var A=0;A<4*m.length;A++)e.splice(h,0,null),e.splice(d,0,null),d++,p++,h+=2;for(var P=0;P<4*b.length;P++)e.splice(p,0,null),e.push(null),p++,h++;for(var F=e[3],V=e[2],j=0;j=m.length,B=H?j-m.length:j,z=H?b[B]:m[B],U=void 0,$=void 0;H?(U=h+4*(a+B),$=d+4*(a+B)):(U=p+4*(s+B),$=9+4*(s+B));var G=H?F:V,W=eo(G,z);-1===W?(W=G.length+1,G.push(z,!H&&null)):W+=1;var q=Ki(e,z,H,i||null);Fi(e,$,Ei(q,W,U)),Ri(e,$,z),ki(e,$,null),Li(e,$,0,r),Fi(e,U,Ei(q,W,$)),Ri(e,U,z),ki(e,U,null),Li(e,U,0,r)}u[1]=a+b.length,u[0]=s+m.length,Fi(e,0,Ei(0,0,p)|(o?16:0))}}}(i.stylingTemplate,l||null,e,t,n,hi(i))}function Ho(e,t){var n=Jt();n.stylingTemplate||(n.stylingTemplate=fi(t)),function(e,t,n){var l=e[1];if(-1==Ji(l,n)){l.push(n,-1,!1,null);for(var i=null,o=null,r=-1,u=0;u0&&fr(st(n),2)}function zo(e,t,n,l,i){var o=null;null!==n&&(o=l?Ze(n)+l:n),yi(ai(e+Fe,Qt()),t,o,!1,i)}function Uo(e,t,n,l){var i=n instanceof ii?n:!!n;yi(ai(e+Fe,Qt()),t,i,!0,l)}function $o(e,t,n,l){if(null!=l)return function(e,t,n,l){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var i=Qt(),o=tt(e,i),r=ai(e+Fe,i);if(hi(o)&&t!==fl){var u=lo(r);Fo(i,o.inputs.class,(u.length?u+" ":"")+t)}else!function(e,t,n,l){n=n||null;var i=Xi(e,null),o=e[5],r=t instanceof ii?new Zi(t,o,1):null,u=n instanceof ii?new Zi(n,o,2):null,a=r?t.value:t,s=u?n.value:n,c=Bi(e)||a===fl||a===e[6],d=s===fl||s===e[7];if(!c||!d){e[6]=a,e[7]=s;var p=oe,h=!1,f=!1,g=r?1:0;Ni(e,r,1)&&(Mi(e,r,1),f=!0);var m=u?3:0;Ni(e,u,3)&&(Mi(e,u,3),f=!0),c||("string"==typeof a?(p=a.split(/\s+/),h=!0):p=a?Object.keys(a):oe);for(var v=a||ie,y=s?Object.keys(s):oe,b=s||ie,C=y.length,w=!1,_=Di(e),x=0,S=y.length+p.length;_=C)&&!d||P&&!c){var E=P?x-C:x,I=P?p[E]:y[E],O=P?!!h||v[I]:b[I],T=P?g:m;if((F=Hi(e,_))===I){var D=ji(e,_),R=Vi(e,_);if(Li(e,_,T,i),Yi(R,D,O)){ki(e,_,O),f=f||!!T;var k=Ii(e,R);(null!=D||Yi(R,k,O))&&(wi(e,_,!0),w=!0)}}else{var N=$i(e,I,_);if(N>0){var M=ji(e,N),L=Vi(e,N);Gi(e,_,N),Yi(L,M,O)&&(k=Ii(e,L),ki(e,_,O),(null!=M||Yi(L,k,O))&&(wi(e,_,!0),f=f||!!T,w=!0))}else f=f||!!T,Wi(e,_,P,I,Ki(e,I,P,to(e,i)),O,i,T),w=!0}}_+=4,x++}for(;_=C)&&!d||P&&!c){E=P?x-C:x;var F=P?p[E]:y[E],V=(D=P?!!h||v[F]:b[F],R=1|Ki(e,F,P,A),T=P?g:m,e.length);e.push(R,F,D,0),Li(e,V,T,i),w=!0}x++}w&&(zi(e,!0),no(e,i,!0)),f&&Ui(e,!0)}}(r,t,n)}function Go(e,t){var n=Qt(),l=Nl(t,n[ke]),i=uo(e,3,l,null,null);ln(!1),Gl(l,i,n)}function Wo(e,t){if(t!==fl){var n=Qt(),l=Je(e,n),i=n[ke];xl(i)?i.setValue(l,Ze(t)):l.textContent=Ze(t)}}function qo(e,t,n){var l=-(t.index-Fe),i=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(l,i,n)}function Ko(e,t,n,l){var i=Jt();Yo(e,i,t,n),i&&i.attrs&&function(e,t,l,o){var r=i.initialInputs;(void 0===r||e>=r.length)&&(r=function(e,t,n){var l=n.initialInputs||(n.initialInputs=[]);l[e]=null;for(var i=n.attrs,o=0;o=o.length||null==o[e])&&(o[e]=Io(e,null,t,n,i.directiveRegistry,i.pipeRegistry,null)),o[e]}(e,t,n,o),null,4),r[xe]&&(u[xe]=r[xe].createView()),ao(e,u),mn(u,u[be].node)),r&&(on(u)&&Ll(u,r,l,r[Ve],-1),r[Ve]++),on(u)?3:2}function ar(){var e=Qt(),t=e[Ee];on(e)&&(oo(e),e[Ce]&=-2),oo(e),yn(e[we]),en(t),ln(!1)}function sr(e,t){var n=yt(Qt())[Ee];if(!n.projection)for(var l=n.projection=new Array(e?e.length+1:1).fill(null),i=l.slice(),o=n.child;null!==o;){var r=e?ni(o,e,t):0,u=o.next;i[r]?i[r].next=o:(l[r]=o,o.next=null),i[r]=o,o=u}}var cr=[];function dr(e,t,n){void 0===t&&(t=0);var l=Qt(),i=uo(e,1,null,null,n||null);null===i.projection&&(i.projection=t),ln(!1);for(var o=yt(l),r=o[Ee].projection[t],u=o[we],a=-1;r;){if(1===r.type){var s=yt(u),c=s[Ee].projection[r.projection];if(c){cr[++a]=r,cr[++a]=u,r=c,u=s[we];continue}}else r.flags|=2,Yl(r,i,l,u);null===r.next&&u!==o[we]&&(u=cr[a--],r=cr[a--]),r=r.next}}function pr(e,t,n){var l=e[be],i=dn();return e[Me]?e[Me][_e]=n:i&&(l.childIndex=t),e[Me]=n,n}function hr(e){for(;e&&!(128&e[Ce]);)e[Ce]|=8,e=e[we];e[Ce]|=8,fr(e[Te],1)}function fr(e,t){var n,l=0===e.flags;e.flags|=t,l&&e.clean==io&&(e.clean=new Promise(function(e){return n=e}),e.scheduler(function(){if(1&e.flags&&(e.flags&=-2,gr(e)),2&e.flags){e.flags&=-3;var t=e.playerHandler;t&&t.flushPlayers()}e.clean=io,n(null)}))}function gr(e){for(var t=0;t=2&&l[i-2]===t.hostBindings?l[i-1]=l[i-1]+n:l.push(t.hostBindings,n)}(n,qt,e),function(e,t,n){for(var l=0;l=l.data.length&&(l.data[i]=null),n[i]=t}function Mr(e){return Qe(rn,e)}function Lr(e){return Qt()[Ae][e]}function Ar(e){return Qe(Qt(),e)}function Pr(e,t){return void 0===t&&(t=Ot.Default),e=X(e),Dn(Jt(),Qt(),e,t)}function Fr(e){return Tn(Jt(),e)}function Vr(e,t){var n=Qt(),l=n[be],i=(n[Ae]||(n[Ae]=[])).push(e);if(dn()){var o=l.contentQueries||(l.contentQueries=[]);t!==(l.contentQueries.length?l.contentQueries[l.contentQueries.length-2]:-1)&&o.push(t,i-1)}}var jr=io;function Hr(e){return e?(void 0===e.inputs&&(e.inputs=Vo(e,0)),e.inputs):null}function Br(){return Qt()}function zr(e){return e[Oe]||(e[Oe]=[])}function Ur(e){return e[be].cleanup||(e[be].cleanup=[])}function $r(e,t){var n=jn(e);if(n){var l=n.native,i=n.lView,o=function(e,t){if(!(t=t||jn(l)))return null;var n=ai(t.nodeIndex,t.lView);return di(n)||pi(n)}(0,n),r=Zn(i);ci(o,r,l,t,0,e),fr(r,2)}}function Gr(e){var t=jn(e);if(!t)return[];var n=ai(t.nodeIndex,t.lView),l=n?di(n):null;return l?function(e){for(var t=[],n=e[0],l=2;l ");else if("object"==typeof t){var i=[];for(var o in t)if(t.hasOwnProperty(o)){var r=t[o];i.push(o+":"+("string"==typeof r?JSON.stringify(r):Y(r)))}l="{"+i.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+l+"]: "+e.replace(xu,"\n ")}function Tu(e,t){return new Error(Ou(e,t))}var Du=new x("The presence of this token marks an injector as being the root injector."),Ru={},ku={},Nu=[],Mu=void 0;function Lu(){return void 0===Mu&&(Mu=new hu),Mu}function Au(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||Lu(),new Pu(e,n,t)}var Pu=function(){function e(e,t,n){var l=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var i=[];Hu([e],function(e){return l.processInjectorType(e,[],i)}),t&&Hu(t,function(n){return l.processProvider(n,e,t)}),this.records.set(pu,ju(void 0,this)),this.isRootInjector=this.records.has(Du),this.injectorDefTypes.forEach(function(e){return l.get(e)})}return e.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},e.prototype.get=function(e,t,n){void 0===t&&(t=du),void 0===n&&(n=Ot.Default),this.assertNotDestroyed();var l,i=Dt(this);try{if(!(n&Ot.SkipSelf)){var o=this.records.get(e);if(void 0===o){var r=("function"==typeof(l=e)||"object"==typeof l&&l instanceof x)&&w(e);r&&this.injectableDefInScope(r)&&(o=ju(Fu(e),Ru),this.records.set(e,o))}if(void 0!==o)return this.hydrate(e,o)}return(n&Ot.Self?Lu():this.parent).get(e,t)}finally{Dt(i)}},e.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t,n){var l=this;if(e=X(e)){var i=_(e),o=null==i&&e.ngModule||void 0,r=void 0===o?e:o,u=-1!==n.indexOf(r),a=void 0!==o&&e.providers||Nu;if(void 0!==o&&(i=_(o)),null!=i){if(this.injectorDefTypes.add(r),this.records.set(r,ju(i.factory,Ru)),null!=i.imports&&!u){n.push(r);try{Hu(i.imports,function(e){return l.processInjectorType(e,t,n)})}finally{}}var s=i.providers;if(null!=s&&!u){var c=e;Hu(s,function(e){return l.processProvider(e,c,s)})}var d=e.ngModule;Hu(a,function(e){return l.processProvider(e,d,a)})}}},e.prototype.processProvider=function(e,t,n){var l=zu(e=X(e))?e:X(e&&e.provide),i=function(e,t,n){var l=Vu(e,t,n);return Bu(e)?ju(void 0,e.useValue):ju(l,Ru)}(e,t,n);if(zu(e)||!0!==e.multi){var o=this.records.get(l);if(o&&void 0!==o.multi)throw new Error("Mixed multi-provider for "+Y(l))}else{var r=this.records.get(l);if(r){if(void 0===r.multi)throw new Error("Mixed multi-provider for "+l+".")}else(r=ju(void 0,Ru,!0)).factory=function(){return Lt(r.multi)},this.records.set(l,r);l=e,r.multi.push(e)}this.records.set(l,i)},e.prototype.hydrate=function(e,t){if(t.value===ku)throw new Error("Cannot instantiate cyclic dependency! "+Y(e));var n;return t.value===Ru&&(t.value=ku,t.value=t.factory()),"object"==typeof t.value&&t.value&&"object"==typeof(n=t.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value},e.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},e}();function Fu(e){var t=w(e);if(null===t){var n=_(e);if(null!==n)return n.factory;if(e instanceof x)throw new Error("Token "+Y(e)+" is missing an ngInjectableDef definition.");if(e instanceof Function){var l=e.length;if(l>0){var i=new Array(l).fill("?");throw new Error("Can't resolve all parameters for "+Y(e)+": ("+i.join(", ")+").")}return function(){return new e}}throw new Error("unreachable")}return t.factory}function Vu(e,t,n){var i,o=void 0;if(zu(e))return Fu(X(e));if(Bu(e))o=function(){return X(e.useValue)};else if((i=e)&&i.useExisting)o=function(){return Nt(X(e.useExisting))};else if(e&&e.useFactory)o=function(){return e.useFactory.apply(e,Object(l.__spread)(Lt(e.deps||[])))};else{var r=X(e&&(e.useClass||e.provide));if(!r){var u="";throw t&&n&&(u=" - only instances of Provider and Type are allowed, got: ["+n.map(function(t){return t==e?"?"+e+"?":"..."}).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+Y(t)+"'"+u)}if(!e.deps)return Fu(r);o=function(){return new(r.bind.apply(r,Object(l.__spread)([void 0],Lt(e.deps))))}}return o}function ju(e,t,n){return void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function Hu(e,t){e.forEach(function(e){return Array.isArray(e)?Hu(e,t):t(e)})}function Bu(e){return e&&"object"==typeof e&&wu in e}function zu(e){return"function"==typeof e}function Uu(e,t,n,l,i){if(e=X(e),Array.isArray(e))for(var o=0;o>16;if(zu(e)||!e.multi){var h=new Ke(a,i,Pr),f=Gu(u,t,i?c:c+p,d);-1==f?(On(xn(s,r),r,u),t.push(u),s.directiveStart++,s.directiveEnd++,i&&(s.providerIndexes+=65536),n.push(h),r.push(h)):(n[f]=h,r[f]=h)}else{var g=Gu(u,t,c+p,d),m=Gu(u,t,c,c+p),v=m>=0&&n[m];i&&!v||!i&&!(g>=0&&n[g])?(On(xn(s,r),r,u),h=function(e,t,n,l,i){var o=new Ke(e,n,Pr);return o.multi=[],o.index=t,o.componentProviders=0,$u(o,i,l&&!n),o}(i?qu:Wu,n.length,i,l,a),!i&&v&&(n[m].providerFactory=h),t.push(u),s.directiveStart++,s.directiveEnd++,i&&(s.providerIndexes+=65536),n.push(h),r.push(h)):$u(n[i?m:g],a,!i&&l),!i&&l&&v&&n[m].componentProviders++}}}function $u(e,t,n){e.multi.push(t),n&&e.componentProviders++}function Gu(e,t,n,l){for(var i=n;i-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Vl(this._lView)},e.prototype.onDestroy=function(e){var t,n;n=e,zr(t=this._lView).push(n),t[be].firstTemplatePass&&Ur(t).push(t[Oe].length-1,null)},e.prototype.markForCheck=function(){hr(this._lView)},e.prototype.detach=function(){this._lView[Ce]&=-17},e.prototype.reattach=function(){this._lView[Ce]|=16},e.prototype.detectChanges=function(){vr(this._lView,this.context)},e.prototype.checkNoChanges=function(){!function(e){sn(!0);try{mr(e)}finally{sn(!1)}}(this.context)},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype._lookUpContext=function(){return this._context=this._lView[we][this._componentIndex]},e}(),ca=function(e){function t(t){var n=e.call(this,t,null,-1)||this;return n._view=t,n}return Object(l.__extends)(t,e),t.prototype.detectChanges=function(){yr(this._view)},t.prototype.checkNoChanges=function(){!function(e){sn(!0);try{yr(e)}finally{sn(!1)}}(this._view)},Object.defineProperty(t.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),t}(sa);function da(e,t,n){return Ju||(Ju=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(l.__extends)(t,e),t}(e)),new Ju(et(t,n))}function pa(e,t,n,i){if(ea||(ea=function(e){function t(t,n,l,i,o,r){var u=e.call(this)||this;return u._declarationParentView=t,u.elementRef=n,u._tView=l,u._renderer=i,u._queries=o,u._injectorIndex=r,u}return Object(l.__extends)(t,e),t.prototype.createEmbeddedView=function(e,t,n,l,i){var o=function(e,t,n,l,i,o){var r=nn(),u=Jt();ln(!0),en(null);var a=ro(n,e,t,4);return a[Pe]=n,i&&(a[xe]=i.createView()),ao(-1,a),e.firstTemplatePass&&(e.node.injectorIndex=o),ln(r),en(u),a}(this._tView,e,this._declarationParentView,0,this._queries,this._injectorIndex);t&&Ll(o,t,l,i,n.index),co(o,this._tView,e);var r=new sa(o,e,-1);return r._tViewNode=o[Ee],r},t}(e)),0===n.type){var o=i[n.index];return new ea(i,da(t,n,i),n.tViews,Qt()[ke],o[xe],n.injectorIndex)}return null}function ha(e,t,n){if(it(e)){var l=e.directiveStart,i=nt(e.index,t);return new sa(i,n,l)}if(3===e.type){var o=yt(t);return new sa(o,o[Te],-1)}return null}var fa=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return ma(e)},e}(),ga=function(e){return da(e,Jt(),Qt())},ma=au,va=function(){return function(e,t,n,l,i,o){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=l,this.styles=i,this.animations=o}}(),ya=function(){return function(){}}(),ba=function(){return function(){}}(),Ca=function(){return function(){}}(),wa=function(){return function(){}}(),_a=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),xa=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Ea()},e}(),Sa=function(){return function(e){var t=Qt()[ke];if(xl(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}()},Ea=au,Ia=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({}),Oa=function(){return function(){}}(),Ta=function(){return function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}(),Da=new Ta("7.2.14"),Ra=function(e){function t(t){var n=e.call(this)||this;return n.ngModule=t,n}return Object(l.__extends)(t,e),t.prototype.resolveComponentFactory=function(e){var t=ge(e);return new Aa(t,this.ngModule)},t}(ia);function ka(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var Na=new x("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Jr(Nt(Ma))}}),Ma=new x("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return mt}}),La={},Aa=function(e){function t(t,n){var l=e.call(this)||this;return l.componentDef=t,l.ngModule=n,l.componentType=t.type,l.selector=t.selectors[0][0],l.ngContentSelectors=[],l}return Object(l.__extends)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){return ka(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return ka(this.componentDef.outputs)},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,l){var i=void 0===n,o=(l=l||this.ngModule)?function(e,t){return{get:function(n,l){var i=e.get(n,La);return i!==La||l===La?i:t.get(n,l)}}}(e,l.injector):e,r=o.get(wa,Sl),u=o.get(Oa,null),a=i?xo(this.selector,r.createRenderer(null,this.componentDef)):To(r,n),s=this.componentDef.onPush?136:132,c=i?Jr():o.get(Na),d=r.createRenderer(a,this.componentDef);n&&a&&(xl(d)?d.setAttribute(a,"ng-version",Da.full):a.setAttribute("ng-version",Da.full));var p,h,f=ro(null,Io(-1,null,1,0,null,null,null),c,s,r,d,u,o),g=mn(f,null);try{r.begin&&r.begin();var m=Qr(a,this.componentDef,f,r,d);if(h=tt(0,f),t)for(var v=0,y=f[be],b=h.projection=[],C=0;C',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

    ',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e=""+e+"";try{e=encodeURI(e)}catch(l){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e=""+e+"";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();Ja.hasOwnProperty(t)&&!Ya.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(us(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),os=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rs=/([^\#-~ |!])/g;function us(e){return e.replace(/&/g,"&").replace(os,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(rs,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function as(e,t){var n=null;try{Ka=Ka||new Ba(e);var l=t?String(t):"";n=Ka.getInertBodyElement(l);var i=5,o=l;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,l=o,o=n.innerHTML,n=Ka.getInertBodyElement(l)}while(l!==o);var r=new is,u=r.sanitizeChildren(ss(n)||n);return ja()&&r.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),u}finally{if(n)for(var a=ss(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}function ss(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var cs={marker:"element"},ds={marker:"comment"},ps="\ufffd",hs=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,fs=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,gs=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,ms=/\ufffd(\d+):?\d*\ufffd/gi,vs=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,ys=/\[(\ufffd.+?\ufffd?)\]/g,bs=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Cs=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g;function ws(e){if(!e)return[];var t,n=0,l=[],i=[],o=/[{}]/g;for(o.lastIndex=0;t=o.exec(e);){var r=t.index;if("}"==t[0]){if(l.pop(),0==l.length){var u=e.substring(n,r);hs.test(u)?i.push(_s(u)):u&&i.push(u),n=r+1}}else{if(0==l.length){var a=e.substring(n,r);i.push(a),n=r+1}l.push("{")}}var s=e.substring(n);return""!=s&&i.push(s),i}function _s(e){for(var t=[],n=[],l=1,i=0,o=ws(e=e.replace(hs,function(e,t,n){return l="select"===n?0:1,i=parseInt(t.substr(1),10),""})),r=0;r0&&r!==u&&c.push(r.index<<3|0);for(var d=[],p=[],h=function(e,t){if("number"!=typeof t)return xs(e);var n=e.indexOf(":"+t+ps)+2+t.toString().length,l=e.search(new RegExp(ps+"\\/\\*\\d+:"+t+ps));return xs(e.substring(n,l))}(n,l).split(gs),f=0;f>>17,d=void 0;r=ks(o,d=c===e?l[Ee]:tt(c,l),r),d.next=null;break;case 0:var p=s>>>3;u.push(p),r=o,(o=tt(p,l))&&(en(o),3===o.type&&ln(!0));break;case 5:r=o=tt(s>>>3,l),en(o),ln(!1);break;case 4:ko(s>>>3,t[++a],t[++a]);break;default:throw new Error('Unable to determine the type of mutate operation for "'+s+'"')}else switch(s){case ds:var h=t[++a],f=i.createComment(h);r=o,o=uo(n++,5,f,null,null),zn(f,l),o.activeCaseIndex=null,ln(!1);break;case cs:var g=t[++a];r=o,o=uo(n++,3,i.createElement(g),g,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'+s+'"')}}return ln(!1),u}function As(e,t){var n=tt(e,t);Kl(n,Je(e,t)||null,t),n.detached=!0;var l=Ar(e);if(rt(l)){var i=l;0!==n.type&&Kl(n,i[He]||null,t),i[Be]=null}}function Ps(e,t,n){Rs(e,t,n),Ms()}function Fs(e,t){var n=Qt()[be];n.firstTemplatePass&&null===n.data[e+Fe]&&function(e,t,n){for(var l=Jt().index-Fe,i=[],o=0;o>>2,g=void 0,m=void 0;switch(3&h){case 1:ko(f,t[++p],d,t[++p]);break;case 0:Wo(f,d);break;case 2:if(g=n[t[++p]],null!==(m=tt(f,o)).activeCaseIndex)for(var v=g.remove[m.activeCaseIndex],y=0;y>>3,o);break;case 6:var C=tt(v[y+1]>>>3,o).activeCaseIndex;null!==C&&vt(n[b>>>3].remove[C],v)}}var w=Us(g,d);m.activeCaseIndex=-1!==w?w:null,Ls(-1,g.create[w],g.expandoStartIndex,o),u=!0;break;case 3:g=n[t[++p]],m=tt(f,o),e(g.update[m.activeCaseIndex],n,l,i,o,u)}}}a+=c}}(l,i,t[Ie]-js-1,Vs,t),Vs=0,js=0}}var zs=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({});function Us(e,t){var n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:var l=function(e,n){switch(function(e,t){"string"==typeof t&&(t=parseInt(t,10));var n=t,l=n.toString().replace(/^[^.]*\.?/,""),i=Math.floor(Math.abs(n)),o=l.length,r=parseInt(l,10),u=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(e.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?zs.One:zs.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?zs.One:zs.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===i||1===n?zs.One:zs.Other;case"ar":return 0===n?zs.Zero:1===n?zs.One:2===n?zs.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?zs.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?zs.Many:zs.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===i&&0===o?zs.One:zs.Other;case"be":return n%10==1&&n%100!=11?zs.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?zs.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?zs.Many:zs.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?zs.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?zs.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?zs.Few:0!==n&&n%1e6==0?zs.Many:zs.Other;case"bs":case"hr":case"sr":return 0===o&&i%10==1&&i%100!=11||r%10==1&&r%100!=11?zs.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)||r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?zs.Few:zs.Other;case"cs":case"sk":return 1===i&&0===o?zs.One:i===Math.floor(i)&&i>=2&&i<=4&&0===o?zs.Few:0!==o?zs.Many:zs.Other;case"cy":return 0===n?zs.Zero:1===n?zs.One:2===n?zs.Two:3===n?zs.Few:6===n?zs.Many:zs.Other;case"da":return 1===n||0!==u&&(0===i||1===i)?zs.One:zs.Other;case"dsb":case"hsb":return 0===o&&i%100==1||r%100==1?zs.One:0===o&&i%100==2||r%100==2?zs.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||r%100===Math.floor(r%100)&&r%100>=3&&r%100<=4?zs.Few:zs.Other;case"ff":case"fr":case"hy":case"kab":return 0===i||1===i?zs.One:zs.Other;case"fil":return 0===o&&(1===i||2===i||3===i)||0===o&&i%10!=4&&i%10!=6&&i%10!=9||0!==o&&r%10!=4&&r%10!=6&&r%10!=9?zs.One:zs.Other;case"ga":return 1===n?zs.One:2===n?zs.Two:n===Math.floor(n)&&n>=3&&n<=6?zs.Few:n===Math.floor(n)&&n>=7&&n<=10?zs.Many:zs.Other;case"gd":return 1===n||11===n?zs.One:2===n||12===n?zs.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?zs.Few:zs.Other;case"gv":return 0===o&&i%10==1?zs.One:0===o&&i%10==2?zs.Two:0!==o||i%100!=0&&i%100!=20&&i%100!=40&&i%100!=60&&i%100!=80?0!==o?zs.Many:zs.Other:zs.Few;case"he":return 1===i&&0===o?zs.One:2===i&&0===o?zs.Two:0!==o||n>=0&&n<=10||n%10!=0?zs.Other:zs.Many;case"is":return 0===u&&i%10==1&&i%100!=11||0!==u?zs.One:zs.Other;case"ksh":return 0===n?zs.Zero:1===n?zs.One:zs.Other;case"kw":case"naq":case"se":case"smn":return 1===n?zs.One:2===n?zs.Two:zs.Other;case"lag":return 0===n?zs.Zero:0!==i&&1!==i||0===n?zs.Other:zs.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?zs.Few:0!==r?zs.Many:zs.Other:zs.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===o&&r%100===Math.floor(r%100)&&r%100>=11&&r%100<=19?zs.Zero:n%10==1&&n%100!=11||2===o&&r%10==1&&r%100!=11||2!==o&&r%10==1?zs.One:zs.Other;case"mk":return 0===o&&i%10==1||r%10==1?zs.One:zs.Other;case"mt":return 1===n?zs.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?zs.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?zs.Many:zs.Other;case"pl":return 1===i&&0===o?zs.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?zs.Few:0===o&&1!==i&&i%10===Math.floor(i%10)&&i%10>=0&&i%10<=1||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=12&&i%100<=14?zs.Many:zs.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?zs.One:zs.Other;case"ro":return 1===i&&0===o?zs.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?zs.Few:zs.Other;case"ru":case"uk":return 0===o&&i%10==1&&i%100!=11?zs.One:0===o&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?zs.Few:0===o&&i%10==0||0===o&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=14?zs.Many:zs.Other;case"shi":return 0===i||1===n?zs.One:n===Math.floor(n)&&n>=2&&n<=10?zs.Few:zs.Other;case"si":return 0===n||1===n||0===i&&1===r?zs.One:zs.Other;case"sl":return 0===o&&i%100==1?zs.One:0===o&&i%100==2?zs.Two:0===o&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||0!==o?zs.Few:zs.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?zs.One:zs.Other;default:return zs.Other}}("en-US",t)){case zs.Zero:return"zero";case zs.One:return"one";case zs.Two:return"two";case zs.Few:return"few";case zs.Many:return"many";default:return"other"}}();-1===(n=e.cases.indexOf(l))&&"other"!==l&&(n=e.cases.indexOf("other"));break;case 0:n=e.cases.indexOf("other")}return n}function $s(e,t,n,i){for(var o=[],r=[],u=[],a=[],s=[],c=0;c=0;n--){var l=t[n];if(e===l.name)return l}throw new Error("The pipe '"+e+"' could not be found!")}(t,l.pipeRegistry),l.data[i]=n,n.onDestroy&&(l.pipeDestroyHooks||(l.pipeDestroyHooks=[])).push(i,n.onDestroy)):n=l.data[i];var o=n.factory(null);return Nr(e,o),o}function ac(e,t,n){var l=Ar(e);return fc(hc(e)?Xs(t,l.transform,n,l):l.transform(n))}function sc(e,t,n,l){var i=Ar(e);return fc(hc(e)?Js(t,i.transform,n,l,i):i.transform(n,l))}function cc(e,t,n,l,i){var o=Ar(e);return fc(hc(e)?ec(t,o.transform,n,l,i,o):o.transform(n,l,i))}function dc(e,t,n,l,i,o){var r=Ar(e);return fc(hc(e)?tc(t,r.transform,n,l,i,o,r):r.transform(n,l,i,o))}function pc(e,t,n){var l=Ar(e);return fc(hc(e)?rc(t,l.transform,n,l):l.transform.apply(l,n))}function hc(e){return Qt()[be].data[e+Fe].pure}function fc(e){return sl.isWrapped(e)&&(e=sl.unwrap(e),Qt()[fn()]=fl),e}var gc=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return Object(l.__extends)(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,l){var o,r=function(e){return null},u=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(r=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(u=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(r=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),l&&(u=this.__isAsync?function(){setTimeout(function(){return l()})}:function(){l()}));var a=e.prototype.subscribe.call(this,o,r,u);return t instanceof i.a&&t.add(a),a},t}(o.a),mc=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return yc(e,fa)},e}(),vc=function(e,t){return pa(e,t,Jt(),Qt())},yc=au,bc=function(){function e(e,t,n){this.parent=e,this.shallow=t,this.deep=n}return e.prototype.track=function(e,t,n,l){n?this.deep=kc(this.deep,e,t,null!=l?l:null):this.shallow=kc(this.shallow,e,t,null!=l?l:null)},e.prototype.clone=function(){return new e(this,null,this.deep)},e.prototype.container=function(){var t=Cc(this.shallow),n=Cc(this.deep);return t||n?new e(this,t,n):null},e.prototype.createView=function(){var t=wc(this.shallow),n=wc(this.deep);return t||n?new e(this,t,n):null},e.prototype.insertView=function(e){_c(e,this.shallow),_c(e,this.deep)},e.prototype.addNode=function(e){return Tc(this.deep,e),lt(e)?(Tc(this.shallow,e),e.parent&<(e.parent)&&Tc(this.parent.shallow,e),this.parent):(function(e){return null===e.parent||lt(e.parent)}(e)&&Tc(this.shallow,e),this)},e.prototype.removeView=function(){xc(this.shallow),xc(this.deep)},e}();function Cc(e){for(var t=null;e;){var n=[];e.values.push(n),t={next:t,list:e.list,predicate:e.predicate,values:n,containerValues:null},e=e.next}return t}function wc(e){for(var t=null;e;)t={next:t,list:e.list,predicate:e.predicate,values:[],containerValues:e.values},e=e.next;return t}function _c(e,t){for(;t;)t.containerValues.splice(e,0,t.values),t=t.next}function xc(e){for(;e;){var t=e.containerValues,n=t.indexOf(e.values);t.splice(n,1)[0].length&&e.list.setDirty(),e=e.next}}function Sc(e,t){var n=e.localNames;if(n)for(var l=0;l-1?Mn(t[be].data,t,l,e):function(e,t){return 3===e.type||4===e.type?da(fa,e,t):0===e.type?pa(mc,fa,e,t):null}(e,t)}function Tc(e,t){for(var n=Qt();e;){var l=e.predicate,i=l.type;if(i){var o=null;i===mc?o=Ic(i,t,n,l.read):null!==(a=Nn(t,n,i,!1,!1))&&(o=Oc(t,n,l.read,a)),null!==o&&Dc(e,o)}else for(var r=l.selector,u=0;u0?(e=l.concat(e.slice(n+1)),n=0):n++:(t.push(l),n++)}return t}(e),this.dirty=!1},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}();function Mc(e,t,n,l){var i,o,r,u=new Nc;return(i=bc,o=Qt(),r=o[xe],$t&&$t!==o[Ee]&&!lt($t)&&(r&&(r=o[xe]=r.clone()),$t.flags|=4),r||(o[xe]=new i(null,null,null))).track(u,t,n,l),function(e,t,n){var l=zr(e);l.push(t),e[be].firstTemplatePass&&Ur(e).push(n,l.length-1)}(Qt(),u,u.destroy),null!=e&&Nr(e,u),u}function Lc(e){return!!e.dirty&&(e.reset(e._valuesTree),e.notifyOnChanges(),!0)}function Ac(e,t){return pa(mc,fa,e,t)}var Pc="__SANITIZER_TRUSTED_BRAND__";function Fc(e,t){return e instanceof String&&e[Pc]===t}function Vc(e){return Uc(e,"Html")}function jc(e){return Uc(e,"Style")}function Hc(e){return Uc(e,"Script")}function Bc(e){return Uc(e,"Url")}function zc(e){return Uc(e,"ResourceUrl")}function Uc(e,t){var n=new String(e);return n[Pc]=t,n}var $c=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Gc=/^url\(([^)]+)\)$/;function Wc(e){if(!(e=String(e).trim()))return"";var t=e.match(Gc);return t&&$a(t[1])===t[1]||e.match($c)&&function(e){for(var t=!0,n=!0,l=0;l=0;e--){var t=_d[e],n=t.moduleType,l=t.ngModule;l.declarations&&l.declarations.every(Sd)&&(_d.splice(e,1),Td(n,l))}}finally{xd=!1}}}(),void 0!==e.ngSelectorScope){var u=Rd(e.ngSelectorScope);Dd(n,u)}}return n},configurable:!1})}function Ad(e,t){var n=null;Object.defineProperty(e,p,{get:function(){if(null===n){var l=Fd(e,t);n=bt().compileDirective(ed,"ng://"+(e&&e.name)+"/ngDirectiveDef.js",l)}return n},configurable:!1})}function Pd(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Fd(e,t){var n=yd().propMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:t.selector,deps:bd(e),host:t.host||ie,propMetadata:n,inputs:t.inputs||oe,outputs:t.outputs||oe,queries:Vd(e,n,jd),lifecycle:{usesOnChanges:void 0!==e.prototype.ngOnChanges},typeSourceSpan:null,usesInheritance:!Pd(e),exportAs:t.exportAs||null,providers:t.providers||null}}function Vd(e,t,n){var l=[],i=function(i){t.hasOwnProperty(i)&&t[i].forEach(function(t){if(n(t)){if(!t.selector)throw new Error("Can't construct a query for the property \""+i+'" of "'+Ze(e)+"\" since the query selector wasn't defined.");l.push(function(e,t){return{propertyName:i,predicate:(n=t.selector,"string"==typeof n?n.split(",").map(function(e){return e.trim()}):X(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null};var n}(0,t))}})};for(var o in t)i(o);return l}function jd(e){var t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Hd(e){var t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Bd(e,t){var n=null;Object.defineProperty(e,g,{get:function(){return null===n&&(n=bt().compilePipe(ed,"ng://"+Ze(e)+"/ngPipeDef.js",{type:e,name:e.name,deps:bd(e),pipeName:t.name,pure:void 0===t.pure||t.pure})),n},configurable:!1})}var zd=O("Directive",function(e){return void 0===e&&(e={}),e},void 0,void 0,function(e,t){return ep(e,t)}),Ud=O("Component",function(e){return void 0===e&&(e={}),Object(l.__assign)({changeDetection:V.Default},e)},zd,void 0,function(e,t){return Jd(e,t)}),$d=O("Pipe",function(e){return Object(l.__assign)({pure:!0},e)},void 0,void 0,function(e,t){return tp(e,t)}),Gd=function(e){return function(t,n){for(var l=[],i=2;i1?" ("+function(e){for(var t=[],n=0;n-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(function(e){return Y(e.token)}).join(" -> ")+")":""}function Ip(e,t,n,l){var i=[t],o=n(i),r=l?function(e,t){var n=o+" caused by: "+(t instanceof Error?t.message:t),l=Error(n);return l[bp]=t,l}(0,l):Error(o);return r.addKey=Op,r.keys=i,r.injectors=[e],r.constructResolvingMessage=n,r[bp]=l,r}function Op(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Tp(e,t){for(var n=[],l=0,i=t.length;l=this._providers.length)throw function(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},e.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw Ip(this,e.key,function(e){return"Cannot instantiate cyclic dependency!"+Ep(e)});return this._instantiateProvider(e)},e.prototype._getMaxNumberOfObjects=function(){return this.objs.length},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=new Array(e.resolvedFactories.length),n=0;n0&&(i=setTimeout(function(){l._callbacks=l._callbacks.filter(function(e){return e.timeoutId!==i}),e(l._didWork,l.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),Vh=function(){function e(){this._applications=new Map,Bh.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),Bh.findTestabilityInTree(this,e,t)},Object(l.__decorate)([Object(l.__metadata)("design:paramtypes",[])],e)}();function jh(e){Bh=e}var Hh,Bh=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}());function zh(e,t,n){return Promise.resolve(new Ys(n))}var Uh=new x("AllowMultipleToken"),$h=function(){return function(e,t){this.name=e,this.token=t}}();function Gh(e){if(Hh&&!Hh.destroyed&&!Hh.injector.get(Uh,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Hh=e.get(Zh);var t=e.get(Jp,null);return t&&t.forEach(function(e){return e()}),Hh}function Wh(e,t,n){void 0===n&&(n=[]);var l="Platform: "+t,i=new x(l);return function(t){void 0===t&&(t=[]);var o=Yh();if(!o||o.injector.get(Uh,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var r=n.concat(t).concat({provide:i,useValue:!0});Gh(fu.create({providers:r,name:l}))}return qh(i)}}function qh(e){var t=Yh();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function Kh(){Hh&&!Hh.destroyed&&Hh.destroy()}function Yh(){return Hh&&!Hh.destroyed?Hh:null}var Zh=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,l=this,i="noop"===(n=t?t.ngZone:void 0)?new Ph:("zone.js"===n?void 0:n)||new Rh({enableLongStackTrace:ja()}),o=[{provide:Rh,useValue:i}];return i.run(function(){var t=fu.create({providers:o,parent:l.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(Sp,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return Jh(l._modules,n)}),i.runOutsideAngular(function(){return i.onError.subscribe({next:function(e){r.handleError(e)}})}),function(e,t,i){try{var o=((r=n.injector.get(Kp)).runInitializers(),r.donePromise.then(function(){return l._moduleDoBootstrap(n),n}));return Gp(o)?o.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):o}catch(u){throw t.runOutsideAngular(function(){return e.handleError(u)}),u}var r}(r,i)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var l=Qh({},t);return function(e,t,n){return e.get(yh).createCompiler([t]).compileModuleAsync(n)}(this.injector,l,e).then(function(e){return n.bootstrapModuleFactory(e,l)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Xh);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Y(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function Qh(e,t){return Array.isArray(t)?t.reduce(Qh,e):Object(l.__assign)({},e,t)}var Xh=function(){function e(e,t,n,l,i,o){var s=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=l,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ja(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var c=new r.a(function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){e.next(s._stable),e.complete()})}),d=new r.a(function(e){var t;s._zone.runOutsideAngular(function(){t=s._zone.onStable.subscribe(function(){Rh.assertNotInAngularZone(),q(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){Rh.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(u.a)(c,d.pipe(Object(a.a)()))}var t;return t=e,e.prototype.bootstrap=function(e,t){var n,l=this;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.");n=e instanceof Qu?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n instanceof ra?null:this._injector.get(ua),o=n.create(fu.NULL,[],t||n.selector,i);o.onDestroy(function(){l._unloadComponent(o)});var r=o.injector.get(Fh,null);return r&&o.injector.get(Vh).registerApplication(o.location.nativeElement,r),this._loadComponent(o),ja()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},e.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(l){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(l)})}finally{this._runningTick=!1,Oh(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Jh(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(th,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Jh(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=Ih("ApplicationRef#tick()"),e}();function Jh(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var ef=function(){function e(){this.dirty=!0,this._results=[],this.changes=new gc,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[W()]=function(){return this._results[W()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var l=Array.isArray(n)?e(n):n;return t.concat(l)},[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),tf=function(){return function(){}}(),nf={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},lf=function(){function e(e,t){this._compiler=e,this._config=t||nf}return e.prototype.load=function(e){return this._compiler instanceof mh?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,i=Object(l.__read)(e.split("#"),2),o=i[0],r=i[1];return void 0===r&&(r="default"),n("crnd")(o).then(function(e){return e[r]}).then(function(e){return of(e,o,r)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=Object(l.__read)(e.split("#"),2),i=t[0],o=t[1],r="NgFactory";return void 0===o&&(o="default",r=""),n("crnd")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(e){return e[o+r]}).then(function(e){return of(e,i,o)})},e}();function of(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var rf=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return af(e,fa)},e}(),uf=function(e,t){return function(e,t,n,i){var o;ta||(ta=function(e){function n(t,n,l){var i=e.call(this)||this;return i._lContainer=t,i._hostTNode=n,i._hostView=l,i._viewRefs=[],i}return Object(l.__extends)(n,e),Object.defineProperty(n.prototype,"element",{get:function(){return da(t,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new Pn(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var e=In(this._hostTNode,this._hostView),t=gt(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var l=n.parent.injectorIndex,i=n.parent;null!=i.parent&&l==i.injectorIndex;)i=i.parent;return i}for(var o=ft(e),r=t,u=t[Ee];o>1;)u=(r=r[Pe])[Ee],o--;return u}(e,this._hostView,this._hostTNode);return pt(e)&&null!=n?new Pn(n,t):new Pn(null,this._hostView)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(;this._lContainer[je].length;)this.remove(0)},n.prototype.get=function(e){return this._viewRefs[e]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer[je].length},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(e,t,n){var l=this._adjustIndex(n),i=e.createEmbeddedView(t||{},this._lContainer,this._hostTNode,this._hostView,l);return i.attachToViewContainerRef(this),this._viewRefs.splice(l,0,i),i},n.prototype.createComponent=function(e,t,n,l,i){var o=n||this.parentInjector;!i&&null==e.ngModule&&o&&(i=o.get(ua,null));var r=e.create(o,l,void 0,i);return this.insert(r.hostView,t),r},n.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e._lView,l=this._adjustIndex(t);return Ll(n,this._lContainer,this._hostView,l,this._hostTNode.index),Ml(n,!0,ql(l,this._lContainer[je],this._lContainer[He])),e.attachToViewContainerRef(this),this._viewRefs.splice(l,0,e),e},n.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this.indexOf(e);return this.detach(n),this.insert(e,this._adjustIndex(t)),e},n.prototype.indexOf=function(e){return this._viewRefs.indexOf(e)},n.prototype.remove=function(e){var t=this._adjustIndex(e,-1);Pl(this._lContainer,this._hostTNode,t),this._viewRefs.splice(t,1)},n.prototype.detach=function(e){var t=this._adjustIndex(e,-1),n=Al(this._lContainer,t,!!this._hostTNode.detached);return null!=this._viewRefs.splice(t,1)[0]?new sa(n,n[Te],n[Le]):null},n.prototype._adjustIndex=function(e,t){return void 0===t&&(t=0),null==e?this._lContainer[je].length+t:e},n}(e));var r=i[n.index];if(rt(r))(o=r)[Ve]=-1;else{var u=i[ke].createComment("");if(ut(i)){var a=i[ke],s=et(n,i);Ul(a,$l(a,s),u,function(e,t){return xl(e)?e.nextSibling(t):t.nextSibling}(a,s))}else Gl(u,n,i);i[n.index]=o=tr(r,n,i,u,!0),pr(i,n.index,o)}return new ta(o,n,i)}(e,t,Jt(),Qt())},af=au,sf=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return df()},e}(),cf=function(){return ha(Jt(),Qt(),null)},df=function(){for(var e=[],t=0;t-1}(l)||"root"===i.providedIn&&l._def.isRoot))){var c=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:u.factory,deps:[],index:c,token:t.token},e._providers[c]=om,e._providers[c]=pm(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Dt(o)}}function pm(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var i=n.length;switch(i){case 0:return new t;case 1:return new t(dm(e,n[0]));case 2:return new t(dm(e,n[0]),dm(e,n[1]));case 3:return new t(dm(e,n[0]),dm(e,n[1]),dm(e,n[2]));default:for(var o=new Array(i),r=0;r=n.length)&&(t=n.length-1),t<0)return null;var l=n[t];return l.viewContainerParent=null,vm(n,t),cg.dirtyParentQueries(l),gm(l),l}function fm(e,t,n){var l=t?Rg(t,t.def.lastRenderRootNode):e.renderElement,i=n.renderer.parentNode(l),o=n.renderer.nextSibling(l);Hg(n,2,i,o,void 0)}function gm(e){Hg(e,3,null,null,void 0)}function mm(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function vm(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var ym=new Object;function bm(e,t,n,l,i,o){return new wm(e,t,n,l,i,o)}function Cm(e){return e.viewDefFactory}var wm=function(e){function t(t,n,l,i,o,r){var u=e.call(this)||this;return u.selector=t,u.componentType=n,u._inputs=i,u._outputs=o,u.ngContentSelectors=r,u.viewDefFactory=l,u}return Object(l.__extends)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,l){if(!l)throw new Error("ngModule should be provided");var i=jg(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,r=cg.createRootView(e,t||[],n,i,l,ym),u=rg(r,o).instance;return n&&r.renderer.setAttribute(og(r,0).renderElement,"ng-version",Da.full),new _m(r,new Im(r),u)},t}(Qu),_m=function(e){function t(t,n,l){var i=e.call(this)||this;return i._view=t,i._viewRef=n,i._component=l,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=l,i}return Object(l.__extends)(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new fa(og(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Rm(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(Zu);function xm(e,t,n){return new Sm(e,t,n)}var Sm=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new fa(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Rm(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Dg(e),e=e.parent;return e?new Rm(e,t):new Rm(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=hm(this._data,e);cg.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Im(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var l=e.createEmbeddedView(t||{});return this.insert(l,n),l},e.prototype.createComponent=function(e,t,n,l,i){var o=n||this.parentInjector;i||e instanceof ra||(i=o.get(ua));var r=e.create(o,l,void 0,i);return this.insert(r.hostView,t),r},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,l,i,o,r=e;return o=(n=this._data).viewContainer._embeddedViews,null==(l=t)&&(l=o.length),(i=r._view).viewContainerParent=this._view,mm(o,l,i),function(e,t){var n=Tg(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var l=n.template._projectedViews;l||(l=n.template._projectedViews=[]),l.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var l=n.parent;l;)l.childFlags|=4,l=l.parent}}(0,t.parentNodeDef)}}(n,i),cg.dirtyParentQueries(i),fm(n,l>0?o[l-1]:null,i),r.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,l,i,o,r,u=this._embeddedViews.indexOf(e._view);return i=t,r=(o=(n=this._data).viewContainer._embeddedViews)[l=u],vm(o,l),null==i&&(i=o.length),mm(o,i,r),cg.dirtyParentQueries(r),gm(r),fm(n,i>0?o[i-1]:null,r),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=hm(this._data,e);t&&cg.destroyView(t)},e.prototype.detach=function(e){var t=hm(this._data,e);return t?new Im(t):null},e}();function Em(e){return new Im(e)}var Im=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return Hg(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Eg(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{cg.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){cg.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),cg.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,gm(this._view),cg.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Om(e,t){return new Tm(e,t)}var Tm=function(e){function t(t,n){var l=e.call(this)||this;return l._parentView=t,l._def=n,l}return Object(l.__extends)(t,e),t.prototype.createEmbeddedView=function(e){return new Im(cg.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new fa(og(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(mc);function Dm(e,t){return new Rm(e,t)}var Rm=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=fu.THROW_IF_NOT_FOUND),cg.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:mg(e)},t)},e}();function km(e,t){var n=e.def.nodes[t];if(1&n.flags){var l=og(e,n.nodeIndex);return n.element.template?l.template:l.renderElement}if(2&n.flags)return ig(e,n.nodeIndex).renderText;if(20240&n.flags)return rg(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Nm(e){return new Mm(e.renderer)}var Mm=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=Object(l.__read)(Wg(t),2),i=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,i),i},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var l=0;l0,i=t.provider;switch(201347067&t.flags){case 512:return Jm(e,t.parent,n,i.value,i.deps);case 1024:return function(e,t,n,i,o){var r=o.length;switch(r){case 0:return i();case 1:return i(tv(e,t,n,o[0]));case 2:return i(tv(e,t,n,o[0]),tv(e,t,n,o[1]));case 3:return i(tv(e,t,n,o[0]),tv(e,t,n,o[1]),tv(e,t,n,o[2]));default:for(var u=Array(r),a=0;a0)s=g,_v(g)||(c=g);else for(;s&&f===s.nodeIndex+s.childCount;){var y=s.parent;y&&(y.childFlags|=s.childFlags,y.childMatchedQueries|=s.childMatchedQueries),c=(s=y)&&_v(s)?s.renderParent:s}}return{factory:null,nodeFlags:r,rootNodeFlags:u,nodeMatchedQueries:a,flags:e,nodes:t,updateDirectives:n||fg,updateRenderer:l||fg,handleEvent:function(e,n,l,i){return t[n].element.handleEvent(e,l,i)},bindingCount:i,outputCount:o,lastRenderRootNode:h}}function _v(e){return 0!=(1&e.flags)&&null===e.element.name}function xv(e,t,n){var l=t.element&&t.element.template;if(l){if(!l.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(l.lastRenderRootNode&&16777216&l.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var i=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=i&&t.nodeIndex+t.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Sv(e,t,n,l){var i=Ov(e.root,e.renderer,e,t,n);return Tv(i,e.component,l),Dv(i),i}function Ev(e,t,n){var l=Ov(e,e.renderer,null,null,t);return Tv(l,n,n),Dv(l),l}function Iv(e,t,n,l){var i,o=t.element.componentRendererType;return i=o?e.root.rendererFactory.createRenderer(l,o):e.root.renderer,Ov(e.root,i,e,t.element.componentProvider,n)}function Ov(e,t,n,l,i){var o=new Array(i.nodes.length),r=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:l,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:r,initIndex:-1}}function Tv(e,t,n){e.component=t,e.context=n}function Dv(e){var t;Ng(e)&&(t=og(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,l=e.nodes,i=0;i0&&im(e,t,0,n)&&(h=!0),p>1&&im(e,t,1,l)&&(h=!0),p>2&&im(e,t,2,i)&&(h=!0),p>3&&im(e,t,3,o)&&(h=!0),p>4&&im(e,t,4,r)&&(h=!0),p>5&&im(e,t,5,u)&&(h=!0),p>6&&im(e,t,6,a)&&(h=!0),p>7&&im(e,t,7,s)&&(h=!0),p>8&&im(e,t,8,c)&&(h=!0),p>9&&im(e,t,9,d)&&(h=!0),h}(e,t,n,l,i,o,r,u,a,s,c,d);case 2:return function(e,t,n,l,i,o,r,u,a,s,c,d){var p=!1,h=t.bindings,f=h.length;if(f>0&&xg(e,t,0,n)&&(p=!0),f>1&&xg(e,t,1,l)&&(p=!0),f>2&&xg(e,t,2,i)&&(p=!0),f>3&&xg(e,t,3,o)&&(p=!0),f>4&&xg(e,t,4,r)&&(p=!0),f>5&&xg(e,t,5,u)&&(p=!0),f>6&&xg(e,t,6,a)&&(p=!0),f>7&&xg(e,t,7,s)&&(p=!0),f>8&&xg(e,t,8,c)&&(p=!0),f>9&&xg(e,t,9,d)&&(p=!0),p){var g=t.text.prefix;f>0&&(g+=Cv(n,h[0])),f>1&&(g+=Cv(l,h[1])),f>2&&(g+=Cv(i,h[2])),f>3&&(g+=Cv(o,h[3])),f>4&&(g+=Cv(r,h[4])),f>5&&(g+=Cv(u,h[5])),f>6&&(g+=Cv(a,h[6])),f>7&&(g+=Cv(s,h[7])),f>8&&(g+=Cv(c,h[8])),f>9&&(g+=Cv(d,h[9]));var m=ig(e,t.nodeIndex).renderText;e.renderer.setValue(m,g)}return p}(e,t,n,l,i,o,r,u,a,s,c,d);case 16384:return function(e,t,n,l,i,o,r,u,a,s,c,d){var p=rg(e,t.nodeIndex),h=p.instance,f=!1,g=void 0,m=t.bindings.length;return m>0&&_g(e,t,0,n)&&(f=!0,g=lv(e,p,t,0,n,g)),m>1&&_g(e,t,1,l)&&(f=!0,g=lv(e,p,t,1,l,g)),m>2&&_g(e,t,2,i)&&(f=!0,g=lv(e,p,t,2,i,g)),m>3&&_g(e,t,3,o)&&(f=!0,g=lv(e,p,t,3,o,g)),m>4&&_g(e,t,4,r)&&(f=!0,g=lv(e,p,t,4,r,g)),m>5&&_g(e,t,5,u)&&(f=!0,g=lv(e,p,t,5,u,g)),m>6&&_g(e,t,6,a)&&(f=!0,g=lv(e,p,t,6,a,g)),m>7&&_g(e,t,7,s)&&(f=!0,g=lv(e,p,t,7,s,g)),m>8&&_g(e,t,8,c)&&(f=!0,g=lv(e,p,t,8,c,g)),m>9&&_g(e,t,9,d)&&(f=!0,g=lv(e,p,t,9,d,g)),g&&h.ngOnChanges(g),65536&t.flags&&lg(e,256,t.nodeIndex)&&h.ngOnInit(),262144&t.flags&&h.ngDoCheck(),f}(e,t,n,l,i,o,r,u,a,s,c,d);case 32:case 64:case 128:return function(e,t,n,l,i,o,r,u,a,s,c,d){var p=t.bindings,h=!1,f=p.length;if(f>0&&xg(e,t,0,n)&&(h=!0),f>1&&xg(e,t,1,l)&&(h=!0),f>2&&xg(e,t,2,i)&&(h=!0),f>3&&xg(e,t,3,o)&&(h=!0),f>4&&xg(e,t,4,r)&&(h=!0),f>5&&xg(e,t,5,u)&&(h=!0),f>6&&xg(e,t,6,a)&&(h=!0),f>7&&xg(e,t,7,s)&&(h=!0),f>8&&xg(e,t,8,c)&&(h=!0),f>9&&xg(e,t,9,d)&&(h=!0),h){var g=ug(e,t.nodeIndex),m=void 0;switch(201347067&t.flags){case 32:m=new Array(p.length),f>0&&(m[0]=n),f>1&&(m[1]=l),f>2&&(m[2]=i),f>3&&(m[3]=o),f>4&&(m[4]=r),f>5&&(m[5]=u),f>6&&(m[6]=a),f>7&&(m[7]=s),f>8&&(m[8]=c),f>9&&(m[9]=d);break;case 64:m={},f>0&&(m[p[0].name]=n),f>1&&(m[p[1].name]=l),f>2&&(m[p[2].name]=i),f>3&&(m[p[3].name]=o),f>4&&(m[p[4].name]=r),f>5&&(m[p[5].name]=u),f>6&&(m[p[6].name]=a),f>7&&(m[p[7].name]=s),f>8&&(m[p[8].name]=c),f>9&&(m[p[9].name]=d);break;case 128:var v=n;switch(f){case 1:m=v.transform(n);break;case 2:m=v.transform(l);break;case 3:m=v.transform(l,i);break;case 4:m=v.transform(l,i,o);break;case 5:m=v.transform(l,i,o,r);break;case 6:m=v.transform(l,i,o,r,u);break;case 7:m=v.transform(l,i,o,r,u,a);break;case 8:m=v.transform(l,i,o,r,u,a,s);break;case 9:m=v.transform(l,i,o,r,u,a,s,c);break;case 10:m=v.transform(l,i,o,r,u,a,s,c,d)}}g.value=m}return h}(e,t,n,l,i,o,r,u,a,s,c,d);default:throw"unreachable"}}(e,t,i,o,r,u,a,s,c,d,p,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var l=!1,i=0;i0&&Sg(e,t,0,n),p>1&&Sg(e,t,1,l),p>2&&Sg(e,t,2,i),p>3&&Sg(e,t,3,o),p>4&&Sg(e,t,4,r),p>5&&Sg(e,t,5,u),p>6&&Sg(e,t,6,a),p>7&&Sg(e,t,7,s),p>8&&Sg(e,t,8,c),p>9&&Sg(e,t,9,d)}(e,t,l,i,o,r,u,a,s,c,d,p):function(e,t,n){for(var l=0;l0){var o=new Set(e.modules);Xv.forEach(function(t,l){if(o.has(w(l).providedIn)){var i={token:l,flags:t.flags|(n?4096:0),deps:Pg(t.deps),value:t.value,index:e.providers.length};e.providers.push(i),e.providersByKey[mg(l)]=i}})}}(e=e.factory(function(){return fg})),e):e}(l))}var Qv=new Map,Xv=new Map,Jv=new Map;function ey(e){var t;Qv.set(e.token,e),"function"==typeof e.token&&(t=w(e.token))&&"function"==typeof t.providedIn&&Xv.set(e.token,e)}function ty(e,t){var n=jg(Cm(t)),l=jg(n.nodes[0].element.componentView);Jv.set(e,l)}function ny(){Qv.clear(),Xv.clear(),Jv.clear()}function ly(e){if(0===Qv.size)return e;var t=function(e){for(var t=[],n=null,l=0;l",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(s),d=["%","/","?",";","#"].concat(c),p=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n("r8II");function b(e,t,n){if(e&&i.isObject(e)&&e instanceof o)return e;var l=new o;return l.parse(e,t,n),l}o.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),u=-1!==o&&o127?M+="x":M+=N[L];if(!M.match(h)){var P=R.slice(0,O),F=R.slice(O+1),V=N.match(f);V&&(P.push(V[1]),F.unshift(V[2])),F.length&&(b="/"+F.join(".")+b),this.hostname=P.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),D||(this.hostname=l.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!g[_])for(O=0,k=c.length;O0)&&n.host.split("@"))&&(n.auth=O.shift(),n.host=n.hostname=O.shift())),n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!w.length)return n.pathname=null,n.path=n.search?"/"+n.search:null,n.href=n.format(),n;for(var x=w.slice(-1)[0],S=(n.host||e.host||w.length>1)&&("."===x||".."===x)||""===x,E=0,I=w.length;I>=0;I--)"."===(x=w[I])?w.splice(I,1):".."===x?(w.splice(I,1),E++):E&&(w.splice(I,1),E--);if(!b&&!C)for(;E--;E)w.unshift("..");!b||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),S&&"/"!==w.join("/").substr(-1)&&w.push("");var O,T=""===w[0]||w[0]&&"/"===w[0].charAt(0);return _&&(n.hostname=n.host=T?"":w.length?w.shift():"",(O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=O.shift(),n.host=n.hostname=O.shift())),(b=b||n.host&&w.length)&&!T&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=u.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},Czxz:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("7LN8"),a=n("mU/a"),s=n("sdDj"),c=n("P3jN"),d=n("CcnG"),p=n("DtyJ"),h=function(){function e(){this.sortSource=new p.Subject,this.selectionSource=new p.Subject,this.contextMenuSource=new p.Subject,this.valueSource=new p.Subject,this.totalRecordsSource=new p.Subject,this.columnsSource=new p.Subject,this.sortSource$=this.sortSource.asObservable(),this.selectionSource$=this.selectionSource.asObservable(),this.contextMenuSource$=this.contextMenuSource.asObservable(),this.valueSource$=this.valueSource.asObservable(),this.totalRecordsSource$=this.totalRecordsSource.asObservable(),this.columnsSource$=this.columnsSource.asObservable()}return e.prototype.onSort=function(e){this.sortSource.next(e)},e.prototype.onSelectionChange=function(){this.selectionSource.next()},e.prototype.onContextMenu=function(e){this.contextMenuSource.next(e)},e.prototype.onValueChange=function(e){this.valueSource.next(e)},e.prototype.onTotalRecordsChange=function(e){this.totalRecordsSource.next(e)},e.prototype.onColumnsChange=function(e){this.columnsSource.next(e)},l([d.Injectable()],e)}();t.TableService=h;var f=function(){function e(e,t,n){this.el=e,this.zone=t,this.tableService=n,this.first=0,this.pageLinks=5,this.alwaysShowPaginator=!0,this.paginatorPosition="bottom",this.defaultSortOrder=1,this.sortMode="single",this.resetPageOnSort=!0,this.selectionChange=new o.EventEmitter,this.contextMenuSelectionChange=new o.EventEmitter,this.contextMenuSelectionMode="separate",this.rowTrackBy=function(e,t){return t},this.lazy=!1,this.lazyLoadOnInit=!0,this.compareSelectionBy="deepEquals",this.csvSeparator=",",this.exportFilename="download",this.filters={},this.filterDelay=300,this.expandedRowKeys={},this.rowExpandMode="multiple",this.virtualScrollDelay=150,this.virtualRowHeight=28,this.columnResizeMode="fit",this.loadingIcon="pi pi-spinner",this.stateStorage="session",this.onRowSelect=new o.EventEmitter,this.onRowUnselect=new o.EventEmitter,this.onPage=new o.EventEmitter,this.onSort=new o.EventEmitter,this.onFilter=new o.EventEmitter,this.onLazyLoad=new o.EventEmitter,this.onRowExpand=new o.EventEmitter,this.onRowCollapse=new o.EventEmitter,this.onContextMenuSelect=new o.EventEmitter,this.onColResize=new o.EventEmitter,this.onColReorder=new o.EventEmitter,this.onRowReorder=new o.EventEmitter,this.onEditInit=new o.EventEmitter,this.onEditComplete=new o.EventEmitter,this.onEditCancel=new o.EventEmitter,this.onHeaderCheckboxToggle=new o.EventEmitter,this.sortFunction=new o.EventEmitter,this._value=[],this._totalRecords=0,this.selectionKeys={},this._sortOrder=1,this.filterConstraints={startsWith:function(e,t){if(null==t||""===t.trim())return!0;if(null==e)return!1;var n=c.ObjectUtils.removeAccents(t.toString()).toLowerCase();return c.ObjectUtils.removeAccents(e.toString()).toLowerCase().slice(0,n.length)===n},contains:function(e,t){if(null==t||"string"==typeof t&&""===t.trim())return!0;if(null==e)return!1;var n=c.ObjectUtils.removeAccents(t.toString()).toLowerCase();return-1!==c.ObjectUtils.removeAccents(e.toString()).toLowerCase().indexOf(n)},endsWith:function(e,t){if(null==t||""===t.trim())return!0;if(null==e)return!1;var n=c.ObjectUtils.removeAccents(t.toString()).toLowerCase(),l=c.ObjectUtils.removeAccents(e.toString()).toLowerCase();return-1!==l.indexOf(n,l.length-n.length)},equals:function(e,t){return null==t||"string"==typeof t&&""===t.trim()||null!=e&&(e.getTime&&t.getTime?e.getTime()===t.getTime():c.ObjectUtils.removeAccents(e.toString()).toLowerCase()==c.ObjectUtils.removeAccents(t.toString()).toLowerCase())},notEquals:function(e,t){return!(null==t||"string"==typeof t&&""===t.trim()||null!=e&&(e.getTime&&t.getTime?e.getTime()===t.getTime():c.ObjectUtils.removeAccents(e.toString()).toLowerCase()==c.ObjectUtils.removeAccents(t.toString()).toLowerCase()))},in:function(e,t){if(null==t||0===t.length)return!0;for(var n=0;nt.getTime():e>t)},gte:function(e,t){return null==t||null!=e&&(e.getTime&&t.getTime?e.getTime()>=t.getTime():e>=t)}}}return e.prototype.ngOnInit=function(){this.lazy&&this.lazyLoadOnInit&&this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.initialized=!0},e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"caption":e.captionTemplate=t.template;break;case"header":e.headerTemplate=t.template;break;case"body":e.bodyTemplate=t.template;break;case"footer":e.footerTemplate=t.template;break;case"summary":e.summaryTemplate=t.template;break;case"colgroup":e.colGroupTemplate=t.template;break;case"rowexpansion":e.expandedRowTemplate=t.template;break;case"frozenrows":e.frozenRowsTemplate=t.template;break;case"frozenheader":e.frozenHeaderTemplate=t.template;break;case"frozenbody":e.frozenBodyTemplate=t.template;break;case"frozenfooter":e.frozenFooterTemplate=t.template;break;case"frozencolgroup":e.frozenColGroupTemplate=t.template;break;case"emptymessage":e.emptyMessageTemplate=t.template;break;case"paginatorleft":e.paginatorLeftTemplate=t.template;break;case"paginatorright":e.paginatorRightTemplate=t.template}})},e.prototype.ngAfterViewInit=function(){this.isStateful()&&this.resizableColumns&&this.restoreColumnWidths()},Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this.isStateful()&&!this.stateRestored&&this.restoreState(),this._value=e,this.lazy||(this.totalRecords=this._value?this._value.length:0,"single"==this.sortMode&&this.sortField?this.sortSingle():"multiple"==this.sortMode&&this.multiSortMeta?this.sortMultiple():this.hasFilter()&&this._filter()),this.virtualScroll&&this.virtualScrollCallback&&this.virtualScrollCallback(),this.tableService.onValueChange(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columns",{get:function(){return this._columns},set:function(e){this._columns=e,this.tableService.onColumnsChange(e),this._columns&&this.isStateful()&&this.reorderableColumns&&!this.columnOrderStateRestored&&this.restoreColumnOrder()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"totalRecords",{get:function(){return this._totalRecords},set:function(e){this._totalRecords=e,this.tableService.onTotalRecordsChange(this._totalRecords)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sortField",{get:function(){return this._sortField},set:function(e){this._sortField=e,this.lazy&&!this.initialized||"single"===this.sortMode&&this.sortSingle()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sortOrder",{get:function(){return this._sortOrder},set:function(e){this._sortOrder=e,this.lazy&&!this.initialized||"single"===this.sortMode&&this.sortSingle()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiSortMeta",{get:function(){return this._multiSortMeta},set:function(e){this._multiSortMeta=e,"multiple"===this.sortMode&&this.sortMultiple()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selection",{get:function(){return this._selection},set:function(e){this._selection=e,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange()),this.preventSelectionSetterPropagation=!1},enumerable:!0,configurable:!0}),e.prototype.updateSelectionKeys=function(){if(this.dataKey&&this._selection)if(this.selectionKeys={},Array.isArray(this._selection))for(var e=0,t=this._selection;eo?1:0,e.sortOrder*l}),this.hasFilter()&&this._filter());var t={field:this.sortField,order:this.sortOrder};this.onSort.emit(t),this.tableService.onSort(t)}},e.prototype.sortMultiple=function(){var e=this;this.multiSortMeta&&(this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,multiSortMeta:this.multiSortMeta}):this.value.sort(function(t,n){return e.multisortField(t,n,e.multiSortMeta,0)}),this.hasFilter()&&this._filter()),this.onSort.emit({multisortmeta:this.multiSortMeta}),this.tableService.onSort(this.multiSortMeta))},e.prototype.multisortField=function(e,t,n,l){var i=c.ObjectUtils.resolveFieldData(e,n[l].field),o=c.ObjectUtils.resolveFieldData(t,n[l].field),r=null;if(null==i&&null!=o?r=-1:null!=i&&null==o?r=1:null==i&&null==o&&(r=0),"string"==typeof i||i instanceof String){if(i.localeCompare&&i!=o)return n[l].order*i.localeCompare(o)}else r=il?this.multisortField(e,t,n,l+1):0:n[l].order*r},e.prototype.getSortMeta=function(e){if(this.multiSortMeta&&this.multiSortMeta.length)for(var t=0;tt?(n=t,l=this.anchorRowIndex):this.anchorRowIndexthis.anchorRowIndex?(t=this.anchorRowIndex,n=this.rangeRowIndex):this.rangeRowIndex-1:this.equals(e,this.selection))},e.prototype.findIndexInSelection=function(e){var t=-1;if(this.selection&&this.selection.length)for(var n=0;n=i){if("fit"===this.columnResizeMode){for(var r=t.nextElementSibling;!r.offsetParent;)r=r.nextElementSibling;if(r){var u=r.offsetWidth-n;if(o>15&&u>parseInt(r.style.minWidth||15))if(this.scrollable){var a=this.findParentScrollableView(t),c=s.DomHandler.findSingle(a,"table.ui-table-scrollable-body-table"),d=s.DomHandler.findSingle(a,"table.ui-table-scrollable-header-table"),p=s.DomHandler.findSingle(a,"table.ui-table-scrollable-footer-table"),h=s.DomHandler.index(t);this.resizeColGroup(d,h,o,u),this.resizeColGroup(c,h,o,u),this.resizeColGroup(p,h,o,u)}else t.style.width=o+"px",r&&(r.style.width=u+"px")}}else"expand"===this.columnResizeMode&&o>i&&(this.scrollable?(a=this.findParentScrollableView(t),c=s.DomHandler.findSingle(a,"table.ui-table-scrollable-body-table"),d=s.DomHandler.findSingle(a,"table.ui-table-scrollable-header-table"),p=s.DomHandler.findSingle(a,"table.ui-table-scrollable-footer-table"),c.style.width=c.offsetWidth+n+"px",d.style.width=d.offsetWidth+n+"px",p&&(p.style.width=d.offsetWidth+n+"px"),h=s.DomHandler.index(t),this.resizeColGroup(d,h,o,null),this.resizeColGroup(c,h,o,null),this.resizeColGroup(p,h,o,null)):(this.tableViewChild.nativeElement.style.width=this.tableViewChild.nativeElement.offsetWidth+n+"px",t.style.width=o+"px",this.containerViewChild.nativeElement.style.width=this.tableViewChild.nativeElement.style.width+"px"));this.onColResize.emit({element:t,delta:n}),this.isStateful()&&this.saveState()}this.resizeHelperViewChild.nativeElement.style.display="none",s.DomHandler.removeClass(this.containerViewChild.nativeElement,"ui-unselectable-text")},e.prototype.findParentScrollableView=function(e){if(e){for(var t=e.parentElement;t&&!s.DomHandler.hasClass(t,"ui-table-scrollable-view");)t=t.parentElement;return t}return null},e.prototype.resizeColGroup=function(e,t,n,l){if(e){var i="COLGROUP"===e.children[0].nodeName?e.children[0]:null;if(!i)throw"Scrollable tables require a colgroup to support resizable columns";var o=i.children[t],r=o.nextElementSibling;o.style.width=n+"px",r&&l&&(r.style.width=l+"px")}},e.prototype.onColumnDragStart=function(e,t){this.reorderIconWidth=s.DomHandler.getHiddenElementOuterWidth(this.reorderIndicatorUpViewChild.nativeElement),this.reorderIconHeight=s.DomHandler.getHiddenElementOuterHeight(this.reorderIndicatorDownViewChild.nativeElement),this.draggedColumn=t,e.dataTransfer.setData("text","b")},e.prototype.onColumnDragEnter=function(e,t){if(this.reorderableColumns&&this.draggedColumn&&t){e.preventDefault();var n=s.DomHandler.getOffset(this.containerViewChild.nativeElement),l=s.DomHandler.getOffset(t);if(this.draggedColumn!=t){var i=l.left-n.left,o=l.left+t.offsetWidth/2;this.reorderIndicatorUpViewChild.nativeElement.style.top=l.top-n.top-(this.reorderIconHeight-1)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.top=l.top-n.top+t.offsetHeight+"px",e.pageX>o?(this.reorderIndicatorUpViewChild.nativeElement.style.left=i+t.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=i+t.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUpViewChild.nativeElement.style.left=i-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=i-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=-1),this.reorderIndicatorUpViewChild.nativeElement.style.display="block",this.reorderIndicatorDownViewChild.nativeElement.style.display="block"}else e.dataTransfer.dropEffect="none"}},e.prototype.onColumnDragLeave=function(e){this.reorderableColumns&&this.draggedColumn&&(e.preventDefault(),this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none")},e.prototype.onColumnDrop=function(e,t){if(e.preventDefault(),this.draggedColumn){var n=s.DomHandler.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),l=s.DomHandler.indexWithinGroup(t,"preorderablecolumn"),i=n!=l;i&&(l-n==1&&-1===this.dropPosition||n-l==1&&1===this.dropPosition)&&(i=!1),i&&ln&&-1===this.dropPosition&&(l-=1),i&&(c.ObjectUtils.reorderArray(this.columns,n,l),this.onColReorder.emit({dragIndex:n,dropIndex:l,columns:this.columns}),this.isStateful()&&this.saveState()),this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none",this.draggedColumn.draggable=!1,this.draggedColumn=null,this.dropPosition=null}},e.prototype.onRowDragStart=function(e,t){this.rowDragging=!0,this.draggedRowIndex=t,e.dataTransfer.setData("text","b")},e.prototype.onRowDragOver=function(e,t,n){if(this.rowDragging&&this.draggedRowIndex!==t){var l=s.DomHandler.getOffset(n).top+s.DomHandler.getWindowScrollTop(),i=e.pageY,o=l+s.DomHandler.getOuterHeight(n)/2,r=n.previousElementSibling;ithis.droppedRowIndex?this.droppedRowIndex:0===this.droppedRowIndex?0:this.droppedRowIndex-1),this.onRowReorder.emit({dragIndex:this.draggedRowIndex,dropIndex:this.droppedRowIndex})),this.onRowDragLeave(e,t),this.onRowDragEnd(e)},e.prototype.handleVirtualScroll=function(e){var t=this;this.first=(e.page-1)*this.rows,this.virtualScrollCallback=e.callback,this.zone.run(function(){t.virtualScrollTimer&&clearTimeout(t.virtualScrollTimer),t.virtualScrollTimer=setTimeout(function(){t.onLazyLoad.emit(t.createLazyLoadMetadata())},t.virtualScrollDelay)})},e.prototype.isEmpty=function(){var e=this.filteredValue||this.value;return null==e||0==e.length},e.prototype.getBlockableElement=function(){return this.el.nativeElement.children[0]},e.prototype.getStorage=function(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}},e.prototype.isStateful=function(){return null!=this.stateKey},e.prototype.saveState=function(){var e=this.getStorage(),t={};this.paginator&&(t.first=this.first,t.rows=this.rows),this.sortField&&(t.sortField=this.sortField,t.sortOrder=this.sortOrder),this.multiSortMeta&&(t.multiSortMeta=this.multiSortMeta),this.hasFilter()&&(t.filters=this.filters),this.resizableColumns&&this.saveColumnWidths(t),this.reorderableColumns&&this.saveColumnOrder(t),this.selection&&(t.selection=this.selection),Object.keys(this.expandedRowKeys).length&&(t.expandedRowKeys=this.expandedRowKeys),Object.keys(t).length&&e.setItem(this.stateKey,JSON.stringify(t))},e.prototype.clearState=function(){var e=this.getStorage();this.stateKey&&e.removeItem(this.stateKey)},e.prototype.restoreState=function(){var e=this.getStorage().getItem(this.stateKey);if(e){var t=JSON.parse(e);this.paginator&&(this.first=t.first,this.rows=t.rows),t.sortField&&(this.restoringSort=!0,this._sortField=t.sortField,this._sortOrder=t.sortOrder),t.multiSortMeta&&(this.restoringSort=!0,this._multiSortMeta=t.multiSortMeta),t.filters&&(this.restoringFilter=!0,this.filters=t.filters),this.resizableColumns&&(this.columnWidthsState=t.columnWidths,this.tableWidthState=t.tableWidth),t.expandedRowKeys&&(this.expandedRowKeys=t.expandedRowKeys),t.selection&&(this.selection=t.selection),this.stateRestored=!0}},e.prototype.saveColumnWidths=function(e){var t=[];s.DomHandler.find(this.containerViewChild.nativeElement,".ui-table-thead > tr:first-child > th").map(function(e){return t.push(s.DomHandler.getOuterWidth(e))}),e.columnWidths=t.join(","),"expand"===this.columnResizeMode&&(e.tableWidth=this.scrollable?s.DomHandler.findSingle(this.containerViewChild.nativeElement,".ui-table-scrollable-header-table").style.width:s.DomHandler.getOuterWidth(this.tableViewChild.nativeElement)+"px")},e.prototype.restoreColumnWidths=function(){if(this.columnWidthsState){var e=this.columnWidthsState.split(",");if("expand"===this.columnResizeMode&&this.tableWidthState)if(this.scrollable){var t=s.DomHandler.findSingle(this.containerViewChild.nativeElement,".ui-table-scrollable-body-table"),n=s.DomHandler.findSingle(this.containerViewChild.nativeElement,".ui-table-scrollable-header-table"),l=s.DomHandler.findSingle(this.containerViewChild.nativeElement,".ui-table-scrollable-footer-table");t.style.width=this.tableWidthState,n.style.width=this.tableWidthState,l&&(l.style.width=this.tableWidthState)}else this.tableViewChild.nativeElement.style.width=this.tableWidthState,this.containerViewChild.nativeElement.style.width=this.tableWidthState;if(this.scrollable){var i=s.DomHandler.find(this.containerViewChild.nativeElement,".ui-table-scrollable-header-table > colgroup > col"),o=s.DomHandler.find(this.containerViewChild.nativeElement,".ui-table-scrollable-body-table > colgroup > col");i.map(function(t,n){return t.style.width=e[n]+"px"}),o.map(function(t,n){return t.style.width=e[n]+"px"})}else s.DomHandler.find(this.tableViewChild.nativeElement,".ui-table-thead > tr:first-child > th").map(function(t,n){return t.style.width=e[n]+"px"})}},e.prototype.saveColumnOrder=function(e){if(this.columns){var t=[];this.columns.map(function(e){t.push(e.field||e.key)}),e.columnOrder=t}},e.prototype.restoreColumnOrder=function(){var e=this,t=this.getStorage().getItem(this.stateKey);if(t){var n=JSON.parse(t).columnOrder;if(n){var l=[];n.map(function(t){return l.push(e.findColumnByKey(t))}),this.columnOrderStateRestored=!0,this.columns=l}}},e.prototype.findColumnByKey=function(e){if(!this.columns)return null;for(var t=0,n=this.columns;t\n

    \n
    \n \n
    \n
    \n \n
    \n \n \n
    \n \n \n \n \n \n \n \n \n \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n \n
    \n\n \n\n \n \n \n ',providers:[h]})],e)}();t.Table=f;var g=function(){function e(e){this.dt=e}return l([o.Input("pTableBody"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Input("pTableBodyTemplate"),i("design:type",o.TemplateRef)],e.prototype,"template",void 0),l([o.Component({selector:"[pTableBody]",template:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n '})],e)}();t.TableBody=g;var m=function(){function e(e,t,n){var l=this;this.dt=e,this.el=t,this.zone=n,this.subscription=this.dt.tableService.valueSource$.subscribe(function(){l.zone.runOutsideAngular(function(){setTimeout(function(){l.alignScrollBar()},50)})}),this.dt.virtualScroll&&(this.totalRecordsSubscription=this.dt.tableService.totalRecordsSource$.subscribe(function(){l.zone.runOutsideAngular(function(){setTimeout(function(){l.setVirtualScrollerHeight()},50)})})),this.initialized=!1}return Object.defineProperty(e.prototype,"scrollHeight",{get:function(){return this._scrollHeight},set:function(e){this._scrollHeight=e,this.setScrollHeight()},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewChecked=function(){!this.initialized&&this.el.nativeElement.offsetParent&&(this.alignScrollBar(),this.setScrollHeight(),this.initialized=!0)},e.prototype.ngAfterViewInit=function(){var e=this;if(this.frozen){this.scrollBodyViewChild.nativeElement.style.marginBottom=s.DomHandler.calculateScrollbarWidth()+"px";var t=this.el.nativeElement.nextElementSibling;t&&(this.scrollableSiblingBody=s.DomHandler.findSingle(t,".ui-table-scrollable-body"))}else{(this.dt.frozenColumns||this.dt.frozenBodyTemplate)&&s.DomHandler.addClass(this.el.nativeElement,"ui-table-unfrozen-view");var n=this.el.nativeElement.previousElementSibling;n&&(this.frozenSiblingBody=s.DomHandler.findSingle(n,".ui-table-scrollable-body"))}this.bindEvents(),this.setScrollHeight(),this.alignScrollBar(),this.frozen&&(this.columnsSubscription=this.dt.tableService.columnsSource$.subscribe(function(){e.zone.runOutsideAngular(function(){setTimeout(function(){e.setScrollHeight()},50)})})),this.dt.virtualScroll&&this.setVirtualScrollerHeight()},e.prototype.bindEvents=function(){var e=this;this.zone.runOutsideAngular(function(){s.DomHandler.calculateScrollbarWidth(),e.scrollHeaderViewChild&&e.scrollHeaderViewChild.nativeElement&&(e.headerScrollListener=e.onHeaderScroll.bind(e),e.scrollHeaderBoxViewChild.nativeElement.addEventListener("scroll",e.headerScrollListener)),e.scrollFooterViewChild&&e.scrollFooterViewChild.nativeElement&&(e.footerScrollListener=e.onFooterScroll.bind(e),e.scrollFooterViewChild.nativeElement.addEventListener("scroll",e.footerScrollListener)),e.frozen||(e.bodyScrollListener=e.onBodyScroll.bind(e),e.scrollBodyViewChild.nativeElement.addEventListener("scroll",e.bodyScrollListener))})},e.prototype.unbindEvents=function(){this.scrollHeaderViewChild&&this.scrollHeaderViewChild.nativeElement&&this.scrollHeaderBoxViewChild.nativeElement.removeEventListener("scroll",this.headerScrollListener),this.scrollFooterViewChild&&this.scrollFooterViewChild.nativeElement&&this.scrollFooterViewChild.nativeElement.removeEventListener("scroll",this.footerScrollListener),this.scrollBodyViewChild.nativeElement.removeEventListener("scroll",this.bodyScrollListener)},e.prototype.onHeaderScroll=function(e){this.scrollHeaderViewChild.nativeElement.scrollLeft=0},e.prototype.onFooterScroll=function(e){this.scrollFooterViewChild.nativeElement.scrollLeft=0},e.prototype.onBodyScroll=function(e){var t=this;if(this.scrollHeaderViewChild&&this.scrollHeaderViewChild.nativeElement&&(this.scrollHeaderBoxViewChild.nativeElement.style.marginLeft=-1*this.scrollBodyViewChild.nativeElement.scrollLeft+"px"),this.scrollFooterViewChild&&this.scrollFooterViewChild.nativeElement&&(this.scrollFooterBoxViewChild.nativeElement.style.marginLeft=-1*this.scrollBodyViewChild.nativeElement.scrollLeft+"px"),this.frozenSiblingBody&&(this.frozenSiblingBody.scrollTop=this.scrollBodyViewChild.nativeElement.scrollTop),this.dt.virtualScroll){var n=s.DomHandler.getOuterHeight(this.scrollBodyViewChild.nativeElement),l=s.DomHandler.getOuterHeight(this.scrollTableViewChild.nativeElement),i=this.dt.virtualRowHeight*this.dt.rows,o=s.DomHandler.getOuterHeight(this.virtualScrollerViewChild.nativeElement)/i||1,r=this.scrollTableViewChild.nativeElement.style.top||"0";if(this.scrollBodyViewChild.nativeElement.scrollTop+n>parseFloat(r)+l||this.scrollBodyViewChild.nativeElement.scrollTops.DomHandler.getOuterHeight(this.scrollBodyViewChild.nativeElement)},e.prototype.alignScrollBar=function(){if(!this.frozen){var e=this.hasVerticalOverflow()?s.DomHandler.calculateScrollbarWidth():0;this.scrollHeaderBoxViewChild.nativeElement.style.marginRight=e+"px",this.scrollFooterBoxViewChild&&this.scrollFooterBoxViewChild.nativeElement&&(this.scrollFooterBoxViewChild.nativeElement.style.marginRight=e+"px")}this.initialized=!1},e.prototype.ngOnDestroy=function(){this.unbindEvents(),this.frozenSiblingBody=null,this.subscription&&this.subscription.unsubscribe(),this.totalRecordsSubscription&&this.totalRecordsSubscription.unsubscribe(),this.columnsSubscription&&this.columnsSubscription.unsubscribe(),this.initialized=!1},l([o.Input("pScrollableView"),i("design:type",Array)],e.prototype,"columns",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"frozen",void 0),l([o.ViewChild("scrollHeader"),i("design:type",o.ElementRef)],e.prototype,"scrollHeaderViewChild",void 0),l([o.ViewChild("scrollHeaderBox"),i("design:type",o.ElementRef)],e.prototype,"scrollHeaderBoxViewChild",void 0),l([o.ViewChild("scrollBody"),i("design:type",o.ElementRef)],e.prototype,"scrollBodyViewChild",void 0),l([o.ViewChild("scrollTable"),i("design:type",o.ElementRef)],e.prototype,"scrollTableViewChild",void 0),l([o.ViewChild("scrollFooter"),i("design:type",o.ElementRef)],e.prototype,"scrollFooterViewChild",void 0),l([o.ViewChild("scrollFooterBox"),i("design:type",o.ElementRef)],e.prototype,"scrollFooterBoxViewChild",void 0),l([o.ViewChild("virtualScroller"),i("design:type",o.ElementRef)],e.prototype,"virtualScrollerViewChild",void 0),l([o.Input(),i("design:type",String),i("design:paramtypes",[String])],e.prototype,"scrollHeight",null),l([o.Component({selector:"[pScrollableView]",template:'\n
    \n
    \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n \n '})],e)}();t.ScrollableView=m;var v=function(){function e(e){var t=this;this.dt=e,this.isEnabled()&&(this.subscription=this.dt.tableService.sortSource$.subscribe(function(e){t.updateSortState()}))}return e.prototype.ngOnInit=function(){this.isEnabled()&&this.updateSortState()},e.prototype.updateSortState=function(){this.sorted=this.dt.isSorted(this.field)},e.prototype.onClick=function(e){this.isEnabled()&&(this.updateSortState(),this.dt.sort({originalEvent:e,field:this.field}),s.DomHandler.clearSelection())},e.prototype.onEnterKey=function(e){this.onClick(e)},e.prototype.isEnabled=function(){return!0!==this.pSortableColumnDisabled},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input("pSortableColumn"),i("design:type",String)],e.prototype,"field",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pSortableColumnDisabled",void 0),l([o.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[MouseEvent]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.HostListener("keydown.enter",["$event"]),i("design:type",Function),i("design:paramtypes",[MouseEvent]),i("design:returntype",void 0)],e.prototype,"onEnterKey",null),l([o.Directive({selector:"[pSortableColumn]",host:{"[class.ui-sortable-column]":"isEnabled()","[class.ui-state-highlight]":"sorted","[attr.tabindex]":'isEnabled() ? "0" : null'}})],e)}();t.SortableColumn=v;var y=function(){function e(e){var t=this;this.dt=e,this.subscription=this.dt.tableService.sortSource$.subscribe(function(e){t.updateSortState()})}return e.prototype.ngOnInit=function(){this.updateSortState()},e.prototype.onClick=function(e){e.preventDefault()},e.prototype.updateSortState=function(){if("single"===this.dt.sortMode)this.sortOrder=this.dt.isSorted(this.field)?this.dt.sortOrder:0;else if("multiple"===this.dt.sortMode){var e=this.dt.getSortMeta(this.field);this.sortOrder=e?e.order:0}},Object.defineProperty(e.prototype,"ariaText",{get:function(){var e;switch(this.sortOrder){case 1:e=this.ariaLabelAsc;break;case-1:e=this.ariaLabelDesc;break;default:e=this.ariaLabel}return e},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input(),i("design:type",String)],e.prototype,"field",void 0),l([o.Input(),i("design:type",String)],e.prototype,"ariaLabel",void 0),l([o.Input(),i("design:type",String)],e.prototype,"ariaLabelDesc",void 0),l([o.Input(),i("design:type",String)],e.prototype,"ariaLabelAsc",void 0),l([o.Component({selector:"p-sortIcon",template:"\n \n "})],e)}();t.SortIcon=y;var b=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.isEnabled()&&(this.subscription=this.dt.tableService.selectionSource$.subscribe(function(){n.selected=n.dt.isSelected(n.data)}))}return e.prototype.ngOnInit=function(){this.isEnabled()&&(this.selected=this.dt.isSelected(this.data))},e.prototype.onClick=function(e){this.isEnabled()&&this.dt.handleRowClick({originalEvent:e,rowData:this.data,rowIndex:this.index})},e.prototype.onTouchEnd=function(e){this.isEnabled()&&this.dt.handleRowTouchEnd(e)},e.prototype.onKeyDown=function(e){if(this.isEnabled()){var t=e.target;switch(e.which){case 40:var n=this.findNextSelectableRow(t);n&&n.focus(),e.preventDefault();break;case 38:var l=this.findPrevSelectableRow(t);l&&l.focus(),e.preventDefault();break;case 13:this.dt.handleRowClick({originalEvent:e,rowData:this.data,rowIndex:this.index})}}},e.prototype.findNextSelectableRow=function(e){var t=e.nextElementSibling;return t?s.DomHandler.hasClass(t,"ui-selectable-row")?t:this.findNextSelectableRow(t):null},e.prototype.findPrevSelectableRow=function(e){var t=e.previousElementSibling;return t?s.DomHandler.hasClass(t,"ui-selectable-row")?t:this.findPrevSelectableRow(t):null},e.prototype.isEnabled=function(){return!0!==this.pSelectableRowDisabled},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input("pSelectableRow"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input("pSelectableRowIndex"),i("design:type",Number)],e.prototype,"index",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pSelectableRowDisabled",void 0),l([o.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.HostListener("touchend",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onTouchEnd",null),l([o.HostListener("keydown",["$event"]),i("design:type",Function),i("design:paramtypes",[KeyboardEvent]),i("design:returntype",void 0)],e.prototype,"onKeyDown",null),l([o.Directive({selector:"[pSelectableRow]",host:{"[class.ui-selectable-row]":"isEnabled()","[class.ui-state-highlight]":"selected","[attr.tabindex]":"isEnabled() ? 0 : undefined"}})],e)}();t.SelectableRow=b;var C=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.isEnabled()&&(this.subscription=this.dt.tableService.selectionSource$.subscribe(function(){n.selected=n.dt.isSelected(n.data)}))}return e.prototype.ngOnInit=function(){this.isEnabled()&&(this.selected=this.dt.isSelected(this.data))},e.prototype.onClick=function(e){this.isEnabled()&&this.dt.handleRowClick({originalEvent:e,rowData:this.data,rowIndex:this.index})},e.prototype.isEnabled=function(){return!0!==this.pSelectableRowDisabled},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input("pSelectableRowDblClick"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input("pSelectableRowIndex"),i("design:type",Number)],e.prototype,"index",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pSelectableRowDisabled",void 0),l([o.HostListener("dblclick",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.Directive({selector:"[pSelectableRowDblClick]",host:{"[class.ui-state-highlight]":"selected"}})],e)}();t.SelectableRowDblClick=C;var w=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.isEnabled()&&(this.subscription=this.dt.tableService.contextMenuSource$.subscribe(function(e){n.selected=n.dt.equals(n.data,e)}))}return e.prototype.onContextMenu=function(e){this.isEnabled()&&(this.dt.handleRowRightClick({originalEvent:e,rowData:this.data}),e.preventDefault())},e.prototype.isEnabled=function(){return!0!==this.pContextMenuRowDisabled},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input("pContextMenuRow"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pContextMenuRowDisabled",void 0),l([o.HostListener("contextmenu",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onContextMenu",null),l([o.Directive({selector:"[pContextMenuRow]",host:{"[class.ui-contextmenu-selected]":"selected"}})],e)}();t.ContextMenuRow=w;var _=function(){function e(e){this.dt=e}return e.prototype.onClick=function(e){this.isEnabled()&&(this.dt.toggleRow(this.data,e),e.preventDefault())},e.prototype.isEnabled=function(){return!0!==this.pRowTogglerDisabled},l([o.Input("pRowToggler"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pRowTogglerDisabled",void 0),l([o.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[Event]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.Directive({selector:"[pRowToggler]"})],e)}();t.RowToggler=_;var x=function(){function e(e,t,n){this.dt=e,this.el=t,this.zone=n}return e.prototype.ngAfterViewInit=function(){var e=this;this.isEnabled()&&(s.DomHandler.addClass(this.el.nativeElement,"ui-resizable-column"),this.resizer=document.createElement("span"),this.resizer.className="ui-column-resizer ui-clickable",this.el.nativeElement.appendChild(this.resizer),this.zone.runOutsideAngular(function(){e.resizerMouseDownListener=e.onMouseDown.bind(e),e.resizer.addEventListener("mousedown",e.resizerMouseDownListener)}))},e.prototype.bindDocumentEvents=function(){var e=this;this.zone.runOutsideAngular(function(){e.documentMouseMoveListener=e.onDocumentMouseMove.bind(e),document.addEventListener("mousemove",e.documentMouseMoveListener),e.documentMouseUpListener=e.onDocumentMouseUp.bind(e),document.addEventListener("mouseup",e.documentMouseUpListener)})},e.prototype.unbindDocumentEvents=function(){this.documentMouseMoveListener&&(document.removeEventListener("mousemove",this.documentMouseMoveListener),this.documentMouseMoveListener=null),this.documentMouseUpListener&&(document.removeEventListener("mouseup",this.documentMouseUpListener),this.documentMouseUpListener=null)},e.prototype.onMouseDown=function(e){this.dt.onColumnResizeBegin(e),this.bindDocumentEvents()},e.prototype.onDocumentMouseMove=function(e){this.dt.onColumnResize(e)},e.prototype.onDocumentMouseUp=function(e){this.dt.onColumnResizeEnd(e,this.el.nativeElement),this.unbindDocumentEvents()},e.prototype.isEnabled=function(){return!0!==this.pResizableColumnDisabled},e.prototype.ngOnDestroy=function(){this.resizerMouseDownListener&&this.resizer.removeEventListener("mousedown",this.resizerMouseDownListener),this.unbindDocumentEvents()},l([o.Input(),i("design:type",Boolean)],e.prototype,"pResizableColumnDisabled",void 0),l([o.Directive({selector:"[pResizableColumn]"})],e)}();t.ResizableColumn=x;var S=function(){function e(e,t,n){this.dt=e,this.el=t,this.zone=n}return e.prototype.ngAfterViewInit=function(){this.isEnabled()&&this.bindEvents()},e.prototype.bindEvents=function(){var e=this;this.zone.runOutsideAngular(function(){e.mouseDownListener=e.onMouseDown.bind(e),e.el.nativeElement.addEventListener("mousedown",e.mouseDownListener),e.dragStartListener=e.onDragStart.bind(e),e.el.nativeElement.addEventListener("dragstart",e.dragStartListener),e.dragOverListener=e.onDragEnter.bind(e),e.el.nativeElement.addEventListener("dragover",e.dragOverListener),e.dragEnterListener=e.onDragEnter.bind(e),e.el.nativeElement.addEventListener("dragenter",e.dragEnterListener),e.dragLeaveListener=e.onDragLeave.bind(e),e.el.nativeElement.addEventListener("dragleave",e.dragLeaveListener)})},e.prototype.unbindEvents=function(){this.mouseDownListener&&(document.removeEventListener("mousedown",this.mouseDownListener),this.mouseDownListener=null),this.dragOverListener&&(document.removeEventListener("dragover",this.dragOverListener),this.dragOverListener=null),this.dragEnterListener&&(document.removeEventListener("dragenter",this.dragEnterListener),this.dragEnterListener=null),this.dragEnterListener&&(document.removeEventListener("dragenter",this.dragEnterListener),this.dragEnterListener=null),this.dragLeaveListener&&(document.removeEventListener("dragleave",this.dragLeaveListener),this.dragLeaveListener=null)},e.prototype.onMouseDown=function(e){this.el.nativeElement.draggable="INPUT"!==e.target.nodeName&&"TEXTAREA"!==e.target.nodeName&&!s.DomHandler.hasClass(e.target,"ui-column-resizer")},e.prototype.onDragStart=function(e){this.dt.onColumnDragStart(e,this.el.nativeElement)},e.prototype.onDragOver=function(e){e.preventDefault()},e.prototype.onDragEnter=function(e){this.dt.onColumnDragEnter(e,this.el.nativeElement)},e.prototype.onDragLeave=function(e){this.dt.onColumnDragLeave(e)},e.prototype.onDrop=function(e){this.isEnabled()&&this.dt.onColumnDrop(e,this.el.nativeElement)},e.prototype.isEnabled=function(){return!0!==this.pReorderableColumnDisabled},e.prototype.ngOnDestroy=function(){this.unbindEvents()},l([o.Input(),i("design:type",Boolean)],e.prototype,"pReorderableColumnDisabled",void 0),l([o.HostListener("drop",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onDrop",null),l([o.Directive({selector:"[pReorderableColumn]"})],e)}();t.ReorderableColumn=S;var E=function(){function e(e,t,n){this.dt=e,this.el=t,this.zone=n}return e.prototype.ngAfterViewInit=function(){this.isEnabled()&&s.DomHandler.addClass(this.el.nativeElement,"ui-editable-column")},e.prototype.onClick=function(e){if(this.isEnabled())if(this.dt.editingCellClick=!0,this.dt.editingCell){if(this.dt.editingCell!==this.el.nativeElement){if(!this.dt.isEditingCellValid())return;s.DomHandler.removeClass(this.dt.editingCell,"ui-editing-cell"),this.openCell()}}else this.openCell()},e.prototype.openCell=function(){var e=this;this.dt.updateEditingCell(this.el.nativeElement),s.DomHandler.addClass(this.el.nativeElement,"ui-editing-cell"),this.dt.onEditInit.emit({field:this.field,data:this.data}),this.zone.runOutsideAngular(function(){setTimeout(function(){var t=s.DomHandler.findSingle(e.el.nativeElement,"input, textarea");t&&t.focus()},50)})},e.prototype.closeEditingCell=function(){s.DomHandler.removeClass(this.dt.editingCell,"ui-editing-cell"),this.dt.editingCell=null,this.dt.unbindDocumentEditListener()},e.prototype.onKeyDown=function(e){this.isEnabled()&&(13==e.keyCode?(this.dt.isEditingCellValid()&&(this.closeEditingCell(),this.dt.onEditComplete.emit({field:this.field,data:this.data})),e.preventDefault()):27==e.keyCode?(this.dt.isEditingCellValid()&&(this.closeEditingCell(),this.dt.onEditCancel.emit({field:this.field,data:this.data})),e.preventDefault()):9==e.keyCode&&(this.dt.onEditComplete.emit({field:this.field,data:this.data}),e.shiftKey?this.moveToPreviousCell(e):this.moveToNextCell(e)))},e.prototype.findCell=function(e){if(e){for(var t=e;t&&!s.DomHandler.hasClass(t,"ui-editing-cell");)t=t.parentElement;return t}return null},e.prototype.moveToPreviousCell=function(e){var t=this.findCell(e.target),n=this.findPreviousEditableColumn(t);n&&(s.DomHandler.invokeElementMethod(e.target,"blur"),s.DomHandler.invokeElementMethod(n,"click"),e.preventDefault())},e.prototype.moveToNextCell=function(e){var t=this.findCell(e.target),n=this.findNextEditableColumn(t);n&&(s.DomHandler.invokeElementMethod(e.target,"blur"),s.DomHandler.invokeElementMethod(n,"click"),e.preventDefault())},e.prototype.findPreviousEditableColumn=function(e){var t=e.previousElementSibling;if(!t){var n=e.parentElement.previousElementSibling;n&&(t=n.lastElementChild)}return t?s.DomHandler.hasClass(t,"ui-editable-column")?t:this.findPreviousEditableColumn(t):null},e.prototype.findNextEditableColumn=function(e){var t=e.nextElementSibling;if(!t){var n=e.parentElement.nextElementSibling;n&&(t=n.firstElementChild)}return t?s.DomHandler.hasClass(t,"ui-editable-column")?t:this.findNextEditableColumn(t):null},e.prototype.isEnabled=function(){return!0!==this.pEditableColumnDisabled},l([o.Input("pEditableColumn"),i("design:type",Object)],e.prototype,"data",void 0),l([o.Input("pEditableColumnField"),i("design:type",Object)],e.prototype,"field",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pEditableColumnDisabled",void 0),l([o.HostListener("click",["$event"]),i("design:type",Function),i("design:paramtypes",[MouseEvent]),i("design:returntype",void 0)],e.prototype,"onClick",null),l([o.HostListener("keydown",["$event"]),i("design:type",Function),i("design:paramtypes",[KeyboardEvent]),i("design:returntype",void 0)],e.prototype,"onKeyDown",null),l([o.Directive({selector:"[pEditableColumn]"})],e)}();t.EditableColumn=E;var I=function(){function e(e,t){this.dt=e,this.editableColumn=t}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"input":e.inputTemplate=t.template;break;case"output":e.outputTemplate=t.template}})},l([o.ContentChildren(u.PrimeTemplate),i("design:type",o.QueryList)],e.prototype,"templates",void 0),l([o.Component({selector:"p-cellEditor",template:'\n \n \n \n \n \n \n '})],e)}();t.CellEditor=I;var O=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.subscription=this.dt.tableService.selectionSource$.subscribe(function(){n.checked=n.dt.isSelected(n.value)})}return e.prototype.ngOnInit=function(){this.checked=this.dt.isSelected(this.value)},e.prototype.onClick=function(e){this.disabled||this.dt.toggleRowWithRadio({originalEvent:e,rowIndex:this.index},this.value),s.DomHandler.clearSelection()},e.prototype.onFocus=function(){s.DomHandler.addClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.onBlur=function(){s.DomHandler.removeClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"value",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"index",void 0),l([o.ViewChild("box"),i("design:type",o.ElementRef)],e.prototype,"boxViewChild",void 0),l([o.Component({selector:"p-tableRadioButton",template:'\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n '})],e)}();t.TableRadioButton=O;var T=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.subscription=this.dt.tableService.selectionSource$.subscribe(function(){n.checked=n.dt.isSelected(n.value)})}return e.prototype.ngOnInit=function(){this.checked=this.dt.isSelected(this.value)},e.prototype.onClick=function(e){this.disabled||this.dt.toggleRowWithCheckbox({originalEvent:e,rowIndex:this.index},this.value),s.DomHandler.clearSelection()},e.prototype.onFocus=function(){s.DomHandler.addClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.onBlur=function(){s.DomHandler.removeClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"value",void 0),l([o.Input(),i("design:type",Number)],e.prototype,"index",void 0),l([o.ViewChild("box"),i("design:type",o.ElementRef)],e.prototype,"boxViewChild",void 0),l([o.Component({selector:"p-tableCheckbox",template:'\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n '})],e)}();t.TableCheckbox=T;var D=function(){function e(e,t){var n=this;this.dt=e,this.tableService=t,this.valueChangeSubscription=this.dt.tableService.valueSource$.subscribe(function(){n.checked=n.updateCheckedState()}),this.selectionChangeSubscription=this.dt.tableService.selectionSource$.subscribe(function(){n.checked=n.updateCheckedState()})}return e.prototype.ngOnInit=function(){this.checked=this.updateCheckedState()},e.prototype.onClick=function(e,t){this.disabled||this.dt.value&&this.dt.value.length>0&&this.dt.toggleRowsWithCheckbox(e,!t),s.DomHandler.clearSelection()},e.prototype.onFocus=function(){s.DomHandler.addClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.onBlur=function(){s.DomHandler.removeClass(this.boxViewChild.nativeElement,"ui-state-focus")},e.prototype.isDisabled=function(){return this.disabled||!this.dt.value||!this.dt.value.length},e.prototype.ngOnDestroy=function(){this.selectionChangeSubscription&&this.selectionChangeSubscription.unsubscribe(),this.valueChangeSubscription&&this.valueChangeSubscription.unsubscribe()},e.prototype.updateCheckedState=function(){var e;return this.dt.filteredValue?(e=this.dt.filteredValue)&&e.length>0&&this.dt.selection&&this.dt.selection.length>0&&this.isAllFilteredValuesChecked():(e=this.dt.value)&&e.length>0&&this.dt.selection&&this.dt.selection.length>0&&this.dt.selection.length===e.length},e.prototype.isAllFilteredValuesChecked=function(){if(this.dt.filteredValue){for(var e=0,t=this.dt.filteredValue;e\n
    \n \n
    \n
    \n \n
    \n \n '})],e)}();t.TableHeaderCheckbox=D;var R=function(){function e(e){this.el=e}return e.prototype.ngAfterViewInit=function(){s.DomHandler.addClass(this.el.nativeElement,"ui-table-reorderablerow-handle")},l([o.Input("pReorderableRowHandle"),i("design:type",Number)],e.prototype,"index",void 0),l([o.Directive({selector:"[pReorderableRowHandle]"})],e)}();t.ReorderableRowHandle=R;var k=function(){function e(e,t,n){this.dt=e,this.el=t,this.zone=n}return e.prototype.ngAfterViewInit=function(){this.isEnabled()&&(this.el.nativeElement.droppable=!0,this.bindEvents())},e.prototype.bindEvents=function(){var e=this;this.zone.runOutsideAngular(function(){e.mouseDownListener=e.onMouseDown.bind(e),e.el.nativeElement.addEventListener("mousedown",e.mouseDownListener),e.dragStartListener=e.onDragStart.bind(e),e.el.nativeElement.addEventListener("dragstart",e.dragStartListener),e.dragEndListener=e.onDragEnd.bind(e),e.el.nativeElement.addEventListener("dragend",e.dragEndListener),e.dragOverListener=e.onDragOver.bind(e),e.el.nativeElement.addEventListener("dragover",e.dragOverListener),e.dragLeaveListener=e.onDragLeave.bind(e),e.el.nativeElement.addEventListener("dragleave",e.dragLeaveListener)})},e.prototype.unbindEvents=function(){this.mouseDownListener&&(document.removeEventListener("mousedown",this.mouseDownListener),this.mouseDownListener=null),this.dragStartListener&&(document.removeEventListener("dragstart",this.dragStartListener),this.dragStartListener=null),this.dragEndListener&&(document.removeEventListener("dragend",this.dragEndListener),this.dragEndListener=null),this.dragOverListener&&(document.removeEventListener("dragover",this.dragOverListener),this.dragOverListener=null),this.dragLeaveListener&&(document.removeEventListener("dragleave",this.dragLeaveListener),this.dragLeaveListener=null)},e.prototype.onMouseDown=function(e){this.el.nativeElement.draggable=!!s.DomHandler.hasClass(e.target,"ui-table-reorderablerow-handle")},e.prototype.onDragStart=function(e){this.dt.onRowDragStart(e,this.index)},e.prototype.onDragEnd=function(e){this.dt.onRowDragEnd(e),this.el.nativeElement.draggable=!1},e.prototype.onDragOver=function(e){this.dt.onRowDragOver(e,this.index,this.el.nativeElement),e.preventDefault()},e.prototype.onDragLeave=function(e){this.dt.onRowDragLeave(e,this.el.nativeElement)},e.prototype.isEnabled=function(){return!0!==this.pReorderableRowDisabled},e.prototype.onDrop=function(e){this.isEnabled()&&this.dt.rowDragging&&this.dt.onRowDrop(e,this.el.nativeElement),e.preventDefault()},l([o.Input("pReorderableRow"),i("design:type",Number)],e.prototype,"index",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"pReorderableRowDisabled",void 0),l([o.HostListener("drop",["$event"]),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",void 0)],e.prototype,"onDrop",null),l([o.Directive({selector:"[pReorderableRow]"})],e)}();t.ReorderableRow=k,t.TableModule=function(){return l([o.NgModule({imports:[r.CommonModule,a.PaginatorModule],exports:[f,u.SharedModule,v,b,_,w,x,S,E,I,y,O,T,D,R,k,C],declarations:[f,v,b,_,w,x,S,E,I,g,m,y,O,T,D,R,k,C]})],function(){})}()},DKTb:function(e,t,n){"use strict";function l(e){setTimeout(function(){throw e},0)}n.d(t,"a",function(){return l})},DqLj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=n("sdDj");t.DomHandler=l.DomHandler;var i=n("B58V");t.TreeDragDropService=i.TreeDragDropService;var o=n("oygf");t.ConfirmationService=o.ConfirmationService;var r=n("4Vzq");t.MessageService=r.MessageService;var u=n("6xRK");t.DialogService=u.DialogService;var a=n("V3HQ");t.DynamicDialogConfig=a.DynamicDialogConfig;var s=n("RWz4");t.DynamicDialogRef=s.DynamicDialogRef},DtyJ:function(e,t,n){"use strict";n.r(t),n.d(t,"Observable",function(){return l.a}),n.d(t,"ConnectableObservable",function(){return i.a}),n.d(t,"GroupedObservable",function(){return s}),n.d(t,"observable",function(){return d.a}),n.d(t,"Subject",function(){return a.a}),n.d(t,"BehaviorSubject",function(){return p.a}),n.d(t,"ReplaySubject",function(){return h.a}),n.d(t,"AsyncSubject",function(){return f}),n.d(t,"asapScheduler",function(){return g.a}),n.d(t,"asyncScheduler",function(){return m.a}),n.d(t,"queueScheduler",function(){return v.a}),n.d(t,"animationFrameScheduler",function(){return y.a}),n.d(t,"VirtualTimeScheduler",function(){return C}),n.d(t,"VirtualAction",function(){return w}),n.d(t,"Scheduler",function(){return _.a}),n.d(t,"Subscription",function(){return u.a}),n.d(t,"Subscriber",function(){return r.a}),n.d(t,"Notification",function(){return x.a}),n.d(t,"NotificationKind",function(){return x.b}),n.d(t,"pipe",function(){return S.a}),n.d(t,"noop",function(){return E.a}),n.d(t,"identity",function(){return I.a}),n.d(t,"isObservable",function(){return O.a}),n.d(t,"ArgumentOutOfRangeError",function(){return T.a}),n.d(t,"EmptyError",function(){return D.a}),n.d(t,"ObjectUnsubscribedError",function(){return R.a}),n.d(t,"UnsubscriptionError",function(){return k.a}),n.d(t,"TimeoutError",function(){return M}),n.d(t,"bindCallback",function(){return V}),n.d(t,"bindNodeCallback",function(){return B}),n.d(t,"combineLatest",function(){return G.a}),n.d(t,"concat",function(){return W.a}),n.d(t,"defer",function(){return q.a}),n.d(t,"empty",function(){return K.b}),n.d(t,"forkJoin",function(){return Y.a}),n.d(t,"from",function(){return Z.a}),n.d(t,"fromEvent",function(){return Q.a}),n.d(t,"fromEventPattern",function(){return J}),n.d(t,"generate",function(){return ee}),n.d(t,"iif",function(){return ne}),n.d(t,"interval",function(){return ie}),n.d(t,"merge",function(){return re.a}),n.d(t,"never",function(){return ae}),n.d(t,"of",function(){return se.a}),n.d(t,"onErrorResumeNext",function(){return ce}),n.d(t,"pairs",function(){return de}),n.d(t,"partition",function(){return me}),n.d(t,"race",function(){return Ce}),n.d(t,"range",function(){return xe}),n.d(t,"throwError",function(){return Ee.a}),n.d(t,"timer",function(){return Ie.a}),n.d(t,"using",function(){return Oe}),n.d(t,"zip",function(){return De}),n.d(t,"scheduled",function(){return Ae.a}),n.d(t,"EMPTY",function(){return K.a}),n.d(t,"NEVER",function(){return ue}),n.d(t,"config",function(){return Pe.a});var l=n("6blF"),i=n("KhEm"),o=n("mrSG"),r=n("FFOo"),u=n("pugT"),a=n("K9Ia"),s=function(e){function t(t,n,l){var i=e.call(this)||this;return i.key=t,i.groupSubject=n,i.refCountSubscription=l,i}return o.__extends(t,e),t.prototype._subscribe=function(e){var t=new u.a,n=this.refCountSubscription,l=this.groupSubject;return n&&!n.closed&&t.add(new c(n)),t.add(l.subscribe(e)),t},t}(l.a),c=function(e){function t(t){var n=e.call(this)||this;return n.parent=t,t.count++,n}return o.__extends(t,e),t.prototype.unsubscribe=function(){var t=this.parent;t.closed||this.closed||(e.prototype.unsubscribe.call(this),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())},t}(u.a),d=n("xTla"),p=n("26FU"),h=n("S5bw"),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.value=null,t.hasNext=!1,t.hasCompleted=!1,t}return o.__extends(t,e),t.prototype._subscribe=function(t){return this.hasError?(t.error(this.thrownError),u.a.EMPTY):this.hasCompleted&&this.hasNext?(t.next(this.value),t.complete(),u.a.EMPTY):e.prototype._subscribe.call(this,t)},t.prototype.next=function(e){this.hasCompleted||(this.value=e,this.hasNext=!0)},t.prototype.error=function(t){this.hasCompleted||e.prototype.error.call(this,t)},t.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&e.prototype.next.call(this,this.value),e.prototype.complete.call(this)},t}(a.a),g=n("KQya"),m=n("T1DM"),v=n("zo3G"),y=n("tHPV"),b=n("h9Dq"),C=function(e){function t(t,n){void 0===t&&(t=w),void 0===n&&(n=Number.POSITIVE_INFINITY);var l=e.call(this,t,function(){return l.frame})||this;return l.maxFrames=n,l.frame=0,l.index=-1,l}return o.__extends(t,e),t.prototype.flush=function(){for(var e,t,n=this.actions,l=this.maxFrames;(t=n[0])&&t.delay<=l&&(n.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=n.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(n("CS9Q").a),w=function(e){function t(t,n,l){void 0===l&&(l=t.index+=1);var i=e.call(this,t,n)||this;return i.scheduler=t,i.work=n,i.index=l,i.active=!0,i.index=t.index=l,i}return o.__extends(t,e),t.prototype.schedule=function(n,l){if(void 0===l&&(l=0),!this.id)return e.prototype.schedule.call(this,n,l);this.active=!1;var i=new t(this.scheduler,this.work);return this.add(i),i.schedule(n,l)},t.prototype.requestAsyncId=function(e,n,l){void 0===l&&(l=0),this.delay=e.frame+l;var i=e.actions;return i.push(this),i.sort(t.sortActions),!0},t.prototype.recycleAsyncId=function(e,t,n){void 0===n&&(n=0)},t.prototype._execute=function(t,n){if(!0===this.active)return e.prototype._execute.call(this,t,n)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},t}(b.a),_=n("siIJ"),x=n("60iU"),S=n("y3By"),E=n("+umK"),I=n("mChF"),O=n("zrt+"),T=n("b7mW"),D=n("3fWJ"),R=n("8g8A"),k=n("awvh");function N(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}N.prototype=Object.create(Error.prototype);var M=N,L=n("67Y/"),A=n("1fDf"),P=n("isby"),F=n("nkY7");function V(e,t,n){if(t){if(!Object(F.a)(t))return function(){for(var l=[],i=0;i=t){l.complete();break}if(l.next(o++),l.closed)break}})}function Se(e){var t=e.start,n=e.index,l=e.subscriber;n>=e.count?l.complete():(l.next(t),l.closed||(e.index=n+1,e.start=t+1,this.schedule(e)))}var Ee=n("XlPw"),Ie=n("gI3B");function Oe(e,t){return new l.a(function(n){var l,i;try{l=e()}catch(r){return void n.error(r)}try{i=t(l)}catch(r){return void n.error(r)}var o=(i?Object(Z.a)(i):K.a).subscribe(n);return function(){o.unsubscribe(),l&&l.unsubscribe()}})}var Te=n("En8+");function De(){for(var e=[],t=0;tthis.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),Le=function(e){function t(t,n,l){var i=e.call(this,t)||this;return i.parent=n,i.observable=l,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return o.__extends(t,e),t.prototype[Te.a]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e,t,n,l,i){this.buffer.push(t),this.parent.checkIterators()},t.prototype.subscribe=function(e,t){return Object(be.a)(this,this.observable,this,t)},t}(ye.a),Ae=n("i4X3"),Pe=n("iLxQ")},EBtg:function(e,t,n){"use strict";var l=n("2KeD"),i=n("n73p"),o=n("2qMH"),r=n("LJ/p"),u=n("HZF8"),a=n("90cg"),s=n("yRPT"),c=n("0alx");t.scheduled=function(e,t){if(null!=e){if(u.isInteropObservable(e))return l.scheduleObservable(e,t);if(a.isPromise(e))return i.schedulePromise(e,t);if(s.isArrayLike(e))return o.scheduleArray(e,t);if(c.isIterable(e)||"string"==typeof e)return r.scheduleIterable(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}},EPYN:function(e,t,n){var l=n("mrSG").__decorate,i=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("Ip0R"),u=n("VSng"),a=function(){return l([o.Component({selector:"p-inplaceDisplay",template:""})],function(){})}();t.InplaceDisplay=a;var s=function(){return l([o.Component({selector:"p-inplaceContent",template:""})],function(){})}();t.InplaceContent=s;var c=function(){function e(){this.onActivate=new o.EventEmitter,this.onDeactivate=new o.EventEmitter}return e.prototype.activate=function(e){this.disabled||(this.active=!0,this.onActivate.emit(e))},e.prototype.deactivate=function(e){this.disabled||(this.active=!1,this.hover=!1,this.onDeactivate.emit(e))},l([o.Input(),i("design:type",Boolean)],e.prototype,"active",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"closable",void 0),l([o.Input(),i("design:type",Boolean)],e.prototype,"disabled",void 0),l([o.Input(),i("design:type",Object)],e.prototype,"style",void 0),l([o.Input(),i("design:type",String)],e.prototype,"styleClass",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onActivate",void 0),l([o.Output(),i("design:type",o.EventEmitter)],e.prototype,"onDeactivate",void 0),l([o.Component({selector:"p-inplace",template:'\n
    \n
    \n \n
    \n
    \n \n \n
    \n
    \n '})],e)}();t.Inplace=c,t.InplaceModule=function(){return l([o.NgModule({imports:[r.CommonModule,u.ButtonModule],exports:[c,a,s,u.ButtonModule],declarations:[c,a,s]})],function(){})}()},EVdn:function(e,t,n){var l;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],r=Object.getPrototypeOf,u=o.slice,a=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},s=o.push,c=o.indexOf,d={},p=d.toString,h=d.hasOwnProperty,f=h.toString,g=f.call(Object),m={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},y=function(e){return null!=e&&e===e.window},b=n.document,C={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var l,i,o=(n=n||b).createElement("script");if(o.text=e,t)for(l in C)(i=t[l]||t.getAttribute&&t.getAttribute(l))&&o.setAttribute(l,i);n.head.appendChild(o).parentNode.removeChild(o)}function _(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[p.call(e)]||"object":typeof e}var x=function(e,t){return new x.fn.init(e,t)};function S(e){var t=!!e&&"length"in e&&e.length,n=_(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:"3.5.0",constructor:x,length:0,toArray:function(){return u.call(this)},get:function(e){return null==e?u.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(x.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+F+")"+F+"*"),G=new RegExp(F+"|>"),W=new RegExp(H),q=new RegExp("^"+V+"$"),K={ID:new RegExp("^#("+V+")"),CLASS:new RegExp("^\\.("+V+")"),TAG:new RegExp("^("+V+"|[*])"),ATTR:new RegExp("^"+j),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+F+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},le=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){p()},re=Ce(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{M.apply(R=L.call(w.childNodes),w.childNodes)}catch(Ee){M={apply:R.length?function(e,t){N.apply(e,L.call(t))}:function(e,t){for(var n=e.length,l=0;e[n++]=t[l++];);e.length=n-1}}}function ue(e,t,l,i){var o,u,s,c,d,f,v,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(l=l||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return l;if(!i&&(p(t),t=t||h,g)){if(11!==w&&(d=J.exec(e)))if(o=d[1]){if(9===w){if(!(s=t.getElementById(o)))return l;if(s.id===o)return l.push(s),l}else if(y&&(s=y.getElementById(o))&&b(t,s)&&s.id===o)return l.push(s),l}else{if(d[2])return M.apply(l,t.getElementsByTagName(e)),l;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return M.apply(l,t.getElementsByClassName(o)),l}if(n.qsa&&!O[e+" "]&&(!m||!m.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===w&&(G.test(e)||$.test(e))){for((y=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((c=t.getAttribute("id"))?c=c.replace(le,ie):t.setAttribute("id",c=C)),u=(f=r(e)).length;u--;)f[u]=(c?"#"+c:":scope")+" "+be(f[u]);v=f.join(",")}try{return M.apply(l,y.querySelectorAll(v)),l}catch(_){O(e,!0)}finally{c===C&&t.removeAttribute("id")}}}return a(e.replace(z,"$1"),t,l,i)}function ae(){var e=[];return function t(n,i){return e.push(n+" ")>l.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function se(e){return e[C]=!0,e}function ce(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(Ee){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=n.length;i--;)l.attrHandle[n[i]]=t}function pe(e,t){var n=t&&e,l=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(l)return l;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ge(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&re(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return se(function(t){return t=+t,se(function(n,l){for(var i,o=e([],n.length,t),r=o.length;r--;)n[i=o[r]]&&(n[i]=!(l[i]=n[i]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ue.support={},o=ue.isXML=function(e){var t=(e.ownerDocument||e).documentElement;return!Y.test(e.namespaceURI||t&&t.nodeName||"HTML")},p=ue.setDocument=function(e){var t,i,r=e?e.ownerDocument||e:w;return r!=h&&9===r.nodeType&&r.documentElement?(f=(h=r).documentElement,g=!o(h),w!=h&&(i=h.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=ce(function(e){return f.appendChild(e).appendChild(h.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),n.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ce(function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=X.test(h.getElementsByClassName),n.getById=ce(function(e){return f.appendChild(e).id=C,!h.getElementsByName||!h.getElementsByName(C).length}),n.getById?(l.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},l.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(l.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},l.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,l,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),l=0;o=i[l++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),l.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,l=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&l.push(n);return l}return o},l.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],m=[],(n.qsa=X.test(h.querySelectorAll))&&(ce(function(e){var t;f.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+F+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+F+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+C+"-]").length||m.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+F+"*name"+F+"*="+F+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+C+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+F+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=X.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ce(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",H)}),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),t=X.test(f.compareDocumentPosition),b=t||X.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,l=t&&t.parentNode;return e===l||!(!l||1!==l.nodeType||!(n.contains?n.contains(l):e.compareDocumentPosition&&16&e.compareDocumentPosition(l)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return d=!0,0;var l=!e.compareDocumentPosition-!t.compareDocumentPosition;return l||(1&(l=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===l?e==h||e.ownerDocument==w&&b(w,e)?-1:t==h||t.ownerDocument==w&&b(w,t)?1:c?A(c,e)-A(c,t):0:4&l?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,l=0,i=e.parentNode,o=t.parentNode,r=[e],u=[t];if(!i||!o)return e==h?-1:t==h?1:i?-1:o?1:c?A(c,e)-A(c,t):0;if(i===o)return pe(e,t);for(n=e;n=n.parentNode;)r.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;r[l]===u[l];)l++;return l?pe(r[l],u[l]):r[l]==w?-1:u[l]==w?1:0},h):h},ue.matches=function(e,t){return ue(e,null,null,t)},ue.matchesSelector=function(e,t){if(p(e),n.matchesSelector&&g&&!O[t+" "]&&(!v||!v.test(t))&&(!m||!m.test(t)))try{var l=y.call(e,t);if(l||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return l}catch(Ee){O(t,!0)}return ue(t,h,null,[e]).length>0},ue.contains=function(e,t){return(e.ownerDocument||e)!=h&&p(e),b(e,t)},ue.attr=function(e,t){(e.ownerDocument||e)!=h&&p(e);var i=l.attrHandle[t.toLowerCase()],o=i&&D.call(l.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ue.escape=function(e){return(e+"").replace(le,ie)},ue.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ue.uniqueSort=function(e){var t,l=[],i=0,o=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(T),d){for(;t=e[o++];)t===e[o]&&(i=l.push(o));for(;i--;)e.splice(l[i],1)}return c=null,e},i=ue.getText=function(e){var t,n="",l=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[l++];)n+=i(t);return n},(l=ue.selectors={cacheLength:50,createPseudo:se,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ue.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ue.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=r(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|"+F+")"+e+"("+F+"|$)"))&&S(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(l){var i=ue.attr(l,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,l,i){var o="nth"!==e.slice(0,3),r="last"!==e.slice(-4),u="of-type"===t;return 1===l&&0===i?function(e){return!!e.parentNode}:function(t,n,a){var s,c,d,p,h,f,g=o!==r?"nextSibling":"previousSibling",m=t.parentNode,v=u&&t.nodeName.toLowerCase(),y=!a&&!u,b=!1;if(m){if(o){for(;g;){for(p=t;p=p[g];)if(u?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;f=g="only"===e&&!f&&"nextSibling"}return!0}if(f=[r?m.firstChild:m.lastChild],r&&y){for(b=(h=(s=(c=(d=(p=m)[C]||(p[C]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===_&&s[1])&&s[2],p=h&&m.childNodes[h];p=++h&&p&&p[g]||(b=h=0)||f.pop();)if(1===p.nodeType&&++b&&p===t){c[e]=[_,h,b];break}}else if(y&&(b=h=(s=(c=(d=(p=t)[C]||(p[C]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===_&&s[1]),!1===b)for(;(p=++h&&p&&p[g]||(b=h=0)||f.pop())&&((u?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++b||(y&&((c=(d=p[C]||(p[C]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[_,b]),p!==t)););return(b-=i)===l||b%l==0&&b/l>=0}}},PSEUDO:function(e,t){var n,i=l.pseudos[e]||l.setFilters[e.toLowerCase()]||ue.error("unsupported pseudo: "+e);return i[C]?i(t):i.length>1?(n=[e,e,"",t],l.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){for(var l,o=i(e,t),r=o.length;r--;)e[l=A(e,o[r])]=!(n[l]=o[r])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],l=u(e.replace(z,"$1"));return l[C]?se(function(e,t,n,i){for(var o,r=l(e,null,i,[]),u=e.length;u--;)(o=r[u])&&(e[u]=!(t[u]=o))}):function(e,i,o){return t[0]=e,l(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return ue(e,t).length>0}}),contains:se(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}}),lang:se(function(e){return q.test(e||"")||ue.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!l.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return Z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me(function(){return[0]}),last:me(function(e,t){return[t-1]}),eq:me(function(e,t,n){return[n<0?n+t:n]}),even:me(function(e,t){for(var n=0;nt?t:n;--l>=0;)e.push(l);return e}),gt:me(function(e,t,n){for(var l=n<0?n+t:n;++l1?function(t,n,l){for(var i=e.length;i--;)if(!e[i](t,n,l))return!1;return!0}:e[0]}function _e(e,t,n,l,i){for(var o,r=[],u=0,a=e.length,s=null!=t;u-1&&(o[s]=!(r[s]=d))}}else v=_e(v===r?v.splice(f,v.length):v),i?i(null,r,v,a):M.apply(r,v)})}function Se(e){for(var t,n,i,o=e.length,r=l.relative[e[0].type],u=r||l.relative[" "],a=r?1:0,c=Ce(function(e){return e===t},u,!0),d=Ce(function(e){return A(t,e)>-1},u,!0),p=[function(e,n,l){var i=!r&&(l||n!==s)||((t=n).nodeType?c(e,n,l):d(e,n,l));return t=null,i}];a1&&we(p),a>1&&be(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(z,"$1"),n,a0,i=e.length>0,o=function(o,r,u,a,c){var d,f,m,v=0,y="0",b=o&&[],C=[],w=s,x=o||i&&l.find.TAG("*",c),S=_+=null==w?1:Math.random()||.1,E=x.length;for(c&&(s=r==h||r||c);y!==E&&null!=(d=x[y]);y++){if(i&&d){for(f=0,r||d.ownerDocument==h||(p(d),u=!g);m=e[f++];)if(m(d,r||h,u)){a.push(d);break}c&&(_=S)}n&&((d=!m&&d)&&v--,o&&b.push(d))}if(v+=y,n&&y!==v){for(f=0;m=t[f++];)m(b,C,r,u);if(o){if(v>0)for(;y--;)b[y]||C[y]||(C[y]=k.call(a));C=_e(C)}M.apply(a,C),c&&!o&&C.length>0&&v+t.length>1&&ue.uniqueSort(a)}return c&&(_=S,s=w),b};return n?se(o):o}(o,i))).selector=e}return u},a=ue.select=function(e,t,n,i){var o,a,s,c,d,p="function"==typeof e&&e,h=!i&&r(e=p.selector||e);if(n=n||[],1===h.length){if((a=h[0]=h[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===t.nodeType&&g&&l.relative[a[1].type]){if(!(t=(l.find.ID(s.matches[0].replace(te,ne),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(o=K.needsContext.test(e)?0:a.length;o--&&!l.relative[c=(s=a[o]).type];)if((d=l.find[c])&&(i=d(s.matches[0].replace(te,ne),ee.test(a[0].type)&&ve(t.parentNode)||t))){if(a.splice(o,1),!(e=i.length&&be(a)))return M.apply(n,i),n;break}}return(p||u(e,h))(i,t,!g,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=C.split("").sort(T).join("")===C,n.detectDuplicates=!!d,p(),n.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))}),ce(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ce(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||de(P,function(e,t,n){var l;if(!n)return!0===e[t]?t.toLowerCase():(l=e.getAttributeNode(t))&&l.specified?l.value:null}),ue}(n);x.find=E,x.expr=E.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=E.uniqueSort,x.text=E.getText,x.isXMLDoc=E.isXML,x.contains=E.contains,x.escapeSelector=E.escape;var I=function(e,t,n){for(var l=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&x(e).is(n))break;l.push(e)}return l},O=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},T=x.expr.match.needsContext;function D(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var R=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function k(e,t,n){return v(t)?x.grep(e,function(e,l){return!!t.call(e,l,e)!==n}):t.nodeType?x.grep(e,function(e){return e===t!==n}):"string"!=typeof t?x.grep(e,function(e){return c.call(t,e)>-1!==n}):x.filter(t,e,n)}x.filter=function(e,t,n){var l=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===l.nodeType?x.find.matchesSelector(l,e)?[l]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},x.fn.extend({find:function(e){var t,n,l=this.length,i=this;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;t1?x.uniqueSort(n):n},filter:function(e){return this.pushStack(k(this,e||[],!1))},not:function(e){return this.pushStack(k(this,e||[],!0))},is:function(e){return!!k(this,"string"==typeof e&&T.test(e)?x(e):e||[],!1).length}});var N,M=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var l,i;if(!e)return this;if(n=n||N,"string"==typeof e){if(!(l="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:M.exec(e))||!l[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(l[1]){if(x.merge(this,x.parseHTML(l[1],(t=t instanceof x?t[0]:t)&&t.nodeType?t.ownerDocument||t:b,!0)),R.test(l[1])&&x.isPlainObject(t))for(l in t)v(this[l])?this[l](t[l]):this.attr(l,t[l]);return this}return(i=b.getElementById(l[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,N=x(b);var L=/^(?:parents|prev(?:Until|All))/,A={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&x.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?x.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?c.call(x(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return I(e,"parentNode")},parentsUntil:function(e,t,n){return I(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return I(e,"nextSibling")},prevAll:function(e){return I(e,"previousSibling")},nextUntil:function(e,t,n){return I(e,"nextSibling",n)},prevUntil:function(e,t,n){return I(e,"previousSibling",n)},siblings:function(e){return O((e.parentNode||{}).firstChild,e)},children:function(e){return O(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(D(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},function(e,t){x.fn[e]=function(n,l){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(l=n),l&&"string"==typeof l&&(i=x.filter(l,i)),this.length>1&&(A[e]||x.uniqueSort(i),L.test(e)&&i.reverse()),this.pushStack(i)}});var F=/[^\x20\t\r\n\f]+/g;function V(e){return e}function j(e){throw e}function H(e,t,n,l){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(l))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return x.each(e.match(F)||[],function(e,n){t[n]=!0}),t}(e):x.extend({},e);var t,n,l,i,o=[],r=[],u=-1,a=function(){for(i=i||e.once,l=t=!0;r.length;u=-1)for(n=r.shift();++u-1;)o.splice(n,1),n<=u&&u--}),this},has:function(e){return e?x.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=r=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=r=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],r.push(n),t||a()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!l}};return s},x.extend({Deferred:function(e){var t=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],l="pending",i={state:function(){return l},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,l){var i=v(e[l[4]])&&e[l[4]];o[l[1]](function(){var e=i&&i.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[l[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,l,i){var o=0;function r(e,t,l,i){return function(){var u=this,a=arguments,s=function(){var n,s;if(!(e=o&&(l!==j&&(u=void 0,a=[n]),t.rejectWith(u,a))}};e?c():(x.Deferred.getStackHook&&(c.stackTrace=x.Deferred.getStackHook()),n.setTimeout(c))}}return x.Deferred(function(n){t[0][3].add(r(0,n,v(i)?i:V,n.notifyWith)),t[1][3].add(r(0,n,v(e)?e:V)),t[2][3].add(r(0,n,v(l)?l:j))}).promise()},promise:function(e){return null!=e?x.extend(e,i):i}},o={};return x.each(t,function(e,n){var r=n[2],u=n[5];i[n[1]]=r.add,u&&r.add(function(){l=u},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),r.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=r.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,l=Array(n),i=u.call(arguments),o=x.Deferred(),r=function(e){return function(n){l[e]=this,i[e]=arguments.length>1?u.call(arguments):n,--t||o.resolveWith(l,i)}};if(t<=1&&(H(e,o.done(r(n)).resolve,o.reject,!t),"pending"===o.state()||v(i[n]&&i[n].then)))return o.then();for(;n--;)H(i[n],r(n),o.reject);return o.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&B.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){n.setTimeout(function(){throw e})};var z=x.Deferred();function U(){b.removeEventListener("DOMContentLoaded",U),n.removeEventListener("load",U),x.ready()}x.fn.ready=function(e){return z.then(e).catch(function(e){x.readyException(e)}),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||z.resolveWith(b,[x]))}}),x.ready.then=z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(x.ready):(b.addEventListener("DOMContentLoaded",U),n.addEventListener("load",U));var $=function(e,t,n,l,i,o,r){var u=0,a=e.length,s=null==n;if("object"===_(n))for(u in i=!0,n)$(e,t,u,n[u],!0,o,r);else if(void 0!==l&&(i=!0,v(l)||(r=!0),s&&(r?(t.call(e,l),t=null):(s=t,t=function(e,t,n){return s.call(x(e),n)})),t))for(;u1,null,!0)},removeData:function(e){return this.each(function(){X.remove(this,e)})}}),x.extend({queue:function(e,t,n){var l;if(e)return l=Q.get(e,t=(t||"fx")+"queue"),n&&(!l||Array.isArray(n)?l=Q.access(e,t,x.makeArray(n)):l.push(n)),l||[]},dequeue:function(e,t){var n=x.queue(e,t=t||"fx"),l=n.length,i=n.shift(),o=x._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),l--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){x.dequeue(e,t)},o)),!l&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:x.Callbacks("once memory").add(function(){Q.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,ve=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(fe=b.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),he.appendChild(fe),m.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="",m.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="",m.option=!!he.lastChild;var ye={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&D(e,t)?x.merge([e],n):n}function Ce(e,t){for(var n=0,l=e.length;n",""]);var we=/<|&#?\w+;/;function _e(e,t,n,l,i){for(var o,r,u,a,s,c,d=t.createDocumentFragment(),p=[],h=0,f=e.length;h-1)i&&i.push(o);else if(s=re(o),r=be(d.appendChild(o),"script"),s&&Ce(r),n)for(c=0;o=r[c++];)ve.test(o.type||"")&&n.push(o);return d}var xe=/^key/,Se=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function Ie(){return!0}function Oe(){return!1}function Te(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function De(e,t,n,l,i,o){var r,u;if("object"==typeof t){for(u in"string"!=typeof n&&(l=l||n,n=void 0),t)De(e,u,n,l,t[u],o);return e}if(null==l&&null==i?(i=n,l=n=void 0):null==i&&("string"==typeof n?(i=l,l=void 0):(i=l,l=n,n=void 0)),!1===i)i=Oe;else if(!i)return e;return 1===o&&(r=i,(i=function(e){return x().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=x.guid++)),e.each(function(){x.event.add(this,t,i,l,n)})}function Re(e,t,n){n?(Q.set(e,t,!1),x.event.add(e,t,{namespace:!1,handler:function(e){var l,i,o=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(x.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=u.call(arguments),Q.set(this,t,o),l=n(this,t),this[t](),o!==(i=Q.get(this,t))||l?Q.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i.value}else o.length&&(Q.set(this,t,{value:x.event.trigger(x.extend(o[0],x.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&x.event.add(e,t,Ie)}x.event={global:{},add:function(e,t,n,l,i){var o,r,u,a,s,c,d,p,h,f,g,m=Q.get(e);if(Y(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&x.find.matchesSelector(oe,i),n.guid||(n.guid=x.guid++),(a=m.events)||(a=m.events=Object.create(null)),(r=m.handle)||(r=m.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),s=(t=(t||"").match(F)||[""]).length;s--;)h=g=(u=Ee.exec(t[s])||[])[1],f=(u[2]||"").split(".").sort(),h&&(d=x.event.special[h]||{},d=x.event.special[h=(i?d.delegateType:d.bindType)||h]||{},c=x.extend({type:h,origType:g,data:l,handler:n,guid:n.guid,selector:i,needsContext:i&&x.expr.match.needsContext.test(i),namespace:f.join(".")},o),(p=a[h])||((p=a[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,l,f,r)||e.addEventListener&&e.addEventListener(h,r)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),x.event.global[h]=!0)},remove:function(e,t,n,l,i){var o,r,u,a,s,c,d,p,h,f,g,m=Q.hasData(e)&&Q.get(e);if(m&&(a=m.events)){for(s=(t=(t||"").match(F)||[""]).length;s--;)if(h=g=(u=Ee.exec(t[s])||[])[1],f=(u[2]||"").split(".").sort(),h){for(d=x.event.special[h]||{},p=a[h=(l?d.delegateType:d.bindType)||h]||[],u=u[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||u&&!u.test(c.namespace)||l&&l!==c.selector&&("**"!==l||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,d.remove&&d.remove.call(e,c));r&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,f,m.handle)||x.removeEvent(e,h,m.handle),delete a[h])}else for(h in a)x.event.remove(e,h+t[s],n,l,!0);x.isEmptyObject(a)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,l,i,o,r,u=new Array(arguments.length),a=x.event.fix(e),s=(Q.get(this,"events")||Object.create(null))[a.type]||[],c=x.event.special[a.type]||{};for(u[0]=a,t=1;t=1))for(;s!==this;s=s.parentNode||this)if(1===s.nodeType&&("click"!==e.type||!0!==s.disabled)){for(o=[],r={},n=0;n-1:x.find(i,this,null,[s]).length),r[i]&&o.push(l);o.length&&u.push({elem:s,handlers:o})}return s=this,a\s*$/g;function Le(e,t){return D(e,"table")&&D(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Ae(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Pe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,l,i,o,r,u;if(1===t.nodeType){if(Q.hasData(e)&&(u=Q.get(e).events))for(i in Q.remove(t,"handle events"),u)for(n=0,l=u[i].length;n1&&"string"==typeof f&&!m.checkClone&&Ne.test(f))return e.each(function(i){var o=e.eq(i);g&&(t[0]=f.call(this,i,o.html())),Ve(o,t,n,l)});if(p&&(o=(i=_e(t,e[0].ownerDocument,!1,e,l)).firstChild,1===i.childNodes.length&&(i=o),o||l)){for(u=(r=x.map(be(i,"script"),Ae)).length;d0&&Ce(r,!d&&be(e,"script")),c},cleanData:function(e){for(var t,n,l,i=x.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[Q.expando]){if(t.events)for(l in t.events)i[l]?x.event.remove(n,l):x.removeEvent(n,l,t.handle);n[Q.expando]=void 0}n[X.expando]&&(n[X.expando]=void 0)}}}),x.fn.extend({detach:function(e){return je(this,e,!0)},remove:function(e){return je(this,e)},text:function(e){return $(this,function(e){return void 0===e?x.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Ve(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Ve(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ve(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ve(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,l=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ke.test(e)&&!ye[(me.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n3,oe.removeChild(e)),u}}))}();var We=["Webkit","Moz","ms"],qe=b.createElement("div").style,Ke={};function Ye(e){return x.cssProps[e]||Ke[e]||(e in qe?e:Ke[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=We.length;n--;)if((e=We[n]+t)in qe)return e}(e)||e)}var Ze=/^(none|table(?!-c[ea]).+)/,Qe=/^--/,Xe={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var l=le.exec(t);return l?Math.max(0,l[2]-(n||0))+(l[3]||"px"):t}function tt(e,t,n,l,i,o){var r="width"===t?1:0,u=0,a=0;if(n===(l?"border":"content"))return 0;for(;r<4;r+=2)"margin"===n&&(a+=x.css(e,n+ie[r],!0,i)),l?("content"===n&&(a-=x.css(e,"padding"+ie[r],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+ie[r]+"Width",!0,i))):(a+=x.css(e,"padding"+ie[r],!0,i),"padding"!==n?a+=x.css(e,"border"+ie[r]+"Width",!0,i):u+=x.css(e,"border"+ie[r]+"Width",!0,i));return!l&&o>=0&&(a+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-a-u-.5))||0),a}function nt(e,t,n){var l=Be(e),i=(!m.boxSizingReliable()||n)&&"border-box"===x.css(e,"boxSizing",!1,l),o=i,r=$e(e,t,l),u="offset"+t[0].toUpperCase()+t.slice(1);if(He.test(r)){if(!n)return r;r="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&D(e,"tr")||"auto"===r||!parseFloat(r)&&"inline"===x.css(e,"display",!1,l))&&e.getClientRects().length&&(i="border-box"===x.css(e,"boxSizing",!1,l),(o=u in e)&&(r=e[u])),(r=parseFloat(r)||0)+tt(e,t,n||(i?"border":"content"),o,l,r)+"px"}function lt(e,t,n,l,i){return new lt.prototype.init(e,t,n,l,i)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=$e(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,l){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,r,u=K(t),a=Qe.test(t),s=e.style;if(a||(t=Ye(u)),r=x.cssHooks[t]||x.cssHooks[u],void 0===n)return r&&"get"in r&&void 0!==(i=r.get(e,!1,l))?i:s[t];"string"==(o=typeof n)&&(i=le.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||a||(n+=i&&i[3]||(x.cssNumber[u]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(s[t]="inherit"),r&&"set"in r&&void 0===(n=r.set(e,n,l))||(a?s.setProperty(t,n):s[t]=n))}},css:function(e,t,n,l){var i,o,r,u=K(t);return Qe.test(t)||(t=Ye(u)),(r=x.cssHooks[t]||x.cssHooks[u])&&"get"in r&&(i=r.get(e,!0,n)),void 0===i&&(i=$e(e,t,l)),"normal"===i&&t in Je&&(i=Je[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),x.each(["height","width"],function(e,t){x.cssHooks[t]={get:function(e,n,l){if(n)return!Ze.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,l):ze(e,Xe,function(){return nt(e,t,l)})},set:function(e,n,l){var i,o=Be(e),r=!m.scrollboxSize()&&"absolute"===o.position,u=(r||l)&&"border-box"===x.css(e,"boxSizing",!1,o),a=l?tt(e,t,l,u,o):0;return u&&r&&(a-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-tt(e,t,"border",!1,o)-.5)),a&&(i=le.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),et(0,n,a)}}}),x.cssHooks.marginLeft=Ge(m.reliableMarginLeft,function(e,t){if(t)return(parseFloat($e(e,"marginLeft"))||e.getBoundingClientRect().left-ze(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){for(var l=0,i={},o="string"==typeof n?n.split(" "):[n];l<4;l++)i[e+ie[l]+t]=o[l]||o[l-2]||o[0];return i}},"margin"!==e&&(x.cssHooks[e+t].set=et)}),x.fn.extend({css:function(e,t){return $(this,function(e,t,n){var l,i,o={},r=0;if(Array.isArray(t)){for(l=Be(e),i=t.length;r1)}}),x.Tween=lt,(lt.prototype={constructor:lt,init:function(e,t,n,l,i,o){this.elem=e,this.prop=n,this.easing=i||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=l,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=lt.propHooks[this.prop];return e&&e.get?e.get(this):lt.propHooks._default.get(this)},run:function(e){var t,n=lt.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):lt.propHooks._default.set(this),this}}).init.prototype=lt.prototype,(lt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[Ye(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=lt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=lt.prototype.init,x.fx.step={};var it,ot,rt=/^(?:toggle|show|hide)$/,ut=/queueHooks$/;function at(){ot&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(at):n.setTimeout(at,x.fx.interval),x.fx.tick())}function st(){return n.setTimeout(function(){it=void 0}),it=Date.now()}function ct(e,t){var n,l=0,i={height:e};for(t=t?1:0;l<4;l+=2-t)i["margin"+(n=ie[l])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function dt(e,t,n){for(var l,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,r=i.length;o1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})}}),x.extend({attr:function(e,t,n){var l,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?x.prop(e,t,n):(1===o&&x.isXMLDoc(e)||(i=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):i&&"set"in i&&void 0!==(l=i.set(e,n,t))?l:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(l=i.get(e,t))?l:null==(l=x.find.attr(e,t))?void 0:l)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&D(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,l=0,i=t&&t.match(F);if(i&&1===e.nodeType)for(;n=i[l++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ft[t]||x.find.attr;ft[t]=function(e,t,l){var i,o,r=t.toLowerCase();return l||(o=ft[r],ft[r]=i,i=null!=n(e,t,l)?r:null,ft[r]=o),i}});var gt=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function vt(e){return(e.match(F)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(F)||[]}x.fn.extend({prop:function(e,t){return $(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})}}),x.extend({prop:function(e,t,n){var l,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&x.isXMLDoc(e)||(i=x.propHooks[t=x.propFix[t]||t]),void 0!==n?i&&"set"in i&&void 0!==(l=i.set(e,n,t))?l:e[t]=n:i&&"get"in i&&null!==(l=i.get(e,t))?l:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(x.propHooks.selected={get:function(e){return null},set:function(e){}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.fn.extend({addClass:function(e){var t,n,l,i,o,r,u,a=0;if(v(e))return this.each(function(t){x(this).addClass(e.call(this,t,yt(this)))});if((t=bt(e)).length)for(;n=this[a++];)if(i=yt(n),l=1===n.nodeType&&" "+vt(i)+" "){for(r=0;o=t[r++];)l.indexOf(" "+o+" ")<0&&(l+=o+" ");i!==(u=vt(l))&&n.setAttribute("class",u)}return this},removeClass:function(e){var t,n,l,i,o,r,u,a=0;if(v(e))return this.each(function(t){x(this).removeClass(e.call(this,t,yt(this)))});if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[a++];)if(i=yt(n),l=1===n.nodeType&&" "+vt(i)+" "){for(r=0;o=t[r++];)for(;l.indexOf(" "+o+" ")>-1;)l=l.replace(" "+o+" "," ");i!==(u=vt(l))&&n.setAttribute("class",u)}return this},toggleClass:function(e,t){var n=typeof e,l="string"===n||Array.isArray(e);return"boolean"==typeof t&&l?t?this.addClass(e):this.removeClass(e):v(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,yt(this),t),t)}):this.each(function(){var t,i,o,r;if(l)for(i=0,o=x(this),r=bt(e);t=r[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))})},hasClass:function(e){var t,n,l=0;for(t=" "+e+" ";n=this[l++];)if(1===n.nodeType&&(" "+vt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var Ct=/\r/g;x.fn.extend({val:function(e){var t,n,l,i=this[0];return arguments.length?(l=v(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=l?e.call(this,n,x(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=x.map(i,function(e){return null==e?"":e+""})),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=x.valHooks[i.type]||x.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Ct,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:vt(x.text(e))}},select:{get:function(e){var t,n,l,i=e.options,o=e.selectedIndex,r="select-one"===e.type,u=r?null:[],a=r?o+1:i.length;for(l=o<0?a:r?o:0;l-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},m.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),m.focusin="onfocusin"in n;var wt=/^(?:focusinfocus|focusoutblur)$/,_t=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(e,t,l,i){var o,r,u,a,s,c,d,p,f=[l||b],g=h.call(e,"type")?e.type:e,m=h.call(e,"namespace")?e.namespace.split("."):[];if(r=p=u=l=l||b,3!==l.nodeType&&8!==l.nodeType&&!wt.test(g+x.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),s=g.indexOf(":")<0&&"on"+g,(e=e[x.expando]?e:new x.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=l),t=null==t?[e]:x.makeArray(t,[e]),d=x.event.special[g]||{},i||!d.trigger||!1!==d.trigger.apply(l,t))){if(!i&&!d.noBubble&&!y(l)){for(wt.test((a=d.delegateType||g)+g)||(r=r.parentNode);r;r=r.parentNode)f.push(r),u=r;u===(l.ownerDocument||b)&&f.push(u.defaultView||u.parentWindow||n)}for(o=0;(r=f[o++])&&!e.isPropagationStopped();)p=r,e.type=o>1?a:d.bindType||g,(c=(Q.get(r,"events")||Object.create(null))[e.type]&&Q.get(r,"handle"))&&c.apply(r,t),(c=s&&r[s])&&c.apply&&Y(r)&&(e.result=c.apply(r,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),t)||!Y(l)||s&&v(l[g])&&!y(l)&&((u=l[s])&&(l[s]=null),x.event.triggered=g,e.isPropagationStopped()&&p.addEventListener(g,_t),l[g](),e.isPropagationStopped()&&p.removeEventListener(g,_t),x.event.triggered=void 0,u&&(l[s]=u)),e.result}},simulate:function(e,t,n){var l=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(l,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),m.focusin||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.event.special[t]={setup:function(){var l=this.ownerDocument||this.document||this,i=Q.access(l,t);i||l.addEventListener(e,n,!0),Q.access(l,t,(i||0)+1)},teardown:function(){var l=this.ownerDocument||this.document||this,i=Q.access(l,t)-1;i?Q.access(l,t,i):(l.removeEventListener(e,n,!0),Q.remove(l,t))}}});var xt=n.location,St={guid:Date.now()},Et=/\?/;x.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(l){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+e),t};var It=/\[\]$/,Ot=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;function Rt(e,t,n,l){var i;if(Array.isArray(t))x.each(t,function(t,i){n||It.test(e)?l(e,i):Rt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,l)});else if(n||"object"!==_(t))l(e,t);else for(i in t)Rt(e+"["+i+"]",t[i],n,l)}x.param=function(e,t){var n,l=[],i=function(e,t){var n=v(t)?t():t;l[l.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){i(this.name,this.value)});else for(n in e)Rt(n,e[n],t,i);return l.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&Dt.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!ge.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(Ot,"\r\n")}}):{name:t.name,value:n.replace(Ot,"\r\n")}}).get()}});var kt=/%20/g,Nt=/#.*$/,Mt=/([?&])_=[^&]*/,Lt=/^(.*?):[ \t]*([^\r\n]*)$/gm,At=/^(?:GET|HEAD)$/,Pt=/^\/\//,Ft={},Vt={},jt="*/".concat("*"),Ht=b.createElement("a");function Bt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var l,i=0,o=t.toLowerCase().match(F)||[];if(v(n))for(;l=o[i++];)"+"===l[0]?(l=l.slice(1)||"*",(e[l]=e[l]||[]).unshift(n)):(e[l]=e[l]||[]).push(n)}}function zt(e,t,n,l){var i={},o=e===Vt;function r(u){var a;return i[u]=!0,x.each(e[u]||[],function(e,u){var s=u(t,n,l);return"string"!=typeof s||o||i[s]?o?!(a=s):void 0:(t.dataTypes.unshift(s),r(s),!1)}),a}return r(t.dataTypes[0])||!i["*"]&&r("*")}function Ut(e,t){var n,l,i=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:l||(l={}))[n]=t[n]);return l&&x.extend(!0,e,l),e}Ht.href=xt.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":jt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,x.ajaxSettings),t):Ut(x.ajaxSettings,e)},ajaxPrefilter:Bt(Ft),ajaxTransport:Bt(Vt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var l,i,o,r,u,a,s,c,d,p,h=x.ajaxSetup({},t=t||{}),f=h.context||h,g=h.context&&(f.nodeType||f.jquery)?x(f):x.event,m=x.Deferred(),v=x.Callbacks("once memory"),y=h.statusCode||{},C={},w={},_="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(s){if(!r)for(r={};t=Lt.exec(o);)r[t[1].toLowerCase()+" "]=(r[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=r[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return s?o:null},setRequestHeader:function(e,t){return null==s&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,C[e]=t),this},overrideMimeType:function(e){return null==s&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(s)S.always(e[S.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||_;return l&&l.abort(t),E(0,t),this}};if(m.promise(S),h.url=((e||h.url||xt.href)+"").replace(Pt,xt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(F)||[""],null==h.crossDomain){a=b.createElement("a");try{a.href=h.url,a.href=a.href,h.crossDomain=Ht.protocol+"//"+Ht.host!=a.protocol+"//"+a.host}catch(I){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=x.param(h.data,h.traditional)),zt(Ft,h,t,S),s)return S;for(d in(c=x.event&&h.global)&&0==x.active++&&x.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!At.test(h.type),i=h.url.replace(Nt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(kt,"+")):(p=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(Et.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Mt,"$1"),p=(Et.test(i)?"&":"?")+"_="+St.guid+++p),h.url=i+p),h.ifModified&&(x.lastModified[i]&&S.setRequestHeader("If-Modified-Since",x.lastModified[i]),x.etag[i]&&S.setRequestHeader("If-None-Match",x.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&S.setRequestHeader("Content-Type",h.contentType),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+jt+"; q=0.01":""):h.accepts["*"]),h.headers)S.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(f,S,h)||s))return S.abort();if(_="abort",v.add(h.complete),S.done(h.success),S.fail(h.error),l=zt(Vt,h,t,S)){if(S.readyState=1,c&&g.trigger("ajaxSend",[S,h]),s)return S;h.async&&h.timeout>0&&(u=n.setTimeout(function(){S.abort("timeout")},h.timeout));try{s=!1,l.send(C,E)}catch(I){if(s)throw I;E(-1,I)}}else E(-1,"No Transport");function E(e,t,r,a){var d,p,b,C,w,_=t;s||(s=!0,u&&n.clearTimeout(u),l=void 0,o=a||"",S.readyState=e>0?4:0,d=e>=200&&e<300||304===e,r&&(C=function(e,t,n){for(var l,i,o,r,u=e.contents,a=e.dataTypes;"*"===a[0];)a.shift(),void 0===l&&(l=e.mimeType||t.getResponseHeader("Content-Type"));if(l)for(i in u)if(u[i]&&u[i].test(l)){a.unshift(i);break}if(a[0]in n)o=a[0];else{for(i in n){if(!a[0]||e.converters[i+" "+a[0]]){o=i;break}r||(r=i)}o=o||r}if(o)return o!==a[0]&&a.unshift(o),n[o]}(h,S,r)),!d&&x.inArray("script",h.dataTypes)>-1&&(h.converters["text script"]=function(){}),C=function(e,t,n,l){var i,o,r,u,a,s={},c=e.dataTypes.slice();if(c[1])for(r in e.converters)s[r.toLowerCase()]=e.converters[r];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!a&&l&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a=o,o=c.shift())if("*"===o)o=a;else if("*"!==a&&a!==o){if(!(r=s[a+" "+o]||s["* "+o]))for(i in s)if((u=i.split(" "))[1]===o&&(r=s[a+" "+u[0]]||s["* "+u[0]])){!0===r?r=s[i]:!0!==s[i]&&(o=u[0],c.unshift(u[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(I){return{state:"parsererror",error:r?I:"No conversion from "+a+" to "+o}}}return{state:"success",data:t}}(h,C,S,d),d?(h.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(x.lastModified[i]=w),(w=S.getResponseHeader("etag"))&&(x.etag[i]=w)),204===e||"HEAD"===h.type?_="nocontent":304===e?_="notmodified":(_=C.state,p=C.data,d=!(b=C.error))):(b=_,!e&&_||(_="error",e<0&&(e=0))),S.status=e,S.statusText=(t||_)+"",d?m.resolveWith(f,[p,_,S]):m.rejectWith(f,[S,_,b]),S.statusCode(y),y=void 0,c&&g.trigger(d?"ajaxSuccess":"ajaxError",[S,h,d?p:b]),v.fireWith(f,[S,_]),c&&(g.trigger("ajaxComplete",[S,h]),--x.active||x.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],function(e,t){x[t]=function(e,n,l,i){return v(n)&&(i=i||l,l=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:i,data:n,success:l},x.isPlainObject(e)&&e))}}),x.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),x._evalUrl=function(e,t,n){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,n)}})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return v(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var $t={0:200,1223:204},Gt=x.ajaxSettings.xhr();m.cors=!!Gt&&"withCredentials"in Gt,m.ajax=Gt=!!Gt,x.ajaxTransport(function(e){var t,l;if(m.cors||Gt&&!e.crossDomain)return{send:function(i,o){var r,u=e.xhr();if(u.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(r in e.xhrFields)u[r]=e.xhrFields[r];for(r in e.mimeType&&u.overrideMimeType&&u.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)u.setRequestHeader(r,i[r]);t=function(e){return function(){t&&(t=l=u.onload=u.onerror=u.onabort=u.ontimeout=u.onreadystatechange=null,"abort"===e?u.abort():"error"===e?"number"!=typeof u.status?o(0,"error"):o(u.status,u.statusText):o($t[u.status]||u.status,u.statusText,"text"!==(u.responseType||"text")||"string"!=typeof u.responseText?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}},u.onload=t(),l=u.onerror=u.ontimeout=t("error"),void 0!==u.onabort?u.onabort=l:u.onreadystatechange=function(){4===u.readyState&&n.setTimeout(function(){t&&l()})},t=t("abort");try{u.send(e.hasContent&&e.data||null)}catch(a){if(t)throw a}},abort:function(){t&&t()}}}),x.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),x.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(l,i){t=x("